Re: [NTG-context] active chars in xml -- suggestions needed

2010-02-28 Thread Philipp Gesang
On 2010-02-28 08:52:14, Thomas A. Schmitz wrote: On Feb 28, 2010, at 8:32 AM, Philipp Gesang wrote: Dear listmates, I need some suggestions on how to setup non breaking spaces in XML. I tried an empty element nbsp/ to be processed as follows: \startxmlsetups xml:nbsp ~

[NTG-context] Macro with variable number of arguments

2010-02-28 Thread Otared Kavian
Hi all, I would like to write a macro which may have sometimes two, sometimes three arguments. The first and the last one are always present, but not necessarily the middle one. The unsatisfactory solution I have now is something like the example below: \define[2]\myMacroTwo{Name: #1\crlf

Re: [NTG-context] table alignment

2010-02-28 Thread Wolfgang Schuster
Am 27.02.10 20:40, schrieb Wolfgang Werners-Lucchini: If there is really no solution, I will make something with an empty first column. No page breaks possible: \defineframedtext[tablebox][frame=off,width=\hsize,offset=0pt,before=,after=] \starttext vorher \startnarrower text

Re: [NTG-context] Macro with variable number of arguments

2010-02-28 Thread Wolfgang Schuster
Am 28.02.10 09:54, schrieb Otared Kavian: Hi all, I would like to write a macro which may have sometimes two, sometimes three arguments. The first and the last one are always present, but not necessarily the middle one. The unsatisfactory solution I have now is something like the example

Re: [NTG-context] active chars in xml -- suggestions needed

2010-02-28 Thread Thomas A. Schmitz
On Feb 28, 2010, at 9:21 AM, Philipp Gesang wrote: Good morning Thomas, thanks very much, this way it works great. But is there any documentation on this apart from lxml-ini.mkiv and the list archive? Philipp I don't think that there is any docu on this particular question. I assume

Re: [NTG-context] active chars in xml -- suggestions needed

2010-02-28 Thread Hans Hagen
On 28-2-2010 9:21, Philipp Gesang wrote: On 2010-02-2808:52:14, Thomas A. Schmitz wrote: On Feb 28, 2010, at 8:32 AM, Philipp Gesang wrote: Dear listmates, I need some suggestions on how to setup non breaking spaces in XML. I tried an empty elementnbsp/ to be processed as follows:

Re: [NTG-context] MK-II to MK-IV

2010-02-28 Thread Hans Hagen
On 28-2-2010 3:47, gummybears wrote: Hi, A couple of years ago, I decided to switch from LaTex to ConText. Now I have compiled a lot of documents (Physics syllabi's) which compiles fine in MK-II. I thought I would try to make a switch to MK-IV, mainly because I want to include 3D PRC figures in

Re: [NTG-context] Presentation from document

2010-02-28 Thread Hans Hagen
On 27-2-2010 23:10, Matija Šuklje wrote: Hullo, I was wondering the other day: since most people make slides/presentations basically by copy-pasting the chapter and subchapter titles into bulleted lists, would it be possible to make slides in ConTeXt by just loading a module in the original

Re: [NTG-context] [MkII] Difference in output in minimals versus TeX Live 2009

2010-02-28 Thread Vedran Miletić
2010/2/26 Mojca Miklavec mojca.miklavec.li...@gmail.com: I suspect (though I don't really know) that the difference comes from different versions of TeX Gyre. There's a quick experiment you can do:    rsync -av \        /usr/local/texlive/2009/texmf-dist/fonts/tfm/public/tex-gyre/ \        

Re: [NTG-context] Macro with variable number of arguments

2010-02-28 Thread Otared Kavian
On 28 févr. 2010, at 10:17, Wolfgang Schuster wrote: \def\myMacro {\dotriplegroupempty\domyMacro} \def\domyMacro#1#2#3% {\doifelsenothing{#3} {Name: #1\crlf Email: #2\crlf} {Name: #1\crlf Address: #2 \crlf Email: #3\crlf}% \thinrule\blank[small]} Wolfgang Many thanks

Re: [NTG-context] Macro with variable number of arguments

2010-02-28 Thread Hans Hagen
On 28-2-2010 12:44, Otared Kavian wrote: On 28 févr. 2010, at 10:17, Wolfgang Schuster wrote: \def\myMacro {\dotriplegroupempty\domyMacro} \def\domyMacro#1#2#3% {\doifelsenothing{#3} {Name: #1\crlf Email: #2\crlf} {Name: #1\crlf Address: #2 \crlf Email: #3\crlf}%

Re: [NTG-context] Presentation from document

2010-02-28 Thread Matija Šuklje
Dne nedelja 28. februarja 2010 ob 12:34:22 je Hans Hagen napisal(a): there is no module for that but it's quite easy to do: just set up lists (chapter and section) and typeste a list of chapters/sections I've yet to do my first presentation in ConTeXt, so I have no idea how to do what you just

[NTG-context] Suggestions on fonts and foundries

2010-02-28 Thread Tom
Some time back I recall seeing a message in which someone discussed using fonts available from foundries and recommended certain ones. Unfortunately, I can't seem to find that message. I will probably need one serif font for the text of the book, a plain sans serif font to use for entries in a