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
1 answer
8 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, ...
0 votes
2 answers
20 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 -...
  • 2,417
0 votes
1 answer
21 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 ...
  • 11
0 votes
0 answers
18 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'...
2 votes
0 answers
48 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 ...
  • 141
-1 votes
2 answers
45 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'...
0 votes
0 answers
26 views

Something (probably VS Code) is creating numerous weird named files

Every time I open vscode, numerous weird named files are created in my project folder. Result of ls -l (personal files which were supposed to exists are replaced with pf) total 164 -rw-rw-rw- 1 jarif ...
1 vote
2 answers
342 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 ...
  • 177
0 votes
1 answer
17 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 ...
  • 614
0 votes
1 answer
110 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 ...
  • 103
0 votes
1 answer
264 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 ...
0 votes
0 answers
48 views

Grip alternative with math rendering

I enjoy note-taking in Vim with Markdown, which I then convert to PDF. I don't do anything overly complex - just some basic headers, some code snippets, and some math formulae. I discovered grip that ...
  • 177
0 votes
3 answers
84 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} %...
  • 203
0 votes
1 answer
65 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 ...
1 vote
1 answer
1k 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 ...
0 votes
0 answers
42 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 ...
0 votes
1 answer
32 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 ...
  • 77
0 votes
4 answers
245 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 ...
  • 423
2 votes
2 answers
298 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 ...
  • 165
0 votes
1 answer
171 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 ...
  • 103
0 votes
0 answers
61 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 ...
  • 1
4 votes
1 answer
208 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 ...
  • 213
0 votes
1 answer
245 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 ...
2 votes
2 answers
337 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 ...
  • 122
1 vote
0 answers
37 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 ...
  • 215
2 votes
1 answer
938 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 ...
0 votes
1 answer
121 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. ...
  • 199
0 votes
1 answer
992 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/...
  • 101
1 vote
1 answer
105 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 ...
  • 79
0 votes
2 answers
76 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 ...
  • 131
1 vote
1 answer
965 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....
0 votes
0 answers
56 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 ...
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 failed". But ...
0 votes
1 answer
1k 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 ...
0 votes
1 answer
97 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 | ├...
4 votes
1 answer
126 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, ...
2 votes
1 answer
1k 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 ...
0 votes
1 answer
368 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 ...
1 vote
4 answers
64 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} ... \...
0 votes
0 answers
37 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 ...
2 votes
0 answers
90 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 ...
  • 33
1 vote
1 answer
132 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?
  • 33
0 votes
2 answers
59 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 ...
0 votes
1 answer
333 views

Makefile run bibtex command only when tex file has bibliography

I want to have a folder full of any number of .tex files where I will have a single Makefile, which will generate a .pdf file for each .tex file when make is run. The constraint I have is that some, ...
0 votes
2 answers
79 views

How do i remove a specific pattern from a specific lines using bash

I want to remove a pattern \textcolor{red}{ and replace }} by } from list of specific lines using bash Let say i have a file cat A.txt \ParallelLText{\jverse{5}\textcolor{red}{“Ahut isi inut chili ...
3 votes
1 answer
3k views

How to install TeXLive on Alpine Linux?

Is it possible to install texlive with tlmgr utility (from tug.org)? same question for installing texmaker (or texstudio) latex editors from sources (rather than AppImage, flatpack or snap packages). ...
  • 133
1 vote
1 answer
185 views

Installing LaTeX into Google's Debian8 docker image

I'm trying to figure out how to install LaTeX (specifically, this texlive package) into Google's Debian8 Docker image, which is called gcr.io/google-appengine/debian8. I wish I could provide a link to ...
  • 167
1 vote
1 answer
130 views

An error when I write apt update in the terminal

This question is about an error of a sign of MikTeX in my computer with Debian. This error is E: El repositorio «http://miktex.org/download/debian stretch InRelease» no está firmado. This means that:...
0 votes
1 answer
109 views

TexLive 2018, after installation Debian "updates" some files and breaks it

After I install the newest version of TexLive through the official installer (this one), if I run a sudo apt-get update && sudo apt-get dist-upgrade apt-get finds a series of packages to ...
0 votes
3 answers
45 views

Change the order of entries

I have a file full of the following entries similar to the following: `\index{a!b!c} \index{small!medium!large} \index{mouse!dog!elephant}` I need a script so that all of these are changed so that: ...
user avatar