ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Zhichu Chen" <zhichu.chen@gmail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: PDF comments' questions
Date: Fri, 10 Aug 2007 13:00:22 +0800	[thread overview]
Message-ID: <769ba7780708092200i446e565et23304c48b963a81@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1309 bytes --]

Hi everybody,

I get confused about some PDF specials.

I know I could add
++++++++++++++++++++++++
\enableregime[utf]
\PDFunicodetrue
\input spec-tst.tex
++++++++++++++++++++++++
at the top of my source file so that I can use unicode characters in
\comment or something alike.

But when I used some macros inside \comment, like
\comment[chapter \chinesenumber{1}]{\getmarking[chapter][current]}
everything went wrong (this is a Chinese book).

It seems that \sanitizePDFencoding\AAA\to\BBB will work only when \AAA is
text.

Meanwhile, \uchar{86}{222} and 回 should be the same, but the first generates
error while the second one works fine. It's like there's something very
mysterious that take care of the characters. How could I filter the macro
and get the text string? Currently, I just wanna know how to get
\uchar{86}{222} or \chinesenumber{counter} work as if they are really texts.



-- 
Best Regards
Chen
----------------------------------------------------------------

          Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
         No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
             tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
                                               | www.sinap.ac.cn
----------------------------------------------------------------

[-- Attachment #1.2: Type: text/html, Size: 1893 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

                 reply	other threads:[~2007-08-10  5:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=769ba7780708092200i446e565et23304c48b963a81@mail.gmail.com \
    --to=zhichu.chen@gmail.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).