ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Rik Kabel <ConTeXt@rik.users.panix.com>
Subject: [NTG-context] Re: missing space with French quotation
Date: Thu, 30 May 2024 22:33:21 +0200	[thread overview]
Message-ID: <33f44ffe-082f-0f60-cc9c-938661057ea4@gmail.com> (raw)
In-Reply-To: <b0baddd7-b600-4c8f-ace4-f8f9a22b714e@rik.users.panix.com>

Rik Kabel schrieb am 30.05.2024 um 19:21:
>  From my basic environment file, a useful reminder:
> 
>     %% \mainlanguage sets language used for labels (TOC, chapters, ...)
>     %% \language sets language to use for hyphenation, quote rules, ...

\mainlanguage includes all settings of \language.

As you can see in the following example \mainlanguage change the float 
label and the quotation marks but \language changes only the quotation 
marks and uses the label of the main language.

%%%% begin example
\starttext

\startplacefigure[title=\quotation{English quotes}]
\midaligned{\blackrule[width=6cm,height=2cm,color=red]}
\stopplacefigure

\start \mainlanguage[nl]
\startplacefigure[title=\quotation{Dutch quotes}]
\midaligned{\blackrule[width=6cm,height=2cm,color=green]}
\stopplacefigure
\stop

\start \language[fr]
\startplacefigure[title=\quotation{French quotes}]
\midaligned{\blackrule[width=6cm,height=2cm,color=blue]}
\stopplacefigure
\stop

\stoptext
%%%% end example

Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2024-05-30 20:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-30 15:34 [NTG-context] " Peter Münster
2024-05-30 17:21 ` [NTG-context] " Rik Kabel
2024-05-30 20:33   ` Wolfgang Schuster [this message]
2024-05-30 21:29     ` Rik Kabel
2024-06-04 18:31 ` Peter Münster
2024-06-07 11:31 ` Peter Münster
2024-06-07 12:18   ` Wolfgang Schuster
2024-06-07 14:21     ` Alan Braslau via ntg-context
2024-06-07 17:40       ` Wolfgang Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=33f44ffe-082f-0f60-cc9c-938661057ea4@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=ConTeXt@rik.users.panix.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).