Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 1.77 KB

File metadata and controls

45 lines (33 loc) · 1.77 KB

This repository is an alternative to compile vector images (.eps, .ps) in the PUC-RIO latex template(April 2016). However, images as png, jpeg, jpg can not be compiled.

The Bibtex bibliography style is the same of the original template, take care using the key parameter.

The main objectives are:

  • Improve quality in our images. resolutionComparison resolutionComparison
  • Reduce size of document output.

Also, it is provided the use of square brackets in citations. In order to generate the pdf file using vector images, we can do in 3 ways:

1. ShareLatex

The source files can be upload to ShareLatex. Only one condition must be fulfilled: set the compiler in LaTex mode, not pdfLaTeX. buildDocument

2. From an IDE as TeXstudio

2.1 Build & View

Go to Options/Configure TeXstudio/Build and set the commands as is shown in the next figure. buildDocument

2.2 Enable Go to Source

An important tip to map the output (pdf file) with the source (latex files) is "Go to Source". To enable this feature, go to Options/Configure TeXstudio/Commands: enableGoToSource

GoToSource

3. From command line

According to the LaTeX compilation file flow: latexCompilationFlow

We have to use:

latex main.tex
bibtex main.aux
latex main.tex

To transform the dvi file generated to pdf file:

dvips main.dvi : converts a DVI file to PostScript
ps2pdf test1.ps : converts a PostScript file to PDF