compiling complex file
![](https://secure.gravatar.com/avatar/abcf726e8937bab9f50babda19270124.jpg?s=120&d=mm&r=g)
(I'm sorry, Hans, Taco, I' ve already sent it, always with some posting problems, so there are 2 posts to be approved by moderator: I tried to remove them but the process failed). Dear ConTeXter, I'm having some troubles in compiling a document. I'm writing a short book (a tutorial). I writing each chapter on a separate file, then I have a main file using this kind of structure \input stile ... \input 00.introduzione \page \input 01.scGrado0 \page \input 02.architettura ... Where \input is used to insert each chapter. Also, I'm using a sort of style file defining the setups, and I'm inputting it as the first line of my "main.tex" file. Some chapters contain long framed \type parts (it's a book on a programming language), filling an entire page. When I compile each chapter file, I have no problem. But I can't compile the main file. ConTeXt keeps on adding blank pages on blank pages (total is approx. 100 pages, I stopped ConTeXt at 635). I guess it could depend on framed \type but can't understand how to solve it. Here one of the most "difficult" files. By itself it compiles properly (perfectly...I like it). http://www.semiotiche.it/andrea/membrana/03.oggetti.tex Here the compiled file (it uses a lot of images and other stuff so you can't compile it): http://www.semiotiche.it/andrea/membrana/03.oggetti.pdf Here the style file: http://www.semiotiche.it/andrea/membrana/stile.tex Here the main file: http://www.semiotiche.it/andrea/membrana/main.tex Many thanks as usual -a- Andrea Valle DAMS - Facoltà di Scienze della Formazione Università degli Studi di Torino http://www.semiotiche.it/andrea andrea.valle@unito.it Andrea Valle DAMS - Facoltà di Scienze della Formazione Università degli Studi di Torino http://www.semiotiche.it/andrea andrea.valle@unito.it
![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
Dear ConTeXter,
I'm having some troubles in compiling a document.
I'm writing a short book (a tutorial). I writing each chapter on a separate file, then I have a main file using this kind of structure
\input stile ... \input 00.introduzione \page \input 01.scGrado0 \page \input 02.architettura ...
Where \input is used to insert each chapter.
Also, I'm using a sort of style file defining the setups, and I'm inputting it as the first line of my "main.tex" file.
Try changing your document structure according to http://wiki.contextgarden.net/Project_structure Aditya
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
On Wed, 21 Feb 2007 22:21:15 +0100
andrea valle
(I'm sorry, Hans, Taco, I' ve already sent it, always with some posting problems, so there are 2 posts to be approved by moderator: I tried to remove them but the process failed).
Dear ConTeXter,
I'm having some troubles in compiling a document.
I'm writing a short book (a tutorial). I writing each chapter on a separate file, then I have a main file using this kind of structure
\input stile ... \input 00.introduzione \page \input 01.scGrado0 \page \input 02.architettura ...
Where \input is used to insert each chapter.
Also, I'm using a sort of style file defining the setups, and I'm inputting it as the first line of my "main.tex" file.
Some chapters contain long framed \type parts (it's a book on a programming language), filling an entire page. When I compile each chapter file, I have no problem. But I can't compile the main file. ConTeXt keeps on adding blank pages on blank pages (total is approx. 100 pages, I stopped ConTeXt at 635). I guess it could depend on framed \type but can't understand how to solve it. Here one of the most "difficult" files. By itself it compiles properly (perfectly...I like it).
http://www.semiotiche.it/andrea/membrana/03.oggetti.tex
Here the compiled file (it uses a lot of images and other stuff so you can't compile it):
http://www.semiotiche.it/andrea/membrana/03.oggetti.pdf
Here the style file:
http://www.semiotiche.it/andrea/membrana/stile.tex
Here the main file: http://www.semiotiche.it/andrea/membrana/main.tex
Many thanks as usual
-a-
Hi Andrea, TeX has problems to find your documents, this is no problem when you compile them alone, but TeX means after the \input command you have a file with the name "00.introduzione" with "00" as filename and "introduzione" as file type. You should try to use something else as seperator between the number and the text in your filenames like "-". You should also try to use ConTeXts own commands for documents structures as Aditya told you in the other post. Wolfgang
![](https://secure.gravatar.com/avatar/abcf726e8937bab9f50babda19270124.jpg?s=120&d=mm&r=g)
Thanks Wolfgang and Aditya, I'll try to use ConTeXt structure and report back. I will change filenames, it's cleaner, but it's not that one the problem (I used other filenames without the dot and result was the same). Many thanks Best -a- On 22 Feb 2007, at 10:45, Wolfgang Schuster wrote:
On Wed, 21 Feb 2007 22:21:15 +0100 andrea valle
wrote: (I'm sorry, Hans, Taco, I' ve already sent it, always with some posting problems, so there are 2 posts to be approved by moderator: I tried to remove them but the process failed).
Dear ConTeXter,
I'm having some troubles in compiling a document.
I'm writing a short book (a tutorial). I writing each chapter on a separate file, then I have a main file using this kind of structure
\input stile ... \input 00.introduzione \page \input 01.scGrado0 \page \input 02.architettura ...
Where \input is used to insert each chapter.
Also, I'm using a sort of style file defining the setups, and I'm inputting it as the first line of my "main.tex" file.
Some chapters contain long framed \type parts (it's a book on a programming language), filling an entire page. When I compile each chapter file, I have no problem. But I can't compile the main file. ConTeXt keeps on adding blank pages on blank pages (total is approx. 100 pages, I stopped ConTeXt at 635). I guess it could depend on framed \type but can't understand how to solve it. Here one of the most "difficult" files. By itself it compiles properly (perfectly...I like it).
http://www.semiotiche.it/andrea/membrana/03.oggetti.tex
Here the compiled file (it uses a lot of images and other stuff so you can't compile it):
http://www.semiotiche.it/andrea/membrana/03.oggetti.pdf
Here the style file:
http://www.semiotiche.it/andrea/membrana/stile.tex
Here the main file: http://www.semiotiche.it/andrea/membrana/main.tex
Many thanks as usual
-a-
Hi Andrea,
TeX has problems to find your documents, this is no problem when you compile them alone, but TeX means after the \input command you have a file with the name "00.introduzione" with "00" as filename and "introduzione" as file type. You should try to use something else as seperator between the number and the text in your filenames like "-".
You should also try to use ConTeXts own commands for documents structures as Aditya told you in the other post.
Wolfgang
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Andrea Valle DAMS - Facoltà di Scienze della Formazione Università degli Studi di Torino http://www.semiotiche.it/andrea andrea.valle@unito.it
![](https://secure.gravatar.com/avatar/abcf726e8937bab9f50babda19270124.jpg?s=120&d=mm&r=g)
Yep, with structure it works really fine. Shame on me not to have tried it before... Many thanks -a- On 22 Feb 2007, at 13:36, andrea valle wrote:
Thanks Wolfgang and Aditya, I'll try to use ConTeXt structure and report back. I will change filenames, it's cleaner, but it's not that one the problem (I used other filenames without the dot and result was the same).
Many thanks
Best -a-
On 22 Feb 2007, at 10:45, Wolfgang Schuster wrote:
On Wed, 21 Feb 2007 22:21:15 +0100 andrea valle
wrote: (I'm sorry, Hans, Taco, I' ve already sent it, always with some posting problems, so there are 2 posts to be approved by moderator: I tried to remove them but the process failed).
Dear ConTeXter,
I'm having some troubles in compiling a document.
I'm writing a short book (a tutorial). I writing each chapter on a separate file, then I have a main file using this kind of structure
\input stile ... \input 00.introduzione \page \input 01.scGrado0 \page \input 02.architettura ...
Where \input is used to insert each chapter.
Also, I'm using a sort of style file defining the setups, and I'm inputting it as the first line of my "main.tex" file.
Some chapters contain long framed \type parts (it's a book on a programming language), filling an entire page. When I compile each chapter file, I have no problem. But I can't compile the main file. ConTeXt keeps on adding blank pages on blank pages (total is approx. 100 pages, I stopped ConTeXt at 635). I guess it could depend on framed \type but can't understand how to solve it. Here one of the most "difficult" files. By itself it compiles properly (perfectly...I like it).
http://www.semiotiche.it/andrea/membrana/03.oggetti.tex
Here the compiled file (it uses a lot of images and other stuff so you can't compile it):
http://www.semiotiche.it/andrea/membrana/03.oggetti.pdf
Here the style file:
http://www.semiotiche.it/andrea/membrana/stile.tex
Here the main file: http://www.semiotiche.it/andrea/membrana/main.tex
Many thanks as usual
-a-
Hi Andrea,
TeX has problems to find your documents, this is no problem when you compile them alone, but TeX means after the \input command you have a file with the name "00.introduzione" with "00" as filename and "introduzione" as file type. You should try to use something else as seperator between the number and the text in your filenames like "-".
You should also try to use ConTeXts own commands for documents structures as Aditya told you in the other post.
Wolfgang
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Andrea Valle DAMS - Facoltà di Scienze della Formazione Università degli Studi di Torino http://www.semiotiche.it/andrea andrea.valle@unito.it
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Andrea Valle DAMS - Facoltà di Scienze della Formazione Università degli Studi di Torino http://www.semiotiche.it/andrea andrea.valle@unito.it
participants (3)
-
Aditya Mahajan
-
andrea valle
-
Wolfgang Schuster