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

Filter by
Sorted by
Tagged with
12
votes
1answer
4k views

apt installing more packages than specified as dependencies

I was trying to install texmaker from the repository. For installing the texlive I followed the steps described here. For this the control file I used is this. It has the file texlive-binaries in it. ...
1
vote
1answer
192 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>}...
5
votes
2answers
1k views

How to write this pseudocode where condition

This question is extension of this question about listing questions of directories. I get a problem that I need to understand the original section of the text. Current output where you see the ...
3
votes
2answers
3k 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 <-...
3
votes
3answers
1k views

Compile all tex files in a directory

If I do pdflatex *.tex in a directory, only one tex file is compiled. Which syntax should I use that all *.tex files in the directory are compiled?
2
votes
1answer
92 views

How to write this replacement with condition

I want to replace now within my working directories the word -> with $\to$ if the word is not within verbatim environment. Pseudocode Replace all entriens of -> with $\to$ everywhere else but not ...
1
vote
1answer
2k 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 ...
0
votes
2answers
960 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
3answers
1k views

How to parse a file to extract 3 digits numbers kept in a “group number”

I am writing a shell script to parse a text file that is extracted from a standardization pdf file. I would like for each test group (identified by Group 0, Group 1... to get the list of test numbers,...
3
votes
3answers
605 views

Install using synaptic ignoring dependencies

I was trying to install texmaker a latex editor in my debian system from synaptic. It shows in the dependency list texlive-base, texlive-common. etc as dependencies. But I have already installed ...
2
votes
1answer
85 views

extracting and copying parts of tex files into new tex files

I have a bunch of tex files in different folders on my system. The goal is to create new tex files (using a template, that has the title page, packages, new commands,...) that combines all the ...
1
vote
1answer
40 views

Bash: Loop through all subsubdirectories and execute command on certain files

My folder structure looks like this Main ├── Sub1 | ├── Subsub1 | | | ├── file1.tex | | | ├── file2.tex | ├── Subsub2 | | | ├── file1.tex | | | ├── file2.tex ├── Sub2 | ├...
0
votes
1answer
151 views

Bash: How to set the current working directory to the current directory in a loop?

My script loops through all subsubdirectories and calls pdflatex command on all .tex files: #!/usr/bin/env bash shopt -s globstar for d in ./*/**/*.tex; do echo pdflatex "$d" done My question ...