Re: [NTG-context] bug in parsed-xml?
On 11/01/2016 08:47 PM, Hans Hagen wrote: > [...] > you can test with > > local verbosed = (space + newline * (emptyline^0) * beginline + newline > * emptyline + newline + anything)^0 > > in line 557 in buff-ver.lua Hans, many thanks for your fast fix. It works for extra lines, but indenting is still applied (I cannot see why this might make sense). Many thanks for your help, Pablo -- http://www.ousia.tk ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] bug in parsed-xml?
On 11/1/2016 1:38 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \setupindenting[yes, big] \starttext \starttyping[option=parsed-xml] text body pword/p /body /text \stoptyping \stoptext I’m afraid I found two issues: For some reason, ConTeXt adds extra space before the last line. I think this may be a bug. With indenting set for the rest of the document, ConTeXt applies it also to typing. As far as I know, typing shouldn’t be automatically indented. Could anyone confirm whether the issues are bugs in parsed-xml? you can test with local verbosed = (space + newline * (emptyline^0) * beginline + newline * emptyline + newline + anything)^0 in line 557 in buff-ver.lua - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] bug in parsed-xml?
Dear list, I have the following sample: \setupindenting[yes, big] \starttext \starttyping[option=parsed-xml] text body pword/p /body /text \stoptyping \stoptext I’m afraid I found two issues: For some reason, ConTeXt adds extra space before the last line. I think this may be a bug. With indenting set for the rest of the document, ConTeXt applies it also to typing. As far as I know, typing shouldn’t be automatically indented. Could anyone confirm whether the issues are bugs in parsed-xml? Many thanks for your help, Pablo -- http://www.ousia.tk ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___