[Groff] Re: Heirloom compiled for Windows anywhere?

2009-04-05 Thread Gunnar Ritter
Michail Vidiassov mas...@iaas.msu.ru wrote: is it possible to compile Heirloom for Windows? Are there any prebuilt packages anywhere on the Net? I don't know. It is software for Unix systems. Some of it may compile using Unix emulation libraries, some if it may not. Gunnar

Re: [Groff] Heirloom: trouble using Chinese ttf font

2009-04-01 Thread Gunnar Ritter
FENG Yu Ning fengyuning1...@gmail.com wrote: Since I cannot find the mailing list of Heirloom, and the maintainer seems to be on this list, I think it might be proper to ask for help here. It's better if you contact me directly. I ran into trouble trying to use some Chinese ttf fonts in

[Groff] Re: another tbl peculiarity

2008-11-08 Thread Gunnar Ritter
Werner LEMBERG [EMAIL PROTECTED] wrote: | If no line length is specified in the block of text itself, or in | the table format, the default is to use LxC/(N+1) where L is the | current line length, C is the number of table columns spanned by | the text, and N is the total number of

[Groff] Re: another tbl peculiarity

2008-11-07 Thread Gunnar Ritter
Werner LEMBERG [EMAIL PROTECTED] wrote: Note that heirloom's output is worse (I've used a compiled CVS version from 2007-Jan-09). Using `tbl | nroff -Tlp' I get a a c c [7 b b b b b b b b b b b b b b b b e e [7d d

Re: [Groff] Devps unmatched metrics

2008-05-10 Thread Gunnar Ritter
Tadziu Hoffmann [EMAIL PROTECTED] wrote: But seriously, regarding document portability I concede your point: anything that goes beyond the standard should become part of the document. (Especially that cross-font kerning is a pretty neat idea.) On the other hand, the same goes for

Re: [Groff] Devps unmatched metrics

2008-05-02 Thread Gunnar Ritter
Tadziu Hoffmann [EMAIL PROTECTED] wrote: The kerning information, however, can be modified without a new font being created, because it is something the font doesn't know about. [Don't know what the situation is with OpenType.] Principally the same, in that the kerning information is not

Re: [Groff] Devps unmatched metrics

2008-05-02 Thread Gunnar Ritter
Tadziu Hoffmann [EMAIL PROTECTED] wrote: The neat thing about groff's way of having the (editable) metrics file separate from the actual font file (as opposed to, say, a system where the metrics are read directly from a not-so-easily-editable truetype or opentype font file), is that it is

Re: [Groff] Devps unmatched metrics

2008-05-02 Thread Gunnar Ritter
Denis M. Wilson [EMAIL PROTECTED] wrote: I have to take issue with this. My printer (lj4) does not have the fonts, its builtin fonts I cannot use because I require to preview before printing. Everything is done via GhostScript. There also is the option to simply buy the fonts, they are

Re: [Groff] WARNING: tbl with auto-incrementing registers!

2008-02-20 Thread Gunnar Ritter
(Ted Harding) [EMAIL PROTECTED] wrote: I don't see any way of working round this, given the way 'tbl' works, The content of T{ T} is evaluated only once. Gunnar

Re: [Groff] Re: OTF fonts

2008-01-15 Thread Gunnar Ritter
James Cloos [EMAIL PROTECTED] wrote: I'd also love to see full libhnj support. (Probably should have two registers, one for choosing the libhnj hyphenation algorithm and a second one to choose the line breaking algorithm. Just to ensure old documents do not reflow unless one asks for the

Re: heirloom eqn (was: [Groff] OTF in Groff or -mom in Heitrloom troff...)

2008-01-13 Thread Gunnar Ritter
Gunnar Ritter [EMAIL PROTECTED] wrote: eqn produces a \^ where it should produce a \|. I'll find a way to make that work properly and tell you when it's done. The fix is now in CVS. Thanks for reporting and insisting on the issue being fixed. Gunnar

Re: [Groff] Re: heirloom eqn

2008-01-13 Thread Gunnar Ritter
Werner LEMBERG [EMAIL PROTECTED] wrote: geqn seems to ignore part of explicit provided spaces ~ in the above example (it seems to be the default spacing anyway). Is this intended behaviour: increase spacing only by the difference of explicit provided space and default space? It seems

Re: heirloom eqn (was: [Groff] OTF in Groff or -mom in Heitrloom troff...)

2008-01-12 Thread Gunnar Ritter
Joerg van den Hoff [EMAIL PROTECTED] wrote: and compare geqn/groff with heqn/htroff generated ps output _and_ with the above document from bell labs you'll see especially that in the original doc the equation is typeset with _some_ spacing, different from groff but more (and

Re: heirloom eqn (was: [Groff] OTF in Groff or -mom in Heitrloom troff...)

2008-01-12 Thread Gunnar Ritter
Gunnar Ritter [EMAIL PROTECTED] wrote: Okay, I now see that I introduced that problem myself back in November 2007; 2005, I mean. Gunnar

Re: [Groff] OTF in Groff or -mom in Heitrloom troff...

2008-01-10 Thread Gunnar Ritter
Joerg van den Hoff [EMAIL PROTECTED] wrote: shows that the hat is sort of right aligned above the K, not centered as the dot is in the ps output. moreover the vertical distance above the K seems different for both marks (probably they both are top aligned in this direction?). Thanks. A

Re: [Groff] OTF in Groff or -mom in Heitrloom troff...

2008-01-10 Thread Gunnar Ritter
brian m. carlson [EMAIL PROTECTED] wrote: It's my experience that this is common with combining diacritic marks in most TrueType fonts. In other words, this bug is not specific to Heirloom troff, but instead probably a problem with the fonts. No, this was not the problem here. Both

Re: [Groff] OTF in Groff or -mom in Heitrloom troff...

2008-01-09 Thread Gunnar Ritter
Michael Kerpan [EMAIL PROTECTED] wrote: After joining this board (and being mostly a lurker), I've been clued in to the awesome -mom macro package. I'd like to use it with my extensive collection of OTF fonts, but it seems like groff's font support rather lags behind that of Heirloom troff...

Re: [Groff] Why is it...

2007-12-16 Thread Gunnar Ritter
Michael Kerpan [EMAIL PROTECTED] wrote: ...that groff/troff seems to be written off by so many as obsolete and only useful for man pages, despite the fact that it can do everything that TeX/LaTeX (seemingly the favored non-WYSIWYG document processor) can do First, it cannot. TeX provides

Line continuation in unstripped doc.tmac

2007-10-20 Thread Gunnar Ritter
Hi, doc.tmac contains the following lines: .ie (\n[doc-reg-dpr1] == 2) \ . \ the `\%' prevents hyphenation on a dash (`-') . nop \%\*[doc-str-dpr]\\c .el \{\ . \ punctuation character . nop \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]\c . nop

Re: Line continuation in unstripped doc.tmac

2007-10-20 Thread Gunnar Ritter
Werner LEMBERG [EMAIL PROTECTED] wrote: Fixed in CVS. Please test. Works fine here. Thanks. Gunnar ___ bug-groff mailing list bug-groff@gnu.org http://lists.gnu.org/mailman/listinfo/bug-groff

Re: [Groff] groff Image Formats

2007-10-19 Thread Gunnar Ritter
Frank Jahnke [EMAIL PROTECTED] wrote: pinot% sed 9q figure9-acrobat.eps %!PS-Adobe-3.1 EPSF-3.0 %ADO_DSC_Encoding: Windows Roman %%Title: figure9.pdf %%Creator: Adobe Acrobat 8.0 %%For: Administrator %%CreationDate: 10/15/2007, 12:12:48 PM %%BoundingBox: 0 0 536 152 %%HiResBoundingBox: 0

Re: [Groff] groff Image Formats

2007-10-17 Thread Gunnar Ritter
Frank Jahnke [EMAIL PROTECTED] wrote: Well, in the most recent example, I used OO.o draw to combine three .jpg images into a single file after cropping them with gimp. These came from a colleague's CAD program -- I could start with a different format, but JPEGs are pretty standard. I am not

Re: [Groff] RE: Small bug in groff 1.19.2 footnote number contro

2007-09-20 Thread Gunnar Ritter
Bob Diertens [EMAIL PROTECTED] wrote: This was already there in the PWB/MM Programmer's Workbench Memorandom Macros, D.W. Smith and J.R. Mashey, October 1977. So there only a bug in the groff_mm manual page. The same document also mentions the names used by PWB/MM in the chapter Extending

Re: [Groff] RE: Small bug in groff 1.19.2 footnote number contro

2007-09-20 Thread Gunnar Ritter
M Bianchi [EMAIL PROTECTED] wrote: I think the right answer it to document what the current macro package does You seem to refer to your variant, since there are multiple current ones in existence (at least yours, Sun's, and mine). By the way, does the groff_mm documentation describe which

Re: [Groff] RE: Small bug in groff 1.19.2 footnote number contro

2007-09-17 Thread Gunnar Ritter
Keith Marshall [EMAIL PROTECTED] wrote: It's a genuine troff mm-ism. E.g. we found out about it from the book by Narain Gehani (of ATT) Document Formatting and Typesetting on the UNIX System, ISBN 0 -9615336-0-9 (highly recommended, BTW). This may establish `prior art', but it doesn't

Re: [Groff] RE: Small bug in groff 1.19.2 footnote number contro

2007-09-16 Thread Gunnar Ritter
(Ted Harding) [EMAIL PROTECTED] wrote: I don't have access to macro files for other troffs at the moment, but I've browsed around in such documentation as I can find, without seeing a reference to a number register :p in mm.

Re: [Groff] gkurz, a short introduction for german users

2007-08-27 Thread Gunnar Ritter
Werner LEMBERG [EMAIL PROTECTED] wrote: To avoid this, you need to decide what characters to use as quotes on a per-font basis. (None of the Postscript fonts I know have dedicated german quotes. Does Unicode?) Yes: U+201EDOUBLE LOW-9 QUOTATION MARK U+201FDOUBLE

Re: [Groff] German quotation marks in ms

2007-08-21 Thread Gunnar Ritter
Axel Kielhorn [EMAIL PROTECTED] wrote: Use whichever is most acceptable! There is a very slight difference between \[Bq] and ,, : to get ,, to be exactly like \[Bq] you must a) Move the first , leftwards by pointsize*0.0012 points b) Then move the second leftwards by pointsize*0.002

Re: [Groff] Groff editor.

2007-08-20 Thread Gunnar Ritter
(Ted Harding) [EMAIL PROTECTED] wrote: The loop constantly checks whether the timestamp on myfile.tr is more recent than that of myfile.watch and, if it is, then groff is run on myfile.tr to generate myfile.ps, and then a 'kill -1' is sent to 'gv' so that it re-reads myfile.ps and displays

Re: [Groff] problem with current snapshot

2007-03-19 Thread Gunnar Ritter
Werner LEMBERG [EMAIL PROTECTED] wrote: it seems not to have made it into the development snapshot dated 19-march-2007 13:08 (I downloaded that right and encounter the same problem as before). is this to be expected or is something wrong with the update of the snapshot? Those snapshots

Re: [Groff] problem with current snapshot

2007-03-19 Thread Gunnar Ritter
Joerg van den Hoff [EMAIL PROTECTED] wrote: What is the point in using a snapshot anyway? cvs update -dP working around my ignorance, of course :-). I've never used `cvs' at all, so I don't know the commands. If you don't mind: what need I to enter precisely to get the whole groff package?

Re: [Groff] problem with current snapshot

2007-03-17 Thread Gunnar Ritter
Werner LEMBERG [EMAIL PROTECTED] wrote: I'm not sure whether this classifies as a bug at all; it would take some time to rewrite troff to handle that case gracefully (and I haven't checked yet whether this is possible at all). Opinions, please. Gunnar, how does your troff behave? It prints

Re: [Groff] questions about Adding TrueType fonts to groff for PDF documents on http://www.groff-wiki.info/

2007-03-15 Thread Gunnar Ritter
Werner LEMBERG [EMAIL PROTECTED] wrote: So I want to know is it possible in these way and whether or not ps2pdf can make an cid embeded pdf file from the one produced by grops? This looks like a bug in gs -- I think if you want long enough, gs eventually finishes. Maybe you should try

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 named

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 not very sure. If

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 STXingkai ttf

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, if you

Re: [Groff] Vim/formatting question (WordPerfect files)

2007-03-13 Thread Gunnar Ritter
Clarke Echols [EMAIL PROTECTED] wrote: I have been asked to evaluate a book project with the possibility that I will be producing it for publication. The author sent me a WordPerfect file (.wpd suffix) that my Microsoft stuff won't read. OpenOffice has a WordPerfect input filter, and from

Re: [Groff] Correct protocol for making changes

2007-02-02 Thread Gunnar Ritter
Werner LEMBERG [EMAIL PROTECTED] wrote: . If you use a table within a man page, the first line should be .\ t Not exactly, it should be '\ t At least this is the convention on SunOS, and, following that, on SVR4 derivatives. (The first reference I can find is in a SunOS 4

Re: [Groff] Correct protocol for making changes

2007-02-02 Thread Gunnar Ritter
Zvezdan Petkovic [EMAIL PROTECTED] wrote: On Fri, Feb 02, 2007 at 07:44:10PM +0100, Werner LEMBERG wrote: . The proper way to write an ellipsis is `.\|.\|.\', optionally starting with `\'. Please don't omit the `\|' -- it looks quite ugly in PostScript output if the dots don't

Re: [Groff] XXX Funny movie

2007-01-26 Thread Gunnar Ritter
X-Content-Filtered-By: Mailman/MimeDel 2.1.5 This filtering component is stupid. Why doesn't it discard a message after it has deleted all content anyway? Gunnar ___ Groff mailing list Groff@gnu.org

Re: [Groff] Choosing a portability target

2007-01-12 Thread Gunnar Ritter
Werner LEMBERG [EMAIL PROTECTED] wrote: HOWEVER, if groff can be compiled and run on HP-UX, groff-oriented man pages will also need to be installed in the usual directories on HP-UX systems, and HP-UX users will expect to be able to run the man command on those pages. If groff finds

Re: [Groff] Progress report on the portability audit -- and what to do about URLs?

2007-01-10 Thread Gunnar Ritter
Eric S. Raymond [EMAIL PROTECTED] wrote: (2) Add portable implementations of .URL and .MTO to an-old.tmac That would be OK. I've written such implementations and added them, not to an-old.tmac but to the standard preamble I've developed for groff pages. (This is also where I've

Re: [Groff] Progress report on the portability audit -- and what to do about URLs?

2007-01-10 Thread Gunnar Ritter
Eric S. Raymond [EMAIL PROTECTED] wrote: Gunnar Ritter [EMAIL PROTECTED]: I've written such implementations and added them, not to an-old.tmac but to the standard preamble I've developed for groff pages. (This is also where I've defined .SY, .OP, and .YS.) In every case I've looked

Re: [Groff] Status of the portability work, and plans for the future

2007-01-09 Thread Gunnar Ritter
Eric S. Raymond [EMAIL PROTECTED] wrote: Gunnar Ritter [EMAIL PROTECTED]: Yes, and authors would also get nasty bug reports from people who compile their manual pages with the switch turned off because it is the default. This would be as bad as gcc shipping with -Wall enabled by default

Re: [Groff] Status of the portability work, and plans for the future

2007-01-09 Thread Gunnar Ritter
Eric S. Raymond [EMAIL PROTECTED] wrote: Huh? What world are you living on, Eric? In yours, people like browser windows popping up, make no use of browser tabs, and especially do not have their tabbed browser on another virtual desktop than their xterm(s)? Sounds like a strange mirror

Re: [Groff] Status of the portability work, and plans for the future

2007-01-08 Thread Gunnar Ritter
Eric S. Raymond [EMAIL PROTECTED] wrote: Gunnar seems to think UTF-8 is the right direction. Yes, with the exception of CJK writers, people all over the world seem to agree on that, and it is unlikely that anybody except those will even have the idea to write text documents like troff input in

Re: [Groff] Status of the portability work, and plans for the future

2007-01-08 Thread Gunnar Ritter
Eric S. Raymond [EMAIL PROTECTED] wrote: Maybe. But still the tools should not complain if a troff expert has decided that something is safe. And how are they going to do that? Mental telepathy? :-) As I wrote in the text following, by separating a lint (or -Wall) mode and silent regular

Re: [Groff] Status of the portability work, and plans for the future

2007-01-08 Thread Gunnar Ritter
Eric S. Raymond [EMAIL PROTECTED] wrote: Gunnar Ritter [EMAIL PROTECTED]: All I want is to avoid an incomplete hack extension to -man which seems useful just for this discussion but does not result in a general improvement. What you're likely to get is an incomplete hack extension that's

Re: [Groff] Status of the portability work, and plans for the future

2007-01-08 Thread Gunnar Ritter
Eric S. Raymond [EMAIL PROTECTED] wrote: Gunnar Ritter [EMAIL PROTECTED]: Maybe. But still the tools should not complain if a troff expert has decided that something is safe. And how are they going to do that? Mental telepathy? :-) As I wrote in the text following

Re: [Groff] Status of the portability work, and plans for the future

2007-01-07 Thread Gunnar Ritter
Eric S. Raymond [EMAIL PROTECTED] wrote: Note that .br/.nl, .ti, .ta, and .in are *not* in the portable set. These cannot be translated structurally by doclifter, and man-to-HTML translators tend to ignore them or give useless results as well. . . . I noted previously that \w is *not*

Re: [Groff] Status of the portability work, and plans for the future

2007-01-07 Thread Gunnar Ritter
Eric S. Raymond [EMAIL PROTECTED] wrote: But now you say One can safely use almost all requests if their context is pure visual nroff markup which does not hurt when omitted. You reverse the thrust of your earlier argument, and you do it in a way that makes no sense to me! It is actually

Re: [Groff] Is there an easy way to find out the width of the mo

2007-01-05 Thread Gunnar Ritter
M Bianchi [EMAIL PROTECTED] wrote: If it is always created in groff tbl(1), can we get this documented in the man page? As part of GNU TBL ENHANCEMENTS ? But \n(TW is not a GNU tbl enhancement. It has always been part of tbl and is documented in the Usage chapter of Mike Lesk's original

Re: OK [Groff] Simplifying groff documentation

2007-01-03 Thread Gunnar Ritter
Michael(tm) Smith [EMAIL PROTECTED] wrote: Eric S. Raymond [EMAIL PROTECTED], 2006-12-24 13:01 -0500: XSL-FO to troff would be far more appropriate. XSL and troff are at about the same level; thus, you wouldn't have to wire in all the policy/styling decisions you would in a DocBook-troff

Re: [Groff] ESR in manpages versus the WEB

2007-01-01 Thread Gunnar Ritter
Eric S. Raymond [EMAIL PROTECTED] wrote: I've described the two extensions I think would be merited. The sort of good-practice guidelines I nean are things like don't use troff requests outside the safe set and don't put running-text notes in a synopsis section and don't write multiple

Re: [Groff] doclifter on groffer.man

2007-01-01 Thread Gunnar Ritter
[EMAIL PROTECTED] wrote: Von: [EMAIL PROTECTED] There has never been any IETF RFP, nor ANSI/ISO/W3C committee work. Thus, there is no de jure standard here, only a de facto one. It is the GNU standard, so it is the standard in the world of free software. We spit on all commercial

Re: [Groff] doclifter on groffer.man

2007-01-01 Thread Gunnar Ritter
Larry Kollar [EMAIL PROTECTED] wrote: Reading the discussion, I feel like Bernd's objection is based on a perception that ESR wants to *replace* groff -man with DocBook, where I believe he wants to use DocBook as an *interchange* format for all system documentation. But this is not

Re: [Groff] Third-party viewers, KDE, and the portable set

2007-01-01 Thread Gunnar Ritter
Eric S. Raymond [EMAIL PROTECTED] wrote: Gunnar, you could help by reporting which requests Heirloom Troff Heirloom troff supports almost all groff requests; a complete list is in http://heirloom.sourceforge.net/doctools/troff.pdf. The exceptions are mainly in areas which are irrelevant in the

Re: [Groff] Simplifying groff documentation

2006-12-31 Thread Gunnar Ritter
Eric S. Raymond [EMAIL PROTECTED] wrote: Ralph Corderoy [EMAIL PROTECTED]: Will /usr/share/man still have roff man pages as well as the HTML conversion? Probably. But is likely that man will at some point start presenting through the browser by default if you have a BROWSER variable

Re: [Groff] ESR in manpages versus the WEB

2006-12-30 Thread Gunnar Ritter
mhobgood [EMAIL PROTECTED] wrote: It's the 21st century, all the documentation on my system ought to present as a hypertexted local Web through my browser. Subject two. That is your personal preference. Myself, I'm quite happy to use other forms for documentation; forms that do not

Re: [Groff] The case against the case against .EX/.EE .DS/.DE

2006-12-29 Thread Gunnar Ritter
Werner LEMBERG [EMAIL PROTECTED] wrote: I tend to advocate the use of .DS/.DE, .TQ, .EX/.EE, .SY, .OP, and probably other nifty things to be used within man pages, *together* with its macro definitions in the preamble. This gives us both a decent markup and backwards compatibility. This is

Re: [Groff] The case against the case against .EX/.EE .DS/.DE

2006-12-29 Thread Gunnar Ritter
Werner LEMBERG [EMAIL PROTECTED] wrote: http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap12.html However, those rules are not really helpful IMHO in our discussion how such macros should look like. It gives an overview about the types of arguments that need to be handled by

Re: [Groff] The case against the case against .EX/.EE .DS/.DE

2006-12-28 Thread Gunnar Ritter
Eric S. Raymond [EMAIL PROTECTED] wrote: An examination of the CSRG archives shows that .Ds had been defined in -mdoc as a filled block display in 4.3BSD-Reno, but was deleted with 4.4BSD. Which DocBook tag should correspond to .DS? A *filled* block display? Not really. I have

Re: [Groff] The case against the case against .EX/.EE .DS/.DE

2006-12-28 Thread Gunnar Ritter
Eric S. Raymond [EMAIL PROTECTED] wrote: I have since written a little tool called 'mangrep' that recurses zgrep -l over the manual tree. Heirloom Toolchest grep -rz :-) It shows me that in my corpus, DS is in these 21 files: Okay, so this effectively means that two people assume .DS

Re: [Groff] Simplifying groff documentation

2006-12-27 Thread Gunnar Ritter
Eric S. Raymond [EMAIL PROTECTED] wrote: Werner LEMBERG [EMAIL PROTECTED]: I think it might not be a bad idea for troff to throw warnings when a man page uses a troff request outside the safe set. Note that I am *not* recommending this measure for troff documents other than man

Re: [Groff] Re: Simplifying groff documentation

2006-12-27 Thread Gunnar Ritter
Werner LEMBERG [EMAIL PROTECTED] wrote: It seems that we can do a decent job by adding a small set of additional macros to man; this would have the benefit of getting a clear conversion with doclifter, and a standardized interface for future man pages (which current ones might adopt also).

Re: [Groff] Re: Simplifying groff documentation

2006-12-26 Thread Gunnar Ritter
Eric S. Raymond [EMAIL PROTECTED] wrote: Gunnar Ritter [EMAIL PROTECTED]: Real *roff is hardly the problem since it has supported the two-character requests (except .do) for more than thirty years now. The issues are with scripts that convert manual pages or build indexes for them

Re: [Groff] Re: Simplifying groff documentation

2006-12-26 Thread Gunnar Ritter
Eric S. Raymond [EMAIL PROTECTED] wrote: Gunnar Ritter [EMAIL PROTECTED]: I have often used .in (and seen it used) in a context like informalexample. Looking at a few pages, it seems that others have used .ti similarly. Can you send me an example? This is from mush(1), July 17, 1996

Re: [Groff] Re: Simplifying groff documentation

2006-12-26 Thread Gunnar Ritter
Eric S. Raymond [EMAIL PROTECTED] wrote: See my long reply to Larry Kollar. It's not clear to me that anything interesting can be deduced here, but I'm open to suggestions. What kind of semantic-level tagging could we use in this situation? Would blockquote be the right thing here?

Re: [Groff] Simplifying groff documentation

2006-12-24 Thread Gunnar Ritter
Werner LEMBERG [EMAIL PROTECTED] wrote: I would claim it is. The groff manual pages also cannot be displayed properly by other manual page viewers. There are some glitches even with Heirloom troff; although it can handle the language, some groff-specific macros do not exist in its

Re: OK [Groff] Simplifying groff documentation

2006-12-24 Thread Gunnar Ritter
M Bianchi [EMAIL PROTECTED] wrote: +-+ ++ | man pages |-+ +---| HTML on browsers | +-+ | / ++ |

Re: [Groff] Tweaking font metrics

2006-10-22 Thread Gunnar Ritter
(Ted Harding) [EMAIL PROTECTED] wrote: In other words, .kp Font c1 d1 n1 c2 d2 n2 ... would extend the kern-pair table for font Font by the lines I have introduced a .kernpair in Heirloom troff. It is similar to your proposed groff request but also allows to specify different fonts for

Re: [Groff] OpenDocument to troff converter

2006-10-12 Thread Gunnar Ritter
Larry Kollar [EMAIL PROTECTED] wrote: This sounds extremely promising. I haven't had a look (yet), but if it works as advertised, it would be a great way to rescue documents from MS Word since OOo does a pretty good job of reading them (indeed, I've seen it do better than Word with

[Groff] OpenDocument to troff converter

2006-10-10 Thread Gunnar Ritter
Hi, I announce the availability of an import filter to convert OpenDocument files to troff input. I have released it as part of my Heirloom Documentation Tools package, but since it is not actually specific to a troff variant, it may be useful with groff as well. As most of you probably know,

Re: \s[-\n(.s] and \s-\n(.s inconsistent

2006-09-09 Thread Gunnar Ritter
Werner LEMBERG [EMAIL PROTECTED] wrote: At the same time, I've disallowed `\s-[-...]' and friends. Why? Their previous behavior was just fine mathematically. Gunnar ___ bug-groff mailing list bug-groff@gnu.org

Re: \s[-\n(.s] and \s-\n(.s inconsistent

2006-09-09 Thread Gunnar Ritter
Werner LEMBERG [EMAIL PROTECTED] wrote: At the same time, I've disallowed `\s-[-...]' and friends. Why? Their previous behavior was just fine mathematically. First of all, it isn't documented. Yes it is: \s+[N] ... N is a numeric expression. Note that you are now also disallowing code

Re: [Groff] Cosmetic filling

2006-09-05 Thread Gunnar Ritter
(Ted Harding) [EMAIL PROTECTED] wrote: On 03-Sep-06 Gunnar Ritter wrote: .ds a \ \h'-1u' .ll \w'some\*a text and a \(br'u some\*a text and a \(br some text and a \(br (The box rules should not align.) Gunnar That's an interesting comment. I've tried tracing

Re: [Groff] Cosmetic filling

2006-09-05 Thread Gunnar Ritter
(Ted Harding) [EMAIL PROTECTED] wrote: length is pointsize/2 (or 0.5m). And, for what it is worth, I'm using the defaults for \n[.ss] and \n[.sss], namely 12/36m. Just to clarify this: 12/36m was the size of the space character in CAT troff. ditroff and groff include the size of the space

Re: [Groff] Cosmetic filling

2006-09-03 Thread Gunnar Ritter
Werner LEMBERG [EMAIL PROTECTED] wrote: I haven't found out yet the cause of this behaviour; I invite you to use a debugger so that you can find the relevant spot. :-) The problem is in environment::do_break() after the comment this is so that hyphenation works. A zero-length space is added,

Re: [Groff] Cosmetic filling

2006-08-31 Thread Gunnar Ritter
(Ted Harding) [EMAIL PROTECTED] wrote: 1. I'm not aware of a simple mechanism in groff to do this -- e.g. fill all lines whose minimum formatted length is within X of line-length. ATT troff has a \n(.x register which holds the remaining horizontal space on the current output line. Thus

Re: [Groff] Cosmetic filling

2006-08-31 Thread Gunnar Ritter
(Ted Harding) [EMAIL PROTECTED] wrote: 2. \[.rl] of course does not exist so would get value 0 if invoked. The following works with groff: .de SP . if (\\n(.k+\\n[.in])=(\\n(.l-1n-\w' ') .brp . sp .. Note that there is an incompatibility between ATT troff and groff here: ATT

[Groff] groff compatibility in Heirloom troff

2006-08-13 Thread Gunnar Ritter
Hi, I am pleased to announce the availability of a groff compatibility mode and macro set in Heirloom troff http://heirloom.sourceforge.net/doctools.html. In this mode, Heirloom troff is currently able to - interpret output from GNU tbl, eqn, and pic - use the -ms macros from groff - format