[NTG-context] Re: PDF, runner, and TikZ patches

2024-03-17 Thread Jim
On Sat, Mar 16, 2024 at 15:20 (+0100), Hans Hagen wrote:

> On 3/16/2024 2:10 PM, Jim wrote:
>> On Fri, Mar 15, 2024 at 01:53 (+0100), Aditya Mahajan wrote:

>>> On Thu, 14 Mar 2024, Jim wrote:

>>> > Max (et al),

>>> > were you hoping the ConTeXt distribution would ship its own
>>> > pgfutil-context.def, or were you hoping that someone could convince Henri
>>> > to put the RGB change in?

>>> We can patch some of the definitions of pgfutil-context.def in m-tikz if
>>> really needed, but it would be preferable to first check if tikz
>>> maintainers are willing to merge them upstream.

>> Unfortunately, it seems that the maintainer feels that if we can't deal
>> with cmyk profiles, we shouldn't have cmyk at all.  I don't agree, but
>> that's where it ended.  (I was arguing for plain TeX support at the time in
>> the linked^2 message, but I was able to add the definition for cmyk to my
>> own macro file, so I was able to process examples with cmyk colours.)
> What does the maintainer mean by that ... context

The maintainer's comment was about plain TeX, not context.  Sorry if that
wasn't clear.

In any case, I should have sent my request to Max alone, rather than the
ntg-context list, because if Max was going to push something there, I was
hoping that a second appeal for cmyk colour support in plain would be
nice.  (I'm not quite ready to give up all of my plain TeX files.)

> can add profiles if configured to do so (best not to embed them) ... and
> why should there be a profile anyway ... crappy arguments ..

I agree about the colour profile, but the last time I poked that bear, my
pleas fell on deaf ears.

[And in summary, to be clear: I'm good with the colour support in ConTeXt!]

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: ck hyphenation in old German orthography

2024-03-17 Thread Wolfgang Schuster

Hraban Ramm schrieb am 17.03.2024 um 12:06:
Hi, the sample file aesop-de is in old German orthography, there, ck 
should get hyphenated as k-k, this doesn’t work (e.g. Mücke isn’t 
hyphenated at all). Is there something I can configure?


Hraban


\mainlanguage[deo]
\setuplanguage[deo][
   hyphenmin=4,
   lefthyphenmin=2,
   righthyphenmin=2,
]

\starttext

\hyphenatedfile{aesop-de}

\startcolumns
Funktioniert die Trennung? Heckeneckenzecken

\samplefile{aesop-de}

\stopcolumns

\stoptext


Just as a start, the languages manual provides more details about 
hyphenation.


\startexceptions[de]
He{k-}{k}{ck}en-e{k-}{k}{ck}en-ze{k-}{k}{ck}en
\stopexceptions

% \registerhyphenationpattern[de][c1k/k=k]
%
% \setuphyphenation[method=traditional]

\mainlanguage[de]

\starttext
Heckeneckenzecken = \hyphenatedword{Heckeneckenzecken}
\stoptext

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: issue with typing in footnotes

2024-03-17 Thread Wolfgang Schuster

Pablo Rodriguez via ntg-context schrieb am 17.03.2024 um 17:38:

Dear list,

I have the following sample (which was on the way of showing another issue):

   \starttext
   a
   \starttyping
   b
   \stoptyping
   c
   \startfootnote
   a
   \starttyping
   b
   \stoptyping
   c
   \stopfootnote
   \stoptext

Current latest (from 2024.03.11 09:34) breaks compilation with both LMTX
and LuaTeX.

As far as I know, this sample should be compiled without any issue.

Could you be so kind to confirm the issue or explain me what am I missing?


The footnote environment is just a fancy way for a command with a 
argument and buffers don't like being part of arguments.


You can put the code in buffer outside of the footnote and type the 
content of the buffer in the footnote.


 begin example
\starttext

\def\startfoo#1\stopfoo{#1}

% \startfoo
% xxx
% \starttyping
% yyy
% \stoptyping
% zzz
% \stopfoo

\startbuffer
yyy
\stopbuffer

\startfoo
xxx
\typebuffer
zzz
\stopfoo

\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 / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: can we do binding correction?

2024-03-17 Thread Wolfgang Schuster

Hraban Ramm schrieb am 17.03.2024 um 22:48:
Hi, this question was rised in my ConTeXt beginners workshop* at 
Chemnitz Linux Days today:


Can I configure binding correction for saddle-stitched or thread-bound 
booklets, and if, does it only work with arranging (imposition) or can 
I enable it somehow for the layout (if the printshop does the 
imposition)?


1. \definepageshift + \setuppageshift

2. \setuplayout[horoffset=]

Also I recognized I'm not sure about the difference of the layout 
parameters backspace and cutspace.


backspace is the inner margin and cutspace the outer

Wolfgang

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Mikael’s missing math manual

2024-03-17 Thread Hraban Ramm
… and another thing that came up in my workshops and in discussions at 
our booth: the math manual is eagerly awaited! (My book too, but I can’t 
answer most questions about math.)


One participant tested some math alignment examples from an older paper 
by Aditya and found them working in her current LMTX installation but 
not in COW – I know it runs an older version, but Aditya’s article was 
even older…


Hraban

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] can we do binding correction?

2024-03-17 Thread Hraban Ramm
Hi, this question was rised in my ConTeXt beginners workshop* at 
Chemnitz Linux Days today:


Can I configure binding correction for saddle-stitched or thread-bound 
booklets, and if, does it only work with arranging (imposition) or can I 
enable it somehow for the layout (if the printshop does the imposition)?


Also I recognized I'm not sure about the difference of the layout 
parameters backspace and cutspace.


Hraban

*) 8 participants who endured 3 hours of me mostly talking… Further 
questions that I couldn't answer for sure were about PDF/A or PDF/UA and 
how color profiles are handled within ConTeXt and at printshops (my 
monitor is profiled, but I know I have to edit images "too bright" to 
have them look right in print). I need to investigate further before I 
can ask precise questions.


When JUH yesterday had his shorter talk about "corporate publishing with 
Markdown and ConTeXt", the lecture hall was stuffed.


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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] issue with typing in footnotes

2024-03-17 Thread Pablo Rodriguez via ntg-context
Dear list,

I have the following sample (which was on the way of showing another issue):

  \starttext
  a
  \starttyping
  b
  \stoptyping
  c
  \startfootnote
  a
  \starttyping
  b
  \stoptyping
  c
  \stopfootnote
  \stoptext

Current latest (from 2024.03.11 09:34) breaks compilation with both LMTX
and LuaTeX.

As far as I know, this sample should be compiled without any issue.

Could you be so kind to confirm the issue or explain me what am I missing?

Many thanks for your help,

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] ck hyphenation in old German orthography

2024-03-17 Thread Hraban Ramm
Hi, the sample file aesop-de is in old German orthography, there, ck 
should get hyphenated as k-k, this doesn’t work (e.g. Mücke isn’t 
hyphenated at all). Is there something I can configure?


Hraban


\mainlanguage[deo]
\setuplanguage[deo][
  hyphenmin=4,
  lefthyphenmin=2,
  righthyphenmin=2,
]

\starttext

\hyphenatedfile{aesop-de}

\startcolumns
Funktioniert die Trennung? Heckeneckenzecken

\samplefile{aesop-de}

\stopcolumns

\stoptext

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: Why is header page number appearing when I define a header?

2024-03-17 Thread Hraban Ramm

Am 16.03.24 um 22:28 schrieb Marco Patzer:

On Sat, 16 Mar 2024 20:33:33 + (UTC)
Joel via ntg-context  wrote:


How do I remove the page number from the header texts?

   \setupheadertexts []

or

   \setuplayouttext
  [header][text]
  [middletext=]


I’d have guessed

\setuppagenumbering[location=,]

Hraban

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

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___