Linked Questions

1
vote
1answer
753 views

How to input text from a file

I need to do the following: I have a file A which consists out of short fragments of text: Text 1 Text 2 Text 3 Text 4 I have another file file B in which I need to input fragments ...
6
votes
1answer
208 views

Conflict between catchfilebetweentags and a kind of arrow from xypic: argument of \next@ has an extra }

I'm using the solution from https://tex.stackexchange.com/a/4952/1403 to input a part of file.tex into another file. But I'm getting this error: at the line \ExecuteMetaData[file.tex]{tag}. Here's ...
1
vote
1answer
296 views

\input only part of file, without losing SyncTeX support?

I want to include parts of a child document, specified by a range of line numbers, as LaTeX input, while producing useful SyncTeX information. It should also be possible to re-include lines already in ...
1
vote
1answer
237 views

Inserting paragraphs in a single document from an another file

I have a document which I have to translate in other languages. I was thinking of writing the translations in different text files with tagged paragraphs so that I could include in the right place of ...
3
votes
2answers
65 views

Function / macro / commands as tags

I want to implement function as tags. For now, this code is working: In equations_folder/equations.tex \EQUATION{miqp-obj} \begin{equation} \label{eq:miqp-obj} \min_{\mathbf{x}}C = \frac{1}{2} \...
1
vote
0answers
157 views

Command for getting number of lines in another file

My goal is to combine several documents into one, so maybe someone can recommend a different solution. More specifically, I need to input about 20 files in a master file, all from line 4 to the second-...
2
votes
1answer
108 views

What is a good source code management technique to quickly position floats with SyncTeX?

Positioning a float in a document usually involves not only changing modifiers such as [t] etc, but also moving around the code -- especially figure* environments in twocolumn documents, which have to ...
1
vote
0answers
131 views

Is there a way to input part of a file that includes sagetex?

I am trying to build a sort of jumbling program for Tex Files. Specifically I want to randomly order problems on quizzes/exams that are generated. I have gotten most of the work done, but I am left ...
1
vote
2answers
72 views

Using external inputs to be included based on \if switches

I am working on a specifications file which should be used for multiple projects. Ideally what I would like to have is a generic latex file where I can enable project specific additions, but these ...
0
votes
0answers
56 views

Creating a more modular system

Though my question may be a basic one, I hope one can help me by being clear about what to do. I am using an apj emulate document on ShareLatex for my writing. My writing is long and has many sections ...
0
votes
0answers
30 views

copy a section from another .tex file

I'll try my best to explain.. I need to make a LaTex document every week for a lab. In it, I have the safety sheet of chemicals. Often, I've already done a chemical in an earlier document. Now, I just ...
1
vote
0answers
25 views

Centralized Master Equation in Single File like `\cite{}` [duplicate]

Is it possible in latex to have single file like equations.tex and able to call part of it to our main.tex just like a combination of \include{} or \input{} and \cite{}? For example I have a ...

15 30 50 per page
1
2