Skip to main content

Questions tagged [terminal-output]

This tag shall be used for questions related to the terminal, e.g. using `\typeout` or interacting with the command-line from within a LaTeX document. It should not be used for questions just using a terminal-output to describe their error message.

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

texlive miktex conflict - texhash

I'm working with Ubuntu 22.04 and texlive (I'm using the Ubuntu texlive from tug.org). I tried to install miktex but gave up because I could not finalize the installation of the miktex console, which ...
Régis FDS's user avatar
2 votes
1 answer
143 views

Print to terminal after final compiler message?

I use only lualatex, but I believe this is a general *.tex question: Compiling from command line (Linux, probably any system), the Terminal response concludes with something like this: 507 words of ...
user avatar
1 vote
2 answers
97 views

Why the ⟨code⟩ of \NewDocumentCommand{⟨cmd⟩}{⟨arg spec⟩}{⟨code⟩} isn't displayed in the terminal?

Consider the following MCE: \documentclass{article} \newcommand{\mynewcommand}{foo} \NewDocumentCommand{\MyNewDocumentCommand}{}{bar} \ExplSyntaxOn \iow_term:x {mynewcommand=\mynewcommand} \iow_term:x ...
Denis Bitouzé's user avatar
1 vote
1 answer
269 views

New 2023 TeXlive, similar but different arara problem

I had previously posted a question about Arara, with TeXlive 2022 and with specific reference to ConTeXt (see ConTeXt and Arara, failure. That question has been closed due to "lack of clarity&...
Birdman's user avatar
  • 145
0 votes
1 answer
87 views

Windows 11 - Terminal - LaTeX Error - You haven't defined the language [ yet.?

Code in VSCodium \documentclass[ % remove for less green, BCOR=12mm, % 12mm binding corrections, adjust to fit your binding parskip=half, % new paragraphs start with half line ...
NvdDgr's user avatar
  • 3
1 vote
1 answer
79 views

Pass text from console to context

I want pass text from console to context, like this echo "\starttext Hello, World! \stoptext" | context - but this does not work. It seems that context just could be invoked against a file (...
somenxavier's user avatar
1 vote
1 answer
234 views

How to create a code block with boxed title at top (see image)?

How do I create something that look like this? (Taken from FEniCS Tutorial book pdf page 14 (actual 6)) It doesn't have a caption or table/figure tag near it.
User 10482's user avatar
1 vote
1 answer
165 views

Workflow for automatically running sagetex in VSCode

Notes This is my first post here; however, I have used the answers from here countless times. I am definitely a beginner with command line/terminal stuff. I would say I am pretty literate with LaTeX, ...
Andy's user avatar
  • 11
3 votes
1 answer
856 views

Does pdflatex have no input path option for the terminal command?

I am running a script that starts pdflatex in a terminal. Since I have my tex files in different folders I need to change the dir before pdflatex can 'see' the input tex file. So my question is there ...
Namal's user avatar
  • 301
2 votes
1 answer
122 views

expl3 - how to turn a message from one module into a message from another module?

By means of the l3msg package you can create nice messages. Redirecting from one message-class to another (e.g., turning error-messages into warning-messages) is possible as well. How can I redirect ...
Ulrich Diez's user avatar
  • 29.7k
15 votes
1 answer
1k views

Fun: How can we generate funny/unexpected messages in LaTeX?

Knuth says in "Chapter 6: Running TeX" of the TeXbook: Error messages can be terrifying when you aren't prepared for them; but they can be fun when you have the right attitude. Just ...
Ulrich Diez's user avatar
  • 29.7k
0 votes
0 answers
411 views

Unable to compile my Latex project to produe PDF in arxiv

I am trying to upload a .zip folder that contains my latex project for a paper. The project compiles successfully in my machine. However, I receive some fatal errors which seems mysteryous to me. I am ...
randomname's user avatar
6 votes
1 answer
166 views

Convince pdflatex et al. to not restrict console output to 78 columns

For some reason I'm unaware of, every *latex executable I've used has the strange habit of wrapping its console output at 78 columns. That's a bit surprising, since it always either ends up on a ...
Marcus Müller's user avatar
3 votes
0 answers
187 views

How to print a custom message in TeXstudio "Messages" terminal? [closed]

Consider the Process exited normally message after each successful compilation, I would like to know how to create a command that can type messages like this in TeXstudio "Messages" ...
Diaa's user avatar
  • 9,689
11 votes
1 answer
2k views

How to write a real "Hello World" program

One of the easiest tasks in almost all programming languages is to write a program that writes "Hello World" into the terminal. Something similar in TeX is: tex '\empty Hello world! \bye' ...
M0M0's user avatar
  • 423
0 votes
0 answers
301 views

Can't compile luatex on windows 10 terminal

I'm trying to compile some TeX files through a windows .bat script to avoid having to open them all on TeXWorks. Compilation runs just fine on TeXWorks but when I'm runing luatex file.texon the cmd ...
Etsaf's user avatar
  • 349
1 vote
1 answer
84 views

How to avoid \input files being displayed in the terminal output?

As indicated in https://tex.stackexchange.com/a/316779/5471 , files with content included via the \input command are displayed as (file) on the terminal output. Assume there are specific files, the ...
Abdallah's user avatar
  • 543
0 votes
1 answer
138 views

Avoid information messages in the output (coming from package comment)

I am using the package comment extensively and it produces a lot of information messages I don't want to read anymore. How can I get rid of them? (presumably, I would still like to receive warnings ...
Abdallah's user avatar
  • 543
2 votes
0 answers
170 views

Why is the newline character not printed on terminal after entering batch_mode?

When TeX stops on an error, we can answer Q. In such case in the log file this is printed: OK, entering \batchmode... But on the terminal thsis is printed: OK, entering \batchmode<terminal ...
Igor Liferenko's user avatar
4 votes
1 answer
2k views

tcbuselibrary: redefining "every listing line"

This is following up to an earlier question: Drawing Realistic Linux Command Shell Windows with tcolorbox I'd like to be able to create something like this: For the most part I can, but I ...
voices's user avatar
  • 2,059
1 vote
0 answers
1k views

MAC OS Catalina cannot compile latex from Terminal

I upgraded to Catalina and now I am not able to compile latex files in Terminal, the compiler runs but the classes are not read, the path to the .cls files is in /etc/paths, when I copy the .cls file ...
Richard's user avatar
  • 210
2 votes
0 answers
875 views

Cairolatex vs epslatex terminal within Latex, implementing PDF plots

So I've tried to move away from using eps within my LaTeX documents and found that the cairolatex terminal in gnuplot has a pdf output option that has the advantage of being portable and hence more ...
Dpezto's user avatar
  • 33
6 votes
2 answers
211 views

Write to screen/console but not to .log file

I use LaTeX without Lua extensions. Is there a platform-independent possibility built into (La)TeX for writing a message to screen only but not to the .log file?
Jewdokija's user avatar
0 votes
0 answers
307 views

Output a PDF as a byte array or stream

Is it possible for pdflatex to output a PDF as a byte array or stream, rather than writing the bytes to disk? I want to repeatedly write a PDF and immediately extract it's text; if I can avoid ...
Seth Alter's user avatar
5 votes
1 answer
64 views

Reading line from terminal in expl3

Simple question: How do you read a line from terminal to a token list variable in expl3? The following is what I tried: \documentclass{article} \usepackage{expl3} \begin{document} \ExplSyntaxOn \...
siracusa's user avatar
  • 13.5k
5 votes
1 answer
211 views

How to halt compilation and output error message to the console with expl3?

How to stop compliation and output an error message if conditional statement resolves to true? \documentclass[varwidth]{standalone} \usepackage{expl3} \begin{document} \ExplSyntaxOn \...
bp2017's user avatar
  • 3,796
0 votes
0 answers
149 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 (...
KcFnMi's user avatar
  • 1,242
1 vote
2 answers
430 views

Output formatting within \message

Is there a list or overview of character codes that can be used within \message or \typeout to format the printed string in pdfTeX, Version 3.14159265-… (TeX Live 2017)? I know of ^^J which does a ...
Lupino's user avatar
  • 2,762
1 vote
1 answer
701 views

Is there way to reconfigure LyX from terminal?

I can't find anything on the wiki. I'm using a Mac OS X 10.11.6 if that helps. https://wiki.lyx.org/Mac/Mac EDIT: I was trying to find a shortcut for the tedious Tools > Reconfigure.
jed's user avatar
  • 235
1 vote
1 answer
168 views

Do latex cli tools exists

I get really annoyed when I have to go find my tex template or download the template or recreate one from memory. Do Latex cli tools exist for linux where, in the terminal, I can write something like:...
jman's user avatar
  • 113
1 vote
1 answer
5k views

Copy Output table in Jupyter for LaTex Document

I am trying to write a report for my project in LaTex. I am able to put code onto my LaTex Document, but I wanted to know if it is possible to import my output cell which is a table onto my LaTex ...
Ayman Arif's user avatar
1 vote
0 answers
17 views

copy code from beamer-pdf into terminal [duplicate]

I want to talk about git and created some slides, where I use a listings enviroment to mark code that can be typed into the terminal (see minimal example). Unfortunately, when I want to copy the code ...
Alexander Tille's user avatar
2 votes
2 answers
237 views

suppressing messages to standard output from package morewrites

I have to use morewrites and I do not like the fact that it writes to standardout since I miss other messages. Is it possible to suppress the messages concerning .mw? That is [1] (./debug-morewrites....
Stefan Müller's user avatar
3 votes
2 answers
1k views

In Luatex, how to know effective output directory?

I need to know what is the actual output directory, as set by the -outdir or -output-dir command line switch, because I am executing external programs and I need to give them the exact location of the ...
ysalmon's user avatar
  • 1,160
3 votes
1 answer
1k views

Is there a way to suppress all LuaTeX output except errors?

Basically, TeX has a lot to say, and I'm not really interested in most of it. If I were, I'd read the log. The silence package suppresses output, but it suppresses output to the log as well, and ...
Zorgoth's user avatar
  • 371
2 votes
2 answers
191 views

Chapter names from terminal

Is there out of the box way how to list chapters of Book document from terminal via MacTex? I want to keep list of chapters somewhere aside from the actual chapter files. Like one independent ...
Mailo Světel's user avatar
6 votes
5 answers
5k views

Too many alphabets, how to avoid this error?

I'm having a problem when I try to use too many different types of math symbols in LaTeX, such as in this example: \documentclass[a4paper,12pt]{article} \usepackage{amsmath} \usepackage{latexsym} \...
Alba Crespo Pérez's user avatar
4 votes
1 answer
98 views

Can Bibulous be run from the terminal?

I want to use Bibulous to create custom bbl files. However, I don't use the programs for which Bibulous was designed to integrating with. Is it possible to run the program from the terminal? I would ...
JeffDror's user avatar
  • 295
3 votes
1 answer
152 views

How to output a repetitive string on console using typeout

I'm trying to create an easy macro to trace - on the console - the source files of my input. In first intention, I want to create a new command called "TraceHere" that will output the current filename ...
Eric Detienne's user avatar
0 votes
1 answer
62 views

Click on the output of the tex file [closed]

When i click on the output of the my Tex file, instead of opens in the my Tex file, It opens in a notepad file. I would greatly appreciate for any suggestions. I find the following option in the PDF ...
Amin's user avatar
  • 1
1 vote
0 answers
333 views

Display Ubuntu terminal output [duplicate]

I am writing a memoir in latex. I have lot of output from Ubuntu terminal and I have tried to put in verbatim, but this is really not pretty. I was wandering if there is a latex tip to put Linux ...
theCode's user avatar
  • 111
3 votes
0 answers
4k views

LaTeX can't find .cls files

I recently downloaded MacTeX-2015 and wrote a very short file which I called test.tex: \documentclass{article} \begin{document} Hello world. \[ e^{2\pi i} = 1. \] \end{document} I opened the file ...
David Grabovsky's user avatar
17 votes
3 answers
9k views

Terminal screenshot generator

I would like to document work in console while I also think that bitmap images are not the best way to do it. They do not scale well and after all what I am trying to document is text. Therefore I ...
Mr. Tao's user avatar
  • 419
2 votes
2 answers
2k views

How to print the content of a macro to the terminal

I am writing letters of application to various companies and to speed up the process I have few macros defined in my .tex file i.e. \def\company{ Company name ABCDEF } I know that one can do \...
Alexander Cska's user avatar
1 vote
2 answers
7k views

Latex labels in gnuplot and pdf output

I was wondering if is possible to have latex labels in Gnuplot but with pdf output instead .tex Thanks.
Ellis's user avatar
  • 13
5 votes
1 answer
8k views

What is a terminal in LaTeX? And why are there so many?

As I am reading through the LaTeX literature available on the net I am comming across all this different terminal names, such as: latex, tikz, eepic, gnuplot, epslatex, cairolatex, emtex, pslatex, ...
codeaviator's user avatar
  • 1,427
4 votes
1 answer
734 views

What's the difference between terminal application of XeLaTex and XeTex?

On my Mac I wanted to create the PDF via terminal, and I found I cannot use xetex filename.tex, but xelatex filename.tex works just fine. I checked the file, xelatex is actually an alias pointed to ...
Stark Shaw's user avatar
4 votes
2 answers
485 views

Unescape commands argument in typeout

I have a macro which uses \typeout to print messages. I would like to unescape these. \newcommand{\mymessage}[1]{ \typeout{#1} } Then \mymessage{foo\#bar} should print foo#bar. Right now it prints ...
highsciguy's user avatar
1 vote
0 answers
323 views

Simple .tex file not compiling using terminal [closed]

I am using Mac and I am trying to compile a .tex file using the terminal (it should work the same way as in linux, as far as I know). However, I have been trying to include a picture to my code but ...
lucasrodesg's user avatar
7 votes
1 answer
804 views

Select/copy text form TexShop Console

I use TexShop and would like to be able to copy text from the console of TeXShop to post it for instance in this forum. I cannot do that. One cannot select text from the console. Is there a way to ...
Physics_maths's user avatar