* \setcharacterspacing
@ 2021-05-17 18:38 Alan Bowen
2021-05-17 18:43 ` \setcharacterspacing Wolfgang Schuster
0 siblings, 1 reply; 7+ messages in thread
From: Alan Bowen @ 2021-05-17 18:38 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 408 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 1885 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: \setcharacterspacing
2021-05-17 18:38 \setcharacterspacing Alan Bowen
@ 2021-05-17 18:43 ` Wolfgang Schuster
2021-05-17 18:57 ` \setcharacterspacing Alan Bowen
0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2021-05-17 18:43 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: \setcharacterspacing
2021-05-17 18:43 ` \setcharacterspacing Wolfgang Schuster
@ 2021-05-17 18:57 ` Alan Bowen
2021-05-17 19:10 ` \setcharacterspacing Wolfgang Schuster
0 siblings, 1 reply; 7+ messages in thread
From: Alan Bowen @ 2021-05-17 18:57 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1189 bytes --]
Wolfgang—Thank you. That works very nicely!
Alan
On Mon, May 17, 2021 at 2:44 PM Wolfgang Schuster <
wolfgang.schuster.lists@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
>
> ___________________________________________________________________________________
>
[-- Attachment #1.2: Type: text/html, Size: 2315 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: \setcharacterspacing
2021-05-17 18:57 ` \setcharacterspacing Alan Bowen
@ 2021-05-17 19:10 ` Wolfgang Schuster
2021-05-17 19:50 ` \setcharacterspacing Alan Bowen
0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2021-05-17 19:10 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: \setcharacterspacing
2021-05-17 19:10 ` \setcharacterspacing Wolfgang Schuster
@ 2021-05-17 19:50 ` Alan Bowen
2021-05-17 19:59 ` \setcharacterspacing Wolfgang Schuster
0 siblings, 1 reply; 7+ messages in thread
From: Alan Bowen @ 2021-05-17 19:50 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1538 bytes --]
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.lists@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
>
> ___________________________________________________________________________________
>
[-- Attachment #1.2: Type: text/html, Size: 3091 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: \setcharacterspacing
2021-05-17 19:50 ` \setcharacterspacing Alan Bowen
@ 2021-05-17 19:59 ` Wolfgang Schuster
2021-05-18 13:13 ` \setcharacterspacing Alan Bowen
0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2021-05-17 19:59 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 678 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 1620 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: \setcharacterspacing
2021-05-17 19:59 ` \setcharacterspacing Wolfgang Schuster
@ 2021-05-18 13:13 ` Alan Bowen
0 siblings, 0 replies; 7+ messages in thread
From: Alan Bowen @ 2021-05-18 13:13 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1961 bytes --]
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.lists@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
>
> ___________________________________________________________________________________
>
[-- Attachment #1.2: Type: text/html, Size: 4491 bytes --]
[-- Attachment #2: c_CharSpTest.tex --]
[-- Type: application/x-tex, Size: 160 bytes --]
[-- Attachment #3: prd_CharSpTest.tex --]
[-- Type: application/x-tex, Size: 111 bytes --]
[-- Attachment #4: env_CharSpTest.tex --]
[-- Type: application/x-tex, Size: 319 bytes --]
[-- Attachment #5: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2021-05-18 13:13 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-17 18:38 \setcharacterspacing Alan Bowen
2021-05-17 18:43 ` \setcharacterspacing Wolfgang Schuster
2021-05-17 18:57 ` \setcharacterspacing Alan Bowen
2021-05-17 19:10 ` \setcharacterspacing Wolfgang Schuster
2021-05-17 19:50 ` \setcharacterspacing Alan Bowen
2021-05-17 19:59 ` \setcharacterspacing Wolfgang Schuster
2021-05-18 13:13 ` \setcharacterspacing Alan Bowen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).