Re: [NTG-context] Using lua to define a macro with one optional parameter in brackets

2015-07-09 Thread Jaroslav Hajtmar
Thanx to Hans and Taco too, ad Taco) ala Perhaps interfaces.definecommand could be extended with a way to do global definitions? Indeed it seems to me. Changes in lua code does not affect the results in ConTeXt. ad Hans) interfaces.setmacro(name,value) Thanx, II tried to use it, but somehow

Re: [NTG-context] Using lua to define a macro with one optional parameter in brackets

2015-07-09 Thread Hans Hagen
On 7/9/2015 5:05 PM, Jaroslav Hajtmar wrote: Thanx to Hans and Taco too, ad Taco) ala Perhaps interfaces.definecommand could be extended with a way to do global definitions? Indeed it seems to me. Changes in lua code does not affect the results in ConTeXt. ad Hans)

[NTG-context] Hidden section - weird counting?

2015-07-09 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, let's have the following example with hidden section: \definehead[HidSec][section] \setuphead[HidSec][placehead=hidden] \starttext \placecontent \hairline \HidSec{A} \subsection{B} \subsection{C} \stoptext It gives: 1.1 B 1 --- 1.2 B 1.2 C Whilst I'd

Re: [NTG-context] (announcement) from pandoc to ConTeXt

2015-07-09 Thread Wolfgang Schuster
Pablo Rodriguez mailto:oi...@gmx.es 9. Juli 2015 18:32 Dear list, this is a bit weird, because the vast majority of the list members are way forward in the path of ConTeXt knowledge than myself. But just in case you were interested, I created an environment to typeset XHTML generated by

Re: [NTG-context] Bibliography (bug compiling components-001.tex?)

2015-07-09 Thread Alan BRASLAU
On Wed, 8 Jul 2015 22:21:36 +0200 Lukáš Procházka l...@pontex.cz wrote: - have a DB of publications (preferably in standard ConTeXt space, not in a .bib file) MKiv bibliographies: \startbuffer[biblio] entries in .bib format \stopbuffer \usebtxdataset[biblio.buffer] \cite[bibkey]

[NTG-context] Beta problem with arranging XY

2015-07-09 Thread Taco Hoekwater
Hi, It seems that the latest betas have a problem with the XY arrangement and/or \setuppaper. The attached file used to run fine, but lately all the placements are off (the address labels should be roughly centered on the A4 page). I am not sure how long ago this started going wrong, sorry

Re: [NTG-context] Expansion in bookmarks

2015-07-09 Thread Hans Hagen
On 7/9/2015 11:34 AM, Christoph Reller wrote: On Wed, 08 Jul 2015 21:01:21 +0200, Hans Hagen pra...@wxs.nl mailto:pra...@wxs.nl wrote: On 7/8/2015 4:18 PM, Christoph Reller wrote: Dear all! I want to define a command that is to be used in a section title. Also I

Re: [NTG-context] Beta problem with arranging XY

2015-07-09 Thread Hans Hagen
On 7/9/2015 10:04 AM, Taco Hoekwater wrote: Hi, It seems that the latest betas have a problem with the XY arrangement and/or \setuppaper. The attached file used to run fine, but lately all the placements are off (the address labels should be roughly centered on the A4 page). I am not sure

Re: [NTG-context] Using lua to define a macro with one optional parameter in brackets

2015-07-09 Thread Taco Hoekwater
Hi, On 09 Jul 2015, at 07:22, Jaroslav Hajtmar hajt...@gyza.cz wrote: The problem is that the macros created in Lua I sometimes do not work as well when I create TeX (during the cycle will automatically fall short values). I have a particularly bad experience in this regard with the

Re: [NTG-context] Using lua to define a macro with one optional parameter in brackets

2015-07-09 Thread Hans Hagen
On 7/9/2015 7:22 AM, Jaroslav Hajtmar wrote: Hi Hans. Only for explanation of my (maybe) crazy request: I can not at this level TeX macros to create, because it creates automatically after opening the CSV file. Although I tried to start creating something with \ csname \ endcsname etc. but my

Re: [NTG-context] Beta problem with arranging XY

2015-07-09 Thread Taco Hoekwater
On 09 Jul 2015, at 13:23, Hans Hagen pra...@wxs.nl wrote: \setuplayout[location=middle] That fixes the global placement indeed, great. But it does not solve the problem that address number 1 appears in label number 4 (and 13 to 15 are off the bottom of the page). Best wishes, Taco

Re: [NTG-context] rsync server down?

2015-07-09 Thread Mojca Miklavec
On Mon, Jul 6, 2015 at 10:27 AM, Thomas A. Schmitz wrote: Hi, for several days, I've seen errors while using first-setup.sh to upgrade to the latest version; the rysnc command fails because of server error. I tried on different computers and several networks, so I guess it's not just me but

Re: [NTG-context] Expansion in bookmarks

2015-07-09 Thread Christoph Reller
On Wed, 08 Jul 2015 21:01:21 +0200, Hans Hagen pra...@wxs.nl wrote: On 7/8/2015 4:18 PM, Christoph Reller wrote: Dear all! I want to define a command that is to be used in a section title. Also I want to use \autoinsertnextspace with this command. In the following MWE, why do \This and

[NTG-context] new beta

2015-07-09 Thread Hans Hagen
Hi, I uploaded a new beta. As a prelude to some updates / improvements in the font handling an experimental new otf fontloader/handler is present. This one is not used by default but will likely replace the current one (only when it has been tested enough). At that time also some other

[NTG-context] (announcement) from pandoc to ConTeXt

2015-07-09 Thread Pablo Rodriguez
Dear list, this is a bit weird, because the vast majority of the list members are way forward in the path of ConTeXt knowledge than myself. But just in case you were interested, I created an environment to typeset XHTML generated by pandoc with ConTeXt MkIV. Here you have the websites:

Re: [NTG-context] Beta problem with arranging XY

2015-07-09 Thread Hans Hagen
On 7/9/2015 2:21 PM, Taco Hoekwater wrote: On 09 Jul 2015, at 13:23, Hans Hagen pra...@wxs.nl wrote: \setuplayout[location=middle] That fixes the global placement indeed, great. But it does not solve the problem that address number 1 appears in label number 4 (and 13 to 15 are off the