Hello, I have some experience using LaTeX as I have used it to typeset two master theses. Having started a PhD a year ago, the need to write some publications arises. However, while IEEE conferences/journals used to offer LaTeX templates in the past (as far as I know), it seems that recently LaTeX support is being dropped and only MS Word templates are offered. Take for example the RFIC 2009 conference: http://www.rfic2009.org/rfic2009/authorguide.html Considering my more-or-less good experiences with LaTeX in the past, I still prefer to write a publication using LaTeX, and not Word. This would require me to copy the MS Word template in LaTeX. However, I do remember that fine-tuning things to look just the way I want in LaTeX can result in quite the headache. That's why I started looking for alternatives. Initially discarding TeX and all it's descendents because they are 'not very modern', I ended up with Lout (http://lout.wiki.sourceforge.net/). This looked quite promising, as I managed to closely approximate the Word template by means of adjusting the options to the "report" document class Lout offers (not considering images and tabled for the moment): http://homes.esat.kuleuven.be/~bmachiel/rfic/rfic2009f By extending the reportf class definition, I also managed to add an "index terms" section: http://homes.esat.kuleuven.be/~bmachiel/rfic/rfic2009f This was all surprisingly painless. The document lout source and pdf are at: http://homes.esat.kuleuven.be/~bmachiel/rfic/template.lout http://homes.esat.kuleuven.be/~bmachiel/rfic/template_lout.pdf However, trying to learn more about Lout -- for example to change subsection numbering -- it seems that the programming language that Lout offers confuses me almost as much as TeX macros do. Perhaps my mind is accustomed too much to nice object-oriented languages like Python and I simply cannot be bothered by this complex stuff anymore. (a Python-based typesetting system; now that would be heaven... maybe) Some other things bother me about Lout: * Much smaller userbase than (La)TeX. Will I find the help I need? * No means of "inheriting" the report class and changing it. I have to physically copy the class definition and change the code. I recall it is possible to do some kind of redefinition in TeX, right? In looking for an alternative to this alternative, I found that the TeX community is very much alive. Even though TeX's 'not very modern'-ness, these new developments might offer something interesting. I remembered that ConTeXt, unlike LaTeX, allows much finer control over the layout of a document. Hence, it would probably be the next candidate for this little typesetting adventure of mine. Today, I finally got my hands dirty and tried to recreate the RFIC2009 template using ConTeXt. Unfortunately, due to a lack of a good document class to start with, it is proving to be much more difficult to create something that resembles the Word template. As I have also read on this mailing list, the documentation, while there is plently to be found, is a bit messy. Appareantly the documentation is not up to date with ConTeXt? Perhaps it would be good to remove outdated documentation and clearly present only one reference manual (the most up to date) to the new user. I did find some samples on the wiki, but the first two that I tried to compile apparently required some extra packages. Also, while I always thought it was a good idea to seperate content and layout, some of the examples on the wiki seem to suggest to mix them. Or is this the philosophy behind ConTeXt? May I suggest some work is put into creating some basic (plain) document templates (well-commented) which can be used by ConTeXt newbies, but can also be used as starting points for creating new templates? On to the template then. http://homes.esat.kuleuven.be/~bmachiel/rfic/rfic2009.tex This is a first attempt at creating an environment to describe the layout of the template. As you can see, I have not yet gotten far. I copied the title code from the contextgarden wiki. The TeX code makes me shiver however. I will have to catch up on that. http://homes.esat.kuleuven.be/~bmachiel/rfic/template.tex This is the template itself. I basically want this file to contain as little layout stuff as possible. I would like to define the title, author, abstract and index terms before \starttext. If possible, the environment should place those parts automatically without having to specify \placetitle after \starttext. I was hoping that the friendly people on this mailing list might help me get started in creating this template. Let's start with the following: * title, author, abstract and index terms as explained above * the fact that there are 2 columns should be specified in the environment * define title, author, abstract and index terms fonts clearly, similar as in the Lout rfic2009 file and use this information to format the title stuff. Looking at the countless documents that show off ConTeXt, it is obvious that it is very much possible of creating custom layouts. However, I wonder, how much TeX hacking is required? Kind regards, Brecht
2008/12/28 Brecht Machiels
http://homes.esat.kuleuven.be/~bmachiel/rfic/template_lout.pdf
Two observations: - AR8@Linux complains about a bad /BBox in Times-RomanSC - none of the fonts are embedded Best Martin
On Sun, 28 Dec 2008, Brecht Machiels wrote:
Looking at the countless documents that show off ConTeXt, it is obvious that it is very much possible of creating custom layouts. However, I wonder, how much TeX hacking is required?
I have submitted around 3-4 IEEE conference documents using ConTeXt. I am attaching my private t-IEEE.tex module, which takes care of formatting things in IEEE format. I also have a bbl file for formatting in IEEE style, which is used by the above module. Unfortunately, I do not have any documentation (this was meant to be a private module). It also has a lot of private macros which are not layout specific, but I use them in almost all my documents. I haven't used this style in almost 6 months, so they may not conform to the latest spec. (IEEE keeps on changing specs with time and with conferences, which is a bit frustating). If others are interested, I can also release it on ConTeXt garden and provide some documentation. Aditya PS: In your environment file you have \setuplayout[ header = 0pt, footer = 0pt, headerdistance = 0pt, footerdistance = 0pt, top = 1.125in, topdistance = 0pt, bottom = 1.125in, bottomdistance = 0pt, leftedge = 0.85in, rightedge = 0.85in, height = fit] ConTeXt will silently ignore all of this. You must not have space between keywords and options. Write this as \setuplayout[ header=0pt, footer=0pt, headerdistance=0pt, footerdistance=0pt, top=1.125in, topdistance=0pt, bottom=1.125in, bottomdistance=0pt, leftedge=0.85in, rightedge=0.85in, height=fit]
Am 28.12.2008 um 16:56 schrieb Aditya Mahajan:
On Sun, 28 Dec 2008, Brecht Machiels wrote:
Looking at the countless documents that show off ConTeXt, it is obvious that it is very much possible of creating custom layouts. However, I wonder, how much TeX hacking is required?
I have submitted around 3-4 IEEE conference documents using ConTeXt. I am attaching my private t-IEEE.tex module, which takes care of formatting things in IEEE format. I also have a bbl file for formatting in IEEE style, which is used by the above module.
I wrote a style too based on the information Machiel used in his style and I got from the example document. Wolfgang
On Sun, 28 Dec 2008, Wolfgang Schuster wrote:
Am 28.12.2008 um 16:56 schrieb Aditya Mahajan:
On Sun, 28 Dec 2008, Brecht Machiels wrote:
Looking at the countless documents that show off ConTeXt, it is obvious that it is very much possible of creating custom layouts. However, I wonder, how much TeX hacking is required?
I have submitted around 3-4 IEEE conference documents using ConTeXt. I am attaching my private t-IEEE.tex module, which takes care of formatting things in IEEE format. I also have a bbl file for formatting in IEEE style, which is used by the above module.
I wrote a style too based on the information Machiel used in his style and I got from the example document.
Your style is cleaner than mine in certain places. I will try to merge them into my style the next time I work on this style. BTW, why use the terse conversion=A|R, rather than the more versbose Characters and Romannumberals. We are not trying to make context code look like latex, are we? ;-) Aditya
Aditya Mahajan
On Sun, 28 Dec 2008, Brecht Machiels wrote:
Looking at the countless documents that show off ConTeXt, it is obvious that it is very much possible of creating custom layouts. However, I wonder, how much TeX hacking is required?
I have submitted around 3-4 IEEE conference documents using ConTeXt. I am attaching my private t-IEEE.tex module, which takes care of formatting things in IEEE format. I also have a bbl file for formatting in IEEE style, which is used by the above module.
Unfortunately, I do not have any documentation (this was meant to be a private module). It also has a lot of private macros which are not layout specific, but I use them in almost all my documents. I haven't used this style in almost 6 months, so they may not conform to the latest spec. (IEEE keeps on changing specs with time and with conferences, which is a bit frustating).
If others are interested, I can also release it on ConTeXt garden and provide some documentation.
Aditya
Hi Aditya, In general I find other peoples "templates" very educational.
PS: In your environment file you have
\setuplayout[ header = 0pt, footer = 0pt, headerdistance = 0pt, footerdistance = 0pt, top = 1.125in, topdistance = 0pt, bottom = 1.125in, bottomdistance = 0pt, leftedge = 0.85in, rightedge = 0.85in, height = fit]
ConTeXt will silently ignore all of this. You must not have space between keywords and options. Write this as
I've been using context, on and off, for 5 years and I did not know that! Does anyone know if there is a way to get context to stop when it sees an unknown option, instead of silently ignoring it? [...] -- John Devereux
On Sun, 28 Dec 2008, John Devereux wrote:
Aditya Mahajan
writes: In general I find other peoples "templates" very educational.
PS: In your environment file you have
\setuplayout[ header = 0pt, footer = 0pt, headerdistance = 0pt, footerdistance = 0pt, top = 1.125in, topdistance = 0pt, bottom = 1.125in, bottomdistance = 0pt, leftedge = 0.85in, rightedge = 0.85in, height = fit]
ConTeXt will silently ignore all of this. You must not have space between keywords and options. Write this as
I've been using context, on and off, for 5 years and I did not know that!
Does anyone know if there is a way to get context to stop when it sees an unknown option, instead of silently ignoring it?
The way this is dealt with in the core is by specifying options using \c!header, etc. This has two advantages: First we get a multi-lingual interface for free. Second any typos in the keys are caught. This does not catch "mistakes" like giving an new option to a command, for example specifying headstyle=something to \setuphead (headstyle is valid for \setupitemgroup, but not for \setuphead). There is, however, no way of catching "errors" like height= fit, Here context thinks that height is set to " fit" (with the space), and this does not match any of the cases in the code, so is ignored. Aditya
PS: In your environment file you have
\setuplayout[ header = 0pt, footer = 0pt, headerdistance = 0pt, footerdistance = 0pt, top = 1.125in, topdistance = 0pt, bottom = 1.125in, bottomdistance = 0pt, leftedge = 0.85in, rightedge = 0.85in, height = fit]
ConTeXt will silently ignore all of this. You must not have space between keywords and options. Write this as
I've been using context, on and off, for 5 years and I did not know that!
I understood that after many testings. I think it should be specified very clearly in docs. Best -a- -------------------------------------------------- Andrea Valle -------------------------------------------------- CIRMA - DAMS Università degli Studi di Torino --> http://www.cirma.unito.it/andrea/ --> http://www.myspace.com/andreavalle --> andrea.valle@unito.it -------------------------------------------------- - La Repubblica promuove lo sviluppo della cultura e la ricerca scientifica e tecnica. - La Repubblica detta le norme generali sull'istruzione ed istituisce scuole statali per tutti gli ordini e gradi. (Costituzione della Repubblica Italiana, art. 9 e 33) -------------------------------------------------- Andrea Valle -------------------------------------------------- CIRMA - DAMS Università degli Studi di Torino --> http://www.cirma.unito.it/andrea/ --> http://www.myspace.com/andreavalle --> andrea.valle@unito.it -------------------------------------------------- "The objectives of SuperCollider have been taken a stage further with the development of SAOL, the fruits of a research project based at MIT, launched in 1998" (P. Manning, Electronic and Computer Music, revised and expanded edition, 2004)
participants (6)
-
Aditya Mahajan
-
Andrea Valle
-
Brecht Machiels
-
John Devereux
-
Martin Schröder
-
Wolfgang Schuster