Re: What is the difference between GNU groff and Mac OS X groff

2020-11-06 Thread Michail Vidiassov
Dear All, >>> What options are needed to make GNU groff behave the same as >>> Mac OS X groff? >> Do >> export GROFF_NO_SGR=yes >> in the shell and then try your groff command again. > OK. This works. Thanks. > So, that is the change between 1.19.2 and 1.22.4? It is not a change in groff itse

Re: [Groff] release ready

2014-10-17 Thread Michail Vidiassov
Dear Werner, >> minor update for Darwin (AKA OS X) versions > > Applied, thanks. Please, add to doc-common .ds doc-operating-system-Darwin-14.0.0 14.0.0 OS X 10.10 was released yesterday. Michail

Re: [Groff] release ready

2014-10-12 Thread Michail Vidiassov
Dear Werner, minor update for Darwin (AKA OS X) versions (inspired by http://opensource.apple.com/source/groff/groff-38/patches/tmac__doc-common.diff) Michail --- doc-common.org 2014-10-12 13:47:20.0 +0400 +++ doc-common 2014-10-12 15:15:48.0 +0400 @@ -619,6 +619,7 @@ .ds

Re: [Groff] Contributions

2009-08-12 Thread Michail Vidiassov
Dear Werner and Denis, On Fri, 22 May 2009, Denis M. Wilson wrote: I've put new versions of two packages on the web, my programs for installing the URW fonts for use with groff, and my -markup troff macros. in the following mail http://www.mail-archive.com/groff@gnu.org/msg01810.html it was r

Re: [Groff] Contributions

2009-05-27 Thread Michail Vidiassov
Dear Denis, > I've put new versions of two packages on the web, > my programs for installing the URW fonts for use with groff, > Futher suggestions are welcome. Look in: Since there are only two versions of URW fonts roaming around the net, original URW (AKA ghostscript-6 fonts) and current fonts

Re: [Groff] option to set output file name

2009-04-29 Thread Michail Vidiassov
Dear Ralph, >> Output redirection is no problem in shell scripts, but if groff is to >> be spawned from another program it becomes a problem, either you spawn a >> shell runing a script or spawn groff and have to bother with piping >> output. You can not just fire off groff and forget about it. >

[Groff] option to set output file name

2009-04-28 Thread Michail Vidiassov
Dear All, may be I am missing something trivial, but I can not find a command-line switch in groff to direct output to file. Output redirection is no problem in shell scripts, but if groff is to be spawned from another program it becomes a problem, either you spawn a shell runing a script or

[Groff] Heirloom compiled for Windows anywhere?

2009-04-03 Thread Michail Vidiassov
Dear Gunnar and All, is it possible to compile Heirloom for Windows? Are there any prebuilt packages anywhere on the Net? Sincerely, Michail

[Groff] Re: groff as a library? /* OT */

2009-02-26 Thread Michail Vidiassov
Dear Ralph, On Thu, 26 Feb 2009, Ralph Corderoy wrote: `groff -Z' produces that, doesn't it? Yes, but the question was about groff-like _library_. Oh, sorry, I come from an OS where programs do one thing and do it well and get plumbed together. Can you not call out of your language to get gro

Re: [Groff] groff as a library?

2009-02-26 Thread Michail Vidiassov
Dear Ralph, On Thu, 26 Feb 2009, Ralph Corderoy wrote: is there any library that works like groff - accepts a "rich" text, fonts (or font descriptions) and outputs the positions the glyphs are to be displayed at? `groff -Z' produces that, doesn't it? See groff_out(5) for the format. Yes, b

[Groff] groff as a library?

2009-02-26 Thread Michail Vidiassov
Dear All, is there any library that works like groff - accepts a "rich" text, fonts (or font descriptions) and outputs the positions the glyphs are to be displayed at? The use I have in mind is typesetting labels in 3D models, where the actual output of glyphs as 3D meshes is done by the main

[Groff] Re: Trying to understand groff development and release model

2008-12-23 Thread Michail Vidiassov
Dear Werner, please, one small improvement - add to tmac/doc-common .ds doc-operating-system-Darwin-9.6.0 9.6.0 for the newest Mac OS X 10.5.6 .ds doc-operating-system-FreeBSD-6.4 6.4 for now legacy FreeBSD release .ds doc-operating-system-FreeBSD-7.1 7.1 for the upcoming release (

[Groff] New PS Fonts package

2008-02-08 Thread Michail Vidiassov
Dear All, given the Unicode capabilities of the upcoming 1.19.3 it would be nice to create a set of fonts descriptions for some family of "unicode" fonts (with most of the glyphs groff can typeset - extended latin and cyrillic) and, may be, include it as an optional or contributed part of the gr

[Groff] State of the groff?

2008-02-03 Thread Michail Vidiassov
Dear Werner, the previos relaese was long ago and the development of groff seems to be less than active in the last months. What prevents you from releasing the next 1.19.3? What is on my radar - you have added UTF (and other encodings) support that works for latin-like languages (but that s

[Groff] ditroff+eqn as a library

2008-01-14 Thread Michail Vidiassov
Dear All, it is a somewhat offtopic question, but what cross-platform libraries for device-independent typesetting are here? The question arises from dealing with text output in cross-platform 3D library. It has its own polygon fonts and may use platform fonts or fonts from file and is able to

Re: [Groff] OTF in Groff or -mom in Heitrloom troff...

2008-01-10 Thread Michail Vidiassov
Dear Werner and All, On Thu, 10 Jan 2008, Werner LEMBERG wrote: Are there any plans to add "modern" font handling and format support a la "htroff" to groff No, unfortunately. Gurus, may you explain to mere mortals what are you talking about? What is that modern font handling in htroff? Does

[Groff] Re: New PS font definition files

2007-01-09 Thread Michail Vidiassov
Dear Werner, On Sun, 7 Jan 2007, Werner LEMBERG wrote: But if AGL 2.0 is sacred More or less, yes :-) .. maybe you find a better place for documentation. Why do you ask ME to document YOUR superstitions? ;) IMHO it is to be swept under the carpet and does not require any documentation.

[Groff] Re: New PS font definition files

2007-01-06 Thread Michail Vidiassov
Dear Werner, On Sat, 6 Jan 2007, Werner LEMBERG wrote: Delta u0394 Omega u03A9 mu u03BC Delta u2206 Omega u2126 mu u00B5 Honestly, I don't know whether it's better to change textmap or afmtodit. What do you prefer? I am also almost indifferent. But since we are correcting a bug originatin

[Groff] Re: New PS font definition files

2007-01-06 Thread Michail Vidiassov
Dear Werner, On Sat, 6 Jan 2007, Werner LEMBERG wrote: Delta, Omega, mu are to be mapped to greek letters or to symbols (in not-symbol fonts)? I favour `*D', `*W', and `*m' to be symbols, using `u03XX' for glyphs intended to write Greek. After rereading my answer I think that it is highly ambi

[Groff] Re: New PS font definition files

2007-01-05 Thread Michail Vidiassov
Dear Werner, On Wed, 3 Jan 2007, Werner LEMBERG wrote: Delta, Omega, mu are to be mapped to greek letters or to symbols (in not-symbol fonts)? I favour `*D', `*W', and `*m' to be symbols, using `u03XX' for glyphs intended to write Greek. I.e. for this three symbols we wil follow not AGL 2.0,

[Groff] Re: New PS font definition files

2007-01-03 Thread Michail Vidiassov
Dear Werner, On Mon, 1 Jan 2007, Werner LEMBERG wrote: Are you interested in font descriptions for URW fonts? As mentioned in an earlier thread, I won't integrate it into groff directly. Instead, I ask you to create an add-on package for them. The same should be done for the Adobe core fonts

Re: [Groff] New PS font definition files

2006-12-31 Thread Michail Vidiassov
Dear Werner, On Sun, 31 Dec 2006, Werner LEMBERG wrote: I've finally updated the 35 Adobe core fonts in devps. Please test. you did not use afmtodit option to include comments, reflecting font version etc. If afms for groff fonts (and symbol.afm) are in devps dir, symbolsl.afm must also be

[Groff] Re: groff special PS fonts

2006-05-29 Thread Michail Vidiassov
Dear Werner, On Tue, 7 Mar 2006, Werner LEMBERG wrote: concerning groff-special PS fonts FreeEuro, Symbol-Slanted and ZapfDingbats-Reverse. 1) Why afm files are not installed in devps folder? If someone uses the fonts, having corresponding afms around would be nice. Patches, please.

[Groff] Hey, our headman is in the news!

2006-05-08 Thread Michail Vidiassov
Dear All, as Subj. says: http://tug.org/interviews/interview-files/werner-lemberg.html Sincerely, Micahil ___ Groff mailing list Groff@gnu.org http://lists.gnu.org/mailman/listinfo/groff

Re: [Groff] Diversion of formatted text

2006-04-27 Thread Michail Vidiassov
Dear Miklos, On Thu, 27 Apr 2006, Werner LEMBERG wrote: If so, I need to re-phrase the question: how and where from and in what form can someone get hold of the new binary. E.g. those, like me, still on the original Mac groff diet, without compilers, etc. Do I have to upgrade to Tiger, do I

[Groff] PDF printing coming

2006-04-20 Thread Michail Vidiassov
Portable Document Format (PDF) is set to displace PostScript as the standard print job transfer and processing format for Linux, though Linux will maintain PostScript support for a long time to ensure backward compatibility. This switch was agreed upon at last week's Linux Desktop Printing Sum

[Groff] Adding URW fonts to groff

2006-04-19 Thread Michail Vidiassov
Dear Werner, generator for the set of groff descriptions of URW fonts attached. Please, test ;) BTW. IMHO it may well replace the existing devps/generate/Makefile after minor additional tweaking Sincerely, Michail PS. What about my tiny "comments" patch to afmtodit? URW.tgz Descriptio

[Groff] Re: PS fonts versions

2006-04-02 Thread Michail Vidiassov
Dear Werner, On Wed, 8 Mar 2006, Werner LEMBERG wrote: ... BTW, it might be a good idea to add comments to the devps font description files, giving the version and origin of the used AFMs. The patch to make afmtodit copy Comments, Notice, Version, FullName and FamilyName from AFM file to gro

Re: [Groff] incorrect position of 'caron' glyph??

2006-03-27 Thread Michail Vidiassov
Dear Werner, On Sun, 19 Mar 2006, Werner LEMBERG wrote: Sorry for the late reply. ... Especially accents over the frequently occuring 'c' and 's' would profit from a slight shift to the right. The metrics for `ah' are OK -- this is a spacing glyph. If you look into old AFM files (which sti

Re: [Groff] Adding (math) fonts to groff

2006-03-22 Thread Michail Vidiassov
forgottent attach/^StartFontMetrics / { print while ((getline < SYMAFM) > 0) { if (/^CharacterSet / || /^EncodingScheme / || /^Comment /) { print } } next } /^ItalicAngle 0$/ { print "ItalicAngle -15.5" next } /^FullName / { print $0 " Slanted" next } /^FSType / { next } { print } _

[Groff] Re: Adding fonts to groff

2006-03-20 Thread Michail Vidiassov
Dear Werner and All, On Mon, 20 Mar 2006, Michail Vidiassov wrote: while playing with PS fonts I have used printafm.ps file to get font metrics from PS printer or PS engine. Another nice utility is print_glyphs.ps from PDFLib. It prints pages of tables covering all glyphs in a font along

[Groff] Re: Adding fonts to groff

2006-03-20 Thread Michail Vidiassov
Dear Werner and All, while playing with PS fonts I have used printafm.ps file to get font metrics from PS printer or PS engine. It was originally written by James Clark (as groff itself) and later bundled with ghostscript. I have changed it a little to allow it to work with fonts with more then 2

[Groff] Re: Adding (math) fonts to groff

2006-03-19 Thread Michail Vidiassov
Dear Werner and Pedro Alejandro, an attempt to create URW fonts descriptions for groff had problems with Symbol-Slanted also http://lists.gnu.org/archive/html//groff/2002-04/msg00032.html On Sun, 19 Mar 2006, Werner LEMBERG wrote: I guess that printafm program, now bundled with ghostscript, wa

[Groff] Re: Adding fonts to groff

2006-03-18 Thread Michail Vidiassov
Dear Werner, On Fri, 17 Mar 2006, Werner LEMBERG wrote: It seems the changes from Adobe Symbol ver 001.001, apparently used to make symbolsl.afm, to the latest Symbol ver 001.008 you have sent me are minor (as afmdiff.awk from ghostscript shows). Thus the ancient black magick done by James Cla

[Groff] Adding fonts to groff

2006-03-16 Thread Michail Vidiassov
Dear Werner, you have wrote me concerning adding (or rather changing) groff math fonts S and SS (Symbol and Symbol-Slanted): .. Thus the manual creation of symbolsl.afm and tweaking of symbol.afm is to be redone :( Yes, it seems so. I don't have time to analyze this further. And you do not n

[Groff] Distilling into PDF grops output with ZDR font

2006-03-13 Thread Michail Vidiassov
Dear All, when I make a PDF from PS with ZapfDingbats-Reverse with ghostscript \(lh (left pointing hand) shows OK (bounding box is too small, but that is another issue). But if I use PSNormalizer built into my Mac OS X 10.4.5 (stripped version of some Adobe product) left hand is moved to the left

[Groff] Re: hyphenation and encoding

2006-03-13 Thread Michail Vidiassov
Dear Werner, On Tue, 14 Mar 2006, Werner LEMBERG wrote: And how can it be done? There are files for koi8 and cp1251 input (ones with lot of trins), Well, the default bundle of groff doesn't come with koi8 support. Do you want it? Or everything will be dealt with by preconv? Hmm, I've just

[Groff] hyphenation and encoding - was: Composed glyphs - quick and dirty solution

2006-03-13 Thread Michail Vidiassov
Dear Werner, On Sat, 4 Mar 2006, Werner LEMBERG wrote: PS. I did not quite follow the developments in hyphenation support. What has to be done to, say, russian hyphentaion file to adapt it to the next groff version? Currently, there are no changes w.r.t. hyphenation. Just take, say,

Re: [Groff] Re: grap-1.36 clip and logscale patch

2006-03-12 Thread Michail Vidiassov
Dear Ted, On Sun, 12 Mar 2006, Ted Faber wrote: Add DESTDIR to install and uninstall targets to support staged installations. I've added DESTDIR to the Makefile. The manual page can be munged by this, but honestly it's reasonably likely to be screwed up anyway. The --help and --version info

Re: [Groff] Re: grap-1.36 clip and logscale patch

2006-03-12 Thread Michail Vidiassov
Dear Ted, On Sat, 11 Mar 2006, Ted Faber wrote: one more wish: Add DESTDIR to install and uninstall targets to support staged installations. I'm not entirely sure what you want here. The deinstall target removes exactly what the install target put there, and you can tune them both using --

Re: [Groff] Adding fonts to groff -- instructions?

2006-03-11 Thread Michail Vidiassov
Dear Werner, On Sat, 11 Mar 2006, Werner LEMBERG wrote: In view of the current discussion on installing PS fonts in groff, I am reposting a method which I originally posted back in 2000. This is slightly out of date, I think. :-) It seems a lot of people would like to have such instruction.

Re: [Groff] Adding fonts to groff -- instructions?

2006-03-11 Thread Michail Vidiassov
Dear Robert, On Sat, 11 Mar 2006, Robert Marks wrote: I have never added a font to groff myself. Now I want to add an ESSTIX font (which comes with .pfb, .afm, .pfm, and .ttf files) and the only doc I can find is in the momdoc appendices, at http://faustus.dyn.ca/mom/momdoc/appendices.html#FON

Re: [Groff] PS printing

2006-03-11 Thread Michail Vidiassov
Dear M, On Sat, 11 Mar 2006, M Bianchi wrote: And the real question behind the poll is what version of the Adobe metrics to use - PostScript 2 or PostScript 3. does the default groff change from PS 2 to PS 3 and cause things that used to work "just like I wanted it to" change Something is i

[Groff] Re: groff special PS fonts

2006-03-11 Thread Michail Vidiassov
Dear Werner, On Tue, 7 Mar 2006, Werner LEMBERG wrote: 2) pfa files for SS and ZDR lack %%EndComments comment, mentioned in grops(1). Patches, please. if the example of a kosher font from grops font file for Garamond-Outline indicates its dependence on Garamond by means of the Docume

Re: [Groff] Re: grap-1.36 clip and logscale patch

2006-03-11 Thread Michail Vidiassov
Dear Ted, On Fri, 10 Mar 2006, Ted Faber wrote: Why not /usr/local/share/doc/grap/examples ? Additionally, the former location can't be controlled with an option to the configure script. I develop on FreeBSD, and this is where FreeBSD expects examples according to hier(9). But,

Re: [Groff] PS printing

2006-03-10 Thread Michail Vidiassov
Dear All, On Sat, 11 Mar 2006, Werner LEMBERG wrote: ... I would like to say that, whatever additional fonts become available with groff, the standard Adobe fonts should remain the default. You are probably misunderstanding. We are talking about updating the currently used Adobe metrics with

[Groff] Re: Composed glyphs - quick and dirty solution

2006-03-10 Thread Michail Vidiassov
Dear Werner, On Sat, 4 Mar 2006, Werner LEMBERG wrote: request to groff to activate an option so that it tries to compose missing glyphs automatically if both the base and accent characters are available. On the other hand I'm not sure whether this is a good thing from the typographical point

[Groff] Re: Composed glyphs - quick and dirty solution

2006-03-10 Thread Michail Vidiassov
Dear Werner, On Sat, 4 Mar 2006, Werner LEMBERG wrote: What PS fonts do groff fonts in devps describe? Here a list of the AFM file versions used for creating groff's PS font definition files. Courier.afm: 002.004 Courier-Bold.afm: 002.004 Couri

[Groff] Re: Composed glyphs - quick and dirty solution

2006-03-10 Thread Michail Vidiassov
Dear Werner, when inquiring into the problem of adding more glyphs to base PS fonts, I have got a question: What PS fonts do groff fonts in devps describe? Core14_AFMs.tar from Adobe has fonts with more precomposed gliphs and kern pairs. Ghostscript fonts (URW+Filippov) have fewer glyphs (Couri

[Groff] Re: Composed glyphs - quick and dirty solution

2006-03-10 Thread Michail Vidiassov
Dear Werner, On Fri, 3 Mar 2006, Werner LEMBERG wrote: request to groff to activate an option so that it tries to compose missing glyphs automatically if both the base and accent characters are available. On the other hand I'm not sure whether this is a good thing from the typographical point

[Groff] PS printing - was Re: `Idot' vs. `Idotaccent'

2006-03-10 Thread Michail Vidiassov
Dear All, let us run some survey. Please, tell us, how do you use groff PS output. Do you know how other people use it? Is it really in use? Do you use fonts supplied with groff or install your own font files? Werner is now desiding what to consider the default font set for devps. Sincerel

[Groff] Re: PS fonts versions

2006-03-07 Thread Michail Vidiassov
Dear Werner, On Tue, 7 Mar 2006, Werner LEMBERG wrote: The main problem (for me) is that I can not find a standard document with font metrics information. What exactly do you mean with this sentence? Some authoritative text saying something like "any PS 2/3 printer/implementation should hav

[Groff] Re: PS fonts versions

2006-03-07 Thread Michail Vidiassov
Dear Werner, On Tue, 7 Mar 2006, Werner LEMBERG wrote: until now noone has reported problems w.r.t. missing characters in the standard PS fonts. On the other hand, there are probably just a handful Turkish groff users which use the original PS Adobe fonts together with groff. What about West

[Groff] Re: PS fonts versions

2006-03-07 Thread Michail Vidiassov
Dear Werner, On Tue, 7 Mar 2006, Werner LEMBERG wrote: Actually, I don't consider the whole issue as very urgently because until now noone has reported problems w.r.t. missing characters in the standard PS fonts. On the other hand, there are probably just a handful Turkish groff users which us

[Groff] Re: PS fonts versions

2006-03-07 Thread Michail Vidiassov
Dear Werner, On Mon, 6 Mar 2006, Werner LEMBERG wrote: one more reason for you to consider regenerating fonts for devps. CR font now has Idot. This is a very good argument I wasn't aware of. Are there newer AFM files for the other fonts too? A good question. On one hand, there are 35 URW P

[Groff] groff special PS fonts

2006-03-07 Thread Michail Vidiassov
Dear Werner, concerning groff-special PS fonts FreeEuro, Symbol-Slanted and ZapfDingbats-Reverse. 1) Why afm files are not installed in devps folder? If someone uses the fonts, having corresponding afms around would be nice. 2) pfa files for SS and ZDR lack %%EndComments comment, men

[Groff] PS fonts with CC lines in AFM

2006-03-06 Thread Michail Vidiassov
Dear Werner, On Sat, 4 Mar 2006, Werner LEMBERG wrote: No. For example, my AvantGarde-Book.afm file version 001.006 (directly from Adobe, I think) has this: StartComposites 56 CC Aacute 2 ; PCC A 0 0 ; PCC acute 183 163 ; Are there Courier/Helvetica/Times versions with CC lines? Yes. A

[Groff] PS fonts versions

2006-03-05 Thread Michail Vidiassov
Dear Werner, one more reason for you to consider regenerating fonts for devps. CR font now has Idot. Idot is not in the original 229 Standart Character Set from PLRM v2. Idot is not in the new 315 Standart Character Set from PLRM v3 (it has Idotaccent). Idot is not in the font used by Gho

Re: [Groff] unicode support - where to compose?

2006-02-22 Thread Michail Vidiassov
Dear Bruno, On Tue, 21 Feb 2006, Bruno Haible wrote: When an input file contains the character , preconv transforms it to \[u1EBF], and troff transforms it to a single glyph u0065_0302_0301. Fine. But when an input file contains the characters , preconv transforms it to x\[u0302]\[u0301], and

Re: [Groff] man.conf

2006-02-22 Thread Michail Vidiassov
Dear Werner, On Tue, 21 Feb 2006, Werner LEMBERG wrote: man.conf from man-1.5p has the following lines: # For use with utf-8, NROFF should be "nroff -mandoc" without -T # option. (Maybe - but today I need -Tlatin1 to prevent double # conversion to utf8.) No idea why they don't use -Tutf8, e

[Groff] unicode support, many parts - what for?

2006-02-21 Thread Michail Vidiassov
Dear Werner and Bruno, On Fri, 17 Feb 2006, Werner LEMBERG wrote: Before freezing the glyph API, let me add more naming fixes and comments. Bruno, all your patches are now in the CVS, thanks! Werner may you, please, explain to mere mortals what user-visible changes arise (are likely to ar

[Groff] man.conf

2006-02-21 Thread Michail Vidiassov
Dear All, man.conf from man-1.5p has the following lines: # For use with utf-8, NROFF should be "nroff -mandoc" without -T option. # (Maybe - but today I need -Tlatin1 to prevent double conversion to utf8.) configure has # -Tlatin1 is bad when utf8 is used, but needed for groff, not for nroff

[Groff] Re: groff + mp

2006-02-21 Thread Michail Vidiassov
On Tue, 14 Feb 2006, Werner LEMBERG wrote: I want us to try to push groff support into the next metapost version. What do you want the MetaPost people do? Among other things, I want them to change documentation, reflecting the fact that groff is the version of troff in use. If you take a lo

Re: [Groff] mapping of glyphs to Unicode

2006-02-15 Thread Michail Vidiassov
Dear All, On Wed, 15 Feb 2006, Bruno Haible wrote: Michail Vidiassov wrote: PS. BTW, can you point me to a font having that MATHEMATICAL * ANGLE BRACKETs ? Sure, the Misc-Fixed fonts from Markus Kuhn, such as -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1, have it. Oh

Re: [Groff] mapping of glyphs to Unicode

2006-02-14 Thread Michail Vidiassov
Dear All, let me remind you what Werner already said on the la/ra issue about 09 MAr 2005, while discussing "ubuntu, groff and utf-8" PS. Are you sure that mapping in devutf8 fonts (and other places) `la' and `ra' to 0x27E8(MATHEMATICAL LEFT ANGLE BRACKET) and 0x27E9 is a good idea? For UTF-8

[Groff] Re: groff + mp

2006-02-13 Thread Michail Vidiassov
Dear Werner, On Mon, 13 Feb 2006, Werner LEMBERG wrote: Multiple reeencodings happen all the time in LaTeX. If this dvips snippet works fine, I think we can take it too... Just tell me whether I shall use it :-) I still don't know enough about this topic (and admittedly, I'n not very interes

[Groff] Re: groff + mp

2006-02-12 Thread Michail Vidiassov
Dear Werner, On Sun, 12 Feb 2006, Werner LEMBERG wrote: But the similar routine in dvips has { 1 index /FID ne 2 index /UniqueID ne and {def} {pop pop} ifelse } forall Did you consider that UniqueID issue? No -- the RE macro in groff is Clark's original code. Until now there w

[Groff] Re: groff + mp

2006-02-12 Thread Michail Vidiassov
Dear Werner, one more quetsion: in groff PS output reencoding of fonts is dome by the RE routine with the following code within: { 1 index/FID ne{def}{pop pop}ifelse }forall But the similar routine in dvips has { 1 index /FID ne 2 index /UniqueID ne and {def} {pop pop} ifelse } foral

[Groff] Re: groff + mp

2006-02-10 Thread Michail Vidiassov
Dear Werner, On Fri, 10 Feb 2006, Werner LEMBERG wrote: I see a difference in approaches. You are after metapost for groff (metapost pictures in groff document), while I am after groff for metapost (groff-made labels in metapost output). Exactly. Thus my remark to merge both approaches into

[Groff] Re: groff + mp

2006-02-10 Thread Michail Vidiassov
Dear Werner, On Fri, 10 Feb 2006, Werner LEMBERG wrote: Time to make a bug report to metapost people? Please do. I see a difference in approaches. You are after metapost for groff (metapost pictures in groff document), while I am after groff for metapost (groff-made labels in metapost outp

[Groff] Re: groff + mp

2006-02-09 Thread Michail Vidiassov
Dear Werner, On Fri, 3 Feb 2006, Werner LEMBERG wrote: Please, take a look at the file, produced by fixgrofffonts.awk. Is it a valid eps file? From the point of DSC, your grdemo.ps file isn't. . According to the DSC it is better to use %%DocumentNeededResources and %%DocumentSupplie

Re: [Groff] UTF-8 Readiness

2006-01-19 Thread Michail Vidiassov
Dear Werner, On Thu, 19 Jan 2006, Werner LEMBERG wrote: Is the current CVS of groff, utf-8 friendly. Yes. Note that you still need fonts which actually have those Unicode characters. What is the list of supported scripts/languages? What about including with groff some base set of large fonts

[Groff] Re: How to make EPS?

2006-01-19 Thread Michail Vidiassov
Dear Werner, On Thu, 19 Jan 2006, you wrote: BTW, GNU sed 4.1.4 (and 4.0.9) doesn't work correctly with the ps2epsi script which comes with gs 8.53. The following regexp construct [^!-~] makes sed incorrectly complain (and abort) with invalid range end You have to write [^!-\~] as it

[Groff] Re: How to make EPS?

2006-01-18 Thread Michail Vidiassov
Dear Werner, Tadziu Hoffmann wrote: Another thing to note is that setting the MediaBox in the PDF-file from the BoundingBox in the PS-file using -dEPSCrop appears to work only when the "EPSF"-signature is present in the first line of the PS-file. And gs is correct doing so, since Encapsulate

[Groff] Re: How to make EPS?

2006-01-18 Thread Michail Vidiassov
Dear Werner, On Wed, 18 Jan 2006, Werner LEMBERG wrote: 1) If small page size is set with -P-p2i,2i command-line switch for groff, pdf file produced by gs from the resulting eps file is not 2in x 2in, but full letter-size page (see foo_small.eps, foo_small.pdf, foo_small.txt in the att

[Groff] Re: How to make EPS?

2006-01-17 Thread Michail Vidiassov
Dear All, On Tue, 17 Jan 2006, walter harms wrote: is the usage of gs an option ? it has program called ps2epsi. Michail Vidiassov wrote: can somebody, please, provide me with a working set of commands to make a EPS file with groff? Yes, I did read the FM, but the commands mentioned there

[Groff] How to make EPS?

2006-01-16 Thread Michail Vidiassov
Dear All, can somebody, please, provide me with a working set of commands to make a EPS file with groff? Yes, I did read the FM, but the commands mentioned there did not work for me. Do they work for you? Sincerely, Michail PS. Werner, if you see me (jumping and waving hands des

Re: [Groff] Re: What's missing for Unicode support of groff?

2006-01-03 Thread Michail Vidiassov
Dear Werner, PS. What about groff + metapost? ;) My scripts to embed MetaPost output into a groff document rely on this, so I think I have to fix this... But my concern was to reenable metapost to use roff-produced labels, quite the opposite to what your script does. Sincerely, Mi

[Groff] Re: What's missing for Unicode support of groff?

2006-01-03 Thread Michail Vidiassov
Dear Werner, I wrote you some time ago: I have tested unicode support in groff and stepped over a bug (IMHO). grops(1) tells A downloadable font should not include its own name in a %%DocumentSuppliedResources comment. But the FreeEuro font does not follow this convention. Now, whe

[Groff] Re: preconv now in groff CVS

2006-01-01 Thread Michail Vidiassov
Dear Werner, there is a typo in the "usage" function of preconv.cpp: "-e encoding specify inpput encoding\n" Sincerely, Michail ___ Groff mailing list Groff@gnu.org http://lists.gnu.org/mailman/listinfo/groff

[Groff] Re: What's missing for Unicode support of groff?

2006-01-01 Thread Michail Vidiassov
Dear Werner, On Fri, 30 Dec 2005, you wrote: Which Darwin versions are defined? Is it really simply `Darwin' and nothing else? Since Darwin is "the UNIX core of Mac OS X" Apple is the ultimate source of knowledge on Darwin versions: http://www.opensource.apple.com/darwinsource/

[Groff] Re: What's missing for Unicode support of groff?

2005-12-11 Thread Michail Vidiassov
Dear Werner, On Sun, 11 Dec 2005, Werner LEMBERG wrote: I'll work with gpreconv, looking into your and Bernd Haible's solution to make a water-proof UTF-8 -> groff entity conversion. Considering UTF and Unicode in general, there is a problem of Normalization. I.e. it would be nice to have UTF

[Groff] Re: What's missing for Unicode support of groff?

2005-12-11 Thread Michail Vidiassov
Dear Werner, On Sun, 11 Dec 2005, Werner LEMBERG wrote: Thanks. Note that I don't like libutf-8 (besides licensing issues see http://jamesthornton.com/linux/HOWTO/Unicode-HOWTO-6.html). Instead, I want handling of UTF-8 completely in gpreconv. Drawbacks: Non-standard API. - Not an issue.

[Groff] Re: What's missing for Unicode support of groff?

2005-12-11 Thread Michail Vidiassov
On Sun, 11 Dec 2005, Werner LEMBERG wrote: I'll work with gpreconv, looking into your and Bernd Haible's solution to make a water-proof UTF-8 -> groff entity conversion. But there are "not implemented yet" comments in roff-related parts of the code. This comment is incorrect -- Tomohiro has

[Groff] Re: What's missing for Unicode support of groff?

2005-12-11 Thread Michail Vidiassov
On Sun, 11 Dec 2005, Werner LEMBERG wrote: Mac sed is the BSD sed (OS X takes a lot from FreeBSD). If I install GNU sed I get the same results as you. Please tell us the results which BSD sed produces. I want to check whether this is a bug, an imcompatibility, or a non-POSIX expression. Th

[Groff] Re: What's missing for Unicode support of groff?

2005-12-11 Thread Michail Vidiassov
Dear Werner, On Sun, 11 Dec 2005, Werner LEMBERG wrote: 3 There is an OS called Darwin It would be nice to include Darwin in the list of known OS'es: Which Darwin versions are defined? Is it really simply `Darwin' and nothing else? uname -a told me Darwin isaa.radio-msu.net 8.3.0 Darwin

[Groff] Re: What's missing for Unicode support of groff?

2005-12-11 Thread Michail Vidiassov
Dear Werner, On Sun, 11 Dec 2005, Werner LEMBERG wrote: I have compiled groff-current on MacOS X 10.4.3 and stepped over the following bug makeinfo (GNU texinfo) 4.8 My texinfo reports the same. configure does not parse the version string correctly and complains that version is too old (

[Groff] Re: What's missing for Unicode support of groff?

2005-12-11 Thread Michail Vidiassov
Dear Werner, On Sun, 11 Dec 2005, Werner LEMBERG wrote: I have failed to find a place in troff code to plug utf decoder in. Thus let us do in the UNIX way - since groff already lives off a pipeline, one more preprocessor for dealing with encodings will not hurt. [...] What you suggest is *ex

[Groff] Re: What's missing for Unicode support of groff?

2005-12-10 Thread Michail Vidiassov
Dear Werner, On Sat, 10 Dec 2005, Werner LEMBERG wrote: In short - I proposed a simple hack to accept UTF8 input encoding, triggered by -mutf8 on the command line, This is not possible, I think. `-m' only handles macro stuff. I thought to make -mutf8 a special case. But, as you have m

[Groff] Re: What's missing for Unicode support of groff?

2005-12-09 Thread Michail Vidiassov
Dear Werner, In short - I proposed a simple hack to accept UTF8 input encoding, triggered by -mutf8 on the commanf line, a quick and dirty solution. gpreconv is just a digest of this thread (and "man pages encoding" one), translated from English to C. It suggest how to do it properly. Let us l

[Groff] Re: What's missing for Unicode support of groff?

2005-12-04 Thread Michail Vidiassov
Dear Werner, On Fri, 2 Dec 2005, Werner LEMBERG wrote: 3. Some other bugs: afmtodit needs a patch, since we do not encode variant glyphs with ps names smth.smth, but they may be present in kerning tables. I can find a patch in your unicodetest bundle. Do you mean this one? Yes grops(1) t

[Groff] Re: What's missing for Unicode support of groff?

2005-12-01 Thread Michail Vidiassov
Dear Werner, I have tested unicode support in groff and stepped over a bug (IMHO). 1. I have converted a font MyriadPro-Regular from Acrobat Reader 7 to pfa+afm by fontforge and afm to groff font description by afmtodit. Font is named MPR, encoded with groff encoding and set to be downloaded by

[Groff] Re: What's missing for Unicode support of groff?

2005-12-01 Thread Michail Vidiassov
Dear Werner, I have tested unicode support in groff and stepped over a bug (IMHO). 1. I have converted a font MyriadPro-Regular from Acrobat Reader 7 to pfa+afm by fontforge and afm to groff font description by afmtodit. Font is named MPR, encoded with groff encoding and set to be downloaded by

[Groff] Re: What's missing for Unicode support of groff?

2005-09-08 Thread Michail Vidiassov
Dear Werner, What exactly do you mean? Converting UTF-8 to, say, latin-1 with `iconv' is already a quick-and-dirty solution. Another possibility is to take a groff UTF8 font definition file and put all Unicode->glyph entities into a big perl (or python) table. I mean that you had an idea to u

[Groff] Re: What's missing for Unicode support of groff?

2005-09-07 Thread Michail Vidiassov
Dear Werner, you wrote: > What else is needed to support Unicode on the input side? My suggestion would be to start by picking one of the several UTF-8 preprocessors that have floated across the list lately, and include it in groff. Perhaps it's a little late to do for 1.19.2, but the next u

Re: [Groff] ubuntu, groff and utf-8

2005-06-10 Thread Michail Vidiassov
Dear Werner, some time ago you wrote: ... groff doesn't yet support UTF8 input. You have to convert your file first to something groff can understand. Below is a small perl script which does that. Attached is a small C program that does that. Why not to put something like that code into groff

Re: [Groff] grops and Unicode, Unicode in general.

2005-05-23 Thread Michail Vidiassov
Dear Wartan (and All), the previuos exchange went as follows: I wrote: 2) To choose some rich font set (MS Times New Roman/Arial/Courier New ?) > and have dit files for them installed by default. Wartan wrote: .. but not for these fonts. They have a license that prevents redistribution, ..

Re: [Groff] grops and Unicode, Unicode in general.

2005-05-18 Thread Michail Vidiassov
Dear Erich, you wrote to Wartan: What is the current status regarding the denoted combination? I would really like to have cyrillic working out-of-the-box (together with other scripts, but Russian cyrillic worries me most :) with (at least) PostScript output. You can create those fonts yourself.

Re: [Groff] ubuntu, groff and utf-8

2005-03-15 Thread Michail Vidiassov
Dear Werner, On Mon, 14 Mar 2005, you wrote: > > > I want a library of artificial > > > characters which combines base characters and accents to composite > > > characters, [...] > > > > Such substuitution, if done properly, has to be font-dependent and > > resorted to only if the font lacks prec

Re: [Groff] ubuntu, groff and utf-8

2005-03-14 Thread Michail Vidiassov
Dear Alejandro and All: as far as I understand, the situation with character composition in groff is as follows 1) General case Opentype fonts may have character composition information, but it is hard to get out of the font. PS fonts used to have composition information, but it is of no u

  1   2   >