Re: [NTG-context] Natural Tables: spaceinbetween not working?

2020-10-01 Thread Denis Maier

Am 30.09.2020 um 22:03 schrieb Wolfgang Schuster:



Denis Maier schrieb am 30.09.2020 um 21:54:

Hi,

spaceinbetween seems to have no effect in this example:

===
\setupTABLE [spaceinbetween=25pt,split=yes]


A few options need [start] when you set them before \bTABLE.

\setupTABLE [split=yes]
\setupTABLE [start] [spaceinbetween=25pt]


Thanks. What exactly does [start] do?


\starttext

\bTABLE

\dorecurse{50}{\bTR \bTD table cell \eTD \bTD table cell \eTD \eTR}

\eTABLE


Try to avoid blank lines in tables, it shouldn't matter in this case 
but in certain cases this can lead to unwanted whitespace.

Thanks for the hint.

Denis
___
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] library 'uni' is unknown

2020-10-01 Thread Jairo A. del Rio
Typo: poor man's. Whatever.

Jairo :)

El jue., 1 de oct. de 2020 a la(s) 16:31, Jairo A. del Rio (
jairoadelr...@gmail.com) escribió:

> Hi, Susanne.
>
> I think you're confusing ConTeXt symbol sets with LaTeX ones. Except for
> symb-imp-emj, which is for emoji support, files with symb-imp prefixes list
> symbol sets supported by ConTeXt (see
> /tex/texmf-context/tex/context/base/mkiv):
>
> symb-imp-cc
> symb-imp-cow
> symb-imp-eur
> symb-imp-fontawesome
> symb-imp-jmn
> symb-imp-mis
> symb-imp-mvs
> symb-imp-nav
>
> symb-uni.mkii is not available for ConTeXt MkIV, but you could make it
> work with a proper font set (e.g. Quivira) or better, ask Hans for it.
>
> Wrt ifsym itself, it is a LaTeX specific package and it won't work out of
> the box, so you could 1) use a Unicode alternative instead or 2) adjust
> Metafont files so they could be compiled via Metapost. If you go for 2),
> the following would work as a poor's man solution for any symbol you need.
>
> \starttext
> \startuseMPgraphic{Flag}
> %From ifsym.gen
> draw (3pt,0pt)--(3pt,10pt);
> fill (3pt,10pt)--(0pt,8pt)--(3pt,6pt)--cycle;
> \stopuseMPgraphic
> This is a poor's man \type{ifsym's \Flag}: \useMPgraphic{Flag}.
> \stoptext
>
> There's a more advanced way to register glyphs explained in Luametafun (
> http://www.pragma-ade.com/general/manuals/luametafun.pdf), in case you're
> interested.
>
> Regards,
> Jairo :)
>
> El jue., 1 de oct. de 2020 a la(s) 12:32, Susanne G. Loeber (
> dekleurenfami...@gmail.com) escribió:
>
>> Dear Reader,
>>
>> https://wiki.contextgarden.net/Symbols shows predefined symbol sets. The
>> uni and wasysym are unknown.
>>
>> Hereby my example:
>>
>> \usesymbols[mvs]
>>
>> \usesymbols[uni]
>>
>> \usesymbols[wasysym]
>>
>> %% \usesymbols[ifsym]
>>
>>
>> \starttext
>>
>>
>> \par Show entire set martinvogel 1
>>
>> \showsymbolset[martinvogel 1]
>>
>>
>> \par Show YinYang symbol from martinvogel 2. \crlf
>>
>> \symbol[martinvogel 2][YinYang]
>>
>>
>> %% \symbol[Alpine Symbol][Flag]
>>
>>
>> \stoptext
>>
>> Console output
>>
>> fonts > symbols > library 'mvs' loaded
>>
>> fonts > symbols > library 'uni' is unknown
>>
>> fonts > symbols > library 'wasysym' is unknown
>>
>>
>> The ultimate goal is to show a flag from the alpine symbol set from
>> ifsym. However, I will settle with a flag from uni if it means I don't have
>> to install files.
>>
>>
>> Kind regards,
>>
>> Susanne
>>
>>
>>
>> ___
>> 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] library 'uni' is unknown

2020-10-01 Thread Jairo A. del Rio
Hi, Susanne.

I think you're confusing ConTeXt symbol sets with LaTeX ones. Except for
symb-imp-emj, which is for emoji support, files with symb-imp prefixes list
symbol sets supported by ConTeXt (see
/tex/texmf-context/tex/context/base/mkiv):

symb-imp-cc
symb-imp-cow
symb-imp-eur
symb-imp-fontawesome
symb-imp-jmn
symb-imp-mis
symb-imp-mvs
symb-imp-nav

symb-uni.mkii is not available for ConTeXt MkIV, but you could make it work
with a proper font set (e.g. Quivira) or better, ask Hans for it.

Wrt ifsym itself, it is a LaTeX specific package and it won't work out of
the box, so you could 1) use a Unicode alternative instead or 2) adjust
Metafont files so they could be compiled via Metapost. If you go for 2),
the following would work as a poor's man solution for any symbol you need.

\starttext
\startuseMPgraphic{Flag}
%From ifsym.gen
draw (3pt,0pt)--(3pt,10pt);
fill (3pt,10pt)--(0pt,8pt)--(3pt,6pt)--cycle;
\stopuseMPgraphic
This is a poor's man \type{ifsym's \Flag}: \useMPgraphic{Flag}.
\stoptext

There's a more advanced way to register glyphs explained in Luametafun (
http://www.pragma-ade.com/general/manuals/luametafun.pdf), in case you're
interested.

Regards,
Jairo :)

El jue., 1 de oct. de 2020 a la(s) 12:32, Susanne G. Loeber (
dekleurenfami...@gmail.com) escribió:

> Dear Reader,
>
> https://wiki.contextgarden.net/Symbols shows predefined symbol sets. The
> uni and wasysym are unknown.
>
> Hereby my example:
>
> \usesymbols[mvs]
>
> \usesymbols[uni]
>
> \usesymbols[wasysym]
>
> %% \usesymbols[ifsym]
>
>
> \starttext
>
>
> \par Show entire set martinvogel 1
>
> \showsymbolset[martinvogel 1]
>
>
> \par Show YinYang symbol from martinvogel 2. \crlf
>
> \symbol[martinvogel 2][YinYang]
>
>
> %% \symbol[Alpine Symbol][Flag]
>
>
> \stoptext
>
> Console output
>
> fonts > symbols > library 'mvs' loaded
>
> fonts > symbols > library 'uni' is unknown
>
> fonts > symbols > library 'wasysym' is unknown
>
>
> The ultimate goal is to show a flag from the alpine symbol set from ifsym.
> However, I will settle with a flag from uni if it means I don't have to
> install files.
>
>
> Kind regards,
>
> Susanne
>
>
>
> ___
> 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
___


[NTG-context] Protusion and spurios empty line

2020-10-01 Thread Denis Maier

Hi,

I'm getting emtpy lines after paragraph breaks, where the last character 
is just squeezed in. Looks like it has to do with the bidi mechanism. 
Commenting out this line removes the effect. (Somewhat long) Example below.


Is there a fix for that?

Best
Denis



% uncomment this to see the effect!
%\setupdirections[bidi=global,method=unicode]

\mainlanguage[de]
\setupitaliccorrection[global, always]
\setupbodyfontenvironment[default][em=italic]
\setupfontprotrusion [quality] [left=0]
\definefontfeature[default][default][
script=latn,
protrusion=quality,
expansion=quality,
itlc=yes,
textitalics=yes,
onum=yes,
pnum=yes,
]
\definefontfeature[smallcaps][
script=latn,
protrusion=quality,
expansion=quality,
smcp=yes,
onum=yes,
pnum=yes,
]
\definefontfamily[mainface][rm][Cardo]
\setupbodyfont[mainface,11pt]
\setuppapersize[A4][A4]
\setuplayout[
backspace=35mm,
width=140mm,
topspace=35mm,
header=0mm,
height=240mm,
]
\setuphead [chapter][
alternative=left,
page=no,
indentnext=no,
style=normal]

\showframe

\starttext

\title{Philipp Lenhard. {\em Friedrich Pollock: Die graue Eminenz der 
Frankfurter Schule.} Berlin: Jüdischer Verlag im Suhrkamp Verlag, 2019. 
383 Seiten, EUR 32.–, ISBN 978-3-633-54299-4}


\input ward

\title{Philipp Lenhard. {\em Friedrich Pollock: Die graue Eminenz der 
Frankfurter Schule.} Berlin: Jüdischer Verlag im Suhrkamp Verlag, 2019. 
383 Seiten, EUR 32.–, ISBN 978-3-633-54299-}


\input ward
\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
___


[NTG-context] color problem

2020-10-01 Thread Susanne G. Loeber
Dear Reader,

I have a colored section, text in another color and a TikZ picture with a
differently colored node, following each other. However, either the node
gets the wrong color or the following paragraph, see example below.

Is there something wrong with the section settings? How do I get all the
colors right without using a paragraph in between?

\setuphead[chapter]

[

style={\tfd},

color={A2plus},

]

\setuphead[section]

[

style={\tfc},

color={A3plus},

]


\definecolor[A1plus][h=5CAF00]

\definecolor[A2plus][h=B6437E]

\definecolor[A3plus][h=606ABD]

\definecolor[A4plus][h=FFC700]

\definecolor[A5plus][h=D0202B]

\definecolor[A6plus][h=EF8600]

\definecolor[A7plus][h=0082AA]


\setupcolors[textcolor=A1plus]


\usemodule[tikz]



\starttext


\startchapter[title={Colour test}, ref=colourtest]


\startsection[title={Section}]

\starttikzpicture

\draw[text=A6plus] (0,0) rectangle (2,1) node[right] {node text should be
orange};

\stoptikzpicture


\par This a paragraph which gets the colour of the section for no reason.


\stopsection


\stopchapter


\startchapter[title={Colour test 2}, ref=colourtest]


\startsection[title={Another section }]


\par This a paragraph in the appropriate text color (green).



\starttikzpicture

\draw[text=A6plus] (0,0) rectangle (2,1) node[right] {node text is orange};

\stoptikzpicture


\stopsection


\stopchapter

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


[NTG-context] library 'uni' is unknown

2020-10-01 Thread Susanne G. Loeber
Dear Reader,

https://wiki.contextgarden.net/Symbols shows predefined symbol sets. The
uni and wasysym are unknown.

Hereby my example:

\usesymbols[mvs]

\usesymbols[uni]

\usesymbols[wasysym]

%% \usesymbols[ifsym]


\starttext


\par Show entire set martinvogel 1

\showsymbolset[martinvogel 1]


\par Show YinYang symbol from martinvogel 2. \crlf

\symbol[martinvogel 2][YinYang]


%% \symbol[Alpine Symbol][Flag]


\stoptext

Console output

fonts > symbols > library 'mvs' loaded

fonts > symbols > library 'uni' is unknown

fonts > symbols > library 'wasysym' is unknown


The ultimate goal is to show a flag from the alpine symbol set from ifsym.
However, I will settle with a flag from uni if it means I don't have to
install files.


Kind regards,

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