Re: [NTG-context] Bib support broken in lmtx

2020-12-25 Thread denis.maier
Don't know if that's related, but you should probably removethe space before the key in your bibfile. Von: ntg-context im Auftrag von Philipp A. Gesendet: Freitag, 25. Dezember 2020 18:36:33 An: ConTeXt Mailing List Betreff: [NTG-context] Bib support bro

[NTG-context] SILE typesetter and other projects

2021-01-02 Thread denis.maier
Hi I just came across the SILE typesetter (https://sile-typesetter.org), which looks quite interesting and somehow similar to ConTeXt in some ways (e.g. lua), apart from the fact that it does not use TeX at all. ;-) Another project seems to be Patoline. Just out of curiosity: Has anyone some exp

Re: [NTG-context] A not so short introduction to ConTeXt Mark IV

2021-01-03 Thread denis.maier
Well, there's a document called "LaTeX in proper context", but that's from a different era and nowhere near exhaustive... Von: ntg-context im Auftrag von BPJ Gesendet: Sonntag, 3. Januar 2021 22:02:22 An: mailing list for ConTeXt users Betreff: Re: [NTG-

Re: [NTG-context] A not so short introduction to ConTeXt Mark IV

2021-01-03 Thread denis.maier
Thanks, Joaquín. This is really amazing. Denis > -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Joaquín > Ataz López > Gesendet: Sonntag, 3. Januar 2021 10:45 > An: mailing list for ConTeXt users > Betreff: [NTG-context] A not so short introduction to ConTeXt Mark IV > > H

Re: [NTG-context] SILE typesetter and other projects

2021-01-03 Thread denis.maier
> -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Henning > Hraban Ramm > Gesendet: Sonntag, 3. Januar 2021 14:45 > An: mailing list for ConTeXt users > Betreff: Re: [NTG-context] SILE typesetter and other projects > > Also thank you! > > Patoline is partly LaTeX based, Spee

Re: [NTG-context] SILE typesetter and other projects

2021-01-03 Thread denis.maier
Von: ntg-context Im Auftrag von Andres Conrado Montoya Gesendet: Sonntag, 3. Januar 2021 18:19 An: mailing list for ConTeXt users Betreff: Re: [NTG-context] SILE typesetter and other projects Hi Denis. SILE seems interesting, aslo Patoline. However, I think both of these are very immature, an

Re: [NTG-context] SILE typesetter and other projects

2021-01-03 Thread denis.maier
> -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Hans Hagen > Gesendet: Sonntag, 3. Januar 2021 19:19 > An: mailing list for ConTeXt users ; Jairo A. del Rio > > Betreff: Re: [NTG-context] SILE typesetter and other projects > [...] > so my main objective is to modernize thi

Re: [NTG-context] ligature prevention

2021-01-05 Thread denis.maier
Cool. How is that related to \zwj and \zwnj? By the way, the ligature suppression mechanism via \startexceptions is already implemented, correct? If yes, it should now be possible to convert the existing wordlists to the new format, right? Best, Denis Vo

Re: [NTG-context] Continued chapter numbers

2021-01-06 Thread denis.maier
Not tested, but what about this? \setupcounter[chapter][way=bytext] Best, Denis > -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von jbf > Gesendet: Mittwoch, 6. Januar 2021 10:24 > An: mailing list for ConTeXt users > Betreff: [NTG-context] Continued chapter numbers > > I ne

Re: [NTG-context] Some ligatures don't work in latest LMTX

2021-01-06 Thread denis.maier
Hi Does that work now? Best, Denis Von: ntg-context Im Auftrag von Jairo A. del Rio Gesendet: Dienstag, 24. November 2020 08:12 An: mailing list for ConTeXt users Betreff: [NTG-context] Some ligatures don't work in latest LMTX Hi everyone. The following example works fine with MkIV, but fails

Re: [NTG-context] Specify a directory for the generated pdf

2021-01-22 Thread denis.maier
Don't think that exists, but I think such an option would be quite convenient. Von: ntg-context im Auftrag von kaddour kardio Gesendet: Freitag, 22. Januar 2021 21:20:47 An: mailing list for ConTeXt users Betreff: [NTG-context] Specify a directory for the

[NTG-context] Write to tuc file

2021-02-27 Thread denis.maier
Hi, I want to split a PDF produced by context automatically at certain points. I was thinking I could add information about the desired breakpoints to the tuc file, but I don't know how you do this. Any hints? Best, Denis ___

Re: [NTG-context] Write to tuc file

2021-02-27 Thread denis.maier
It's a book that will be published in two volumes, continually paginated. In the end I need two pdf files, but I thought it might be easier to treat them as one volume and just split the files with some external tool afterwards. I could also treat them as two individual books, but then I'd have t

Re: [NTG-context] Write to tuc file

2021-02-27 Thread denis.maier
Thanks, that's helpful. So to automate this, I'll just need to get the pagenumbers from the log file. I'll give it a try. Von: Hans Hagen Gesendet: Samstag, 27. Februar 2021 19:26:52 An: Maier, Denis Christian (UB); mailing list for ConTeXt users Betreff:

Re: [NTG-context] Write to tuc file

2021-02-28 Thread denis.maier
Oh, another thing I've learned from your example us that \starttext ...\stoptext can be nested... Von: Hans Hagen Gesendet: Samstag, 27. Februar 2021 19:26:52 An: Maier, Denis Christian (UB); mailing list for ConTeXt users Betreff: Re: AW: [NTG-context] Wr

[NTG-context] Log overful boxes

2021-02-28 Thread denis.maier
Hi, How can you add information about underfulor overful boxes to the log? Ideally both vboxes and hboxes. Best, Denis ___ If your question is of interest to others as well, please add an entry to the Wiki! maillis

[NTG-context] Project Structure - inheritance rules for environments

2021-02-28 Thread denis.maier
Hi, I'm just having a look a project structure again. I am using the example given in the wiki: https://wiki.contextgarden.net/Project_structure, i.e., in my component I'm linking to the product, but not to the project. Now I was expecting that the component inherits the environment set in the p

[NTG-context] Project structure light

2021-03-01 Thread denis.maier
Hi, another question regarding project structure. I want to put each chapter of a book in a component or a distinct file loaded with \input, but I don't want to have a full project structure. Just a main file and the chapters. Nevertheless, I want to load the environment file in each subfile. Is

Re: [NTG-context] outputting components in their own PDFs

2021-03-01 Thread denis.maier
What exactly do you need? You can just process each component on its own. With a makefile or shell script, batch file, that should be easy enough. Or, do you need to have correct cross references, page numbers, etc.? I was asking a similar question two days ago, and Hans showed me how to add in

[NTG-context] Setuptolerance vs setupalign

2021-03-02 Thread denis.maier
Hi, I've just noticed that it's possible to do \setupalign [tolerant,stretch] and \setuptolerance [tolerant,stretch] Are these equivalent? Will this here have the desired effect? \setuptolerance[tolerant,stretch] \setupalign[hz,hanging] Or will \setupalign overwrite the tolerance settings? Be

Re: [NTG-context] Setuptolerance vs setupalign

2021-03-02 Thread denis.maier
Ok, so this combination will disable tolerant and stretch again? \setuptolerance[tolerant,stretch] \setupalign[hz,hanging] Or will it be preserved? Denis > -Ursprüngliche Nachricht- > Von: Hans Hagen > Gesendet: Dienstag, 2. März 2021 11:49 > An: mailing list for ConTeXt users ; Maier,

Re: [NTG-context] Log overful boxes

2021-03-04 Thread denis.maier
Thanks, that's helpful. Is there a way to collect these pieces of information and print them at the end together with rest of the processing information. I'm thinking of something like: mkiv lua stats > 2 overful boxes, 3 underful boxes or: warning > 2 overful boxes, 3 underful boxes What do

[NTG-context] reference chapters from another doc in this doc's toc

2021-03-05 Thread denis.maier
Hi, is it possible to include structure elements from other documents in a toc? E.g. when your having a multivolume book where each book is an individual book, but you want to have a TOC that covers all volumes? Best, Denis _

[NTG-context] arbitrary context commands in xml file

2021-03-05 Thread denis.maier
Hi Is there a way to add arbitrary context commands to an xml file without defining an injector first? Best Denis ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

Re: [NTG-context] arbitrary context commands in xml file

2021-03-05 Thread denis.maier
I mean without breaking the xml of course. Something like an ad hoc injector... Von: ntg-context im Auftrag von denis.ma...@ub.unibe.ch Gesendet: Freitag, 5. März 2021 15:39:53 An: ntg-context@ntg.nl Betreff: [NTG-context] arbitrary context commands in

Re: [NTG-context] arbitrary context commands in xml file

2021-03-05 Thread denis.maier
Thanks. But won't that break the xml? I'll need a new element for this right? But what if the schema doesn't allow this? Von: Wolfgang Schuster Gesendet: Freitag, 5. März 2021 16:01:25 An: mailing list for ConTeXt users Cc: Maier, Denis Christian (UB) Bet

Re: [NTG-context] arbitrary context commands in xml file

2021-03-05 Thread denis.maier
Just to provide more information about what I was thinking: You do your typesetting based on an XML doc. Now it is time for the finishing touches. In a tex document you'd add the usual commands to manipulate the layout: \adaptlayout[lines=+1] \testpage[3] \looseness=-1 / \looseness=+1 \blank \s

Re: [NTG-context] Log overful boxes

2021-03-05 Thread denis.maier
Thanks Hans. So, it's already available? I'll add this to the list of things I'll have to add to the wiki. (And I finally need to switch to LMTX...) > -Ursprüngliche Nachricht- > Von: Hans Hagen > Gesendet: Donnerstag, 4. März 2021 15:12 > An: Maier, Denis Christian (UB) ; ntg- > cont..

Re: [NTG-context] Write to tuc file

2021-03-05 Thread denis.maier
Thanks for this as well, Hans. Looks promising. So, this is to select pages or page-ranges for processing? > -Ursprüngliche Nachricht- > Von: Hans Hagen > Gesendet: Freitag, 5. März 2021 11:29 > An: Maier, Denis Christian (UB) ; ntg- > cont...@ntg.nl > Betreff: Re: AW: [NTG-context] Write

Re: [NTG-context] arbitrary context commands in xml file

2021-03-08 Thread denis.maier
> -Ursprüngliche Nachricht- > Von: Hans Hagen > Gesendet: Freitag, 5. März 2021 23:17 > An: mailing list for ConTeXt users ; Maier, Denis > Christian (UB) ; > wolfgang.schuster.li...@gmail.com > Betreff: Re: [NTG-context] arbitrary context commands in xml file [...] > > > > Here, I was

Re: [NTG-context] Log overful boxes

2021-03-08 Thread denis.maier
After installing LMTX I could now this test. Looks great. Thanks for adding this. Denis > -Ursprüngliche Nachricht- > Von: Hans Hagen > Gesendet: Freitag, 5. März 2021 23:14 > An: Maier, Denis Christian (UB) ; ntg- > cont...@ntg.nl > Betreff: Re: AW: AW: [NTG-context] Log overful boxes >

Re: [NTG-context] --extra=select --once in LMTX

2021-03-08 Thread denis.maier
Same here. > -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Pablo > Rodriguez > Gesendet: Sonntag, 7. März 2021 11:11 > An: mailing list for ConTeXt users > Betreff: [NTG-context] --extra=select --once in LMTX > > Dear list, > > I think there is a bug in LMTX with: > >

Re: [NTG-context] arbitrary context commands in xml file

2021-03-08 Thread denis.maier
Indeed. That's very useful. Thanks! Von: ntg-context Im Auftrag von Duncan Hothersall Gesendet: Montag, 8. März 2021 14:06 An: Hans Hagen Cc: mailing list for ConTeXt users Betreff: Re: [NTG-context] arbitrary context commands in xml file On Mon, 8 Mar 2021 at 12:46, Hans Hagen mailto:j.ha.

[NTG-context] Add items to list with arbitrary page number

2021-03-17 Thread denis.maier
Hi, I need to add an item to a list with an arbitrary page number. (The reason is that I have a multivolume book, and I want to add information about the other books to the TOC) I know about this: \writetolist[section]{}{It's a test} But how can you add an arbitrary page number ? Best, Denis

Re: [NTG-context] Add items to list with arbitrary page number

2021-03-18 Thread denis.maier
That's neat Hans. Thanks. Especially didn't know about \writedatatolist. What I want is basically to manually construct a toc entry, but in compliance with the overall styling of the contents list. So, I was hoping for something like this? \writetolist[chapter][location=here,pagenumber=4]{5}{I

[NTG-context] Ligatures missing with Times New Roman

2021-03-18 Thread denis.maier
Hi I'm have to use Times New Roman for a text, and I'm finding that ligatures don't seem to work properly. \starttext \definedfont[name:timesnewromanpsmt*default at 12 pt] ff fl \definedfont[name:linlibertineo*default at 12 pt] ff fl \switchtobodyfont[pagella] ff fl \stoptext The ff and fl liga

Re: [NTG-context] Ligatures missing with Times New Roman

2021-03-18 Thread denis.maier
Ok. But where are they coming from in Word? I'm on Windows. Von: Hans Hagen Gesendet: Donnerstag, 18. März 2021 15:43:45 An: mailing list for ConTeXt users; Maier, Denis Christian (UB) Betreff: Re: [NTG-context] Ligatures missing with Times New Roman On 3/

Re: [NTG-context] Ligatures missing with Times New Roman

2021-03-18 Thread denis.maier
Thanks, that solved it. Denis -Ursprüngliche Nachricht- Von: ntg-context Im Auftrag von Wolfgang Schuster Gesendet: Donnerstag, 18. März 2021 17:44 An: mailing list for ConTeXt users Betreff: Re: [NTG-context] Ligatures missing with Times New Roman Hans Hagen schrieb am 18.03.2021 um 1

[NTG-context] Keeping track of hyphenations

2021-03-19 Thread denis.maier
Hi Is there a way to conveniently track hyphenations ? I've had a look at https://wiki.contextgarden.net/Trackers but couldn't find anything. I'm thinking of something like this: add information about all hyphenated words to the log so that this could be further processed with a script maybe.

Re: [NTG-context] Keeping track of hyphenations

2021-03-19 Thread denis.maier
Ursprüngliche Nachricht- Von: Hans Hagen Gesendet: Freitag, 19. März 2021 12:44 An: mailing list for ConTeXt users ; Maier, Denis Christian (UB) Betreff: Re: [NTG-context] Keeping track of hyphenations On 3/19/2021 11:47 AM, denis.ma...@ub.unibe.ch wrote: > Hi > > Is there  a way to c

Re: [NTG-context] Keeping track of hyphenations

2021-03-19 Thread denis.maier
Wow, Hans, that looks awesome. Thanks a lot. Regarding the first output: What are the numbers intended to mean? In the second example we're talking in terms of lines in the input file, right? If so, would it make sense to add some more context? Like so, or similar: hyhenated > around line

[NTG-context] Replacement mechanism?

2021-03-22 Thread denis.maier
Hi, last October I've reported a strange bug with \replaceword I know there's the new mechanism for dealing with ligatures, and I still intend to convert the word list to the new format, but I'm still wondering whether that has been fixed. Now, I've been testing with the minimal example below,

[NTG-context] Questions regarding \startexceptions and ligature prevention

2021-03-22 Thread denis.maier
Hi, there's this rather new mechanism for preventing ligatures: \startexceptions[de] au{f-}{f}{ff}(f\zwnj f)asse au{f-}{f}{ff}(f\zwnj f)asste \stopexceptions Two questions: 1. Can you have multiple \startexceptions[de] environments ? Will they accumulate ? (I'm thinking about preparing a g

Re: [NTG-context] Questions regarding \startexceptions and ligature prevention

2021-03-22 Thread denis.maier
> -Ursprüngliche Nachricht- > Von: Hans Hagen > Gesendet: Montag, 22. März 2021 11:28 > An: mailing list for ConTeXt users ; Maier, Denis > Christian (UB) > Betreff: Re: [NTG-context] Questions regarding \startexceptions and ligature > prevention > > On 3/22/2021 10:33 AM, denis.ma...@ub

Re: [NTG-context] Questions regarding \startexceptions and ligature prevention

2021-03-22 Thread denis.maier
> -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von > denis.ma...@ub.unibe.ch > Gesendet: Montag, 22. März 2021 12:12 > An: j.ha...@xs4all.nl > Cc: ntg-context@ntg.nl > Betreff: Re: [NTG-context] Questions regarding \startexceptions and ligature > prevention > > > -Ursprüngl

Re: [NTG-context] Questions regarding \startexceptions and ligature prevention

2021-03-22 Thread denis.maier
Well, see attached. Interestingly, it does with \mainlanguage[de]. But, not for \language[de] \enabletrackers[hyphenation.applied.visualize] \startexceptions[de] au{f-}{f}{ff}as-sen \stopexceptions \mainlanguage[de] \starttext auffassen \language[en] auffassen \language[de] auffassen \stop

[NTG-context] Replacement mechanism bug in LMTX?

2021-03-24 Thread denis.maier
Ah, I've now realized that the \blockligatures needs to be activated as a font feature... So forget about this point. But, it still looks like ligature prevention with \replaceword is not working with lmtx, but it works with --luatex.

[NTG-context] Another bug with ligature-blocking?

2021-03-24 Thread denis.maier
Hi, I just ran into something strange with ligature blocking: --- \blockligatures[begrif:fl:ich] \definefontfeature[default][default][dlig=yes,liga=yes,] \definefontfeature[default:block][default][blockligatures=

Re: [NTG-context] Another bug with ligature-blocking?

2021-03-24 Thread denis.maier
> -Ursprüngliche Nachricht- > Von: Hans Hagen > Gesendet: Mittwoch, 24. März 2021 17:42 > An: mailing list for ConTeXt users ; Maier, Denis > Christian (UB) > Betreff: Re: [NTG-context] Another bug with ligature-blocking? > > On 3/24/2021 4:48 PM, denis.ma...@ub.unibe.ch wrote: > > > \d

[NTG-context] Summing up ligature prevention tests

2021-03-24 Thread denis.maier
Hi, Trying to sum up what we currently have regarding ligature prevention, it looks like we have three mechanisms available: 1. \replaceword[set][input][output] Ex.: \replaceword[ligs][Auflage][Au{fl}age] Replaces a word input with the corresponding output. Doesn't work at the moment with LMTX. C

Re: [NTG-context] Summing up ligature prevention tests

2021-03-24 Thread denis.maier
So, what's the general recommendation? Which approach is the best in your opinion? (In case it's the \replaceword approach: do you think you'll have time to look into this?) I've seen in an older thread that the best way to deal with this would be in the hyphenator. What do you think about thi

Re: [NTG-context] Summing up ligature prevention tests

2021-03-25 Thread denis.maier
> -Ursprüngliche Nachricht- > Von: Hans Hagen > Gesendet: Donnerstag, 25. März 2021 11:02 > An: Maier, Denis Christian (UB) ; ntg- > cont...@ntg.nl > Betreff: Re: AW: [NTG-context] Summing up ligature prevention tests > > On 3/24/2021 11:43 PM, denis.ma...@ub.unibe.ch wrote: > > So, what'

[NTG-context] Grid typesetting, blockquotes in smaller font across pagebreaks

2021-03-25 Thread denis.maier
Hi, I'm playing around with grid typesetting. Consider the following example: -- \setuppapersize[A5][A5] \setupbodyfont[10pt] \setuplayout[grid=yes] \showgrid \setupdelimitedtext[blockquote] [

Re: [NTG-context] Output result to specified file path

2021-03-30 Thread denis.maier
IIRC, there’s currently no support for this. --result= can be used to rename the output file, but it can not be used to create the file in a specific directory, nor to move it there. Such a feature would be quite useful though, I think. Maybe two options? --result=foo.pdf => rename output to foo.

[NTG-context] Nested structure of files loaded by input

2021-03-30 Thread denis.maier
Hi, I have file main.tex that loads various subfiles that are placed in a subdir : \starttext \input subdir/chapter1 \stoptext Chapter1.tex itself loads some other files that are also placed in the subdir directory : \starttext \input subfile1 \stoptext Subfile1 : \starttext Asdf \stopttext No

Re: [NTG-context] Nested structure of files loaded by input

2021-03-30 Thread denis.maier
Ok, I can make it work with \doiffileexistselse But is there a more elegant way ? Von: ntg-context Im Auftrag von denis.ma...@ub.unibe.ch Gesendet: Dienstag, 30. März 2021 09:44 An: ntg-context@ntg.nl Betreff: [NTG-context] Nested structure of files loaded by input Hi, I have file main.tex t

Re: [NTG-context] Nested structure of files loaded by input

2021-03-30 Thread denis.maier
> -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Henning > Hraban Ramm > Gesendet: Dienstag, 30. März 2021 10:14 > An: mailing list for ConTeXt users > Betreff: Re: [NTG-context] Nested structure of files loaded by input > > > > > Am 30.03.2021 um 09:43 schrieb denis.ma...

[NTG-context] Ligature suppression word list

2021-04-03 Thread denis.maier
Hi everyone Now that Hans has implemented the new ligature suppression mechanism via language goodies - thanks again Hans! - we now need to come up with wordlists. I've started working on a list of German words with ligatures that should be suppressed. The list is derived from the word list tha

Re: [NTG-context] Ligature suppression word list

2021-04-06 Thread denis.maier
> -Ursprüngliche Nachricht- > Von: Hans Hagen > Gesendet: Samstag, 3. April 2021 17:58 > An: mailing list for ConTeXt users ; Maier, Denis > Christian (UB) > Betreff: Re: [NTG-context] Ligature suppression word list > > On 4/3/2021 5:06 PM, denis.ma...@ub.unibe.ch wrote: > > Hi everyon

Re: [NTG-context] Ligature suppression word list

2021-04-06 Thread denis.maier
> -Ursprüngliche Nachricht- > Von: Hans Hagen > Gesendet: Samstag, 3. April 2021 17:58 > An: mailing list for ConTeXt users ; Maier, Denis > Christian (UB) > Betreff: Re: [NTG-context] Ligature suppression word list > > On 4/3/2021 5:06 PM, denis.ma...@ub.unibe.ch wrote: > > Hi everyone

Re: [NTG-context] Ligature suppression word list

2021-04-08 Thread denis.maier
Von: ntg-context Im Auftrag von rh...@t-online.de Gesendet: Mittwoch, 7. April 2021 20:20 An: ntg-context@ntg.nl Betreff: Re: [NTG-context] Ligature suppression word list A lot of corpora can be found here: https://wortschatz.uni-leipzig.de/de especially here: https://wortschatz.uni-leipzig.de/

Re: [NTG-context] Ligature suppression word list

2021-04-12 Thread denis.maier
Hi, a small update on this one : I’ve built a small python script that uses the patterns from the selnolig package to extract words with suspicious ligatures from the word list provided by the Uni Leipzig corpus project. Running the script over a corpus of over 1 million words produces the atta

[NTG-context] Analyze hyphenations

2021-04-18 Thread denis.maier
Hi, a couple of weeks ago Hans has implemented a tracker that adds a list of hyphentated words to the log file. I finally managed to play with this. The result is attached to this mail. This will permit analyzing hyphenations based on a ConTeXt log file. You need to enable hyphenation tracking

Re: [NTG-context] xml processing in latest

2021-04-21 Thread denis.maier
Hi What's the exact issue? I get the same results on my TeXLive version and on the latext lmtx: ConTeXt ver: 2020.01.26 18:34 MKIV beta fmt: 2020.10.2 int: english/english ConTeXt ver: 2021.04.18 18:12 LMTX fmt: 2021.4.20 int: english/english And even with --luatex ConTeXt ver: 2021.04.1

Re: [NTG-context] xml processing in latest

2021-04-21 Thread denis.maier
Ah, now I see ConTeXt ver: 2021.04.20 18:45 LMTX fmt: 2021.4.21 int: english/english gives me the attached result. Denis > -Ursprüngliche Nachricht- > Von: Maier, Denis Christian (UB) > Gesendet: Mittwoch, 21. April 2021 10:34 > An: ntg-context@ntg.nl > Betreff: AW: [NTG-context] xml p

Re: [NTG-context] nbsp in XML (S01E01)

2021-04-21 Thread denis.maier
Re tilde: maybe the answer is in the entities section of the xml mkiv manual. Denis Von: ntg-context im Auftrag von Jano Kula Gesendet: Mittwoch, 21. April 2021 23:09:55 An: mailing list for ConTeXt users Betreff: Re: [NTG-context] nbsp in XML (S01E01

[NTG-context] \setupalign[height] and \setupalign[line] in LMTX

2021-04-22 Thread denis.maier
Hi, \setupalign[height] and \setupalign[line] seem to have no effect in a LMTX. Do I need to change something? Best, Denis ``` \setuppapersize[A5][A5] \showframe %\setupalign[line] \setupalign[height] \setupdelimitedtext[blockquote]

[NTG-context] Style options and setupinterlinespace

2021-04-22 Thread denis.maier
Hi, the wiki (https://wiki.contextgarden.net/Font_Switching) currently says: > These quick font switches are meant for changing the font style, alternative, > or size of a few words: they do not change the bodyfont, so they don't affect > interline spacing or math font sizes. So, if you want t

[NTG-context] Page building and vertical stretching

2021-04-22 Thread denis.maier
Hi, in addition to my previous mails about \setupalign[height], a further question related to page building : I'm trying to understand how ConTeXt builds pages, and how this can be influenced. Regarding the example below, the aim is to have pages that always end at the same place. Now, how will

[NTG-context] setupalign[height] vs setupalign[line] in MKIV

2021-04-23 Thread denis.maier
Hi, I've noticed a somewhat unexpected behaviour. MWE below. \setupalign[line] adds an enormous amount of whitespace to fill a last page, but \setupalign[height] doesn't. Is that intended ? Currently this only happens with mkiv. As stated in another mail, these options seem to have no effect a

Re: [NTG-context] \setupalign[height] and \setupalign[line] in LMTX

2021-04-26 Thread denis.maier
Hi, sorry to be such a nuisance, but i'd still love to hear if I'm missing something or if something is going off the rails in LMTX. Best, Denis Von: Maier, Denis Christian (UB) Gesendet: Donnerstag, 22. April 2021 15:07 An: 'mailing list for ConTeXt users' Betreff: \setupalign[height] and \s

Re: [NTG-context] Style options and setupinterlinespace

2021-04-26 Thread denis.maier
Hi again, should I change the wiki or is the current behaviour a bug (that will eventually be corrected)? Best, Denis Von: Maier, Denis Christian (UB) Gesendet: Donnerstag, 22. April 2021 15:15 An: 'mailing list for ConTeXt users' Betreff: Style options and setupinterlinespace Hi, the wiki (

Re: [NTG-context] Style options and setupinterlinespace

2021-04-26 Thread denis.maier
Thanks everyone for your answers. In that case I'll change the wording in the wiki. All best, Denis > -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Wolfgang > Schuster > Gesendet: Montag, 26. April 2021 19:28 > An: mailing list for ConTeXt users > Betreff: Re: [NTG-context

Re: [NTG-context] Style options and setupinterlinespace

2021-04-26 Thread denis.maier
Wikified, as per Aditya's suggestion. Denis > -Ursprüngliche Nachricht- > Von: Maier, Denis Christian (UB) > Gesendet: Montag, 26. April 2021 22:50 > An: mailing list for ConTeXt users > Betreff: AW: [NTG-context] Style options and setupinterlinespace > > Thanks everyone for your answer

Re: [NTG-context] Style options and setupinterlinespace

2021-04-27 Thread denis.maier
> -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Aditya > Mahajan > Gesendet: Dienstag, 27. April 2021 05:49 > An: mailing list for ConTeXt users > Betreff: Re: [NTG-context] Style options and setupinterlinespace > > On Mon, 26 Apr 2021, denis.ma...@ub.unibe.ch wrote: > > >

Re: [NTG-context] \setupalign[height] and \setupalign[line] in LMTX

2021-04-28 Thread denis.maier
Ok, after dabbling around a bit more, I can now come up with the following example \setuppapersize[A5][A5] \showframe \setuptolerance[vertical,stretch] %\setupalign[line] %\setupinterlinespace[stretch=0.1] % vertical stretching seems to kick in for stretch

[NTG-context] calculating optimal height of textblock

2021-04-28 Thread denis.maier
Hi, how do you usually calcultate your layouts? For example in this example, the third value for height is not really helpful as there will never be a complete line : = \setupbodyfont[10pt] \definepapersize[test][width=140mm,height=208mm] \setuppapersize[test][test] \setuplayo

Re: [NTG-context] calculating optimal height of textblock

2021-04-29 Thread denis.maier
Thanks, Hans. That's really helpful. Denis > -Ursprüngliche Nachricht- > Von: Hans Hagen > Gesendet: Mittwoch, 28. April 2021 17:58 > An: mailing list for ConTeXt users ; Maier, Denis > Christian (UB) > Betreff: Re: [NTG-context] calculating optimal height of textblock > > On 4/28/202

Re: [NTG-context] calculating optimal height of textblock

2021-04-29 Thread denis.maier
One thing, I've noticed: Lines=40 seems to add more space than strictly necessary. Why is that? Example: === \setupbodyfont[10pt] \definepapersize[test][width=140mm,height=208mm] \setuppapersize[test][test] \setuppagenumbering[location={footer,middle}] \setuplayout[reset]

Re: [NTG-context] issue with Public Sans

2021-05-04 Thread denis.maier
Hi Pablo > -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Pablo > Rodriguez > Gesendet: Samstag, 1. Mai 2021 13:00 > An: mailing list for ConTeXt users > Betreff: [NTG-context] issue with Public Sans > > Dear listt, > > I have problems with current latest (from 2021.04.29

[NTG-context] conditionally add \vfill before section if at end of page

2021-05-04 Thread denis.maier
Hi, I'm still playing/struggling with vertical glue to have pages of a constant height. The following settings give reasonable results: = \setuppapersize[A5][A5] \setupalign[line] \setuptolerance[vertical,stretch] \setupinterlinespace[ stretch=0.001,

[NTG-context] setupalign[line]/setupalign[height] break \testpage

2021-05-06 Thread denis.maier
Hi everyone, I've recently asked this question: https://www.mail-archive.com/ntg-context@ntg.nl/msg98293.html To reiterate: Is there any way to add a \vfill on a page immediately before a section heading? On the mailing list I then found a possible solution : \setuphead[section][aftersection=cmd

Re: [NTG-context] weird word breaking in Win64

2021-05-08 Thread denis.maier
Looks like I can confirm this... see below. But it seems to depend on your PDF viewer. Results in Sumatra and Acrobat differ. Denis current version: 2021.05.06 23:35 Sumatra Coming back to the use of typefaces in electronic publishing: many of the new typog‍ raphersreceivetheirknowledgeand inf

[NTG-context] Adjusting parameters for a single page

2021-05-10 Thread denis.maier
Hi everyone, I know it is possible to make local changes by enclosing text in \start \stop pairs to make local changes. Then, there are also commands that only affect the next/current paragraph, such as \looseness. But is there a similar mechanism for page-layout changes? For example your penal

[NTG-context] Tracking overfull/underfull vboxes, widows/orphans

2021-05-10 Thread denis.maier
Hi, some time ago Hans has added these trackers for overfull/underfull hboxes: I'm wondering if there is something similar for vertical boxes? I've found these trackers: builders.vspacing builders.vpacking builders.page_vspacing builders.collect_vspacing But I don't really understand what they d

Re: [NTG-context] Include PDF pages

2021-05-11 Thread denis.maier
https://wiki.contextgarden.net/Including_pages_from_PDF_documents Von: ntg-context Im Auftrag von MANUEL GONZALEZ SUAREZ Gesendet: Dienstag, 11. Mai 2021 09:30 An: Context Betreff: [NTG-context] Include PDF pages Hello everybody: My query is as follows: in LaTeX there is the package "pdfpag

Re: [NTG-context] Adjusting parameters for a single page

2021-05-11 Thread denis.maier
Thanks, Hans, really interesting stuff. > so, basically, you have a lot of control, all together some 36 parameters > (pablo probably loves the somewhat secret on the fly adjustspacing step, > stretch and shrink tweakability) Any hints where I can find these 36 parameters? Thanks for your help, D

Re: [NTG-context] Adjusting parameters for a single page

2021-05-11 Thread denis.maier
-Ursprüngliche Nachricht- > Von: Hans Hagen > Gesendet: Dienstag, 11. Mai 2021 00:13 > An: mailing list for ConTeXt users ; Maier, Denis > Christian (UB) > Betreff: Re: [NTG-context] Adjusting parameters for a single page > > On 5/10/2021 5:15 PM, denis.ma...@ub.unibe.ch wrote: > > Hi ev

Re: [NTG-context] Adjusting parameters for a single page

2021-05-11 Thread denis.maier
Von: ntg-context Im Auftrag von luigi scarso Gesendet: Dienstag, 11. Mai 2021 10:41 An: mailing list for ConTeXt users Betreff: Re: [NTG-context] Adjusting parameters for a single page On Tue, May 11, 2021 at 10:29 AM mailto:denis.ma...@ub.unibe.ch>> wrote: -Ursprüngliche Nachricht-

[NTG-context] Ligatures blocking -- why block unspecified ligatures?

2021-05-12 Thread denis.maier
Hi, I just ran into an issue with the \blockligatures mechanism. For some reason, the following examples replaces ffi with f|fi and ffl with f|fl although I have not specified them in \blockligatures: == \definefontfeature[default][default][dlig=yes,l

[NTG-context] Language goodies -- hard line break the algorithm?

2021-05-12 Thread denis.maier
Hi, testing the new language goodies feature for ligature prevention, I found that hard line breaks seem to interfere somehow with the ligature prevention mechanism: == \setuplanguage[de][ goodies={lang-de.llg}] \startlanguageoptions[de] auf|jubeln \stoplanguageoptions \m

Re: [NTG-context] specify a directory for tex files

2021-05-25 Thread denis.maier
> -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Wolfgang > Schuster > Gesendet: Montag, 24. Mai 2021 21:04 > An: mailing list for ConTeXt users > Betreff: Re: [NTG-context] specify a directory for tex files > > Jeroen schrieb am 24.05.2021 um 20:44: > > similar to this for

Re: [NTG-context] specify a directory for tex files

2021-05-25 Thread denis.maier
Thanks for the explanation! > -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Wolfgang > Schuster > Gesendet: Dienstag, 25. Mai 2021 12:06 > An: mailing list for ConTeXt users > Betreff: Re: [NTG-context] specify a directory for tex files > > denis.ma...@ub.unibe.ch schrieb

[NTG-context] itemize margins,

2021-06-01 Thread denis.maier
Hi, in the following example the second line of the quote is not lined up with the first line. = \starttext \startitemize[n] [ %right=), %stopper=, %width=2em, %alternative=fit, %alternative=left, %alternative=intext, %distance=1em, %leftmargin=1em, %itemalign=flushleft,

Re: [NTG-context] itemize margins,

2021-06-01 Thread denis.maier
Von: ntg-context Im Auftrag von Wolfgang Schuster Gesendet: Dienstag, 1. Juni 2021 11:05 An: mailing list for ConTeXt users Betreff: Re: [NTG-context] itemize margins, denis.ma...@ub.unibe.ch schrieb am 01.06.2021 um 10:46: Hi, in the following example the seco

[NTG-context] Understanding penalties for orphans and widows

2021-06-01 Thread denis.maier
Hi, I've read in the wiki (https://wiki.contextgarden.net/Widows_and_orphans_control) that this setting can be used to keep at least two lines together: \startsetups[grid][mypenalties] \setdefaultpenalties \setpenalties\widowpenalties{2}{1} \setpenalties\clubpenalties {2}{1}

Re: [NTG-context] quotes potruding out in the left margin

2021-06-04 Thread denis.maier
> -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Wolfgang > Schuster > Gesendet: Freitag, 4. Juni 2021 10:08 > An: mailing list for ConTeXt users > Betreff: Re: [NTG-context] quotes potruding out in the left margin > > Sandra Snan schrieb am 04.06.2021 um 09:52: > > Oh, the

Re: [NTG-context] where to break a long header

2021-06-04 Thread denis.maier
\startsection[title={A very \\ long title},list={A very long title}] Von: ntg-context im Auftrag von Sandra Snan Gesendet: Samstag, 5. Juni 2021 07:59:33 An: ntg-context@ntg.nl Betreff: [NTG-context] where to break a long header I had an unsually long he

Re: [NTG-context] Project structure: Specifying environment in component

2021-06-09 Thread denis.maier
I’ve also struggled with this before as you can see if you search the mailing list. My question: https://www.mail-archive.com/ntg-context@ntg.nl/msg97763.html Wolfgang’s answer : https://www.mail-archive.com/ntg-context@ntg.nl/msg97775.html We should probably change the wiki to make it clear tha

Re: [NTG-context] Project structure: Specifying environment in component

2021-06-16 Thread denis.maier
I’ll look into this, and post to the list once I’ve made the changes so others can comment. Denis Von: ntg-context Im Auftrag von jethro Reuel Gesendet: Mittwoch, 9. Juni 2021 14:49 An: mailing list for ConTeXt users Betreff: Re: [NTG-context] Project structure: Specifying environment in comp

  1   2   >