[NTG-context] annotation?

2014-05-18 Thread H. van der Meer
Sorry if this question reaches you twice, but the first time I used an email address not registered with this newsgroup. The following mathml code typesets x+1 twice. How can I select between either the mathml code or the annotation form? Thus avoiding having them typeset both. Hans van der

[NTG-context] mathml mtext behaviour

2014-05-18 Thread H. van der Meer
Sorry if this question reaches you twice, but the first time I used an email address not registered with this newsgroup.The short example below typeset with\usemodule[mathml]\starttext\typebuffer\blank\processxmlbuffer\stoptextand "ConTeXt ver: 2014.04.04 00:08 MKIV beta" shows that the mtext

Re: [NTG-context] Lucida fonts with ConTeXt

2014-01-29 Thread H. van der Meer
On 29 jan. 2014, at 20:04, Fabrice Couvreur fabrice1.couvr...@gmail.com wrote: Hi, I want to use the Lucida fonts. I understand that these are commercial fonts that I must buy. What should buy and where ? Available from lucida-ad...@tug.org. Hans van der Meer

[NTG-context] unknown library 'loc'

2014-01-03 Thread H. van der Meer
Has someone an idee what causes the unknown library message as in the log below? Is it harmful? fontstypescripts unknown library 'loc'

[NTG-context] boxedcolumns weirdness

2013-12-29 Thread H. van der Meer
I am typesetting a series of items with boxedcolumns enclose in a framedtext: \startframedtext[width=\makeupwidth,offset=0pt,frame=off,align=tolerant] \startboxedcolumns[n=2,separator=rule] Occasionally it happens that material at the end of the first column is not typeset. It

Re: [NTG-context] pdf format

2013-12-24 Thread H. van der Meer
wrote: On 12/23/2013 5:43 PM, H. van der Meer wrote: In the past, when viewing the pdf produced by ConTeXt in the viewer of my browser (Safari) there is shown one page at a time. Old ones still do this. But pdf produced nowadyas is different, 4 pages appear in the browser window. The same happens

[NTG-context] pdf format

2013-12-23 Thread H. van der Meer
In the past, when viewing the pdf produced by ConTeXt in the viewer of my browser (Safari) there is shown one page at a time. Old ones still do this. But pdf produced nowadyas is different, 4 pages appear in the browser window. The same happens for example looking at the latest LuaTeX manual.

[NTG-context] interaction strangeness

2013-12-06 Thread H. van der Meer
Something strange happened here with the interaction in a pdf produced. There are chapters reacting when clicked in the table of contents but some are not. Moreover, this behaviour changes with the version of context used. I tried 3 versions of the beta: ConTeXt ver: 2013.10.15 13:52 MKIV beta

[NTG-context] wider item numbering in toc

2013-12-06 Thread H. van der Meer
In the table of contents my items are numbers 1, 2, etc. At the number the aligning is wrong, the tens are shifted to the right. I tried to remedy with a setup: \setupitemgroup[itemize][each][5,autointro][…] But changing width, distance, textdistance, itemalign do not have effect on the toc.

Re: [NTG-context] interaction strangeness

2013-12-06 Thread H. van der Meer
fear it has in some way to do with the moment the output routine is called in relation to the reference processing in \startchapter[title=,reference=]. Hans van der Meer On 6 dec. 2013, at 12:42, H. van der Meer h.vanderm...@uva.nl wrote: Something strange happened here with the interaction

Re: [NTG-context] wider item numbering in toc

2013-12-06 Thread H. van der Meer
the sections therin should appear in their own toc. Hans van der Meer On 6 dec. 2013, at 14:44, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 06.12.2013 um 13:53 schrieb H. van der Meer h.vanderm...@uva.nl: In the table of contents my items are numbers 1, 2, etc. At the number

Re: [NTG-context] wider item numbering in toc

2013-12-06 Thread H. van der Meer
Which numbers are wrong, the section numbers or the page numbers?The chapter numbers. See the jpg below. The 10 with its separator is too far to the right. Hans van der Meer On 6 dec. 2013, at 15:13, Wolfgang Schuster schuster.wolfg...@gmail.com wrote:Am 06.12.2013 um 14:59 schrieb H. van der

Re: [NTG-context] wider item numbering in toc

2013-12-06 Thread H. van der Meer
Schuster schuster.wolfg...@gmail.com wrote: Am 06.12.2013 um 17:32 schrieb H. van der Meer h.vanderm...@uva.nl: Which numbers are wrong, the section numbers or the page numbers? The chapter numbers. See the jpg below. The 10 with its separator is too far to the right

Re: [NTG-context] wider item numbering in toc

2013-12-06 Thread H. van der Meer
schrieb H. van der Meer h.vanderm...@uva.nl: Indeed, \setuplist[chapter][width=3em] makes the chapternumber set in a wider field. But the alignment is as bad as it was: flushleft, i.e. the 1 of chapter 10 still aligns with the units from the lower chapters instead of aligning

[NTG-context] xml selection on attribute expressions

2013-12-03 Thread H. van der Meer
Following an example in the chapter on Expressions and filters for xml-processing one can select on an attribute ‘name’ in the node file name=“whatever”/ file[@name==whatever”]/command(todo) However, I would like to select on a combination of alternatives, so that equivalent are file

Re: [NTG-context] xml selection on attribute expressions

2013-12-03 Thread H. van der Meer
Sorry for the noise, but I just forget to try the obvious and correct solution: \xmlfilter{#1}{file[@name==whatever or @src==whatever]/command(todo)} Must have been a temporary ‘blindness’. Hans van der Meer On 3 dec. 2013, at 10:14, H. van der Meer h.vanderm...@uva.nl wrote: Following

[NTG-context] hanging on fonts

2013-11-12 Thread H. van der Meer
Context hangs with this in the console: fontsnames identifying system font files with suffix 'otf' fontsnames 'OSFONTDIR' specifies path '/Users/hansm/Library/Fonts' fontsnames 'OSFONTDIR' specifies path '/Library/Fonts' fontsnames 'OSFONTDIR'

Re: [NTG-context] hanging on fonts

2013-11-12 Thread H. van der Meer
van der Meer On 12 nov. 2013, at 20:06, Aditya Mahajan adit...@umich.edu wrote: On Tue, 12 Nov 2013, H. van der Meer wrote: Context hangs with this in the console: fontsnames identifying system font files with suffix 'otf' fontsnames 'OSFONTDIR' specifies path

[NTG-context] columns

2013-10-03 Thread H. van der Meer
I have some difficulties with columns inside a framedtext. The example below shows that columns does not work inside framedtext, whereas simplecolumns does. However, the latter does not show rules between the columns. Can I have both? Is columns definitely not working here or is it temporarily

Re: [NTG-context] columns

2013-10-03 Thread H. van der Meer
Description: Adobe PDF document On 3 okt. 2013, at 11:09, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 03.10.2013 um 10:21 schrieb H. van der Meer h.vanderm...@uva.nl: I have some difficulties with columns inside a framedtext. The example below shows that columns does not work

Re: [NTG-context] columns

2013-10-03 Thread H. van der Meer
...@gmail.com wrote: Am 03.10.2013 um 12:02 schrieb H. van der Meer h.vanderm...@uva.nl: Thanks, But I think mixedcolumns has to solve a problem width the width of the frametext. Whereas boxedcolumns honors the width of the enclosing framedtext, mixedcolumns does not. See the example

[NTG-context] once from the inside?

2013-10-03 Thread H. van der Meer
I know how to force ConTeXt doing not more then one run with the --once parameter on the call. Is it, however, possible to do the same from within the ConTeXt document? Some of my documents do not need a second but still get one. Hans van der Meer

[NTG-context] chapter titles

2013-03-21 Thread H. van der Meer
I would like to put something directly after each chapter number, like so: Chapter 5 add something everytime Title of Chapter Is there an option for this? \setuphead? \setupheader? which parameter? I looked up the wiki, but it made me no wiser. Hans van der Meer

[NTG-context] date problem

2013-03-20 Thread H. van der Meer
There is a nasty problem when defining the \date. First approach: *** macro:-\date \def\thedate{\date}\writestatus{***}{\meaning\thedate} Alas, I get lateron a luatex error on \date: ! LuaTeX error [string \directlua ]:1: invalid escape sequence near '\d'. Second

[NTG-context] date handling maltreated?

2013-03-20 Thread H. van der Meer
Trying to do some date and time processing myself, I ran into problems caused by ConTeXt makeing it incompatibel with the original plain TeX itself! In the TeX-book, Appendix B one finds citation (Some parameters are set by TeX itself as it runs, so it is inappropriate to initialize them:

[NTG-context] date handling maltreated?

2013-03-20 Thread H. van der Meer
Trying to do some date and time processing myself, I ran into problems caused by ConTeXt makeing it incompatibel with the original plain TeX itself! In the TeX-book, Appendix B one finds citation (Some parameters are set by TeX itself as it runs, so it is inappropriate to initialize them:

[NTG-context] framedtext and margin

2013-03-20 Thread H. van der Meer
As can be seen in the following example, within an itemized list the framedtext sticks out to the right, instead of having its right edge aligned with the outer ones.Is there a simple remedy or is it an unwanted effect?I would like the right edges line up perfectly. Hans van der Meer

[NTG-context] narrower and whitespace

2013-03-16 Thread H. van der Meer
I find that in intro text \startnarrower narrow text \stopnarrower after text blank vertical space is inserted both before and after the narrower block. How can I avoid that? Hans van der Meer ___ If your

[NTG-context] noalign hassles

2013-03-16 Thread H. van der Meer
I am stuck with the following problem. Inside an \halign (table) I can insert a colored rule with: \noalign{\color[red]{\hrule height#1 depth\zeropoint}} Now I want something more involved like: \color[red]{\hrule height#1 width2mm}% fixed length colored block \color[black]{\hrule

[NTG-context] garden example at fault

2013-03-11 Thread H. van der Meer
I tried this sample from the garden to look at the top and bottom, see Command/setuplayout. Below a copy of the garden page (pagesize changed from A10 to A6): \setuppapersize[A6] %% This is an example for showing the effect of the vertical parameters %% top, topdistance, bottom, bottomdistance

[NTG-context] code after \stopbuffer

2013-02-13 Thread H. van der Meer
Is it possible to have a command automatically executed each time \stopbuffer has been read? Preferably coupled to a specific named \startbuffer[this_one], iff possible at all of course. Thus: \startbuffer[this_one] ..contents.. \stopbuffer % in execution followed by \command Hans van der Meer

[NTG-context] using different xml-tree's?

2013-02-13 Thread H. van der Meer
I would like to process my dvd nodes in more than one way but I am stuck with the implementation. The trees could start in a different setup: \startxmlsetups xml:dvdfirst:dvd .. \stopxmlsetups \startxmlsetups xml:dvdfirst:setups \xmlsetsetup{\xmldocument} {error|setup|dvd

[NTG-context] What is changed?

2013-02-04 Thread H. van der Meer
The following worked without a hitch: \def\IsNilReturn#1{\edef\tmp{#1}\doifelse{\tmp}{nil}{\color[red]{ERROR}}{\tmp}} \def\formatDuration#1{\ctxlua{ local s = string.gsub(#1,\%D,) local d = tostring(hvdm.time:match(s)) tex.print(string.sub(d,1,2) ~= 0: and d or

[NTG-context] local picture not found anymore

2013-02-04 Thread H. van der Meer
Having a file picture.jpg worked fine. Now it results in inclusion of The picture package by Heiko Oberdiek. Suddenly file searching doesn't start with the current directory anymore but somewhere in the /tex-chain. Were the significant changes here? Something to do with Luatex? I didn't follow

[NTG-context] firstsetup

2012-12-11 Thread H. van der Meer
I guess my first-setup.sh is outdated, because running it the site called from within cannot be found. There might have been a recent post about this, but then I must confess either having missed this or forgotton to save that post. Will someone be so kind as to post a zipped actual

[NTG-context] xmldoiftext

2010-07-18 Thread H. van der Meer
I have a comment on the name of macro \xmldoiftext. The name as is, seems specifically to point to something like: nodesome_text/node Luckily the manual mentions here when .. node has some content and this implies the {yes}-branch will be taken also in case of the presence of subnodes,

[NTG-context] xml path expression

2010-06-08 Thread H. van der Meer
I would like to combine the xml path search of two different levels. An example, the xml can be either case #1: main a bc//b bc//b /a /main or case #2: main bc//b bc//b /main Now I want to process the c elements from the main level and loop through them with the position function:

[NTG-context] presence of xml-attribute

2010-06-08 Thread H. van der Meer
In order to differentiate between the case of an absent or an empty attribute on an xml-element I now use the following macro to set a TeX- \if: % #1=node #2=attribute #3 defaultvalue: execute \attributetrue/false \def\setFlagToAttribute#1#2#3{%

[NTG-context] startbuffer fails with %

2010-01-05 Thread H. van der Meer
\startbuffer[ABC]% {} Braces at beginning fails with buffer \stopbuffer \starttext \getbuffer[ABC] \stoptext Error message: ! File ended while scanning use of \dododowithbuffer. inserted text \par Remove the {}'s at the beginning and all is well. The culprit however is the % in