ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* single sign §
@ 2002-04-15 21:33 Jan Hon
  2002-04-16 11:00 ` Hans Hagen
  0 siblings, 1 reply; 9+ messages in thread
From: Jan Hon @ 2002-04-15 21:33 UTC (permalink / raw)


Ahoj,
I have Context with en and cz format. Fonts in document defined like this:
\mainlanguage[cz]
\language[cz]
\setupbodyfont[csr]
Trying to type singel sing - §, but without succes. I tryed use TeX \S but 
it was ignored. Then I tryed \type{§} with the same result. 
Any idea how to type §?
thx
honza
-- 
(:c) honza hon  <honzahon(at)centrum.cz>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: single sign §
  2002-04-15 21:33 single sign § Jan Hon
@ 2002-04-16 11:00 ` Hans Hagen
  2002-04-18 16:51   ` Jan Hon
  0 siblings, 1 reply; 9+ messages in thread
From: Hans Hagen @ 2002-04-16 11:00 UTC (permalink / raw)
  Cc: ntg-context

At 11:33 PM 4/15/2002 +0200, you wrote:
>Ahoj,
>I have Context with en and cz format. Fonts in document defined like this:

eh, that's english:

>\mainlanguage[cz]
>\language[cz]
>\setupbodyfont[csr]

(an english format with czech support: texexec --make --bodyf=csr 
--lang=cz,en en)

>Trying to type singel sing - §, but without succes. I tryed use TeX \S but
>it was ignored. Then I tryed \type{§} with the same result.
>Any idea how to type §?

isn't that \S and \P (have to check it); should be symbols -)

Hans

-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: single sign §
  2002-04-16 11:00 ` Hans Hagen
@ 2002-04-18 16:51   ` Jan Hon
  2002-04-20 23:27     ` Hans Hagen
  0 siblings, 1 reply; 9+ messages in thread
From: Jan Hon @ 2002-04-18 16:51 UTC (permalink / raw)
  Cc: ntg-context

Dne út 16. duben 2002 13:00 Hans Hagen napsal(a):

> isn't that \S and \P (have to check it); should be symbols -)
easy
\def\S{\mathhexbox278}
but work well
I like this mailing list. I send question and after some days I place the 
answer. Nice, it gives me opportunity to learn a bit more about  TeX.

honza
-- 
(:c) honza hon  <honzahon(at)centrum.cz>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: single sign §
  2002-04-18 16:51   ` Jan Hon
@ 2002-04-20 23:27     ` Hans Hagen
  2002-04-21  0:41       ` James H. Cloos Jr.
  2002-04-21  9:46       ` Re[2]: " Giuseppe Bilotta
  0 siblings, 2 replies; 9+ messages in thread
From: Hans Hagen @ 2002-04-20 23:27 UTC (permalink / raw)
  Cc: ntg-context

At 06:51 PM 4/18/2002 +0200, you wrote:
>Dne út 16. duben 2002 13:00 Hans Hagen napsal(a):
>
> > isn't that \S and \P (have to check it); should be symbols -)
>easy
>\def\S{\mathhexbox278}
>but work well
>I like this mailing list. I send question and after some days I place the
>answer. Nice, it gives me opportunity to learn a bit more about  TeX.

i don't like the hard coding 278, so we should decide on proper names and 
if they go into the math symbol sets or text symbol sets;

what are the official names for \S and \P ?

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: single sign §
  2002-04-20 23:27     ` Hans Hagen
@ 2002-04-21  0:41       ` James H. Cloos Jr.
  2002-04-21  9:46       ` Re[2]: " Giuseppe Bilotta
  1 sibling, 0 replies; 9+ messages in thread
From: James H. Cloos Jr. @ 2002-04-21  0:41 UTC (permalink / raw)
  Cc: honzahon, ntg-context

Hans> what are the official names for \S and \P ?

The unicode code and name for \P is U+00B6 PILCROW SIGN
and \S is U+00A7 SECTION SIGN.

The adobe postscript names are /paragraph and /section.

(In english, especially in legal documents and citations, each
paragraph and section is referenced by those lines, as in ¶3§4
for section 4 of paragraph 3.  Or perhaps the other was as in
§4 ¶4.5 for the fifth paragraph of section 4.  I do not know
how they are used in other languages.)

-JimC


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re[2]: single sign §
  2002-04-20 23:27     ` Hans Hagen
  2002-04-21  0:41       ` James H. Cloos Jr.
@ 2002-04-21  9:46       ` Giuseppe Bilotta
  2002-04-21 23:06         ` Patrick Gundlach
  1 sibling, 1 reply; 9+ messages in thread
From: Giuseppe Bilotta @ 2002-04-21  9:46 UTC (permalink / raw)
  Cc: ntg-context

Sunday, April 21, 2002 Hans Hagen wrote:

HH> i don't like the hard coding 278, so we should decide on proper names and
HH> if they go into the math symbol sets or text symbol sets;

HH> what are the official names for \S and \P ?

\textsection and \textparagraph

-- 
Giuseppe "Oblomov" Bilotta


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Re[2]: single sign §
  2002-04-21  9:46       ` Re[2]: " Giuseppe Bilotta
@ 2002-04-21 23:06         ` Patrick Gundlach
  2002-04-22 11:46           ` James H. Cloos Jr.
  2002-04-22 12:05           ` Re[4]: " Giuseppe Bilotta
  0 siblings, 2 replies; 9+ messages in thread
From: Patrick Gundlach @ 2002-04-21 23:06 UTC (permalink / raw)


Giuseppe Bilotta <bourbaki@bigfoot.com> writes:

Hi Giuseppe and others,

[...]

> HH> what are the official names for \S and \P ?

James has mentioned the official postscript names. But....

> \textsection and \textparagraph

what are these? the enco-ec already defines \sectionmark, so we should
stick to that one. And the paragraph glyph is not defined anywhere, as
far as I can see. I'd rather suggest \textP as opposed to the \P in
math mode. But it would be nice if \P worked also in text mode.

-- 
Viele Grüße, 

    Patrick Gundlach


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Re[2]: single sign §
  2002-04-21 23:06         ` Patrick Gundlach
@ 2002-04-22 11:46           ` James H. Cloos Jr.
  2002-04-22 12:05           ` Re[4]: " Giuseppe Bilotta
  1 sibling, 0 replies; 9+ messages in thread
From: James H. Cloos Jr. @ 2002-04-22 11:46 UTC (permalink / raw)
  Cc: ntg-context

>>>>> "Patrick" == Patrick Gundlach <pg@levana.de> writes:

Patrick> James has mentioned the official postscript names. But....

>> \textsection and \textparagraph

Patrick> what are these?

latex.ltx does this:

\DeclareTextSymbolDefault{\textparagraph}{OMS}
\DeclareRobustCommand{\P}{\ifmmode\mathparagraph\else\textparagraph\fi}
\DeclareTextSymbolDefault{\textsection}{OMS}
\DeclareRobustCommand{\S}{\ifmmode\mathsection\else\textsection\fi}

fontmath.ltx has:

\DeclareMathSymbol{\mathparagraph}{\mathord}{symbols}{"7B}
\DeclareMathSymbol{\mathsection}{\mathord}{symbols}{"78}

and omsenc.def, ts1enc.def & t1enc.def each define \textsection and
omsenc.def & ts1enc.def each define \textparagraph via \DeclareTextSymbol
commands.

Grep though $(find $TEXMF/tex/latex -type f) for more.

In short, latex2e defines those to directly access certain glyphs in
certain textmode encodings.

-JimC


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re[4]: single sign §
  2002-04-21 23:06         ` Patrick Gundlach
  2002-04-22 11:46           ` James H. Cloos Jr.
@ 2002-04-22 12:05           ` Giuseppe Bilotta
  1 sibling, 0 replies; 9+ messages in thread
From: Giuseppe Bilotta @ 2002-04-22 12:05 UTC (permalink / raw)
  Cc: ntg-context

Monday, April 22, 2002 Patrick Gundlach wrote:

>> HH> what are the official names for \S and \P ?

PG> James has mentioned the official postscript names. But....

>> \textsection and \textparagraph

PG> what are these? the enco-ec already defines \sectionmark, so we should
PG> stick to that one. And the paragraph glyph is not defined anywhere, as
PG> far as I can see. I'd rather suggest \textP as opposed to the \P in
PG> math mode. But it would be nice if \P worked also in text mode.

Those are the names used in LaTeX. LaTeX forms the names of the
glyphs from their PostScript name and prefixing them with \text...

-- 
Giuseppe "Oblomov" Bilotta


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2002-04-22 12:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-15 21:33 single sign § Jan Hon
2002-04-16 11:00 ` Hans Hagen
2002-04-18 16:51   ` Jan Hon
2002-04-20 23:27     ` Hans Hagen
2002-04-21  0:41       ` James H. Cloos Jr.
2002-04-21  9:46       ` Re[2]: " Giuseppe Bilotta
2002-04-21 23:06         ` Patrick Gundlach
2002-04-22 11:46           ` James H. Cloos Jr.
2002-04-22 12:05           ` Re[4]: " Giuseppe Bilotta

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).