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
0answers
6 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
28 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
7 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
22 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
134 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
23 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
145 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
34 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
83 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
33 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
229 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
20 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
829 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
64 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, ...
0
votes
1answer
394 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
100 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
28 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
169 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
65 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
65 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
53 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
68 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
59 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
898 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
136 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
103 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
97 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
41 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
95 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
93 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
951 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
97 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
577 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
194 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
282 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
63 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
7k 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!
2
votes
0answers
3k views

Is there any way to install a latex editor (for example Texmaker) to a chromebook?

I would like to work with LaTeX in my chromebook, but I'd like to use a normal program instead of an online editor.
1
vote
1answer
54 views

Creating pre-formatted Tex file from terminal

I am constantly writing up my homework in Latex and they always have the same framework. Is there anyway I can create a script in Linux that creates a file with the framework then opens it in ...
0
votes
1answer
178 views

Differences in launching a program through terminal and through an application launcher

I am trying to run GVim with Vim LaTex-Suite to be able to compile LaTeX documents. I have two ways of running GVim: Open Terminal, then type gvim and enter Use an application launcher e.g. xfce4-...
-3
votes
1answer
50 views

How to get Texlive actualized on Debian?

Tex-stuff changes frequently and some of its packages aren't actualized on Synaptic. Is there general way to get updated packages which are outdated on Synaptic? At least can you provide me the way ...
2
votes
1answer
759 views

How to install Acrotex in Debian for TeXLive?

I need LaTeX Eforms, which is part of the package Acrotex which zip-file here, for my TeXLive 2017. It is not part of Debian TeXLive because the package is not free enough for Debian, stated by ...
2
votes
0answers
730 views

convert CDA XML to PDF without *TeX?

Apologies for the hyper-specificity of my requirements, but they are what they are ... summary The box I'm using runs Debian. I want to render a Clinical Document Architecture (CDA) document to PDF ...