Re: [Groff] How to add chinese font for groff?

2007-03-14 Thread Jeff Zhang
On 3/15/07, Gunnar Ritter <[EMAIL PROTECTED]> wrote: "Jeff Zhang" <[EMAIL PROTECTED]> wrote: > After correct the name, it can produce ps file without error message. > However, it almost can't be converted into pdf by ps2pdf or to view it by > gv, for it runs very long time to convert and I have

[Groff] composition operator

2007-03-14 Thread janez . zemva
I've forgotten to write to the mailing list my thanks for advice and complaint about missing docs on eqn's sdefine.

Re: [Groff] line break question

2007-03-14 Thread Joerg van den Hoff
On Wed, Mar 14, 2007 at 08:15:10PM +0100, Werner LEMBERG wrote: > > > I noticed that groff might format something like > > > > > > " some_text(more_text) " > > > > > > in such a way that it comes out as > > > > " some_text(" > > "more_text) " > > Example code, please. This s

Re: [Groff] chess font?

2007-03-14 Thread Gaius Mulley
walter harms <[EMAIL PROTECTED]> writes: > maybe you can add this as a little howto to the wiki and/or groff docu ? > > re, > wh Hi, here is a set of instructions for adding a chess font to groff and a macro set (which solves the problem in a less sophisticated way to that as the one posted b

Re: [Groff] line break question

2007-03-14 Thread Werner LEMBERG
> I noticed that groff might format something like > > > " some_text(more_text) " > > > in such a way that it comes out as > > " some_text(" > "more_text) " Example code, please. This shouldn't happen, of course. Werner

Re: [Groff] How to add chinese font for groff?

2007-03-14 Thread Gunnar Ritter
"Jeff Zhang" <[EMAIL PROTECTED]> wrote: > After correct the name, it can produce ps file without error message. > However, it almost can't be converted into pdf by ps2pdf or to view it by > gv, for it runs very long time to convert and I have to kill ps2pdf. Yes, I know that for whatever reason,

Re: [Groff] How to add chinese font for groff?

2007-03-14 Thread Werner LEMBERG
> > Of course it is slower due to the sequential searching operations. > > Can you estimate how much slower it is? > > with the same sample file: > 0.09s user 0.02s system 14% cpu 0.725 total > 3.78s user 0.36s system 60% cpu 6.827 total This is indeed slow... Thanks for testing! Werner

Re: [Groff] composition operator

2007-03-14 Thread Tadziu Hoffmann
> I need a composition operator in groff for math (centered > circle, not too big), but I can't find any suitable > candidates, the closest I've come to is \[Om]. \[ao] and > \[ci] are too big, but I haven't tried \s-2\[ci]\s+2 yet. > Is this the solution? Why do you say that the ring accent \[ao]

Re: [Groff] How to add chinese font for groff?

2007-03-14 Thread Jeff Zhang
On 3/14/07, Gunnar Ritter <[EMAIL PROTECTED]> wrote: "Jeff Zhang" <[EMAIL PROTECTED]> wrote: > On 3/14/07, Gunnar Ritter <[EMAIL PROTECTED]> wrote: > > "Jeff Zhang" <[EMAIL PROTECTED]> wrote: > > > I've also tested with ttf file (I'm an newbie to troff)like: > > > .do xflag 3 > > > .lc_ctype zh

Re: [Groff] How to add chinese font for groff?

2007-03-14 Thread Gunnar Ritter
"Jeff Zhang" <[EMAIL PROTECTED]> wrote: > On 3/14/07, Gunnar Ritter <[EMAIL PROTECTED]> wrote: > > "Jeff Zhang" <[EMAIL PROTECTED]> wrote: > > > I've also tested with ttf file (I'm an newbie to troff)like: > > > .do xflag 3 > > > .lc_ctype zh_CN.utf8 > > > .fp 1 R STXingKai ttf > > > .fp 0 T STXin

[Groff] composition operator

2007-03-14 Thread janez . zemva
I need a composition operator in groff for math (centered circle, not too big), but I can't find any suitable candidates, the closest I've come to is \[Om]. \[ao] and \[ci] are too big, but I haven't tried \s-2\[ci]\s+2 yet. Is this the solution?

Re: [Groff] How to add chinese font for groff?

2007-03-14 Thread Jeff Zhang
On 3/14/07, Gunnar Ritter <[EMAIL PROTECTED]> wrote: "Jeff Zhang" <[EMAIL PROTECTED]> wrote: > I've also tested with ttf file (I'm an newbie to troff)like: > > .do xflag 3 > .lc_ctype zh_CN.utf8 > .fp 1 R STXingKai ttf > .fp 0 T STXingkai ttf > .ft T > 中文 > > It also gives error: > troff: Can'

Re: [Groff] How to add chinese font for groff?

2007-03-14 Thread Gunnar Ritter
"Jeff Zhang" <[EMAIL PROTECTED]> wrote: > I've also tested with ttf file (I'm an newbie to troff)like: > > .do xflag 3 > .lc_ctype zh_CN.utf8 > .fp 1 R STXingKai ttf > .fp 0 T STXingkai ttf > .ft T > 中文 > > It also gives error: > troff: Can't load font... > > maybe it duce to the ttf file, I'm no

[Groff] line break question

2007-03-14 Thread Joerg van den Hoff
I noticed that groff might format something like " some_text(more_text) " in such a way that it comes out as " some_text(" "more_text) " in other words, although there is no space after the opening parenthesis, the latter is treated as the word ending. question: is this inten

Re: [Groff] How to add chinese font for groff?

2007-03-14 Thread Jeff Zhang
On 3/14/07, Gunnar Ritter <[EMAIL PROTECTED]> wrote: "Jeff Zhang" <[EMAIL PROTECTED]> wrote: > And I also tried Heirloom Documentation Tools, it seems just works for > normal otf file not for my generated pfb file to produce utf8 contained > file. This is because the OpenType font contains a U

Re: [Groff] How to add chinese font for groff?

2007-03-14 Thread Gunnar Ritter
"Jeff Zhang" <[EMAIL PROTECTED]> wrote: > And I also tried Heirloom Documentation Tools, it seems just works for > normal otf file not for my generated pfb file to produce utf8 contained > file. This is because the OpenType font contains a Unicode mapping table (i.e. a table that says "U+E046 is

Re: [Groff] How to add chinese font for groff?

2007-03-14 Thread Jeff Zhang
On 3/14/07, Werner LEMBERG <[EMAIL PROTECTED]> wrote: > > Try this: > > > > .ds SUNEXT SUNEXT00 \ > > SUNEXT01 \ > > ... \ > > SUNEXTff > > > > .special \*[SUNEXT] > > > > > > Werner > > It works, though it takes longer time to finish than the