Quantcast
Channel: Question and Answer » texlive
Viewing all 29 articles
Browse latest View live

tlmgr how to disable switch to user mode?

$
0
0

Everytime I run tlmgr to install packages, I get the following messages:

$ sudo tlmgr install xetex
(running on Debian, switching to user mode!)
tlmgr: package repository http://ftp.gwdg.de/pub/ctan/systems/texlive/tlnet
Package luatex is not relocatable, cannot install it in user mode!
Package pdftex is not relocatable, cannot install it in user mode!
Package xetex is not relocatable, cannot install it in user mode!

So no package gets installed and although I already use sudo, the tlmgr switches back to user mode automatically, which I don’t even want (afaik).

How do I fix this behavior and install packages?

Additional Information

$ tlmgr --version
tlmgr revision 39298 (2016-01-07 03:44:29 +0100)
tlmgr using installation: /usr/local/texlive/2015
TeX Live (http://tug.org/texlive) version 2015

The tlmgr was installed using the install-tl script from here, using:

sudo ./install-tl-ubuntu

The output of which:

$ which tlmgr
/opt/texbin/tlmgr

The output of sudo which:

$ sudo which
/usr/bin/tlmgr

How to select the directories such that TeX Live is installed in my home?

$
0
0

I would like to install TeX Live in my home folder, so that I do not have to reinstall it each time I change from one Linux distribution to another.

When installing TeX Live through the install-tl script the following is shown:

 <D> directories:
   TEXDIR (the main TeX directory):
     !! default location: /usr/local/texlive/2015
     !! is not writable or not allowed, please select a different one!
   TEXMFLOCAL (directory for site-wide local files):
     /usr/local/texlive/texmf-local
   TEXMFSYSVAR (directory for variable and automatically generated data):
     /usr/local/texlive/2015/texmf-var
   TEXMFSYSCONFIG (directory for local config):
     /usr/local/texlive/2015/texmf-config
   TEXMFVAR (personal directory for variable and automatically generated data):
     ~/.texlive2015/texmf-var
   TEXMFCONFIG (personal directory for local config):
     ~/.texlive2015/texmf-config
   TEXMFHOME (directory for user-specific files):
     ~/texmf

How do I modify these directories such that I have a “robust” TeX Live installation?

Xepersian does not work on Windows, missing xepersian.sty

$
0
0

I’ve installed the full version of TexLive 2011 on my friend’s Windows. When I try to compile Persian tex files with xelatex engine I get this error: missing xepersian.sty.

I tried both TexMaker editor and TexStudio. Also running the xelatex myfilename.tex command in command prompt, returns the same error.

Any help will be appreciated.

Running TexWorks on Ubuntu

$
0
0

I’m very confused about how I should be using TexWorks on Ubuntu, and what the difference is between TexWorks, TexLive, and MikTex.

So, I installed the TexLive package with sudo apt-get install texlive, because according to the website, this also installs TexWorks. However, after this installation, I could not find any reference to TexWorks on my machine. So, I then installed the TexWorks package with sudo apt-get install texworks. Now, I can open a .text file with TexWorks.

But I am confused as to whether I am now using TexWorks, or TexLive (and what about MikTex?).

Also, I am getting errors such as LaTeX Error: Filebbm.sty’ not found.` This means I need to install this package. How can I do this? I am used to running TexWorks and MikTex in Windows, where packages were automatically installed on-the-fly as they were required, and ideally I would like something like this.

Thanks!

Can I just install TeX Live to get ConTeXt?

$
0
0

I have a hankering to try ConTeXt again.

I am normally a MikTeX user — its on all my computers, except the linux ones (which generally use whatever is the the package manager).

Last time I used ConTeXt, I had to install a stand-alone, and had to do a bunch of shenanigans to get it working with the PATH.

I see these days ConTeXt is included in TeX Live,
and TeX Live is available for windows.

Does ConTeXt with TeX Live “just work”?

Weird bodegraph output [closed]

$
0
0

I’ve tried to make a bodegraph with the bodegraph package and gnuplot. I’m using TexLive and TexStudio on a Windows 10 computer.

I get red axes and no graph, only the axes.

Bodegraph

documentclass{article}

usepackage{tikz}
usepackage{bodegraph}

begin{document}

    begin{tikzpicture}[
    gnuplot def/.append style={prefix={}}, % Fixed the issue (prefix was 'gnuplot/jobname/' before)
    ]
    begin{scope}[xscale=10/3,yscale=10/110]
    UnitedB
    semilog{-1}{2}{-50}{60}

    BodeAmp{-1:1.35}{POAmpAsymp{4}{2.0}+IntAmp{1}}

    end{scope}
    end{tikzpicture}
end{document}

TexStudio settings:
enter image description here

TeXstudio + Latexmk won't compile (with OS X): “Error: Could not start command: …”

$
0
0

I recently switched from Texmaker to TeXstudio (version 2.10.8). In Texmaker, I used to compile my document with Latexmk. In TeXstudio, however, the default Latexmk command returns an error message. I work with OS X Yosemite (version 10.10.5) and TeX Live. Here is an example:

documentclass[10pt, a4paper]{article}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage[ngerman]{babel}
usepackage{hyperref}

begin{document}
Some text.
end{document}

My build settings in TeXstudio (Default compiler = Latexmk):
my build settings in TeXstudio: Default compiler = Latexmk

And the corresponding command settings (latexmk -dvi -silent %):
my command settings in TeXstudio: Latexmk = latexmk -dvi -silent %

And this is the error I get:
enter image description here

The document compiles normally when I choose PdfLaTeX instead of Latexmk.
I have seen related posts on stackoverflow, but none these included a solution for Latexmk. Does anybody know a solution to this problem?

EDIT: As ig0774 suggested, I changed the path to /usr/texbin/latexmk -dvi -silent % and pressed OK. When reopening the settings of TeXstudio, the path was set back to latexmk -dvi -silent %. Is this a bug or am I missing something?

syncing texlive installationon across linux computers

$
0
0

on my two computers, one laptop one desktop, I keep my home directories synced. My texlive installation resides in my home directory and could thus be synced as well, currently it is excluded. Right now e.g. updates need to be applied twice, once on every machine. Syncing the texlive installation directory would make the second update obsolete.

Is there a downside or even a definitive reason against syncing the texlive installation directory? Texlive is not installed via package manager.

Any thoughts?


Which version of Lollipop package should be installed on OS X with TeX Live Utility?

$
0
0

I have installed basic TeX distribution (basictex-20150613.pkg) on my OS X 10.11.4. Now I want to install the lollipop package with TeX Live Utility. There is two options (I annotate them with red rectangles):

TeX Live Utility screenshot

Which version should be installed according to my OS?

Viewing all 29 articles
Browse latest View live