Re: [NTG-context] entity-relation diagram

2011-06-03 Thread Vedran Miletić
2011/6/4 Cecil Westerhof : > Is it possible to make an entity-relation diagram with ConTeXt, or can > I better look for another tool? > > -- > Cecil Westerhof MetaPost has expressg package (not sure if it works with ConTeXt), and there is also TikZ-based solution: http://www.texample.net/tikz/exam

[NTG-context] Custom function

2011-06-03 Thread Stéphanie Vilayphiou
Hello, I'm rather new to ConTeXt and would like to simplify my document, in order to simplify processing of documents. I have this: \defineparagraphs[infos][n=1] \setupparagraphs[infos][1][ style={\switchtobodyfont[6pt]}, %command=, ] \starttext \startinfos \smash{\lower2

[NTG-context] entity-relation diagram

2011-06-03 Thread Cecil Westerhof
Is it possible to make an entity-relation diagram with ConTeXt, or can I better look for another tool? -- Cecil Westerhof ___ If your question is of interest to others as well, please add an entry to the Wiki! maill

Re: [NTG-context] I do not get a highlighted header with M-database

2011-06-03 Thread Cecil Westerhof
2011/6/3 Marco : >> I looked at the example at: >>     http://wiki.contextgarden.net/M-database >> >> In this  example the first  row is highlighted.  I tried >> something  like that,  but I  do not  get a  highlighted >> first row.  I attached my  tex and  pdf file. What  am I >> doing wrong? > >

Re: [NTG-context] undefined control sequence bug with German umlaut in bibliography

2011-06-03 Thread Pontus Lurcock
On Fri 03 Jun 2011, Thomas A. Schmitz wrote: > But I admit it's not easy to know that, bibtex documentation is a > real mess Patience please! ‘This document will be expanded when BibTEX version 1.00 comes out’ -- BIBTEXing, February 8, 1988. :-) Pont

Re: [NTG-context] Wiki Topics Menu

2011-06-03 Thread Pontus Lurcock
On Fri 03 Jun 2011, Mathieu DUPONT wrote: > Is there a menu page on the wiki to see all the topics/pages there > are, such as these few examples : Do you mean something like http://wiki.contextgarden.net/Special:AllPages ? http://wiki.contextgarden.net/Special:SpecialPages has some other resource

[NTG-context] marginal material in Arabic, tei/xml context mkiv

2011-06-03 Thread Jon Crump
All, Pardon for trying to boost the topic, but I still can't seem to gain control over marginal material in an Arabic section using the new typo-mar.mkiv. I confess, it's quite likely that I'm just not getting something obvious. I've rotated the page to landscape to show where the marginal materi

Re: [NTG-context] xml syntax for \externalfigure

2011-06-03 Thread Hans Hagen
On 4-6-2011 12:14, Peter Münster wrote: On Fri, Jun 03 2011, Thomas A. Schmitz wrote: Ah, expdoifelse is for "expanded doifelse," right? Any examples for such a lua helper? Sounds good, but I still haven't been able to understand how to mix xml and lua code. \startluacode function my_external

Re: [NTG-context] xml syntax for \externalfigure

2011-06-03 Thread Peter Münster
On Fri, Jun 03 2011, Thomas A. Schmitz wrote: > Ah, expdoifelse is for "expanded doifelse," right? Any examples for such a lua > helper? Sounds good, but I still haven't been able to understand how to mix > xml and lua code. \startluacode function my_externalfigure(file, t) local args_present

Re: [NTG-context] xml syntax for \externalfigure

2011-06-03 Thread Thomas A. Schmitz
On Jun 3, 2011, at 10:50 PM, Hans Hagen wrote: > On 3-6-2011 10:19, Thomas A. Schmitz wrote: >> >> Hmm, almost... Gives the dreaded "Missing number, treated as zero" error. >> But your "fit" gave me an idea: this works: >> >> [height=\xmlattdef{#1}{height}{fit}] >> >> but only if I have a rea

Re: [NTG-context] xml syntax for \externalfigure

2011-06-03 Thread Thomas A. Schmitz
On Jun 3, 2011, at 10:19 PM, Thomas A. Schmitz wrote: > Hmm, almost... Gives the dreaded "Missing number, treated as zero" error. But > your "fit" gave me an idea: this works: > > [height=\xmlattdef{#1}{height}{fit}] > > but only if I have a real dimension as in height="5cm". What if I want to

Re: [NTG-context] Include a list in a list, for example, a List of Figures in a Table of Content

2011-06-03 Thread Hans Hagen
On 3-6-2011 7:10, Mathieu DUPONT wrote: Hi, How can one include a list into another list ?The \definecombinedlist command doesn't work.I tried to find other ways but didn't find anything that worked. Thanks for help ! \definecombinedlist[TOC][chapter,LOF]\definecombinedlist[LOF][figure] \setu

Re: [NTG-context] xml syntax for \externalfigure

2011-06-03 Thread Hans Hagen
On 3-6-2011 10:19, Thomas A. Schmitz wrote: On Jun 3, 2011, at 9:57 PM, Aditya Mahajan wrote: (untested) \exeternalfigure[...][height=\doifemptyelse{\xmlatt{#1}{height}}{fit}{\xmlatt{#1}{height}}] Aditya Hmm, almost... Gives the dreaded "Missing number, treated as zero" error. But your "f

Re: [NTG-context] xml syntax for \externalfigure

2011-06-03 Thread Thomas A. Schmitz
On Jun 3, 2011, at 9:57 PM, Aditya Mahajan wrote: > (untested) > > \exeternalfigure[...][height=\doifemptyelse{\xmlatt{#1}{height}}{fit}{\xmlatt{#1}{height}}] > > Aditya Hmm, almost... Gives the dreaded "Missing number, treated as zero" error. But your "fit" gave me an idea: this works: [hei

Re: [NTG-context] xml syntax for \externalfigure

2011-06-03 Thread Aditya Mahajan
On Fri, 3 Jun 2011, Thomas A. Schmitz wrote: Hi all, I'm pulling my hair - thought this was easy, but turns out to be more difficult. The \externalfigure command can take a width and/or a height parameter, and context will be happy to take either one into account. I'm trying to translate tha

Re: [NTG-context] No chapter prefixes in section numbers

2011-06-03 Thread Mathieu DUPONT
Is there an exhaustive list of all the parameters the \setuphead function can take ? Neither the 2011 ConTeXt Commands Manual nor the Wiki Command Reference page mention this one (sectionsegments). Where can I find all the parameters one ConTeXt command can take ? Thanks for enlightenment ! M

[NTG-context] xml syntax for \externalfigure

2011-06-03 Thread Thomas A. Schmitz
Hi all, I'm pulling my hair - thought this was easy, but turns out to be more difficult. The \externalfigure command can take a width and/or a height parameter, and context will be happy to take either one into account. I'm trying to translate that into xml syntax. Here's a minimal example that

Re: [NTG-context] undefined control sequence bug with German umlaut in bibliography

2011-06-03 Thread Thomas A. Schmitz
On Jun 3, 2011, at 8:38 PM, Julian Becker wrote: > I came across an issue in context (context ver. 2011.05.18 22:26, LuaTeX ver: > beta-0.65.0-2010121421 (rev 4034) ) when trying to cite a bibliography item > having an author with a German umlaut "ä" > >From btxdoc, which is part of texlive:

[NTG-context] undefined control sequence bug with German umlaut in bibliography

2011-06-03 Thread Julian Becker
I came across an issue in context (context ver. 2011.05.18 22:26, LuaTeX ver: beta-0.65.0-2010121421 (rev 4034) ) when trying to cite a bibliography item having an author with a German umlaut "ä" Compiling the short example below, produces the following output and then

Re: [NTG-context] I do not get a highlighted header with M-database

2011-06-03 Thread Mojca Miklavec
On Fri, Jun 3, 2011 at 18:23, Marco wrote: > > The example on the wiki is not exact. You can use "view source"/"edit" to see the full source. Yes, it is a tiny simplification. Mojca ___ If your question is of interest

Re: [NTG-context] Problem installing minimals on PowerMac G4

2011-06-03 Thread Mojca Miklavec
Please send a complete log. Mojca ___ 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

Re: [NTG-context] Problem installing minimals on PowerMac G4

2011-06-03 Thread Robert Blackstone
On Thu, 2 Jun 2011 17:53:34 +0200 Mojca Miklavec wrote > Where did you install the minimals? First of all: thank you for your quick reply. As usual I installed it in a subdirectory of my Home directory. I would assume that there would not be any problems of permissions. However I did chmod -R

[NTG-context] Include a list in a list, for example, a List of Figures in a Table of Content

2011-06-03 Thread Mathieu DUPONT
Hi, How can one include a list into another list ?The \definecombinedlist command doesn't work.I tried to find other ways but didn't find anything that worked. Thanks for help ! \definecombinedlist[TOC][chapter,LOF]\definecombinedlist[LOF][figure] \setupheadtext[TOC=Table of Content]\setupheadt

[NTG-context] Wiki Topics Menu

2011-06-03 Thread Mathieu DUPONT
Hi, Is there a menu page on the wiki to see all the topics/pages there are, such as these few examples : http://wiki.contextgarden.net/TABLEhttp://wiki.contextgarden.net/Layout I really can't find it if it exits.Otherwise that would be very, very useful, rather that only hitting them when searc

Re: [NTG-context] DocBook in ConTeXt - any new ideas?

2011-06-03 Thread Hans Hagen
On 3-6-2011 5:43, R. Ermers wrote: I tried typesetting docbook with Context, it can be done, I but got stuck on the cals tables and some other things. Cals tables can be processed, albeit as separate documents only - not as part of the docbook file - and then imported as pdf files. This was t

Re: [NTG-context] I do not get a highlighted header with M-database

2011-06-03 Thread Marco
On 2011-06-03 Cecil Westerhof wrote: > I looked at the example at: > http://wiki.contextgarden.net/M-database > > In this example the first row is highlighted. I tried > something like that, but I do not get a highlighted > first row. I attached my tex and pdf file. What am I > d

[NTG-context] I do not get a highlighted header with M-database

2011-06-03 Thread Cecil Westerhof
I looked at the example at: http://wiki.contextgarden.net/M-database In this example the first row is highlighted. I tried something like that, but I do not get a highlighted first row. I attached my tex and pdf file. What am I doing wrong? -- Cecil Westerhof dummy.tex Description: TeX doc

Re: [NTG-context] DocBook in ConTeXt - any new ideas?

2011-06-03 Thread R. Ermers
I tried typesetting docbook with Context, it can be done, I but got stuck on the cals tables and some other things. Cals tables can be processed, albeit as separate documents only - not as part of the docbook file - and then imported as pdf files. This was too cumbersome for me, and does not agr

Re: [NTG-context] teletype style in type-win.mkiv

2011-06-03 Thread Wolfgang Schuster
Am 02.06.2011 um 22:56 schrieb Pontus Lurcock: > On Thu 02 Jun 2011, Richard Stephens wrote: > >> \setupbodyfont[helvetica, 10pt] >> >> which is indistinguishable from Arial for 99% of the population, and >> it has the advantage that all the styles are already defined, >> including \tt. > > An