Re: "transparent" output and throughput, demystified

2024-09-05 Thread G. Branden Robinson
Hi Deri, At 2024-09-05T20:31:55+0100, Deri wrote: > On Thursday, 5 September 2024 04:15:44 BST G. Branden Robinson wrote: > > At 2024-09-04T15:05:38-0500, Dave Kemper wrote: > > > On Wed, Sep 4, 2024 at 11:04 AM Deri > > > wrote: > > > > The example using \[u012F] is superior (in my opinion) beca

Re: drawing requests following the line

2024-09-05 Thread Peter Schaffter
Deri -- On Thu, Sep 05, 2024, Deri wrote: > Hi Peter, > > There is a way for -Tpdf, I just have not written it yet! When I do, you get > text hi-light, score through, and squiggly line as a bonus, they are all > related. Gropdf to the rescue. -- Peter Schaffter https://www.schaffter.ca

Re: drawing requests following the line

2024-09-05 Thread Dave Kemper
On Thu, Sep 5, 2024 at 4:06 PM Peter Schaffter wrote: > there being no meaningful .cu available for PostScript or PDF > output. (Should we raise this issue again? Nothing ever seems to > get done no matter how much we discuss it.) It has a Savannah ticket, opened in response to a 2014 thread on

Re: drawing requests following the line

2024-09-05 Thread G. Branden Robinson
Hi Tadziu, At 2024-09-06T00:13:15+0200, Tadziu Hoffmann wrote: > > (Should we raise this issue again? Nothing ever seems to > > get done no matter how much we discuss it.) > > I think this is because it's not really something that many > users badly require. (I certainly don't.) > > Continuous

Re: drawing requests following the line

2024-09-05 Thread Tadziu Hoffmann
> (Should we raise this issue again? Nothing ever seems to > get done no matter how much we discuss it.) I think this is because it's not really something that many users badly require. (I certainly don't.) Continuous underlining can probably only be done well by treating it as a character a

Re: drawing requests following the line

2024-09-05 Thread Deri
On Thursday, 5 September 2024 21:33:44 BST Peter Schaffter wrote: > On Thu, Sep 05, 2024, Deri wrote: > > I believe the mom macro set has an UNDERLINE macro see:- > > > > https://www.schaffter.ca/mom/momdoc/goodies.html#underline > > > > Note that it can only be used by -Tps (not -Tpdf). I think

Re: drawing requests following the line

2024-09-05 Thread Peter Schaffter
On Thu, Sep 05, 2024, Deri wrote: > I believe the mom macro set has an UNDERLINE macro see:- > > https://www.schaffter.ca/mom/momdoc/goodies.html#underline > > Note that it can only be used by -Tps (not -Tpdf). I think it is using a > postscript snippet from Tadziu. Correct on both counts. Not

Re: drawing requests following the line

2024-09-05 Thread Deri
On Thursday, 5 September 2024 02:25:56 BST Philippe PITTOLI via wrote: > Hello, > > I've a question regarding drawing requests. > > I would like for example to underline or highlight some text even > when it is spanning over multiple lines (or pages). Thus, I suppose > the best way would be to p

Re: "transparent" output and throughput, demystified

2024-09-05 Thread Deri
On Thursday, 5 September 2024 04:15:44 BST G. Branden Robinson wrote: > [fair warning: _gigantic_ message, 5.7k words] > Hi Deri & Dave, Hi Branden, > I'll quote Dave first since his message was brief and permits me to make > a concession early. > > At 2024-09-04T15:05:38-0500, Dave Kemper wro

Re: .CW usage by a new user

2024-09-05 Thread Tadziu Hoffmann
> I am translating to Spanish the book "Introduction to the command line" > Attached is an image showing that I made it. In your case you are intending those double quotes to directly become characters in the output (as opposed to them being used internally as delimiters for macro arguments). I

Re: .CW usage by a new user

2024-09-05 Thread Russ Allbery
"isf (Jordán)" writes: > Thanks, but what if I want do something like this: > .CW "$ echo "foobar"" > Because the output is something like this: > bar"$ echo foo > When I want something like this in the PDF. > $ echo "foobar" It may help to go through this step by step, or at least

Re: .CW usage by a new user

2024-09-05 Thread Jordán
En 5/9/2024 12:17, Russ Allbery escribió: > You need three quotes, not two. Semantically, the whole macro argument is > enclosed in double quotes, and then the double quotes within that > double-quoted string have to be escaped, which *roff does by doubling > them. So: > > .CW """$ echo foob

Re: .CW usage by a new user

2024-09-05 Thread Russ Allbery
"isf (Jordán)" writes: > Thats literally what Im trying and the output is something like this: > Input: > .CW ""$ echo foobar"" > Ouput: > echo$ You need three quotes, not two. Semantically, the whole macro argument is enclosed in double quotes, and then the double quotes within that doub

Re: .CW usage by a new user

2024-09-05 Thread Jordán
En 5/9/2024 07:44, Lennart Jablonka escribió: > The most direct way to pass ASCII double quotes as arguments is to > quote the argument and double the quotes to pass. > > .CW """test""" > > But I guess that could be problematic if the macro passes the > argument on to another macro. Thats lite

Re: .CW usage by a new user

2024-09-05 Thread Damian McGuckin
On Thu, 5 Sep 2024, Tadziu Hoffmann wrote: .CW "this phrase is spicy with \[lq]Courier\[rq] powder" . Also, within a double-quoted request or macro argument, you can use a double double-quote to get a single double-quote in the argument: .CW "| ` ' \[aq] \[lq] \[rq] \[dq] "" |" but you'll o

Re: .CW usage by a new user

2024-09-05 Thread Tadziu Hoffmann
> .CW "this phrase is spicy with \[lq]Courier\[rq] powder" . Also, within a double-quoted request or macro argument, you can use a double double-quote to get a single double-quote in the argument: .CW "| ` ' \[aq] \[lq] \[rq] \[dq] "" |" but you'll only need this if you're typesetting comput

Re: .CW usage by a new user

2024-09-05 Thread Lennart Jablonka
>I am using the MS macro in groff and with the .CW I saw that I could not >add a phrase with quotes, well I could write .CW “test” but I can't do >something like: .CW “”test“” what should I do so that the quotes can be >seen with .CW? The most direct way to pass ASCII double quotes as arguments is

Re: .CW usage by a new user

2024-09-05 Thread G. Branden Robinson
[self-follow-up] At 2024-09-05T02:34:54-0500, G. Branden Robinson wrote: > Hi Jordán, Whoops, I was doofus and...left out the quotation marks. See if you like this better. $ nroff -ms < signature.asc Description: PGP signature

Re: .CW usage by a new user

2024-09-05 Thread G. Branden Robinson
Hi Jordán, At 2024-09-04T21:46:28-0400, isf (Jordán) wrote: > I am using the MS macro in groff and with the .CW I saw that I could > not add a phrase with quotes, well I could write .CW “test” but I > can't do something like: .CW “”test“” what should I do so that the > quotes can be seen with .CW?

Re: drawing requests following the line

2024-09-05 Thread G. Branden Robinson
Hi Philippe, At 2024-09-05T03:25:56+0200, Philippe PITTOLI via wrote: > I've a question regarding drawing requests. > > I would like for example to underline or highlight some text even > when it is spanning over multiple lines (or pages). Thus, I suppose > the best way would be to perform a dra