Questions tagged [filesystem-access]
128 questions
22
votes
1 answer
Including a relative path to a class file
I'm trying to set the documentclass type of a certain .tex file to be a class that is in the parent folder. However, I'm not sure how to include the path to the .cls file. I can write
\documentclass[letterpaper,12pt]{../foo}
But that complains…
Jamie
- 373
17
votes
4 answers
Read arbitrary lines from file
Is there an easy way to read arbitrary lines from a file? For example "read line number 12" or "read backwards from last line to first line" or "read lines 1,3,5...".
Håkon Malmedal
- 3,712
7
votes
3 answers
How to trim the end of line character for each line read from an external file?
How to trim the end of line character for each line read from an external \jobname.list file below? Note that the real scenario does not use filecontents package to generate the list. I use a batch file to prepare the list. The following MWE is just…
kiss my armpit
- 36,086
4
votes
1 answer
Essential files to run LaTeX
Possible Duplicate:
Portable minimal distribution
Which files are essential to run LaTeX? Is possible for example, make a copy of these files and also of the packages used in my document to run pdfLaTeX without install all the TeXLive…
Aurelius
- 7,653
- 10
- 49
- 103
4
votes
2 answers
Cross-reference between LaTeX files
I am trying to get a TeX file to read certain lines from a different text file. More precisely, in my database file a.tex I have a long list. Now in a different file, I would like to have items with specific numbers. Of course, I can copy-paste. My…
user1227
- 485
2
votes
1 answer
Write to a file outside of the current folder
Is it possible with TeX to write somewhere else than in the current folder?
The following does not…
Colas
- 6,772
- 4
- 46
- 96
1
vote
0 answers
Problem with latex files
I have a problem with one of my latex files. I was writing when my laptop stopped working. I don't know why, but I had to force it to restart and when I turned it on I had problem with my latex file: I try to open it, but when I do Texmaker (also…
Ground-110
- 11
1
vote
1 answer
Accidentally restricted TexShop from a folder
I made an extremely stupid error. I installed TexShop on a new computer and the first time I went to compile a document, it asked me if it was ok for TexShop to access the Documents folder. I, completely accidentally, clicked No instead of allow. …
Ash115
- 11
1
vote
1 answer
SASweave and Sweave.sty
I recently installed SASweave on a linux machine (RHEL 6 to be exact) for a group of developers, but they currently must copy a file called SasWeave.sty to their current project directory in order for SASweave to work properly. Each user has…
user73550
- 11
- 1
0
votes
0 answers
Save data from all my .tex files to a global file
I want to keep track of some info of my .tex files.
More precisely, I give an id (an integer) to my math exercises and would like to keep somewhere the maximal id already given (and maybe other info). The macro is just \idExo{}.
I would like also…
Colas
- 6,772
- 4
- 46
- 96