ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Brecht Machiels <brecht@mos6581.org>
To: ntg-context@ntg.nl
Subject: specific document layout with ConTeXt
Date: Sun, 28 Dec 2008 02:36:23 +0100	[thread overview]
Message-ID: <4956D817.5050806@mos6581.org> (raw)

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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


             reply	other threads:[~2008-12-28  1:36 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-28  1:36 Brecht Machiels [this message]
2008-12-28 14:00 ` Martin Schröder
     [not found] ` <alpine.LNX.2.00.0812281040040.16071@nqv-yncgbc>
2008-12-28 16:06   ` Wolfgang Schuster
2008-12-28 19:40     ` Aditya Mahajan
2008-12-28 19:04   ` John Devereux
2008-12-28 19:50     ` Aditya Mahajan
2008-12-28 21:42     ` Andrea Valle
2008-12-28 23:56 Brecht Machiels
2008-12-29 15:45 ` Wolfgang Schuster
2008-12-29 17:55   ` Brecht Machiels
2008-12-29 18:09     ` Wolfgang Schuster
2008-12-29 18:52       ` Brecht Machiels
2008-12-29 19:06         ` Wolfgang Schuster
     [not found] <mailman.3940.1230479853.19169.ntg-context@ntg.nl>
2009-01-05  8:20 ` richard.stephens
2009-01-05 13:44   ` Aditya Mahajan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4956D817.5050806@mos6581.org \
    --to=brecht@mos6581.org \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).