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

Re: drawing requests following the line

2024-09-05 Thread Deri
gt; > Any tips or alternative solutions? > > Thanks and have a great day! Hi Philippe, 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. Cheers Deri

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-04

Re: "transparent" output and throughput, demystified

2024-09-04 Thread Deri
On Sunday, 1 September 2024 06:09:17 BST G. Branden Robinson wrote: > Hi Deri, > > At 2024-08-31T17:07:28+0100, Deri wrote: > > On Saturday, 31 August 2024 00:07:57 BST G. Branden Robinson wrote: > [fixing two of my own typos and one wordo in the following] > > >

Re: "transparent" output and throughput, demystified

2024-08-31 Thread Deri
st like you I would like to avoid "round-tripping", utf16 (preconv) -> decomposed (troff) -> utf16 (gropdf). This does not currently affect grops which does not support anything beyond 8bit ascii. Do you agree it makes more sense for \X to pass \[u012F] rather than \[u0069_0328]? Cheers Deri

Re: PDFPIC issues

2024-08-25 Thread Deri
On Friday, 23 August 2024 01:32:39 BST Deri wrote: > The > difference is that version 7 returns this layer as all 255, and version 6.9 > returns it as all zeroes. Which means that although the png is embedded you > still can't see it because the whole image is transparent! >

Re: PDFPIC issues

2024-08-22 Thread Deri
e it because the whole image is transparent! My investigation continues. Cheers Deri

Re: PDFPIC issues

2024-08-22 Thread Deri
On Thursday, 22 August 2024 15:24:17 BST Deri wrote: > Hi Peter, I have just discovered that debian have at last (yesterday!) got version 7 of ImageMagick, but it is currently in the "experimental" repository:- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929825#46 I'd

Re: Milestone reached: hyperlinked mdoc(7) documents in PDF

2024-03-22 Thread Deri
On Friday, 22 March 2024 16:59:14 GMT Alejandro Colomar wrote: > ow, how am I supposed to > get that patch without anyone tampering it during its trip to my > computer? :( derij@ws:~$ md5sum /var/www/chinese.patch.gz 109e2681b7402ca55118226aa575b6d3 /var/www/chinese.patch.gz

Tears in my eyes, joy in my heart (was: gropdf-ng merge status (was: PDF outline not capturing Cyrillic text))

2024-02-07 Thread Deri
it, I love her.)), it is now 17:45 and I'm starting to get excited this is my last monster typing marathon, and I say farewell to the lovely people on the list, I shall be clocking off the list probably tomorrow, I can't say I won't be back at some point, but I definitely need a good 6 months at least. You have warn me out Branden, you should have agreed to video calls when I suggested it. :-) Cheers Deri x

Re: PDF outline not capturing Cyrillic text

2024-02-07 Thread Deri
ill be some sad news later. :- ( I wonder if you could send me a small example of .pdfhref L missing letters and the command you are using, I don't need the whole thesis, I would not understand it. Cheers Deri

Re: gropdf-ng merge status (was: PDF outline not capturing Cyrillic text)

2024-02-06 Thread Deri
On Tuesday, 6 February 2024 14:45:59 GMT G. Branden Robinson wrote: > Hi Deri, > > Now _does_ seem to be a good time to catch up on gropdf-ng merge status. > There were two things I knew were still unmerged: the slanted symbol > (SS) font support and the stringhex business, w

Re: Configuring groff 1.23.0 on Fedora 39 fails to find the URW base 35 fonts

2024-02-05 Thread Deri
gt; > /usr/local/share/fonts/ghostscript/" > > No, none of those directories exist. > > However, /usr/share/fonts/urw-base35 does exist and does contain .afm files. Hi, Have you tried running configure with the flag:- --with-urw-fonts-dir=/usr/share/fonts/urw-base35 Cheers Deri

Re: Ornamented Page Borders

2024-02-02 Thread Deri
be required for multi-page documents, possibly hooking in to NEWPAGE as well. You can run the example like this:- groff -Tpdf -mom -k -P-pa4 ornmom.tr /usr/share/doc/groff-1.23.0/examples/mom/ letter.mom > letter.pdf The document, including the letter, is now 6.3kb. Cheers Deri .ig groff -T

Re: Milestone reached: hyperlinked man(7) documents in PDF

2024-02-01 Thread Deri
On Thursday, 1 February 2024 20:58:09 GMT G. Branden Robinson wrote: > At 2024-01-31T13:19:18+0000, Deri wrote: > > Oops, did not mean to send that, although it does show okular working > > properly with an .MT link. > > I concur. It seems to only go wrong if the hotspots a

Re: Milestone reached: hyperlinked man(7) documents in PDF

2024-01-31 Thread Deri
On Wednesday, 31 January 2024 13:02:57 GMT Deri wrote: > On Wednesday, 31 January 2024 05:10:21 GMT G. Branden Robinson wrote: > > Hi folks, > > > > In a frenzy of activity over the past few days Deri and I have landed > > everything necessary to bring full hyperlink

Re: [groff] 02/14: [man]: Warn on bad MT/ME/UR/UE nesting.

2024-01-30 Thread Deri
Seems to work, in this instance, but perhaps there is a better way. Cheers Deri

Re: Proposed: make \X read its argument in copy mode

2024-01-23 Thread Deri
3. The opposite problem is of greater interest to practical users: > _embedding_ newlines inside device control commands. \X didn't > support that anyway, neither in DWB troff nor groff.[2] Hi Branden, Just to be sure, can you confirm your intention is to return .device to its 1.23.0 state, and mirror that behaviour for \X, so we will have no more red seepage. Cheers Deri

Re: Tibetan fonts

2024-01-21 Thread Deri
ollow to make it happen. > > > > > > Regards, > > Tom > Hi Tom, Using the font suggested by Oliver (after installing it with Peter Schafter's install-font.sh script) and using the latest unicode aware pdf generation version of groff (awaiting release by Branden),

Re: Proposed: make \X read its argument in copy mode

2024-01-20 Thread Deri
On Saturday, 20 January 2024 00:56:34 GMT G. Branden Robinson wrote: > Hi Deri, > > At 2024-01-20T00:07:21+0000, Deri wrote: > > On Friday, 19 January 2024 21:39:57 GMT G. Branden Robinson wrote: > > > Right. Before I craft a lengthy response to this--did you see the >

Re: Proposed: make \X read its argument in copy mode

2024-01-20 Thread Deri
ax, I think.) > > ...and it getting called by some other macro encoding the argument... > > .de pdflink > . ds pdf*input \\$*\" > . encode pdf*input \" performs magic transformation, like "stringhex" > . pdfmark2 \\*[pdf*input] > .. > > ...and

Re: Proposed: make \X read its argument in copy mode

2024-01-19 Thread Deri
On Friday, 19 January 2024 21:39:57 GMT G. Branden Robinson wrote: > Hi Deri, > > At 2024-01-19T21:16:54+0000, Deri wrote: > > On Tuesday, 16 January 2024 19:22:48 GMT G. Branden Robinson wrote: > > > Or: Should device control commands affect the environment? > > &

Re: Proposed: make \X read its argument in copy mode

2024-01-19 Thread Deri
sage to device control commands" shows you understand the necessity of having the ability to pass all unicode and other characters to postprocessors and are aware that .device was already capable of doing that, I have no objection to you extending this capability to \X if that is your wont, but the current state of master is the opposite. Cheers Deri

Re: the 'SS' (slanted symbol) font (was: Original print of V7 manual? / My own version of troff)

2024-01-12 Thread Deri
ace looks very nice. > > I did the color coding by inserting color commands into > the intermediate output wherever a font change occurred. Brilliant, I wish I had thought of doing that, much easier after I wrote a little perl script. I ran it again with your suggestion, setting the greek

Re: the 'SS' (slanted symbol) font (was: Original print of V7 manual? / My own version of troff)

2024-01-10 Thread Deri
(computer/monospaced) > > > 6-9: SS, S, ZD, ZDR (special) > > > > Heavens no! "CW" is a System-V-ism. We have CR, CI, CB, and CBI. > > Yes, but it explains why there are 5 empty positions in the > "fonts" declaration before SS, S, ZD, and ZDR. :-) Hi Tadziu, For people producing greek documents who wish to use eqn, I did some testing, using the Tinos family of fonts (R, I, B, BI) which include greek glyphs and SS font for gropdf. The attached pdf shows the results with the different fonts colour coded. If you want to see the slanted versions for alpha and beta, it is best to set the family to T and select TinosR as the main font. Cheers Deri eqn.pdf Description: Adobe PDF document

Re: [groff] 04/08: ChangeLog: Add entries for Deri's recent changes.

2024-01-08 Thread Deri
On Monday, 8 January 2024 02:16:40 GMT G. Branden Robinson wrote: > gbranden pushed a commit to branch master > in repository groff. Thank you.

Re: deri-gropdf-ng branch dependency graph

2024-01-08 Thread Deri
On Monday, 8 January 2024 03:29:26 GMT G. Branden Robinson wrote: > At 2024-01-07T10:13:44+0000, Deri wrote: > > Now that Branden has started to incorporate the new gropdf, I > > thought it may help to try to document the dependencies between > > the different file

deri-gropdf-ng branch dependency graph

2024-01-07 Thread Deri
from an "in memory" database I wrote once, very micky mouse, but useful for displaying relationship in a small data set. Cheers Deri Features.pdf Description: Adobe PDF document

Re: Auto-relocated TOC in wrong place in pdf outlines

2024-01-06 Thread Deri
$curoutlevno--; } } } Cheers Deri

Re: [heirloom] typesetting unicode characters

2023-12-31 Thread Deri
t way to do this is with the install-font.sh script from Peter Schaffter's website for mom. [1]. The attached pdf illustrates a suitably amended version of your unicode.ms file run through groff. Note that I am using the git version built from the deri-gropdf-ng branch, but this should wo

Re: Proof Of Concept, Flowing Text Around Left-Aligned Image

2023-12-21 Thread Deri
e good examples of what can be achieved with groff. Particularly Peter's mom examples which come with the source code as well. Cheers Deri

Re: First impressions: strange groff default font behaviour after system upgrade

2023-12-18 Thread Deri
On Monday, 18 December 2023 21:49:55 GMT Oliver Corff wrote: > Hi Deri, > > Here we go. In the meantime I came to the conclusion that the dpdviewer > is at fault, or rather the viewer's setup; I forwarded the pdf to a > different system, and there everything was visible as

Re: First impressions: strange groff default font behaviour after system upgrade

2023-12-18 Thread Deri
und--in a groff build from source on Fedora 39. > > So something would appear to be amiss. I'm hoping Deri can help us > figure it out. Hi Branden, Happy to. The two issues are probably not linked, one is a problem with the configure script not finding the URW font directory, an

Re: Configuring groff 1.23.0 on Fedora 39 fails to find the URW base 35 fonts

2023-12-18 Thread Deri
tion the problem. This would appear to be an issue with the part of configure which looks for the URW fonts, Branden is the expert. Cheers Deri

Re: First impressions: strange groff default font behaviour after system upgrade

2023-12-18 Thread Deri
ith the command:- groff -T pdf -ms -P-d -k And attach the download file from the font/devpdf directory along with an "ls" of that directory. This will let me start to see what is going on. You can either send them to me or attach it to a savannah bug report. Cheers Deri

Re: Proposed GNU troff behavior change: require end-of-input macros to exit

2023-12-17 Thread Deri
On Sunday, 17 December 2023 20:53:52 GMT G. Branden Robinson wrote: > Hi Deri, > > At 2023-12-10T18:43:42+0000, Deri wrote: > > On Saturday, 9 December 2023 19:25:27 GMT G. Branden Robinson wrote: > > > When a line of output is "finished" and sent to the device &

Re: gropdf : missing colour when used with HDTBL macros

2023-12-14 Thread Deri
ours use normal groff colour definitions. I'm not too sure why most of the colours are done as postscript commands, but this sort of postscript used to be the only way to get colours from groff, before Werner added the colour commands, so it may be old code. Cheers Deri

Re: Pic rounded box corners misplaced with devpdf and landscape doc

2023-12-11 Thread Deri
On Monday, 11 December 2023 14:30:04 GMT Alexis wrote: > Hi Deri, > > thank you for addressing this so quickly. Unfortunately I have yet to > succeed in building groff from the deri-gropdf-ng branch using nixpgs, > yet am happy to report back once I do. > > > Best >

Re: Pic rounded box corners misplaced with devpdf and landscape doc

2023-12-10 Thread Deri
On Sunday, 10 December 2023 15:59:16 GMT Alexis wrote: > Hi Deri, > > thank you for the swift and helpful response. > > I'm happy to confirm that using -P-pa4l works for me too > and am glad that there is more parity between the groff > and device paper format since

Re: Proposed GNU troff behavior change: require end-of-input macros to exit

2023-12-10 Thread Deri
further output, other than "x trailer", is output. This is an example of troff output:- x T pdf x res 72000 1 1 x init p1 x font 5 TR f5 s1 V12000 H72000 mr 0 0 0 DFd tline n12000 0 V792000 H72000 tline n12000 0 V792000 p2 x trailer V792000 x stop The V792000 and p2 are unnecessary unless there is further output. Cheers Deri

Re: Pic rounded box corners misplaced with devpdf and landscape doc

2023-12-10 Thread Deri
"box rad 0.2 ht 2 wid 2" .PE EOF And with the yet to be merged changes (from the deri-gropdf-ng branch) so does:- cat < box_rad_devpdf.pdf .PS box rad 0.2 ht 2 wid 2 "\*[.T]" "box rad 0.2 ht 2 wid 2" .PE EOF I will investigate the problem with -P-l. Cheers Deri

Re: Groff hdtbl tables disappear near the footer

2023-12-05 Thread Deri
where near the top of hdtbl-issue.ms. The man page says:- A table which does not fit on a partially filled page is printed automatically on the top of the next page if you append the little utility macro t*hm to the page header macro of your document’s main macro package. For example, say .am pg@top . t*hm .. if you use the ms macro package. Cheers Deri

Re: Optimize script for generating LinuxManBook.pdf

2023-11-23 Thread Deri
On Wednesday, 22 November 2023 14:58:56 GMT Alejandro Colomar wrote: > Hi Deri, > > I've optimized from 18.5 s down to 16.3 s the script, by splitting the > pipeline with this wrapper (and slightly reducing the perl script to > just print the pages to stdout). BTW, now it

Re: Optimize script for generating LinuxManBook.pdf

2023-11-22 Thread Deri
On Wednesday, 22 November 2023 14:58:56 GMT Alejandro Colomar wrote: > Hi Deri, > > I've optimized from 18.5 s down to 16.3 s the script, by splitting the > pipeline with this wrapper (and slightly reducing the perl script to > just print the pages to stdout). BTW, now it

Re: PDF macros case sensitivity

2023-11-14 Thread Deri
above pdf files, to see how they were constructed. As regarding identifying if you have made a mistake calling a macro, you could try calling groff with the -ww flag to enable all warnings. Cheers Deri

Re: Support regarding input of unicode chars

2023-11-08 Thread Deri
Laplace.pdf The result is attached. If you prefer I can send you the resulting fonts, plus instructions. Cheers Deri Laplace.pdf Description: Adobe PDF document

Re: Merging the new gropdf

2023-11-07 Thread Deri
On Tuesday, 7 November 2023 19:48:51 GMT G. Branden Robinson wrote: > Hi Deri, > > At 2023-11-07T17:33:06+0000, Deri wrote: > > On Monday, 6 November 2023 17:47:13 GMT G. Branden Robinson wrote: > > > Slowly. I landed two small changes this weekend, but they're no

Merging the new gropdf

2023-11-04 Thread Deri
Hi Branden, I was wondering how the merging of the new gropdf branch was going (I think you very kindly offered to help merging with master). Recently you have written on the list:- "Also, when Deri James's gropdf improvements are merged for groff 1.24, the file size of groff-man

Re: Special characters

2023-09-21 Thread Deri
propriate). > > Sorry if I sound harsh, but this change already cost me hours of work > to fix. > > I am on the brink of getting the 1.22 source code and install that over > the system package of 1.23, which just brings me hate. I have added this line to the man.local file (/usr/share/groff/site_tmac on my system) to restore the asciitilde behaviour. .tr ~\(ti Cheers Deri

Re: Baffling accented glyphs issue

2023-08-26 Thread Deri
different. It can use iconv and uchardet for this guessing. What does preconv -v tell you, mine says:- [derij@pip Chats (deri-gropdf-ng)]$ preconv -v GNU preconv (groff) version 1.23.0.16-a53f5-dirty with iconv support and with uchardet support It is the support information which is important, y

Re: Footer trap in a A4 PDF

2023-08-25 Thread Deri
.) A slight change and you can colour the margins with pure troff so it works for both postscript and pdf:- groff -Tpdf -P-pa4 -P-e margins.trf > margins.pdf Cheers Deri .\" .\" .pl 29.7c

[bug #64576] [pdf.tmac] pdf*href option handling insufficiently flexible

2023-08-22 Thread Deri James
Follow-up Comment #4, bug #64576 (project groff): Just completed a fix to allow any input to be used as a valid *roff identifier. This allows all UTF-8 to be used as well. So both "Known Issues" in my NewGropdf document are now ticked off. :-)

Re: PDF outline not capturing Cyrillic text

2023-08-12 Thread Deri
On Saturday, 12 August 2023 07:35:20 BST G. Branden Robinson wrote: > Hi Deri, > > At 2023-06-23T22:40:42+0100, Deri wrote: > > On Friday, 23 June 2023 19:17:58 BST Robin Haberkorn wrote: > > > So it seems that the main problem really lies in grops and/or gropdf > &g

Re: [PATCH] gropdf: Fix papersize control command

2023-08-05 Thread Deri
On Saturday, 5 August 2023 15:55:20 BST G. Branden Robinson wrote: > Deri, I'm happy to apply a corrective documentation change to gropdf(1). > Is that cool with you? Let me know. > > I think it'd be a good idea to explicitly note the order reversal of the > dimensions

Re: [PATCH] gropdf: Fix papersize control command

2023-08-05 Thread Deri
On Saturday, 5 August 2023 15:36:31 BST Alexis wrote: > Thank you for the helpful context, Deri, much appreciated. I checked > the sources thoroughly, in order to have a good reasoning, but missed > to read the grodvi sources :/ > > Following the same order, i.e. width,height, to

Re: [PATCH] gropdf: Fix papersize control command

2023-08-05 Thread Deri
ince this is an older API and I wanted to allow the same source to run on either dvi or pdf [1]. So it is the documentation in the gropdf man page which is wrong. I agree it is a little crazy to reverse the normal groff ordering but I was retaining compatibility with grodvi. I will fix the man pag

Re: interviews with groff developers

2023-08-04 Thread Deri
On Friday, 4 August 2023 17:58:13 BST G. Branden Robinson wrote: > Read Deri's first--it's more interesting. :) Mine is about as > hair-splitting as any reader of this mailing list would expect. Hi Branden, Oh, I don't know, I think yours is better, in a quantative sense. :-) Cheers Der

Re: Visual Color Reference with Swatches

2023-07-31 Thread Deri
olors for the ps device are also available for > the pdf device even though pdf.tmac does not define colors. pdf.tmac includes ps.tmac so colours are defined. Cheers Deri > Hopefully this proves useful to others. > > > Best > Alexis

Re: Why does PDFPIC require unsafe mode -U, but PSPIC doesn't?

2023-07-30 Thread Deri
https://ubuntu.com/security/CVE-2018-16802 Which also makes it clear that it is crafted postscript which triggered the bug. Cheers Deri

Re: Can't embed eps image

2023-07-29 Thread Deri
tmp.pdf, the image is not inserted into the pdf. There is only box with the > image file path (which is correct). > > Best regards, > Michał Kruszewski > > Sent with [Proton Mail](https://proton.me/) secure email. Hi Michal, Grops supports eps images, for gropdf you need to convert your png to a pdf. Cheers Deri

Re: graphical manuals

2023-07-16 Thread Deri
df and passing it to a viewer. Cheers Deri

Re: Selecting Papersize

2023-07-10 Thread Deri
hieve similar in one run by using the \X'papersize=' command within your troff file, which would be useful if you have a wide table you want presented in landscape, but you have to adjust page length/width yourself to notify the troff formatter of the changed dimensions. Cheers Deri

Re: [PROPOSAL] time zones and reproducible builds (was: How to make groff use local timezone?)

2023-07-09 Thread Deri
On Sunday, 9 July 2023 19:26:36 BST Colin Watson wrote: > On Sun, Jul 09, 2023 at 07:13:54PM +0100, Deri wrote: > > It looks Ok, not tested. I'm happy for you to apply. > > Thanks. > > > Once gropdf moves to the font subsetting version it will cause a > > pro

Re: [PROPOSAL] time zones and reproducible builds (was: How to make groff use local timezone?)

2023-07-09 Thread Deri
On Sunday, 9 July 2023 17:59:04 BST G. Branden Robinson wrote: > [adding Deri to CC] > > At 2023-07-09T13:24:27+0100, Colin Watson wrote: > > On Sun, Jul 09, 2023 at 02:42:55AM +0100, Colin Watson wrote: > > > So, how about the attached patch? > > > > I someho

Re: Selecting Papersize

2023-07-09 Thread Deri
ugh papersize information down its pipeline to > the backend to make that '-P-pa4' redundant? > > Thanks - Damian Hi Damian, Grodvi supports \X'papersize=' and so does gropdf. In the deri-gropdf-ng git branch you will find a version of papersize.tmac which does exactly

Re: a morsel of groff 1.23.0 status

2023-07-06 Thread Deri
On Thursday, 6 July 2023 02:02:39 BST Peter Schaffter wrote: > On Wed, Jul 05, 2023, Dave Kemper wrote: > > On 7/5/23, G. Branden Robinson wrote: > > > May I be excused some > > > pride in our delivery of over 400 bug fixes and 150 automated tests? > > > > Fully justified. I'm glad it's

Re: italic corrections on synthesized slanted lowercase Greek letters on the pdf device (was: Using -Tpdf rather than -Tps and then ps2pdf)

2023-06-30 Thread Deri
On Friday, 30 June 2023 16:26:51 BST G. Branden Robinson wrote: > Hi Deri, > > At 2023-06-30T16:09:55+0100, Deri wrote: > > On Friday, 30 June 2023 15:43:49 BST Dave Kemper wrote: > > > Are any of the solutions put forth in this thread suitable for > > > comm

Re: italic corrections on synthesized slanted lowercase Greek letters on the pdf device (was: Using -Tpdf rather than -Tps and then ps2pdf)

2023-06-30 Thread Deri
le typesetting, and means gropdf will produce the closest output to grops. Cheers Deri

Re: PDF outline not capturing Cyrillic text

2023-06-23 Thread Deri
> I am not sure if we would still need .pdfmomclean. But whatever useful stuff > it currently does, it should probably be in pdfmark.tmac (and/or pdf.tmac?) > instead. > > Best regards, > Robin Hi Robin, The features you require are coming. This is an example of Russian with

Re: italic corrections on synthesized slanted lowercase Greek letters on the pdf device (was: Using -Tpdf rather than -Tps and then ps2pdf)

2023-06-14 Thread Deri
On Wednesday, 14 June 2023 03:57:01 BST G. Branden Robinson wrote: > At 2023-06-14T00:53:42+0100, Deri wrote: > > This is using a real font, deleted pdf:SS. > > Looks great! It's not led astray by the superscripts or anything. > > Regards, > Branden Hi Branden, Th

Re: italic corrections on synthesized slanted lowercase Greek letters on the pdf device (was: Using -Tpdf rather than -Tps and then ps2pdf)

2023-06-13 Thread Deri
that seemed likely > provocative of glyph collisions in mathematical typesetting, and by > limiting myself to adjustments in increments of 1/12th em. > > Here is the result. Really trying to not forget the attachments this > time. > > Regards, > Branden This is using a real font, deleted pdf:SS. Cheers Deri oversized-greek.pdf Description: Adobe PDF document

Re: Using -Tpdf rather than -Tps and then ps2pdf

2023-06-13 Thread Deri
;s fix. The pdf shows the difference between using my SS font, using Tadziu's fix to pdf.tmac and using grops and the type 3 SS font. Cheers Deri pdf:SS.pdf Description: Adobe PDF document .ig pdf.tmac Copyright (C) 2011-2018 Free Software Foundation, Inc. Written by Deri Jame

Re: Using -Tpdf rather than -Tps and then ps2pdf

2023-06-13 Thread Deri
font, using transformation from the standard Symbol font, but I prefer your solution. Cheers Deri

Re: Using -Tpdf rather than -Tps and then ps2pdf

2023-06-12 Thread Deri
Symbol MakeTransformedFont And if you compare the character width/height given in the SS font the figures are .89 of the equivalent figures in the S font. Cheers Deri

Re: drawing commands in groff(7) (was: undiagnosed pic error)

2023-06-09 Thread Deri
First attempt truncated, try this. :-( On Friday, 9 June 2023 17:04:56 BST G. Branden Robinson wrote: > Hi Deri, > > At 2023-06-09T12:26:00+0100, Deri wrote: > > On Thursday, 8 June 2023 23:33:25 BST G. Branden Robinson wrote: > > > It was there until literally days ago

Re: drawing commands in groff(7) (was: undiagnosed pic error)

2023-06-09 Thread Deri
On Friday, 9 June 2023 17:04:56 BST G. Branden Robinson wrote: > Hi Deri, > > At 2023-06-09T12:26:00+0100, Deri wrote: > > On Thursday, 8 June 2023 23:33:25 BST G. Branden Robinson wrote: > > > It was there until literally days ago. It seemed like such a subtle > >

Re: drawing commands in groff(7) (was: undiagnosed pic error)

2023-06-09 Thread Deri
alter the behaviour now. Have you done the equivalent changes to the output drivers? Cheers Deri

Re: aliasing fonts (was: Computer Modern Font)

2023-06-08 Thread Deri
inary fields at the start of the file. Gropdf can use either. Cheers Deri

Re: drawing commands in groff(7) (was: undiagnosed pic error)

2023-06-06 Thread Deri
centre to draw the arc! I don't know how relevant this is to the documentation, I am definitely not a maths savant, the special school I went to saw little point in giving us an academic education. Cheers Deri

Re: bitmaps in groff documents

2023-06-04 Thread Deri
level, size of viewer window on the screen. So the short answer is that I don't think it can be done. If possible it is better to use vector graphics if at all possible for diagrams or figures in a document. Cheers Deri

Re: Mission statement and Knuth-Plass reconsidered

2023-05-23 Thread Deri
p://luc.devroye.org/HanTheThanh-Dissertation-2000.pdf Cheers Deri

Re: [groff] 14/23: gropdf(1), pdfmom(1): Update authorship credits.

2023-05-07 Thread Deri
ommend? > > Regards, > Branden Hi Branden, I'm quite happy with your text, it just tickled my fancy. Cheers Deri

Re: Mission statement and Knuth-Plass reconsidered

2023-05-07 Thread Deri
be a good time to identify > any feature gaps we have that would make doing K-P this way more > difficult than it needs to be. If you are interested in micro typography there was an interesting discussion some years ago, not K-P:- https://lists.gnu.org/archive/html/groff/2002-02/msg1.html The thesis to which they are referring can found here:- https://www.tug.org/TUGboat/Articles/tb21-4/tb69thanh.pdf It seems good to me. Cheers Deri

Re: [groff] 14/23: gropdf(1), pdfmom(1): Update authorship credits.

2023-05-07 Thread Deri
= > +.SH Authors > +.\" ==== > +. > +.I gropdf > +was written and is maintained by > +.MT deri@\:chuzzlewit\:.myzen\:.co\:.uk > +Deri James > +.ME . >

Re: choosing a default font family for Chinese and Japanese (was: an.tmac with Japanese man page)

2023-05-01 Thread Deri
CJK language user the profile could export something like "-fM -mja". Cheers Deri

an.tmac with Japanese man page

2023-04-30 Thread Deri
headings, you have to set the HF register to the Japanese bold font. It seems that an.tmac sets the font family to T (for headings), even if the user has changed the default family with the -f flag. Should I open a savannah issue, or is this change in behaviour intended? Cheers Deri

Re: Multi-columns in ms

2023-04-29 Thread Deri
i .de addtxt .ev add .nf .boxa keep \\$* .boxa .unformat keep .ev .. .addtxt A long line consists of \fBmany\fP words, .addtxt and can be split over many lines. .addtxt Even more words added. .fi .ll 5i .keep .sp .ll 3i .keep .sp .ll 1.5i .keep Cheers Deri

Re: Questions concerning hyphenation patterns for non-Latin languages, e.g. Russian

2023-04-23 Thread Deri
nt on the > 1 MB. :-) Cheers Deri russ.pdf Description: Adobe PDF document

Re: Chinese texts. (Was: A new ignoramus question about user-installed fonts)

2023-04-22 Thread Deri
On Saturday, 22 April 2023 11:07:08 BST Ralph Corderoy wrote: > Hi Deri, > > > The problem is probably not ghostscript, current gropdf moans about > > "too many glyphs" when it can't allocate all used to 8 bit code > > points. This too will be addressed i

Re: A new ignoramus question about user-installed fonts

2023-04-21 Thread Deri
urrent gropdf moans about "too many glyphs" when it can't allocate all used to 8 bit code points. This too will be addressed in the next version of gropdf, which addresses problems of very large fonts with thousands of different glyphs. Cheers Deri

Re: Definitely positive font installation experience, but not without caveats

2023-04-21 Thread Deri
say "at the moment", watch this space, but it won't be in the upcoming 1.23.0. Cheers Deri

Re: A new ignoramus question about user-installed fonts

2023-04-21 Thread Deri
, I believe this was fixed in commit d58625a25f2c1732b863d64a259d04a4e61c829d which is in the upcoming release. If you can't wait just change one line in pdf.tmac:- .de pdf:SS . char \\$1 \\S'16'\\$1\\S'0' .. Near the top of the file, becomes:- .de pdf:SS . fchar \\$1 \\S'16'\\$1\\S'0' .. Cheers Deri

Re: 1.23.0rc4 .sp and .bp backward compatibility issues

2023-04-17 Thread Deri
he author (partially you) intended section 8 to start on a new page if run under troff:- .if t \{\ . br . bp .\} But it no longer does. Deri > Regards, > Branden > > [1] > https://git.savannah.gnu.org/cgit/groff.git/commit/?h=branden-2023-04-07&id > =72820ac3e1fd4c3421486b80c6b791503ae268a7

Re: Greek and Russian in Groff

2023-03-25 Thread Deri
only way to tell troff to use the U foundry is to use tricks such as -f U-T on groff command line, or .fam U-T or .ft U-TR in your document. Incidentally, using any of these "tricks" makes the use of -P-yU redundant since groff will pass the full font name "U-TR" in the groff_out(5) stream passed to gropdf. Cheers Deri

Re: Greek and Russian in Groff

2023-03-25 Thread Deri
f > ATTIC/ makhnovshchina.pdf Seems to work fine (no hyphens seen, but visible if line length reduced to 4i). Cheers Deri

Re: Greek in email

2023-03-24 Thread Deri
ck the button to view "html version" (the multi-part in quoted printable) the message includes my comment at the bottom. When kmail sends the message the text in both parts should be the same, but in this case it was not. It is my fault too, in that I should have switched off html before replying. :-( Cheers Deri

Re: Greek in Groff

2023-03-24 Thread Deri
On Thursday, 23 March 2023 21:03:22 GMT G. Branden Robinson wrote: > At 2023-03-18T11:09:16+, Ralph Corderoy wrote: > > > The encoding of choice would probably be ISO 8859-7 in order to > > > remain within the 8 bit character encoding space. > > > > ... > > > > > 4. Write your documents in IS

Re: groff for epub/e-books (was: groff 1.22.4 mandb 2.11.2 man -H tbl not rendered)

2023-02-23 Thread Deri
e to suit the kindle screen and my eyesight! The text file is from gutenberg.org then I run a script to turn it into a troff file. This is an example (you need to transfer to the reader):- http://chuzzlewit.co.uk/The%20Murder%20on%20the%20Links%20(Kindle).pdf Cheers Deri

Re: [groff] 01/05: [gropdf]: Skip a test if gs unavailable.

2023-02-14 Thread Deri
vice requires either ghostscript or the URW fonts to be installed. Cheers Deri > However, perhaps some of the commentary around the skipping, and around > the absence of the 'gs' command reported by our configure script, could > be fruitfully amended. Maybe I could add &

Re: macOS 12.6.3, static_assert, and vasnprintf compilation failure

2023-02-11 Thread Deri
On Saturday, 11 February 2023 03:17:53 GMT Bruno Haible wrote: > Deri wrote: > > > GEN font/devpdf/download > > > > > > Can't use string ("") as an ARRAY ref while "strict refs" in use at > > > /Users/haible/groff-1.23.0.rc2.

  1   2   3   4   5   >