input and include for a thesisWhen should I use input vs. include?Does LaTeX have to reprocess included files that haven't changed?Special characters in input fileProblem include-ing multiple .tex filesNo citations/bibliography processed/produced when using includeBlank pages after include in LaTeX report classvref and input commandCombining different projects into one (papers into PhD Thesis)File name autocompletion in include for large latex projectsWhat to input and what to include in a very large document?Usage of include (graphics, section's and only)
Is the U.S. Code copyrighted by the Government?
Terse Method to Swap Lowest for Highest?
What if a revenant (monster) gains fire resistance?
The IT department bottlenecks progress. How should I handle this?
How could a planet have erratic days?
What are the purposes of autoencoders?
Open a doc from terminal, but not by its name
How to implement a feedback to keep the DC gain at zero for this conceptual passive filter?
Removing files under particular conditions (number of files, file age)
250 Floor Tower
Rising and falling intonation
What does "Scientists rise up against statistical significance" mean? (Comment in Nature)
Is this toilet slogan correct usage of the English language?
Fear of getting stuck on one programming language / technology that is not used in my country
C++ debug of nlohmann json using GDB
Where did Edmond Malone place the Tempest in the chronology of Shakespeare's plays?
What is the evidence for the "tyranny of the majority problem" in a direct democracy context?
Strong empirical falsification of quantum mechanics based on vacuum energy density
Biological Blimps: Propulsion
A social experiment. What is the worst that can happen?
Travelling outside the UK without a passport
Electoral considerations aside, what are potential benefits, for the US, of policy changes proposed by the tweet recognizing Golan annexation?
Is there any references on the tensor product of presentable (1-)categories?
Can I sign legal documents with a smiley face?
input and include for a thesis
When should I use input vs. include?Does LaTeX have to reprocess included files that haven't changed?Special characters in input fileProblem include-ing multiple .tex filesNo citations/bibliography processed/produced when using includeBlank pages after include in LaTeX report classvref and input commandCombining different projects into one (papers into PhD Thesis)File name autocompletion in include for large latex projectsWhat to input and what to include in a very large document?Usage of include (graphics, section's and only)
I'm writing a thesis but not modular style. I simply write everything in one big document and want to change it. But there is a problem.
For sections must not I start with begindocument again? Otherwise, it can't be compiled, but if I do it, for this time my document will have lots of begin command.
What can I do to continue with one document?
input include
add a comment |
I'm writing a thesis but not modular style. I simply write everything in one big document and want to change it. But there is a problem.
For sections must not I start with begindocument again? Otherwise, it can't be compiled, but if I do it, for this time my document will have lots of begin command.
What can I do to continue with one document?
input include
3
Could you please make a sentence of your title ? What you want is not exactly explicit. What do your mean by modular style and there is a problem ?
– BambOo
Apr 29 '18 at 19:01
@Sebastiano Each time you make such an unnecessary edit to an old question you push a contemporary question off the front page and bereave it from its well deserved attention. It will be your fault if an user does not get an answer.
– samcarter
8 mins ago
add a comment |
I'm writing a thesis but not modular style. I simply write everything in one big document and want to change it. But there is a problem.
For sections must not I start with begindocument again? Otherwise, it can't be compiled, but if I do it, for this time my document will have lots of begin command.
What can I do to continue with one document?
input include
I'm writing a thesis but not modular style. I simply write everything in one big document and want to change it. But there is a problem.
For sections must not I start with begindocument again? Otherwise, it can't be compiled, but if I do it, for this time my document will have lots of begin command.
What can I do to continue with one document?
input include
input include
edited 17 mins ago
Sebastiano
11.1k42164
11.1k42164
asked Apr 29 '18 at 18:13
ömer koçhanömer koçhan
1416
1416
3
Could you please make a sentence of your title ? What you want is not exactly explicit. What do your mean by modular style and there is a problem ?
– BambOo
Apr 29 '18 at 19:01
@Sebastiano Each time you make such an unnecessary edit to an old question you push a contemporary question off the front page and bereave it from its well deserved attention. It will be your fault if an user does not get an answer.
– samcarter
8 mins ago
add a comment |
3
Could you please make a sentence of your title ? What you want is not exactly explicit. What do your mean by modular style and there is a problem ?
– BambOo
Apr 29 '18 at 19:01
@Sebastiano Each time you make such an unnecessary edit to an old question you push a contemporary question off the front page and bereave it from its well deserved attention. It will be your fault if an user does not get an answer.
– samcarter
8 mins ago
3
3
Could you please make a sentence of your title ? What you want is not exactly explicit. What do your mean by modular style and there is a problem ?
– BambOo
Apr 29 '18 at 19:01
Could you please make a sentence of your title ? What you want is not exactly explicit. What do your mean by modular style and there is a problem ?
– BambOo
Apr 29 '18 at 19:01
@Sebastiano Each time you make such an unnecessary edit to an old question you push a contemporary question off the front page and bereave it from its well deserved attention. It will be your fault if an user does not get an answer.
– samcarter
8 mins ago
@Sebastiano Each time you make such an unnecessary edit to an old question you push a contemporary question off the front page and bereave it from its well deserved attention. It will be your fault if an user does not get an answer.
– samcarter
8 mins ago
add a comment |
2 Answers
2
active
oldest
votes
The difference between input and include is how it's included, there is an old discussion on how to use them.
No, you do begindocument things only once. Then you use includechapter3 once per chapter. You can basically cut the chapter text from the big document, place it into chapter3.tex and insert the include statement instead in the main document.
Update: Oh, an continuing scrying into your question: you compile the main document, as before. As the start of the compilation regarded, nothing changes for you that multiple included *.tex files are present.
I also recommend latexmk and git for more easy compilation and management of the source, but that's tangential.
1
And if OP really wants to compile the subfiles separately, then they'd wan to look into thestandaloneorsubfilespackages.
– Teepeemm
Apr 29 '18 at 19:28
Teepeemm: Excellent addendum! There are also solutions aroundlatex-previewand overall wonderful AuCTeX, but emacs is not everyones favourite toy.
– Oleg Lobachev
Apr 29 '18 at 19:31
add a comment |
You should input your .tex files in this way:
documentclass[options]theclass
%preamble
begindocument
sectionsection1name
inputsec1 %the file is sec1.tex
sectionsection2name
inputsec2 %the file is sec2.tex
.
.
.
enddocument
So latex will paste the text where you call input
If I am not mistaken, include works quite the same but it starts a new page when you call include
That would be the best strategy.
If you want just one file, then write the document in this way:
documentclass[options]theclass
%preamble
begindocument
sectionsection1name
Write your text as
I am writing
write your text...
sectionsection2name
Same way
.
.
.
enddocument
As you can see, both cases have just one begin-end document.
If you want to avoid numbered sections use the starred command
section*
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "85"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f429212%2finput-and-include-for-a-thesis%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
The difference between input and include is how it's included, there is an old discussion on how to use them.
No, you do begindocument things only once. Then you use includechapter3 once per chapter. You can basically cut the chapter text from the big document, place it into chapter3.tex and insert the include statement instead in the main document.
Update: Oh, an continuing scrying into your question: you compile the main document, as before. As the start of the compilation regarded, nothing changes for you that multiple included *.tex files are present.
I also recommend latexmk and git for more easy compilation and management of the source, but that's tangential.
1
And if OP really wants to compile the subfiles separately, then they'd wan to look into thestandaloneorsubfilespackages.
– Teepeemm
Apr 29 '18 at 19:28
Teepeemm: Excellent addendum! There are also solutions aroundlatex-previewand overall wonderful AuCTeX, but emacs is not everyones favourite toy.
– Oleg Lobachev
Apr 29 '18 at 19:31
add a comment |
The difference between input and include is how it's included, there is an old discussion on how to use them.
No, you do begindocument things only once. Then you use includechapter3 once per chapter. You can basically cut the chapter text from the big document, place it into chapter3.tex and insert the include statement instead in the main document.
Update: Oh, an continuing scrying into your question: you compile the main document, as before. As the start of the compilation regarded, nothing changes for you that multiple included *.tex files are present.
I also recommend latexmk and git for more easy compilation and management of the source, but that's tangential.
1
And if OP really wants to compile the subfiles separately, then they'd wan to look into thestandaloneorsubfilespackages.
– Teepeemm
Apr 29 '18 at 19:28
Teepeemm: Excellent addendum! There are also solutions aroundlatex-previewand overall wonderful AuCTeX, but emacs is not everyones favourite toy.
– Oleg Lobachev
Apr 29 '18 at 19:31
add a comment |
The difference between input and include is how it's included, there is an old discussion on how to use them.
No, you do begindocument things only once. Then you use includechapter3 once per chapter. You can basically cut the chapter text from the big document, place it into chapter3.tex and insert the include statement instead in the main document.
Update: Oh, an continuing scrying into your question: you compile the main document, as before. As the start of the compilation regarded, nothing changes for you that multiple included *.tex files are present.
I also recommend latexmk and git for more easy compilation and management of the source, but that's tangential.
The difference between input and include is how it's included, there is an old discussion on how to use them.
No, you do begindocument things only once. Then you use includechapter3 once per chapter. You can basically cut the chapter text from the big document, place it into chapter3.tex and insert the include statement instead in the main document.
Update: Oh, an continuing scrying into your question: you compile the main document, as before. As the start of the compilation regarded, nothing changes for you that multiple included *.tex files are present.
I also recommend latexmk and git for more easy compilation and management of the source, but that's tangential.
answered Apr 29 '18 at 19:02
Oleg LobachevOleg Lobachev
5921213
5921213
1
And if OP really wants to compile the subfiles separately, then they'd wan to look into thestandaloneorsubfilespackages.
– Teepeemm
Apr 29 '18 at 19:28
Teepeemm: Excellent addendum! There are also solutions aroundlatex-previewand overall wonderful AuCTeX, but emacs is not everyones favourite toy.
– Oleg Lobachev
Apr 29 '18 at 19:31
add a comment |
1
And if OP really wants to compile the subfiles separately, then they'd wan to look into thestandaloneorsubfilespackages.
– Teepeemm
Apr 29 '18 at 19:28
Teepeemm: Excellent addendum! There are also solutions aroundlatex-previewand overall wonderful AuCTeX, but emacs is not everyones favourite toy.
– Oleg Lobachev
Apr 29 '18 at 19:31
1
1
And if OP really wants to compile the subfiles separately, then they'd wan to look into the
standalone or subfiles packages.– Teepeemm
Apr 29 '18 at 19:28
And if OP really wants to compile the subfiles separately, then they'd wan to look into the
standalone or subfiles packages.– Teepeemm
Apr 29 '18 at 19:28
Teepeemm: Excellent addendum! There are also solutions around
latex-preview and overall wonderful AuCTeX, but emacs is not everyones favourite toy.– Oleg Lobachev
Apr 29 '18 at 19:31
Teepeemm: Excellent addendum! There are also solutions around
latex-preview and overall wonderful AuCTeX, but emacs is not everyones favourite toy.– Oleg Lobachev
Apr 29 '18 at 19:31
add a comment |
You should input your .tex files in this way:
documentclass[options]theclass
%preamble
begindocument
sectionsection1name
inputsec1 %the file is sec1.tex
sectionsection2name
inputsec2 %the file is sec2.tex
.
.
.
enddocument
So latex will paste the text where you call input
If I am not mistaken, include works quite the same but it starts a new page when you call include
That would be the best strategy.
If you want just one file, then write the document in this way:
documentclass[options]theclass
%preamble
begindocument
sectionsection1name
Write your text as
I am writing
write your text...
sectionsection2name
Same way
.
.
.
enddocument
As you can see, both cases have just one begin-end document.
If you want to avoid numbered sections use the starred command
section*
add a comment |
You should input your .tex files in this way:
documentclass[options]theclass
%preamble
begindocument
sectionsection1name
inputsec1 %the file is sec1.tex
sectionsection2name
inputsec2 %the file is sec2.tex
.
.
.
enddocument
So latex will paste the text where you call input
If I am not mistaken, include works quite the same but it starts a new page when you call include
That would be the best strategy.
If you want just one file, then write the document in this way:
documentclass[options]theclass
%preamble
begindocument
sectionsection1name
Write your text as
I am writing
write your text...
sectionsection2name
Same way
.
.
.
enddocument
As you can see, both cases have just one begin-end document.
If you want to avoid numbered sections use the starred command
section*
add a comment |
You should input your .tex files in this way:
documentclass[options]theclass
%preamble
begindocument
sectionsection1name
inputsec1 %the file is sec1.tex
sectionsection2name
inputsec2 %the file is sec2.tex
.
.
.
enddocument
So latex will paste the text where you call input
If I am not mistaken, include works quite the same but it starts a new page when you call include
That would be the best strategy.
If you want just one file, then write the document in this way:
documentclass[options]theclass
%preamble
begindocument
sectionsection1name
Write your text as
I am writing
write your text...
sectionsection2name
Same way
.
.
.
enddocument
As you can see, both cases have just one begin-end document.
If you want to avoid numbered sections use the starred command
section*
You should input your .tex files in this way:
documentclass[options]theclass
%preamble
begindocument
sectionsection1name
inputsec1 %the file is sec1.tex
sectionsection2name
inputsec2 %the file is sec2.tex
.
.
.
enddocument
So latex will paste the text where you call input
If I am not mistaken, include works quite the same but it starts a new page when you call include
That would be the best strategy.
If you want just one file, then write the document in this way:
documentclass[options]theclass
%preamble
begindocument
sectionsection1name
Write your text as
I am writing
write your text...
sectionsection2name
Same way
.
.
.
enddocument
As you can see, both cases have just one begin-end document.
If you want to avoid numbered sections use the starred command
section*
edited Apr 29 '18 at 19:25
answered Apr 29 '18 at 19:04
santimirandarpsantimirandarp
1,4353822
1,4353822
add a comment |
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f429212%2finput-and-include-for-a-thesis%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
3
Could you please make a sentence of your title ? What you want is not exactly explicit. What do your mean by modular style and there is a problem ?
– BambOo
Apr 29 '18 at 19:01
@Sebastiano Each time you make such an unnecessary edit to an old question you push a contemporary question off the front page and bereave it from its well deserved attention. It will be your fault if an user does not get an answer.
– samcarter
8 mins ago