Questions tagged [unix]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
48 views

How to make hollywood.cls available?

I attempted to create a document of class "hollywood", and was warned by LyX, that the class is not available -- and needs to be installed. When I try to preview the document, I get a LaTeX-...
Mikhail T.'s user avatar
3 votes
0 answers
254 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 ...
Jona Engel's user avatar
1 vote
1 answer
440 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 ...
Dschoni's user avatar
  • 308
2 votes
1 answer
1k 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,...
koko's user avatar
  • 31
0 votes
0 answers
76 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 ...
lem's user avatar
  • 21
0 votes
0 answers
34 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.
user395788's user avatar
1 vote
2 answers
1k 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 ...
Luis Alejandro Quiroga Gómez's user avatar
1 vote
1 answer
1k 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 ...
Clément's user avatar
  • 5,571
0 votes
0 answers
136 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 ...
Aarish Ramesh's user avatar
4 votes
1 answer
3k 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 ...
Jonathan Komar's user avatar
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 ...
Lamda's user avatar
  • 165
4 votes
0 answers
805 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 ...
Philipp's user avatar
  • 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?
Viin's user avatar
  • 51
0 votes
1 answer
117 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 ...
Léo Léopold Hertz 준영's user avatar
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 ...
Sean Allred's user avatar
  • 27.4k
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: ...
Dirk van den Bekerom's user avatar
13 votes
2 answers
522 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, ...
jub0bs's user avatar
  • 58.7k
1 vote
1 answer
571 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....
Sergio Parreiras's user avatar
3 votes
1 answer
953 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-...
LondonRob's user avatar
  • 4,362
4 votes
1 answer
283 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 \...
ivo Welch's user avatar
  • 3,724
2 votes
1 answer
1k 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 ...
ppr's user avatar
  • 8,984
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....
user avatar
2 votes
1 answer
265 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?
Vitalii's user avatar
  • 23
5 votes
2 answers
502 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 ...
Igor Kotelnikov's user avatar
5 votes
1 answer
363 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 ...
stratis's user avatar
  • 223
2 votes
1 answer
197 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....
M.A's user avatar
  • 255
1 vote
0 answers
349 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:...
Predrag Punosevac's user avatar