Tag Info

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

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?

0

You can apply the method in this answer \input{glyphtounicode} \pdfgentounicode=1 \documentclass[12pt,a4paper]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \begin{document} $(A\to B)\vdash B$ sample text \end{document} I show here what I get from copying in Adobe Reader: (A → B) ⊢ B sample text Other PDF ...

1

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

0

Adding to the answer of Loop Space: To make sure that the arXiv compiler detects the use of pdfTeX, add the following line in line 2: \pdfoutput=1

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: ...

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 ...

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 ...

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 ...

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 ...

0

Not sure this is the best solution in the world, but I just replaced evince as the preferred PDF reader. Tools > Preferences > File Handling > File Formats I selected the PDF(pdflatex) format, and changed the viewer from evince to xpdf.

2

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

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 ...

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 ...

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 ...

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 ...

0

You can use \pdfinfo{/myversion (0.00.00)} to include the Name /myversion (you should use some other handle that's unique to you; ideally you would register a name prefix with Adobe/ISO) with the uncompressed string 0.00.00 in the info dict of the resulting pdf. You can then easily replace the 0.00.00 with your current version (e.g. with sed), but the ...

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 ...

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 ...

Top 50 recent answers are included