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
1answer
51 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 ...
0
votes
0answers
16 views

Emacs Miner mode for subscript and subscript functionality from texinfo-mode

I am working on a minor mode that will use the superscipt and subscript functionality for texinfo-mode. Have been trying to see if the following works, which calls tex-font-lock-match-suscript. (...
1
vote
0answers
28 views

What is wrong with this gzip file [closed]

I downloaded a data dump of papers from arxiv.org The papers are gzipped archives, which can be opened up to see the internal latex, and other files/images used to form teh paper pdf. One archive in ...
0
votes
0answers
26 views

some keyboard shortcuts in KDE are not working anymore

I have MX Linux and everything worked fine until I installed the wine or texlive or texmaker . Now, In the settings, everything looks right, but Left control does not work. And after logging in the ...
2
votes
1answer
44 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 ...
0
votes
0answers
34 views

User permission problem for biblatex and jabref

I installed Linux Mint 20 (Kernel version: Linux 5.4.0-52-generic) and texlive with sudo apt install texlive-full The version is: pdfTeX 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian) I opened an ...
0
votes
0answers
9 views

Problems installing/building kpathsea

I'm trying to get dvipng up and running on my Mac (so that my TeX Live installation works, so that Python will call the latex package properly and show graphs). I installed TeX Live directly from CTAN,...
1
vote
0answers
30 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 ...
0
votes
0answers
28 views

How to capture one image (screenshot) from asciinema?

How can I extract one asciinema image from a video, i.e. make a "screenshot"? As an output file I want a file with all ansi codes etc. My aim then is to convert it to HTML to then convert ...
0
votes
0answers
23 views

Errors while compiling Lubuntu LTS manual to PDF

I am trying to compile Lubuntu Manual to PDF, but I get critical errors even if I compile it as HTML/dummy. I installed the dependancies reported in the repository: sudo apt install python3-pip ...
1
vote
0answers
13 views

Avoid font duplication when using TeXLive

Speaking of Debian, that's what I use, there are quite a number of fonts files that are installed by texlive-fonts-extra, e.g., the number of Open Type font files is $ dpkg -L texlive-fonts-extra | ...
1
vote
1answer
301 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
1answer
31 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. ...
0
votes
1answer
375 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/...
1
vote
1answer
42 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 ...
0
votes
0answers
137 views

How to update TeX Live

On Linux Mint, I've spent all day chasing error messages and trying to get TeX Live to update so I can install a package. I downloaded and did a full install of TeX Live 2020. I thought I updated ...
0
votes
2answers
36 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 ...
1
vote
1answer
468 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
0answers
26 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
1answer
894 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
1answer
109 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 ...
1
vote
1answer
37 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
1answer
117 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, ...
1
vote
1answer
498 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 ...
1
vote
1answer
153 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
4answers
32 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
0answers
32 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 ...
0
votes
0answers
231 views

How to install the latest TeXstudio version on linux mint cinnamon 19.1

I am new in linux and I am trying to install the TeXstudio editor. I have tried this approach but with no success. I run on mint cinnamon. I would really appreciate any help.
2
votes
0answers
74 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 ...
1
vote
1answer
77 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?
0
votes
2answers
54 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
1answer
106 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
2answers
61 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 ...
2
votes
1answer
1k 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). ...
0
votes
1answer
144 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 ...
1
vote
1answer
107 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
1answer
98 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
3answers
42 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: ...
1
vote
1answer
98 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 ...
1
vote
0answers
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. --- ...
1
vote
1answer
98 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 ...
1
vote
1answer
48 views

extracting strings from LaTeX files

I am searching for the whole evening, but couldn't find a solution. (I also read Remove a specific latex command from the text AND closing bracket behind it) I have a lot of LaTeX files from which I ...
1
vote
1answer
52 views

How to find and replace specific part of specific lines with sed?

I have a LaTeX file foo.tex that contains these lines: \includegraphics[width=0.49\textwidth]{img1} \includegraphics{img2} \subfloat{\includegraphics[width=0.3\textwidth]{img3}} \subfloat{\...
3
votes
1answer
1k views

Installing CMU fonts on NixOS

I have figured out that I need CMU fonts to be able to typeset Russian text with XeLaTeX. Under NixOS there is cm-unicode package for it, I have installed it with nix-env -iA nixos.cm_unicode but ...
0
votes
1answer
103 views

TeXLive light version installed from a deb file

In this answer, it is explained how a light version of TeXLive can be installed with the --no-install-recommends option, like this: sudo apt-get install --no-install-recommends texlive-latex-extra ...
0
votes
1answer
588 views

How to install a Latex distribution on Ubuntu 17.04?

How to install a Latex distribution on Ubuntu 17.04? I tried: sudo apt install --fix-missing texlive-base Reading package lists... Done Building dependency tree Reading state information... ...
2
votes
2answers
204 views

Replacing different string with different new string that follows a pattern

I have \title{A64L(3)} somethings \textbf{a64l}() \title{MALLOC(3)} somethings \textbf{malloc}() I want \title{\hypertarget{a64l}{A64L(3)}} somethings \textbf{\hyperlink{a64l}{a64l}}() \title{\...
3
votes
1answer
333 views

Any Text File Merge Tools?

When I do version control on text (or latex) files I often run into the problem that the merge/diff tools are all line based while text files are not. This leads to insufficient granularity: every ...
1
vote
0answers
64 views

Use sed to fix weird symbols on tex file generated by publish function from miscellaneous Octave package

I have an Octave code that among other things outputs: (x - 5)⋅(x - 4)⋅(x - 3)⋅(x - 2) ─────────────────────────────── 24 When using publish function from Octave miscellaneous ...
5
votes
1answer
8k views

Export from Libreoffice Calc to a table LaTeX [closed]

I would like to know if there is a way to transform a sheet of LibreOffice Calc to a table LaTeX. Thank you in advance!