Skip to main content

Questions tagged [latex]

LaTeX is a macro package implemented on Don Knuth's TeX programming language and is used primarily for creating high quality written documents. Note that http://tex.stackexchange.com is specifically dedicated to LaTeX questions (and TeX, and other related technologies).

Filter by
Sorted by
Tagged with
0 votes
0 answers
27 views

Setting up KOMA-Script for use in Emacs org-mode

I have Linux Mint and want to use KOMA-Script in Emacs org-mode. When running a simple sample template from here it generates a number of errors, particularly "Unknown LaTeX Class 'default-koma-...
Tiberius's user avatar
  • 101
0 votes
0 answers
32 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
0 votes
0 answers
48 views

fcitx5 bamboo doesn't work with Texmaker and Viber on Arch Linux

I'm running Arch Linux with Kernel x86_64 Linux 6.7.2, I installed Texmaker 5.1.4-2 which is a official package on Arch, and I also installed fcitx5, fcitx5-bamboo, and the whole bunch of fcitx5 ...
trequartista's user avatar
0 votes
0 answers
19 views

texlive update - Command to update directory owned by other user fails to chdir

I've installed Tex Live manually. To update, some documentation recommended assigning the install directory to a user (tex), then updating using the following command: alias update-tex='sudo -u tex -E ...
M3GAprincess's user avatar
0 votes
0 answers
119 views

debian bibtex.sty not found

I am running the linux distribution Debian GNU/Linux 12 (bookworm). After I delete all my texlive packages and install texlive-full to get every latex package I can think of and run pdflatex ~/tmp/tmp....
Progamer's user avatar
1 vote
1 answer
228 views

A command in $PATH but can't run and "ln" link not work on Debian 12

The computer system is Debian 12. As needed to update my LaTeX, I tried the command sudo tlmgr update --all, which returned sudo: tlmgr: command not found. But which tlmgr returned /usr/local/texlive/...
Y. zeng's user avatar
  • 145
0 votes
1 answer
43 views

Uploading compiled .tex file (.pdf) to the root repo in Gitlab

I need your help with the following problem. I'm trying to compile a .tex document in GitLab and put my compiled .pdf file in the root repo. I have created a .gitlab-ci.yml file which has the ...
Mafsi's user avatar
  • 141
2 votes
1 answer
107 views

On Linux Mint, how can I install the font Antiqua for XeLaTeX?

In Linux Mint, how can I install the font "Book Antiqua" to my system. Namely, I have the following LaTeX document: \documentclass[12pt]{article} \title{\textbf{Gummi 0.8.0}} \author{...
Jaakko Seppälä's user avatar
1 vote
1 answer
114 views

{\LaTeX} symbol in groff

Is there a way to print the {\LaTeX} original symbol in groff? I would like to use the typography every time the word LaTeX appears in a document made with groff.
ranemirusG's user avatar
0 votes
1 answer
208 views

Xournal++ does not change the color of LaTex equation

Xournal++ is a very sofisticated program for digital pen/table, but have a bug with colour of Latex equations. It is like in the imagem below. It doesn't matter you make, the color is the same. Look, ...
Denis da Mata's user avatar
0 votes
2 answers
155 views

Import named destinations in PDF file

I know we can export named PDF destinations (hypertargets of external links, like we can reference them in LaTeX with \href{myfile.pdf#page.42}{link text}) in Linux with the command line pdfinfo -...
Jaleks's user avatar
  • 2,591
0 votes
1 answer
33 views

Uninstall a latex version if two are installed

I have two version of latex installed, see here: josef@josef-ThinkPad-E14-Gen-3:~$ whereis latex latex: /usr/bin/latex /home/josef/bin/latex /usr/share/man/man1/latex.1.gz I want to uninstall the one ...
jeiglsperger's user avatar
0 votes
0 answers
107 views

Why does Texstudio installation require texlive packages when texlive is already installed from the mirror?

I have TexLive already installed in my system. I installed it using the install-tl.zip as detailed on their website. Now I'm trying to install TexStudio via the PPA as detailed HERE. However, when I'...
Shihab Khan's user avatar
3 votes
0 answers
282 views

Latex on Amazon Linux 2

I'm trying to get up and running with latex on Amazon Linux 2. I have done sudo yum install texlive-pdftex When I run pdftex I get: fmtutil: config file `fmtutil.cnf' not found. I can't find the ...
chuck1's user avatar
  • 151
-1 votes
2 answers
130 views

Is it possible to output LaTeX in a shell prompt?

There are several "lambda" prompts (i.e., shell prompts which use the $\lambda$ symbol). While these look nice in theory, many fonts do not use the lambda symbol that I like: $\lambdaup$. I'...
Joshua Crotts's user avatar
3 votes
2 answers
2k views

Flatpak: Install a Flatpak app without installing some of its dependencies

How do I install a Flatpak app without installing one of its dependencies which is not really required? For instance, if you wanted to install the TexStudio App (org.texstudio.TeXstudio), Flatpak ...
RogUE's user avatar
  • 207
0 votes
1 answer
59 views

Venturis ADF on Debian - should a system font be provided by texlive-fonts-extra?

I have some previous SVG files that I'm trying to edit with Inkscape that use Venturis ADF. This font is not installed as a "system font" on my current computer, but I understand it should ...
0__'s user avatar
  • 694
0 votes
1 answer
440 views

How to make latex write to stdout

I'm trying to create a shell script which converts latex-formulas to svgs. I want to use latex and dvisvgm. But I want to use as few tempfiles as possible. Is there a way to make latex write the dvi ...
laalsaas's user avatar
  • 155
2 votes
1 answer
1k views

Markdown to PDF Converstion with Pandoc: Make pages a specific size, in inches

So I know you can use pagesize and geometry to set the page size of the PDFs Pandoc makes to presets (like a5, b5, etc), but is there a way to set a precise pair of dimensions? I'm going to be using ...
Alexis Purslane's user avatar
1 vote
3 answers
476 views

How to find a string occuring between two other strings on other lines

How would I search for a certain string that is preceded by another string, in most cases several lines up, and followed by another string, i.e. contained in a certain environment? \begin{quote} %...
muk.li's user avatar
  • 213
0 votes
1 answer
109 views

PDF reader for latex sublime text on arch

i am using manjaro , i already downloaded sublime-text,and Tex-live . on windows i used to run sumatra as pdf reader and it as great . no i cannot find a repository for sumatra pdf for arch so any ...
Charbel Eid's user avatar
1 vote
1 answer
2k views

problem installing mathpix snip

I'm trying to install mathpix snip to convert an equation from a pdf to LaTeX code following the instructions on the website https://mathpix.com/docs/snip/linux-overview and when I try to run the ...
LipeConsole's user avatar
0 votes
0 answers
123 views

TeXStudio dependancy issues - Ubuntu

I was trying to install tex studio using sudo apt install texstudio But some dependencies are missing here. I understand that they are primarily the Qt libraries. I tried to install from qt website ...
Amalnath Sathyan's user avatar
0 votes
1 answer
38 views

How to substitute text from latex file preambles with sed?

I wrote the following sed code that I haven't found the way to make it work... sed -is 's/documentclass\{standalone\}/documentclass\[class\=memoir\]\{standalone\}/gp' *.tex Am I using escape ...
Thesevs's user avatar
  • 107
0 votes
4 answers
442 views

search for a line that contains unmatched delimiters

When running pdflatex and it crashes, my .aux file contains lines like \@writefile{toc}{\contentsline {section}{\numberline {B The only way I can think of to identify such lines is to count if the ...
Leo Simon's user avatar
  • 453
3 votes
2 answers
886 views

Package tikz Error: I did not find the tikz library 'crypto.symbols'

I'm trying to compile a LaTex script on Debian 10 and would like to include the package "crypto.symbols" via \usetikzlibrary{crypto.symbols} Unfortunately, I always end up with the ...
Hagbard's user avatar
  • 175
0 votes
1 answer
511 views

How prevent to auto-compilation loop with fswatch upon changes in Texmaker?

After inspecting this question and the unaccepted answer, I tried to test it. First I tested the recommended command with: fswatch -o report.tex | xargs -n1 -I{} pdflatex report.tex Which led to an ...
a.t.'s user avatar
  • 103
0 votes
0 answers
106 views

Texmaker open file interface garbled

I have a problem when using Texmaker. When I use Texmaker to open a file, its user interfaces garbled. My OS is archlinux. I have tried system update and software reinstallation. It doesn't help. I ...
flan's user avatar
  • 1
4 votes
1 answer
294 views

Why this 'useless use of cat' with `detex` is 10x faster than the alternative?

I'm counting words in LaTeX files and intuitively used the command: $ cat *tex | detex | wc -w I then immediately noticed he useless use of cat, and did the task again with: $ detex *tex | wc -w ...
ruohola's user avatar
  • 302
0 votes
1 answer
495 views

How to replace special characters in BibTeX (e.g. {\'{o}} = ó) within a shell script?

Does anyone know of any utilities or have experience converting special characters in a BibTeX file to its proper unicode equivalent in a bash script? Trouble is I can't even find a full list of the ...
Avana Vana's user avatar
2 votes
2 answers
663 views

TLPDB error during Vanilla Install of TeXLive 2020

I'm trying to install TeXLive 2020 onto iSh (which uses Alpine Linux) and have extracted all files in the install-tl-unx.tar.gz tarball from the TUG webpage. However, when I execute ./install-tl from ...
Paul Kim's user avatar
  • 122
1 vote
0 answers
69 views

How to install LaTeX the right way from the start

As a quick background to the question, years ago I installed LaTeX on a Linux Mint computer just using the package manager. Worked for a long time. Then I needed to install a package that tlmgr ...
Addem's user avatar
  • 235
2 votes
1 answer
1k views

How do I compile vim with +clientserver on arch linux?

I am trying to use vim to edit TeX files with vimtex. I would like to be able to do backwards search from compiled PDFs. The vimtex documentation says the following: |+clientserver| is necessary for ...
Max Christman's user avatar
0 votes
1 answer
267 views

Is it possible to install a specific .sty (for texstudio) using apt?

For some purpose I need to have `fontawesome.sty'. This .sty is a part of texlive-fonts-extra package which can be installed using apt. But I don't want to install whole texlive-fonts-extra package. ...
physu's user avatar
  • 201
0 votes
1 answer
2k views

Configure: error: C compiler cannot create executables - while installing dvipng

I'm stuck on installing the dvipng package. As I encounter the problem of not finding libkpathsea even after I have installed it, I tried to followed in the instruction (http://www.nongnu.org/dvipng/...
Lucas's user avatar
  • 101
1 vote
1 answer
157 views

Vim re-indent file, hardcode some indents

I'm having some difficulty with the vim reindent files (with gg=G). When I have a larger file (not that large, maybe less than 400 lines of code) I think Vim is having trouble to indent some lines ...
atticus's user avatar
  • 119
0 votes
2 answers
237 views

Replace even and odd recurrences of string with different strings

I'm aware sed is a way to do this, but I can't get it to work. I have a Latex file which contains mathematical expressions highlighted with $. I would like to convert this into MathJax code. This ...
220284's user avatar
  • 141
1 vote
1 answer
1k views

Cannot install miktex on Ubuntu 18

Ultimately the final goal is to convert HTML to PDF. I saw this solution: https://github.com/SebastiaanKlippert/go-wkhtmltopdf but the above solution seems to require headless chrome in order to run....
Alexander Mills's user avatar
0 votes
0 answers
99 views

How to configure inverse and forward search in Kile (LaTeX editor)

That is it. There is not much to that question. Inverse and forward search is basically to be able to do some kind of Ctrl+Click in a line of the *.tex file, and automatically be sent to the PDF ...
ivanovitx's user avatar
1 vote
1 answer
1k views

Cannot open MiKTeX, error “File is empty”. Cannot uninstall

I am using KDE neon. After I installed MiKTeX, I updated everything from it, downloaded the "standard package" and then tried to install TeXStudio... a message appeared "installation ...
ivanovitx's user avatar
1 vote
1 answer
3k views

Bash: How to set the current working directory to the current directory in a loop?

My script loops through all subsubdirectories and calls pdflatex command on all .tex files: #!/usr/bin/env bash shopt -s globstar for d in ./*/**/*.tex; do echo pdflatex "$d" done My question ...
Sr. Schneider's user avatar
0 votes
1 answer
765 views

Bash: Loop through all subsubdirectories and execute command on certain files

My folder structure looks like this Main ├── Sub1 | ├── Subsub1 | | | ├── file1.tex | | | ├── file2.tex | ├── Subsub2 | | | ├── file1.tex | | | ├── file2.tex ├── Sub2 | ├...
Sr. Schneider's user avatar
4 votes
1 answer
133 views

Transform bibliographic references for use with Latex

I was given a long word document which I have to port to Latex. In the document all citations appear in the classic form with author and year. Something like Lorem ipsum dolor (Sit, 1998) amet, ...
Manfredo's user avatar
3 votes
1 answer
2k views

Updating TLMGR on Linux Mint (Debian)

I want to install a Latex package, so I run: (env) mvh:~$ tlmgr install verbatim (running on Debian, switching to user mode!) tlmgr: Remote repository is newer than local (2017 < 2019) Cross ...
Max von Hippel's user avatar
0 votes
1 answer
811 views

Fonts installed by the `texlive-fonts-extra` package on Debian are not recognized

I've installed all of TeX Live via texlive-full from the latest Debian Sid distribution. I'm using LyX as my editor, and selected XeTeX for typesetting Unicode characters with non-TeX fonts. The ...
David von Tamar's user avatar
1 vote
4 answers
75 views

Generate tex file containing all filenames in a directory

I have a folder containing 95 tex files. I need to create a tex file all.tex that contains the following code: \documentclass[10pt]{article} \begin{document} \input{file1.tex} \input{file2.tex} ... \...
Mishal Ahmed's user avatar
0 votes
0 answers
39 views

Evince garbles pdflatex output on some zoom levels

I use pdflatex to generate PDFs but one of them produces garbled text in evince on certain zoom levels, while at others it looks perfectly normal. Is this a problem with the .tex file or with Evince ...
Konrad Höffner's user avatar
2 votes
0 answers
103 views

How can I install texlive-humanities to Ubuntu 19.04

I tried to install texlive-humanitiesto Ubuntu 19.04 but it looks like there is problems with broken packages. How can I solve this issue? (base) jaakko@jaakko-GL553VW:~/Desktop$ sudo apt install ...
guest's user avatar
  • 33
1 vote
1 answer
171 views

How to install LaTeX package linguex to Ubuntu?

I would like to write a latex document that contains numbered sentences. I was suggested to use package linguex at https://tex.stackexchange.com/a/504304. How can I install it to Ubuntu?
guest's user avatar
  • 33
0 votes
2 answers
62 views

Website Template Like (As) Math StackExchange for Linux?

I recently had this question deleted in Math StackExchange. I was mainly using it as a "note to self" in LaTeX, but answers would have been nice. Is there a webpage I can install on my Ubuntu Linux ...
Jeffrey Rolland's user avatar