Re: Re: PDF outline not capturing Cyrillic text

2024-02-06 Thread Robin Haberkorn
On Tue, Feb 06, 2024 at 01:39:51PM +, Deri wrote: > Hi Robin, > > The current gropdf (in the master branch) does support UTF-16BE for pdf > outlines (see attached pdf), but Branden has not released the other parts to > make it work! If you can compile and install the current git the

[bug #65232] Russian hyphenation is not working

2024-02-05 Thread Robin Haberkorn
Follow-up Comment #5, bug#65232 (group groff): [comment #4 комментарий №4:] > > [comment #3 comment #3:] > > After switching from pdfroff (-Tps) to pdfmom (-Tpdf), hyphenation suddenly works fine. > > Glad to hear it. > I forgot to mention, I also had to install a new version of the

[bug #65232] Russian hyphenation is not working

2024-02-03 Thread Robin Haberkorn
Follow-up Comment #3, bug#65232 (group groff): After switching from pdfroff (-Tps) to pdfmom (-Tpdf), hyphenation suddenly works fine. Moreover, it will even work with UTF8 input (-Kutf-8), even though that causes other glitches. I have no idea way it can hyphenate Unicode escapes. `pdfmom

Re: PDF outline not capturing Cyrillic text

2024-02-03 Thread Robin Haberkorn
Regarding cyrillic characters in PDF outlines, I think I got a few insights today. It turns out that the pdfmarks in the postscript code are "text strings" according to the PDF specs, that is either a PDFDocEncoding or UTF-16BE with a leading byte-order marker (cf. PDF Reference 1.7). A

[bug #65232] Russian hyphenation is not working

2024-01-31 Thread Robin Haberkorn
Follow-up Comment #2, bug#65232 (group groff): Hello Branden! I am not quite sure what additional info you need. I attached a test case. You can reproduce it. No matter what font size or hyphenation mode, I cannot get it to hyphenate. Hyphenation *does* work when formatting for -Tutf8. The same

[bug #65232] Russian hyphenation is not working

2024-01-30 Thread Robin Haberkorn
: None ___ Follow-up Comments: --- Date: Ср 31 янв 2024 02:48:42 By: Robin Haberkorn I cannot get Russian hyphenation to work on a HEAD build of Groff. As far as I understand, it should be enough to -mru. It should even enable hyphe

ms/mm page margins too large

2023-06-23 Thread Robin Haberkorn
Hello! I was trying to set up an ms-document with small page margins (see attachment), but I don't seem to get below a certain limit (especially on the bottom side). In one-column mode, the bottom border is a bit smaller, but still larger than 1cm. I also cannot explain the spacing introduced by

Re: PDF outline not capturing Cyrillic text

2023-06-23 Thread Robin Haberkorn
Hello Peter, I am also now stumbling across Cyrillc-related issues with pdfmark. I am using ms for the time being. The bug also affects autogenerating link texts given via `.pdfhref L`. In the most simple case, preconv will turn your Cyrillic characters into escapes which are apparently not

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

2023-04-26 Thread Robin Haberkorn
25.04.23 19:51, G. Branden Robinson пишет: While I'm pontificating I'll opine that I'm not a huge fan of C++ as a language, but I have found with groff that, given discipline, and by maintaining a clear view of its roots in C (_also_ not my favorite language--but one

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

2023-04-26 Thread Robin Haberkorn
Hello! I can confirm that Neatroff (and Heirloom Troff) works well for typesetting Russian texts including hyphenation. BUT, I found them unsuitable for complex scientific texts as their ms macros are buggy and tbl is somewhat limited. Regarding Neatroff, I found that its hyperlinking

Re: [groff] Accented Cyrillic characters

2018-08-02 Thread Robin Haberkorn
Hello Ralph! I see! Groff seems to combine composites to single code points if possible, probably in order to better support terminals and/or software that cannot themselves combine them. Makes sense. But for the rest of glyphs, it should IMHO a) make sure that accentuation glyphs have a

[groff] Accented Cyrillic characters

2018-08-01 Thread Robin Haberkorn
Hello! I'm working on a small Russian offline dictionary that formats the entries of words into Troff/Man pages, so you can view them in the terminal. There is a small problem when trying to format accented Cyrillic characters. Accents are commonly used in Russian to highlight word stress by

[Groff] gpresent (presentation macros) forked

2017-02-22 Thread Robin Haberkorn
Hi, just wanted to inform you that I forked the gpresent macros by Bob Diertens: https://github.com/rhaberkorn/gpresent I did this out of sheer necessity, as I needed to prepare a few presentations. This fork contains a hard-to-find patch, so it runs with recent versions of Groff and adds the

[Groff] [mom][patch] multipage boxed tables

2013-09-13 Thread Robin Haberkorn
Dear groffers, I ported the ms package's tbl macros, specifically the multipage boxed table support, to Mom. It appears to work fine so far, but I'm neither a groff nor a -ms guru yet. There are possibly some bugs that could be easily avoided by someone who is more familiar with the ms macros.

[Groff] [mom][patch] FLOAT bug fixes

2013-09-12 Thread Robin Haberkorn
Dear groffers, I have found and fixed two severe mom bugs in the FLOAT macro. See attachment - it's a patch against CVS HEAD. 1) if a FLOAT FORCE block fits on the current page, the register #FORCE is not removed/reset. If it does not fit on the page, a NEWPAGE is emitted and #FORCE is removed.

[Groff] [mom][bug][patch] NUMBER_LINES and tbl

2013-08-27 Thread Robin Haberkorn
Hi everyone, found and fixed another bug in the mom macros. Her handling of NUMBER_LINES if tbl is used was buggy. If you used NUMBER_LINES to turn on line numbering, turned it off and then used tbl tables, the table was numbered. Naturally if you resumed line numbering after the table, line

Re: [Groff] refer, mom and inline references

2013-08-13 Thread Robin Haberkorn
Hello Peter, 2013/8/11 Peter Schaffter pe...@schaffter.ca: ... At the top of your file, .R1 label (A.n|Q) ', ' D.y bracket-label ( )\c join-authors , and , , and reverse A1 sort A1Q1T1B1E1 database path to database .R2 With this setup, references

[Groff] refer, mom and inline references

2013-08-09 Thread Robin Haberkorn
Hello, I know a lot has been written on this mailing list about refer and its mom integration. However, I still don't quite get it. Currently I'm writing my bachelor thesis in groff -mom. It was relatively easy to imitate the LaTex template they were providing, including Computer Modern fonts and

[Groff] quick and dirty preprocessors: htbl.tes

2013-08-09 Thread Robin Haberkorn
Hi, one thing I like about groff/troff is the ability to quickly write preprocessors extending troff. I wrote one as part of SciTECO -- in the SciTECO language: https://github.com/rhaberkorn/sciteco/blob/master/doc/htbl.tes (Note: contains control codes not properly displayed by Github) It's a

Re: [Groff] refer, mom and inline references

2013-08-09 Thread Robin Haberkorn
2013/8/9 jjbrioist jean.brio...@numericable.fr: Le vendredi 09 août 2013 à 17:35 +0200, Robin Haberkorn a écrit : Hello Robin, I was facing the same issue as you, although I am using -ms for the time. I use the -S option to get inline references. Assume you have the following entry in your