[NTG-context] xml - handling of figures
Dear all, I converted a latex file to xml docbook by means of pandoc. In intend to process the file with context. The first results are very promising. I have some questions on processing graphics. The source file looks like this: caption to this wonderful cow (see also http://www.docbook.org/tdg5/en/html/imageobject.html) I defined the setups as follows: \startxmlsetups xml:inlinemediaobject:imageobject:imagedata \placeedgefigure{}{\framed[frame=off]{\setlayer[graphics]{\externalfigure[\xmlatt{#1}{fileref}]}}} \stopxmlsetups Context places the figures nicely in the file. So far so good! Now I would like to use: 1. the scaling information in the scale attribute 2. in some instances the image is not scaled, but needs to be enlarged according to a fixed height and width. 3. I would like to print the caption. I looked into Hans' documents on xml, but the examples are different from those that I have. At least, I seem not to understand them. Does anyone have an advice? ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Arabic typesetting with ConTeXt: 'hello world'
Dear all, I read Jon's, Khalid's, and Idriss' exchange of mails on typesetting Arabic a while ago. Problems with typesetting Arabic in context thusfar have been my only reason left for not switching over to ConteXt altogether. Idriss adviced to forget the mirroring thing as suggested on contextgarden, and use \setupdirections instead. Could anyone - perhaps Jon - please tell me in more detail how the working 'hello world' example looks like, including the references to the font ScheherazadeRegOT.ttf? Thanks in advance! Robert ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] serial letters with letter module
Dear All, I have been using Hans' old correspondence module with an xml - rng database as documented for a number of years. I now want to switch to Wolfgang's letter module, but do not know how to connect it to the xml database. For example, commands like: \XMLprocesscontacts[./../../adressen-xml/adressen.xml] \setvariables [letter:data] [address=\XMLflush{address}, prefix=\XMLflush{prefix} ] do not work anymore. Could anyone (Wolfgang?) help me out in this ? I have installed both mkiv and mkii. Thanks on beforehand, Robert ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___