Questions tagged [pdftex]

23 questions
37
votes
5 answers

Highlighting a Chunk of Code within a lstlisting

I have a bunch of code in a lstlisting environment. How can I highlight (color background) just a particular chunk of code within the environment?
Ryan R. Rosario
  • 5,114
  • 9
  • 41
  • 56
15
votes
3 answers

Do you use XeTeX or pdfTeX?

As far as I understand it (a few days of research here and there), there are two major TeX engines: pdfTeX and XeTeX. pdfTeX is the "standard", having been around since the early 1990s, renders straight to PDF, and improves on some minor formatting…
jparker
  • 1,569
  • 2
  • 16
  • 16
7
votes
1 answer

PDF forms with LaTeX: how to create \TextField of exactly 4in width?

I'm using PDFLaTeX to create forms and ran into a problem with the \TextField macro that defines input fields: \TextField[width=4in,name=sample]{} The resulting field is a little wider than 4 inches and I don't understand why. The following example…
Christian Lindig
  • 1,216
  • 1
  • 9
  • 24
4
votes
2 answers

R: Knitting error rticles \vadjust in vertical mode

I tried to use the package rticles within a Rmd file, in order to generate journal publications. When trying to knit the template as it is, I get following error his is pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live 2021) (preloaded…
3
votes
0 answers

PDFPages package will not load in PDFLatex

I'm trying to include a PDF using \usepackage{pdfpages} but the package will not load. I'm getting the following error: LaTeX Warning: You have requested release `2020-10-01' of LaTeX, but only release `2020-02-02' is available. !…
Gracias
  • 45
  • 1
  • 2
  • 6
3
votes
1 answer

How to include image files in Sphinx + Latex Pdf files

I am using Sphinx Documentation tool alongwith LaTeX to generate pdf files. While trying to include images in the pdf file, I am coming up with the following error during compile: LaTeX Warning: File `{img_file}.jpg' not found on input line 920. !…
shaan
  • 351
  • 2
  • 15
3
votes
1 answer

Importing *.pdf_tex file error

I have made a graphic with inkscape. Now I'm trying to build it in Latex. I' m working with TEXMaker. Therefore I have exported my graphic as *.pdf_tex and *.pdf. In macros i have added the…
Jürgen K.
  • 3,427
  • 9
  • 30
  • 66
2
votes
2 answers

SPHINX - numref works for HTML but not for LaTex

I am working on a Sphinx project for software documentation, which includes a lot of figures. I use 'numref' for referring to the pictures. In HTML it works fine. In LaTex I get Fig. ?? There are only a few issues on numref on the web and the…
2
votes
2 answers

LaTeX, a0poster,tikz and multicols

I'm using the multicol package inside an a0poster document class. I am trying out a 3 column layout for a portrait poster. I have a large tikz drawing that I want to put inside a figure environment inside a column. If I put the figure inside the…
Seamus
  • 2,041
  • 6
  • 22
  • 42
1
vote
5 answers

Inkscape + pdftex?

I have a small drawing in Inkscape and I want to embed it in a LaTeX document which I compile using pdftex. pdftex seem to have an oddity of not accepting .eps. infact if what I understood is correct the only vector graphics format it accepts is…
shoosh
  • 76,898
  • 55
  • 205
  • 325
1
vote
0 answers

pgfplots not working with TexLive on Windows

\begin{tikzpicture} \begin{axis} \addplot[color=red]{exp(x)}; \end{axis} \end{tikzpicture} %Here ends the 2D plot \hskip 5pt %Here begins the 3D plot \begin{tikzpicture} \begin{axis} \addplot3[ surf, …
Gier
  • 11
  • 4
1
vote
0 answers

Extract pdf_tex graphics from pdf-file

I created a lot of vector graphics with inkscape, where I add a lot of math-code directly in the image (see example below). I normally extract a pdf_tex out of the svg document, and include the pdf_tex in my LaTeX code. After compiling the file in…
1
vote
1 answer

clickable links in plainTeX document

Is it possible to define clickable links in a plainTeX document when compiled with pdftex? As far as I can see there is no support in plainTeX for this feature.
dallonsi
  • 1,299
  • 1
  • 8
  • 29
1
vote
0 answers

Latex Remove Dot From References

When I reference a figure with Figure \ref{fig:myfig}, there is a dot after the figure number: Figure 4.. How do I get rid of that dot?
Verhogen
  • 27,221
  • 34
  • 90
  • 109
1
vote
0 answers

Missing tabu.sty in Travis CI build

I am trying to use Travis CI to ensure LaTeX documents compile. I am having an issue where, despite installing what I think are the proper LaTeX packages, the build still fails…
James Taylor
  • 6,158
  • 8
  • 48
  • 74
1
2