Re: Creating macro for inline placement of pdf images

2022-11-15 Thread hbezemer--- via
Dear Peter, Thank you for your eloborate answer. I will look into it and give a heads up when I got it working. Regards! Hans Peter Schaffter wrote: > Hans -- > > > What would be the best approach to create a macro which inserts a > > image inline? > > I field this question a lot from mom u

Re: Putting hyperlinks in a PDF document

2022-11-15 Thread Blake McBride
I'm sorry. I worded the problem poorly. -P-l (landscape) works fine. No problem there. It prints in landscape. The problem is, when I use -P-l it kills the hyperlink code you gave me. So, -P-l changes the document from portrait to landscape as expected. But the hyperlink code no longer works

Re: sizeof in Macros. (Was: Specifying dependencies more clearly)

2022-11-15 Thread Alejandro Colomar
Hi Ralph, As you noticed, if you don't address me in To or Cc, I may not notice the email. I try to, but sometimes I miss it. Sorry. On 11/10/22 10:31, Ralph Corderoy wrote: Howdy Alejandro, Okay, here we go for a rant. Consider the cost of lost opportunities. Since I wrote the code f

Re: Putting hyperlinks in a PDF document

2022-11-15 Thread Deri
On Tuesday, 15 November 2022 12:53:15 GMT Blake McBride wrote: > I'm sorry. I worded the problem poorly. > > -P-l (landscape) works fine. No problem there. It prints in landscape. > > The problem is, when I use -P-l it kills the hyperlink code you gave me. > > So, -P-l changes the document fr

Re: C Strings and String Literals.

2022-11-15 Thread Alejandro Colomar
Hi Ralph, On 11/14/22 14:56, Ralph Corderoy wrote: Hi Alejandro, C doesn't _really_ have strings, except at the library level. It has character arrays and one grain of syntactic sugar for encoding "string literals", which should not have been called that because whether they get the null termi

Re: Putting hyperlinks in a PDF document

2022-11-15 Thread G. Branden Robinson
At 2022-11-15T06:53:15-0600, Blake McBride wrote: > I'm sorry. I worded the problem poorly. > > -P-l (landscape) works fine. No problem there. It prints in > landscape. > > The problem is, when I use -P-l it kills the hyperlink code you gave > me. Oh, that's bizarre. I noticed the link text

AW: Putting hyperlinks in a PDF document

2022-11-15 Thread Oliver Corff
Hi Blake, Without access to a Unix box to try the example I can imagine that the link is still ‎there, but transposed so that it does not match with the link text. Can you try to click into the white area of the page and search for a clickable region at a position where the link would be withou

Re: Putting hyperlinks in a PDF document

2022-11-15 Thread G. Branden Robinson
[adding Peter for a mom question] Hi Deri, At 2022-11-15T13:43:49+, Deri wrote: > It's a bug, try this work-around:- > > groff -Tpdf -mm -dpaper=letterl -rW=9i hyperlink.mm -P-p8.5i,11i > \ > hyperlink.pdf Interesting! Any idea what's going on here with the changed page dimensions making

Re: Putting hyperlinks in a PDF document

2022-11-15 Thread Deri
On Tuesday, 15 November 2022 14:37:20 GMT G. Branden Robinson wrote: > [adding Peter for a mom question] > > Hi Deri, > > At 2022-11-15T13:43:49+, Deri wrote: > > It's a bug, try this work-around:- > > > > groff -Tpdf -mm -dpaper=letterl -rW=9i hyperlink.mm -P-p8.5i,11i > \ > > > > hyperl

Re: Putting hyperlinks in a PDF document

2022-11-15 Thread G. Branden Robinson
At 2022-11-15T18:35:35+, Deri wrote: > Incidentally using \X'papersize ..." you can mix portrait and > landscape in the same document. It's a shame that gropdf(1) is the only output driver that recognizes this device control command. Like hyperlinks, it's a feature that seems to want increase

man(7): .TP: Change minimum distance between tag and paragraph from 1 to 2 (subjective)

2022-11-15 Thread Alejandro Colomar
Hi Branden, I had this discussion today: Tagged paragraphs leave a minimum of a single space betweeen the tag and the paragraph. In some cases, where the tag can be continuated in the same line by the paragraph as a sentence, it feels a bit confusing, and feels like there's a missing line br

Re: C Strings and String Literals.

2022-11-15 Thread Alejandro Colomar
Hi Ralph, On 11/15/22 14:48, Alejandro Colomar wrote: Here's a compiler which has been told I want C11. You told it you want C11. $ gcc -std=c11 -c str.c But you didn't tell it to warn about non-conforming code. Moreover, you asked it to warn about things that may or may not have an

Re: Putting hyperlinks in a PDF document

2022-11-15 Thread Deri
On Tuesday, 15 November 2022 19:21:05 GMT G. Branden Robinson wrote: > At 2022-11-15T18:35:35+, Deri wrote: > > Incidentally using \X'papersize ..." you can mix portrait and > > landscape in the same document. > > It's a shame that gropdf(1) is the only output driver that recognizes > this dev

Re: Putting hyperlinks in a PDF document

2022-11-15 Thread G. Branden Robinson
Hi Deri, At 2022-11-15T23:20:49+, Deri wrote: > On Tuesday, 15 November 2022 19:21:05 GMT G. Branden Robinson wrote: > > At 2022-11-15T18:35:35+, Deri wrote: > > > Incidentally using \X'papersize ..." you can mix portrait and > > > landscape in the same document. > > > > It's a shame that