New answers tagged

1

On Unix/Linux (and perhaps others) you can use pdfjam for most of your PDF mangling tasks. That said, why do you need to rearrange pages? LaTeX is quite capable of handling back and forward references.


0

Based on Phelype Oleinik's solution: https://tex.stackexchange.com/a/485979/128042 one can use the crossreftools package together with some custom code. \documentclass{article} \usepackage{hyperref} \usepackage{cleveref} \usepackage{crossreftools} \pdfstringdefDisableCommands{% \let\Cref\crtCref \let\cref\crtcref } \newtheorem{theorem}{Theorem} \...


0

This can be fixed just by changing the width and height of the .svg in Inkscape, and then importing in .lyx. Lyx even automatically displays the change if the .svg file changed.


0

I use Firefox to show PDFs created from Beamer documents in presentation mode. With Firefox Here is how my workflow looks with Firefox: Enter this command to launch the presentation: open -a Firefox slides.pdf Press control + alt + p to switch to presentation mode. Alternatively, click the "Switch to Presentation Mode" button (the square button with ...


0

On CTAN, there is a somewhat dated script, AcroReloadPDF, available that was originally written for pre-9 versions of Acrobat Reader for Linux, in order to add a "Reload" entry to the File menue. Under Unix-like systems, it goes into the ~/.adobe/Acrobat/<version number>/JavaScripts/ directory. Though not tested beyond Linux, it may turn out to be ...


1

My suggestion is to abandon the old pdflatex Hebrew toolchain. It's just not worth the hassle. Now lualatex and babel provide excellent support for Hebrew. The only slight difficulty is that LyX does not support setting this up through it's user interface. You have to add things directly to the LaTeX preamble. Here's a sample LyX file (Update to support ...


1

At present the answer is no for pdfTeX, but plans for TeX Live 2020 work are already in place and I (and others) will look to add a new primitive to support this (likely \pdfmajorversion). The main issue is not the primitive itself but the supporting 'environment': there are lots of places that test for the minor version as a boundary/cut off for different ...


1

There is no \chapter between \part and \section. So you get the warning: Difference (2) between bookmark levels is greater than one, level fixed on input ... and the wrong hierachy in the bookmarks. You can load package bookmark to avoid this issue. Example (assuming you really need/want package xwatermark): \documentclass[ french, 12pt ]{...


1

Here is a way with the usage of this answer. \documentclass{article} \usepackage[margin=1in,showframe]{geometry} \usepackage{graphicx} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{document} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \centering \begin{figure} % \hspace{-0.025\textwidth}\makebox[1.05\...


0

So...... Instead of actually changing the display setting, I found a work-a-round that is practical but not elegant. Basically, I am magnifying the pages to be an extremely large absolute size. Then when Google Chrome (or another viewer) opens it, the viewer zooms out until it is able to fit one page width (by default). Adding the line below does the ...


0

As discussed in the comments, just like annotations, form fields in PDF files are not imported. The easiest way to include a filled out version of the form is to print it to PDF and include the resulting file.


5

hyperref provides the \pdfstringdefDisableCommands, which is a hook to execute commands before hyperref tries to translate TeX code into pdf strings. The argument of \pdfstringdefDisableCommands is arbitrary TeX code which should redefine commands which don't expand to valid pdf strings. You can redefine \faicon to consume an argument and do nothing: \...


2

Use the pst-barcode option isbntextfont. See the reference here: https://github.com/bwipp/postscriptbarcode/wiki/ISBN You should use the PostScript font name with these options which this post may help you to identify: https://apple.stackexchange.com/a/275493


Top 50 recent answers are included