Re: Fw: [Groff] Underlining in groff

2010-08-31 Thread Peter Schaffter
On Tue, Aug 31, 2010, Werner Lemberg wrote: > Peter, what image support has mom? Postscript only, via PSPIC. There's no special image handling in mom. > On an unrelated note, there's another thing I can't seem to figure > out how to do, and that is to insert a full-page illustration in > the mi

Fw: [Groff] Underlining in groff

2010-08-31 Thread Werner LEMBERG
[Samuel, please address further question to our mailing list!] Peter, what image support has mom? Werner --- Begin Message --- Wow, this is terrific. Thanks! On an unrelated note, there's another thing I can't seem to figure out how to do, and that is to insert a full-page illustration in

Re: [Groff] Underlining in groff

2010-08-27 Thread Werner LEMBERG
>> You can't. I've thus defined a new macro `Underline1' which >> handles trailing punctuation. > > In that sort of situation, it usually works to us "\c" to eliminate > extra space introduced by the line break. I haven't analyzed in detail why it fails... > This word is > .Underline1 underline

Re: [Groff] Underlining in groff

2010-08-26 Thread Ted Harding
On 26-Aug-10 13:18:06, Werner LEMBERG wrote: > > [Talking about ul.tmac] > >> The first problem I'm having is that I can't seem to avoid having >> spaces around my underlined material. For example: >> >> This word is >> .Underline underlined >> ! >> >> This will cause a space to appear between

Re: [Groff] Underlining in groff

2010-08-26 Thread Werner LEMBERG
[Talking about ul.tmac] > The first problem I'm having is that I can't seem to avoid having > spaces around my underlined material. For example: > > This word is > .Underline underlined > ! > > This will cause a space to appear between the word "underlined" and > the "!" Do you know of a way

Re: [Groff] Underlining in groff

2009-08-01 Thread Blake McBride
Yes, this does work. Thank you very much!! Blake McBride On Fri, Jul 31, 2009 at 5:26 AM, Werner LEMBERG wrote: > > > I think this is the solution to go, and I'll implement it if I have > > time: Use an ms-like underlining macro if either .ce or .rj is > > active. > > Please try the attached

Re: [Groff] Underlining in groff

2009-08-01 Thread Peter Schaffter
On Fri, Jul 31, 2009, Werner Lemberg wrote: > > I don't suppose there's any chance of underlining for the PostScript > > device being implemented in groff itself, is there? Sure would make > > things a lot easier. > > Please make suggestions how this could work. I need a solution which > can be

Re: [Groff] Underlining in groff

2009-07-31 Thread Werner LEMBERG
> I think this is the solution to go, and I'll implement it if I have > time: Use an ms-like underlining macro if either .ce or .rj is > active. Please try the attached version: .ce and .rj should now work as expected. Werner .\" ul.tmac .\" .\" Copyright (C) 2003, 2004, 2009 Free Software

Re: [Groff] Underlining in groff

2009-07-30 Thread Werner LEMBERG
> I remember being daunted when I first approached the issue of > underscoring text. For such a basic typesetting function, it seemed > horribly kludgy to implement, especially since there are those > tantalizing .ul and .cu requests for TTY output. Unfortunately, .cu doesn't work reliably if you

Re: [Groff] Underlining in groff

2009-07-30 Thread Werner LEMBERG
Sorry for the late reply. >> [...] if I do: >> >> .so ul.tmac >> .ce 1 >> .Underline "Executive Summary" >> >> It correctly centers the text but the entire line is underlined >> instead of just the "Executive Summary". Indeed, this somehow escaped my tests. You get the same `bad'

Re: [Groff] Underlining in groff

2009-07-30 Thread Steve Izma
On Thu, Jul 30, 2009 at 09:51:12PM -0400, Peter Schaffter wrote: > Subject: Re: [Groff] Underlining in groff > > ... I don't suppose > there's any chance of underlining for the PostScript device being > implemented in groff itself, is there? Sure would make things a lo

Re: [Groff] Underlining in groff

2009-07-30 Thread Peter Schaffter
On Thu, Jul 30, 2009, Blake McBride wrote: > That kind-of works but I have two problems with it. > > 1. What if I'd rather use MM or MOM? > > 2. The underline is way too far below the line. If you try underlining a > word within a paragraph it almost looks like a line in the middle of two > te

Re: [Groff] Underlining in groff

2009-07-30 Thread Ted Harding
On 30-Jul-09 14:24:39, Blake McBride wrote: > That kind-of works but I have two problems with it. > > 1. What if I'd rather use MM or MOM? > > 2. The underline is way too far below the line. If you try > underlining a word within a paragraph it almost looks like a line > in the middle of two t

Re: [Groff] Underlining in groff

2009-07-30 Thread Blake McBride
That kind-of works but I have two problems with it. 1. What if I'd rather use MM or MOM? 2. The underline is way too far below the line. If you try underlining a word within a paragraph it almost looks like a line in the middle of two text lines. It's is terrible. Basically, the bottom of a

Re: [Groff] Underlining in groff

2009-07-10 Thread Heinz-Jürgen Oertel
Am Freitag, 10. Juli 2009 schrieb Blake McBride: > Greetings, > > I know about troff using italics, and nroff using underlines, but I want to > do underlines in groff (troff mode) too. I searched the net and found the > ul.tmac (by Werner LEMBERG, version 1.0, 12/18/03). It partially works but >

[Groff] Underlining in groff

2009-07-09 Thread Blake McBride
Greetings, I know about troff using italics, and nroff using underlines, but I want to do underlines in groff (troff mode) too. I searched the net and found the ul.tmac (by Werner LEMBERG, version 1.0, 12/18/03). It partially works but not well enough for me. See: http://osdir.com/ml/printing.