# Tag Info

7

TeX Live TeX Live is based on Web2C, from its documentation: 3.1 Option conventions To provide a clean and consistent behavior, we chose to have all these programs use the GNU function getopt_long_only to parse command lines. However, we do use in a restricted mode, where all the options have to come before the rest of the arguments. As a ...

6

hyperref introduces \theH<counter>. If it exists it is used for the destination name instead of \the<counter>. If the values of \the<counter> are not unique, define \theH<counter> with unique values using your other variables, e.g.: \renewcommand*{\theH<counter>}{<other variable>.\the<counter>} Pseudo code, the ...

6

By default latexmk compiles all tex files in the current directory, including doing the necessary calls to biber, bibtex, etc. To run pdflatex on the files use latexmk -pdf or for lualatex latexmk -lualatex You can set default behaviour via a configuration file.

6

The option to keep the WinEdt Console hidden and to show it only during the compilation is "Pause / Do not hide the Window". When it is selected, the Console is always visible. When it is unselected, it does what you want. I think the correct configuration you are looking for is the one in the picture below:

5

This seems to be a issue more about xkeyval than auto-pst-pdf: when you type the option as pdfcrop = {--hires} for some reasons the program gets called as pdfcrop hires--hires "<filename>-autopp.pdf" "<filename>-pics.pdf" which is incorrect. If braces are omitted pdfcrop = --hires or the space following = is omitted pdfcrop ={--hires} ...

5

You have to define a new symbol font, not overwrite one already existing: \DeclareSymbolFont{timespunct}{T1}{ptm}{m}{n} \SetSymbolFont{timespunct}{bold}{T1}{ptm}{bx}{n} \DeclareMathSymbol{;}{\mathpunct}{timespunct}{59} \DeclareMathSymbol{,}{\mathpunct}{timespunct}{44} Full example \documentclass{article} \usepackage{mathpazo} ...

5

If I run pdflatex -help on a machine with TeX Live, I get Usage: pdftex [OPTION]... [TEXNAME[.tex]] [COMMANDS] or: pdftex [OPTION]... \FIRST-LINE or: pdftex [OPTION]... &FMT ARGS Run pdfTeX on TEXNAME, usually creating TEXNAME.pdf. Any remaining COMMANDS are processed as pdfTeX input, after TEXNAME is read. If the first line of TEXNAME is ...

4

You should almost never specify natwidth and natheight (especially for pdf files) but if you do specify them they should Be lengths ie have units 10in or 5cm or whatever. If you omit the units it defaults to bp for compatibility with BoundingBox syntax. The intention of those keys was to tell (classic) LaTeX the size of image files that it could not read. ...

3

Use \protect to prevent too early expansion in moving arguments such as in titles: \section{Παράδειγμα \protect\eng{Something}} Moving means here, that the titles will be copied to the table of contents as well. They should do that in their original version, not expanded, that's why the \protect. Furthermore, you could might distinguishing betweeen TOC ...

3

The problem: apparently Freefem++ creates .jpg, .png, etc. images that are not readable by LaTeX. Thanks to the comments above telling me it was a problem with the image, I decided to try converting it to .jpeg (other formats probably would have worked as well, but I wanted jpg). To do this, I installed the ImageMagick package from terminal in linux, then ...

3

Unrecommended way I would like to share my solution for historical purposes only and as a new version of postscriptbarcode is not a part of the TeX distributions, yet (April 2014). The presented solution in this question works well for me. I don't want to scare you, especially TeX beginners, but from time to time you might face a serious deadline even ...

2

My first thought was to use the I/O file operations, e.g. \write or \immediate\write, but it faced a known problem with floating objects and their behavior. I had also problem around floating objects with own counter when there was no \global prefix. I rather used cross-references directly where a protected write is ensured. I can offer you this solution ...

2

According to the documentation, the inputenc package allows the user to specify an input encoding (for example, ASCII, ISO Latin-1 or Macintosh) by saying: \usepackage[encoding name]{inputenc} The choices of encoding name are listed on pages 1-2 of the manual.

2

I am using two steps. First, I draw an outline of the font and I put the font on it in the second step. There is \pdfliteral command in use, it doesn't work with xelatex, we must change it to the \special{pdf: code form. Because there is a different settings for left-to-right and right-to-left typesetting in xelatex and lualatex, I needed to use l and r in ...

2

I found a solution to my problem, and Ulrike's comment was the key for that (thanks again!) As she pointed out, the spaces before "W" and "Th" were too small for the Adobe Reader to be detected as spaces. Ulrike suggested to increase the interword spacing. However instead of increasing the interword spacing in general, it struck me as a better solution to ...

1

\usepackage{times} it works for me. Update: It is better to use \usepackage{mathptmx} because times is obsolete according CTAN: The pack­age is now ob­so­lete, re­placed by the math­ptmx pack­age, which sup­ports Times Ro­man text and (mostly) match­ing math­e­mat­ics.

1

When you launch a binary from NSTask, it is not as if it had been launched from a terminal. Hence, there are no environment variables. So, the solution is to give explicitly to the NSTask the environment. Use: the method -setEnvironment: of NSTask.

1

This is a MikTeX issue, as confirmed by Enrico Forestieri: For some reason, miktex does not understand/obey the command lyx inserts into the preamble when you check the "Enable Forward/Reverse Search" button in the toolbar and does not generate the necessary info. The generation of the required info can be forced by changing the converter ...

1

Asking in #latex, |Zz| told me that I had to use \input instead of \include. No idea on the exact reason, but substituting the \include by \input on the anexos.tex include fixes. \input{anexos}

1

Okay so I wrote a first draft of a working pipeline. As per @ChristianH's suggestion, I used pdfcomment For the script, I used: pdfminer to read the PDF annotations pdfrw to write the selected pages The code is here: https://gist.github.com/ivanistheone/219dad11a30efef82b7e

1

I use this, which works for me (though it not be the most efficient): %.pdf: %.lytex *.ly songs.ist lilypond-book --pdf --left-padding=0 --output=out --include=$(CURDIR) *$.lytex cd out ; pdflatex $* cd out ; makeindex -s ../songs.ist$*.idx songs.ist is my list of songs that I abuse makeindex to make.

1

I found this solution to be very easy: http://nerdytales.blogspot.com/2009/01/embedding-fonts-in-pdf-using.html The issue perhaps is the pdf figures which included fonts that are not embedded. You may reprint your pdf file using "Adobe PDF" while setting the "Properties"-> "Default Settings" to PDF/A-1 (mine had two, I chose PDF/A-1B:2005(RGB)). Then the ...

1

You can add a tooltip to a graphic: \documentclass[a4paper]{minimal} \usepackage{graphicx} \usepackage{pdfcomment} \begin{document} \pdftooltip{\includegraphics[scale=2]{chemie}}{tooltip} \end{document} If you want the graphic to be the tooltip, i'm afrais that's not possible. A PDF tooltip is text only! You may achive something like this by using OCG ...

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