Questions tagged [latex]

LaTeX is a document markup language document preparation system for the TeX typesetting program. Note that http://tex.stackexchange.com is specifically dedicated to LaTeX (and TeX) questions.

Filter by
Sorted by
Tagged with
16 votes
7 answers
10k views

Pregenerating ConTeXt MarkIV format. This may take some time... takes forever

Hey there I tried to install latex using the follwing commands in ubuntu 16.04: sudo apt-get install texlive-full texstudio Then I finally came to the point with the following output: Setting up ...
-1 votes
1 answer
164 views

MiKTeX Console has closed unexpectedly in Ubuntu 22.04 and switching to TeXLive

I have been using MiKTeX in my Ubuntu machine for a long time without any problem. But today, I faced a problem after compiling my document with a new package. This is what appeared: Relaunching ...
0 votes
0 answers
612 views

Every time the same error when installing [duplicate]

Whenever I install something (must happened when I re-installed Lyx somehow..) I receive following output, e.g. for qpdfview: user@system:~$ sudo apt-get install qpdfview [sudo] password for user: ...
0 votes
2 answers
161 views

Minimal latex installation for headless server

I have a (headless) server running Ubuntu 22.04.3 LTS. I would like to install latex, mainly to embed latex fonts in plots with Python/matplotlib. Is there a minimimal latex installation option which ...
2 votes
2 answers
1k views

Inserting latex text in an image using gimp

I want to insert a latex text in an image I created with GIMP. Is it possible using GIMP? If not, is there any other way to do this? Can I use geogebra or something similar?
6 votes
1 answer
23k views

How to open Sketch in Ubuntu 14.04 [closed]

I recently installed sketch (UI Design Software) on my Ubuntu 14.04 machine. It's showing 'installed' but I am unable to open it. When I search sketch in search box nothing comes.
9 votes
3 answers
14k views

Converting EPUB to PDF using Pandoc

I want to convert my test.epub to PDF format using Pandoc. I tried (given here) pandoc -f epub -t test.epub -o outfile.pdf which throws the following error: cannot produce pdf output from pdf I ...
62 votes
5 answers
168k views

How can I convert a .tex file to a PDF via the command line?

Is there a package that contains a TeX to PDF converter/renderer available on Ubuntu 12.04? If not, can you recommend a tool for me to download from elsewhere that can do this that is simple to ...
1 vote
2 answers
691 views

Using Texlive installed in Windows for Ubuntu

I have both Win7 and Ubuntu 12.04. I use Texlive 2012 with Texmaker in Win7. Is it possible to use it (Texlive) in Ubuntu so I won't have to download 2Gb again! I hope it was clear. (I'm newbie in ...
55 votes
3 answers
75k views

How to properly install and use texlive with package manager

I would like to know how to properly install, and use texlive along with the package manager tlmgr in Ubuntu. Here is what I did to install texlive: sudo apt-get install texlive-latex-base texlive-...
0 votes
1 answer
159 views

Problem with elsarticle: Missing } inserted. \end{frontmatter}

I am working with elsarticle to write a paper and I have the following problem. The .tex file doesn't compile because of the following problem (along with several others that I assume are because of ...
3 votes
2 answers
2k views

Unable to use latex in inkscape

I am trying to use latex in inkscape but it is not working. I installed all the required packages (e.g inkscape-version 1.0.2, texlive-base, pdflatex, pdf2svg, python-lxml , python-gi). The operating ...
1 vote
1 answer
373 views

Latex Workshop error: Cannot find LaTeX root file

I recently changed from Windows to Ubuntu because I'm learning to code. I used to write my class assignments in LaTeX using vscode and Latex Workshop. However, I've tried to set it up in Ubuntu and I'...
2 votes
1 answer
167 views

What is the best way of linking images and their credits?

I am wondering if anyone has a good solution for storing images and their credits, so that it's easy to attribute the correct credit to the correct image in, for instance, LaTeX or similar software. ...
3 votes
1 answer
10k views

Install latest version of tex

I am trying to install texlive-full from the terminal. I issued two commands. sudo apt-get install texlive-full sudo apt-get update I also tried - sudo apt-get upgrade texlive-full Despite of all ...
1 vote
1 answer
240 views

texlive+pdflatex fontawesome.sty not found

I installed texlive with: sudo apt-get install texlive and I use pdflatex that I think is shipped by texlive: This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022/Debian) (preloaded format=...
0 votes
1 answer
203 views

use texlive simply on ubuntu 20.04

I installed Latex on Ubuntu 20.04 using $sudo apt install texlive now I am trying to install a package using $tlmgr install fullpage or $tlmgr --verify-repo=none install fullpage (running on Debian, ...
4 votes
1 answer
5k views

How to install and connect MathJax to Jupyter notebook 5.2.1?

I have Jupyter notebook from the Anaconda distribution. I recently updated Jupyter with the command conda update notebook. I am interested to know how to use the LaTex format with Jupyter. Apparently, ...
5 votes
1 answer
5k views

How can I install Miktex on Jammy Jellyfish?

In the MikTex website, they only give download information for ubuntu Focal Fossa. Using apt does not work either (uninstallable dependencies)
22 votes
8 answers
18k views

Setting TeX Live path for root

I have installed TeX Live 2011 vanilla and I have trouble setting the TeX Live path for root (in Ubuntu 11.10). The problem is that when I run sudo tlmgr I get: sudo: tlmgr: command not found To ...
2 votes
0 answers
157 views

Pycharm not detecting the installed Latex distribution

Previously, I had installed texlive using sudo apt install texlive-full. Pycharm was able to detect the installed Latex distribution. However, apt installs only 2019 texlive version. I wanted to use ...
7 votes
2 answers
4k views

Failing to configure tex-common on Ubuntu 20.04.2 LTS

I have had a problem with my Software Updater for some time, for some reason it was producing an error message saying the problem was coming from tex-common. I can not reproduce this error because I ...
0 votes
0 answers
34 views

Okular pdf closes the previous window when clicking on hyperlink

Im using Okular 23.04.0 with Kubuntu. I create pdf documents with Kile-latex. I have hyperlinks to other pdfs created and always when I click on the hyperlink it opens a new pdf and closes an old one. ...
0 votes
1 answer
398 views

Warning message while rendering LaTeX in Inkscape

I installed pdflatex-full. When I try to export a math expression using LaTeX in Inkscape 1.1 (with Extension -> Render -> Mathematics -> LaTeX (pdflatex) (in Inkscape 1.2, it is Extensions -&...
4 votes
1 answer
2k views

Shortcut for Render LaTeX Equation in Inkscape?

I need to use the LaTeX equation extension in Inkscape (Extensions -> Render -> Mathematics -> LaTeX (pdflatex)) (In Inkscape 1.2, it is Extensions -> Render -> Formula (pdflatex)). It ...
3 votes
3 answers
22k views

Unable to locate package texlive

I had a problem with texlive on my ubuntu 12.10. It could not find setspace.sty and tlmgr didn't work. I googled it a little but i couldn't figure it out how to solve it (i'm a rookie) So i removed ...
1 vote
1 answer
135 views

Okular seems to have problems with inverse search for subdirectories (14.04)

I am having trouble with the inverse search feature of okular. I am running Ubuntu 14.04. I compiled a document (MWE see below) and had issues. In fact I compile using the same settings in kile and ...
1 vote
0 answers
54 views

Pinch Zoom in VS Code PDF Viewer?

After moving from Windows 11 to Ubuntu 22.04, I have been getting used to the new features, but something I am missing is using the trackpad to pinch to zoom in various applications. One specific case ...
1 vote
3 answers
2k views

How to install Mathpix Snip in Ubuntu 22.04 using terminal?

I installed Mathpix Snip in Ubuntu 20.04 by following the following instructions from their documentation: Getting Snip app and launching it from your Terminal (Advanced) Open your terminal. And ...
0 votes
1 answer
443 views

Having issues installing Miktex (and compile Latex code)

I believe I have installed Miktex, because when I run miktex --version I get One MiKTeX Utility 1.7 (MiKTeX 23.4) However, I cannot run simple latex code. I tried sudo apt-get update but surprisenly I ...
0 votes
0 answers
108 views

Error running MiKTex in Ubuntu 22

I have a newly installed Ubuntu 22.04 in my system. I installed the 'texlive-full' for MiKTeX. I even installed TeXMaker and added the path in there /home/usr/bin. But I still get this error message ...
0 votes
1 answer
264 views

I want to use beamer-latex in Ubuntu. using the Kile version of latex. Compiling frequently responds 'pfgcore.sty missing' what to do?

I want to use beamer-latex with Kile for Ubuntu. Compiling with pdf-latex or latex responds with 'pfgcore.sty missing', what should I do?
1 vote
1 answer
151 views

How to use LaTeX with Blender?

I'm using a custom add on for the 3d program Blender to write latex. The add on needs to know where the latex installation is: I know I have latex Installed (texlive) but whatever path I have tried ...
2 votes
1 answer
1k views

tikz package not found in repository

I'm trying to install package tikz. I was using texlive 2019, and got this error message when trying to install tikz via tlmgr: tlmgr install: package tikz not present in repository I purged the ...
2 votes
2 answers
6k views

Texmaker asks about document encoding everytime I open a document

Every time I open a document in Texmaker it says: It seems that this file cannot be correctly decoded with the default encoding setting (UTF-8). Use this encoding: and it suggests ISO-8859-1 ...
0 votes
1 answer
4k views

How can I install latex on Ubuntu 20.04.5

I cannot install latex on Ubuntu 20.04.5 via the commands: sudo apt install -y texlive sudo apt install -y texlive-full I got the response: no texlive and no texlive-full Could you please help me?
1 vote
0 answers
346 views

Broken Packages Held when installing Miktex

I was trying to install latex on Ubuntu 22.04 by installing miktex. After following the steps outlined on the website, I ran into the following error message: Some packages could not be installed. ...
5 votes
2 answers
7k views

How do I install the LaTeX opensans package?

I have just upgraded to 12.04. I have always used LaTeX opensans package (www.ctan.org/pkg/opensans) and never had problems with it in Ubuntu. Now I installed it the same way as I always did but I ...
3 votes
1 answer
18k views

How to use revtex4-2 with Ubuntu 18.04?

I've installed texlive-publishers; but, still I'm getting the error in kile: file revtex4-2.cls not found on Ubuntu 18.04.1 LTS system. How to use revtex4-2 with Ubuntu?
1 vote
1 answer
211 views

Unable to install texlive on Impish [duplicate]

When I try to install the texlive distribution using: sudo apt install texlive I get the following output: Reading package lists... Done Building dependency tree... Done Reading state information......
1 vote
0 answers
84 views

cannot use make to create pdf

I am trying to compile the C ref posted by Stallman https://git.savannah.nongnu.org/cgit/c-intro-and-ref.git and I am getting this error when I try to run make c.pdf: c-intro-and-ref$ make c.pdf tex ...
0 votes
0 answers
628 views

Miktex with Ubuntu 22.04.1 LTS

I have a problem with Miktex when I upgraded to Ubuntu 22.04.1 LTS. The Miktex is not showing figures between \begin{pspicture} \end{pspicture} I have MiKTeX-pdfTeX 4.11 (MiKTeX 22.8.28). I am ...
3 votes
1 answer
6k views

Installing Latex Packages in TexLive/TexStudio

I am using TexLive and TexStudio, and am trying to install the bbm and physics latex packages. I have followed the instructions from this page: https://scholar.princeton.edu/scuellar/blog/2014/02/...
0 votes
1 answer
82 views

cmake project involving UseLATEX.cmake builds but fails to create output PDF. What am I doing wrong?

In manual folder on Ubuntu 22.04 I have files manual.tex, A.tex, B.tex, C.tex, D.tex (the chapters), UseLATEX.cmake, and CMakeLists.txt. CMakeLists.txt contains: cmake_minimum_required(VERSION 3.22) ...
2 votes
0 answers
201 views

How do I sign a PDF file with a CA certificate (.crt)?

I have obtained a CA certificate (a .cert file) issued by Deutsche Bundesdruckerei to digitally sign PDF files. Now I'm wondering how to sign PDF files on Linux in general and Ubuntu in particular. ...
1 vote
1 answer
153 views

Using Alacritty to write LaTeX (with vim) can't launch Evince to preview

I use Neovim to write LaTeX files with the Alacritty terminal. After writing the files I want to preview them with Evince. However, Evince doesn't launch. I don't know why. If I use the default ...
3 votes
1 answer
5k views

How to match LaTeX fonts in LibreOffice Writer?

I created a document in LaTeX (without specifying any fonts), and now I'm trying to re-create it in LibreOffice Writer, but it looks very different due to the fonts used. What fonts can I choose in ...
0 votes
1 answer
126 views

Latex Compilation from Gedit External Tools Using $HOME folder based Texlive

I relocated /usr/local/texlive(2020) to $HOME folder and renamed "/usr/share/texlive" to disable its effects. The latex file gets compiled successfully from command prompt but not from "...
1 vote
1 answer
4k views

Getting "LaTeX Error: File `tempora.sty' not found."

I am getting "LaTeX Error: File `tempora.sty' not found." I suppose a tex package needs to be installed. Which one?
0 votes
1 answer
2k views

Unable to install MikTex on Ubuntu 20.04.3

I'm trying to install MikTex on Ubuntu 20.04.3. In the step of updating (sudo apt-get update), I get the following error (Err:1 https://ctan.mines-albi.fr/systems/win32/miktex/setup/deb focal ...

1
2 3 4 5
10