[NTG-context] Can I use 'extend' and 'slant' in \definefontfamily to create fake italics etc.?

2023-06-16 Thread Gerben Wierda via ntg-context
}] It is slightly 'thicker' and the lowercases have a somewhat lower height percentage of the uppercases than Optima, but this is the closest I have come. G > On 16 Jun 2023, at 18:55, Gerben Wierda via ntg-context > wrote: > > Only regular, italic, bold, no bold italic (just

Re: [NTG-context] Off topic: Does a 'free for commercial use' flared-sans font exist in the world?

2023-06-16 Thread Gerben Wierda via ntg-context
Only regular, italic, bold, no bold italic (just as the Linux Bilonium it was forked from) > On 16 Jun 2023, at 18:39, Henning Hraban Ramm via ntg-context > wrote: > > Am 16.06.23 um 18:35 schrieb Gerben Wierda via ntg-context: >> I know this is off topic, but I susp

[NTG-context] Off topic: Does a 'free for commercial use' flared-sans font exist in the world?

2023-06-16 Thread Gerben Wierda via ntg-context
I know this is off topic, but I suspect this community is actually one of the best places to find an answer. I really like Optima, and what I really like about it is the 'flared style'. But I would like to move to a flared-sans font that gives me more licensing freedom. I haven't been able to

Re: [NTG-context] Using the open source Cabin font

2023-06-16 Thread Gerben Wierda via ntg-context
> version no files are listed but with the static version I had no problems to > load the font. > > \definefontfamily [archimate] [ss] [Cabin] > > \setupbodyfont [archimate] > > \starttext > {\bf The quick brown fox jumped over the lazy dog} > > \input knuth > \sto

Re: [NTG-context] Using the open source Cabin font

2023-06-16 Thread Gerben Wierda via ntg-context
I was wrong, not just the bold doesn't work, everything is replaced with Latin Modern. Cabin isn't used at all. > On 16 Jun 2023, at 15:05, Gerben Wierda via ntg-context > wrote: > > I've been trying to use the open source Cabin font > (https://fonts.google.com/specimen/

[NTG-context] Using the open source Cabin font

2023-06-16 Thread Gerben Wierda via ntg-context
I've been trying to use the open source Cabin font (https://fonts.google.com/specimen/Cabin ) like this: \definefontfamily [archimate] [ss] [Cabin] [tf=style:Regular, bf=style:Semibold, it=style:Italic, bi=style:Semibold

[NTG-context] Chinese typesetting with macOS font. Which one is a good choice?

2023-06-02 Thread Gerben Wierda via ntg-context
For Japanese I currently use \startsetups [japanese] \setscript [nihongo] \stopsetups \setuplanguage [ja] [setups=japanese] \definefallbackfamily [archimate] [ss] [Hiragino Sans] [preset=range:japanese, tf=style:W3, it=style:W3, bf=style:W5, bi=style:W5, force=yes]

[NTG-context] \getbuffer without extra whitespace?

2023-05-29 Thread Gerben Wierda via ntg-context
If I do something like: \startbuffer[version]20230529a\stopbuffer Version: \getbuffer[version]-en I get whitespace between the content of the buffer and “-en” What is the proper LMTX way to do this? Gerben Wierda (LinkedIn ) R Enterprise Architecture

[NTG-context] FYI: created with LMTX

2023-05-21 Thread Gerben Wierda via ntg-context
https://ea.rna.nl/archimate/free-archimate-overview-pdf/ The story at the end tells a bit about LMTX and how it was done (it's about 2500 lines of lua to parse the XML and produce the LMTX statements, and about 3500 lines of

[NTG-context] Probably simple: using a variable for \switchtobodyfont size

2023-05-19 Thread Gerben Wierda via ntg-context
I want to use a variable for a font size so I can set it based on language (as some translated texts have widely different sizes) This fails: %=== \newdimen\relationsFontSize \relationsFontSize=8pt \starttext \switchtobodyfont[\relationsFontSize] Hello, world! \stoptext

[NTG-context] \placeinitial doesn't work inside \framedtext (or \framed)

2023-05-16 Thread Gerben Wierda via ntg-context
rna.nl/the-book-edition-iii/> > On 15 May 2023, at 18:18, Gerben Wierda via ntg-context > wrote: > > I'd like to use a drop cap inside a \framed, but it doesn't work. > > Minimal example: > > %== > \starttext > \setupinitial[n=2,text=

Re: [NTG-context] Flushright problems with Japanese

2023-05-16 Thread Gerben Wierda via ntg-context
wrote: > > > > Gerben Wierda via ntg-context <mailto:ntg-context@ntg.nl>> 于2023年5月15日周一 16:43写道: > When I use flushright, my Japanese characters get widely spaced as if > flushing right doesn't work > > Minimal example: > > % ==

[NTG-context] \placeinitial inside \framed?

2023-05-15 Thread Gerben Wierda via ntg-context
I'd like to use a drop cap inside a \framed, but it doesn't work. Minimal example: %== \starttext \setupinitial[n=2,text=Knuth]\placeinitial\input knuth \framed[align=flushleft]{\setupinitial[n=2,text=Knuth]\placeinitial\input knuth } \stoptext

[NTG-context] Flushright problems with Japanese

2023-05-15 Thread Gerben Wierda via ntg-context
When I use flushright, my Japanese characters get widely spaced as if flushing right doesn't work Minimal example: % === \definefallbackfamily [archimate] [ss] [Hiragino Sans] [preset=range:japanese, tf=style:W3, it=style:W3, bf=style:W5,

Re: [NTG-context] Linebreaking in Japanese in ConTeXt

2023-04-30 Thread Gerben Wierda via ntg-context
> On 30 Apr 2023, at 10:04, Wolfgang Schuster via ntg-context > wrote: > > begin example > \definefontfamily [noto-jp] [rm] [Noto Serif CJK JP] > \definefontfamily [noto-jp] [ss] [Noto Sans CJK JP] > \definetypeface [noto-jp] [mm] [math] [pagella] [default] > > \setupbodyfont [noto-jp]

Re: [NTG-context] Linebreaking in Japanese in ConTeXt

2023-04-30 Thread Gerben Wierda via ntg-context
> On 30 Apr 2023, at 09:12, Gerben Wierda via ntg-context > wrote: > > I am currently testing with a Japanese translation of something I originally > created in English using the ConTeXt engine (LMTX). > > I run into the fact that Japanese has no use for whitespace, s

[NTG-context] Linebreaking in Japanese in ConTeXt

2023-04-30 Thread Gerben Wierda via ntg-context
I am currently testing with a Japanese translation of something I originally created in English using the ConTeXt engine (LMTX). I run into the fact that Japanese has no use for whitespace, so most of the time TeX has no idea where to break. Is there something I can tell ConTeXt to solve this

Re: [NTG-context] Getting started with Japanese

2022-07-09 Thread Gerben Wierda via ntg-context
Answering myself on Japanese, this actually works out of the box: \setuplanguage[ja][patterns={ja}]\mainlanguage[ja] \definefallbackfamily [archimate] [ss] [Hiragino Sans] [preset=range:japanese, tf=style:W3, it=style:W3, bf=style:W5, bi=style:W5, force=yes]

[NTG-context] Getting started with Japanese

2022-07-09 Thread Gerben Wierda via ntg-context
I’d like to experiment a bit with typesetting Japanese in ConTeXt (LMTX), to see if it is doable. I tried looking for Japanese on ConTeXtgarden, but did not find anything. Can someone point me to instructions to get started with Japanese in LMTX (on macOS). Thanks, Gerben Wierda (LinkedIn

Re: [NTG-context] What is going wrong with this use of --mode for switching language?

2022-07-08 Thread Gerben Wierda via ntg-context
> On 8 Jul 2022, at 11:57, Taco Hoekwater wrote: > > > >> On 8 Jul 2022, at 11:42, Gerben Wierda via ntg-context >> wrote: >> >> I have this minimal example: >> >> \startmode[EL] >> \setuplanguage[el][patterns={el}]\mainlangua

[NTG-context] What is going wrong with this use of --mode for switching language?

2022-07-08 Thread Gerben Wierda via ntg-context
I have this minimal example: \definemode[EN,FR,RU,PT,EL][keep] \startmodeset [EN] {\disablemode[FR,RU,PT,EL]} [RU] {\disablemode[EN,FR,PT,EL]} [FR] {\disablemode[EN,RU,PT,EL]} [PT] {\disablemode[EN,FR,RU,EL]} [EL] {\disablemode[EN,FR,RU,PT]}

[NTG-context] Cyrillic UTF8 works, greek does not?

2022-06-22 Thread Gerben Wierda via ntg-context
What am I doing wrong? Minimum example: \setuplanguage[en][spacing=packed,patterns={en,el,ru,fr,pt}] \definefallbackfamily [archimate] [ss] [Helvetica] [preset=range:cyrillic, tf=style:light, it=style:lightoblique, bf=style:regular, bi=style:oblique, force=yes]

[NTG-context] Can I simplify this to some sort of logic so it scales better?

2022-06-06 Thread Gerben Wierda via ntg-context
I have this: \definemode[EN,FR,RU,PT][keep] \doifmodeelse{EN} { \disablemode[FR] \disablemode[RU] \disablemode[PT] } { \doifmodeelse{FR} { \disablemode[EN] \disablemode[RU] \disablemode[PT] } { \doifmodeelse{RU} {

[NTG-context] Typesetting modern Greek (UTF8) with ConTeXt

2022-06-05 Thread Gerben Wierda via ntg-context
For Russian I have: \setuplanguage[ru][patterns={ru}]\mainlanguage[ru] \definefallbackfamily [archimate] [ss] [Helvetica] [preset=range:cyrillic, tf=style:light, it=style:lightoblique, bf=style:regular, bi=style:oblique, force=yes, rscale=1.0] \definefontfamily [archimate]

Re: [NTG-context] How do I turn off indentation inside a \framed with align=?

2022-06-02 Thread Gerben Wierda via ntg-context
> On 19 May 2022, at 18:22, Wolfgang Schuster via ntg-context > wrote: > > You have to provide a minimal example, in the following the example the text > within the frame isn't indented. I cannot always provide a minimal example (how much I would like to) as my TeX is produced in a pipeline

[NTG-context] How do I turn off indentation inside a \framed with align=?

2022-05-19 Thread Gerben Wierda via ntg-context
I have these kinds of statements \framed[frame=off,align=flushleft,width=\textwidth]{\phrasetext{metamodelexplanation}} but the text inside the frame is typeset with indentation. I tried \setupindenting both before and after \starttext, (none,no,never) but that doesn’t work. How do I turn

Re: [NTG-context] Does \startnotallmodes work?

2022-05-11 Thread Gerben Wierda via ntg-context
> On 11 May 2022, at 02:37, Rik Kabel via ntg-context > wrote: > > On 2022-05-10 17:39, Gerben Wierda via ntg-context wrote: >> Example. Call with >> >> context —mode=FR >> >> - Uncomment the first commented lines. Compilation fails because mode F

Re: [NTG-context] Can I use language as a mode (set on the command line) and simplify this?

2022-05-11 Thread Gerben Wierda via ntg-context
> On 11 May 2022, at 08:59, Taco Hoekwater wrote: > > > >> On 10 May 2022, at 23:40, Gerben Wierda via ntg-context >> wrote: >> >> Fix > >>> I was wondering if this can be simplified, e.g. by setting language on the >>> comman

Re: [NTG-context] Can I use language as a mode (set on the command line) and simplify this?

2022-05-10 Thread Gerben Wierda via ntg-context
Fix > On 10 May 2022, at 22:41, Gerben Wierda via ntg-context > wrote: > > I currently have: > > \startnotallmodes[FR,RU]% english is the default > \enablemode[EN] > \stopnotallmodes > \startmode[EN] > \setuplanguage[en][patterns={en}] > \setupexternalfigure

[NTG-context] Does \startnotallmodes work?

2022-05-10 Thread Gerben Wierda via ntg-context
Example. Call with context —mode=FR - Uncomment the first commented lines. Compilation fails because mode FR is on so that works But I get English anyway. Uncomment the second commented part and it fails, but it should not because mode=EN is not turned on. %\startmode[FR] % \BLURBONE %

[NTG-context] Can I use language as a mode (set on the command line) and simplify this?

2022-05-10 Thread Gerben Wierda via ntg-context
I currently have: \startnotallmodes[FR,RU]% english is the default \enablemode[EN] \stopmode \startmode[EN] \setuplanguage[en][patterns={en}] \setupexternalfigure[directory=../LMTX-Output/without-ids/en/ArchiMate 3.1 Metamodel ESv4] \stopmode \startmode[FR] \setuplanguage[fr][patterns={en,fr}]

Re: [NTG-context] Simple question

2022-05-10 Thread Gerben Wierda via ntg-context
given) the result is file-ru.pdf G > On 10 May 2022, at 17:21, Wolfgang Schuster > wrote: > > Gerben Wierda via ntg-context schrieb am 10.05.2022 um 00:15: >> What is the easiest way to have a ‘database’ of translations for strings and >> maybe links? >&

[NTG-context] Simple question

2022-05-09 Thread Gerben Wierda via ntg-context
What is the easiest way to have a ‘database’ of translations for strings and maybe links? I now have 4 languages and 2 versions so 8 documents, but I’d like to have all translatable strings together so I can maintain these in a single file. Ideally I can do a file where the key of the

[NTG-context] Solved: Book setup with LHS-side quotes before chapters/parts, header/footer issues, TOC, etc.

2021-10-26 Thread Gerben Wierda via ntg-context
Thanks to Wolfgang Schuster and Bruce Horrocks I have now a working solution. I ended up following Bruce’s suggestion of doing a left hand side (LHS) page opposite the first (RHS) chapter or part page differently than using after/before modifications of the \chapter and \part setups as I had

[NTG-context] Move the page number from header to footer on the current page only?

2021-10-25 Thread Gerben Wierda via ntg-context
> On 24 Oct 2021, at 18:04, Gerben Wierda via ntg-context > wrote: > > On 24 Oct 2021, at 16:38, Wolfgang Schuster > <mailto:wolfgang.schuster.li...@gmail.com>> wrote: >> >> Gerben Wierda via ntg-context schrieb am 24.10.2021 um 15:42: >>> My

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-24 Thread Gerben Wierda via ntg-context
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

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-24 Thread Gerben Wierda via ntg-context
tps://www.linkedin.com/in/gerbenwierda>) R Enterprise Architecture <https://ea.rna.nl/> (main site) Book: Chess and the Art of Enterprise Architecture <https://ea.rna.nl/the-book/> Book: Mastering ArchiMate <https://ea.rna.nl/the-book-edition-iii/> > On 24 Oct 2021, at 15:42, Ge

[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-24 Thread Gerben Wierda via ntg-context
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? Example:

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

2021-10-24 Thread Gerben Wierda via ntg-context
ays R3 (looks like an intermediate cert in the certificate > chain) has expired. > > See attached screenshot. > > Thank you, > > Best Regards, > Ramkumar > >> On Fri, Oct 22, 2021 at 4:11 PM Gerben Wierda via ntg-context >> wrote: >> I got a warn

Re: [NTG-context] A book with sections

2021-10-23 Thread Gerben Wierda via ntg-context
> On 23 Oct 2021, at 15:34, Wolfgang Schuster > wrote: > >  Gerben Wierda via ntg-context schrieb am 23.10.2021 um 15:20: >> I’d like a book with chapters to have sections/parts, e.g. something that >> groups a few \chapter elements together. Is there support f

Re: [NTG-context] How to enable the use of the blackboard font in modern ConTeXt

2021-10-23 Thread Gerben Wierda via ntg-context
On 23 Oct 2021, at 15:15, Pablo Rodriguez via ntg-context wrote: > > On 10/23/21 3:00 PM, Gerben Wierda via ntg-context wrote: >> By the way, neither does \blackboard{Q} work. But \rationals works in >> the case of the letter Q. > > Hi Gerben, > > it

[NTG-context] A book with sections

2021-10-23 Thread Gerben Wierda via ntg-context
I’d like a book with chapters to have sections/parts, e.g. something that groups a few \chapter elements together. Is there support for this in LMTX? I.e. in such a way that it also shows up in the table of contents? Thanks, Gerben Wierda (LinkedIn )

Re: [NTG-context] How to enable the use of the blackboard font in modern ConTeXt

2021-10-23 Thread Gerben Wierda via ntg-context
By the way, neither does \blackboard{Q} work. But \rationals works in the case of the letter Q. Gerben > On 23 Oct 2021, at 14:42, Gerben Wierda via ntg-context > wrote: > > I’m back to an attempt to migrate my old mkii project to lmtx > > One thing I haven’t been able

[NTG-context] How to enable the use of the blackboard font in modern ConTeXt

2021-10-23 Thread Gerben Wierda via ntg-context
I’m back to an attempt to migrate my old mkii project to lmtx One thing I haven’t been able to find yet is how to use the blackboard font. {\blackboard Q} Doesn’t do anything. It also doesn’t give an error. Gerben Wierda (LinkedIn ) R Enterprise

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

2021-10-22 Thread Gerben Wierda via ntg-context
; (main site) Book: Chess and the Art of Enterprise Architecture <https://ea.rna.nl/the-book/> Book: Mastering ArchiMate <https://ea.rna.nl/the-book-edition-iii/> > On 22 Oct 2021, at 02:21, Gerben Wierda via ntg-context > wrote: > > Just to let you know: The certifi

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

2021-10-21 Thread Gerben Wierda via ntg-context
Just to let you know: The certificate of the mailman site has expired (This email is also a test for me, as I had some troubles locally where mail was blocked so I want to see that it still arrives. Please ignore). Gerben Wierda (LinkedIn ) R Enterprise