groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Groff] Re: weierstrass in UTF-8 output


From: Bruno Haible
Subject: [Groff] Re: weierstrass in UTF-8 output
Date: Fri, 21 Jan 2000 18:57:34 +0100 (MET)

Markus Kuhn writes:

> -------------------------------------------------------------------
> Kenneth Whistler wrote on this topic 1999-11-15 on the Unicode mailing
> list:
> 
> [...] The interpretation of U+2118 was fixed in Unicode
> 3.0 many months ago. The data is available in the UNIDATA directory--
> see NamesList.txt. But here is the relevant excerpt:
> 
> 2118    SCRIPT CAPITAL P
>         = Weierstrass elliptic function
>         * actually this has the form of a lowercase calligraphic p,
>           despite its name

Thanks for the info. I couldn't know; Ken Whistler didn't CC me in his
reply to your question. It's now clear enough: they agree that 2118's name
is not right.

> -------------------------------------------------------------------
> 
> >         <=       \(lh            handleft
> >         =>       \(rh            handright
> 
> U+261A  BLACK LEFT POINTING INDEX
> U+261B  BLACK RIGHT POINTING INDEX
> U+261C  WHITE LEFT POINTING INDEX
> U+261E  WHITE RIGHT POINTING INDEX

Yup, that fits. Thanks.

Here is the update for the current groff.

Bruno


2000-01-21  Bruno Haible  <address@hidden>

        * nroff/nroff.sh: Accept -Tutf8 option and pass it through.
        * devutf8/R.proto: Add mappings for ti, Fn, wp, st, an, lh, rh. Change
          mappings of Im, Re.

*** groff-1.15/nroff/nroff.sh.bak       Fri Jan  7 00:25:50 2000
--- groff-1.15/nroff/nroff.sh   Mon Jan 17 09:53:02 2000
***************
*** 42,48 ****
                opts="$opts $1";
                ;;
  
!       -Tascii|-Tlatin1)
                T=$1
                ;;
        -T*)
--- 42,48 ----
                opts="$opts $1";
                ;;
  
!       -Tascii|-Tlatin1|-Tutf8)
                T=$1
                ;;
        -T*)
*** groff-1.15/devutf8/R.proto.bak      Sat Jan  8 20:53:31 2000
--- groff-1.15/devutf8/R.proto  Fri Jan 21 11:09:06 2000
***************
*** 115,120 ****
--- 115,121 ----
  }     "
  a~    24      0       0x007E
  ~     "
+ ti    "
  r!    24      0       0x00A1
  char161       "
  ct    24      0       0x00A2
***************
*** 307,312 ****
--- 308,314 ----
  /l    24      0       0x0142
  OE    24      0       0x0152
  oe    24      0       0x0153
+ Fn    24      0       0x0192
  ah    24      0       0x02C7
  ab    24      0       0x02D8
  a.    24      0       0x02D9
***************
*** 386,393 ****
  fc    24      0       0x203A
  rn    24      0       0x203E
  f/    24      0       0x2044
! Im    24      0       0x2110
! Re    24      0       0x211B
  tm    24      0       0x2122
  Ah    24      0       0x2135
  <-    24      0       0x2190
--- 388,396 ----
  fc    24      0       0x203A
  rn    24      0       0x203E
  f/    24      0       0x2044
! Im    24      0       0x2111
! wp    24      0       0x2118
! Re    24      0       0x211C
  tm    24      0       0x2122
  Ah    24      0       0x2135
  <-    24      0       0x2190
***************
*** 407,412 ****
--- 410,416 ----
  gr    24      0       0x2207
  mo    24      0       0x2208
  nm    24      0       0x2209
+ st    24      0       0x220B
  \-    24      0       0x2212
  mi    "
  **    24      0       0x2217
***************
*** 443,448 ****
--- 447,453 ----
  la    24      0       0x2329
  ra    24      0       0x232A
  CR    24      0       0x240D
+ an    24      0       0x2500
  br    24      0       0x2502
  bv    "
  rk    24      0       0x251D
***************
*** 454,459 ****
--- 459,466 ----
  sq    24      0       0x25A1
  lz    24      0       0x25CA
  ci    24      0       0x25EF
+ lh    24      0       0x261C
+ rh    24      0       0x261E
  ff    24      0       0xFB00
  fi    24      0       0xFB01
  fl    24      0       0xFB02
*** groff-1.15/devutf8/NOTES.bak        Sat Jan  8 20:53:12 2000
--- groff-1.15/devutf8/NOTES    Fri Jan 21 11:13:56 2000
***************
*** 1,17 ****
! The following from groff_char.7 are unmapped:
! 
!        f        \(Fn            florin
!        <=       \(lh            handleft
!        =>       \(rh            handright
!        -)       \(st            suchthat
!        p        \(wp            weierstrass      Weierstrass p
!        -        \(an            arrowhorizex     horizontal arrow extension
! 
! The following from the original troff manual (by Ossanna and Kernighan) are
  unmapped:
  
-        <=       \(lh            handleft
-        =>       \(rh            handright
                  \(bs                             solid ball
  
  Character 0x002D has not been given a name because its Unicode name
--- 1,6 ----
! The following from the original troff manual (by Ossanna and Kernighan) is
  unmapped:
  
                  \(bs                             solid ball
  
  Character 0x002D has not been given a name because its Unicode name
***************
*** 31,36 ****
--- 20,70 ----
  
  \(bv has been mapped to 0x2502, not 0x2759, because it appears to mean
  "bar vertical", not "bold vertical".
+ 
+ \(wp has been mapped to 0x2118, because according to unicode.org's
+ NamesList-3.0.0.txt, U+2118 "SCRIPT CAPITAL P" is really a Weierstrass p,
+ neither SCRIPT not CAPITAL.
+ 
+ The following lines could be added, to define names which are known to
+ "devps" but are not documented and not known to "devdvi".
+ space 24      0       0x0020
+ vS    24      0       0x0160
+ vs    24      0       0x0161
+ :Y    24      0       0x0178
+ vZ    24      0       0x017D
+ vz    24      0       0x017E
+ 3d    24      0       0x2234
+ nb    24      0       0x2284
+ product       24      0       0x220F
+ sum   24      0       0x2211
+ SP    24      0       0x2660
+ CL    24      0       0x2663
+ HE    24      0       0x2665
+ DI    24      0       0x2666
+ 
+ "devps" maps \(a~ and ~ to asciitilde, which is equivalent to 0x02DC, but
+ this glyph is just too small. We map them to 0x007E instead.
+ 
+ "devps" maps \(a^ and ^ to circumflex, which is equivalent to 0x02C6, but
+ this glyph is just too small. We map them to 0x005E instead.
+ 
+ "devps" maps *m to mu, which is equivalent to either 0x00B5 or 0x03BC. We
+ map it to 0x03BC.
+ 
+ "devps" maps *U to Upsilon1, which is equivalent to 0x03D2. We map it to
+ 0x03A5 instead.
+ 
+ "devps" maps *W to Omega, which is equivalent to either 0x2126 or 0x03A9. We
+ map it to 0x03A9.
+ 
+ "devps" maps *D to Delta, which is equivalent to either 0x2206 or 0x0394. We
+ map it to 0x0394.
+ 
+ "devps" maps CR to carriagereturn, which is equivalent to 0x21B5. We map it
+ to 0x240D instead.
+ 
+ "devps" maps md to dotmath, which is equivalent to 0x22C5. We map it to 0x00B7
+ instead.
  
  The line
  char173       24      0       0x00AD


reply via email to

[Prev in Thread] Current Thread [Next in Thread]