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).

0
votes
2answers
41 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 ...
0
votes
0answers
7 views

How do I automatically reload mupdf-gl with latexmk?

I have the following options in my $HOME/.latexmkrc: $pdf_mode = 1; $dvi_previewer = 'start xdvi -watchfile 1.5'; $ps_previewer = 'start gv --watch'; $pdf_previewer = 'start mupdf-gl'; $...
0
votes
0answers
87 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
0answers
12 views

Linux and TeX's Biber

I have a Linux related issue I run into when I try to create a .tex (and .pdf) file by a php script, see here. It seems tha the utility Biber (to create bibliography) is designed to unpack its ...
0
votes
0answers
26 views

Qpdfview — Open link in a beamer presentation

,g$$$$$$$$$$$$$$$P. OS: Debian 9.8 stretch ,g$$P"" """Y$$.". Kernel: x86_64 Linux 4.19.0-0.bpo.2-amd64 ,$$P' `$$$. Uptime: 3h 11m ',$$P ,ggs. `$$...
0
votes
1answer
99 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 ...
0
votes
0answers
57 views

Installing libertine.sty on Xubuntu

I need to install libertine.sty to Xubuntu 18.04. I downloaded the Freeman curriculum vitae from https://www.latextemplates.com/cat/curricula-vitae . Then I modified the tex-code for my own cv. But ...
1
vote
1answer
42 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
75 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
40 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
83 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 ...
0
votes
0answers
47 views

Have Miktex and Texlive side-by-side on Ubuntu

I'm trying to have both MikTex and TexLive working on my Ubuntu Linux. Both the tex distros have been installed through apt-get. I know this is related to settings on the PATH variable. So what I did ...
1
vote
0answers
21 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
55 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
43 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
38 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
540 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
65 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
431 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
172 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{\...
2
votes
1answer
156 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
53 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 ...
3
votes
1answer
3k 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!
1
vote
0answers
2k 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
47 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
130 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
46 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 ...
1
vote
1answer
415 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
480 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 ...
8
votes
1answer
2k views

How to compile a Latex document on NixOS?

I normally use pdflatex to compile latex documents, but on NixOS I do not see that pdflatex is available to install via $ nix-env -i pdflatex. $ nix-env -qa pdflatex error: selector ‘pdflatex’ ...
3
votes
4answers
785 views

Extracting pattern from multiple lines

I have a file test.tex with content that is similar to this: \documentclass{scrartcl} \usepackage{graphicx} \title{Test} \author{Author 1, Author 2, Author 3} \begin{document} \end{document} I want ...
1
vote
2answers
353 views

Here-document without interpreting escape sequences, but with interpolation

Is there any way to cat a file without interpreting the double backslash as an escape sequence? In this example a tex file is created: cat <<EOF > file.tex \\documentclass[varwidth=true,...
2
votes
1answer
124 views

How to grep a pdf for math?

Is there any way to grep a pdf document (originally written in LaTeX) for the math "2^n" as in 2 to the power of n? I have pdfgrep but I don't know how you would use that to grep for math.
0
votes
1answer
158 views

(pdflatex) not resolved

What is configured wrong or how do I find out? I expect my pdflatex command to function. $ pdflatex file.tex bash: /usr/local/texlive/2016/bin/x86_64-linux/pdflatex: file not found It does not. ...
1
vote
1answer
107 views

Remove a specific latex command from the text AND closing bracket behind it

How to remove a specific latex command from the text AND closing bracket behind it, but to keep the text inside the brackets? The command in the following example to remove is \edit{<some staff>}...
1
vote
1answer
174 views

ArchLinux: Still having the wrong editor in some cases

After the installation of my ArchLinux OS, the default text editor was set to vi. I wanted to change it to vim and edited all possible configurations, such as .bashrc, .zshrc, .zshenv and /etc/...
2
votes
0answers
59 views

Extract formulae from PDF

I'm studying machine learning and the literature is formulae-rich. I want to be able to extract the formulae (which seem to be created by TeX) to either: .PNG images LaTeX I've tried: pdfimages -- ...
2
votes
1answer
1k views

How to save R stargazer(data.frame) output in .tex document?

This thread is the continua of the thread How to save R xtable(data.frame) output in .tex document? but with the package stargazer where the approach proposed for xtable does not work. Code DF <-...
1
vote
1answer
683 views

How to save R xtable(data.frame) output in .tex document?

I want to present R data.frame output as LaTeX table. Data structure is data.frame. Doing print(DF.tex), the output looks fine in STOUT, in contrast to the the file. Expected output: UTF-8 format ...
2
votes
0answers
76 views

Problem with visualisation of latex commands after installing fonts

I don't know whether this is the right place to ask this question or not but anyway. After installing fonts on Ubuntu 14.04 by sudo apt-get install ttf-mscorefonts-installer and after that sudo fc-...
2
votes
1answer
563 views

Latex expressions shown in a terminal

Is there any way to show a graphic Latex expression in a (textual) terminal? Particularly, can an LXTerminal show the rendering of a Latex equation? Alternatively, is there any terminal emulator that ...
1
vote
1answer
727 views

How to keep TeXLive up to date on gentoo?

The packages dev-texlive/texlive* are often outdated. As far I read it is not trivial to keep the TeXLive distribution package up to date or convert the tlmgr system to gentoo ebuilds. As a solution ...
1
vote
0answers
59 views

generating git commit info with rubber (for LaTeX, Debian)

I'm using the rubber program (in Python, from Lauchpad) to process a LaTeX document (thru pdflatex called by rubber -d) on Debian/Sid/Linux (the document is some H2020 European R&D proposal). I ...
1
vote
1answer
283 views

Read text lines between two strings [duplicate]

I am writing a small text book of Problems, Electronics engineering stream, in LaTeX. It has a long list of small part files for each chapter. In this each problem is separated by LaTeX environment ...
0
votes
2answers
381 views

OCR software for equations to get LaTeX file

First of all, I apologize if this is not the right place to ask this, but I couldn't think of anywhere else (maybe Stack Overflow?). Anyway, I'm looking for a Optical Character Recognition software (...
0
votes
2answers
720 views

Why failing to tlmgr update TeXLive in Debian 8.5?

I run unsuccessfully the following and get strange output 404 first and then unknown hash from wget: root@masi:/home/masi/Documents/# tlmgr update --self output (running on Debian, switching to ...
4
votes
1answer
2k views

Installing extra texlive packages in centos

I'm new to CentOS (always used ubuntu and similar) and I am trying to compile some latex code here for the first time. So there's a big list of .sty that are needed. I was able to install some by ...
1
vote
0answers
90 views

Typing Unicode characters into Texmaker editor on Linux Fedora

I have Texmaker and TexLive running on Linux Fedora and I would like to be able to directly insert in its editor Unicode characters (e.g. ՝ ) not present on my keyboard. In Linux this can be made with ...
1
vote
0answers
33 views

Pidgin-Latex has an “Error while reading the generated image!”

I had no errors installing pidgin-latex via apt-get and pidgin runs fine before and after. The plugin is activated. The only problem I have is that (almost) every time a Latex message should be shown, ...
1
vote
0answers
63 views

Backing up with Google drive

I've recently switched from Windows to Linux, and have tried keeping certain things similar. Mainly, I work in LaTeX a lot, and have stored all of my work in Google Drive. With how Google Drive on ...