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

2024-03-18 Thread Hraban Ramm

Am 18.03.24 um 00:02 schrieb 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


Thank you! There’s some information I need to add in the wiki.

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] Re: Mikael’s missing math manual

2024-03-18 Thread Hraban Ramm

Am 18.03.24 um 07:36 schrieb Mikael Sundqvist:

Hi,

On Sun, Mar 17, 2024 at 10:57 PM Hraban Ramm  wrote:

… 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.)

Oh, I see. So, I should really try to get something out. It is
difficult to find enough time working on it, in particular since Hans
is always adding new (not only math) stuff, but I will try. It is fun
to participate in the development, and I do not want to delay it
(somebody has to push him and test, and so on...)

But I should probably get something out, even if that is not really
finished/polished. All the basics are there. Then it can be a
work-in-progress document, adding/modifying new stuff.


Yes, please! The version that you gave me a year ago is already really 
interesting and helpful, and Hans’ manuals are also often "in progress". 
A visible TODO marker might help – I’m using the following in my book to 
keep track of incomplete sections:


\defineregister[todos]
\define[1]\TODO{\inouter{\tt\color[red]{TODO}}\expanded{\todos{\structurevariable{title}}}\color[red]{\bf
 #1}\autoinsertnextspace}

…
\startsection[title=Lists]
\TODO{Research the options of \tex{setupitemgroup}!}
\stopsection
…

\startchapter[title=Work list]
  Sections that still need work.\blank

  \placetodos
\stopchapter

So I get a prominent marker in the content and the title of the affected 
section as an index.



There have been many changes along the way, and maybe at some time
some things were not really working, but later fixed.


I thought so, too.

For promotion I’d like to have a few examples where the difference 
between TeX/LaTeX default rendering and new ConTeXt rendering is visible.


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] Re: issue with typing in footnotes

2024-03-18 Thread Pablo Rodriguez via ntg-context
On 3/17/24 23:58, Wolfgang Schuster wrote:
> Pablo Rodriguez via ntg-context schrieb am 17.03.2024 um 17:38:
>> [...]
>> 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.

Many thanks for your reply, Wolfgang.

Everything is clear to me now.

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] Re: can we do binding correction?

2024-03-18 Thread Hraban Ramm


Am 17.03.24 um 23:54 schrieb 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

Hi Wolfgang, thank you! Seems like I was too dense to understand the 
description for the \setuplayout parameters in the wiki (and there are 
more that I never used, oh my…), and since I never use ConTeXt’s 
imposition for serious print products (and never set up a scheme 
myself), I didn’t know about pageshift.


Ok, if I leave imposition to the printshop and they don't do binding 
correction in their workflow, I'd need to set horoffset differently for 
every single page (i.e. first, second, second-to-last and last the same; 
3th, 4th and from back the same etc.). Or is pageshift applied 
independently from arranging?


And then, it makes no sense to add the same value all the time. I don’t 
know if BCOR works this way in LaTeX, but one value (paper thickness) 
should be enough in combination with an imposition schema. I.e. if I 
define a paper thickness and the number of pages that are in one booklet 
(as a single booklet or part of a "proper" book), then the page shift 
should work automatically.


Well, for a single booklet, it could. In a book, booklets can have 
different numbers of pages, and then you'd need to define a list… Okay, 
too complicated. It’s the printshops's responsibility anyway, and nobody 
complained about my books so far. (I'm not perfectionist enough to care.)


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] Re: Mikael’s missing math manual

2024-03-18 Thread Aditya Mahajan
On Mon, 18 Mar 2024, Mikael Sundqvist wrote:

> > 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…
> 
> There have been many changes along the way, and maybe at some time
> some things were not really working, but later fixed.

In any case, it will be good to have examples of something that breaks. 
Usually, it is due to minor change in the syntax and easily fixable. 

Aditya___
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: PDF, runner, and TikZ patches

2024-03-18 Thread Hans Hagen

On 3/18/2024 1:31 AM, Jim wrote:

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.


ah, good to know


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.)


if it's plain, indeed, too confusing otherwise (it's no problem asking 
plain questions here but in this tikz case kind of confusing)



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.


not even plain needs color profiles and i hope tikz doesn't add them


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

ok

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 / 
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: Mikael’s missing math manual

2024-03-18 Thread Mikael Sundqvist
Hi,

On Sun, Mar 17, 2024 at 10:57 PM Hraban Ramm  wrote:
>
> … 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.)

Oh, I see. So, I should really try to get something out. It is
difficult to find enough time working on it, in particular since Hans
is always adding new (not only math) stuff, but I will try. It is fun
to participate in the development, and I do not want to delay it
(somebody has to push him and test, and so on...)

But I should probably get something out, even if that is not really
finished/polished. All the basics are there. Then it can be a
work-in-progress document, adding/modifying new stuff.

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

There have been many changes along the way, and maybe at some time
some things were not really working, but later fixed.

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