Re: [patch] support CJK font argument

2008-06-10 Thread Jürgen Spitzmüller
instanton wrote: > Sure. Attached is an example tex file using the class ctexart. Thanks. Jürgen

Re: Re: [patch] support CJK font argument

2008-06-10 Thread instanton
-devel,soft_share Sent: 2008-06-10, 16:23:19 Subject: Re: [patch] support CJK font argument instanton wrote: > Nowadays there are a number of document classes supporting Chinese in > LaTeX. Besides using the standard document classes like article, book, > report etc with the aid o

Re: [patch] support CJK font argument

2008-06-10 Thread Jürgen Spitzmüller
instanton wrote: > Nowadays there are a number of document classes supporting Chinese in > LaTeX. Besides using the standard document classes like article, book, > report etc with the aid of CJK, we sometimes also use documentclasses like > > cctart cctbook ctexart ctexbook ctexreport  (for GBK enc

Re: [patch] support CJK font argument

2008-06-06 Thread Juergen Spitzmueller
instanton wrote: > \RequirePackage{CJK} > \AtBeginDocument{\begin{CJK*}{GBK}{}\CJKtilde\CJKcaption{GB}} > \AtEndDocument{\end{CJK*}} > > in the preamble, rather than having > > \begin{CJK*}{GBK}{} > > at the begining and > > \end{CJK*} > > in the ending. In the cases I talk about, the

Re: [patch] support CJK font argument

2008-06-06 Thread instanton
> First, I am sorry if my sentence above seemed a bit definitive to you. > It was intended as a joke, and a way to concede Juergen's point about > the need for variation... Never mind. I just need to explain my stand point. > However, I am not sure of one thing: do these different classe

Re: [patch] support CJK font argument

2008-06-06 Thread instanton
> We also want to support users who want to cite CJK > content in non-CJK documents (linguists come to mind). In that case, I would suggest to implement adding \RequirePackage{CJK} \AtBeginDocument{\begin{CJK*}{GBK}{}\CJKtilde\CJKcaption{GB}} \AtEndDocument{\end{CJK*}} in the preamble, rat

Re: [patch] support CJK font argument

2008-06-06 Thread Jean-Marc Lasgouttes
Juergen Spitzmueller <[EMAIL PROTECTED]> writes: > This is not possible. We also want to support users who want to cite CJK > content in non-CJK documents (linguists come to mind). There is also the problem of knowing whether these CJK classes can contain non-cjk contents. JMarc

Re: [patch] support CJK font argument

2008-06-06 Thread Jean-Marc Lasgouttes
"instanton"<[EMAIL PROTECTED]> writes: > JMark, > >> Who are you to decide that they appreciate variation? Let them choose >> whether they do! Hello, First, I am sorry if my sentence above seemed a bit definitive to you. It was intended as a joke, and a way to concede Juergen's point about th

Re: [patch] support CJK font argument

2008-06-06 Thread Juergen Spitzmueller
instanton wrote: > These extra document classes depends on CJK implicitly which means that > one needs not add \usepackage{CJK} in the preamble and also needs not to > put \begin{CJK}{GBK}{} after \begin{document} and \end{CJK} before > \end{document}. These document classes are much more popular

Re: [patch] support CJK font argument

2008-06-06 Thread instanton
JMark, > Who are you to decide that they appreciate variation? Let them choose > whether they do! As I am Chinese and also am the maintainer of a special MiKTeX bundle called MiCTeX for Chinese users (which takes special care of all relevant packages which LyX might need to run), I might

Re: [patch] support CJK font argument

2008-06-04 Thread Jean-Marc Lasgouttes
Jürgen Spitzmüller <[EMAIL PROTECTED]> writes: > So I think the text field is OK as a first step, unless some more > CJK-experienced developper improves the UI comfort. OK. > Furthermore I suppose that CJK users also appreciate some typographic > variation. Who are you to decide that they ap

Re: [patch] support CJK font argument

2008-06-04 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote: > Isn't it possible (desirable) to have a list of fonts instead of a > text field? I thought about this, but then I'm not sure about the concrete list of fonts, and also how we could check for their availability (if we use a combo, we would be desirable indeed, we sho

Re: [patch] support CJK font argument

2008-06-04 Thread Jean-Marc Lasgouttes
Jürgen Spitzmüller <[EMAIL PROTECTED]> writes: > The attached patch lets the user customize the font argument in the CJK > command > > \begin{CJK}{}{} > > globally on a per-document basis (in Document->Settings->Fonts). Isn't it possible (desirable) to have a list of fonts instead of a tex

Re: [patch] support CJK font argument

2008-06-04 Thread José Matos
On Wednesday 04 June 2008 09:23:06 Jürgen Spitzmüller wrote: > Since this is a file format change and we're in a freeze (?), I'm awaiting > José's decision. As soon as I get feedback from beta 3 the freeze is over and you can commit this. This does not exclude other comments to this patch natura

[patch] support CJK font argument

2008-06-04 Thread Jürgen Spitzmüller
The attached patch lets the user customize the font argument in the CJK command \begin{CJK}{}{} globally on a per-document basis (in Document->Settings->Fonts). Currently, this argument is always empty, which means that CJK falls back to the default font (song). This apparently does no