pdfTeX is an extension of TeX which is capable of directly generating PDF output. Use this tag if the used engine – pdftex/pdflatex – is significant to your question.

learn more… | top users | synonyms (1)

1
vote
0answers
41 views

Why does this \ifincomplete latex code not work

I have an exam class document, and I want it to output three fields on a page with an incomplete question as follows: page 1 of 2 question 4 continues please go to next page ... and on the ...
0
votes
1answer
55 views

pdfLaTeX disapeared from kile

Yesterday, I was happily compiling with pdfLaTeX in kile on my kubuntu 14.4, but today, pdfLaTeX is gone from kile. What happened, how do I get it back? pdflatex still seems to be installed: $ ...
3
votes
1answer
353 views

PDFs are not printed with the correct fonts

Using pdflatex I create some official PDFs from LaTeX source with \usepackage{mathpazo} or even just with the normal CM fonts and they look fine on my screen both, in Preview and in Adobe PDF Reader. ...
2
votes
1answer
99 views

Beamer and alternative hyperref (with pdftex driver) configurations

I would like to use a range of 4 to 5 different version of beamer configuration to have a certain flexbility when gerating slides w.r.t. differnt purposes --- e.g. presentation mode, handout, for me, ...
5
votes
2answers
275 views

How can I replace tabs with spaces before compiling .tex file?

I want to indent text in the verbatim environment. I want to do this with the tabulator. The problem is that verbatim does not work as advertised ("prints unmodified text"). It actually replaces the ...
4
votes
0answers
207 views

Why does my Latex want multiple \end(document)s? [closed]

My Latex document wants multiple instances of \end{document} even though I only have one begin{document}. Without the extra \end{document}s, I get the error: Compile Error. Sorry your LaTeX code ...
3
votes
1answer
92 views

Problem with \pdfliteral

MWE \documentclass[a4paper,11pt]{article} \begin{document} NAME: \hfill SURNAME: \hfill \pdfliteral {q 1 Tr [.1 .4]0 d .1 w}SIGN\pdfliteral{q}\\ This text is not black. \end{document} And ...
1
vote
0answers
62 views

include picture with output directory option pdflatex

I'm trying to compil latex files from an external directory using output-dir option because some *.sty files are in my LaTeX directory but not in my current directory. The command I use is like this ...
0
votes
1answer
21 views

The path of image causing error at compiling [duplicate]

I have this path of one of my images: \includegraphics[trim=0cm 0cm 0cm 0cm,clip,scale=.40]{Figures/Simulation_C_044 _023_4_21kV.pdf} When I compile the code, it shows me that there is an error in ...
2
votes
2answers
150 views

Horizontally and vertically center a figure and scale to fill the whole page in landspape orientation

I want to have an image that fills a landscape page. I have tried: \documentclass[a4paper]{report} \usepackage[utf8]{inputenc} \usepackage{pdflscape} %Gives us landscape pages with ...
1
vote
1answer
265 views

Missing begin document in latex file with multiple chapters

Interesting point is that until yesterday I ran this code easily without getting any error but suddenly it keep sending the error of missing begin document. I see some similar question and it was ...
2
votes
0answers
136 views

Strange reference behaviour. (References disappearing randomly)

I am using the MNRAS class https://www.ctan.org/tex-archive/macros/latex/contrib/mnras?lang=en, and I have a very strange behaviour with my references. I am using BibTex, and some times the file ...
2
votes
0answers
140 views

cannot search in created PDF-File

I write my bachelor thesis with texstudio under ubuntu 14.04. And I've noticed that I cannot search in the created file. I tried everywhere - evince, acroread, in texstudio integrated pdf-viewer. I ...
0
votes
0answers
66 views

To insert by pdfpages pdf files closely one after the other without new page

I have a few articles as pdf files to be merged in one book. \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage{pdfpages} \begin{document} Conference proceedings ...
1
vote
1answer
82 views

Glossaries won't print

I'm currently unable to get Glossaries to work. The documents builds fine. No errors whatsoever. But it's not printing the glossary even tho it creates a hyperref at the \glo{computer} which leads to ...
1
vote
0answers
61 views

Modular document compiling without some child documents [closed]

I am creating a modular TeX document with many child documents, using the \input command. After inputting the first 10 child documents, everything compiles as it should. However, after I add another ...
4
votes
2answers
343 views

‘\pdfendlink ended up in different nesting level than \pdfstartlink’ error with current version of hyperref

I am experiencing the hyperref split-link issue described in previous questions. I tried to update the hyperref package as recommended as well as the oberdiek package which also seems to have some ...
0
votes
1answer
69 views

Is it possible to input a file from the web

I am using PHP on my server to create a latex table from a database, which is working fine. The problem I have now is getting that into my latex document. I thought that giving it the path would ...
1
vote
1answer
179 views

get matlab-prettifier to work in pdflatex

in the min example below, I cannot get the file to compile as it complains that I must change my typesetting engine to xelatex or lualatex instead of plain latex or pdflatex. In my original program, ...
8
votes
0answers
175 views

PDF/X in pdflatex with memoir, new xcomply package [closed]

Only a question in the sense of feedback requested. Move if necessary... For some time, I have been working on a better alternative to packages such as pdfx and xmpincl. I think I've got it! Results ...
1
vote
0answers
66 views

Page numbers in pages other than the chapter's first page don't show up [closed]

I am writing my master thesis with a template that I created by myself, and everything seems to be moreorless fine except for the page numbering. I am using two different formats, roman and arabic ...
2
votes
1answer
58 views

How can I fine-tune the position of equation numbers (given they are all on the right)?

My equation numbers are all on the right. I have the distance from the margin set to 18mm, but I wish to vary this on any particular page as I progress through the document. I presume it would mean ...
0
votes
1answer
78 views

To replace “var” greek symbols correctly

Need to use utf8 natural greek symbols in pdflatex. For modern letters I use package textalpha, var greek symbols i workout through replacement and do not know how to do this correctly. Now the text ...
2
votes
1answer
61 views

How to check the text mode

I need to check that during symbol replacement the mode is really text. This came from such task: I do replace underdot symbols like ạ to avoid in pdflatex errors like "Unicode char \u8:ạ not set up ...
2
votes
1answer
337 views

How to insert StackExchange style code?

I want to highlight some code~ish thing in a report like this: blahblahblah...Then you should use ./runprog to start up the program etc etc... How can I do this?
0
votes
1answer
35 views

Flip a landscape environment

I have a page that needed to be in landscape mode, so I've used something like: \documentclass[a4paper,12pt]{report} \usepackage{lipsum} \usepackage{pdflscape} \begin{document} \lipsum ...
3
votes
1answer
156 views

How to use macro inside \pdfpageattr

I would like to use macro to set /MediaBox, /BleedBox, /CropBox and /TrimBox equal to the actual page size. But it seems that \pdfpageattr is reading list of tokens and is not a "regular macro" (if I ...
1
vote
1answer
880 views

PDFLaTeX basic installation in windows for R pdf output for slow internet

I have a windows operating system. I'm using R statistical software. I have to output a R MarkDown file into pdf. This can be done by PDFTeX which requires installation from MiKTeX. R suggests that I ...
1
vote
1answer
223 views

How to produce only dvi file with latex on Mac

Recently, I switched to MacTex, I somehow get used to run the following sequence on a Windows command terminal: latex *.tex ->generate only dvi file bibtex *.aux latex *.tex dvipdfm *.dvi ...
3
votes
1answer
48 views

Longtable alignment with caption

I try to make a table with a caption and I have some issues with the layout. How can I force the table to fit in the width of the caption? The last column is sticking out. And how could I adjust ...
0
votes
0answers
13 views

I need vector fonts in PDF [duplicate]

I've processed this file with PDFLaTeX and got a PDF with a raster font. I need vector fonts. What I did wrongly? \documentclass[english]{article} \usepackage[T1]{fontenc} ...
0
votes
0answers
18 views

precompile ctex package result in missing font

I want to use ctex package to write Chinese documents. The ctex package provide ctexart documentclass. In order to speed up the compilation, I decided to make a precompile file. The minimal working ...
3
votes
0answers
41 views

How to set PDF compatibility to “Acrobat 5 (PDF 1.4)” [duplicate]

My Master's Thesis is going to be printed at a printing office, and they have requested the compatibility of the PDF to be "Acrobat 5 (PDF 1.4)". How can this be defined?
21
votes
5answers
637 views

Highlight every occurrence of a list of words?

In order to revise a draft, and identify related sections, I would like to identify similar words (by color of text, highlight, underline, or otherwise) according to topic. For example, I would like ...
0
votes
0answers
60 views

Can't insert content to revision history table

I'm using asciidoc to generate both HTML and pdf (using DBLATEX) for one of my documents. When the PDF is issued, the second page comes with a revision history table, which is always empty. I tried ...
0
votes
0answers
40 views

Sigchi adds a lot of spacing

I started to use LaTex with the Sigchi when I wrote my thesis. I have a problem that there are a lot of spacing between one column and the other (on the same page) and also a lot of spacing between ...
2
votes
1answer
140 views

Math Formula is too long exceeds column width

I have a formula below which is expected to be in an column. After compiled, it is too long and covers two column. How can I constrain it into only one column width? Thanks \begin{equation} f'(u,v) ...
3
votes
2answers
204 views

Avoid Option clash for package xcolor

I've looked at other questions about option clash for package xcolor to no avail. Tried putting xcolor before hyperref and tikz, tried adding options [usenames, dvispsnames] to documentclass, and I ...
1
vote
1answer
68 views

chunk ran only once knitr/lyx then error

I am having trouble when I run the following code in lyx, using a script written in R: clean_cache(clean = TRUE) <<echo=TRUE,results='asis'>>= library(knitr) library(RMySQL) ...
0
votes
0answers
136 views

Create a link inside LaTeX/Beamer document

I am pretty new to LaTeX and I have a question. I work on a software to generate LaTeX and Beamer document from an other document which is not in LaTeX. For the LaTeX exporter when I had an anchor I ...
6
votes
2answers
185 views

How to deal with a tilde in url's in Mendeley?

If a link in an url contains ~, Mendeley changes it to $\sim$ and hyperref links just don't work. I use pdflatex and biblatex. Is there a quick way how to change manually the link in Mendeley to fix ...
0
votes
1answer
154 views

Open final .pdf file generated by pdflatex through command line

I have a program that generates .tex files and then compiles them using pdflatex through the Mac Terminal. I am simply using some python code to achieve the same effect as the following command: ...
3
votes
1answer
56 views

Bug in includegraphics [duplicate]

I have an image (image.pdf, http://www.solidfiles.com/d/d8874ce2ff/). This is how the image looks like: And this small TeX code: \documentclass{standalone} \usepackage{graphics} \begin{document} ...
0
votes
2answers
241 views

! LaTeX Error: Missing \begin{document}

I am doing an empirical work on STATA and I used the command sutex in order to obtain the LaTeX code for summary statistics tables. I am just copying and pasting it on TeXworks (pdfLaTeX file) as said ...
1
vote
0answers
129 views

Compile latex in c# [closed]

im making a .bat file to compile a .tex file to pdf, when i run it directly the .bat file it works fine, but when i run it in c# the error "pdflatex: invalid argument" appers static void ...
1
vote
0answers
57 views

How to change font family in footnote, equations and one paragraph?

I am using Texmaker in Linux Mint and I am currently compiling with pdfLatex. I am using berasans font family like this: \usepackage[scaled]{berasans} \renewcommand*\familydefault{\sfdefault} %% ...
0
votes
1answer
209 views

markdown's bold and italic stop working after including babel package

I'm having problems with bold and italic options in my pdf file that I get from my Rmarkdown file. I write in Russian so I unclude babel package and after that ** and __ stop working. Here's my ...
2
votes
2answers
130 views

csvsimple Vertical Header

I'm trying to create a table from .csv files using csvsimple. Here are the contents of my file: Degrees,10,20,30,40,50,60,70,80,90 Time,1.33,0.90,0.72,0.63,0.50,0.43,0.41,0.40,0.38 This is a table ...
1
vote
0answers
172 views

File ended while scanning use of \@topnewpage

I get this error while trying to compile the following code. I've already tried to delete .aux files. What else could it be the issue? \documentclass[conference,harvard,brazil,english]{sbatex} ...
1
vote
0answers
28 views

LaTeX: precompile document to reuse inside a C++ program [duplicate]

I've made a C++ program with uses a LaTeX template for creating PDF documents. I open the file, replace some placeholders written inside the .tex document with values of a DB, and then, I compile the ...