Questions tagged [unix]

Operation of the TeX system within a general UNIX environment, rather than specifically Linux.

Filter by
Sorted by
Tagged with
3 votes
0 answers
159 views

tlmgr cannot load TeX Live database

On freebsd 13 with the texlive-full port. When I trying to set up tlmgr and check the repository with tlmgr -repository http://mirror.ctan.org/systems/texlive/tlnet update --list I get tlmgr: Cannot ...
1 vote
1 answer
323 views

Windows/Unix Xelatex font usage with fontspec and ttf fonts semi-bold weight

I'm trying to write a file, that compiles both on windows and unix (I'm using the alpine-tinytex image, but the answer should be portable across *nix). I would like to use the semi-bold fontface of ...
  • 278
2 votes
1 answer
397 views

pdflatex filename.tex - I can't write on file 'filename.log'

I installed these packages on my FreeBSD server: tex-formats texlive-texmf When I run the command pdflatex filename.tex I get this error: ! I can't write on file 'filename.log' (Press Enter to retry,...
  • 31
0 votes
0 answers
45 views

Compile a .tex file from a hard link in the original directory

I'm using LaTeX on Ubuntu 20.04 with the Tex Live distribution. Recently, I tried to create hard links to some LaTeX files and put them in a specific folder of my Linux computer, using the Unix ln ...
  • 21
0 votes
0 answers
33 views

Typeset a Unix Command Inline [duplicate]

Is there a standard and aesthetically pleasing way to typeset a unix command inline. For example, I may want to refer to 'ls' as I do in this sentence.
1 vote
2 answers
719 views

Why LaTeX can't open a package without sudo permission?

Hello and thanks for passing by, I am new to Ubuntu in general and I have some problems with the LaTeX installation. Some background before all my barging: First, installing and making LaTeX work was ...
1 vote
1 answer
982 views

Upgrade to 2019 gone wrong on a Debian System

I followed the advice at tlmgr: Remote repository is newer than local (2017 < 2018) and upgraded my TeX installation following the tutorial at https://www.tug.org/texlive/upgrade.html. When I ran ...
  • 4,770
0 votes
0 answers
126 views

Converting .tex file to pdf in Unix

I edited my resume online using Share latex and tried converting the tex file to pdf in my mac command line 'xelatex resume.tex' command using the instructions mentioned in the github project below ...
4 votes
1 answer
2k views

Why does Error 256 (driver return code) yield an exit status of 0 (return code 0)?

I may have discovered a problem with xelatex. Unfortunately, I do not know how to reproduce Error 256 easily. What I know is that it occurs when running an automated script that iterates over many TeX ...
0 votes
1 answer
1k views

Alter the quickbuild in texmaker?

Is is possible to alter the quickbuild in texmaker such that it performs these command, without i have to it manually everytime.. The issue here is the last command, being makeglossary. Commands i ...
  • 135
4 votes
0 answers
695 views

How to escape double quotes in \input

I'm trying to call shell commands that contain multiple (nested) quotation marks. This is, for instance, what I would write on the shell: $ python -c "print \"Hello World\"" which produces Hello ...
  • 41
5 votes
1 answer
2k views

Convert .tex file into PNG without ImageMagick

I'm noob in TeX. Would it be possible to convert a .tex file into PNG without installing ImageMagick? Is there a standalone method that I can use?
  • 51
0 votes
1 answer
93 views

To split a page from a LaTeX document by keeping the document as produced by xdvipdfmx?

This question evolved as a solution to the problem in old thread about Copy-paste support for documents between Mac and Linux/Windows. I have these pdf commands in OS X pdf180 pdfclose ...
37 votes
2 answers
2k views

How can I make a TeX file executable?

Under UNIX, to my knowledge, any regular file can be made executable with the addition of a shebang: #! /path/to/executing-program --with --options How can I apply the same principle to a TeX file ...
  • 26.9k
0 votes
0 answers
2k views

plink 'Invalid handle': how to redirect stdin and stdout?

In my tex file I want to call plink (command line application for PuTTY) in order to execute a remote command and read the output. When I do this I get an error 'Unable to read from standard input: ...
13 votes
2 answers
452 views

Is there any way to interact with the shell but keep the same session open?

I'm preparing some course material (PDF) for a tutorial that involves the Unix command line. Because I strive for automation (some call that laziness), I've written a little package that allows me, ...
  • 56.9k
1 vote
1 answer
527 views

LaTeX/XeLaTeX runs fine with TeXShop but not with bash

I always used TeXShop in the Mac for the last 7 years but now I need to run the compilation remotely. If I run in the terminal (bash shell): XeLaTeX file.tex I get kpathsea: Running mktexfmt XeLaTeX....
3 votes
1 answer
911 views

Configuring vim-latex when installed using pathogen

I've followed the instructions in this question to install vim-latex using pathogen. Now I'd like to have vim-latex compile using pdflatex instead of the default latex. The instructions on the vim-...
  • 3,822
4 votes
1 answer
271 views

External inline filters, markdown, latex, beamer, and standards

I read Converting Markdown to LaTeX, in LaTeX and a couple of related posts. They are about a year old. is there now a quasi-standard package that enables generic filter plugins, allowed if \...
  • 3,477
2 votes
1 answer
939 views

Installing package in TeX Live with kpathsea

I use to put packages in /usr/share/texmf/tex/latex/ and to run texhash after. Now, with kparthsea, it seems not working. Where do I need to put my packages in order to TeX Live "sees" them or is ...
  • 8,594
3 votes
2 answers
1k views

Postscript (.ps) image does not import into .tex file or pdf

I am trying to: Export a gnuplot .gpl file to a .ps Get my .tex file to use the .ps file as an image Convert that .tex file to a pdf I created the following gnuplot .gpl file which exports 'a03e02....
's user avatar
2 votes
1 answer
248 views

I can not change the mode or submode of the current document in WinEdt 8

WinEdt 8 adds the submode UNIX to the current document. I can not delete it in Document Setting. Why does WinEdt 8 do so?
  • 23
5 votes
2 answers
495 views

How to make sure that a source file is in UNIX mode?

How to make sure that a source file is in UNIX mode? In other words, how to check that every line in a text file is ended by LF rather then CR+LF? I am asking because a package intended for ...
5 votes
1 answer
341 views

How does latex source multiple configuration files..?

I have got a very peculiar question I'd like to ask about my latex processor: In my school we are using the pdfTeXk backend. At some point there was a need to make a few configuration changes within ...
  • 223
2 votes
1 answer
174 views

write output of dvips to a file

Sorry if this is a simple question. I want to write the output of dvips to a file (i.e. something like a log file for dvips). I tried this but it gives an empty file: dvips input.dvi > dvipslog....
  • 255
1 vote
0 answers
334 views

Unix Text Processing [closed]

In 1987 Dale Dougherty and Tim O'Reilly wrote a marvelous book Unix Text Processing which is now freely available. The book gives tour the force introduction to the world of Unix text processing tools:...