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
1 vote
1 answer
48 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 (...
user avatar
1 vote
1 answer
29 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 avatar
0 votes
0 answers
55 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, ...
user avatar
  • 1
3 votes
1 answer
258 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 ...
user avatar
  • 311
2 votes
1 answer
77 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 ...
user avatar
  • 23.5k
14 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 ...
user avatar
  • 23.5k
0 votes
0 answers
106 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 ...
user avatar
6 votes
1 answer
130 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 ...
user avatar
2 votes
0 answers
74 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" ...
user avatar
  • 8,789
11 votes
1 answer
1k 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' ...
user avatar
  • 359
0 votes
0 answers
209 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 ...
user avatar
  • 179
1 vote
1 answer
51 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 ...
user avatar
  • 533
0 votes
1 answer
61 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 ...
user avatar
  • 533
2 votes
0 answers
108 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 ...
user avatar
4 votes
1 answer
986 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 ...
user avatar
  • 1,979
1 vote
0 answers
993 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 ...
user avatar
  • 181
2 votes
0 answers
587 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 ...
user avatar
  • 33
6 votes
1 answer
115 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?
user avatar
0 votes
0 answers
179 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 ...
user avatar
5 votes
1 answer
58 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 \...
user avatar
  • 12.9k
5 votes
1 answer
147 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 \...
user avatar
  • 3,636
0 votes
0 answers
72 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 (...
user avatar
  • 1,102
1 vote
2 answers
288 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 ...
user avatar
  • 2,335
1 vote
1 answer
324 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.
user avatar
  • 235
1 vote
1 answer
110 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:...
user avatar
  • 113
1 vote
1 answer
3k 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 ...
user avatar
1 vote
0 answers
16 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 ...
user avatar
2 votes
2 answers
160 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....
user avatar
2 votes
1 answer
591 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 ...
user avatar
  • 818
3 votes
1 answer
830 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 ...
user avatar
  • 351
2 votes
2 answers
179 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 ...
user avatar
4 votes
5 answers
3k 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} \...
user avatar
4 votes
1 answer
86 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 ...
user avatar
  • 295
3 votes
1 answer
118 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 ...
user avatar
0 votes
1 answer
59 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 ...
user avatar
  • 1
1 vote
0 answers
328 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 ...
user avatar
  • 111
3 votes
0 answers
2k 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 ...
user avatar
16 votes
3 answers
7k 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 ...
user avatar
  • 409
2 votes
2 answers
1k 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 \...
user avatar
1 vote
2 answers
6k 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.
user avatar
  • 13
5 votes
1 answer
6k 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, ...
user avatar
  • 1,307
4 votes
1 answer
663 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 ...
user avatar
4 votes
2 answers
412 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 ...
user avatar
1 vote
0 answers
258 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 ...
user avatar
5 votes
1 answer
678 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 ...
user avatar
2 votes
2 answers
7k views

Latex by using command lines in a terminal

Sorry for my silly question but I've always used latex from an editor and also with the most basic commands to write my math homework. Now that I need a few more resources to apply in my documents I ...
user avatar
1 vote
0 answers
458 views

Run pdflatex from external application

I use a Mac. When I open up the Terminal and run commands like pdflatex Preface.tex, all is well. I'd like, however, to trigger this command from within MatLab. When I do so, it doesn't recognise "...
user avatar
0 votes
0 answers
393 views

How to disable showing log on terminal in latex [duplicate]

How do I disable showing all information to the terminal? Is possible to only show errors not log,warnings etc.?
user avatar
  • 195
4 votes
1 answer
18k views

Running .ins file with terminal and user command

I'm using a portable version of MiKTeX 2.9 on an external hard drive on a pc without admin rights. I try running an .ins file with TeXmaker terminal using 'latex NameOfPackage.ins', but it says can't ...
user avatar
  • 53
0 votes
1 answer
962 views

How to edit errors instantaneously in TEX

I would like to know how to edit the errors indicated by the TEX compiler instataneously using the i option as said in wikibooks.I know that there would be no error if you edit the file and replace ^i ...
user avatar
  • 145