Questions tagged [output]
about the main output of the (La)TeX compilation process. Not meant to be used for questions about {compiling} in general or the {output-routine}.
221
questions
2
votes
1
answer
75
views
ifcase eats up letters
I created a command that switches between GCD and LCM. However it has a side effect of erasing everything before the second visible character after the command. How can I fix this bug?
\documentclass{...
2
votes
0
answers
60
views
How to make lualatex output the preprocessed .tex file? [duplicate]
My own Latex writing platform is very complicated with many self-defined macros and lua functions. My platform works fine to produce .pdf output. Now, a journal submission website requires uploading ...
1
vote
0
answers
25
views
Need to store some values in a separate output file
My current code is:
\documentclass{book}
\setlength{\paperwidth}{6in}
\setlength{\paperheight}{9in}
\setlength{\textwidth}{27pc}
\setlength{\textheight}{39pc}
\makeatletter
\renewcommand\normalsize{%...
2
votes
1
answer
43
views
Get values from a TeX application file
My tags are follows:
\documentclass{book}
\newwrite\stylesheetdetails%
\immediate\openout\stylesheetdetails\jobname.ssh%
\AtEndDocument{\immediate\closeout\stylesheetdetails}%
\setlength{\...
0
votes
1
answer
53
views
Delete /svg-inkscape directory with latexmk cleanup
I'm using the svg package to include graphics in my document. When I compile using latexmk -pdf -silent -synctex=1 "myFile", my working directory fills with all of the typically generated ...
0
votes
0
answers
16
views
Why does \pgfmathresult automatically add spaces when used inside a loop? [duplicate]
Compare the following two pieces of code. Both of them output consecutive positive odd numbers starting from 1. The first one defines a command that uses a for loop then calls the command. The second ...
0
votes
0
answers
48
views
Move generated .pdf and .synctex.gz files into build folder in texstudio
The solution in this post Texstudio + Biber + build folder successfully results in the .log and .aux files being put into a separate folder, but it does not affect the .pdf and .synctex.gz files. Is ...
1
vote
1
answer
185
views
Cannot convert PDF output to PDF-A standard
I am about to submit my PhD thesis but I cannot convert the PDF output generated by Overleaf (using the premium version) into the proper PDF-A standard. The document is more than 400 pages long, and I ...
0
votes
0
answers
24
views
Texstudio does not find .lof and .lot files [duplicate]
I have set up a subfolder for the aux-files which works fine so far (main_outputs).
Only thing is that if I add a \listoffigures or \listoftables, I get the warning 'No file main.lot' / 'No file main....
0
votes
1
answer
58
views
Externalise tikz figures and LaTeX output in different directories
I have the following tree:
.
├── main.tex
├── output
└── tikz
I would like to compile main.tex using output for LaTeX output, but having the tikz PDFs externalised in the tikz directory, which would ...
0
votes
2
answers
117
views
Referencing results from an output table
I have been always wondering if there were an optimal way to perform this task in papers. So for example, in my field it is normal to present an output table from R (like linear regression) showing ...
0
votes
0
answers
49
views
A pdf output with exact output dimensions
I want to create a .jpg picture from .pdf with exactly these real dimensions to include this .jpg into my Mobile Phone Samsung Flip Z3 as specified here into my Android Studio Application. Can someone ...
0
votes
0
answers
30
views
How to write the output in multiple pdf files [duplicate]
Suppose that I want to split the output of my LaTeX document in several .pdf files.
Is there something like:
\fromnowwritetofile{foo.pdf}
some part of my document
\fromnowritetofile{foo2.pdf}
some ...
1
vote
0
answers
80
views
Blank output using feynmp package [duplicate]
Using all the code of feynmp package in my recent distribuition of MikTeX for W10 I have not see nothing. Why?
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{feynmp}
\begin{document}
\...
0
votes
0
answers
75
views
Preamble to specify location of compiled pdf
It is possible to select where to save compiled pdfs from .tex files after compiling from the terminal. But, what commands in the preamble of a .tex file will give me explicit control over where the a ...
1
vote
1
answer
66
views
What documentclass to use for publications not meant to be printed
I'm looking for a documentclass or a setup where the paper size (like A4) and "page breaks" aren't part of the output.
How do I end up with one long pdf, with no page distraction?
0
votes
0
answers
627
views
Undefined control sequence error in output.bbl, how to find line?
I got a bunch of errors in my overleaf document that look like this. Is there any way to find what line/area they are pointing to?
Undefined control sequence.
./output.bbl, 24
The compiler is ...
0
votes
0
answers
229
views
No Output PDF Produced
I'm using TeXShop to produce a PDF file of a .tex file, and my professor can produce an output, but I cannot. I assume it has something to do with garamondx, but I believe I installed it correctly.
To ...
5
votes
2
answers
2k
views
Are \onehalfspacing and {spacing}{1.5} Supposed to Yield Different Results?
I am working on a document which requires for a very small portion of the text, that the spacing between the lines be increased. However, and I don't know why, the \begin{onehalfspacing} ... \end{...
0
votes
1
answer
39
views
Using pdf generated in a standalone documentclass in an other project
So I have this big project on Overleaf, and I need to import bar chart from another project. I'm using \documentclass[tikz]{standalone} to generate my bar charts. Everything is working great at this ...
0
votes
2
answers
75
views
What causes Underfull and Overfull \hbox warnings in code processed in .dtx file but not in standalone .tex file?
I am running TeX Live 2021 with all available package and system updates applied on macOS Catalina (again with all available updates applied). I am editing package documentation that was last ...
0
votes
0
answers
94
views
Texnic Center, Error with pdf
I am facing the same problem as mentioned in TeXnicCenter not working with Acrobat Reader
Basically, when I want to generate pdf output, I get the following error:
I have tried updating the Build-...
0
votes
1
answer
206
views
How to fix the error 'I can't write on file `document.pdf'?
I attach the document code. I don't understand what's wrong. Before that, everything worked, but after updating the MiKTeX packages, this error appeared. I work in the Texstudio program.
\...
0
votes
0
answers
70
views
How to execute TeX only for side effects
I need to execute a part of my TEX code without printing the text it produces while making \global macros defined by it available.
For example, when I have this group:
{
foo\global\def\bar{baz}
}
I ...
0
votes
0
answers
124
views
LaTex error: missing \endcsname inserted. Cannot compile
while editing the citations in a chapter of my thesis I got dozens of errors like the following and can't compile the file to a pdf anymore:
*Missing \endcsname inserted.
<to be read again>
...
1
vote
1
answer
90
views
How to Get PdfLatex to Display a 2-Page Output on a Single Page
The following code (for example)
\documentclass{book}
\textheight 5.25in
\usepackage{lipsum}
%\usepackage[all]{nowidow}
\begin{document}
\LARGE
\chapter*{Chapter 1}
\lipsum[2]
\end{document}
...
0
votes
2
answers
153
views
Latex - Suppressing a Piece of Tex Output, but keeping numbering etc throughout for Book for example
I am using a trick I found here to suppress text output when I wish. See below. The only problem is that 1. My equations are still showing (not suppressed) and 2. My tables show the \hlines. How ...
0
votes
0
answers
57
views
UNC paths with xelatex > no pdf output
It appears that my home university has changed the paths for our directory from a letter drive M: to a server path (the drive M: was also on a remote server, by the way). The paths to files in that ...
0
votes
0
answers
46
views
Before LaTeX editors were invented, how did plain TeX authors output their code? [duplicate]
"Output" doesn't just mean PDF files. It could also mean PostScript or plain paper (made from trees).
This might seem like a goofy question, but I couldn't find the answer with a search ...
0
votes
1
answer
619
views
"Rerrun to get cross-reference right." LaTeX Warning
I'm stuck with this warning: "Label(s) may have changed. Rerun to get cross-references right." The compiler is not able to compile my document and I can't move one.
Initially the warning ...
0
votes
0
answers
393
views
Sorry, but "MiKTeX Compiler Driver" did not succeed. The log file hopefully contains the information to get MiKTeX going again. Appreciate any help
I checked the log file, it said as below:
texify - starting with command line: "C:\Program Files\MiKTeX 2.9\miktex\bin\x64\texify.exe" --pdf --synctex=1 --clean myFileName.tex
664-0400 ...
3
votes
3
answers
121
views
Simplest Way to Effect a Horizontal Shift of the Output in a Verse Environment
Consider the following code which produces the illustrated 4-line stanza:
\documentclass{book}
\usepackage{verse}
\usepackage{lipsum}
\begin{document}
\thispagestyle{empty}
\large
...
17
votes
1
answer
1k
views
Understanding all output files when compiling a LaTeX document
I've been using MiKTeX for a while, but I haven't really understood what all the output files are. I'm using pdflatex and I've just started using biber for bibliography. When I compile a .tex file I ...
2
votes
0
answers
696
views
How do I solve the Output routine didn't use all of \box255. \newpage ...prevdepth \fi \fi \vfil \penalty -\@M error?
I am currently writing my thesis and am using MikTex to do so. I have not updated MikTex in a whole year of time and it was running fine till I did today. Today I updated the MikTex to the latest ...
1
vote
1
answer
43
views
The defined command not work in \ifdefined
Why this MWE doesn't work?
\begin{filecontents*}[overwrite]{myClass.cls}
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{myClass}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
\ProcessOptions\...
15
votes
4
answers
2k
views
Converting mathematical TeX expressions
Is there a (hopefully simple) way to convert a mathematical TeX expression, such as \frac{\cos(x^2) - x}{x^2 + 1}, to expressions which you would use in a programming language? The outcome of the ...
2
votes
1
answer
37
views
Output a result file from a original file with @nameuse
i have a file a.tex
\documentclass{article}
\begin{document}
\makeatletter
\gdef\wbsinput@files{,\jobname}
\gdef\wbsinput@current{\jobname}
\long\def\wbs#1#2{
{\expandafter\ifx\csname wbsinput@\...
3
votes
1
answer
120
views
Differrent output for the solidus symbol (/) inside math mode
I have asked before how to create a macro for a new division symbol (Custom division symbol).
To use it, I type $a \newdiv b$ and it works fine, but I'd rather type $a/b$ so that my code will be ...
7
votes
2
answers
546
views
How do I write the hashtag symbol # into an output file?
I was successful before in writing the hashtag symbol # into an output file. please see the following MWE.
\documentclass{book}
\usepackage{newverbs}
\Verbdef\myHashtagSymbolOne{#}%
\newcommand*{\...
1
vote
0
answers
34
views
Invalid numbers and output on listing when using linerange on lstinputlisting [closed]
I'm trying to use linerange inside a lstinputlisting. The command is able to read the file but omitts the content of the first line. I would expect if I use the following code to see the last line of ...
2
votes
3
answers
189
views
How to fix an ugly fraction with exponent?
Here's a simple fraction that I find extremely ugly. What could I do to get a better looking result (without using a negative exponent) ?
\documentclass[11pt,letterpaper,twoside]{book}
\usepackage[T1]...
0
votes
1
answer
51
views
Why is there an extra (4) in the output of align?
\documentclass {article}
\usepackage {amsmath}
\usepackage {amssymb}
\begin {document}
With `` align* '' ( you require manual numbering) :-
\begin {align*}
\alpha &= \beta + \...
1
vote
0
answers
44
views
Saving the PDF output file into a specific file using pdflatex inside VisualStudio C# [duplicate]
I am trying to run a .tex file using pdflatex with MikTex from inside VisualStudio C#. My problem is that I can't seem to get the PDF output in the right location. I saw that there is the "-...
0
votes
3
answers
1k
views
TeXnicCenter not working with Acrobat Reader
Even after updating to R20 in the PDF section, TeXnicCenter is not opening Acrobat Reader. I'm using Adobe Acrobat Reader DC version 2020.013.20074. The old trick does not seem to work.
2
votes
0
answers
722
views
Error: Output routine didn't use all of \box255 [closed]
I get this error message for my footer:
\begin{textblock*}{0.9cm}(3.5cm,9.25cm)
\raggedleft
{\usebeamercolor[fg]{title in head/foot}\usebeamerfont{title in head/foot}
\hspace*{10cm}{\textbf{IEB}\...
1
vote
1
answer
140
views
Conditional naming of the output PDF file
My target is to have an output Solved Exam.pdf when \ifSolution is true, and The Exam.pdf when \ifSolution is false.
However, I don't know if this answer is relevant here to change the \jobname and ...
0
votes
0
answers
104
views
Difference in pdf output quality
I noticed that viewing the documents I compile with latex on the Adobe Acrobat viewer, the result seems to be higher quality - i.e. the characters look more defined, somewhat more "crisp" - ...
6
votes
1
answer
363
views
The mystery of the disappearing asterisk [duplicate]
I have a weird "bug" in my table. For some reason one asterisk does not show up. I am using LuaLaTex which as I understand it uses Unicode so all these weird glyphs I've got in my table ...
2
votes
1
answer
6k
views
Why do I get "Require" and "Ensure" instead of "input" and "output" phrases in my pseudocode in IEEE Access format?
When I wrote the following pseudocode in \documentclass{article} format, I get "Input" and "Output" phrases after the compilation but when I write the same latex code in the IEEE ...
0
votes
1
answer
82
views
Omit environment-content from being printed
I've created a very simple environment for myself to make reminders/comments visible inside the document:
\newenvironment{todo}{~\\\color{red}}{~\\}
However, now I want to create a pdf for someone to ...