Re: [NTG-context] Critical Editions?

2022-01-03 Thread hanneder--- via ntg-context
t; is a ligature. So in giving variants for both words, we cannot just separate samyag and gomaya, for then the ligature gg is not printed correctly. We also want to quote the correct word samyag in the apparatus (which is in roman!). Now, to make things more complicated the xml text should

Re: [NTG-context] aligning Malayalam horizontally across column

2022-01-01 Thread Ajith R via ntg-context
Tex generated by a shell script contains the 300 plus > > commands with the structure > > > > \tfa{ \bold{variable} \par (12 - 0.13) } \blank > > > > The problems are that - a) the group, with the two short paras get > > separated into different columns and someti

Re: [NTG-context] Getting ONE, TWO... for chapters

2022-01-01 Thread jbf via ntg-context
;) escribió: Am typesetting a book that has 'STUDY ONE', 'STUDY TWO' etc. in place of CHAPTER ONE, etc. I have no difficulty getting 'STUDY' with \setuplabeltext[chapter=STUDY~], and I can achieve 'STUDY One' with the key conversion=Words in

Re: [NTG-context] Getting ONE, TWO... for chapters

2022-01-01 Thread Jairo A. del Rio via ntg-context
and I can achieve 'STUDY One' with the > key conversion=Words in \setuphead[chapter]. > > My question: how do I get ONE instead of One. > > I tried conversion=WORDS (or WORD), but that is not recognised and the > output then becomes STUDY 1, which I don't want.

[NTG-context] Getting ONE, TWO... for chapters

2022-01-01 Thread jbf via ntg-context
Am typesetting a book that has 'STUDY ONE', 'STUDY TWO' etc. in place of CHAPTER ONE, etc. I have no difficulty getting 'STUDY' with \setuplabeltext[chapter=STUDY~], and I can achieve 'STUDY One' with the key conversion=Words in \setuphead[chapter].

Re: [NTG-context] aligning Malayalam horizontally across column

2022-01-01 Thread Hans Hagen via ntg-context
get separated into different columns and sometimes pages. How can I prevent that? In other words, how do I tell Context that this should be treated as cohesive unit? b) The horizontal space doesn't align across columns. This probably is because the different conjuncts in each of these lines

Re: [NTG-context] Malayalam conjuncts

2022-01-01 Thread Ajith R via ntg-context
rfbuzz (which is what Xe(La)TeX uses > by default) uses some heuristics to work out these conjuncts (?!). > > To answer your specific question regarding the conjuncts in the given > words you have to use some Unicode hacking to get what you want in > ConTeXt. > > In each of the follow

Re: [NTG-context] Malayalam conjuncts

2021-12-31 Thread kauśika via ntg-context
ssues might be due to differences in implementation. [Not entirely sure since I am a novice]. My guess is that Harfbuzz (which is what Xe(La)TeX uses by default) uses some heuristics to work out these conjuncts (?!). To answer your specific question regarding the conjuncts in the given words

Re: [NTG-context] aligning Malayalam horizontally across column

2021-12-31 Thread kauśika via ntg-context
On Friday, December 31, 2021 6:25:01 PM IST Ajith R via ntg-context wrote: > The problems are that - a) the group, with the two short paras get > separated into different columns and sometimes pages. How can I prevent > that? In other words, how do I tell Context that this should be tre

[NTG-context] aligning Malayalam horizontally across column

2021-12-31 Thread Ajith R via ntg-context
. How can I prevent that? In other words, how do I tell Context that this should be treated as cohesive unit? b) The horizontal space doesn't align across columns. This probably is because the different conjuncts in each of these lines have different heights. How can I ask Context to treat ea

Re: [NTG-context] Contextual removal of some ligatures using fonts.handlers.otf.addfeature (LuaTeX 1.13.2)

2021-12-26 Thread Hans Hagen via ntg-context
ere (unless it among those things that google grabs - and at some point possible discards) The actual problem was with the italic ligatures "a_s", "e_s", "é_s", "i_s" and "u_s", that should occur only at the end of words and not everywhere. In

Re: [NTG-context] Contextual removal of some ligatures using fonts.handlers.otf.addfeature (LuaTeX 1.13.2)

2021-12-25 Thread Thomas Savary via ntg-context
best to help Google improving this font, but I don’t have time yet. The actual problem was with the italic ligatures "a_s", "e_s", "é_s", "i_s" and "u_s", that should occur only at the end of words and not everywhere. Instead of removing the unwa

Re: [NTG-context] Contextual removal of some ligatures using fonts.handlers.otf.addfeature (LuaTeX 1.13.2)

2021-12-25 Thread Hans Hagen via ntg-context
lookups = { 1 } } } } } A better an dmore reliable approach is this: \startluacode local demo = { name= "demo", options = { { patterns = { fio = "f|io",

Re: [NTG-context] Displaying names in Chicago-Turabian "note" style

2021-12-21 Thread Joey McCollum via ntg-context
> otherstext={\btxspace{\it\btxlabeltext{others}}}, > etallimit=10, > etaldisplay=\btxparameter\c!etallimit, > journalconversion=\v!normal, > monthconversion=\v!month, > title=yes, > separator:names:2={\btxcomma}, > separator:names:3={\btxcomma\btxlabe

[NTG-context] Displaying names in Chicago-Turabian "note" style

2021-12-21 Thread Joel via ntg-context
{and}\space}]     \setupbtxlist[chicagonum] \definebtxrendering[chicagonum]     [specification=chicagonum,     sorttype=authoryear,     numbering=no] \startsetups btx:chicagonum:list:book     \btxdoif{author}{         \btxflush{author}         \btxperiod     }     \btxdoif{title}{         {

Re: [NTG-context] new upload

2021-12-01 Thread Hans Hagen via ntg-context
ge[es] \setupbodyfont[dejavu] \defineregister [Russian] [n=1, command=\Words, pagenumber=no, language=ru, textalternative=horizontal, distance=0pt] \setupregister [Russian] [2] [textstyle=bold,left={, }] \setupregister [Russian] [3] [textstyle=italic,left={, }] % word category me

Re: [NTG-context] Concerning dictionaries. glossaries and related in ConTeXt

2021-11-26 Thread Hans Hagen via ntg-context
age[es] \enableexperiments[fonts.compact] \setupbodyfont[dejavu] % computer-modern-unicode] \setuphead[chapter] [alternative=middle] \defineregister[Russian] \setupregister[Russian] [expansion=yes, balance=no, n=2, command=\Words, pagenumber=no, language=ru] \def\Ruso[#1]% {\begi

Re: [NTG-context] Concerning dictionaries. glossaries and related in ConTeXt

2021-11-26 Thread Hans Hagen via ntg-context
v!yes,    \c!balance=\v!no,    \c!n=2,    \c!command=\Words,    \c!pagenumber=\v!no,    \c!language=\s!ru] \def\Ruso[#1]%   {\begingroup    \getdummyparameters[word=,category=,meaning=,#1]%    \Russian[\dummyparameter{word}]%    {\bold{\dummyparameter{word}}    \italic{\dummyparameter{cat

[NTG-context] Concerning dictionaries. glossaries and related in ConTeXt

2021-11-26 Thread Jairo A. del Rio via ntg-context
ieved: \unprotect \mainlanguage[\s!es] \enableexperiments[fonts.compact] \setupbodyfont[computer-modern-unicode] \setuphead[chapter] [\c!alternative=\v!middle] \defineregister[Russian] \setupregister[Russian] [\c!expansion=\v!yes, \c!balance=\v!no, \c!n=2, \c!command=\Words, \c!pagen

Re: [NTG-context] Regular online meet-up

2021-11-04 Thread Clyde Johnston via ntg-context
Last time I was at the ConTeXt conference, a few years back, there was talk about "monetization" of ConTeXt. In other words, using ConTeXt to generate revenue. I was wondering if this is still on the agenda. Perhaps we could have a discussion on how to achieve this. I have one pos

Re: [NTG-context] Romanization of ancient greek

2021-10-26 Thread Marcus Vinicius Mesquita via ntg-context
k you, Wolfgang. I'll look into it. >>> >>> Regards >>> >>> Marcus Vinicius >>> >>> On Tue, Oct 26, 2021 at 1:22 AM Wolfgang Schuster < >>> wolfgang.schuster.li...@gmail.com> wrote: >>> >>>

Re: [NTG-context] Romanization of ancient greek

2021-10-26 Thread Jairo A. del Rio via ntg-context
Vinicius >> >> On Tue, Oct 26, 2021 at 1:22 AM Wolfgang Schuster < >> wolfgang.schuster.li...@gmail.com> wrote: >> >>> Marcus Vinicius Mesquita via ntg-context schrieb am 26.10.2021 um 00:38: >>> > Dear list, >>> > >>> > Is t

Re: [NTG-context] Romanization of ancient greek

2021-10-26 Thread Marcus Vinicius Mesquita via ntg-context
> 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

Re: [NTG-context] Romanization of ancient greek

2021-10-26 Thread Marcus Vinicius Mesquita via ntg-context
s 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 >

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

[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

Re: [NTG-context] upload

2021-10-21 Thread Mikael Sundqvist via ntg-context
; \par > \stopTEXpage > } > > \stoptext > > it's an addendum to the widowpenalties and clubpenalties introduced by > etex but this time it's horizontal; the orphan penalties will be > inserted before spaces (aka spaceskip, xspaceskip and zerospaceski

[NTG-context] upload

2021-10-21 Thread Hans Hagen via ntg-context
paces (aka spaceskip, xspaceskip and zerospaceskip glue) so in this case 4000 between the last two 'words' and this trickery can be used to make sure that the last line is not too short \orphanpenalties 4 4000 3000 -12000 1000\relax is also intereting it's work in progress (i

Re: [NTG-context] Outlined text (from MP) inline in ConText has incorrect baseline (i.e. no depth)

2021-10-12 Thread Rudd, Kevin via ntg-context
Ok, now that I've had some time to experiment with effects and attributes, here's what I ended up with. It uses an overlaid double draw to create outlined text with optional fill (white), border (black). I've only tested it with words so haven't worked out how it could b

Re: [NTG-context] Number conversion in btxlist and citations

2021-09-16 Thread kauśika cittūr via ntg-context
e no effect. What am I doing wrong? > > Please advise. > > Thanks, > kauśika Dear all, I have also tried this with the available 'words' conversion set. Even in that case, the conversion is n

Re: [NTG-context] Changing the style of author’s surname in a custom bibliographical style

2021-09-15 Thread Tomáš V via ntg-context
            \btxparameter{\c!separator:vons}         }     \fi     \ifx\currentbtxsurnames\empty \else         \WORDS{\currentbtxsurnames}        % <-- changed line         \ifx\currentbtxjuniors\empty \else             \btxparameter{\c!separator:juniors}             \currentbtxjuniors         \fi     \fi     \

[NTG-context] Setting a heading text on its own page with \setuphead

2021-08-06 Thread Joey McCollum via ntg-context
g \definefont[MyPartFont][EBGaramond at 24pt][line=36pt] %font command to be used for setting MyPart heading texts %Macro for adjusting kerning of MyPart heading texts (can any of this can be handled in the \definefont call?): \define[1]\MyPartTextCommand{% \kerncharacters[0.]%increase lett

Re: [NTG-context] ligature exceptions

2021-07-28 Thread Hans Hagen via ntg-context
ok, one can do that with attributes but that is less efficients options have been introduced for ligatures, kerns, expansion etc (you can diff the attached lmt file with the lua file of the same name to see the difference in approach 2. Both mechanisms only work for complete words, is that rig

[NTG-context] ligature exceptions

2021-07-28 Thread Thomas A. Schmitz via ntg-context
mechanisms only work for complete words, is that right? So I can't just provide a pattern such as "uf|forder," I have to provide a full list with all inflected forms: auf|fordern auf|fordert auf|fordernd Auf|forderung Auf|forderungen and for 1-3 also the forms with a capit

[NTG-context] Solution: LMTX initial (drop cap) in combination with indenting

2021-07-22 Thread Gerben Wierda
as an interesting result, the first >>>> character of the words is not in bold. This did not happen with >>>> lettrine in mkii >>> >>> I do not have an answer to your question, but I'd like to point out that >>> you can keep using le

Re: [NTG-context] Use of lettrine module in LMTX

2021-07-21 Thread Wolfgang Schuster
Gerben Wierda schrieb am 21.07.2021 um 12:00: On 19 Jul 2021, at 09:56, Nicola <mailto:nvitacolo...@gmail.com>> wrote: On 2021-07-18, Gerben Wierda <mailto:gerben.wie...@rna.nl>> wrote: PS. switching \kap and \bf has an interesting result, the first character of the words is

Re: [NTG-context] Use of lettrine module in LMTX

2021-07-21 Thread Nicola
On 2021-07-21, Gerben Wierda wrote: >> On 19 Jul 2021, at 09:56, Nicola wrote: >> >> On 2021-07-18, Gerben Wierda wrote: >>> PS. switching \kap and \bf has an interesting result, the first >>> character of the words is not in bold. This did not happen with

[NTG-context] Use of lettrine module in LMTX

2021-07-21 Thread Gerben Wierda
> On 19 Jul 2021, at 09:56, Nicola wrote: > > On 2021-07-18, Gerben Wierda wrote: >> PS. switching \kap and \bf has an interesting result, the first >> character of the words is not in bold. This did not happen with >> lettrine in mkii > > I do not have an answ

Re: [NTG-context] drop cap (initial) and indentation

2021-07-19 Thread Pablo Rodriguez
y (\blank[2*big] is the default command after chapter). > [...] > PS. switching \kap and \bf has an interesting result, the first > character of the words is not in bold. This did not happen with lettrine > in mkii, Please, avoid adding questions after a multiline signature (because t

Re: [NTG-context] drop cap (initial) and indentation

2021-07-19 Thread Nicola
On 2021-07-18, Gerben Wierda wrote: > PS. switching \kap and \bf has an interesting result, the first > character of the words is not in bold. This did not happen with > lettrine in mkii I do not have an answer to your question, but I'd like to point out that you can keep using

[NTG-context] drop cap (initial) and indentation

2021-07-18 Thread Gerben Wierda
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/> PS. switching \kap and \bf has an interesting result, the first character of the wo

[NTG-context] Math cases and text in math mode

2021-07-06 Thread Jack Hill
at even if the whole text is wrapped in {\em ...}, the text in the formulae are in roman font. I've tried the following: \starttext {\em \startformula \startalign[align=left] \NC {\rm multiple words of text} \NR % Does not provide spacing \NC \mathrm{multiple words of text} \NR % Does not

Re: [NTG-context] hyphenate nothyphenated

2021-06-30 Thread Hans Hagen
help the words get hyphenated at certain points. Perhaps a new "optional" hyphenation point macro can be added that would have super-powers to override the align parameter. There would be no surprises using such a feature. We can't use \= unless we drop the \= being macros (an

Re: [NTG-context] hyphenate nothyphenated

2021-06-30 Thread Wolfgang Schuster
\explicithyphenationmodecode\explicitdiscretionary     \endgroup} i will ponder this I believe that \- defines an *optional* hyphenation point. Specifying nothyphenated should not hyphenate, even at optional points. The author can otherwise use hyphenated and arrange to help the words get hyphenated at certain points

Re: [NTG-context] hyphenate nothyphenated

2021-06-30 Thread Alan Braslau
} i will ponder this I believe that \- defines an *optional* hyphenation point. Specifying nothyphenated should not hyphenate, even at optional points. The author can otherwise use hyphenated and arrange to help the words get hyphenated at certain points. Perhaps a new "optional" h

Re: [NTG-context] hyphenate nothyphenated

2021-06-30 Thread Hans Hagen
\- defines an *optional* hyphenation point. Specifying nothyphenated should not hyphenate, even at optional points. The author can otherwise use hyphenated and arrange to help the words get hyphenated at certain points. Perhaps a new "optional" hyphenation point macro can be added

Re: [NTG-context] hyphenate nothyphenated

2021-06-30 Thread Alan Braslau
. Specifying nothyphenated should not hyphenate, even at optional points. The author can otherwise use hyphenated and arrange to help the words get hyphenated at certain points. Perhaps a new "optional" hyphenation point macro can be added that would have super-powers to override

Re: [NTG-context] Hyphenation again

2021-06-06 Thread Hans Hagen
rtexceptions[it] appli-ca<200b>ble obli-gated \stopexceptions So it seems that the answer remains the same from when Denis posted a similar question a few months ago. indeed, i just wasted an hour figuring out that there is some non letter in there; so there will never be a matc

[NTG-context] Understanding penalties for orphans and widows

2021-06-01 Thread denis.maier
lties\widowpenalties{2}{1} \stopsetups \starttext \setuplayout[setups=penalties1] \samplefile{tufte}\par Here we are writing some more words to see the effect. Here we are writing some more words to see the effect. Here we are writing some more words to see the effect. \page \setuplayout[s

Re: [NTG-context] underscore hyphenation not working

2021-05-09 Thread Pablo Rodriguez
rttext \input zapf \stoptext Lines 3, 7, 10, 12 and 13 lack spaces between words: Coming back to the use of typefaces in electronic publishing: many of the new typographersreceivetheirknowledgeand information about the rules of typogra- phy from books, from computer maga- zines

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

2021-05-08 Thread Pablo Rodriguez
On 5/8/21 3:58 PM, denis.ma...@ub.unibe.ch wrote: > Looks like I can confirm this... see below. But it seems to depend on your > PDF viewer. Results in Sumatra and Acrobat differ. Many thanks for your confirmation, Denis. With SumatraPDF 3.1.2, I get lines without spaces between word

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

2021-05-08 Thread denis.maier
8. Mai 2021 13:33 > An: mailing list for ConTeXt users > Betreff: [NTG-context] weird word breaking in Win64 > > Dear list, > > the following sample breaks some words not right in Win64 (I cannot > reproduce it in Linux): > > \enabledirectives[fonts.

[NTG-context] weird word breaking in Win64

2021-05-08 Thread Pablo Rodriguez
Dear list, the following sample breaks some words not right in Win64 (I cannot reproduce it in Linux): \enabledirectives[fonts.injections.method=advance] \setuppapersize[A6] \definefontfamily[mainface][rm] [TeX Gyre Pagella] \setupbodyfont[mainface] \starttext \input zapf

Re: [NTG-context] Issue running ConTeXt from TeX Live 2019 on Alpine Linux 3.12

2021-05-01 Thread Nicola
df - but it calls an unrestricted latex. % rpdfcrop - maybe ok, but let's get experience with repstopdf first. % texindy,xindy - but is the module feature insecure? % ulqda - but requires optional SHA1.pm, so why bother. % tex, latex, etc. - need to forbid --shell-escape, and inherit openou

Re: [NTG-context] wrong line break in recent LMTX

2021-04-27 Thread Hans Hagen
in luametatex the hyphenation machinery has all kind of extra controls and the hccode mechanism was introduced as side effect of a feedback mechanism that also can handle compound words better (althoiugh one can of course dispute the 'better' part) From luametatex.pdf in the distribut

Re: [NTG-context] wrong line break in recent LMTX

2021-04-26 Thread Hans Hagen
a ligature replacement. once i know what' sbest i''l make some option someplace I think it would be better not to change defaults that have been there for years (to avoid unpleasant surprises). I was always able to hyphenate words before and after both — and – and they didn’t include line

Re: [NTG-context] wrong line break in recent LMTX

2021-04-26 Thread Pablo Rodriguez
il/ntg-context/2021/101871.html as a ligature replacement. > once i know what' sbest i''l make some option someplace I think it would be better not to change defaults that have been there for years (to avoid unpleasant surprises). I was always able to hyphenate words before

Re: [NTG-context] Style options and setupinterlinespace

2021-04-26 Thread Hans Hagen
uments I see that I have been using "\tfc $+$" in some of my tikz code for about 4 years. So, it appears to be a old feature. I am thinking of changing the wiki from: These quick font switches are meant for changing the font style, alternative, or size of a few words: they do not chan

Re: [NTG-context] Style options and setupinterlinespace

2021-04-26 Thread Aditya Mahajan
\tfc $+$" in some of my tikz code for about 4 years. So, it appears to be a old feature. I am thinking of changing the wiki from: 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

Re: [NTG-context] Style options and setupinterlinespace

2021-04-26 Thread denis.maier
15 > > >> An: 'mailing list for ConTeXt users' > > >> Betreff: Style options and setupinterlinespace > > >> > > >> Hi, > > >> > > >> the wiki (https://wiki.contextgarden.net/Font_Switching) currently > says: > > &

Re: [NTG-context] Style options and setupinterlinespace

2021-04-26 Thread denis.maier
> >> Betreff: Style options and setupinterlinespace > >> > >> Hi, > >> > >> the wiki (https://wiki.contextgarden.net/Font_Switching) currently says: > >> > >> > >>> These quick font switches are meant for changing the font style

Re: [NTG-context] Style options and setupinterlinespace

2021-04-26 Thread Wolfgang Schuster
: 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 to change the font size of an entire paragraph, use \switcht

Re: [NTG-context] Style options and setupinterlinespace

2021-04-26 Thread Pablo Rodriguez
.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 >&

Re: [NTG-context] Style options and setupinterlinespace

2021-04-26 Thread Aditya Mahajan
> > > 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 to > > change the font size of an entire

Re: [NTG-context] Style options and setupinterlinespace

2021-04-26 Thread denis.maier
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, i

[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. S

[NTG-context] next upload

2021-04-21 Thread Hans Hagen
quot;002D secondpart\blank firstpart\char"2010 secondpart\blank firstpart\char"2013 secondpart\blank firstpart\char"2014 secondpart \type{firstpart---secondpart} all work as I expect (both words get hyphenated). The trep feature was already stripped to only ' repla

[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

[NTG-context] lmtx update: two experimental features

2021-04-18 Thread Hans Hagen
some more code (doable). This feature relates to Denis collection of German compound words and ligature prevention data. Dutch has the same issue. (Denis: we can ditch the compound word entries now, the ones with -.) Also, this kind of automatism (keep in mind that normally tex won't

Re: [NTG-context] Verbose numbers in swedish

2021-04-17 Thread peter kvillegard
t; > Thank you. > > > > MWE where I expect the word "ett" instead of "1": > > \mainlanguage[sv] > > \starttext > > \convertnumber{words}{1} > > \stoptext > You have to remake the format: > > context --make > > (I'll check the co

Re: [NTG-context] Verbose numbers in swedish

2021-04-17 Thread Hans Hagen
l if you could point me in the right direction. There must be some step that I'm missing. Thank you. MWE where I expect the word "ett" instead of "1": \mainlanguage[sv] \starttext \convertnumber{words}{1} \stoptext You have to remake the format: context --make (I'll

Re: [NTG-context] Verbose numbers in swedish

2021-04-17 Thread Wolfgang Schuster
teful if you could point me in the right direction. There must be some step that I'm missing. Thank you. MWE where I expect the word "ett" instead of "1": \mainlanguage[sv] \starttext \convertnumber{words}{1} \stoptext ConTeXt doesn't use the source files itself when y

[NTG-context] Verbose numbers in swedish

2021-04-17 Thread peter kvillegard
ere must be some step that I'm missing. Thank you. MWE where I expect the word "ett" instead of "1": \mainlanguage[sv] \starttext \convertnumber{words}{1} \stoptext attachment_core-con.lua Description: Binary data ___

Re: [NTG-context] register for biblical citations

2021-04-16 Thread jbf
ch would allows me to get as far as 66 (if I were to need every biblical book)? Julian On 16/4/21 5:24 pm, Hans Hagen wrote: On 4/15/2021 11:28 AM, jbf wrote: My simple MWE: \defineregister[bibcit] \setupregister[bibcit][% indicator=no, before=] text... \bibcit[a]{Gen 3:6 (MAC) }Gen 3:6

Re: [NTG-context] register for biblical citations

2021-04-16 Thread Hans Hagen
On 4/15/2021 11:28 AM, jbf wrote: My simple MWE: \defineregister[bibcit] \setupregister[bibcit][% indicator=no, before=] text... \bibcit[a]{Gen 3:6 (MAC) }Gen 3:6 (and so one for each Genesis reference, then moving on to Leviticus with [b] etc.) In other words, I have used the key

Re: [NTG-context] register for biblical citations

2021-04-15 Thread jbf
My simple MWE: \defineregister[bibcit] \setupregister[bibcit][% indicator=no, before=] text... \bibcit[a]{Gen 3:6 (MAC) }Gen 3:6 (and so one for each Genesis reference, then moving on to Leviticus with [b] etc.) In other words, I have used the key option [] using the alphabet to

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

Re: [NTG-context] Hyphenation patterns

2021-04-09 Thread Arthur Rosendahl
; oblig-ated, less so. Taco reminded that when producing a set of hyphenation patterns from a list of hyphenated words, we’re essentially compressing information, and that some minor deviations are to be expected. However, in my experience, unexpected breakpoints are almost never due to chance

Re: [NTG-context] Ligature suppression word list

2021-04-08 Thread Hans Hagen
://www.opentaal.org/projecten/woordafbreking is from 2009. There have apparently been recent updates by a single person (who incidentally sometimes contributes to the German hyphenation working group), but they’re rather generic. fwiw: They are active in collecting words (they also do stuff for open office

Re: [NTG-context] Ligature suppression word list

2021-04-07 Thread rha17
be to use selnoligs patterns in a script >>>that can be run over a large corpus, such as the DWDS (Digitales >>>Wörterbuch der deutschen Sprache). That should produce us a more >>>complete list of words where ligatures must be suppressed. >> >> where i

Re: [NTG-context] Ligature suppression word list

2021-04-06 Thread denis.maier
h wrote: > > 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 wit

Re: [NTG-context] Ligature suppression word list

2021-04-06 Thread denis.maier
b.unibe.ch wrote: > > 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 wit

Re: [NTG-context] Ligature suppression word list

2021-04-03 Thread Thangalin
Untested. Lists are not subject to copyright, so public domain should be legal, even though SE posts are CC-BY-SA. When a word has a single suffix or prefix (e.g., safflower/s), the two words are listed together, rather than using an explicit suffix/prefix section. return { name

Re: [NTG-context] Ligature suppression word list

2021-04-03 Thread Hans Hagen
On 4/3/2021 5:06 PM, denis.ma...@ub.unibe.ch wrote: <https://github.com/denismaier/context-nolig-wordlist> For those interested, that file only has ligature prevention definitions. { actions = { ["|"] = "noligature" }, words = [[ Auf|lageflä

Re: [NTG-context] Ligature suppression word list

2021-04-03 Thread Hans Hagen
On 4/3/2021 5:06 PM, denis.ma...@ub.unibe.ch wrote: 1. The new language options features include a tracker that allows for tracking for which words in a given document ligature prevention happened, and which words haven’t been touched by the mechanism. It should be possible to

Re: [NTG-context] Ligature suppression word list

2021-04-03 Thread Hans Hagen
On 4/3/2021 5:06 PM, denis.ma...@ub.unibe.ch wrote: 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

[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

[NTG-context] new upload

2021-03-31 Thread Hans Hagen
nguageoptions to make it into a compound word (use both to prevent ligatures too). There's more to come once we get the full picture. I leave it to Denis to organize the collection of words and definitions that go into a goodie file. Hans ps. Sometimes I wonder if for every new featur

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

2021-03-25 Thread Hans Hagen
ay to deal with this would be in the hyphenator. What do you think about this now, a couple of years later? And, while we're at it: how do you deal with words like "begrifflich" where you'll want the ff ligature, but not the ffl ligature. I've tried this \replaceword[ligs

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

2021-03-25 Thread denis.maier
ay to deal with this would be in > the hyphenator. What do you think about this now, a couple of years later? > > > > And, while we're at it: how do you deal with words like "begrifflich" where > you'll want the ff ligature, but not the ffl ligature. &g

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

2021-03-25 Thread Hans Hagen
ay to deal with this would be in the hyphenator. What do you think about this now, a couple of years later? And, while we're at it: how do you deal with words like "begrifflich" where you'll want the ff ligature, but not the ffl ligature. I've tried this \replaceword[ligs

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

2021-03-24 Thread denis.maier
t do you think about this now, a couple of years later? And, while we're at it: how do you deal with words like "begrifflich" where you'll want the ff ligature, but not the ffl ligature. I've tried this \replaceword[ligs][begrifflich][begri{ffl}ich] But this break

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

2021-03-24 Thread Hans Hagen
On 3/24/2021 8:24 PM, denis.ma...@ub.unibe.ch wrote: Anything, I've missed? Other aspects to think about here? How about performance issues? (The blockligatures-mechanism resulted in this: with a word list of about 2200 words it took a bit more than five seconds to process 23 A5 pages

[NTG-context] Summing up ligature prevention tests

2021-03-24 Thread denis.maier
LMTX. Can be used for words with multiple wrong ligatures (Auflaufform). Does not take derived forms into account (e.g., replacements for Auflage and Auflagen must both be defined). 2. \blockligatures Works as a font feature to block certain ligatures Works also for derived forms of a given word

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

2021-03-22 Thread denis.maier
accumulate ? (I'm thinking about preparing a general list of > > > exceptions, but of course you will also want individual > > > exceptions.) > > > > you can find out by trying ... > > Ok, it does... > Regarding the plan of preparing a list of suppressed l

Re: [NTG-context] XML/MathML namespace handling bug

2021-03-20 Thread Hans Hagen
;;> ab ab }{} \stoptext No output is produced. This has been verified with live.contextgarden.net. In order for output to be produced, must be changed to and must be changed to , but these are in the wrong namespace in this context. In other words, this

[NTG-context] XML/MathML namespace handling bug

2021-03-20 Thread Hugo Landau
text No output is produced. This has been verified with live.contextgarden.net. In order for output to be produced, must be changed to and must be changed to , but these are in the wrong namespace in this context. In other words, this bug applies to the keyword element in an apply elem

Re: [NTG-context] Keeping track of hyphenations

2021-03-19 Thread Hans Hagen
rse{0}{15}{1}{ {\advance\hsize -#1cm \input tufte \par} } \stoptext This will give you in the log file (first and second); the test run has narrow lines where one word crossed several lines, which actually is the main complication here: hyhenated > start hyphenated words h

Re: [NTG-context] Keeping track of hyphenations

2021-03-19 Thread denis.maier
ecause no one expects it). Anyway, a pre-weekend distaction: \starttext \enabletrackers[hyphenation.applied] \enabletrackers[hyphenation.applied.console] \dontcomplain \dostepwiserecurse{0}{15}{1}{ {\advance\hsize -#1cm \input tufte \par} } \stoptext This will give you in the log file (first and second

Re: [NTG-context] Keeping track of hyphenations

2021-03-19 Thread Hans Hagen
ce\hsize -#1cm \input tufte \par} } \stoptext This will give you in the log file (first and second); the test run has narrow lines where one word crossed several lines, which actually is the main complication here: hyhenated > start hyphenated words hyhenated >2 :

<    1   2   3   4   5   6   7   8   9   10   >