[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Novel use of .char
From: |
Tadziu Hoffmann |
Subject: |
Re: Novel use of .char |
Date: |
Wed, 18 Dec 2024 13:36:13 +0100 |
User-agent: |
Mutt/1.11.4 (2019-03-13) |
> I wrote "pdf: pdfpic" to mimic the behaviour of .PSPIC,
> render image down from current point, [...]
> The above difference means this works for pdf:-
>
> .char \[gnu] \v'-9p'\X'pdf: pdfpic GNU-head-small.pdf -L 10p'\h'10p'
> A GNU head \[gnu] image.
Thanks for the feedback! This solution is perfectly workable.
However, I had to change the -9p to -8.8p (which is the
aspect ratio of the image times 10p) to get the baseline of
the text to the right of the image to be aligned with the
text on the left.
Interestingly, I also get a vertical shift if I wrap the sequence
\v'...'\X'...' in \Z'...' which is supposed to restore the
horizontal and vertical position after outputting the contents.
Does that mean that the pdfpic special does not restore the
graphics state (with q/Q) after inserting the image file?
In that case there might be a discrepancy between what troff
and gropdf consider to be the current output position.
- Re: Novel use of .char, (continued)
- Re: Novel use of .char, Deri, 2024/12/15
- Re: Novel use of .char, G. Branden Robinson, 2024/12/15
- Re: Novel use of .char, Deri, 2024/12/16
- Re: Novel use of .char, G. Branden Robinson, 2024/12/17
- Re: Novel use of .char, Peter Schaffter, 2024/12/17
- Re: Novel use of .char, G. Branden Robinson, 2024/12/17
- Re: Novel use of .char, Peter Schaffter, 2024/12/17
- Re: Novel use of .char, Tadziu Hoffmann, 2024/12/17
- Re: Novel use of .char, Peter Schaffter, 2024/12/17
- Re: Novel use of .char, Deri, 2024/12/18
- Re: Novel use of .char,
Tadziu Hoffmann <=
- Re: Novel use of .char, Deri, 2024/12/18
- "pdf: pdfpic" and "pdf: import" (was: Novel use of .char), G. Branden Robinson, 2024/12/18
- Re: "pdf: pdfpic" and "pdf: import" (was: Novel use of .char), Deri, 2024/12/18
- Re: "pdf: pdfpic" and "pdf: import" (was: Novel use of .char), G. Branden Robinson, 2024/12/18
- Re: Novel use of .char, Tadziu Hoffmann, 2024/12/17
- Re: Novel use of .char, G. Branden Robinson, 2024/12/17
- Re: Novel use of .char, Deri, 2024/12/17
- synchronous and asynchronous grout (was: Novel use of .char), G. Branden Robinson, 2024/12/17
- Re: synchronous and asynchronous grout (was: Novel use of .char), Deri, 2024/12/18
- Re: synchronous and asynchronous grout (was: Novel use of .char), G. Branden Robinson, 2024/12/18