[NTG-context] Typesetting Markdown – Part 6: Computation

2019-07-11 Thread Thangalin
This part of the series describes a way to produce and typeset dynamic
documents using R Markdown and ConTeXt.

https://dave.autonoma.ca/blog/2019/07/11/typesetting-markdown-part-6/

Comments or suggestions for improvement?
___
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] reference containing parentheses causes trouble

2019-07-11 Thread Alan Braslau
This is why it is always a good idea to preface references with a
(personal) identifier. However, perhaps Hans, Wolfgang, or someone else
can explain the use of colons (:) and double colons (::) in references
and in other tags in general (they have to do with namespaces,
instances, etc.).

Alan


On Thu, 11 Jul 2019 14:56:02 +0200
Otared Kavian  wrote:

> Actually in the context of references, not only parentheses as
> Wolfgang pointed out, but also some words are reserved, such as
> nextpage and previous page:
> 
> \setupinteraction[state=start]
> 
> \starttext
> 
> \goto{Second page}[page(2)]
> 
> \goto{Go to next page}[nextpage]
> 
> \page
> 
> \goto{ConTeXt garden}[url(http://wiki.contextgarden.net)]
> 
> \goto{Go to previous page}[previouspage]
> 
> \stoptext
> 
> Best regards: OK
> 
> > On 11 Jul 2019, at 11:03, Peter Rolf  wrote:
> > 
> > Am 10.07.2019 um 21:29 schrieb Wolfgang Schuster:  
> >> Sanjoy Mahajan schrieb am 10.07.2019 um 04:15:  
> >>> Dear List,
> >>> 
> >>> Warning: The following may be a bug or feature or just my
> >>> misunderstanding!  It seems that parentheses cause trouble in
> >>> references.  
> >> Braces are used for the argument of reference actions.
> >> 
> >> \setupinteraction[state=start]
> >> 
> >> \starttext
> >> 
> >> \goto{Second page}[page(2)]
> >> 
> >> \page
> >> 
> >> \goto{ConTeXt garden}[url(http://wiki.contextgarden.net)]
> >> 
> >> \stoptext
> >> 
> >> Wolfgang
> >>   
> > 
> > I see. Thanks for clearifying.
> > 
> > 
> > Peter
> > ___
> > 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
> > ___
> >   
> 

___
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] reference containing parentheses causes trouble

2019-07-11 Thread Otared Kavian
Actually in the context of references, not only parentheses as Wolfgang pointed 
out, but also some words are reserved, such as nextpage and previous page:

\setupinteraction[state=start]

\starttext

\goto{Second page}[page(2)]

\goto{Go to next page}[nextpage]

\page

\goto{ConTeXt garden}[url(http://wiki.contextgarden.net)]

\goto{Go to previous page}[previouspage]

\stoptext

Best regards: OK

> On 11 Jul 2019, at 11:03, Peter Rolf  wrote:
> 
> Am 10.07.2019 um 21:29 schrieb Wolfgang Schuster:
>> Sanjoy Mahajan schrieb am 10.07.2019 um 04:15:
>>> Dear List,
>>> 
>>> Warning: The following may be a bug or feature or just my
>>> misunderstanding!  It seems that parentheses cause trouble in
>>> references.
>> Braces are used for the argument of reference actions.
>> 
>> \setupinteraction[state=start]
>> 
>> \starttext
>> 
>> \goto{Second page}[page(2)]
>> 
>> \page
>> 
>> \goto{ConTeXt garden}[url(http://wiki.contextgarden.net)]
>> 
>> \stoptext
>> 
>> Wolfgang
>> 
> 
> I see. Thanks for clearifying.
> 
> 
> Peter
> ___
> 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
> ___

___
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] reference containing parentheses causes trouble

2019-07-11 Thread Peter Rolf
Am 10.07.2019 um 21:29 schrieb Wolfgang Schuster:
> Sanjoy Mahajan schrieb am 10.07.2019 um 04:15:
>> Dear List,
>>
>> Warning: The following may be a bug or feature or just my
>> misunderstanding!  It seems that parentheses cause trouble in
>> references.
> Braces are used for the argument of reference actions.
>
> \setupinteraction[state=start]
>
> \starttext
>
> \goto{Second page}[page(2)]
>
> \page
>
> \goto{ConTeXt garden}[url(http://wiki.contextgarden.net)]
>
> \stoptext
>
> Wolfgang
>

I see. Thanks for clearifying.


Peter
___
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] Strange error updatng LMTX

2019-07-11 Thread Hans Hagen

On 7/11/2019 4:53 AM, Henri Menke wrote:

\c!compressdistance is defined in strc-lnt.mkvi which is loaded *after*
strc-flt.mkvi (where it is used) in context.mkiv.  This has to be fixed
by Hans.


no, the definitions there are just some leftovers from when that module 
was developed, so these 5 can go there; keywords are defined in 
mult-def.lua


maybe just try to update again (maybe one file was not fetched right)
 (i cannot update lmtx now because alan and i need to test some more or 
less fundamental adaptions in the tex/mp engine first)


Hans


-
  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
___