On Mon, 5 Jan 2009, Mohamed Bana wrote:
I'am trying to convert a doc to ConTeXt, and I'm also trying to make it as
close to the original as possible. How do the command below translate to
ConTeXt?
1. \geometry{a4paper, textwidth=5.5in, textheight=8.5in, marginparsep=7pt,
marginparwidth=.6in}
For a4 paper use
\setuppapersize[a4][a4]
For setting geometry, see \setuplayout.
2. \scriptsize => \tfxx?
3. \LARGE and \Large
4. \Huge and \HUGE
Semantically, \scriptsize = \tfxx, \Large et. al. are \tfa \tfb \tfc \tfd
\tfe, but that may not give you visually the same appearance due to
different defaults in Latex and Context. In Latex, these sizes are set as
part of the documentclass, or size10.clo, size12.clo, etc. So, the most
reliable way to reconstruct the visual appearance will be to figure out
what sizes they correspond to in latex, and then set the context font
environmet to match the latex values.
Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / 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
___________________________________________________________________________________