# Tag Info

## New answers tagged pdftex

0

Tech Soft 3D PDF Reader doesn't support the /RichMedia annotation according to Adobe Supplement to ISO 32000, which is an extension to the PDF standard and on which the media9 package relies. The older movie15 package implements the /3D annotation type of pre-Acrobat-9 versions which is less flexible, but which is supported by Tech Soft 3D PDF Reader. Thus, ...

0

Here is what I've finally done, based on @David 's suggestion (thanks to him), and some modifications : \newcommand{\kbarre}{K\lower.85em\llap{{\LARGE \'{}}\kern-.1em}} The result is not perfect, but sufficient for my use. A few observations : I didn't need to have it recognised as a Unicode character, and \DeclareUnicodeCharacter was making some error ...

4

See for example the following MWE with an error: % http://tex.stackexchange.com/questions/315916/how-to-solve-compiling-error \documentclass{article} \begin{document} Hello \World! \end{document} After compiling this you get an log file containing the following lines: ! Undefined control sequence. l.4 Hello \World <===================...

-1

\begin{columns}[T] fixes it! Thanks!

1

With Miktex 2.9 it is also possible to install the font. I managed to do so following the above instructions and using those in the link provided by @knut. If you are not the admin user on your system remove the --admin switches as necessary while following the instructions. Download and extract the cowfont.tar.xz file from @knut's answer into extracted\...

1

Following this answer, you should use the following command for the new (9.15+) ghostscript *nix gs -dNoOutputFonts -sDEVICE=pdfwrite -o vectorized_file.pdf file.pdf Win gswin32 -dNoOutputFonts -sDEVICE=pdfwrite -o vectorized_file.pdf file.pdf

7

This approach uses a defined macro \startcount that ends with \stopcount to count within a multi-paragraph argument. EDITED to add \pausecount and \continuecount functionality within paragraphs, even mid-sentence. RE-EDITED to detect sentences that are questions (?) and exclamations (!). RE-EDITED [jorge]: Superscripts are used for the parenthesis ...

1

Apparently there are numerous feasible solutions. Of course, the best solution is the one with which you are most comfortable. Following is my preferred approach for processing files LaTex files on Windows. Edit with emacs. This is well supported on Windows. Emacs is smart and context sensitive. Initiating the compile command with Ctl C, Ctl C invokes ...

1

ygoth is a type1 (pfb) font but your miktex seems not to find it. Normally this means that the map file has not been activated correctly. Try if it works if you run on the command line updmap You can also load the map-file manually in your document: \documentclass[11pt]{article} \pdfmapfile{=gothict1.map} \begin{document} \font\test=ygoth \test abc \...

4

The package hyperref provides the support for hyperlinks and bookmarks (if called with the correct options) Be sure to use \usepackage{hyperref} as one of the last packages to be loaded. Exceptions: cleveref and glossaries should be loaded after hyperref.

7

Don't take up LEd. That project has deprecated long time ago and the editor is quite buggy though I wish they continued. Because it had really nice ideas implemented as beta. There are much more recent and advanced editors out there for each OS and LEd is just a historical artifact.

0

As a temporary workaround, I finish with this $output = system("echo 'pass' | sudo -u user /usr/bin/pdflatex -output-directory /var/www/files --interaction batchmode files/".$name.".tex");

1

I hate the listing of fonts loaded because this is not important information when things are OK. Of course, if there is an problem with fonts then this listing may be useful. I have the terminal with limited height and important information (about overfull boxes, about OPmac warning, about undeclared references etc.) are scrolled due to this non-useful ...

4

You're comparing the wrong things: the right comparison is with > tex '\relax A\bye' && dvips texput This is TeX, Version 3.14159265 (TeX Live 2016) (preloaded format=tex) [1] Output written on texput.dvi (1 page, 208 bytes). Transcript written on texput.log. This is dvips(k) 5.996 Copyright 2016 Radical Eye Software (www.radicaleye.com) ' TeX ...

2

Here are some conditions that seem to be met: You only use \section*. You typically have section titles that are shorter than the column width, but occasionally roll over to two lines. Roll-overs should always fit on a single line. (1) helps because it simplifies the measurement (there is no sectional number in the title). We can use xparse to redefine \...

3

you just need to put the anchor somewhere safe, here I attach it to the theorem header (which hasn't been typeset yet, it's hanging around in the box \@labels waiting for a paragraph to start). I added some page breaks so that it is easier to see what happens when you click on a link. \documentclass[12pt]{article} \usepackage{amsthm} \usepackage[...

1

The quick and easy method is to just add the automake option: \documentclass{article} \usepackage{filecontents} \usepackage[acronym,automake]{glossaries} \usepackage[backend=bibtex,bibencoding=ascii]{biblatex} \begin{filecontents*}{example_bib.bib} @ARTICLE{a_reference, author = {A, Name}, title = {A Title}, volume = {1}, pages = {1--2}, ...

2

As Cambria Math is only available as an OpenType font and necessarily depends on its OpenType Math table, it does not work with pdftex and needs luatex or xetex.

0

The first comment has to be that shrinking titles beyond LaTeX's defaults is likely to be difficult to read or look out of place and so it's probably a better choice to rename the section. Having said that, it might be preferable to have a \sectionshort[Short Title]{Full Title} command which prints <Short Title> if <Full Title> can't fit on the ...

0

I found a following solution: \usepackage[tracking=true]{microtype} \newcommand\squeeze[1]{\SetTracking{encoding=*}{#1}\lsstyle} I can call it e.g. by: \section*{\squeeze{-75} *This is a very long title that is now being squeezed into one line*} Nevertheless, I have to say "squeeze"! and by what amount ("-75") every time. Does someone ...

2

I don't have the images to test so I made a 1F466.png and 1F4661F3FF.png (your character was U+1F3FF, handling U+1F3FE would be similar) here I define the macro attached to the base character to look ahead, if it sees the first byte of a 4 byte UTF8 sequence for the range of these modifiers (which is F0) then it grabs all four bytes and then either uses ...

2

You're lucky: TeX Gyre Pagella supports the L7x encoding. \documentclass[a4paper,12pt]{article} \usepackage{mathpazo} \usepackage{tgpagella} \linespread{1.05} \usepackage[L7x,T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[lithuanian,english]{babel} \renewcommand{\ltfamily}{\familydefault} \begin{document} \begin{otherlanguage}{lithuanian} ...

1

So far I know of no TeX-based software that creates or otherwise handles CIDToGIDMap streams. They are needed particularly with CJK fonts, as used in documents produced with XeLaTeX. This is one of the last few hurdles that prevent generating PDF/A-conforming CJK documents with XeLaTeX. Proper support is something that I want to incorporate into pdfx.sty, ...

0

Another way to solve this problem is by adding the field "sort": \newglossaryentry{CSV} { name={\emph{comma separated values}}, sort={comma separated values}, description={Formato eletrónico de armazenamento de dados, sendo cada campo separado por um carater (tabulação ou vírgula)} }

2

While arara comes with MiKTeX, the default rules do not. When I was calling arara.exe to the .tex file, I was then instructing arara to call pdflatex which corresponds to the default rule pdflatex.yaml. Of course, since the default rules are not included in MiKTeX, this yielded an error. The simplest solution is to get the standalone version of arara from ...

1

A fast workaround is in such a case to create a new directory, let's say test and then copy all files included in the zip file into this directory test. If you have no problems with your TeX distribution you are now able to compile the included file Author_tex.tex. Test first, if you can compile from your terminal/console: go to directory test, then type ...

0

Without an example, we of course cannot help you fix the root problem, so I will answer the question of under what situation this error is given. The error message you received happens when pdflatex exited with a non-zero status code, pdflatex produced a log file, and LyX could not figure out what the error was from parsing the log file. Those are the three ...

5

In the coordinate argument you need something that expands to a number, but \IfEqCase expands to a series of instructions to print one. Use an expandable string switch macro, for instance \str_case:nn provided by expl3 (and here loaded by xparse). \documentclass[a4paper,13pt]{scrartcl} \usepackage{tikz} \usepackage{xparse} \ExplSyntaxOn \...

1

Tim's advice is correct. In 5 easy steps: Select Options menu Select Configure TexStudio submenu Near the lower left corner (not very visible) check the "Advanced options" checkbox Now you see the "Advanced Editor" submenu: select it In the "Special Options" paragraph "Save automatically all files": select the time interval you like That's it!

3

From the front lines: I switched to LuaLaTeX in mid 2013 because I wanted TTF fonts. I am strictly using *TeX through a Makefile that has been evolving for 20 years (actually 22, if memory serves correctly). To make the switch I ultimately converted all my framework's files to UTF8 and switched to using UTF8 only. First of course I changed the Makefile to ...

1

Short answer: you can't with "known" technology. To do this properly, you'd need to save the coordinate positions to a file and read them back in at the start of the compilation. However, if the coordinates are all defined in a few simple pictures at the start of the document, simply turn off externalisation for those pictures and then the coordinates will ...

2

First compile your latex_filename.tex file: pdflatex latex_filename Then compile the bibliography using bibtex: bibtex latex_filename Finally compile your latex_filename.tex twice more to update the pdf with your new bibliography and all citation call-outs: pdflatex latex_filename Make sure your Bibliographie.bib file is in the same folder as your ...

0

The multind package is made for LaTeX 2.09 and has been unmaintained since 1991. You can get the same effect (and much more) with imakeidx and just small changes. \documentclass{book} \usepackage[T1]{fontenc} \usepackage{imakeidx} \makeindex[name=commands,title=Commands index] \newcommand{\dcommand}[1]{\texttt{#1}\index[commands]{\texttt{#1}}} \begin{...

2

Moderncv should account for this, the following is the extract which defines \cventry in the package (moderncvbodyi.sty in http://ctan.org/tex-archive/macros/latex/contrib/moderncv). \renewcommand*{\cventry}[7][.25em]{% \cvitem[#1]{#2}{% {\bfseries#3}% \ifthenelse{\equal{#4}{}}{}{, {\slshape#4}}% \ifthenelse{\equal{#5}{}}{}{, #5}% \...

3

Graphics inclusion depends on the engine. LaTeX is the format and that's the same for latex and pdflatex. But the engines differ: one is using TeX and one pdfTeX. (Or, rather, one is using pdfTeX in DVI mode and the other pdfTeX in PDF mode.) When producing DVI, only EPS format images can be included. These can then be understood by the post-processors ...

4

The set of file types allowed for image inclusion depends on the driver or back end being used. "Traditionally" pdflatex does not allow EPS and latex/dvips do not allow pdf and you would have an error about unknown graphics type. However pdflatex these days calls eps2pdf in the background to convert an EPS file to pdf so it can be included. However I get ...

0

Before you change anything, do a disc backup. Second, delete stuff or move it to other discs (photos i.e.). DO NOT delete any bin content or similar. Third, do what touhami said. Last, use recovery software to look for your tex files. Tex files are small, so this might not be fragmented. If it is, you have a problem. I'm no mac user, so I can't tell you, ...

1

If one wants to have the images to be of width \linewidth, one can issue the following code in the main Tex document: \documentclass{minimal} \usepackage{graphicx, color} \begin{document} \def\svgwidth{\linewidth} \input{filename.pdf_tex} \end{document} Then, one needs to adapt the code of the file filename.pdf_tex in e.g. the following manner: Look ...

0

I'd like to point out it all works fine with xelatex, as long as the font contains all characters. It seems lmodern doesn't have the ȩ. Demonstration with lmodern (the default with xelatex, anderewhon(an extension ofAdobe Utopia`): \documentclass{report} \usepackage{fontspec} \setmainfont{erewhon} \usepackage{csquotes} \usepackage[backend=biber]{biblatex} ...

4

biber will (not always but quite often) convert an accent command to the decomposed unicode representation "char + combining accent". But pdflatex can't handle combining accents. So as long as you are using pdflatex you must avoid that this happens. To do this you can tell biber not to output everything in utf8 with --output-safechars and similar options ...

13

Because space is a special entity used in TeX at level of "typesetting material" (it does not correspond to any character code in the font but it has its base dimension plus stretchability minus schrinkability) then Knuth decided that the slot declared for space in typical text fonts is "free" and he put special character here: the cross dash for polish l. ...

1

The OT1 font encoding isn't enough for that. Add \usepackage[TS1,T1]{fontenc}

12

(pdf)tex knows nothing about Unicode so you get whatever symbol is in position 32 in the current font, none of the classic tex fonts is Unicode encoded (they only have 127 characters per font) Even if you use xetex or luatex, which do use Unicode fonts you should not use \char32, tex does not use a character for space, it uses space of adjustable size. The ...

3

Although not a direct answer to your question because your layout will be recalculated, next time you may want to have a look at the bcor option of the Koma-script classes (e.g. scrbook). This option was specifically designed to add a binding correction like you seem to want.

9

Let's create a bunch of random text: \documentclass{article} \usepackage[margin=15mm,paper=a6paper]{geometry} \usepackage{lipsum} \begin{document} \sloppy\lipsum[1-50] \end{document} We'll call this work-of-art lipsum50.pdf. It consist of 25 pages of pure awesomeness, all of which is laid out on A6 paper with a 15mm margin. This should replicate your ...

1

This may be misunderstanding your issue but amsart uses multiple \author commands to add each author, the relevant packages called by the document class then combine these as is set by the AMS preferences. The instructions to authors on CTAN (https://www.ctan.org/pkg/amsart) provide a concise but relatively straightforward guide. Inserting the following ...

0

Thanks to the comments under my question, I found out, that the pdflatex-command has to be run twice. Quote (Zarko): To appear cross references in text you need to compile your file at least twice. In the first run references is written in .aux file and in the second to the your text file (roughly said).

Top 50 recent answers are included