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
2 votes
0 answers
12 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 ...
user avatar
  • 141
-1 votes
2 answers
41 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'...
user avatar
0 votes
0 answers
24 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 ...
user avatar
1 vote
1 answer
144 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 ...
user avatar
  • 167
0 votes
1 answer
11 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 ...
user avatar
  • 574
0 votes
1 answer
55 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 ...
user avatar
0 votes
1 answer
68 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 ...
user avatar
0 votes
0 answers
19 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 ...
user avatar
  • 155
0 votes
3 answers
54 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} %...
user avatar
  • 203
0 votes
1 answer
57 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 ...
user avatar
0 votes
0 answers
21 views

looking for tikz library {intersections}

I'm trying to use the intersections library in opensuse tumbleweed, but the compilation says it does not found. Where is the library or how can install it? I have used zypper and yast but it seems to ...
user avatar
  • 498
1 vote
1 answer
829 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 ...
user avatar
0 votes
0 answers
27 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 ...
user avatar
0 votes
1 answer
27 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 ...
user avatar
0 votes
4 answers
207 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 ...
user avatar
  • 423
2 votes
2 answers
223 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 ...
user avatar
  • 165
0 votes
1 answer
117 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 ...
user avatar
  • 103
0 votes
0 answers
45 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 ...
user avatar
  • 1
4 votes
2 answers
171 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 ...
user avatar
  • 173
0 votes
1 answer
204 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 ...
user avatar
2 votes
2 answers
297 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 ...
user avatar
  • 122
1 vote
0 answers
36 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 ...
user avatar
  • 195
2 votes
1 answer
784 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 ...
user avatar
0 votes
1 answer
108 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. ...
user avatar
  • 199
0 votes
1 answer
864 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/...
user avatar
  • 101
1 vote
1 answer
80 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 ...
user avatar
  • 79
0 votes
2 answers
51 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 ...
user avatar
  • 131
1 vote
1 answer
903 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....
user avatar
0 votes
0 answers
49 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 ...
user avatar
1 vote
1 answer
987 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 ...
user avatar
0 votes
1 answer
918 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 ...
user avatar
0 votes
1 answer
58 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 | ├...
user avatar
4 votes
1 answer
124 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, ...
user avatar
1 vote
1 answer
984 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 ...
user avatar
0 votes
1 answer
310 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 ...
user avatar
1 vote
4 answers
57 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} ... \...
user avatar
0 votes
0 answers
35 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 ...
user avatar
2 votes
0 answers
87 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 ...
user avatar
  • 33
1 vote
1 answer
124 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?
user avatar
  • 33
0 votes
2 answers
56 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 ...
user avatar
0 votes
1 answer
308 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, ...
user avatar
0 votes
2 answers
75 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 ...
user avatar
2 votes
1 answer
2k 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). ...
user avatar
  • 123
1 vote
1 answer
176 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 ...
user avatar
  • 167
1 vote
1 answer
125 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:...
user avatar
0 votes
1 answer
108 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 ...
user avatar
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
1 vote
1 answer
108 views

How should I install TexLive 2017 on my Devuan Ascii / Debian Stretch?

Debian Stretch / Devuan Ascii comes with TexLive 2016.20170123-5 , and I want to install TeXLive 2017. What's the best way to do that without messing up my system with conflicts between the distro ...
user avatar
  • 7,249
1 vote
0 answers
23 views

Cropped plot labels in knitted PDF in Linux

Has anyone experienced having their plot labels cropped in knitted PDF's in Linux? This does not happen in my Windows machine. Here is a minimal r-markdown example to replicate this problem. --- ...
user avatar
  • 111
1 vote
1 answer
128 views

Run portable LaTeX on Gentoo

I'm trying to get a portable LaTeX installation running on a Gentoo Server. The LaTeX files are already installed. When I try to run ./pdflatex in the path/to/texlive/bin/x86_64-linux/ I get the ...
user avatar
  • 111