Re: [NTG-context] \setcharacterspacing
Hi, Wolgang— The mwe files in a product/component structure are attached. Everything works as desired with the current env file. If one comments out the startsetups...\stopsetups, the guillemets are not properly spaced in the body text, while those in the footnote are fine. If one comments out the \setup line, the guillemets are not properly placed anywhere. Please let me know if this is expected behavior— and I will try troubleshooting my own files to see why my env file has to have the \startsetups...\stopsetups line and the component file, the \setup line if I am to get what I need. Alan On Mon, May 17, 2021 at 4:00 PM Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Alan Bowen schrieb am 17.05.2021 um 21:50: > > That is very good to know and it works in simple cases. But I am finding > that in a product/component structure, I get the proper spacing only when > • the environment file has the \startsetups...\stopsetups > • either \setup[test] or \setuplanguage[fr][setups=test] is in the > component file. > > Is this expected behavior? > > (Before I just \setcharacterspacing[test] in the env file but now it only > works when in the component file) > > > Can you make a simple example, it's possible there is a reset somewhere > which disables the feature at the end of the environment or the start of > the component file. > > Wolfgang > > > ___ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > > ___ > c_CharSpTest.tex Description: TeX document prd_CharSpTest.tex Description: TeX document env_CharSpTest.tex Description: TeX document ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setcharacterspacing
Alan Bowen schrieb am 17.05.2021 um 21:50: That is very good to know and it works in simple cases. But I am finding that in a product/component structure, I get the proper spacing only when • the environment file has the \startsetups...\stopsetups • either \setup[test] or \setuplanguage[fr][setups=test] is in the component file. Is this expected behavior? (Before I just \setcharacterspacing[test] in the env file but now it only works when in the component file) Can you make a simple example, it's possible there is a reset somewhere which disables the feature at the end of the environment or the start of the component file. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setcharacterspacing
That is very good to know and it works in simple cases. But I am finding that in a product/component structure, I get the proper spacing only when • the environment file has the \startsetups...\stopsetups • either \setup[test] or \setuplanguage[fr][setups=test] is in the component file. Is this expected behavior? (Before I just \setcharacterspacing[test] in the env file but now it only works when in the component file) Alan On Mon, May 17, 2021 at 3:11 PM Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Alan Bowen schrieb am 17.05.2021 um 20:57: > > Wolfgang—Thank you. That works very nicely! > > You can also remove the \startsetups and \stopsetups commands to enable > the spacing. > > When you want the spacing only for certain languages you can use > \setuplanguage to load the setups-block for them: > > \setuplanguage >[fr] >[setups=test] > > \starttext > > «anyword» > > {\fr «anyword»} > > \stoptext > > Wolfgang > > > ___ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > > ___ > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setcharacterspacing
Alan Bowen schrieb am 17.05.2021 um 20:57: Wolfgang—Thank you. That works very nicely! You can also remove the \startsetups and \stopsetups commands to enable the spacing. When you want the spacing only for certain languages you can use \setuplanguage to load the setups-block for them: \setuplanguage [fr] [setups=test] \starttext «anyword» {\fr «anyword»} \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setcharacterspacing
Wolfgang—Thank you. That works very nicely! Alan On Mon, May 17, 2021 at 2:44 PM Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Alan Bowen schrieb am 17.05.2021 um 20:38: > > With > > \definecharacterspacing [test] > > \setupcharacterspacing [test] ["00AB] [right=.1, alternative=1] > > \setupcharacterspacing [test] ["00BB] [left=.1, alternative=1] > > > > \startsetups[test] > > \setcharacterspacing[test] > > \stopsetups > > > > \starttext > > «anyword» > > \stoptext > > there is no additional space after and before the guillemets. > > \starttext > \setup[test] > «anyword» > \stoptext > > Wolfgang > > ___ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > > ___ > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setcharacterspacing
Alan Bowen schrieb am 17.05.2021 um 20:38: With \definecharacterspacing [test] \setupcharacterspacing [test] ["00AB] [right=.1, alternative=1] \setupcharacterspacing [test] ["00BB] [left=.1, alternative=1] \startsetups[test] \setcharacterspacing[test] \stopsetups \starttext «anyword» \stoptext there is no additional space after and before the guillemets. \starttext \setup[test] «anyword» \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] \setcharacterspacing
With \definecharacterspacing [test] \setupcharacterspacing [test] ["00AB] [right=.1, alternative=1] \setupcharacterspacing [test] ["00BB] [left=.1, alternative=1] \startsetups[test] \setcharacterspacing[test] \stopsetups \starttext «anyword» \stoptext there is no additional space after and before the guillemets. I am using lmtx in the ConTeXt ver: 2021.04.29 23:09 standalone Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setcharacterspacing[frenchpunctuation] not working
On 4/5/2013 6:21 PM, Peter Münster wrote: Hi, With the latest beta, \setcharacterspacing[frenchpunctuation] is no more working. ah, side effect of optimization with an undefined var ... fixed in next upload - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] \setcharacterspacing[frenchpunctuation] not working
Hi, With the latest beta, \setcharacterspacing[frenchpunctuation] is no more working. Example: --8<---cut here---start->8--- \setcharacterspacing[frenchpunctuation] \starttext bla: bla \stoptext --8<---cut here---end--->8--- How could I get back the desired spacing please? TIA for any help, -- Peter ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setcharacterspacing[frenchpunctuation] in mkiv
On 22-6-2010 7:18, Peter Münster wrote: On Tue, Jun 22 2010, Otared Kavian wrote: I noticed that the mkiv command \setcharacterspacing[frenchpunctuation] influences even the \type environment: is this behavior wanted or is it a side effect? Hello, I don't know, but I have these line in most of my environments: \setuptype[style={\setcharacterspacing[reset]\tt}] \setuptyping[style={\setcharacterspacing[reset]\tt}] \setupinteraction[style={\setcharacterspacing[reset]\tt}] \appendtoks \setcharacterspacing[reset]% \to \everyinitializeverbatim but maybe all such features should be enabled in verbatim i.e. maybe we need something \everyforgettypesetting or so - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setcharacterspacing[frenchpunctuation] in mkiv
Hi Peter, Many thanks for your hint: indeed you had the solution! Best regards: OK On 22 juin 2010, at 19:18, Peter Münster wrote: > > Hello, > > I don't know, but I have these line in most of my environments: > > \setuptype[style={\setcharacterspacing[reset]\tt}] > \setuptyping[style={\setcharacterspacing[reset]\tt}] > \setupinteraction[style={\setcharacterspacing[reset]\tt}] > > Cheers, Peter ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setcharacterspacing[frenchpunctuation] in mkiv
On Tue, Jun 22 2010, Otared Kavian wrote: > I noticed that the mkiv command > \setcharacterspacing[frenchpunctuation] > influences even the \type environment: is this behavior wanted or is it a > side effect? Hello, I don't know, but I have these line in most of my environments: \setuptype[style={\setcharacterspacing[reset]\tt}] \setuptyping[style={\setcharacterspacing[reset]\tt}] \setupinteraction[style={\setcharacterspacing[reset]\tt}] Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] \setcharacterspacing[frenchpunctuation] in mkiv
Hi Hans, and all gurus, I noticed that the mkiv command \setcharacterspacing[frenchpunctuation] influences even the \type environment: is this behavior wanted or is it a side effect? Have a look at the following example in which \type{http://wiki.contextgarden.net} results in a space between « http » and « :// » as if the \type command were ignored regarding spacing. Best regards: OK %%% french-punctuation.tex \mainlanguage[fr] \setcharacterspacing[frenchpunctuation] \setupinteraction [state=start,color=darkgreen] \useURL [wiki] [http://wiki.contextgarden.net/] [] [{\tt http://wiki.contextgarden.net/}] \starttext Here we are following the French rule of typesetting semicolumn: did you see? However this rule should not be followed in \type{\type}\dots \from[wiki] \blank \useURL{\type{http://wiki.contextgarden.net/Main_Page}} \blank \starttyping http://wiki.contextgarden.net/Main_Page \stoptyping \blank since otherwise the interaction in the latter example is broken. Indeed there should not be a space between \type{http} and \type{://}. \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setcharacterspacing[frenchpunctuation] no more working
Peter Münster wrote: > Hello, > > In version 2008.06.11, \setcharacterspacing[frenchpunctuation] is no more > working. Here a test file: > > % engine=luatex > \starttext > test: oeps {\setcharacterspacing[frenchpunctuation]x: xx \bfd x: xx} oeps: > test > \stoptext ok fixed. a while ago i adapted the font related lua code to use named parameters instead of indexed (both are possible in luatex but i only copy the named ones further down the chain of events) and the spacing was still using indexed ones) i'll make a new beta Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] \setcharacterspacing[frenchpunctuation] no more working
Hello, In version 2008.06.11, \setcharacterspacing[frenchpunctuation] is no more working. Here a test file: % engine=luatex \starttext test: oeps {\setcharacterspacing[frenchpunctuation]x: xx \bfd x: xx} oeps: test \stoptext Cheers, Peter -- http://pmrb.free.fr/contact/ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setcharacterspacing[normal] ?
Peter Münster wrote: > Hello, > > how can I reset the \setcharacterspacing[frenchpunctuation] ? > > Here my example to show what I'm searching for: > > % engine=luatex > > \mainlanguage[fr] > > \startlanguagespecifics[fr] > \setcharacterspacing[frenchpunctuation] > \stoplanguagespecifics > > % This does not work: > %\appendtoks \setcharacterspacing[normal] \to \everyresetlanguagespecifics > > \starttext > French: French > \en English: English > \stoptext add to core-spa.mkiv \setvalue{\??ch:\s!reset}{\doresetattribute{spacing}} after that you can say \setcharacterspacing[reset] - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] \setcharacterspacing[normal] ?
Hello, how can I reset the \setcharacterspacing[frenchpunctuation] ? Here my example to show what I'm searching for: % engine=luatex \mainlanguage[fr] \startlanguagespecifics[fr] \setcharacterspacing[frenchpunctuation] \stoplanguagespecifics % This does not work: %\appendtoks \setcharacterspacing[normal] \to \everyresetlanguagespecifics \starttext French: French \en English: English \stoptext Cheers, Peter -- http://pmrb.free.fr/contact/ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___