Re: [NTG-context] Strange behavior with itemize

2017-12-18 Thread Fabrice Couvreur
Hello Hans,
It works well with context in Texlive but not with context in Standalone.
Thank you.
Fabrice

2017-12-17 21:56 GMT+01:00 Hans Hagen :

> On 12/16/2017 11:44 PM, Fabrice Couvreur wrote:
>
>> Hello,
>> Why are the second level items not on the same baseline ?
>> Thank you.
>> Fabrice
>>
>>
>> \starttext
>>
>> \startitemize[n]
>>\item Donner l'ensemble de définition \math{\cal D} de la fonction
>> \math{f}.
>>\item Comparer, lorsque c'est possible, les images :
>> \blank
>> \startitemize[a,columns,three,joinedup][grid=line]
>> \item \math{f(-0,5)} et \math{f(0,5)} ;\par
>> \item \math{f(-1)} et \math{f(2)} ;\par
>> \item \math{f(-2)} et \math{f(\sqrt{2})}.\par
>> \stopitemize
>>
>> \stopitemize
>>
>> \stoptext
>>
> you can experiment with
>
> \setupitemgroup
>   [\c!grid=\v!tolerant:10] % 10 pct tolerance in columns snapping
>
> \setupmixedcolumns
>   [\s!itemgroupcolumns]
>   [\c!grid=\itemgroupparameter\c!grid]
>
> (put this in cont-new.mkiv after \unprotect)
>
>
> -
>   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/list
> info/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] issue with css selector in lpath

2017-12-18 Thread Pablo Rodriguez
On 12/15/2017 07:55 AM, Hans Hagen wrote:
> On 12/14/2017 10:18 PM, Pablo Rodriguez wrote:
>> [...]
>> Since the selector is basic in css (and escaping it gives a very weird
>> css), could you consider that it might not be required to escape # as
>> css selector?
> 
> then #1 would not work

Hans,

many thanks for your explanation.

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
___

[NTG-context] type and typing comments for TeX and Lua

2017-12-18 Thread Pablo Rodriguez
Hans,

sorry for insisting, but I really need this.

I have the following sample:

\definetype[context][option=tex]
\definetype[lua][option=lua]
\starttext
\startTEXpage[offset=2em]

a \TEX\ inline comment: \context{ag%befe}

\Lua\ inline comment: \lua{agb --efe}

\startTEX
This is text. % a comment, not \comment
\stopTEX

\startXML
This is text.
\stopXML

\startLUA
if code=="code" then --this is a comment
\stopLUA
\stopTEXpage
\stoptext

Would it be possible that all comments in type and typing (at least, for
Lua, XML and TeX) would have the same formatting for the whole comment
contents, including the comment signs?

Sorry, but with the current output, it is hard to see (for total
newbies) what is part of the comment and what not. And the text editor
will display something different.

I’m afraid that the scite module isn’t an option for me.

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
___