Re: uppercase german umlaut

2024-01-08 Thread hohe72
On Tue, 2 Jan 2024 11:04:25 -0600 Dave Kemper wrote: > > ECMA-48 says for 0x84: > > Also irrelevant to groff, as it doesn't use ECMA-48. Groff tools > (including gpic) take input in Latin-1, period. I don't think so. ECMA-48 may be interpreted by terminals. In the case of terminal output,

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

2024-01-01 Thread hohe72
If gpic gets Ä (0xc3 0x84) it complains about 0x84. If gpic gets ä (0xc3 0xa4) it does not complain about 0xa4. gpic says: "invalid input character". So because both being above ASCII (8 bit area), what makes 0x84 wrong? It seems that 0x84 is located in a control area whereas 0xa4 in an graphic

Re: Is there a Groff showcase?

2023-12-18 Thread hohe72
IMHO, the website pool should not be divided. Instead access to information should be accomplished by different means. I dump all my code snippets or running prof of concepts, what I otherwise would forget, into one directory and find these old samples later either by file naming or via grep. The

Re: Is there a Groff showcase?

2023-12-15 Thread hohe72
A showcase as like at a trade show? I think it would be better to have easy to understand single topic prove-of-concepts samples, a bin to throw in and a whatever-grep-function for searching. Those kinda website have to be invented in the first place, right? On Thu, 07 Dec 2023 17:35:25 +

Re: [Groff] mom : unicode in .INCLUDE'd files

2017-07-23 Thread hohe72
For the protocol, write a macro: .de SYS-include\" .SYS-include filename extension .ds SYS-filename \\$1 .sy preconv -e utf8 \\*[SYS-filename] \ | grap | pic | tbl | eqn -T\\*(.T > \\*[SYS-filename].intermediate .so \\*[SYS-filename].intermediate .sy rm \\*[SYS-filename].intermediate ..

Re: [Groff] groff developments - query about any interest?

2016-11-19 Thread hohe72
Werner LEMBERG wrote (Thu, 17 Nov 2016 09:02:52 +0100 (CET)): > > might someone be resident in Berlin/ Germany? willing to chit-chat > > at a Cafe about that C-code base, 'cause it's really leaved behind, > > a bit patchy and dangerous to play around with and I don't wanna sit > > for myself. >

Re: [Groff] groff developments - query about any interest?

2016-11-16 Thread hohe72
well so, ehm, _m^..^m_ might someone be resident in Berlin/ Germany? willing to chit-chat at a Cafe about that C-code base, 'cause it's really leaved behind, a bit patchy and dangerous to play around with and I don't wanna sit for myself. (In my spare time, I'm not interes

Re: [Groff] Does groff match my needs?

2015-11-14 Thread hohe72
Joh-Tob Schäg wrote (Wed, 11 Nov 2015 17:32:47 +0100): > Dear groff-mailing list, > > i seached for an alternative to latex and found groff. Sadly i found > no IRC or something where i could ask directly. > But before i invest time in groff or some macro system, i wanted to > know if it fits m

Re: [Groff] using ttf font in plain groff

2015-07-01 Thread hohe72
exchanged: > ttf2afm -o "$afmfont" "$ttffont" > ttf2ufm $ttffont - | t1asm -a > $pfafont with: fontforge -script ffscript.pe $ttffont (a hint from http://www.schaffter.ca/mom/momdoc/appendices.html) => success [fontforge should write a documentation for their scripting.] wrote (Wed, 1 Jul 201

[Groff] using ttf font in plain groff

2015-07-01 Thread hohe72
Hi, I did: groffpath="/usr/share/groff/current/font/devps" DESCfile="$groffpath/DESC" TEXTMAPfile="$groffpath/generate/textmap" TEXTENCfile="$groffpath/text.enc" #DOWNLOADfile="$groffpath/download" DOWNLOADfile="./download" ttffont='ttf/DroidSans.ttf' groffname='DSaR' afmfont="$(basename $ttffon

Re: [Groff] condition: OR of two string comparisons

2014-11-23 Thread hohe72
Hi, since I sparked an issue, I might explain my: I coded a macro, that does a defined vertical space (.sp //n[distance]u). The value can be set if the switch '--define' is used. The macro should make a temporary vertical move, when a number was provided. Therefore I met a condition that if no p

Re: [Groff] condition: OR of two string comparisons

2014-11-23 Thread hohe72
Carsten Kunze wrote (Fri, 21 Nov 2014 18:12:10 +0100 (CET)): > The new users might not start with creating macro packages like MM. > They would use an existing macro package to create a document. The > best way to attract them is to create a comfortable macro package. Samples! Running samples,

Re: [Groff] condition: OR of two string comparisons

2014-11-18 Thread hohe72
Carsten Kunze wrote (Tue, 18 Nov 2014 11:00:55 +0100 (CET)): > hoh...@arcor.de wrote: > > > > .ifx ... \{\ > > > ... > > > .\} > > > .el .if ... > > > > A customer would know inherently that for > > > > .if x ... \{\ > > ... > > .\} > > .el .if ... > > The use should know if compatibility m

Re: [Groff] condition: OR of two string comparisons

2014-11-18 Thread hohe72
Carsten Kunze wrote (Mon, 17 Nov 2014 14:32:09 +0100 (CET)): > .ifx ... \{\ > ... > .\} > .el .if ... A customer would know inherently that for .if x ... \{\ ... .\} .el .if ... it is an "if", it is a special comparison and he has to look for it at the chapter for comparisons (3 facts out o

Re: [Groff] condition: OR of two string comparisons

2014-11-15 Thread hohe72
I cannot see a benefit in anything other/new than the prefix indicator that already exists. The concept is scalable and should be used. In input.cpp the ifelse construct used for prefix chars, that should be converted to a switch (I already did it), is equally to the switch used for requests. To i

Re: [Groff] condition: OR of two string comparisons

2014-11-15 Thread hohe72
Ralph Corderoy wrote (Sat, 15 Nov 2014 12:17:25 +): I favor switch before elif (and the like), at least in the sources (do_if_request() in input.cpp) as well. ;) Holger

Re: [Groff] condition: OR of two string comparisons

2014-11-14 Thread hohe72
wrote (Wed, 12 Nov 2014 20:33:07 +0100): At least, this concept > .if 'str'pattern1'pattern2'..'patternN' anything fails in groff cannot determine the end of the conditional: .if 'str'pattern1'pattern2' .tm ' cause of that Spaces can also be part of the pattern. It seems, that braces are nee

Re: [Groff] condition: OR of two string comparisons

2014-11-12 Thread hohe72
Ralph Corderoy wrote (Fri, 07 Nov 2014 16:16:38 +): > Hi Holger, > > > Due to the 'Troff User's Manual' page 24 and the man 7 groff > > (missing a negation) > > What's missing? "I" -- I was missing .. ;) > > the statement: > > > > .if 'str1'str2' anything > > > > cannot handle regular

Re: [Groff] condition: OR of two string comparisons

2014-11-06 Thread hohe72
Ralph Corderoy wrote (Thu, 06 Nov 2014 16:35:23 +): > Hi Holger, > > > .\" I found this for strings > > > > .ds c " > > .ds d " > > .if '\*c'foo' .ds d "bar > > .ie '\*d'bar' .tm *9: true > > .el .tm *9: false > > If you want to preserve d's value for later use then you're back t

[Groff] condition: OR of two string comparisons

2014-11-05 Thread hohe72
Hi, I wonder if this sample, that demonstrates OR of two string comparisons, are an recommend way to code such conditions, avoiding an extra macro or code doubling. Regards Holger .\" I found this for strings .ds c " .ds d " .if '\*c'foo' .ds d "bar .ie '\*d'bar' .tm *9: true .el .tm

Re: [Groff] \o and \z do not work for -Tutf8

2014-09-17 Thread hohe72
I was wrong. Dieresis is used in PinYin. The "Chinese for Beginners" (ISBN 7-5619-1117-3) I refer, also uses twice the size periods below the vowel to tag the accentuated syllable of a word. sorry Holger wrote (Thu, 7 Aug 2014 15:35:28 +0200): > > > [forward due to wrongly replied privatly

Re: [Groff] \o and \z do not work for -Tutf8

2014-08-07 Thread hohe72
[forward due to wrongly replied privatly -hh-] > Found a lot of lǜlǚ on the net but cannot check my papers this > month. Sorry. Syllables lu/lü and nu/nü may be ambiguous. It's the > only use of ü. Yep. > Wikipedia talks about a ü-free PinYin and Chinese use us-keyboards. Maybe for *ente

Re: [Groff] \o and \z do not work for -Tutf8

2014-08-04 Thread hohe72
"Bernd Warken" wrote (Mon, 4 Aug 2014 18:06:03 +0200): > For `gpinyin', the European-like Chinese, I need to create character > overstrikes for the 1st (a macron) and the 3rd tone (a caron). > To append an accent over the ü and Ü characters (u/U umlaut) for all > 4 tones seems to be even more com

Re: [Groff] underlining

2014-07-12 Thread hohe72
Ralph Corderoy wrote (Sat, 12 Jul 2014 14:15:41 +0100): > Hi Holger, > > > Doug McIlroy: > > > (1) Does white space get decorated? > > > > Yes. So it can be distinguished from multiple underlinings. > > Don't quite understand what you mean here? I guess Doug was thinking > of the difference

Re: [Groff] {Groff] underlining

2014-07-09 Thread hohe72
Doug McIlroy wrote (Tue, 08 Jul 2014 09:10:05 -0400): > (1) Does white space get decorated? Yes. So it can be distinguished from multiple underlinings. > (2) How about punctuation? When part of the string or text. So one can text it on the spot. > (3) Do multiple decorates terminate together

Re: [Groff] Letterspacing

2014-03-30 Thread hohe72
Werner LEMBERG wrote (Fri, 28 Mar 2014 06:44:19 +0100 (CET)): > Well, *if* someone is going to implement a better line breaking > algorithm, it should be the best available, and not a compromise. > Changes are necessary in any case... A clear word for mission statement. BTW. > > Like Doug, I sm

Re: [Groff] Letterspacing

2014-03-30 Thread hohe72
Peter Schaffter wrote (Thu, 27 Mar 2014 19:29:13 -0400): > On Thu, Mar 27, 2014, Tadziu Hoffmann wrote: > > > > > So there are two readily-available methods: varying > > > letter-spacing, or varying inter-word spacing. > > > > Not "or" -- "and". Most times, I opt for word-spacing adjustments.

Re: [Groff] Back to the future

2014-03-05 Thread hohe72
Peter Schaffter wrote (Mon, 3 Mar 2014 16:43:27 -0500): > > archaic, of limited use, poor typesetting compared to TeX, > legendarily difficult to master. None of it is true--except, of > course, the last bit. > > ... > > where are these front-ends to come from if we don't attract new > users w

Re: [Groff] The future redux

2014-03-01 Thread hohe72
Tadziu Hoffmann wrote (Wed, 26 Feb 2014 23:06:17 +0100): > > > Three browsers, three layouts (surf uses webkit). > > Hmmm, well, I suspect if you used groff with -Tlatin1, -Tlj4, > -Tdvi, and -Tps you might also get four different layouts... > Simply consider different browsers like different d

Re: [Groff] The future redux

2014-02-26 Thread hohe72
No, despite the Typos. Three browsers, three layouts (surf uses webkit). Firefox's is perfect! Holger "Eric S. Raymond" wrote (Wed, 26 Feb 2014 10:42:52 -0500): > hoh...@arcor.de : > > > Some years ago I enhanced geqn so it can emit MathML. > > > > What did I wrong? > > To emit MathXML get

Re: [Groff] The future redux

2014-02-26 Thread hohe72
"Eric S. Raymond" wrote (Wed, 26 Feb 2014 08:29:00 -0500): > hoh...@arcor.de : > > I don't got to what extend the support of web/ html features shall > > be supported -- catchword: use case. For instance, will eqn code be > > traversed to MathJax? > > Some years ago I enhanced geqn so it can e

Re: [Groff] The future redux

2014-02-26 Thread hohe72
Volker Wolfram wrote (Wed, 26 Feb 2014 07:59:35 +0100): > And as a newbie I don't know about the code and design of groff. But > I've changed from LaTeX to groff because it is simple and easy to > understand. +1 Using Groff features a learning curve with raising success. > And that is very cool

Re: [Groff] The future redux

2014-02-26 Thread hohe72
I don't got to what extend the support of web/ html features shall be supported -- catchword: use case. For instance, will eqn code be traversed to MathJax? Holger

Re: [Groff] Future direction of groff

2014-02-08 Thread hohe72
Tadziu Hoffmann wrote (Fri, 7 Feb 2014 00:29:11 +0100): > >> If the user set up the page margins incorrectly, you can hardly > >> blame the software for that... > > > > cannot see any border setups at http://asciidoc.org/article.txt > > You set it in the style sheet? Or on the command line? >

Re: [Groff] Future direction of groff

2014-02-06 Thread hohe72
cannot see any border setups at http://asciidoc.org/article.txt Tadziu Hoffmann wrote (Thu, 6 Feb 2014 16:20:47 +0100): > > > Found http://asciidoc.org/article.pdf that shows the Table of > > Contents shifted to the right and I'm glad that in using groff > > I can get ride of such artifacts (ye

Re: [Groff] space width

2014-02-06 Thread hohe72
Peter Schaffter wrote (Tue, 4 Feb 2014 11:32:00 -0500): > On Tue, Feb 04, 2014, Dave Kemper wrote: > > I understand the need for backwards compatibility, but I more and > > more find myself wishing groff had a global option to choose > > between "follow historical usage" and "be sane." For som

Re: [Groff] space width

2014-02-06 Thread hohe72
Peter Schaffter wrote (Sun, 2 Feb 2014 00:03:58 -0500): > On Sat, Feb 01, 2014, hoh...@arcor.de wrote: > > > > Werner LEMBERG wrote (Wed, 29 Jan 2014 06:37:05 +0100 > > (CET)): > > > Given today's memory abundance and the high velocity of CPUs, the > > > ideal route would be to implement a do

Re: [Groff] Future direction of groff

2014-02-06 Thread hohe72
"Eric S. Raymond" wrote (Tue, 4 Feb 2014 23:08:02 -0500): > James K. Lowden : > > Hmm, seems to me every document is presentation-centric, depending > > on what that means. Are you suggesting Postscript and PDF are not > > long for this world? Are we doomed to the eyesores produced by > > lousy

Re: [Groff] space width

2014-02-01 Thread hohe72
Werner LEMBERG wrote (Wed, 29 Jan 2014 06:37:05 +0100 (CET)): > Given today's memory abundance and the high velocity of CPUs, the > ideal route would be to implement a document-wide algorithm for > typesetting a document (in contrast to TeX's page-wide approach). I think, that an author can prev

Re: [Groff] Help with crop marks code

2013-11-30 Thread hohe72
Hi, a simple drawing might be: \\h'|-\\n(.ou+0.3c'\\v'|09.2c'\\D'l 0.6c 0'\ \\h'|\\n(.lu+\\n(.ou-1c'\\D'l 0.6c 0' This is drawing two lines: \D'l ' at the end, and temporary moves, where to start drawing: \v'|'\h'' Units are necessary due to default interpretations by groff, "|" makes position

Re: [Groff] tables side-by-side

2013-11-04 Thread hohe72
Once I stumbled over the .sp feature, to increase the output line number counter (.nm) at every call to .sp, and ask myself, if here is another "harmless" vertical movement intended to be used instead. For instance to have a paragraph spacing. --hh