* [***SPAM***] Problem with simplefonts, placing of period
@ 2012-07-30 9:34 Martin
2012-07-31 8:21 ` WG: " Martin Althoff
0 siblings, 1 reply; 2+ messages in thread
From: Martin @ 2012-07-30 9:34 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi All,
I am experiencing a problem with the placement of the period "." after a
sentence. In the example below it's the one after "(Englisch)." Once the
line \setscript[hanzi] is uncommented, the period sits under, before or
far after the closing bracket depending on borders or text before/after.
The question is: Is that a bug or feature? The key impact of setscript I
see is on spacing/flow of text. A small amount of Chinese text in the
complete document appears the same.
Thanks,
Martin
\usemodule[simplefonts]
\mainlanguage[de]
\setupsimplefonts[size=11pt]
\setmainfont[TeX Gyre Pagella]
\setcjkmainfont[AdobeSongStd][regular={* Light},italic={AdobeKaitiStd
Regular},bold={AdobeHeitiStd Regular},bolditalic={AdobeHeitiStd Regular}]
\setcjksansfont[AdobeKaitiStd][bold={AdobeHeitiStd
Regular},bolditalic={AdobeHeitiStd Regular}]
\setcjkmonofont[AdobeFangsongStd][bold={AdobeHeitiStd
Regular},bolditalic={AdobeHeitiStd Regular}]
%\setscript[hanzi]
\setuppapersize[A4][A4]
\setuplayout
[
backspace=45mm,
height=fit,
width=fit,
rightmargin=10mm,
leftmargin=30mm,
]
\starttext
auf der Stufe von A1-C1 (Deutsch) bzw. \quotation{Beginner} bis
\quotation{Upper Intermediate} (Englisch). \input{lorem}
\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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* WG: Problem with simplefonts, placing of period
2012-07-30 9:34 [***SPAM***] Problem with simplefonts, placing of period Martin
@ 2012-07-31 8:21 ` Martin Althoff
0 siblings, 0 replies; 2+ messages in thread
From: Martin Althoff @ 2012-07-31 8:21 UTC (permalink / raw)
To: mailinglistfor Con Te Xtusers
I just realized my mail was marked as spam..., not sure what impact that has.
Might be worth mentioning the Context version:
ConTeXt ver: 2012.07.21 16:50 MKIV fmt: 2012.7.21
Looking through the generated PDF the placement of other interpunctuation is also off and the text is running rather "tight" when \setscript[hanzi] is used.
Thanks for any replies!
Martin
> I am experiencing a problem with the placement of the period "." after
> a sentence. In the example below it's the one after "(Englisch)."
> Once the line \setscript[hanzi] is uncommented, the period sits under,
> before or far after the closing bracket depending on borders or text
> before/after.
>
> The question is: Is that a bug or feature? The key impact of setscript I see is
> on spacing/flow of text. A small amount of Chinese text in the complete document
> appears the same.
>
> Thanks,
> Martin
>
>
> \usemodule[simplefonts]
>
> \mainlanguage[de]
>
> \setupsimplefonts[size=11pt]
> \setmainfont[TeX Gyre Pagella]
> \setcjkmainfont[AdobeSongStd][regular={* Light},italic={AdobeKaitiStd
> Regular},bold={AdobeHeitiStd Regular},bolditalic={AdobeHeitiStd Regular}]
> \setcjksansfont[AdobeKaitiStd][bold={AdobeHeitiStd
> Regular},bolditalic={AdobeHeitiStd Regular}]
> \setcjkmonofont[AdobeFangsongStd][bold={AdobeHeitiStd
> Regular},bolditalic={AdobeHeitiStd Regular}]
>
>
> %\setscript[hanzi]
>
>
> \setuppapersize[A4][A4]
>
> \setuplayout
> [
> backspace=45mm,
> height=fit,
> width=fit,
> rightmargin=10mm,
> leftmargin=30mm,
> ]
>
> \starttext
>
> auf der Stufe von A1-C1 (Deutsch) bzw. \quotation{Beginner} bis
> \quotation{Upper Intermediate} (Englisch). \input{lorem}
>
> \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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-07-31 8:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-30 9:34 [***SPAM***] Problem with simplefonts, placing of period Martin
2012-07-31 8:21 ` WG: " Martin Althoff
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).