The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
34 views

LTXtable does not work in an environment

I'm trying to write an environment that gathers the content of an LTXtable writes it to an file (with predefined header/footer) and then txpesets this table. Gathering the content is no Problem and I ...
1
vote
0answers
56 views

Deleted Main.bib using filecontents while trying to enter citation involving mathematical treatment

Ok. I feel pretty stupid but I was trying to find a solution to using mathematics in bibliography. I ended up using the following example in this forum that used filecontents. Help with math symbols ...
1
vote
1answer
69 views

Enumerate pattern: 1, 1, 2, 2, 3, 3, … , etc

This is a follow-up question to \include on every other page?. I went with what the best answer suggested and surrounded each question and answer by \begin{filecontents}{some title} and ...
8
votes
1answer
58 views

filecontents replaces tabs with spaces

filecontents package replaces tabs with spaces. Is there any solution to preserve tabs in the generated file without changing the following code? \begin{filecontents*}{textWithTabs.txt} Aa Bb ...
9
votes
1answer
217 views

Make a “standalone” version of multiple files: all document in one .tex file

Disclaimer: this question is not related to the standalone package. When writing an article, I split the content between several files, to ease the versionning notably. At the time of writing, most ...
6
votes
1answer
33 views

\end{filecontents} and \input{} on the same line

This code generates output that shows contents of excerpt1.tex \documentclass{article} \usepackage{filecontents} \begin{document} Pragraph is starting. \begin{filecontents}{excerpt1.tex} Part that ...
0
votes
0answers
294 views

Biber, TeX Live 2013, and OS X 10.9

This question is related to the question Tufte-Style Asides. I downloaded caesar_example.tex from Github sources and complied it from TeXShop. The output file caesar_example.pdf does not contain the ...
1
vote
1answer
849 views

Inline Bibliography [duplicate]

I know how to use a .bib file to add BibTex and use that in the main document. Is there a way I can include the bib-file in my latex document and not use an external bib-file?
5
votes
1answer
76 views

Using filecontents inside of xparse

I'm trying to reproduce this using xparse: \begin{filecontents}{sections/autogen/somefile.tex} % Line to auto-produce \begin{myotherenvironment} Do lots of stuff \end{myotherenvironment} ...
13
votes
2answers
156 views

Filecontents and newenvironment issue

I need to write some inlined code on an external file, then load it with listings. I would like to define a new environment, but if I do, filecontents does not save the first line of code (see MWE): ...
6
votes
1answer
183 views

filecontents* cannot write to file in Windows

With the following MWE: \documentclass{article} \usepackage{filecontents,hyperref,listings} \begin{filecontents*}{script.bat} @echo off echo "Hello, World!" pause \end{filecontents*} ...
11
votes
1answer
263 views

Can filecontents write an external file in a parent directory?

Reading Are there any disadvantages of TeX being Turing complete? got me thinking about the potential of .tex files for harbouring malicious code. The filecontents package is used to write external ...