Re: [NTG-context] Arbitrary equation tags... again

2021-02-22 Thread Jairo A. del Rio
Hi again. The following doesn't work (the tag is missing):

\startTEXpage[offset=2bp]
\startplaceformula[title=A,reference=alpha]
 \startformula
 1 + 1 = 2
 \stopformula
\stopplaceformula
I'm in \in[alpha]
\stopTEXpage

Jairo

El lun, 22 de feb. de 2021 a la(s) 09:00, Jairo A. del Rio (
jairoadelr...@gmail.com) escribió:

> Oh, dumb me, sorry for the noise and thank you very much. Not every day is
> a good one, sorry again.
>
> Jairo.
>
> El lun, 22 de feb. de 2021 a la(s) 08:51, Hans Hagen (j.ha...@xs4all.nl)
> escribió:
>
>> On 2/22/2021 2:05 PM, Jairo A. del Rio wrote:
>> > Hi. list.
>> > Is it possible to assign an arbitrary equation tag in ConTeXt? I've
>> seen
>> > solutions here;
>> >
>> >
>> https://tex.stackexchange.com/questions/400257/tag-equation-in-context-with-arbitrary-text
>> > <
>> https://tex.stackexchange.com/questions/400257/tag-equation-in-context-with-arbitrary-text
>> >
>> >
>> > but none of them works as expected (either the formula counter is still
>> > incrementing with arbitrary conversions or cross-references don't work).
>>
>> Define 'expected' ... \eqno is something low level (a primitive) and we
>> have that nilled at the user level and only use it deep down. It was
>> never meant as user command.
>>
>> > I imagine some things have changed in 2021 and I hope a better solution
>> > is feasible nowadays.
>>
>> \startTEXpage[offset=2bp]
>> \startplaceformula[title=A]
>>  \startformula
>>  1 + 1 = 2
>>  \stopformula
>> \stopplaceformula
>> \stopTEXpage
>>
>> 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
___


Re: [NTG-context] Using Gill Sans on macOS

2021-02-22 Thread Gerben Wierda

> On 22 Feb 2021, at 17:59, Henning Hraban Ramm  wrote:
> 
> 
> 
>> Am 22.02.2021 um 16:14 schrieb Gerben Wierda :
>> 
>> I’m normall using Optima Nova on my system, e.g. by defining a font like 
>> this:
>> 
>> 
>> \definefontfamily
>>[archimate]
>>[ss]
>>[Optima nova LT Pro]
>>[tf=style:Medium,
>> bf=style:Bold,
>> it=style:Medium Italic,
>> bi=style:Bold Italic]
>> \setupbodyfont[archimate]
>> 
>> I would like to experiment with Gill Sans, but that fails with
>> 
>> fonts   > defining > unable to define 'GillSans.ttc' as 
>> 'archimate-14pt-ss-tf-0--0'
>> 
>> It is here:
>> 
>> /System/Library/Fonts/Supplemental/GillSans.ttc
>> 
>> What should I do to be able to use that font?
> 
> Hi Gerben!
> 
> Sometimes ConTeXt can’t find the subfonts in TTCs, e.g.:
> 
> $ mtxrun --script fonts --list --all --pattern=Gill
> identifierfamilyname   fontname  filename 
>  subfont   instances
> 
> gillsans  gillsans gillsanslightitalic   
> /Library/Fonts/GillSans.ttc   9
> gillsanslight gillsans gillsanslightitalic   
> /Library/Fonts/GillSans.ttc   9
> gillsanslightitalic   gillsans gillsanslightitalic   
> /Library/Fonts/GillSans.ttc   9
> 
> 
> Only after
> $ mtxrun --script fonts --reload --force

Hi Henning!

Thanks, that was what I needed. Apparently, the update from macOS Mojave to 
macOS Catalina had moved the Gill Sans font so I had to do teh reload.

Gerben Wierda (LinkedIn )
R Enterprise Architecture  (main site)
Book: Chess and the Art of Enterprise Architecture 
Book: Mastering ArchiMate 



> I got:
> 
> $ mtxrun --script fonts --list --all --pattern=Gill
> identifier   familyname   fontname filename   
>subfont   instances
> 
> gillsans gillsans gillsans 
> /Library/Fonts/GillSans.ttc   1
> gillsansblackgillsans gillsansultrabold
> /Library/Fonts/GillSans.ttc   7
> gillsansbold gillsans gillsansbold 
> /Library/Fonts/GillSans.ttc   2
> gillsansbolditalic   gillsans gillsansbolditalic   
> /Library/Fonts/GillSans.ttc   4
> gillsansitalic   gillsans gillsansitalic   
> /Library/Fonts/GillSans.ttc   3
> gillsanslightgillsans gillsanslight
> /Library/Fonts/GillSans.ttc   8
> gillsanslightitalic  gillsans gillsanslightitalic  
> /Library/Fonts/GillSans.ttc   9
> gillsansnormal   gillsans gillsans 
> /Library/Fonts/GillSans.ttc   1
> gillsansregular  gillsans gillsans 
> /Library/Fonts/GillSans.ttc   1
> gillsanssemibold gillsans gillsanssemibold 
> /Library/Fonts/GillSans.ttc   5
> gillsanssemibolditalic   gillsans gillsanssemibolditalic   
> /Library/Fonts/GillSans.ttc   6
> gillsansultraboldgillsans gillsansultrabold
> /Library/Fonts/GillSans.ttc   7
> 
> Please check this on your system, and then try the names of the first column.
> 
> 
> Hraban
> ___
> 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] Using Gill Sans on macOS

2021-02-22 Thread Gerben Wierda
I’m normall using Optima Nova on my system, e.g. by defining a font like this:


\definefontfamily
[archimate]
[ss]
[Optima nova LT Pro]
[tf=style:Medium,
 bf=style:Bold,
 it=style:Medium Italic,
 bi=style:Bold Italic]
\setupbodyfont[archimate]

I would like to experiment with Gill Sans, but that fails with

fonts   > defining > unable to define 'GillSans.ttc' as 
'archimate-14pt-ss-tf-0--0'

It is here:

/System/Library/Fonts/Supplemental/GillSans.ttc

What should I do to be able to use that font?

Gerben Wierda (LinkedIn )
R Enterprise Architecture  (main site)
Book: Chess and the Art of Enterprise Architecture 
Book: Mastering ArchiMate 

___
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] Questions for eTABLE

2021-02-22 Thread Wolfgang Schuster

Alain Delmotte schrieb am 22.02.2021 um 19:58:


Hi!

I have the following program:



\definecolor [tableheader] [x=00ADEF]

\setupbodyfont[dejavu,10pt,ss]

% setups and example thanks to Wolfgang Schuster

\startsetups[tablesettings]

\setupTABLE[start][framecolor=gray,loffset=.5ex,roffset=.5ex]

\setupTABLE[row][first][background=color,backgroundcolor=tableheader,foregroundcolor=white]

\setupTABLE[first][first][corner=08]

\setupTABLE[last][first][corner=05]

\setupTABLE[first][last][corner=07]

\setupTABLE[last][last][corner=06]

\stopsetups

\starttext

{\bf Singular}

\setupTABLE[c][1,2,3][width=5cm]

\placetable[none][]{}{

\bTABLE[setups=tablesettings]

\bTR \bTH Pronoun \eTH \bTH Particle \eTH \bTH Noun \eTH \eTR

\bTR \bTH Mimi/Wewe/Yeye \eTH \bTH ni \eTH \bTH Mtanzania/Mmarekani 
/Mkenya \eTH \eTR


\bTR \bTH {\sl I/You/He or She} \eTH \bTH {\sl am/are/is} \eTH \bTH 
{\sl (a/an) Tanzanian/American/Kenyan} \eTH \eTR


\bTR \bTH Mimi/Wewe/Yeye \eTH \bTH si\eTH \bTH Mtanzania/Mmarekani 
/Mkenya \eTH \eTR


\bTR \bTH {\sl I/You/He or She} \eTH \bTH {\sl am/are/is not} \eTH 
\bTH {\sl (a/an) Tanzanian/American /Kenyan} \eTH \eTR


\eTABLE

}

\input zapf

\stoptext



I do not understand why the lines in Swahilli are in bold?



Use \bTD ... \eTD for the cells. The \bTH ... \eTH pair is for header 
lines and changes the style to bold.


If for the table I use \setupTABLE[c]1,2,3][width= 5cm, align=left] 
the texts are aligned to the right, if I say align=right they are to 
the left. OK to have left alignment the align instruction is not 
necessary, but for right?


https://wiki.contextgarden.net/Right_and_left

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
___


[NTG-context] Questions for eTABLE

2021-02-22 Thread Alain Delmotte

  
  
Hi!
I have the following program:


\definecolor [tableheader] [x=00ADEF]


\setupbodyfont[dejavu,10pt,ss]


% setups and example thanks to Wolfgang Schuster

\startsetups[tablesettings]
\setupTABLE[start][framecolor=gray,loffset=.5ex,roffset=.5ex]
\setupTABLE[row][first][background="">
\setupTABLE[first][first][corner=08]
\setupTABLE[last][first][corner=05]
\setupTABLE[first][last][corner=07]
\setupTABLE[last][last][corner=06]
\stopsetups


\starttext


{\bf Singular}
 \setupTABLE[c][1,2,3][width=5cm]
\placetable[none][]{}{
\bTABLE[setups=tablesettings]
\bTR \bTH Pronoun \eTH \bTH Particle \eTH \bTH Noun \eTH \eTR
\bTR \bTH Mimi/Wewe/Yeye \eTH \bTH ni \eTH \bTH Mtanzania/Mmarekani /Mkenya \eTH \eTR
\bTR \bTH {\sl I/You/He or She} \eTH \bTH {\sl am/are/is} \eTH \bTH {\sl (a/an) Tanzanian/American/Kenyan} \eTH \eTR
\bTR \bTH Mimi/Wewe/Yeye \eTH \bTH si\eTH \bTH Mtanzania/Mmarekani /Mkenya \eTH \eTR
\bTR \bTH {\sl I/You/He or She} \eTH \bTH  {\sl am/are/is not} \eTH \bTH {\sl (a/an) Tanzanian/American /Kenyan} \eTH \eTR
\eTABLE
}
\input zapf


\stoptext




I do not understand why the lines in Swahilli are in bold?


If for the table I use \setupTABLE[c]1,2,3][width= 5cm, align=left] the texts are aligned to the right, if I say align=right they are to the left. OK to have left alignment the align instruction is not necessary, but for right?


Thanks for you help!


--
Alain


  

___
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] Using Gill Sans on macOS

2021-02-22 Thread Henning Hraban Ramm


> Am 22.02.2021 um 16:14 schrieb Gerben Wierda :
> 
> I’m normall using Optima Nova on my system, e.g. by defining a font like this:
> 
> 
> \definefontfamily
> [archimate]
> [ss]
> [Optima nova LT Pro]
> [tf=style:Medium,
>  bf=style:Bold,
>  it=style:Medium Italic,
>  bi=style:Bold Italic]
> \setupbodyfont[archimate]
> 
> I would like to experiment with Gill Sans, but that fails with
> 
> fonts   > defining > unable to define 'GillSans.ttc' as 
> 'archimate-14pt-ss-tf-0--0'
> 
> It is here:
> 
> /System/Library/Fonts/Supplemental/GillSans.ttc
> 
> What should I do to be able to use that font?

Hi Gerben!

Sometimes ConTeXt can’t find the subfonts in TTCs, e.g.:

$ mtxrun --script fonts --list --all --pattern=Gill
identifierfamilyname   fontname  filename   
   subfont   instances

gillsans  gillsans gillsanslightitalic   
/Library/Fonts/GillSans.ttc   9
gillsanslight gillsans gillsanslightitalic   
/Library/Fonts/GillSans.ttc   9
gillsanslightitalic   gillsans gillsanslightitalic   
/Library/Fonts/GillSans.ttc   9


Only after
$ mtxrun --script fonts --reload --force
I got:

$ mtxrun --script fonts --list --all --pattern=Gill
identifier   familyname   fontname filename 
 subfont   instances

gillsans gillsans gillsans 
/Library/Fonts/GillSans.ttc   1
gillsansblackgillsans gillsansultrabold
/Library/Fonts/GillSans.ttc   7
gillsansbold gillsans gillsansbold 
/Library/Fonts/GillSans.ttc   2
gillsansbolditalic   gillsans gillsansbolditalic   
/Library/Fonts/GillSans.ttc   4
gillsansitalic   gillsans gillsansitalic   
/Library/Fonts/GillSans.ttc   3
gillsanslightgillsans gillsanslight
/Library/Fonts/GillSans.ttc   8
gillsanslightitalic  gillsans gillsanslightitalic  
/Library/Fonts/GillSans.ttc   9
gillsansnormal   gillsans gillsans 
/Library/Fonts/GillSans.ttc   1
gillsansregular  gillsans gillsans 
/Library/Fonts/GillSans.ttc   1
gillsanssemibold gillsans gillsanssemibold 
/Library/Fonts/GillSans.ttc   5
gillsanssemibolditalic   gillsans gillsanssemibolditalic   
/Library/Fonts/GillSans.ttc   6
gillsansultraboldgillsans gillsansultrabold
/Library/Fonts/GillSans.ttc   7

Please check this on your system, and then try the names of the first column.


Hraban
___
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] Hyphenation pattern for Esperanto

2021-02-22 Thread Tomas Hala
Hi Alain,

in my email, I used official language codes: be=Belarussian, bg=Bulgarian, 
sr=Serbian.

The \installlanguage command is very important because it contains
definitions of the most frequently used typographic elements of the 
given language, for details see below.

Looking forward for both lang-txt files. The sooner you will send it, the 
better.

The best,

Tomáš

Mon, Feb 22, 2021 ve 03:01:41PM +0100 Alain Delmotte napsal(a):
#Hi Tomáš,
# 
#Thanks for your message.
# 
#First which country is "be"? If Belgium, pay attention that there are
#three languages: Dutch (Flemish) French (a little bit different from
#France French) and German (1% of the population).
# 
#Could you explain me the meaning of:
# 
#Le 21/02/2021 à 23:48, Tomas Hala a écrit :
# 
#  And this one is also needed:
# 
#  #  \installlanguage
#  #    [\s!esperanto]
#  #    [\c!spacing=\v!packed,
#  #     %\c!leftsentence=\emdash,
#  #     %\c!rightsentence=\emdash,
#  #     %\c!leftsubsentence=\emdash,
#  #     %\c!rightsubsentence=\emdash,
#  #     %\c!leftquote=\lowerleftdoubleninequote,
#  #     %\c!rightquote=\upperrightdoublesixquote,
#  #     %\c!leftquotation=\lowerleftdoubleninequote,
#  #     %\c!rightquotation=\upperrightdoublesixquote,
#  #     %\c!date={\v!year,~m.,\space,\v!month,\space,\v!day,~d.},
#  #     \s!patterns=eo,
#  #     \s!lefthyphenmin=2,
#  #     \s!righthyphenmin=2]

Values for \installlanguage:

* spacing: packed means no difference between interword and intersentence 
spaces.
* (left|right)sentence: punctuation marks -- very often dashes -- for included 
parts in some sentences.
* (left|right)quotation: definition of primary quotation marks. 
* (left|right)quote: definition of secondary (nested) quotation marks.
* (left|right)hyphenmin: number of characters at the end of a line and at the 
beginning of the next line when the word is hyphenated.
* date: how the date should be typically typeset: order, spacing, or other 
signs or abbreviation or texts.

Those I do not know for eo, have been marked with a percent sign.

#I have seen that the \lowerleftdoubleninequote,... are sometimes given by
#the character itself “ ”,...
#For the date, is it the order of the part of the date yyy mm dd?
# 
#I did prepare the file lang-txt.lua and did send it to two friends for
#checking, I wait for their answer (I hope not to long).
# 
#I also have the pattern for hyphenation, the one from TeXLive uses
#fonctions to shorten the length of the file.
# 
#For French, I'll do it and send it to you.
# 
#Thanks for taking care of this.
# 
#  Regards,
# 
#Alain
___
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] Hyphenation pattern for Esperanto

2021-02-22 Thread Alain Delmotte

  
  
Hi Tomáš,
Thanks for your message.
First which country is "be"? If Belgium, pay attention that there
  are three languages: Dutch (Flemish) French (a little bit
  different from France French) and German (1% of the population).
Could you explain me the meaning of:

Le 21/02/2021 à 23:48, Tomas Hala a
  écrit :


  And this one is also needed:

#  \installlanguage
#    [\s!esperanto]
#    [\c!spacing=\v!packed,
#     %\c!leftsentence=\emdash,
#     %\c!rightsentence=\emdash,
#     %\c!leftsubsentence=\emdash,
#     %\c!rightsubsentence=\emdash,
#     %\c!leftquote=\lowerleftdoubleninequote,
#     %\c!rightquote=\upperrightdoublesixquote,
#     %\c!leftquotation=\lowerleftdoubleninequote,
#     %\c!rightquotation=\upperrightdoublesixquote,
#     %\c!date={\v!year,~m.,\space,\v!month,\space,\v!day,~d.},
#     \s!patterns=eo,
#     \s!lefthyphenmin=2,
#     \s!righthyphenmin=2]


I have seen that the \lowerleftdoubleninequote,... are sometimes
  given by the character itself “ ”,...
  For the date, is it the order of the part of the date yyy mm dd?

I did prepare the file lang-txt.lua and did send it to two
  friends for checking, I wait for their answer (I hope not to
  long).
I also have the pattern for hyphenation, the one from TeXLive
  uses fonctions to shorten the length of the file.
For French, I'll do it and send it to you.
Thanks for taking care of this.

 Regards,
Alain


  


___
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] Arbitrary equation tags... again

2021-02-22 Thread Jairo A. del Rio
Oh, dumb me, sorry for the noise and thank you very much. Not every day is
a good one, sorry again.

Jairo.

El lun, 22 de feb. de 2021 a la(s) 08:51, Hans Hagen (j.ha...@xs4all.nl)
escribió:

> On 2/22/2021 2:05 PM, Jairo A. del Rio wrote:
> > Hi. list.
> > Is it possible to assign an arbitrary equation tag in ConTeXt? I've seen
> > solutions here;
> >
> >
> https://tex.stackexchange.com/questions/400257/tag-equation-in-context-with-arbitrary-text
> > <
> https://tex.stackexchange.com/questions/400257/tag-equation-in-context-with-arbitrary-text
> >
> >
> > but none of them works as expected (either the formula counter is still
> > incrementing with arbitrary conversions or cross-references don't work).
>
> Define 'expected' ... \eqno is something low level (a primitive) and we
> have that nilled at the user level and only use it deep down. It was
> never meant as user command.
>
> > I imagine some things have changed in 2021 and I hope a better solution
> > is feasible nowadays.
>
> \startTEXpage[offset=2bp]
> \startplaceformula[title=A]
>  \startformula
>  1 + 1 = 2
>  \stopformula
> \stopplaceformula
> \stopTEXpage
>
> 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
___


Re: [NTG-context] Arbitrary equation tags... again

2021-02-22 Thread Hans Hagen

On 2/22/2021 2:05 PM, Jairo A. del Rio wrote:

Hi. list.
Is it possible to assign an arbitrary equation tag in ConTeXt? I've seen 
solutions here;


https://tex.stackexchange.com/questions/400257/tag-equation-in-context-with-arbitrary-text 



but none of them works as expected (either the formula counter is still 
incrementing with arbitrary conversions or cross-references don't work).


Define 'expected' ... \eqno is something low level (a primitive) and we 
have that nilled at the user level and only use it deep down. It was 
never meant as user command.


I imagine some things have changed in 2021 and I hope a better solution 
is feasible nowadays.


\startTEXpage[offset=2bp]
\startplaceformula[title=A]
\startformula
1 + 1 = 2
\stopformula
\stopplaceformula
\stopTEXpage

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
___


[NTG-context] Arbitrary equation tags... again

2021-02-22 Thread Jairo A. del Rio
Hi. list.
Is it possible to assign an arbitrary equation tag in ConTeXt? I've seen
solutions here;

https://tex.stackexchange.com/questions/400257/tag-equation-in-context-with-arbitrary-text

but none of them works as expected (either the formula counter is still
incrementing with arbitrary conversions or cross-references don't work). I
imagine some things have changed in 2021 and I hope a better solution is
feasible nowadays.

Best regards,

Jairo
___
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] \blackrule and margin

2021-02-22 Thread Ursula Hermann
Dear Pablo!


Thank you so much for helping me. It is perfect. The formular is also a part of 
my documet.


Uschi





Von: ntg-context  im Auftrag von Pablo Rodriguez 

Gesendet: Freitag, 19. Februar 2021 16:41
An: ntg-context@ntg.nl
Betreff: Re: [NTG-context] \blackrule and margin

On 2/19/21 4:02 PM, Ursula Hermann wrote:
> Dear List,
> i have the little following example:
>
> \setuppapersize[A8,landscape]
> \setuplayout[leftmargin=2.5cm,
>  leftmargindistance=0.2cm,
>  backspace=2.9cm,
>  width=4cm]
> \showframe
> \starttext
> \blackrule
> \margintext{Me}
> \blackrule[color=black, height=0.5ex, width=1cm]
> \stoptext
> \startformula
> a^n + b^n = c^n.
> \stopformula
> \stoptext
> What i want is a\blackrule over the margintext, but i do not get what I
> wantend.

Hi Uschi,

I don’t know whether this is similar to whay you might intend:

\setuppapersize[A8,landscape]
\setuplayout[leftmargin=2.5cm,
 leftmargindistance=0.2cm,
 backspace=2.9cm,
 width=4cm]
\showframe
\starttext
\blackrule
\margintext{\blackrule[color=black, height=0.5ex, width=1cm]\\Me}
\startformula
a^n + b^n = c^n.
\stopformula
\stoptext

BTW, it isn’t also clear to me whether the formula is part of your
document or not.

Just in case it helps,

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