Merging multiple tex files of different document class The Next CEO of Stack OverflowIssues when compiling TeX files with Vim and LaTeX-suiteGenerating PDF/A-1b compliant documents using pdfx and pdfLaTeXIs there a way to configure pdflatex to make all but the .tex and .pdf files hidden files?How to automate a workflow: several files in 1 master .texWorking on multiple tex files using different fonts using TexStudio - driving me insaneHow to obtain and use the .bbl file in my tex document for ArXiv submission?texdiff on plain tex filesarXiv: post supplementary files using external document and xrHow do I break a .tex file into two pdfs?How to combine 2 latex(.tex) files available in different folders from command line?

Is the concept of a "numerable" fiber bundle really useful or an empty generalization?

Science fiction (dystopian) short story set after WWIII

Why do remote companies require working in the US?

Can a caster that cast Polymorph on themselves stop concentrating at any point even if their Int is low?

What can we do to stop prior company from asking us questions?

Is HostGator storing my password in plaintext?

Too much space between section and text in a twocolumn document

How to be diplomatic in refusing to write code that breaches the privacy of our users

How do I go from 300 unfinished/half written blog posts, to published posts?

Can a single photon have an energy density?

How to get regions to plot as graphics

Example of a Mathematician/Physicist whose Other Publications during their PhD eclipsed their PhD Thesis

The King's new dress

Inappropriate reference requests from Journal reviewers

How to write the block matrix in LaTex?

What is the purpose of the Evocation wizard's Potent Cantrip feature?

Was a professor correct to chastise me for writing "Prof. X" rather than "Professor X"?

How easy is it to start Magic from scratch?

Trouble understanding the speech of overseas colleagues

How to Reset Passwords on Multiple Websites Easily?

Horror movie/show or scene where a horse creature opens its mouth really wide and devours a man in a stables

Visit to the USA with ESTA approved before trip to Iran

Is it safe to use c_str() on a temporary string?

Apart from "berlinern", do any other German dialects have a corresponding verb?



Merging multiple tex files of different document class



The Next CEO of Stack OverflowIssues when compiling TeX files with Vim and LaTeX-suiteGenerating PDF/A-1b compliant documents using pdfx and pdfLaTeXIs there a way to configure pdflatex to make all but the .tex and .pdf files hidden files?How to automate a workflow: several files in 1 master .texWorking on multiple tex files using different fonts using TexStudio - driving me insaneHow to obtain and use the .bbl file in my tex document for ArXiv submission?texdiff on plain tex filesarXiv: post supplementary files using external document and xrHow do I break a .tex file into two pdfs?How to combine 2 latex(.tex) files available in different folders from command line?










0















I have two tex files one for the main manuscript and the other for the supporting infomation. The definition of the documentclass is different for both tex files. Like for the main manuscript I defined as manuscript = article while for the supporting information I defined as manuscript = suppinfo. Now I want to compile both tex files together and generate a single pdf file. I tried to make a separate tex file and there I put includeFoo1/foo1 and includeFoo2foo2 but it is not working. I know this works when you have one type of documentclass but in my case as I said I have two documentclass (manuscript = article and manuscript=suppinfo). Can anyone give me any idea how to do it?
Thanks










share|improve this question









New contributor




Shubhadip Chakraborty is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Just merge the two pdfs outside LaTeX.

    – Johannes_B
    11 hours ago











  • Yes I did this. But would like to know if there is any other way to do this.

    – Shubhadip Chakraborty
    11 hours ago






  • 1





    You can only have one documentclass but it is usually not hard to edit the document so that they use the same class.

    – David Carlisle
    10 hours ago











  • @DavidCarlisle Out of curiousity I tried to solve this with defdocumentclass. show reveals that I have succesfully redefined it, but the log file still says that I can only use documentclass in the preamble. Why doesn't this work?

    – jaspast
    8 hours ago












  • @jaspast hard to guess what you did, but after the first use of documentclass it redefines itself to be an error, so it depends on the timing, where you tried the redefinition.

    – David Carlisle
    5 hours ago















0















I have two tex files one for the main manuscript and the other for the supporting infomation. The definition of the documentclass is different for both tex files. Like for the main manuscript I defined as manuscript = article while for the supporting information I defined as manuscript = suppinfo. Now I want to compile both tex files together and generate a single pdf file. I tried to make a separate tex file and there I put includeFoo1/foo1 and includeFoo2foo2 but it is not working. I know this works when you have one type of documentclass but in my case as I said I have two documentclass (manuscript = article and manuscript=suppinfo). Can anyone give me any idea how to do it?
Thanks










share|improve this question









New contributor




Shubhadip Chakraborty is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Just merge the two pdfs outside LaTeX.

    – Johannes_B
    11 hours ago











  • Yes I did this. But would like to know if there is any other way to do this.

    – Shubhadip Chakraborty
    11 hours ago






  • 1





    You can only have one documentclass but it is usually not hard to edit the document so that they use the same class.

    – David Carlisle
    10 hours ago











  • @DavidCarlisle Out of curiousity I tried to solve this with defdocumentclass. show reveals that I have succesfully redefined it, but the log file still says that I can only use documentclass in the preamble. Why doesn't this work?

    – jaspast
    8 hours ago












  • @jaspast hard to guess what you did, but after the first use of documentclass it redefines itself to be an error, so it depends on the timing, where you tried the redefinition.

    – David Carlisle
    5 hours ago













0












0








0








I have two tex files one for the main manuscript and the other for the supporting infomation. The definition of the documentclass is different for both tex files. Like for the main manuscript I defined as manuscript = article while for the supporting information I defined as manuscript = suppinfo. Now I want to compile both tex files together and generate a single pdf file. I tried to make a separate tex file and there I put includeFoo1/foo1 and includeFoo2foo2 but it is not working. I know this works when you have one type of documentclass but in my case as I said I have two documentclass (manuscript = article and manuscript=suppinfo). Can anyone give me any idea how to do it?
Thanks










share|improve this question









New contributor




Shubhadip Chakraborty is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I have two tex files one for the main manuscript and the other for the supporting infomation. The definition of the documentclass is different for both tex files. Like for the main manuscript I defined as manuscript = article while for the supporting information I defined as manuscript = suppinfo. Now I want to compile both tex files together and generate a single pdf file. I tried to make a separate tex file and there I put includeFoo1/foo1 and includeFoo2foo2 but it is not working. I know this works when you have one type of documentclass but in my case as I said I have two documentclass (manuscript = article and manuscript=suppinfo). Can anyone give me any idea how to do it?
Thanks







pdftex






share|improve this question









New contributor




Shubhadip Chakraborty is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Shubhadip Chakraborty is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 11 hours ago







Shubhadip Chakraborty













New contributor




Shubhadip Chakraborty is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 12 hours ago









Shubhadip ChakrabortyShubhadip Chakraborty

1




1




New contributor




Shubhadip Chakraborty is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Shubhadip Chakraborty is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Shubhadip Chakraborty is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • Just merge the two pdfs outside LaTeX.

    – Johannes_B
    11 hours ago











  • Yes I did this. But would like to know if there is any other way to do this.

    – Shubhadip Chakraborty
    11 hours ago






  • 1





    You can only have one documentclass but it is usually not hard to edit the document so that they use the same class.

    – David Carlisle
    10 hours ago











  • @DavidCarlisle Out of curiousity I tried to solve this with defdocumentclass. show reveals that I have succesfully redefined it, but the log file still says that I can only use documentclass in the preamble. Why doesn't this work?

    – jaspast
    8 hours ago












  • @jaspast hard to guess what you did, but after the first use of documentclass it redefines itself to be an error, so it depends on the timing, where you tried the redefinition.

    – David Carlisle
    5 hours ago

















  • Just merge the two pdfs outside LaTeX.

    – Johannes_B
    11 hours ago











  • Yes I did this. But would like to know if there is any other way to do this.

    – Shubhadip Chakraborty
    11 hours ago






  • 1





    You can only have one documentclass but it is usually not hard to edit the document so that they use the same class.

    – David Carlisle
    10 hours ago











  • @DavidCarlisle Out of curiousity I tried to solve this with defdocumentclass. show reveals that I have succesfully redefined it, but the log file still says that I can only use documentclass in the preamble. Why doesn't this work?

    – jaspast
    8 hours ago












  • @jaspast hard to guess what you did, but after the first use of documentclass it redefines itself to be an error, so it depends on the timing, where you tried the redefinition.

    – David Carlisle
    5 hours ago
















Just merge the two pdfs outside LaTeX.

– Johannes_B
11 hours ago





Just merge the two pdfs outside LaTeX.

– Johannes_B
11 hours ago













Yes I did this. But would like to know if there is any other way to do this.

– Shubhadip Chakraborty
11 hours ago





Yes I did this. But would like to know if there is any other way to do this.

– Shubhadip Chakraborty
11 hours ago




1




1





You can only have one documentclass but it is usually not hard to edit the document so that they use the same class.

– David Carlisle
10 hours ago





You can only have one documentclass but it is usually not hard to edit the document so that they use the same class.

– David Carlisle
10 hours ago













@DavidCarlisle Out of curiousity I tried to solve this with defdocumentclass. show reveals that I have succesfully redefined it, but the log file still says that I can only use documentclass in the preamble. Why doesn't this work?

– jaspast
8 hours ago






@DavidCarlisle Out of curiousity I tried to solve this with defdocumentclass. show reveals that I have succesfully redefined it, but the log file still says that I can only use documentclass in the preamble. Why doesn't this work?

– jaspast
8 hours ago














@jaspast hard to guess what you did, but after the first use of documentclass it redefines itself to be an error, so it depends on the timing, where you tried the redefinition.

– David Carlisle
5 hours ago





@jaspast hard to guess what you did, but after the first use of documentclass it redefines itself to be an error, so it depends on the timing, where you tried the redefinition.

– David Carlisle
5 hours ago










0






active

oldest

votes












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
);



);






Shubhadip Chakraborty is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f481933%2fmerging-multiple-tex-files-of-different-document-class%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes








Shubhadip Chakraborty is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















Shubhadip Chakraborty is a new contributor. Be nice, and check out our Code of Conduct.












Shubhadip Chakraborty is a new contributor. Be nice, and check out our Code of Conduct.











Shubhadip Chakraborty is a new contributor. Be nice, and check out our Code of Conduct.














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.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f481933%2fmerging-multiple-tex-files-of-different-document-class%23new-answer', 'question_page');

);

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







Popular posts from this blog

Styletc

Tórshavn Kliima | Partnerstääden | Luke uk diar | Nawigatsjuun62° 1′ N, 6° 46′ W62° 1′ 0″ N, 6° 46′ 0″ WWMOTórshavn