Tag Info

Hot answers tagged

8

In my point of view, it's sufficient to set a \hypertarget{destname}{} and use the destname as argument to the evince --named-dest option. This works at least in my evince version (3.6.1, very old, I believe) It works with Acrobat Reader as well, the calling syntax is slightly different, however: acroread /a "nameddest=pos2" nameddestexample.pdf to ...


5

Compress settings Ensure that the compress settings are correct: \typeout{pdfcompresslevel=\the\pdfcompresslevel} \typeout{pdfobjcompresslevel=\the\pdfobjcompresslevel} \typeout{pdfminorversion=\the\pdfminorversion} Default for TeX Live 2014: pdfcompresslevel=9 pdfobjcompresslevel=2 pdfminorversion=5 \pdfcompresslevel compresses streams as page ...


4

This uses the everypage package to accomplish the task. The syntax is \atxy{this page X}{alternate page X}{Y}{content} If invoked on an odd page, "this page X" is the x-location of the content on odd pages, while "alternate page X" is the x-location of the content on even pages. Vice-versa if invoked on an even page. One updates the content with the ...


4

\documentclass{article} \usepackage[a4paper]{geometry} \usepackage{pdfpages} \usepackage{ifoddpage} \usepackage{background} \newcommand{\mypdfinclude}[2][]{% \backgroundsetup{% placement=top, angle=0, nodeanchor=north east, color=red, scale=1, contents={% \checkoddpage\ifoddpage% \begin{tikzpicture}[remember ...


3

OK. I dug a little more through the Lyx's menus and I found the answer. The solution is to go the menu: Document-> Change Tracking -> Show changes in Output. Also, worth to be mentioned is that it appears that this works for all 3 PDF export methods including pdflatex. I am wondering then if this wiki document is wrong or obsolete?


3

This is quite simple in WinEdt. I'm assuming you have the latest version installed (9.0) and you're using pdflatex for compiling. Go to "Options" -> "Options Interface" -> "Advanced Configuration" -> "Compile Macros" and double-click the "PDFLaTeX" item: A local copy of PDFLaTeX.edt gets opened. In this file, after the line ...


3

There is a wonderful script to shrink a PDF: https://github.com/pts/pdfsizeopt . I've been using it for years and can recommend it. Regarding the question of the cause for such a large PDF: Maybe you saved different versions of your file, which only have a different file extension (*.jpg, *.png ...). For some reasen LuaLaTeX prefers the large JPG and not ...


2

There is a wonderful script to shrink a PDF: https://github.com/pts/pdfsizeopt . I've been using it for years and can recommend it. The main effect is that it compresses the embedded fonts. Very helpfull if a font is large, like Linux Libertine. The script shrinks such a PDF (if no pictures are included) to 10% of the size! Using it under Windows requires ...


2

You can add metadata with hyperref: \documentclass{article} \usepackage[pdfkeywords={Hepatitis C}]{hyperref} \begin{document} Lorem ipsum... \end{document}


1

Copy the text in another text editor capable of removing line breaks. The editor I'm actually referring to is Sublime Text. You just have to follow these steps: Install Sublime Text; Install Package Control (this is not necessary but is almost a sine qua non); Search for Paste PDF Text Block with Package Control and install it, or install it manually if ...


1

A slightly more complete version to the accepted answer would be to create an environment that turns the page back to portrait: \newenvironment{rotatepage}% {\pagebreak[4]\global\pdfpageattr\expandafter{\the\pdfpageattr/Rotate 90}}% {\pagebreak[4]\global\pdfpageattr\expandafter{\the\pdfpageattr/Rotate 0}}% And then \begin{rotatepage} <the ...


1

I had a similar problem when including PDF figures generated with inkscape (original EPS plot from gnuplot with a PNG overlay with transparency) into a document compiled with pdflatex (from TeX Live 2013 distro). The bad thing was that the resulting PDF document could not be read by some viewers (including acroread 9.5.5). My solution was to use qpdf to ...


1

The problem was that I used pstopdf, not ps2pdf. It seems like that TL2014 distribution does not have ps2pdf, so I had to install ps2pdf with ghostscript from brew for Mac OS X. brew install ghostscript


1

This isn't related to TeX. You can add metadata, tags, whatever to a PDF, using \pdfinfo{}, hyperref or whatever. The trouble is, how to search for it: as far as I know, there is no search engine which can be limited to tags or keywords in PDF. E.g. Windows obviously has no support for tags, see here: http://superuser.com/q/602536 There are some addons: ...


1

The -sDEVICE=pswrite output driver in Ghostscript has been deprecated since 12/15/2010. In Ghostscript versions >= 9.09, use ps2write or eps2write.



Only top voted, non community-wiki answers of a minimum length are eligible