Re: [NTG-context] Help needed with Custodia typescript

2022-05-25 Thread Henning Hraban Ramm via ntg-context

Congrats!
While I don’t know what \mi is, it’s apparently protected. Maybe there’s 
a hint in the log.


Am 25.05.22 um 19:39 schrieb Stefan Nedeljkovic:

Actually I got lucky just now:

\definefontalternative[md]

\definefontalternative[mc]


Works just fine. Thank you for your suggestion Henning!


On Wed, May 25, 2022 at 7:35 PM Stefan Nedeljkovic > wrote:


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


custodiabold             custodia     custodiabold
Custodia-Bold.ttf
custodiabolditalic       custodia     custodiabolditalic  
Custodia-BoldItalic.ttf
custodiaitalic           custodia     custodianormalitalic
Custodia-NormalItalic.ttf
custodianormal           custodia     custodianormal  
Custodia-Normal.ttf
custodianormalitalic     custodia     custodianormalitalic
Custodia-NormalItalic.ttf
custodiaregular          custodia     custodianormal  
Custodia-Normal.ttf
custodiasemibold         custodia     custodiasemibold
Custodia-SemiBold.ttf
custodiasemibolditalic   custodia     custodiasemibolditalic  
Custodia-SemiBoldItalic.ttf


I tried a different name, but the result was the same.

On Wed, May 25, 2022 at 7:12 PM Henning Hraban Ramm via ntg-context
mailto:ntg-context@ntg.nl>> wrote:

Ah, sorry, didn’t know that. I can’t find an error in your code,
but I
don’t have the (commercial) font to test. What’s the output of the
mtxrun font lookup?
Did you try a different shortcut from "mi"?

Hraban

Am 25.05.22 um 18:44 schrieb Stefan Nedeljkovic:
 > It doesn't work for medium weights, as it is not standard. I
took my
 > solution from Wolfgang, here:
 >
https://tex.stackexchange.com/questions/303648/context-font-weights


 >
>
 >
 > On Wed, May 25, 2022 at 6:32 PM Henning Hraban Ramm via
ntg-context
 > mailto:ntg-context@ntg.nl>
>> wrote:
 >
 >     Hi Stefan,
 >
 >     I never used \definebodyfont but either \definefontfamily or
 >     typescripts
 >     with \definefontsynonym.
 >
 >     Did you try \definefontfamily[custodia][rm][Custodia] ?
 >
 > https://wiki.contextgarden.net/Command/definefontfamily

 >     >
 >
 >     Hraban
 >
 >     Am 25.05.22 um 18:20 schrieb Stefan Nedeljkovic via
ntg-context:
 >      >
 >      > Dear list,
 >      >
 >      >
 >      > I'm trying to set up Custodia in LMTX, but the
 >     custodiasemibolditalic
 >      > won't show up. It shows up regularly when I run mtxrun
--script
 >     fonts
 >      > --list --all --pattern=Custodia
 >      >
 >      > I'm attaching the output for reference. Any help would be
 >     appreciated.
 >      >
 >      >
 >      > Sincerely,
 >      >
 >      > Stefan
 >      >
 >      > \definefontalternative[md]
 >      >
 >      > \definefontalternative[mi]
 >      >
 >      >
 >      > \starttypescript [serif] [custodia]
 >      >
 >      > \definefontsynonym[Serif]
[name:custodianormal][features=default]
 >      >
 >      > \definefontsynonym[SerifItalic]
 >      > [name:custodianormalitalic][features=default]
 >      >
 >      > \definefontsynonym[SerifMedium]
 >     [name:custodiasemibold][features=default]
 >      >
 >      > \definefontsynonym[SerifMediumItalic]
 >      > [name:custodiasemibolditalic][features=default]
 >      >
 >      > \definefontsynonym[SerifBold]
[name:custodiabold][features=default]
 >      >
 >      > \definefontsynonym[SerifBoldItalic]
 >      > [name:custodiabolditalic][features=default]
 >      >
 >      > \stoptypescript
 >      >
 >      >
 >      > \starttypescript [serif] [custodia]
 >      >
 >      > \definebodyfont [default] [rm]
 >      >
 >      > [
 >      >
 >     

Re: [NTG-context] Help needed with Custodia typescript

2022-05-25 Thread Stefan Nedeljkovic via ntg-context
Actually I got lucky just now:

\definefontalternative[md]

\definefontalternative[mc]


Works just fine. Thank you for your suggestion Henning!

On Wed, May 25, 2022 at 7:35 PM Stefan Nedeljkovic 
wrote:

> mtxrun --script fonts --list --all --pattern=Custodia
> identifier   familyname   fontname filename
>subfont   instances
>
> custodiabold custodia custodiabold
> Custodia-Bold.ttf
> custodiabolditalic   custodia custodiabolditalic
> Custodia-BoldItalic.ttf
> custodiaitalic   custodia custodianormalitalic
> Custodia-NormalItalic.ttf
> custodianormal   custodia custodianormal
> Custodia-Normal.ttf
> custodianormalitalic custodia custodianormalitalic
> Custodia-NormalItalic.ttf
> custodiaregular  custodia custodianormal
> Custodia-Normal.ttf
> custodiasemibold custodia custodiasemibold
> Custodia-SemiBold.ttf
> custodiasemibolditalic   custodia custodiasemibolditalic
> Custodia-SemiBoldItalic.ttf
>
> I tried a different name, but the result was the same.
>
> On Wed, May 25, 2022 at 7:12 PM Henning Hraban Ramm via ntg-context <
> ntg-context@ntg.nl> wrote:
>
>> Ah, sorry, didn’t know that. I can’t find an error in your code, but I
>> don’t have the (commercial) font to test. What’s the output of the
>> mtxrun font lookup?
>> Did you try a different shortcut from "mi"?
>>
>> Hraban
>>
>> Am 25.05.22 um 18:44 schrieb Stefan Nedeljkovic:
>> > It doesn't work for medium weights, as it is not standard. I took my
>> > solution from Wolfgang, here:
>> > https://tex.stackexchange.com/questions/303648/context-font-weights
>> > 
>> >
>> > On Wed, May 25, 2022 at 6:32 PM Henning Hraban Ramm via ntg-context
>> > mailto:ntg-context@ntg.nl>> wrote:
>> >
>> > Hi Stefan,
>> >
>> > I never used \definebodyfont but either \definefontfamily or
>> > typescripts
>> > with \definefontsynonym.
>> >
>> > Did you try \definefontfamily[custodia][rm][Custodia] ?
>> >
>> > https://wiki.contextgarden.net/Command/definefontfamily
>> > 
>> >
>> > Hraban
>> >
>> > Am 25.05.22 um 18:20 schrieb Stefan Nedeljkovic via ntg-context:
>> >  >
>> >  > Dear list,
>> >  >
>> >  >
>> >  > I'm trying to set up Custodia in LMTX, but the
>> > custodiasemibolditalic
>> >  > won't show up. It shows up regularly when I run mtxrun --script
>> > fonts
>> >  > --list --all --pattern=Custodia
>> >  >
>> >  > I'm attaching the output for reference. Any help would be
>> > appreciated.
>> >  >
>> >  >
>> >  > Sincerely,
>> >  >
>> >  > Stefan
>> >  >
>> >  > \definefontalternative[md]
>> >  >
>> >  > \definefontalternative[mi]
>> >  >
>> >  >
>> >  > \starttypescript [serif] [custodia]
>> >  >
>> >  > \definefontsynonym[Serif] [name:custodianormal][features=default]
>> >  >
>> >  > \definefontsynonym[SerifItalic]
>> >  > [name:custodianormalitalic][features=default]
>> >  >
>> >  > \definefontsynonym[SerifMedium]
>> > [name:custodiasemibold][features=default]
>> >  >
>> >  > \definefontsynonym[SerifMediumItalic]
>> >  > [name:custodiasemibolditalic][features=default]
>> >  >
>> >  > \definefontsynonym[SerifBold]
>> [name:custodiabold][features=default]
>> >  >
>> >  > \definefontsynonym[SerifBoldItalic]
>> >  > [name:custodiabolditalic][features=default]
>> >  >
>> >  > \stoptypescript
>> >  >
>> >  >
>> >  > \starttypescript [serif] [custodia]
>> >  >
>> >  > \definebodyfont [default] [rm]
>> >  >
>> >  > [
>> >  >
>> >  > tf=Serif sa 1,
>> >  >
>> >  > it=SerifItalic sa 1,
>> >  >
>> >  > md=SerifMedium sa 1,
>> >  >
>> >  > mi=SerifMediumItalic sa 1,
>> >  >
>> >  > bf=SerifBold sa 1,
>> >  >
>> >  > bi=SerifBoldItalic sa 1]
>> >  >
>> >  > \stoptypescript
>> >  >
>> >  >
>> >  >
>> >  > \definetypeface [custodia] [rm] [serif] [custodia] [default]
>> >  >
>> >  >
>> >  >
>> >  >
>> >  >
>> >  > \usetypescript[custodia][uc]
>> >  >
>> >  > \setupbodyfont[custodia,rm,10pt]
>> >  >
>> >  >
>> >  > \starttext
>> >  >
>> >  >
>> >  > Regular Hamburgerfons,
>> >  >
>> >  > {\it Italic Hamburgerfons},
>> >  >
>> >  > {\md Medium Hamburgerfons},
>> >  >
>> >  > {\mi Medium Italic Hamburgerfons},
>> >  >
>> >  > {\bf Bold Hamburgerfons},
>> >  >
>> >  > {\bi Bold Italic Hamburgerfons},\\
>> >  >
>> >  >
>> >  > \setff{smallcaps}{Small Caps Hamburgerfons},
>> >  >
>> >  > \setff{smallcaps}{\it Small Caps Italic Hamburgerfons},
>> >  >
>> >  > \setff{smallcaps}{\md Small Caps Medium 

Re: [NTG-context] Help needed with Custodia typescript

2022-05-25 Thread Stefan Nedeljkovic via ntg-context
mtxrun --script fonts --list --all --pattern=Custodia
identifier   familyname   fontname filename
 subfont   instances

custodiabold custodia custodiabold
Custodia-Bold.ttf
custodiabolditalic   custodia custodiabolditalic
Custodia-BoldItalic.ttf
custodiaitalic   custodia custodianormalitalic
Custodia-NormalItalic.ttf
custodianormal   custodia custodianormal
Custodia-Normal.ttf
custodianormalitalic custodia custodianormalitalic
Custodia-NormalItalic.ttf
custodiaregular  custodia custodianormal
Custodia-Normal.ttf
custodiasemibold custodia custodiasemibold
Custodia-SemiBold.ttf
custodiasemibolditalic   custodia custodiasemibolditalic
Custodia-SemiBoldItalic.ttf

I tried a different name, but the result was the same.

On Wed, May 25, 2022 at 7:12 PM Henning Hraban Ramm via ntg-context <
ntg-context@ntg.nl> wrote:

> Ah, sorry, didn’t know that. I can’t find an error in your code, but I
> don’t have the (commercial) font to test. What’s the output of the
> mtxrun font lookup?
> Did you try a different shortcut from "mi"?
>
> Hraban
>
> Am 25.05.22 um 18:44 schrieb Stefan Nedeljkovic:
> > It doesn't work for medium weights, as it is not standard. I took my
> > solution from Wolfgang, here:
> > https://tex.stackexchange.com/questions/303648/context-font-weights
> > 
> >
> > On Wed, May 25, 2022 at 6:32 PM Henning Hraban Ramm via ntg-context
> > mailto:ntg-context@ntg.nl>> wrote:
> >
> > Hi Stefan,
> >
> > I never used \definebodyfont but either \definefontfamily or
> > typescripts
> > with \definefontsynonym.
> >
> > Did you try \definefontfamily[custodia][rm][Custodia] ?
> >
> > https://wiki.contextgarden.net/Command/definefontfamily
> > 
> >
> > Hraban
> >
> > Am 25.05.22 um 18:20 schrieb Stefan Nedeljkovic via ntg-context:
> >  >
> >  > Dear list,
> >  >
> >  >
> >  > I'm trying to set up Custodia in LMTX, but the
> > custodiasemibolditalic
> >  > won't show up. It shows up regularly when I run mtxrun --script
> > fonts
> >  > --list --all --pattern=Custodia
> >  >
> >  > I'm attaching the output for reference. Any help would be
> > appreciated.
> >  >
> >  >
> >  > Sincerely,
> >  >
> >  > Stefan
> >  >
> >  > \definefontalternative[md]
> >  >
> >  > \definefontalternative[mi]
> >  >
> >  >
> >  > \starttypescript [serif] [custodia]
> >  >
> >  > \definefontsynonym[Serif] [name:custodianormal][features=default]
> >  >
> >  > \definefontsynonym[SerifItalic]
> >  > [name:custodianormalitalic][features=default]
> >  >
> >  > \definefontsynonym[SerifMedium]
> > [name:custodiasemibold][features=default]
> >  >
> >  > \definefontsynonym[SerifMediumItalic]
> >  > [name:custodiasemibolditalic][features=default]
> >  >
> >  > \definefontsynonym[SerifBold]
> [name:custodiabold][features=default]
> >  >
> >  > \definefontsynonym[SerifBoldItalic]
> >  > [name:custodiabolditalic][features=default]
> >  >
> >  > \stoptypescript
> >  >
> >  >
> >  > \starttypescript [serif] [custodia]
> >  >
> >  > \definebodyfont [default] [rm]
> >  >
> >  > [
> >  >
> >  > tf=Serif sa 1,
> >  >
> >  > it=SerifItalic sa 1,
> >  >
> >  > md=SerifMedium sa 1,
> >  >
> >  > mi=SerifMediumItalic sa 1,
> >  >
> >  > bf=SerifBold sa 1,
> >  >
> >  > bi=SerifBoldItalic sa 1]
> >  >
> >  > \stoptypescript
> >  >
> >  >
> >  >
> >  > \definetypeface [custodia] [rm] [serif] [custodia] [default]
> >  >
> >  >
> >  >
> >  >
> >  >
> >  > \usetypescript[custodia][uc]
> >  >
> >  > \setupbodyfont[custodia,rm,10pt]
> >  >
> >  >
> >  > \starttext
> >  >
> >  >
> >  > Regular Hamburgerfons,
> >  >
> >  > {\it Italic Hamburgerfons},
> >  >
> >  > {\md Medium Hamburgerfons},
> >  >
> >  > {\mi Medium Italic Hamburgerfons},
> >  >
> >  > {\bf Bold Hamburgerfons},
> >  >
> >  > {\bi Bold Italic Hamburgerfons},\\
> >  >
> >  >
> >  > \setff{smallcaps}{Small Caps Hamburgerfons},
> >  >
> >  > \setff{smallcaps}{\it Small Caps Italic Hamburgerfons},
> >  >
> >  > \setff{smallcaps}{\md Small Caps Medium Hamburgerfons},
> >  >
> >  > \setff{smallcaps}{\mi Small Caps Medium Italic Hamburgerfons},
> >  >
> >  > \setff{smallcaps}{\bf Small Caps Bold Hamburgerfons},
> >  >
> >  > \setff{smallcaps}{\bi Small Caps Bold Italic Hamburgerfons}
> >  >
> >  >
> >  > \stoptext
> >  >
>
> 

Re: [NTG-context] Help needed with Custodia typescript

2022-05-25 Thread Henning Hraban Ramm via ntg-context
Ah, sorry, didn’t know that. I can’t find an error in your code, but I 
don’t have the (commercial) font to test. What’s the output of the 
mtxrun font lookup?

Did you try a different shortcut from "mi"?

Hraban

Am 25.05.22 um 18:44 schrieb Stefan Nedeljkovic:
It doesn't work for medium weights, as it is not standard. I took my 
solution from Wolfgang, here: 
https://tex.stackexchange.com/questions/303648/context-font-weights 



On Wed, May 25, 2022 at 6:32 PM Henning Hraban Ramm via ntg-context 
mailto:ntg-context@ntg.nl>> wrote:


Hi Stefan,

I never used \definebodyfont but either \definefontfamily or
typescripts
with \definefontsynonym.

Did you try \definefontfamily[custodia][rm][Custodia] ?

https://wiki.contextgarden.net/Command/definefontfamily


Hraban

Am 25.05.22 um 18:20 schrieb Stefan Nedeljkovic via ntg-context:
 >
 > Dear list,
 >
 >
 > I'm trying to set up Custodia in LMTX, but the
custodiasemibolditalic
 > won't show up. It shows up regularly when I run mtxrun --script
fonts
 > --list --all --pattern=Custodia
 >
 > I'm attaching the output for reference. Any help would be
appreciated.
 >
 >
 > Sincerely,
 >
 > Stefan
 >
 > \definefontalternative[md]
 >
 > \definefontalternative[mi]
 >
 >
 > \starttypescript [serif] [custodia]
 >
 > \definefontsynonym[Serif] [name:custodianormal][features=default]
 >
 > \definefontsynonym[SerifItalic]
 > [name:custodianormalitalic][features=default]
 >
 > \definefontsynonym[SerifMedium]
[name:custodiasemibold][features=default]
 >
 > \definefontsynonym[SerifMediumItalic]
 > [name:custodiasemibolditalic][features=default]
 >
 > \definefontsynonym[SerifBold] [name:custodiabold][features=default]
 >
 > \definefontsynonym[SerifBoldItalic]
 > [name:custodiabolditalic][features=default]
 >
 > \stoptypescript
 >
 >
 > \starttypescript [serif] [custodia]
 >
 > \definebodyfont [default] [rm]
 >
 > [
 >
 > tf=Serif sa 1,
 >
 > it=SerifItalic sa 1,
 >
 > md=SerifMedium sa 1,
 >
 > mi=SerifMediumItalic sa 1,
 >
 > bf=SerifBold sa 1,
 >
 > bi=SerifBoldItalic sa 1]
 >
 > \stoptypescript
 >
 >
 >
 > \definetypeface [custodia] [rm] [serif] [custodia] [default]
 >
 >
 >
 >
 >
 > \usetypescript[custodia][uc]
 >
 > \setupbodyfont[custodia,rm,10pt]
 >
 >
 > \starttext
 >
 >
 > Regular Hamburgerfons,
 >
 > {\it Italic Hamburgerfons},
 >
 > {\md Medium Hamburgerfons},
 >
 > {\mi Medium Italic Hamburgerfons},
 >
 > {\bf Bold Hamburgerfons},
 >
 > {\bi Bold Italic Hamburgerfons},\\
 >
 >
 > \setff{smallcaps}{Small Caps Hamburgerfons},
 >
 > \setff{smallcaps}{\it Small Caps Italic Hamburgerfons},
 >
 > \setff{smallcaps}{\md Small Caps Medium Hamburgerfons},
 >
 > \setff{smallcaps}{\mi Small Caps Medium Italic Hamburgerfons},
 >
 > \setff{smallcaps}{\bf Small Caps Bold Hamburgerfons},
 >
 > \setff{smallcaps}{\bi Small Caps Bold Italic Hamburgerfons}
 >
 >
 > \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] Help needed with slide grid layout

2022-05-25 Thread Stefan Nedeljkovic via ntg-context
I have problems setting up the grid in question. I cannot seem to configure
the grid spacing properly, despite combing through the "details" manual.
Could you help me configure the grid?

On Wed, May 25, 2022 at 6:24 PM Stefan Nedeljkovic 
wrote:

> Thank you very much Wolfgang, that solved the problem.
>
> On Wed, May 25, 2022 at 4:01 PM Wolfgang Schuster <
> wolfgang.schuster.li...@gmail.com> wrote:
>
>> Stefan Nedeljkovic via ntg-context schrieb am 25.05.2022 um 13:35:
>> > Dear list,
>> >
>> > This is a follow-up question on my previous question about Jean-Luc
>> > Doumont and his grid layouts. This time I have concrete questions. I
>> > reverse engineered his slide (slide_grid_overlay.pdf). All his units
>> are
>> > based on inches, because the inch is an integer multiple (72) of the
>> TeX
>> > point. His base unit is 0.1in. I tried implementing the layout first,
>> > but the pdf dimensions do not match the ones I set up. For example the
>> > width should be 8 inches, but the pdf is over 11 inches wide. I wish to
>> > shut off all margins and similar things and only have a text area with
>> > an offset of 0.2in all around the page (see slide_grid_overlay.pdf).
>> > Here is my current attempt:
>>
>> You have to use the \measured (with a trailing s) command when you need
>> multiples of a measure value. When you use something like 2\measure{...}
>> ConTeXt uses the "2" followed by the value of the measure, the following
>> example demonstrates this in the second output.
>>
>>  begin example
>> \definemeasure [point] [1pt]
>>
>> \starttext
>>
>> \startbuffer
>> \tex{measure}: \measure{point}
>>
>> \tex{measured}: \the\measured{point}
>> \stopbuffer
>>
>> \typebuffer \getbuffer
>>
>> \startbuffer
>> 2\tex{measure}: 2\measure{point}
>>
>> 2\tex{measured}: \the\dimexpr2\measured{point}\relax
>> \stopbuffer
>>
>> \typebuffer \getbuffer
>>
>> \stoptext
>>  end example
>>
>> 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] Help needed with Custodia typescript

2022-05-25 Thread Stefan Nedeljkovic via ntg-context
It doesn't work for medium weights, as it is not standard. I took my
solution from Wolfgang, here:
https://tex.stackexchange.com/questions/303648/context-font-weights

On Wed, May 25, 2022 at 6:32 PM Henning Hraban Ramm via ntg-context <
ntg-context@ntg.nl> wrote:

> Hi Stefan,
>
> I never used \definebodyfont but either \definefontfamily or typescripts
> with \definefontsynonym.
>
> Did you try \definefontfamily[custodia][rm][Custodia] ?
>
> https://wiki.contextgarden.net/Command/definefontfamily
>
> Hraban
>
> Am 25.05.22 um 18:20 schrieb Stefan Nedeljkovic via ntg-context:
> >
> > Dear list,
> >
> >
> > I'm trying to set up Custodia in LMTX, but the custodiasemibolditalic
> > won't show up. It shows up regularly when I run mtxrun --script fonts
> > --list --all --pattern=Custodia
> >
> > I'm attaching the output for reference. Any help would be appreciated.
> >
> >
> > Sincerely,
> >
> > Stefan
> >
> > \definefontalternative[md]
> >
> > \definefontalternative[mi]
> >
> >
> > \starttypescript [serif] [custodia]
> >
> > \definefontsynonym[Serif] [name:custodianormal][features=default]
> >
> > \definefontsynonym[SerifItalic]
> > [name:custodianormalitalic][features=default]
> >
> > \definefontsynonym[SerifMedium] [name:custodiasemibold][features=default]
> >
> > \definefontsynonym[SerifMediumItalic]
> > [name:custodiasemibolditalic][features=default]
> >
> > \definefontsynonym[SerifBold] [name:custodiabold][features=default]
> >
> > \definefontsynonym[SerifBoldItalic]
> > [name:custodiabolditalic][features=default]
> >
> > \stoptypescript
> >
> >
> > \starttypescript [serif] [custodia]
> >
> > \definebodyfont [default] [rm]
> >
> > [
> >
> > tf=Serif sa 1,
> >
> > it=SerifItalic sa 1,
> >
> > md=SerifMedium sa 1,
> >
> > mi=SerifMediumItalic sa 1,
> >
> > bf=SerifBold sa 1,
> >
> > bi=SerifBoldItalic sa 1]
> >
> > \stoptypescript
> >
> >
> >
> > \definetypeface [custodia] [rm] [serif] [custodia] [default]
> >
> >
> >
> >
> >
> > \usetypescript[custodia][uc]
> >
> > \setupbodyfont[custodia,rm,10pt]
> >
> >
> > \starttext
> >
> >
> > Regular Hamburgerfons,
> >
> > {\it Italic Hamburgerfons},
> >
> > {\md Medium Hamburgerfons},
> >
> > {\mi Medium Italic Hamburgerfons},
> >
> > {\bf Bold Hamburgerfons},
> >
> > {\bi Bold Italic Hamburgerfons},\\
> >
> >
> > \setff{smallcaps}{Small Caps Hamburgerfons},
> >
> > \setff{smallcaps}{\it Small Caps Italic Hamburgerfons},
> >
> > \setff{smallcaps}{\md Small Caps Medium Hamburgerfons},
> >
> > \setff{smallcaps}{\mi Small Caps Medium Italic Hamburgerfons},
> >
> > \setff{smallcaps}{\bf Small Caps Bold Hamburgerfons},
> >
> > \setff{smallcaps}{\bi Small Caps Bold Italic Hamburgerfons}
> >
> >
> > \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
>
> ___
>
___
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] Help needed with Custodia typescript

2022-05-25 Thread Henning Hraban Ramm via ntg-context

Hi Stefan,

I never used \definebodyfont but either \definefontfamily or typescripts 
with \definefontsynonym.


Did you try \definefontfamily[custodia][rm][Custodia] ?

https://wiki.contextgarden.net/Command/definefontfamily

Hraban

Am 25.05.22 um 18:20 schrieb Stefan Nedeljkovic via ntg-context:


Dear list,


I'm trying to set up Custodia in LMTX, but the custodiasemibolditalic 
won't show up. It shows up regularly when I run mtxrun --script fonts 
--list --all --pattern=Custodia


I'm attaching the output for reference. Any help would be appreciated.


Sincerely,

Stefan

\definefontalternative[md]

\definefontalternative[mi]


\starttypescript [serif] [custodia]

\definefontsynonym[Serif] [name:custodianormal][features=default]

\definefontsynonym[SerifItalic] 
[name:custodianormalitalic][features=default]


\definefontsynonym[SerifMedium] [name:custodiasemibold][features=default]

\definefontsynonym[SerifMediumItalic] 
[name:custodiasemibolditalic][features=default]


\definefontsynonym[SerifBold] [name:custodiabold][features=default]

\definefontsynonym[SerifBoldItalic] 
[name:custodiabolditalic][features=default]


\stoptypescript


\starttypescript [serif] [custodia]

\definebodyfont [default] [rm]

[

tf=Serif sa 1,

it=SerifItalic sa 1,

md=SerifMedium sa 1,

mi=SerifMediumItalic sa 1,

bf=SerifBold sa 1,

bi=SerifBoldItalic sa 1]

\stoptypescript



\definetypeface [custodia] [rm] [serif] [custodia] [default]





\usetypescript[custodia][uc]

\setupbodyfont[custodia,rm,10pt]


\starttext


Regular Hamburgerfons,

{\it Italic Hamburgerfons},

{\md Medium Hamburgerfons},

{\mi Medium Italic Hamburgerfons},

{\bf Bold Hamburgerfons},

{\bi Bold Italic Hamburgerfons},\\


\setff{smallcaps}{Small Caps Hamburgerfons},

\setff{smallcaps}{\it Small Caps Italic Hamburgerfons},

\setff{smallcaps}{\md Small Caps Medium Hamburgerfons},

\setff{smallcaps}{\mi Small Caps Medium Italic Hamburgerfons},

\setff{smallcaps}{\bf Small Caps Bold Hamburgerfons},

\setff{smallcaps}{\bi Small Caps Bold Italic Hamburgerfons}


\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] Help needed with slide grid layout

2022-05-25 Thread Stefan Nedeljkovic via ntg-context
Thank you very much Wolfgang, that solved the problem.

On Wed, May 25, 2022 at 4:01 PM Wolfgang Schuster <
wolfgang.schuster.li...@gmail.com> wrote:

> Stefan Nedeljkovic via ntg-context schrieb am 25.05.2022 um 13:35:
> > Dear list,
> >
> > This is a follow-up question on my previous question about Jean-Luc
> > Doumont and his grid layouts. This time I have concrete questions. I
> > reverse engineered his slide (slide_grid_overlay.pdf). All his units are
> > based on inches, because the inch is an integer multiple (72) of the TeX
> > point. His base unit is 0.1in. I tried implementing the layout first,
> > but the pdf dimensions do not match the ones I set up. For example the
> > width should be 8 inches, but the pdf is over 11 inches wide. I wish to
> > shut off all margins and similar things and only have a text area with
> > an offset of 0.2in all around the page (see slide_grid_overlay.pdf).
> > Here is my current attempt:
>
> You have to use the \measured (with a trailing s) command when you need
> multiples of a measure value. When you use something like 2\measure{...}
> ConTeXt uses the "2" followed by the value of the measure, the following
> example demonstrates this in the second output.
>
>  begin example
> \definemeasure [point] [1pt]
>
> \starttext
>
> \startbuffer
> \tex{measure}: \measure{point}
>
> \tex{measured}: \the\measured{point}
> \stopbuffer
>
> \typebuffer \getbuffer
>
> \startbuffer
> 2\tex{measure}: 2\measure{point}
>
> 2\tex{measured}: \the\dimexpr2\measured{point}\relax
> \stopbuffer
>
> \typebuffer \getbuffer
>
> \stoptext
>  end example
>
> 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] Help needed with Custodia typescript

2022-05-25 Thread Stefan Nedeljkovic via ntg-context
Dear list,


I'm trying to set up Custodia in LMTX, but the custodiasemibolditalic won't
show up. It shows up regularly when I run mtxrun --script fonts --list
--all --pattern=Custodia

I'm attaching the output for reference. Any help would be appreciated.


Sincerely,

Stefan

\definefontalternative[md]

\definefontalternative[mi]


\starttypescript [serif] [custodia]

\definefontsynonym[Serif] [name:custodianormal][features=default]

\definefontsynonym[SerifItalic]
[name:custodianormalitalic][features=default]

\definefontsynonym[SerifMedium] [name:custodiasemibold][features=default]

\definefontsynonym[SerifMediumItalic]
[name:custodiasemibolditalic][features=default]

\definefontsynonym[SerifBold] [name:custodiabold][features=default]

\definefontsynonym[SerifBoldItalic]
[name:custodiabolditalic][features=default]

\stoptypescript


\starttypescript [serif] [custodia]

\definebodyfont [default] [rm]

[

tf=Serif sa 1,

it=SerifItalic sa 1,

md=SerifMedium sa 1,

mi=SerifMediumItalic sa 1,

bf=SerifBold sa 1,

bi=SerifBoldItalic sa 1]

\stoptypescript



\definetypeface [custodia] [rm] [serif] [custodia] [default]





\usetypescript[custodia][uc]

\setupbodyfont[custodia,rm,10pt]


\starttext


Regular Hamburgerfons,

{\it Italic Hamburgerfons},

{\md Medium Hamburgerfons},

{\mi Medium Italic Hamburgerfons},

{\bf Bold Hamburgerfons},

{\bi Bold Italic Hamburgerfons},\\


\setff{smallcaps}{Small Caps Hamburgerfons},

\setff{smallcaps}{\it Small Caps Italic Hamburgerfons},

\setff{smallcaps}{\md Small Caps Medium Hamburgerfons},

\setff{smallcaps}{\mi Small Caps Medium Italic Hamburgerfons},

\setff{smallcaps}{\bf Small Caps Bold Hamburgerfons},

\setff{smallcaps}{\bi Small Caps Bold Italic Hamburgerfons}


\stoptext


fonts2.pdf
Description: Adobe PDF document
___
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] Help needed with slide grid layout

2022-05-25 Thread Wolfgang Schuster via ntg-context

Stefan Nedeljkovic via ntg-context schrieb am 25.05.2022 um 13:35:

Dear list,

This is a follow-up question on my previous question about Jean-Luc 
Doumont and his grid layouts. This time I have concrete questions. I 
reverse engineered his slide (slide_grid_overlay.pdf). All his units are 
based on inches, because the inch is an integer multiple (72) of the TeX 
point. His base unit is 0.1in. I tried implementing the layout first, 
but the pdf dimensions do not match the ones I set up. For example the 
width should be 8 inches, but the pdf is over 11 inches wide. I wish to 
shut off all margins and similar things and only have a text area with 
an offset of 0.2in all around the page (see slide_grid_overlay.pdf). 
Here is my current attempt:


You have to use the \measured (with a trailing s) command when you need
multiples of a measure value. When you use something like 2\measure{...}
ConTeXt uses the "2" followed by the value of the measure, the following
example demonstrates this in the second output.

 begin example
\definemeasure [point] [1pt]

\starttext

\startbuffer
\tex{measure}: \measure{point}

\tex{measured}: \the\measured{point}
\stopbuffer

\typebuffer \getbuffer

\startbuffer
2\tex{measure}: 2\measure{point}

2\tex{measured}: \the\dimexpr2\measured{point}\relax
\stopbuffer

\typebuffer \getbuffer

\stoptext
 end example

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] Help needed with slide grid layout

2022-05-25 Thread Stefan Nedeljkovic via ntg-context
Dear list,

This is a follow-up question on my previous question about Jean-Luc Doumont
and his grid layouts. This time I have concrete questions. I reverse
engineered his slide (slide_grid_overlay.pdf). All his units are based on
inches, because the inch is an integer multiple (72) of the TeX point. His
base unit is 0.1in. I tried implementing the layout first, but the pdf
dimensions do not match the ones I set up. For example the width should be
8 inches, but the pdf is over 11 inches wide. I wish to shut off all
margins and similar things and only have a text area with an offset of
0.2in all around the page (see slide_grid_overlay.pdf). Here is my current
attempt:


%\input fonts


\definemeasure[base][0.1in]

\definemeasure[zero][0in]


\definepapersize[slide][width=80\measure{base},height=60\measure{base}]

\setuppapersize[slide]


\setuplayout[

leftedge=\measure{zero},

rightedge=\measure{zero},

leftedgedistance=\measure{zero},

rightedgedistance=\measure{zero},

leftmargin=\measure{zero},

rightmargin=\measure{zero},

leftmargindistance=\measure{zero},

rightmargindistance=\measure{zero},

width=middle,

cutspace=2\measure{base},

backspace=2\measure{base},

topspace=2\measure{base},

header=\measure{zero},

height=middle,

bottomspace=2\measure{base},

footer=\measure{zero}]


%\usetypescript[ibmplex][uc]

%\setupbodyfont[ibmplex,rm,9pt]





\starttext


\showlayout


\stoptext


Link to files:
https://drive.google.com/drive/folders/1KpYbDlukvSCirKkFvJICOX3wABl_83bW?usp=sharing



Kind regards,

Stefan
___
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] Help needed: texshow-web/command reference

2010-04-12 Thread richard . stephens

Patrick wrote:
 
 Hi all,
 
 the garden maintainers have moved the command reference from texshow-web
(
 http://texshow.contextgarde.net)
to the wiki, below the page
 
 http://wiki.contextgarden.net/Category:Reference/en
 
 This means, everybody can update the command reference now! Hooray!
 
 The contents has been transferred automatically, but this process

 can lead to some unwanted formatting errors. To find these errors,

 we need your help:
 
 Everybody: please pick one random command from 
 
 http://wiki.contextgarden.net/Category:Reference_Cleanup
 
 and make if this looks ok. If you are finished, please remove the

 first two lines from that page and save it.
 
 If everybody from this list helps with _one_ command, we are quickly
 done with checking the new reference!
 
 
 Thanks for your help!
 
 Patrick (for the garden maintainers)

This is fantastic news, and it looks great! Thanks
Patrick.

If the 'volunteers' are REALLY keen they could also
change examples so that they have the following form:

context source=yes text=yields
Some example code for the command in question.
/context

which then outputs both the raw code and the formatted
output separated by the word yields. It makes examples so much
more useful.

Best regards

Richard





Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registration
Number: 2416188

Registered in England and Wales.

Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.



CONFIDENTIALITY : This e-mail and any attachments are confidential and
may be privileged. If you are not a named recipient, please notify the
sender immediately and do not disclose the contents to another person,
use it for any purpose or store or copy the information in any medium.



Please consider the environment before printing this e-mail




___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Help needed: texshow-web/command reference

2010-04-12 Thread Patrick Gundlach
 
 This is fantastic news, and it looks great! Thanks Patrick. 

You're welcome! Lots of people have encouraged me to do so, so any input is 
welcome!

 
 If the 'volunteers' are REALLY keen they could also change examples so that 
 they have the following form: 
 
 context source=yes text=yields 
  Some example code for the command in question. 
 /context 
 
 which then outputs both the raw code and the formatted output separated by 
 the word yields. It makes examples so much more useful. 

This is a great suggestion! There are still approx. 50% of the commands to be 
checked, so if anyone on the lists has one or two spare minutes, again, the 
page is at

http://wiki.contextgarden.net/Category:Reference_Cleanup

Patrick

___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Help needed: texshow-web/command reference

2010-04-11 Thread Patrick Gundlach
Hi all,

the garden maintainers have moved the command reference from texshow-web 
(http://texshow.contextgarde.net) to the wiki, below the page

http://wiki.contextgarden.net/Category:Reference/en

This means, everybody can update the command reference now! Hooray!

The contents has been transferred automatically, but this process can lead to 
some unwanted formatting errors. To find these errors, we need your help:

Everybody: please pick one random command from 

http://wiki.contextgarden.net/Category:Reference_Cleanup

and make if this looks ok. If you are finished, please remove the first two 
lines from that page and save it.

If everybody from this list helps with _one_ command, we are quickly done with 
checking the new reference!


Thanks for your help!

Patrick (for the garden maintainers)

___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Help needed: texshow-web/command reference

2010-04-11 Thread Taco Hoekwater

Patrick Gundlach wrote:



Thanks for your help!


A great big thank you! to you!

Best wishes,
Taco
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Help needed: texshow-web/command reference

2010-04-11 Thread Hans Hagen

On 11-4-2010 3:45, Patrick Gundlach wrote:

Hi all,

the garden maintainers have moved the command reference from texshow-web 
(http://texshow.contextgarde.net) to the wiki, below the page

http://wiki.contextgarden.net/Category:Reference/en

This means, everybody can update the command reference now! Hooray!


very nice


The contents has been transferred automatically, but this process can lead to 
some unwanted formatting errors. To find these errors, we need your help:

Everybody: please pick one random command from

http://wiki.contextgarden.net/Category:Reference_Cleanup

and make if this looks ok. If you are finished, please remove the first two 
lines from that page and save it.


good plan!

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Help needed: texshow-web/command reference

2010-04-11 Thread Vyatcheslav Yatskovsky

 Help needed: texshow-web/command referenc

Gladly started with this, but two questions arose:

1) What is the standard? What formatting errors too look for? Should 
they be evident or subtle?


2) Should the description be added before removing Reference_Cleanup? 
Foe example, \but wiki page looks meaningless without the descrption.


http://wiki.contextgarden.net/Reference/en/but

--
Best Regards,
Vyatcheslav Yatskovsky
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Help needed: texshow-web/command reference

2010-04-11 Thread Wolfgang Schuster

Am 11.04.10 19:13, schrieb Vyatcheslav Yatskovsky:
2) Should the description be added before removing Reference_Cleanup? 
Foe example, \but wiki page looks meaningless without the descrption.


http://wiki.contextgarden.net/Reference/en/but

ConTeXt has no \but command although i think there was one in the past.

\starttext
\show\but
\stoptext

gives

 \but=undefined.
l.4 \show\but

but mult-en.tex contains

\setinterfacecommand{but}{but}

When you miss a description add one, that’s the meaning of a wiki.

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Help needed: texshow-web/command reference

2010-04-11 Thread Vyatcheslav Yatskovsky

Hi Willi and all NTG members,

I recently asked about if I can work off my annual NTG membership fee. 
Now I see great possibility for this.


I can take an obligation to clean up *all*

http://wiki.contextgarden.net/Category:Reference_Cleanup

concerning
http://archive.contextgarden.net/message/20100411.134521.3f2da72d.en.html

--
Best Regards,
Vyatcheslav Yatskovsky
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Help needed: texshow-web/command reference

2010-04-11 Thread Vyatcheslav Yatskovsky

Thank you for answer, Wolfgang.


ConTeXt has no \but command although i think there was one in the past.


I'm afraid you are wrong. See updated wiki page:

http://wiki.contextgarden.net/Reference/en/but

P.S. What about to wikify \show command itself? Or it is not ConTeXt 
command?


Regards,
Vyatcheslav
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Help needed: texshow-web/command reference

2010-04-11 Thread Wolfgang Schuster

Am 11.04.10 20:16, schrieb Vyatcheslav Yatskovsky:

Thank you for answer, Wolfgang.


ConTeXt has no \but command although i think there was one in the past.

I'm afraid you are wrong. See updated wiki page:

http://wiki.contextgarden.net/Reference/en/but

It's also available for itemize:

\startitemize
\but [content] ...
\stopitemize

I should include \let in my search next time.
P.S. What about to wikify \show command itself? Or it is not ConTeXt 
command?

It's a TeX primitive.

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Help needed: texshow-web/command reference

2010-04-11 Thread Vyatcheslav Yatskovsky

On 11.04.2010 22:34, ntg-context-requ...@ntg.nl wrote:

Thank you for answer, Wolfgang.


ConTeXt has no \but command although i think there was one in the past.

I'm afraid you are wrong. See updated wiki page:

http://wiki.contextgarden.net/Reference/en/but

It's also available for itemize:

\startitemize
\but [content] ...
\stopitemize


Don't understand how to use it. Without \definerreference there is no 
difference form ordinary \item, but \definerreference gives an error.


\setupinteraction
[state=start]
%\definerreference[content][] %gives error
\starttext
\startitemize
\but [content] ...
\stopitemize

--
Best Regards,
Vyatcheslav Yatskovsky
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Help needed: texshow-web/command reference

2010-04-11 Thread Henning Hraban Ramm

Am 2010-04-11 um 21:37 schrieb Vyatcheslav Yatskovsky:
Don't understand how to use it. Without \definerreference there is  
no difference form ordinary \item, but \definerreference gives an  
error.


\setupinteraction
[state=start]
%\definerreference[content][] %gives error
\starttext
\startitemize
\but [content] ...
\stopitemize


Did you try \definereference ? ;-)




Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] help needed

2007-09-08 Thread Andrea Valle

You can find useful to look here:

http://wiki.contextgarden.net/Mac_Installation

MacTeX is typically a no trouble installation

Best
-a-

On 8 Sep 2007, at 07:21, David Rogers wrote:


On Fri, 07 Sep 2007 18:53:49 +0200, Hans Hagen wrote:

Francis Derive wrote:

Bonjour Mesdames, Mesdemoiselles, et Messieurs,


That means I need your help.
I feel quite an idiot, but I don't know what to do with - say the
cont-tmf folder I downloaded for ma Mac Os X Tiger : looking  
inside, I

don't see any application...



I suggest you try an application called TeXShop. It is a nice OS X
application that allows you to use ConTeXt.

You can find it here:
http://www.uoregon.edu/~koch/texshop/texshop.html

David
__ 
_
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
__ 
_


--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
-- http://www.cirma.unito.it/andrea/
-- [EMAIL PROTECTED]
--


I did this interview where I just mentioned that I read Foucault. Who  
doesn't in university, right? I was in this strip club giving this  
guy a lap dance and all he wanted to do was to discuss Foucault with  
me. Well, I can stand naked and do my little dance, or I can discuss  
Foucault, but not at the same time; too much information.

(Annabel Chong)




___
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] help needed

2007-09-07 Thread Hans Hagen
Francis Derive wrote:
 Bonjour Mesdames, Mesdemoiselles, et Messieurs,
 
 
 That means I need your help.
 I feel quite an idiot, but I don't know what to do with - say the 
 cont-tmf folder I downloaded for ma Mac Os X Tiger : looking inside, I 
 don't see any application...
 Started reading the doc on your site, created a myfile.tex as yours, but
 % context myFile
 zsh: command not found: context
 
 Well, I have several TeX softare I don't use a lot - had used it, but 
 forgot and still wishes to go back to : so how can you show me the way ?
 
 Merci beaucoup !

depends on your system ... i forwarded to the context mailing list

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | 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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] help needed

2007-09-07 Thread Henning Hraban Ramm
Am 2007-09-07 um 18:53 schrieb Hans Hagen:

 i forwarded to the context mailing list

For amusement?

BTW on the LilyPond list we get a lot of similar questions of people  
who expect a GUI program...


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] help needed

2007-09-07 Thread Peter Schorsch
 Started reading the doc on your site, created a myfile.tex as yours, but
 % context myFile
 zsh: command not found: context

use instead:

texexec --pdf myFile.tex (use pdftex but Unicode is not working)

or

texexec --xtx myFile.tex (use Xetex with Unicode but is not working in
Context-distribution since 2007, download the latest 2006 version from
archiv)

or

texexec --lua myFile.tex (use LuaTex and Unicode but still official beta -
have no experience with it)


For XeTeX maybe look at:
http://archive.contextgarden.net/message/20070130.145856.ffeabcfc.en.html

Ciao

___
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] help needed

2007-09-07 Thread David Rogers
On Fri, 07 Sep 2007 18:53:49 +0200, Hans Hagen wrote:
 Francis Derive wrote:
 Bonjour Mesdames, Mesdemoiselles, et Messieurs,
 
 
 That means I need your help.
 I feel quite an idiot, but I don't know what to do with - say the 
 cont-tmf folder I downloaded for ma Mac Os X Tiger : looking inside, I 
 don't see any application...


I suggest you try an application called TeXShop. It is a nice OS X 
application that allows you to use ConTeXt.

You can find it here:
http://www.uoregon.edu/~koch/texshop/texshop.html

David
___
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] help needed with difficult document structure

2006-04-20 Thread Taco Hoekwater


Karsten Heymann wrote:
 
 I cannot expect a ready-to-run solution, but any hints or best context
 practices would be highly appreciated!

In ConTeXt you can define alternative heads and tocs quite easily, but
the actual setup depends (of course) on the structure of your input
files. Here are some relevant, slighly editted bits from a book I've
been working on (it has two tocs with wildly varying formats):

Hope this helps, Taco

%

\definehead[shortchapter][chapter]
\definehead[shortpart][part]

\definecombinedlist
   [shortcontent]
   [shortpart,shortchapter]
   [level=shortchapter,
criterium=all]

\setuplist
   [shortpart,shortchapter]
   [numbercommand=\gobbleoneargument,pagenumber=no]


\def\startchapter[#1]%
{\chapter{#1}%
 \expanded
   {\writetolist[shortchapter]{\getvalue{section-2number}}{#1}}}

\def\stopchapter
   {\page }


\starttext

\startfrontmatter
\subject{Short Contents}

\placecombinedlist[shortcontent]

\completecontent

\stopfrontmatter

\startbodymatter

\shortpart{First part}
\dorecurse{5}
 {\expanded{\startchapter[Chapter \recurselevel]}
  \dorecurse{5}{\section{My section}
\input knuth }
  \stopchapter}

\shortpart{Second part}
\dorecurse{2}
 {\expanded{\startchapter[Chapter \recurselevel]}
  \dorecurse{5}{\input knuth }
  \stopchapter}

\stopbodymatter

\stoptext
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] help needed with difficult document structure

2006-04-20 Thread Karsten Heymann
Hi Taco

Taco Hoekwater wrote:
 In ConTeXt you can define alternative heads and tocs quite easily, but
 the actual setup depends (of course) on the structure of your input
 files. 

 \setuplist
[shortpart,shortchapter]
[numbercommand=\gobbleoneargument,pagenumber=no]

Thanks, that already helps a lot. And as I just found the writetolist
command (don't know how I could overlook it yesterday), I think I'll get
it right now :)

Thanks alot,
Karsten



signature.asc
Description: OpenPGP digital signature
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] help needed with difficult document structure

2006-04-19 Thread Karsten Heymann
Hello,

I'm having a little bit of problem with the document structure of the
project I'm currently typesetting. It's kind of a scientific magazine
that consists mainly of independent articles. The articles use \section
and \subsection and should have their own numbering, as well as for the
caption numbers and such. Oh, and the article's internal sectioning
should not appear in any table of contents.

At a higher level each Article has it's title (and author) and groups of
articles are put together in categories (Studies, Documentations,
Focus articles). These Categories and the Article Titles should appear
in the main TOC:

Studies
On This And On That
John Doe ... 7
Another Study
B. E. Ginner .. 10

Focus Articles
A Focus Article
N. Ewbie .. 15

Documentation
Content of Documentations . 19
Europe  20
Asia .. 23
America ... 37
Africa  42

and so on. Chosing \part level for categories and \chapter/\title for
article titles comes to mind, but \chapter influences \section numbering
(2.1) and \title doesn't reset all those counters, leaving alone the
problem of getting the author into the toc. I guess I'll have to do this
one by hand.

To make things even funnier there is the documentation part, which has
two levels of unnumbered sectioning, of which the first level goes to
the main TOC and the first and second go to a dedicated documentation
TOC directly preceding that part and listing first and second level:

Documentation Content

Europe
Germany ... 21
Netherlands ... 22

Asia
China . 24

and so on.

Now I'm a bit unsure how to implement this cleanly in ConTeXt. I've
already done it for LaTeX (from which we are switching because of
ConTeXts superior layout abilities). I simply used two additional toc
files for that. In Context I even don't get unnumbered sections in any
toc :( (but maybe I'm just a bit over-tired...)

I cannot expect a ready-to-run solution, but any hints or best context
practices would be highly appreciated!

Yours sincerely,
Karsten



signature.asc
Description: OpenPGP digital signature
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] help needed with special macro

2005-02-21 Thread Hans Hagen
Peter Münster wrote:
On Fri, 18 Feb 2005, Hans Hagen wrote:

Peter Münster wrote:
On Thu, 17 Feb 2005, Hans Hagen wrote:

   \expanded{\bTR ... \eTR}
table data is collected and processed four times so you need to freeze
the content
can you send me a small sample

Of course:
\newcount\MyVersion
\def\MyMacro#1{%
  \getgparameters[XXX][#1]
  \global\advance\MyVersion by 1
  \expanded{\bTR\bTD \the\MyVersion \eTD \bTD \XXXDate \eTD\eTR}
}
\starttext
\bTABLE
\bTR \bTD Version \eTD \bTD Date \eTD \eTR
\MyMacro{Date=1.2.2005}
\MyMacro{Date=3.4.2005}
\MyMacro{Date=5.6.2005}
\eTABLE
\stoptext
Peter

\def\MyMacro#1{%
  \getgparameters[XXX][#1]
  \global\advance\MyVersion by 1
  \bTR \bTR\expanded{\bTD \the\MyVersion \eTD} \expanded{\bTD \XXXDate \eTD}\eTR
}

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] help needed with special macro

2005-02-21 Thread Peter Münster
On Mon, 21 Feb 2005, Hans Hagen wrote:

 \def\MyMacro#1{%
\getgparameters[XXX][#1]
\global\advance\MyVersion by 1
\bTR \bTR\expanded{\bTD \the\MyVersion \eTD} \expanded{\bTD \XXXDate 
 \eTD}\eTR
 }

Thank you very much, Hans!
In fact, I should have tried just a bit more: I tried \expanded{\bTR ... \eTR}
and \bTD \expanded{...} \eTD, but not that one...

Thank you also for contrastcolor=green !
Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] help needed with special macro

2005-02-18 Thread Hans Hagen
Peter Münster wrote:
On Thu, 17 Feb 2005, Hans Hagen wrote:

\expanded{\bTR ... \eTR}
}
table data is collected and processed four times so you need to freeze
the content
can you send me a small sample
Hans
-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] help needed with special macro

2005-02-18 Thread Peter Münster
On Fri, 18 Feb 2005, Hans Hagen wrote:

 Peter Münster wrote:
  On Thu, 17 Feb 2005, Hans Hagen wrote:
  
  \expanded{\bTR ... \eTR}
 
 table data is collected and processed four times so you need to freeze
 the content
 
 can you send me a small sample

Of course:

\newcount\MyVersion
\def\MyMacro#1{%
  \getgparameters[XXX][#1]
  \global\advance\MyVersion by 1
  \expanded{\bTR\bTD \the\MyVersion \eTD \bTD \XXXDate \eTD\eTR}
}
\starttext
\bTABLE
\bTR \bTD Version \eTD \bTD Date \eTD \eTR
\MyMacro{Date=1.2.2005}
\MyMacro{Date=3.4.2005}
\MyMacro{Date=5.6.2005}
\eTABLE
\stoptext

Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] help needed with special macro

2005-02-17 Thread Hans Hagen
Peter Münster wrote:
Hello,
could someone help me please with the following little macro?
Every line in the table should be different, but all are as the last one.
I've tried a lot with commands like \expanded{} or \expandafter etc, but
without results...
Perhaps the only solution is a temporary file?
\newcount\MyVersion
\def\MyMacro#1{%
  \getgparameters[XXX][#1]
  \global\advance\MyVersion by 1
  \bTR\bTD \the\MyVersion \eTD \bTD \XXXDate \eTD\eTR
\expanded{\bTR ... \eTR}
}
table data is collected and processed four times so you need to freeze the 
content
Hans
-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] help needed with special macro

2005-02-17 Thread Peter Münster
Hello,
could someone help me please with the following little macro?
Every line in the table should be different, but all are as the last one.
I've tried a lot with commands like \expanded{} or \expandafter etc, but
without results...
Perhaps the only solution is a temporary file?

\newcount\MyVersion
\def\MyMacro#1{%
  \getgparameters[XXX][#1]
  \global\advance\MyVersion by 1
  \bTR\bTD \the\MyVersion \eTD \bTD \XXXDate \eTD\eTR
}
\starttext
\bTABLE
\bTR \bTD Version \eTD \bTD Date \eTD \eTR
\MyMacro{Date=1.2.2005}
\MyMacro{Date=3.4.2005}
\MyMacro{Date=5.6.2005}
\eTABLE
\stoptext

TIA for any hint!
Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] help needed with special macro

2005-02-17 Thread Peter Münster
On Thu, 17 Feb 2005, Hans Hagen wrote:

  \expanded{\bTR ... \eTR}
  }
 
 table data is collected and processed four times so you need to freeze
 the content

This one of the possibilities, that I've tried, but I get this error:
ERROR: Use of \dododecrement doesn't match its definition.
Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context