Re: [NTG-context] cross references to chapters in a book

2019-02-25 Thread Pablo Rodriguez
On 2/23/19 10:51 AM, Wolfgang Schuster wrote:
> [...]
>> Is this because I am using MkII with XeTeX?
> 
> Is there a reason why you stick with MkII or XeTeX.

Hi Wolfgang,

support for Indic languages seems to be the reason to use MkII.

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] em-dash ligature is converted to en-dash in the generic fontloader

2019-02-25 Thread Rik Kabel

On 2/25/2019 15:45, Henri Menke wrote:

On 26/02/19 3:55 AM, Ulrike Fischer wrote:

Am Sat, 23 Feb 2019 17:11:12 +0100 schrieb Hans Hagen:


because  followed by -- is pretty obscure ... a replace could be
seen as --- and when hyphenated as - -- and such ... it's about time
that texies start using the proper unicode symbols instead of these
funny ligatures

well the problem with the proper unicode symbols is that at first
they are not so easy to input (that could be handled by the editor)
and that they are not so visible. - - — look quite the same in my
editor, even more if the screen is not so large and when my eyes
tire. If -- wouldn't work I would resort to a command like \ndash
instead only to get a better visual clue what's in the document.

But regardless from the input method. How can one enable a line
break after an em-dash when \automichyphenmode is 1?  The only way I
found is to explicitly insert a penalty:

\starttext
\hsize=2pt

dash---\penalty1 dash

dash—\penalty1 dash

dash\discretionary{---}{}{---}dash

dash\discretionary{—}{}{—}dash


\stoptext


dash|---|dash

dash|—|dash

--
Rik

___
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] Latest changes in some size registers

2019-02-25 Thread Wolfgang Schuster

Willi Egger schrieb am 25.02.19 um 22:44:

Hi Wolfgang,

that is a nice coincidence! I was stuck just today with this very issue! Thank 
you for this information.


You can try the two solutions (“grid=no” or “strut=no”) from this old 
thread: https://mailman.ntg.nl/pipermail/ntg-context/2018/093250.html


Wolfgang

___
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] \mathematics might be missing \everymathematics

2019-02-25 Thread Hans Hagen

On 2/25/2019 9:47 PM, Henri Menke wrote:

Bump


i'll catch it (no uploads today)



On 19/02/19 10:02 PM, Henri Menke wrote:

Dear Hans,

In the following example I want to locally set lcgreek=normal but it is
not picked up because the attribute is not propagated.  When I enter
\everymathematics manually it works fine.  Is this by design or is this
a bug?  MWE below.

Cheers, Henri

---

\starttext

The greek letter should be upright here

\m[lcgreek=normal]{\varphi}

\m[lcgreek=normal]{\the\everymathematics\varphi}

\stoptext



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




--

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


Re: [NTG-context] Latest changes in some size registers

2019-02-25 Thread Willi Egger
Hi Wolfgang,

that is a nice coincidence! I was stuck just today with this very issue! Thank 
you for this information.

Best

Willi

> On 25 Feb 2019, at 18:39, Wolfgang Schuster 
>  wrote:
> 
> Martin Bruchanov schrieb am 22.02.19 um 04:37:
>> Hi all,
>> 
>> I have some very condensed documents which should fit on one page:
>> 
>> http://gnulinux.guru/bash_cheatsheet.pdf
>> 
>> Without any major change in style definition, there is more space around 
>> sections or itemize:
>> 
>> http://gnulinux.guru/bash_cheatsheet_diff.pdf
>> 
>> Source code is here:
>> 
>> https://github.com/BruXy/gnulinux.guru/tree/master/bash_tahak
>> 
>> Did I miss some update which has introduced some different length settings?
>> 
>> I have version: 2019.02.14 16:57
> 
> The columns-environment uses now the newer mixedcolumns code
> which create by default different spaces around section titles.
> 
> The old columns code can be loaded as a module with
> \usemodule[old-multicolumns]
> 
> Wolfgang
> 
> ___
> 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] \mathematics might be missing \everymathematics

2019-02-25 Thread Henri Menke
Bump

On 19/02/19 10:02 PM, Henri Menke wrote:
> Dear Hans,
> 
> In the following example I want to locally set lcgreek=normal but it is
> not picked up because the attribute is not propagated.  When I enter
> \everymathematics manually it works fine.  Is this by design or is this
> a bug?  MWE below.
> 
> Cheers, Henri
> 
> ---
> 
> \starttext
> 
> The greek letter should be upright here
> 
> \m[lcgreek=normal]{\varphi}
> 
> \m[lcgreek=normal]{\the\everymathematics\varphi}
> 
> \stoptext
> 

___
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] em-dash ligature is converted to en-dash in the generic fontloader

2019-02-25 Thread Henri Menke


On 26/02/19 3:55 AM, Ulrike Fischer wrote:
> Am Sat, 23 Feb 2019 17:11:12 +0100 schrieb Hans Hagen:
> 
>> because  followed by -- is pretty obscure ... a replace could be 
>> seen as --- and when hyphenated as - -- and such ... it's about time 
>> that texies start using the proper unicode symbols instead of these 
>> funny ligatures
> 
> well the problem with the proper unicode symbols is that at first
> they are not so easy to input (that could be handled by the editor)
> and that they are not so visible. - - — look quite the same in my
> editor, even more if the screen is not so large and when my eyes
> tire. If -- wouldn't work I would resort to a command like \ndash
> instead only to get a better visual clue what's in the document. 
> 
> But regardless from the input method. How can one enable a line
> break after an em-dash when \automichyphenmode is 1?  The only way I
> found is to explicitly insert a penalty:

\setbreakpoints[compound] makes dash---dash breakable but not dash—dash

> 
> \starttext
> \hsize=2pt
> 
> dash---\penalty1 dash
> 
> dash—\penalty1 dash
> 
> \stoptext
> 
> 
> 
> 

___
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] em-dash ligature is converted to en-dash in the generic fontloader

2019-02-25 Thread Henri Menke
On 26/02/19 3:55 AM, Ulrike Fischer wrote:
> Am Sat, 23 Feb 2019 17:11:12 +0100 schrieb Hans Hagen:
> 
>> because  followed by -- is pretty obscure ... a replace could be 
>> seen as --- and when hyphenated as - -- and such ... it's about time 
>> that texies start using the proper unicode symbols instead of these 
>> funny ligatures
> 
> well the problem with the proper unicode symbols is that at first
> they are not so easy to input (that could be handled by the editor)
> and that they are not so visible. - - — look quite the same in my
> editor, even more if the screen is not so large and when my eyes
> tire. If -- wouldn't work I would resort to a command like \ndash
> instead only to get a better visual clue what's in the document. 
> 
> But regardless from the input method. How can one enable a line
> break after an em-dash when \automichyphenmode is 1?  The only way I
> found is to explicitly insert a penalty:
> 
> \starttext
> \hsize=2pt
> 
> dash---\penalty1 dash
> 
> dash—\penalty1 dash

dash\discretionary{---}{}{---}dash

dash\discretionary{—}{}{—}dash

> 
> \stoptext
> 
> 
> 
> 

___
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] Latest changes in some size registers

2019-02-25 Thread Martin Bruchanov

Hi Wolfang,

Thank you very much for both answers!

I have updated it on wiki:

https://wiki.contextgarden.net/Visual_Debugging#Layout

Regards,

BruXy

On 2019-02-25 1:39 p.m., Wolfgang Schuster wrote:

Martin Bruchanov schrieb am 22.02.19 um 04:37:

Hi all,

I have some very condensed documents which should fit on one page:

http://gnulinux.guru/bash_cheatsheet.pdf

Without any major change in style definition, there is more space 
around sections or itemize:


http://gnulinux.guru/bash_cheatsheet_diff.pdf

Source code is here:

https://github.com/BruXy/gnulinux.guru/tree/master/bash_tahak

Did I miss some update which has introduced some different length 
settings?


I have version: 2019.02.14 16:57


The columns-environment uses now the newer mixedcolumns code
which create by default different spaces around section titles.

The old columns code can be loaded as a module with
\usemodule[old-multicolumns]

Wolfgang


___
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] Latest changes in some size registers

2019-02-25 Thread Wolfgang Schuster

Martin Bruchanov schrieb am 22.02.19 um 04:37:

Hi all,

I have some very condensed documents which should fit on one page:

http://gnulinux.guru/bash_cheatsheet.pdf

Without any major change in style definition, there is more space 
around sections or itemize:


http://gnulinux.guru/bash_cheatsheet_diff.pdf

Source code is here:

https://github.com/BruXy/gnulinux.guru/tree/master/bash_tahak

Did I miss some update which has introduced some different length 
settings?


I have version: 2019.02.14 16:57


The columns-environment uses now the newer mixedcolumns code
which create by default different spaces around section titles.

The old columns code can be loaded as a module with
\usemodule[old-multicolumns]

Wolfgang

___
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] Latest changes in some size registers

2019-02-25 Thread Wolfgang Schuster

Martin Bruchanov schrieb am 25.02.19 um 17:39:

I have just done some manual  changes to solve this:

  before={\blank[1*small]} to  before={\blank[-5pt]},%

Btw, is there any way to display values of these visual attributes when 
I need to debug "setupsection" setting?


(I am usually changing a lot of stuff and comparing it with Wiki and 
output, but it is quite lame approach.)


\usemodule [setups]

\starttext

% \setuphead [..,..=..,..]
\showrootvalues [head]

% \setuphead [chapter] [..,..=..,..]
\showinstancevalues [head] [chapter]

\stoptext

Wolfgang

___
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] Latest changes in some size registers

2019-02-25 Thread Martin Bruchanov

I have just done some manual  changes to solve this:

 before={\blank[1*small]} to  before={\blank[-5pt]},%

Btw, is there any way to display values of these visual attributes when 
I need to debug "setupsection" setting?


(I am usually changing a lot of stuff and comparing it with Wiki and 
output, but it is quite lame approach.)


Regards,

BruXy


On 2019-02-21 11:37 p.m., Martin Bruchanov wrote:

Hi all,

I have some very condensed documents which should fit on one page:

http://gnulinux.guru/bash_cheatsheet.pdf

Without any major change in style definition, there is more space 
around sections or itemize:


http://gnulinux.guru/bash_cheatsheet_diff.pdf

Source code is here:

https://github.com/BruXy/gnulinux.guru/tree/master/bash_tahak

Did I miss some update which has introduced some different length 
settings?


I have version: 2019.02.14 16:57

Regards,

BruXy

___ 

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] em-dash ligature is converted to en-dash in the generic fontloader

2019-02-25 Thread Ulrike Fischer
Am Sat, 23 Feb 2019 17:11:12 +0100 schrieb Hans Hagen:

> because  followed by -- is pretty obscure ... a replace could be 
> seen as --- and when hyphenated as - -- and such ... it's about time 
> that texies start using the proper unicode symbols instead of these 
> funny ligatures

well the problem with the proper unicode symbols is that at first
they are not so easy to input (that could be handled by the editor)
and that they are not so visible. - - — look quite the same in my
editor, even more if the screen is not so large and when my eyes
tire. If -- wouldn't work I would resort to a command like \ndash
instead only to get a better visual clue what's in the document. 

But regardless from the input method. How can one enable a line
break after an em-dash when \automichyphenmode is 1?  The only way I
found is to explicitly insert a penalty:

\starttext
\hsize=2pt

dash---\penalty1 dash

dash—\penalty1 dash

\stoptext




-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/

___
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] about the color of sidebar

2019-02-25 Thread Jeong Dal
Dear Mohammad Hossein Bateni,

> 2019. 2. 25. 오후 1:27, ntg-context-requ...@ntg.nl 작성:
> 
> I have never used the sidebar mechanism, but there is a "rulecolor" option
> in setupsidebar.  Maybe that's what you're looking for.
> 
> You can look up the commands and their options in "i-context.pdf" file.

Thank you for the reply.
I found the command “\setupsidebar”.

The following example is working well.
%%%
\definecolor[dGreen][r=0,g=.4,b=0]
%\setupsidebar[rulecolor=(.4green)]
\setupsidebar[rulecolor=dGreen]

\starttext

\startsidebar
\samplefile{knuth}
\stopsidebar

\stoptext
%

The reason of putting “\definecolor…” is that “[rulecolor=(.4green)]” is not 
working as in MetaFun, while [rulecolor=green] is working well.

Because of this, I can remove my definition of sidebar from my environment.

Thank you again.

Best regards,

Dalyoung


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