[NTG-context] \setuplanguage[explicitrighthyphenchar=-1] only works for English

2022-12-15 Thread Pablo Rodriguez via ntg-context
underscore }, } } end utilities.sequencers.appendaction("aftercopyingcharacters", "after","document.addfunnyhyphen") \stopluacode \definehyphenationfeatures [underscore] [righthyphenchar="FE000] \setuphyphenation[m

[NTG-context] indentnext option for \setuplanguage?

2020-07-23 Thread Pablo Rodriguez
Hans, as Garulfo mentioned in a previous message (https://mailman.ntg.nl’t /pipermail/ntg-context/2020/098826.html), French may require that all paragraphs are indented (no matter what comes before the paragraph). Spanish also requires that. How about a key for "indentnext" in \set

Re: [NTG-context] font in \setuplanguage

2018-09-19 Thread Pablo Rodriguez
Wolfgang. I wonder whether it would make sense to enable a style option in \setuplanguage. Having to use setups is maybe too difficult for newcomers and style is a common option in other commands. I agree that font is handy when using different languages using the Latin script. But style would mak

Re: [NTG-context] font in \setuplanguage

2018-09-17 Thread Wolfgang Schuster
With the font key you can apply certain font features for a different language but you can’t use it to switch to a different font. To switch to a different font for your greek texts use this method: \startsetups [greekfont]   \switchtobodyfont [grcface] \stopsetups \setuplanguage[agr][setups

[NTG-context] font in \setuplanguage

2018-09-17 Thread Pablo Rodriguez
Dear list, I have the following sample: \mainlanguage[es] \setuplanguage[agr][font=\grcface] \definefontfamily[grcface][rm][DejaVu Sans] \definefontfamily[mainface][rm][DejaVu Serif] \setupbodyfont[mainface] \starttext \startTEXpage[offset=1em] a {\agr β

Re: [NTG-context] Bug with setuplanguage

2016-06-05 Thread Aditya Mahajan
On Sun, 5 Jun 2016, Wolfgang Schuster wrote: Aditya Mahajan <mailto:adit...@umich.edu> 5. Juni 2016 um 00:32 Hi, I discovered this bug while answering a question on TeX.SX. Consider: \define\cyrdash{\dontleavehmode\scale[sx=0.80]{---}} \unprotect \setuplanguage [\s!ru] [

Re: [NTG-context] Bug with setuplanguage

2016-06-05 Thread Wolfgang Schuster
Aditya Mahajan <mailto:adit...@umich.edu> 5. Juni 2016 um 00:32 Hi, I discovered this bug while answering a question on TeX.SX. Consider: \define\cyrdash{\dontleavehmode\scale[sx=0.80]{---}} \unprotect \setuplanguage [\s!ru] [ \c!midsentence=\cyrdash, \c!leftsentence=\c

[NTG-context] Bug with setuplanguage

2016-06-04 Thread Aditya Mahajan
Hi, I discovered this bug while answering a question on TeX.SX. Consider: \define\cyrdash{\dontleavehmode\scale[sx=0.80]{---}} \unprotect \setuplanguage [\s!ru] [ \c!midsentence=\cyrdash, \c!leftsentence=\cyrdash, \c!rightsentence=\cyrdash, ] \protect \setupbodyfont[dejavu