Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [pdftex]

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.

0
votes
1answer
13 views

renewcommand within newenvironment

I have a problem with redefining a comamnd within a new environment. Not working MWE: \documentclass{book} \makeatletter \newcommand{\mysection}{\@ifstar{\mysection@star}{\mysection@nostar}} \...
0
votes
1answer
25 views

Output pdf is not getting generated in case of internationization

\documentclass{article} \usepackage[utf8]{inputenc} \usepackage[english, russian]{babel} \usepackage[T1, T2A]{fontenc} \begin{document} \begin{abstract} Это вводный абзац в начале документа. \end{...
0
votes
0answers
10 views

PDF in Texmaker does not update after running Quick Build or PDFLatex

When I run make changes to my document and run Quick Build it does not update the PDF in the quick view or the document stored in the folder. I have always just ran Quick Build but I have tried to run ...
0
votes
2answers
34 views

How to generate list of abbreviations in LaTeX?

I used the acronym package (usepackage{acronym}) to create acronyms in my thesis. In the beginning of the document, I define the acronym as, for example, \acrodef{USA}{United States of America}. And ...
0
votes
0answers
6 views

Make ChoiceMenu not fillable in hyperref form dependent on other ChoiceMenu

I have a form and there is a ChoiceMenu with three different possibilities. For two of them I have a further ChoiceMenu and it does not make sense to fill them out if the belonging option of the first ...
0
votes
0answers
13 views

How to take path from batch in LyX2.3.2?

I'm using LyX in Windows 10 and searching to display the path where the file.tex is placed, this file is supposed to be placed in different places and used from different users. I try to explain what ...
0
votes
1answer
34 views

Typeset Unicode Control Pictures

I have a specific need for typesetting the Unicode Control Pictures. Unfortunately, I only have access to pdfTeX. Is there any way to insert these symbols?
0
votes
1answer
19 views

Continue text underneath image in Latex

I want to insert an image in Latex, but the text in my document should continue underneath the image (see inserted image). The image should not be completely "underwritten", only to a certain point ...
0
votes
1answer
27 views

Display text in PDF, but remove it when physically printing the document

I'm trying to create a document which contains some special text that's only visible when the document is opened in, e.g., Acrobat. When printing it using a normal printer, I want the text to be ...
0
votes
1answer
31 views

Generate DVI file from valid TEX with pdflatex returns error for images

I can render PDF using pdflatex normally, I used Makefile like this: all: pdflatex $(PAPER).tex bibtex $(PAPER) pdflatex $(PAPER).tex pdflatex $(PAPER).tex This renders PDF with no ...
0
votes
0answers
26 views

Why do I get this error with \includepdf: “(\pdfsetmatrix): Unrecognized format”?

This MWE produces a compile error: \documentclass[12pt,letterpaper]{article} \usepackage{pdfpages} \usepackage{lipsum} \title{My Title} \author{First M. Last} \begin{document} \maketitle \lipsum ...
0
votes
1answer
25 views

Reference figure with multiple figures

I have figure with multiple figures (top, bottom). The journal that I want to send my paper to require that we use (a,b,..) for multiple figures. I followed that but since all my figures have titles ...
0
votes
0answers
33 views

pdfTex error (\pdfximage)! not allowed in DVI mode

I have a PNG file in the figure also graphicx package has been added. Still I get this error! These are the packages/settings I am using: \usepackage{myphdthesis} \input epsf \usepackage{cite} \...
0
votes
1answer
37 views

Preparing a latex installer to ship the reporting system

I have prepared a simple report making system that uses Latex to prepare all the reports. It is a simple system that prepares a 15 page report by reading a CSV file. I want to ship the system. I don'...
1
vote
1answer
13 views

Missing files (basic sty files) when TEXINPUTS is set

Below is my files tree: .../Doc/Tex/book.tex .../Doc/Tex/images/im.jpg .../Doc/TexBase/myTemplate.sty .../Doc/TexBase/baseImages/logo.jpg On Windows it was enough to set TEXINPUTS evironment ...
1
vote
0answers
35 views

PDFLaTex complier gives a lot of errors after using LaTex compiler on Texmaker

I use texmaker program to produce latex documents in my macbook. I have used PDFLaTex compiler to generate pdf documents, and it works perfectly. For once, I mistakenly choose Latex compiler ...
0
votes
0answers
24 views

I need help compiling a latex template!

I have installed the macTex package and now need to open a template that I will have to write a protocol in. It is a folder that consists of several files, but I thought compiling the Main.tex file ...
3
votes
1answer
43 views

Revtex 4.2 Bibliography not working

My tex file is running without any issue. But when I try to incorporate bibliography, the references are not getting generated. I've added the citation to bib file using JabRef and also defined the ...
2
votes
2answers
52 views

Uppercase numbers in section headers - classicthesis

How can I force an uppercase number in the subsection header of classicthesis? As oldstyle numbers are used through classicthesis, this causes a problem for headers where abbreviations containing ...
0
votes
0answers
34 views

Must PDF always eat source code indentation? [duplicate]

The packages listings and minted present source code inline. My publication target is PDF. From my own documents as well as from the documentation for those two packages, copying and pasting the ...
3
votes
1answer
35 views

Different results of \mag statement

The following example gives different results for pdfLaTeX and LuaLaTeX. I use a recent TeX Live 2019 installation. \documentclass[a4paper]{article} \usepackage{geometry} \mag=250 % \setlength\...
3
votes
0answers
31 views

Hyphenation for transliterated Greek

Is there a hyphenation package available for Greek text transliterated into the Roman alphabet? I'm creating a document that contains many (i.e. several hundred) Greek place names, which are ...
1
vote
1answer
48 views

How to add boxed text at bottom of first page?

I need to add some boxed text at the bottom of the first page. If placed anywhere on the first page the box should appear at the bottom of the first page. Please help me. I tried the following code \...
1
vote
1answer
22 views

How to automaticly change specific letter with something else

I have a problem with letter đ because everytime I write something in serbian latex document fails to compile this letter. Is there any package that can fix this or always change đ to dj when I ...
0
votes
1answer
45 views

Declare environment that does not “break”

Is there a way in LaTeX to declare a command or environment that will "refuse" to be broken across pages unless absolutely necessary? Use case: I have a number of documentation items (all generated ...
2
votes
1answer
34 views

Cannot use \tex inside of \title{…}

I cannot use \tex inside the \title{...} since it fails on the \maketitle command. When I remove the \tex, the file is built correctly. \begin{titlepage} \title{ \normalfont ...
3
votes
1answer
93 views

How to get file name from inside a latex file?

In the context of biblatex its possible to bibstyle=reading, this will produce bibliography including abstract and annotation fields. The annotation might come from a file named like bibannotation-...
1
vote
1answer
26 views

How do I set a label on a propagator using tikz-feynhand?

I'm trying to draw a Feynman diagram using the tikz-feynhand package, but I'm having trouble setting labels on the lines it draws. The following works fine to draw the lines with no labels: \...
6
votes
1answer
361 views

Emergency stop in plain TeX, pdfTeX, XeTeX and LuaTeX?

I'm using <TeX_Engine> -jobname=TEX_TESTING -halt-on-error -interaction=nonstopmode <my_code> to TeX the one-line code A\bye. It does not work. Here are the logs: Plain TeX: This is TeX, ...
1
vote
0answers
22 views

How to add directories into build path for latex workshop vs code plugin?

I'm using latex workshop in VS code on Windows and I have the following issue. So I have my bibliography in ./bibliography folder, my figures in ./figures folder and styles in ./styles folder and all ...
1
vote
1answer
62 views

Is there a way for LaTeX to always return?

I'm currently writing a Python program that can automate detection of whether a certain command is permitted in math mode without using any packages. For the purpose of testing I add \documentclass{...
0
votes
0answers
44 views

How to make a new pdfLaTeX font family (package)?

I know how to make a simple .sty file and use my custom package inside my document. However, I also know of some packages like times or inconsolata which provide many different font families to use ...
0
votes
2answers
23 views

How to create horizontal dashline length of page inside description environment

I want to create a horizontal dashline with the length of page margin using the arydshln package. I've read this but when using \hdashline[1pt/2pt] I get an error. How should I implement \hdashline ...
0
votes
1answer
17 views

Is there a way to find out which markers you have used for labeling figures, tables, equations etc [duplicate]

I've ran into an interesting problem. I normally mark my equations with p1:e1 ,..., pn:en, e.g. \label{p1:e1}. Is there a way for me to view all of the labels I have used previously without the need ...
0
votes
0answers
41 views

Better latex output, instead of being wrapped on Terminal?

Latex output is being wrapped, even if there is space on Terminal: While if I list the files ls command output seems normal (as expected): I checked Avoid linebreaks in LaTeX console / log output (...
0
votes
0answers
21 views

The page number in a table of content is not aligned

I am working on my PhD thesis and trying to align the numbers in the table of content . I can see these lines in the content.tex, but as you can see numbers are not aligned. Build with pdflatex, ...
2
votes
1answer
198 views

How to force pdflatex to compile in pdf mode? (I am using WinEdt to edit and compile my .tex file)

I have a very simple .tex file: \documentclass{article} \begin{document} hello \end{document} When I tried to compile this file with pdflatex, it generates a .dvi file instead of a pdf file. My ...
4
votes
1answer
127 views

Loading but not using TikZ changes a file

In the file below: \documentclass{report} \usepackage{tikz} \begin{document} This is a test. \end{document} commenting and uncommenting the {tikz} entry changes the PDF file produced. Since tikz ...
0
votes
1answer
52 views

Problem with \includegraphics and long relative path and parent folder

after a long search without results I hope you can help me. Here is my problem: I can't load .pdf files with \includegraphics. The background is that I have one repository to create my frequent used ...
0
votes
1answer
57 views

pdflatex generates corrupted PDF

I have the following minimal example (jrnl.tex): \documentclass[journal]{IEEETran} \ifCLASSINFOpdf \usepackage[pdftex]{graphicx} \graphicspath{{pdf/}{jpeg/}{png/}} \DeclareGraphicsExtensions{....
3
votes
1answer
41 views

How to use chinese chars in section names?

This is how I (currently) embed chinese in my documents: \documentclass{article} \usepackage{CJKutf8} \begin{document} \begin{CJK}{UTF8}{gbsn} \tableofcontents \section{abstract} 摘要 \end{CJK} \end{...
0
votes
1answer
63 views

please how do I create this declaration page on latex, the major challenge is inserting the lines though

please I need assistance in inserting a line for signature/date in the declaration page of a research document using latex! assistance would greatly be appreciated
0
votes
0answers
26 views

How to draw SVG from XML Structure file?

I extracted the XML description of a Chart from a Word Document. It is about 500 lines of code so I will not append it. How can I draw the SVG for the XML file in Latex ?
10
votes
5answers
1k views

How do I produce this Greek letter koppa: Ϟ in pdfLaTeX?

I have been trying to typeset the character GREEK LETTER KOPPA. It has not been working. I know the Unicode number (U+03DE), and tried the command ^^3de and ^^3DE. Neither worked. I also tried \char ...
0
votes
0answers
48 views

Embed (or remove) T3 fonts when creating PDF [duplicate]

My printing company is complaining about some T3 fonts in a PDF I created (using "PDFTextify" in WinEDT). The image below shows how Acrobat DC reports these fonts: Running the "pdffonts" command on ...
0
votes
1answer
39 views

How to avoid additional page getting rotated?

I am trying to get all sidewaysfigures automatically rotated. But for some reason I get an extra rotated page (see code and screenshot below). How can I avoid this? (This is part of a sequence of ...
0
votes
0answers
53 views

Sudden problem with compiling PDF

I have a problem with compiling PDF, suddenly I received information: Sorry, but pdflatex.exe did not succeed. The log file hopefully contains the information to get MiKTeX going again: C:/Users/asus/...
0
votes
0answers
176 views

Why latex does not tell me which command is undefined?

From the beginning, took me a lot of time to come with the following minimal example: \PassOptionsToPackage{main=brazil,english,spanish,french}{babel} \documentclass[ 10pt, a5paper, ]{memoir} \...
1
vote
1answer
175 views

Unexpected error message (Undefined control sequence. l.18 \xwm@secstopagerange)

The following basic TikZ code is throwing the compilation error via PDFLaTeX: ("C:\fakepath\AppData\Local\Programs\MiKTeX 2.9\tex/generic/pgf/frontendla yer/tikz/libraries\tikzlibrarytopaths.code.tex"...
3
votes
3answers
96 views

How to assign captions for two tables in LaTeX?

I want to put two tables side by side and my I have included a sample code below. How can we put separate captions for two tables in LaTeX included in one tabular environment? \documentclass{article} ...