Re: [NTG-context] Romanization of ancient greek

2021-10-25 Thread Wolfgang Schuster via ntg-context

Marcus Vinicius Mesquita via ntg-context schrieb am 26.10.2021 um 00:38:

Dear list,

Is there anything in ConTeXt that could help me with automatic 
romanization of ancient greek words?


Is the Transliterator module from Philipp Gesang what you're looking for?

https://modules.contextgarden.net/cgi-bin/module.cgi/ruid=5025059042/action=view/id=50

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] Romanization of ancient greek

2021-10-25 Thread Marcus Vinicius Mesquita via ntg-context
Dear list,

Is there anything in ConTeXt that could help me with automatic romanization
of ancient greek words?

TIA

Marcus Vinicius
-- 
Todas as coisas fatigam o corpo, salvo a música, que não fatiga nem o corpo
nem seus membros, por ser descanso da alma, primavera do coração, distração
do aflito, entretenimento do solitário, e viático do viajante.

Kunnâsh al-Hâ'ik (Cancioneiro de al-Hâ'ik)
___
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] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-25 Thread Bruce Horrocks via ntg-context
Hi Gerben,

See below...

> On 24 Oct 2021, at 17:04, Gerben Wierda via ntg-context  
> wrote:
> 
> On 24 Oct 2021, at 16:38, Wolfgang Schuster 
>  wrote:
>> 
>> Gerben Wierda via ntg-context schrieb am 24.10.2021 um 15:42:
>>> My double-sided layout starts each chapter on a right page with a quote on 
>>> the opposing left page. I’d like to move the page number of that right page 
>>> to the footer, but haven’t been able to find how to do this is the 
>>> documentation. How can I do this?
>> 
>> \definetext
>>   [chapterfooter] % name
>>   [footer]% vertical location
>>   [pagenumber]% content
>> 
>> \setuphead
>>   [chapter]
>>   [header=empty,
>>footer=chapterfooter]
>> 
>> \starttext
>> 
>> \dorecurse{4}
>>   {\expanded{\chapter{Chapter \recurselevel}}
>>\dorecurse{10}{\samplefile{lorem}}}
>> 
>> \stoptext
>> 
>> Wolfgang
> 
> Yes, this works in a simple setup. But it doesn’t work in mine with my 
> LHS-quote/RHS-chapterstart setup using before and after on setup head.
> 
> Try this:
> 
> \setuplayout[location=doublesided]
> \setuppagenumbering[alternative=doublesided]
> 
> \definetext
>   [chapterfooter] % name
>   [footer]% vertical location
>   [pagenumber]% content
> 
> \setuphead[chapter]
>   [page=,
>header=empty,
>footer=chpaterfooter,
>sectionsegments=chapter,
>before={\setups[chapter:before]},
>after={\setups[chapter:after]}]
> 
> \startsetups chapter:before
> \page[left]
> \noheaderandfooterlines
> \startalignment[left,nothyphenated]
> \startnarrower[4*left]
> \em \getbuffer[chapter:quote]
> \stopnarrower
> \stopalignment
> \resetsetups[quote:text]
> \page[right]
> \blank[force,2*big]
> \stopsetups

Change chapter:before to be as follows (changes marked with %%)

\startsetups chapter:before
\page[left]
%noheaderandfooterlines %%
\setupheader[state=empty] %%
\setupfootertexts [] [pagenumber] [pagenumber] [] %%
\startalignment[left,nothyphenated]
\startnarrower[4*left]
\em \getbuffer[chapter:quote]
\stopnarrower
\stopalignment
\resetsetups[quote:text]
\page[right]
\blank[force,2*big]   
\setupfootertexts [] [] [] []  %%
\stopsetups

Is that what you were after?

> 
> \startsetups chapter:after
> \blank[3*big]
> \stopsetups
> 
> \definelist[chaptertext]
> \setuplist[chaptertext][margin=1.3em,pagecommand=\gobbleoneargument]
> \define[1]\ChapterAbstract{\writetolist[chaptertext]{}{\start\itx#1\stop}}
> 
> \starttext
> \startbuffer [chapter:quote]
> If you think good architecture is expensive, try bad architecture\crlf
> {\tf Brian Foote and Joseph Yoder}
> \stopbuffer
> 
> \chapter[h:one]{One}
> \ChapterAbstract{This is chapter abstract 1.}
> 
> \dorecurse{5}{\input tufte \par \input knuth}
> 
> \chapter[h:two]{Two}
> \ChapterAbstract{This is chapter abstract 2.}
> 
> \dorecurse{5}{\input tufte \par \input knuth}
> 
> \stoptext

—
Bruce Horrocks
Hampshire, UK

___
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] Failure to compile with new date code

2021-10-25 Thread Hans Hagen via ntg-context

On 10/25/2021 10:31 PM, Rik Kabel wrote:
This has been part of my setup interaction for a couple of years. 
Documents all pass verapdf pdf3a testing.


On Oct 25, 2021 15:54, Hans Hagen via ntg-context  
wrote:


On 10/25/2021 7:54 PM, Pablo Rodriguez via ntg-context wrote:
 > On 10/25/21 4:45 PM, Rik Kabel via ntg-context wrote:
 >> Hello all,
 >>
 >> The example below continues to work with MkIV, but now fails
with the
 >> most recent (ConTeXt  ver: 2021.10.24 21:45) LMTX:
 >>
 >>  \define\DraftOf   {Draft of \date}
 >>  \setupinteraction [date={\DraftOf}]
 >
 > Hi Rik,
 >
 > \setupinteraction[date=***] only accepts a date as input.
 >
 > Would it be possible that it was subtitle or title any of the options
 > you used?

we can of course accept anything but because these dates end up in
different spots it gets hairy ... also it can invalidate a pdf


next upload:

system  > invalid time specification 'Draft of October 25, 2021'
 -
  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] Failure to compile with new date code

2021-10-25 Thread Hans Hagen via ntg-context

On 10/25/2021 10:31 PM, Rik Kabel wrote:
This has been part of my setup interaction for a couple of years. 
Documents all pass verapdf pdf3a testing.


the date only ended up in some places but now we try to be consistent on 
all places


On Oct 25, 2021 15:54, Hans Hagen via ntg-context  
wrote:


On 10/25/2021 7:54 PM, Pablo Rodriguez via ntg-context wrote:
 > On 10/25/21 4:45 PM, Rik Kabel via ntg-context wrote:
 >> Hello all,
 >>
 >> The example below continues to work with MkIV, but now fails
with the
 >> most recent (ConTeXt  ver: 2021.10.24 21:45) LMTX:
 >>
 >>  \define\DraftOf   {Draft of \date}
 >>  \setupinteraction [date={\DraftOf}]
 >
 > Hi Rik,
 >
 > \setupinteraction[date=***] only accepts a date as input.
 >
 > Would it be possible that it was subtitle or title any of the options
 > you used?

we can of course accept anything but because these dates end up in
different spots it gets hairy ... also it can invalidate a pdf

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

___





--

-
  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] Failure to compile with new date code

2021-10-25 Thread Rik Kabel via ntg-context
This has been part of my setup interaction for a couple of years. Documents all pass verapdf pdf3a testing.On Oct 25, 2021 15:54, Hans Hagen via ntg-context  wrote:On 10/25/2021 7:54 PM, Pablo Rodriguez via ntg-context wrote:
> On 10/25/21 4:45 PM, Rik Kabel via ntg-context wrote:
>> Hello all,
>>
>> The example below continues to work with MkIV, but now fails with the
>> most recent (ConTeXt  ver: 2021.10.24 21:45) LMTX:
>>
>>  \define\DraftOf   {Draft of \date}
>>  \setupinteraction [date={\DraftOf}]
> 
> Hi Rik,
> 
> \setupinteraction[date=***] only accepts a date as input.
> 
> Would it be possible that it was subtitle or title any of the options
> you used?
we can of course accept anything but because these dates end up in 
different spots it gets hairy ... also it can invalidate a pdf
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
___

___
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] Failure to compile with new date code

2021-10-25 Thread Hans Hagen via ntg-context

On 10/25/2021 7:54 PM, Pablo Rodriguez via ntg-context wrote:

On 10/25/21 4:45 PM, Rik Kabel via ntg-context wrote:

Hello all,

The example below continues to work with MkIV, but now fails with the
most recent (ConTeXt  ver: 2021.10.24 21:45) LMTX:

 \define\DraftOf   {Draft of \date}
 \setupinteraction [date={\DraftOf}]


Hi Rik,

\setupinteraction[date=***] only accepts a date as input.

Would it be possible that it was subtitle or title any of the options
you used?


we can of course accept anything but because these dates end up in 
different spots it gets hairy ... also it can invalidate a pdf


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] Move the page number from header to footer on the current page only?

2021-10-25 Thread Wolfgang Schuster via ntg-context

Gerben Wierda schrieb am 25.10.2021 um 08:41:
I have a problem with getting the page number on the ‘first’ page of a 
chapter (in my setup, it is actually the second page as there is a LHS 
page before it with a quote. The bare minimum example:


When you switch to the chapter-environment get an additional hook at the 
start of each chapter. The advantage of this hook is that its values are 
inserted before the actual chapter code even starts.


\setuppagenumbering[alternative=doublesided]

\definetext
  [chapterfooter] % name
  [footer]    % vertical location
  [pagenumber]    % content

\setuphead
  [chapter]
  [page=yes,
   header=empty,
   footer=chapterfooter,
   sectionsegments=chapter,
   before={\blank[force,2*big]},
   after={\blank[3*big]},
   beforesection=\directsetup{chapter:before}]

\startsetups [chapter:before]
    \page[left]
    \noheaderandfooterlines
    \startalignment[flushright,nothyphenated]
    \startnarrower[4*left]
    \em \getbuffer[chapter:quote]
    \stopnarrower
    \stopalignment
    \page[right]
\stopsetups

\starttext

\startbuffer [chapter:quote]
If you think good architecture is expensive, try bad architecture\crlf
{\tf Brian Foote and Joseph Yoder}
\stopbuffer

\startchapter[title={One}]
\dorecurse{5}{\input tufte \par \input knuth}
\stopchapter

\startchapter[title={Two}]
\dorecurse{5}{\input tufte \par \input knuth}
\stopchapter

\stoptext

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Failure to compile with new date code

2021-10-25 Thread Pablo Rodriguez via ntg-context
On 10/25/21 4:45 PM, Rik Kabel via ntg-context wrote:
> Hello all,
>
> The example below continues to work with MkIV, but now fails with the
> most recent (ConTeXt  ver: 2021.10.24 21:45) LMTX:
>
> \define\DraftOf   {Draft of \date}
> \setupinteraction [date={\DraftOf}]

Hi Rik,

\setupinteraction[date=***] only accepts a date as input.

Would it be possible that it was subtitle or title any of the options
you used?

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
___


Re: [NTG-context] Failure to compile with new date code

2021-10-25 Thread Wolfgang Schuster via ntg-context

Rik Kabel via ntg-context schrieb am 25.10.2021 um 16:45:


Hello all,

The example below continues to work with MkIV, but now fails with the 
most recent (ConTeXt  ver: 2021.10.24 21:45) LMTX:


\define\DraftOf   {Draft of \date}
\setupinteraction [date={\DraftOf}]
\starttext
Fail with LMTX, works with MkIV.
\stoptext

If the answer is "don't do that" I can find another way to accomplish 
what this does -- not a big problem. But I do want to point out the 
difference in behavior.




The date-key expects its argument in a certain format but you pass 
garbage values.


See the following thread for more information: 
https://mailman.ntg.nl/pipermail/ntg-context/2021/103884.html


Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Failure to compile with new date code

2021-10-25 Thread Rik Kabel via ntg-context

Hello all,

The example below continues to work with MkIV, but now fails with the 
most recent (ConTeXt  ver: 2021.10.24 21:45) LMTX:


   \define\DraftOf   {Draft of \date}
   \setupinteraction [date={\DraftOf}]
   \starttext
   Fail with LMTX, works with MkIV.
   \stoptext

If the answer is "don't do that" I can find another way to accomplish 
what this does -- not a big problem. But I do want to point out the 
difference in behavior.


--
Rik
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] The certificate of the mailman site has expired

2021-10-25 Thread Mojca Miklavec via ntg-context
On Mon, 25 Oct 2021 at 00:46, Ramkumar KB via ntg-context wrote:
>
> Taco,
>
> Chrome browser says R3 (in the certificate chain) has expired.
>
> See attached screenshot.

Are you using macOS <= 10.14?

I see Let's Encrypt mentioned and that one has been causing some
issues lately, partially due to a not-well-defined algorithm for
treating multiple certificates in the chain.

A bit more about the issue (very macOS-centric) can be read here:
https://trac.macports.org/wiki/ProblemHotlist#letsencrypt

Mojca
___
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] Move the page number from header to footer on the current page only?

2021-10-25 Thread Gerben Wierda via ntg-context
I have a problem with getting the page number on the ‘first’ page of a chapter 
(in my setup, it is actually the second page as there is a LHS page before it 
with a quote. The bare minimum example:

\setuplayout[location=doublesided]
\setuppagenumbering[alternative=doublesided]

\setuphead[chapter]
  [page=,
   header=empty,
   footer=chpaterfooter,
   sectionsegments=chapter,
   before={\setups[chapter:before]}]

\startsetups chapter:before
\page[left]
\noheaderandfooterlines
\startalignment[left,nothyphenated]
\startnarrower[4*left]
\em \getbuffer[chapter:quote]
\stopnarrower
\stopalignment
\page[right]
\stopsetups

\starttext
\startbuffer [chapter:quote]
If you think good architecture is expensive, try bad architecture\crlf
{\tf Brian Foote and Joseph Yoder}
\stopbuffer

\chapter[h:one]{One}
\dorecurse{5}{\input tufte \par \input knuth}

\chapter[h:two]{Two}
\dorecurse{5}{\input tufte \par \input knuth}

\stoptext

What I think I need is a way to move the page number from header to footer for 
just the current page (immediately after \page[right]) in this setup. 

Or a way to move the page number from header to footer on any current page.

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

> On 24 Oct 2021, at 18:04, Gerben Wierda via ntg-context  
> wrote:
> 
> On 24 Oct 2021, at 16:38, Wolfgang Schuster 
>  > wrote:
>> 
>> Gerben Wierda via ntg-context schrieb am 24.10.2021 um 15:42:
>>> My double-sided layout starts each chapter on a right page with a quote on 
>>> the opposing left page. I’d like to move the page number of that right page 
>>> to the footer, but haven’t been able to find how to do this is the 
>>> documentation. How can I do this?
>> 
>> \definetext
>>   [chapterfooter] % name
>>   [footer]% vertical location
>>   [pagenumber]% content
>> 
>> \setuphead
>>   [chapter]
>>   [header=empty,
>>footer=chapterfooter]
>> 
>> \starttext
>> 
>> \dorecurse{4}
>>   {\expanded{\chapter{Chapter \recurselevel}}
>>\dorecurse{10}{\samplefile{lorem}}}
>> 
>> \stoptext
>> 
>> Wolfgang
> 
> Yes, this works in a simple setup. But it doesn’t work in mine with my 
> LHS-quote/RHS-chapterstart setup using before and after on setup head.
> 
> Try this:
> 
> \setuplayout[location=doublesided]
> \setuppagenumbering[alternative=doublesided]
> 
> \definetext
>   [chapterfooter] % name
>   [footer]% vertical location
>   [pagenumber]% content
> 
> \setuphead[chapter]
>   [page=,
>header=empty,
>footer=chpaterfooter,
>sectionsegments=chapter,
>before={\setups[chapter:before]},
>after={\setups[chapter:after]}]
> 
> \startsetups chapter:before
> \page[left]
> \noheaderandfooterlines
> \startalignment[left,nothyphenated]
> \startnarrower[4*left]
> \em \getbuffer[chapter:quote]
> \stopnarrower
> \stopalignment
> \resetsetups[quote:text]
> \page[right]
> \blank[force,2*big]
> \stopsetups
> 
> \startsetups chapter:after
> \blank[3*big]
> \stopsetups
> 
> \definelist[chaptertext]
> \setuplist[chaptertext][margin=1.3em,pagecommand=\gobbleoneargument]
> \define[1]\ChapterAbstract{\writetolist[chaptertext]{}{\start\itx#1\stop}}
> 
> \starttext
> \startbuffer [chapter:quote]
> If you think good architecture is expensive, try bad architecture\crlf
> {\tf Brian Foote and Joseph Yoder}
> \stopbuffer
> 
> \chapter[h:one]{One}
> \ChapterAbstract{This is chapter abstract 1.}
> 
> \dorecurse{5}{\input tufte \par \input knuth}
> 
> \chapter[h:two]{Two}
> \ChapterAbstract{This is chapter abstract 2.}
> 
> \dorecurse{5}{\input tufte \par \input knuth}
> 
> \stoptext
> 
> 
> 
> 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
> ___

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