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}.

Filter by
Sorted by
Tagged with
0 votes
1 answer
18 views

How to configure LyX to create PDF file in the same folder and open the right PDF file with "view"

I would like LyX to create the PDF file in the same folder as the *.lyx file. I'm using LyX 2.4 on Windows 11. Note that the 11 year old answer to the similar question "Can LyX automatically ...
Alan C.'s user avatar
1 vote
0 answers
48 views

Storage location of PDFs created by LyX on Mac

I am using the current Lyx version on an up-to-date Mac and have one issue: LyX is supposed to store the PDFs in the same folder location as the source file .lyx, however on my Mac the PDFs are always ...
Michael Seyfried's user avatar
1 vote
0 answers
52 views

Why does my TexMaker output have this terrible kerning?

I am writing a research article using TexMaker. The article uses the following packages as preamble: \ifx\directlua\undefined\ifx\XeTeXcharclass\undefined \usepackage[utf8]{inputenc} ...
Niki Di Giano's user avatar
0 votes
2 answers
74 views

Don't work \immediate\write

I'm writing my own .sty file. It contains its own table of contents and commands like \section{}, but nothing works because the output to the file for the table of contents does not work correctly ...
Andrew D.'s user avatar
0 votes
0 answers
35 views

Can I show the raw generated text from a command in my document?

I am trying to debug my code and I keep running into the same problem so I would like to see what the command that causes the problem is giving to the compiler. I have looked for this and I can't seem ...
Balansoire's user avatar
0 votes
1 answer
56 views

Mysterious error with output.nls file and nomencl package

I am using an Overleaf template to write my master thesis, which I have to hand in in 2 days. While finalizing the Symbol and Abbreviations List, I had an error while compiling the file. As I could ...
J Faller's user avatar
3 votes
1 answer
61 views

Not able to generate output when Kannada is used in Beamer

The document (and beamer also) includes Kannada as the main language and English as the other language. I am able to generate a document file (through XeLatex) successfully. But when I try to generate ...
Kiran K U's user avatar
  • 323
0 votes
0 answers
12 views

Index not compiling with the -output-directory option [duplicate]

I have a minimal working example of my main latex file main.tex: \documentclass[12 pt, oneside]{book} % ________________________________Packages_________________________________ \usepackage[margin=1 ...
Hem Yal's user avatar
  • 21
0 votes
0 answers
22 views

How to write the value of magnetic permeability with the siunitx package? [duplicate]

In my old LaTeX document, using a 2015 version of pdfLateX, I was using the following code to write the magnetic permeability value, and all compilations went fine, the output was right: \begin{...
Cham's user avatar
  • 2,200
2 votes
1 answer
79 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{...
hau2643's user avatar
  • 21
2 votes
0 answers
61 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 ...
Novice User's user avatar
1 vote
0 answers
26 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{%...
GowriSaro's user avatar
  • 528
2 votes
1 answer
46 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{\...
MadyYuvi's user avatar
  • 13.6k
0 votes
1 answer
111 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 ...
Ben Zelnick's user avatar
1 vote
1 answer
777 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 ...
MaxPy's user avatar
  • 49
0 votes
1 answer
87 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 ...
antonio's user avatar
  • 1,436
0 votes
2 answers
211 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 ...
Javier Moreno Sepena's user avatar
0 votes
0 answers
94 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 ...
user2925716's user avatar
  • 1,940
0 votes
0 answers
31 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 ...
user126154's user avatar
1 vote
0 answers
93 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} \...
Sebastiano's user avatar
  • 53.6k
0 votes
0 answers
109 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 ...
Nebulloyd's user avatar
  • 101
1 vote
1 answer
126 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?
Søren's user avatar
  • 11
0 votes
0 answers
981 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 ...
Coolcrab's user avatar
  • 239
0 votes
0 answers
300 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 ...
BKrik's user avatar
  • 1
6 votes
2 answers
3k 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{...
DDS's user avatar
  • 8,796
0 votes
1 answer
63 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 ...
Cla-Jan's user avatar
  • 67
0 votes
2 answers
112 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 ...
LaTeXereXeTaL's user avatar
0 votes
0 answers
134 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-...
Karl 17302's user avatar
0 votes
1 answer
416 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. \...
Pavel's user avatar
  • 43
0 votes
0 answers
74 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 ...
jiwopene's user avatar
  • 179
0 votes
0 answers
323 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> ...
user255848's user avatar
1 vote
1 answer
116 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} ...
DDS's user avatar
  • 8,796
1 vote
2 answers
319 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 ...
Lucas's user avatar
  • 11
0 votes
0 answers
71 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 ...
Sverre's user avatar
  • 20.7k
0 votes
0 answers
49 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 ...
adrianmn1110's user avatar
0 votes
1 answer
1k 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 ...
Catarella's user avatar
  • 361
0 votes
0 answers
436 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 ...
user242640's user avatar
3 votes
3 answers
138 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 ...
DDS's user avatar
  • 8,796
18 votes
1 answer
2k 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 ...
Emanuele Giordano's user avatar
3 votes
0 answers
1k 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 ...
Guru's user avatar
  • 31
1 vote
1 answer
73 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\...
Bahman Mirzakhani's user avatar
15 votes
4 answers
3k 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 ...
Valentin's user avatar
  • 161
2 votes
1 answer
38 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@\...
Zeno Shuai's user avatar
3 votes
1 answer
158 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 ...
Pedro G. Mattos's user avatar
7 votes
2 answers
877 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*{\...
beethovengg14's user avatar
1 vote
0 answers
42 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 ...
fr0zn's user avatar
  • 51
2 votes
3 answers
315 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]...
Cham's user avatar
  • 2,200
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 + \...
Anushka Tilekar's user avatar
1 vote
0 answers
45 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 "-...
josepht21's user avatar
0 votes
3 answers
2k 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.
JDC228's user avatar
  • 1

1
2 3 4 5