Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have two files: paper.tex with text, title, and full preamble with authors and so on. It compiles successfully.

The second file (B) has also a full preamble with title, authors, little text. It compiles also successfully. File B is in other language than English.

I need to have the content of file B in paper.tex output WITH TITLE, AUTHORS, etc.

In other words, I need a document with TWO title pages - 1'st titlepage should be in English and come from paper.tex and should appear as normal. Second title page should appear with ALL formatting in last page and should be in another language with different babel and so on.

\include{B} in this situation does not work. How can I achieve this? Thank all for any kind of help.

share|improve this question
Welcome to TeX.sx! – texenthusiast Mar 15 at 9:42
1  
Can you stitch the PDFs together with e.g. pdftk? That might be the best solution. – Seamus Mar 15 at 9:54
Have a look at the standalone package‌​. To quote the manual: "The package standalone can be used in the main document to skip all extra preambles in included files. The main file must load all packages and settings required by the sub-files. Several package options are provided to collect the preambles of the sub-files automatically and execute them from the main file." – benwilfut Mar 15 at 9:58
Ah, sorry, I think I didn't read your question properly. The issue with the two titlepages would not be so easily solved with standalone. My apologies. – benwilfut Mar 15 at 10:06
@benwlfut , thank for a answer and recommendations, but I've tested and a package standalone does not fit my requirements. – user27359 Mar 16 at 15:47

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.