input and include for a thesisWhen should I use input vs. include?Does LaTeX have to reprocess included files that haven't changed?Skipping sections when compiling (without include)Problem include-ing multiple .tex filesNo citations/bibliography processed/produced when using includeBlank pages after include in LaTeX report classvref and input commandFile 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)How to compile input files separately from the main file
Biological Blimps: Propulsion
On a tidally locked planet, would time be quantized?
Freedom of speech and where it applies
Did arcade monitors have same pixel aspect ratio as TV sets?
Why electric field inside a cavity of a non-conducting sphere not zero?
If a character has darkvision, can they see through an area of nonmagical darkness filled with lightly obscuring gas?
How did Rebekah know that Esau was planning to kill his brother in Genesis 27:42?
What is the evidence for the "tyranny of the majority problem" in a direct democracy context?
Electoral considerations aside, what are potential benefits, for the US, of policy changes proposed by the tweet recognizing Golan annexation?
Has any country ever had 2 former presidents in jail simultaneously?
If infinitesimal transformations commute why dont the generators of the Lorentz group commute?
Delivering sarcasm
Yosemite Fire Rings - What to Expect?
250 Floor Tower
Problem with TransformedDistribution
Can I sign legal documents with a smiley face?
Aragorn's "guise" in the Orthanc Stone
Pre-modern battle - command it, or fight in it?
Multiplicative persistence
Is it improper etiquette to ask your opponent what his/her rating is before the game?
New brakes for 90s road bike
If magnesium reacts with oxygen to produce magnesium oxide only on the application of heat, then why isn't it categorised as an endothermic reaction?
How can "mimic phobia" be cured or prevented?
Where did Edmond Malone place the Tempest in the chronology of Shakespeare's plays?
input and include for a thesis
When should I use input vs. include?Does LaTeX have to reprocess included files that haven't changed?Skipping sections when compiling (without include)Problem include-ing multiple .tex filesNo citations/bibliography processed/produced when using includeBlank pages after include in LaTeX report classvref and input commandFile 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)How to compile input files separately from the main file
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
19 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 29 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
19 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
19 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
19 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
19 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 thestandalone
orsubfiles
packages.
– Teepeemm
Apr 29 '18 at 19:28
Teepeemm: Excellent addendum! There are also solutions aroundlatex-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 |
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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 thestandalone
orsubfiles
packages.
– Teepeemm
Apr 29 '18 at 19:28
Teepeemm: Excellent addendum! There are also solutions aroundlatex-preview
and 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 thestandalone
orsubfiles
packages.
– Teepeemm
Apr 29 '18 at 19:28
Teepeemm: Excellent addendum! There are also solutions aroundlatex-preview
and 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 thestandalone
orsubfiles
packages.
– Teepeemm
Apr 29 '18 at 19:28
Teepeemm: Excellent addendum! There are also solutions aroundlatex-preview
and 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 thestandalone
orsubfiles
packages.
– Teepeemm
Apr 29 '18 at 19:28
Teepeemm: Excellent addendum! There are also solutions aroundlatex-preview
and 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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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
19 mins ago