Re: [Groff] .hcode request with german umlauts inside utf8 input file

2014-07-29 Thread Carsten Kunze
> No, it's not a bug in preconv, it's a bug in troff: `.hcode' and `.hw' > are limited to raw 8bit characters. Instead, they should accept any > characters entities like `\[u00AD]'. Similarly, `.hpfcode' should be > modified to allow entities, too. I agree! That really would be the best solution

Re: [Groff] .hcode request with german umlauts inside utf8 input file

2014-07-29 Thread Ralph Corderoy
Hi Carsten, > Ok, I'll do that. Post the URL to the list when it's done; will help someone reading the list archives in the future. > > PS: A clean solution currently is to put `.hw' lines into a separate > > file that uses the proper 8bit encoding, and that file gets then > > included with `.s

Re: [Groff] .hcode request with german umlauts inside utf8 input file

2014-07-29 Thread Carsten Kunze
Hi Ralph, > Post the URL to the list when it's done; will help someone reading the > list archives in the future. The issue report can be found in https://savannah.gnu.org/bugs/index.php?42870 > You could use .pso to read in an `iconv -t iso-8859-1' of your > UTF-8-encoded file. :-) That's a

Re: [Groff] Input file_case encapsulation --with-unpack (and --with-zlib) support

2014-07-29 Thread Werner LEMBERG
> Is this something I should be looking at? Yes, this might be a good start. The problem is small, well defined, and it would help you start with the implementation details. Handling of hyphenation data structures is mainly in troff's source code file `env.cpp', with some minor bits in `input.c

Re: [Groff] Input file_case encapsulation --with-unpack (and --with-zlib) support

2014-07-29 Thread Vaibhaw Pandey
Werner, You had suggested to me to start around process_input_stack earlier so I have some handle on what goes around there. I will take this up. Steffen, I will help to understand this, will contact you soon. Thanks, Vaibhaw On Tue, Jul 29, 2014 at 3:14 PM, Werner LEMBERG wrote: > > > Is t

[Groff] \[-+] not available? why?

2014-07-29 Thread Anton Shterenlikht
I'm looking at groff_char(7) and see N/A \[-+]uni2213 u2213 or when I try using it: full.1:5686: warning: can't find special character `-+' How can I access the "minus plus" symbol? Thanks Anton

Re: [Groff] \[-+] not available? why?

2014-07-29 Thread Carsten Kunze
> How can I access the "minus plus" symbol? "\(+-" works for me. Maybe the charactor order you use is wrong. --Carsten

Re: [Groff] \[-+] not available? why?

2014-07-29 Thread Ralph Corderoy
Hi Anton, > I'm looking at groff_char(7) and see > >N/A \[-+]uni2213 u2213 > > or when I try using it: > > full.1:5686: warning: can't find special character `-+' > > How can I access the "minus plus" symbol? Tell us a little more about how you are trying. I

Re: [Groff] \[-+] not available? why?

2014-07-29 Thread Carsten Kunze
> I'm looking at groff_char(7) and see > >N/A \[-+]uni2213 u2213 > > or when I try using it: > > full.1:5686: warning: can't find special character `-+' Sorry, had not read the mail correctly. Does also not work for me with \(-+ or \[-+] or \[u2213] and troff -Tps

Re: [Groff] \[-+] not available? why?

2014-07-29 Thread Werner LEMBERG
> I'm looking at groff_char(7) and see > >N/A \[-+]uni2213 u2213 > > or when I try using it: > > full.1:5686: warning: can't find special character `-+' > > How can I access the "minus plus" symbol? Doing grep -e '-+' `find -type f`' within groff's `font' dire

Re: [Groff] \[-+] not available? why?

2014-07-29 Thread Ted Harding
On 29-Jul-2014 12:42:53 Ralph Corderoy wrote: > Hi Anton, > >> I'm looking at groff_char(7) and see >> >>N/A \[-+]uni2213 u2213 >> >> or when I try using it: >> >> full.1:5686: warning: can't find special character `-+' >> >> How can I access the "minus plus"

Re: [Groff] \[-+] not available? why?

2014-07-29 Thread Ralph Corderoy
I wrote: > $ echo '\[-+]' | nroff | grep . > ∓ > $ echo '\[-+]' | nroff -Tascii | grep . > -+ > $ echo '\[-+]' | nroff -Tiso-8859-1 | grep . > ∓ > $ I made a mistake with `nroff -Tiso-8859-1'; that's not a valid -T value. nroff(1) says If neither the GROFF_TYPESE

Re: [Groff] \[-+] not available? why?

2014-07-29 Thread Anton Shterenlikht
>From groff-bounces+mexas=bristol.ac...@gnu.org Tue Jul 29 13:41:51 2014 > >> How can I access the "minus plus" symbol? > >"\(+-" works for me. Maybe the charactor order you use is wrong. I need "minus plus" as well as "plus minus". For plus minus you can also use \[+-]. But \[-+] gives warning, a

Re: [Groff] \[-+] not available? why?

2014-07-29 Thread Ted Harding
On 29-Jul-2014 14:05:46 Anton Shterenlikht wrote: >>From groff-bounces+mexas=bristol.ac...@gnu.org Tue Jul 29 13:41:51 2014 >> >>> How can I access the "minus plus" symbol? >> >>"\(+-" works for me. Maybe the charactor order you use is wrong. > > I need "minus plus" as well as "plus minus". > For

Re: [Groff] \[-+] not available? why?

2014-07-29 Thread Ralph Corderoy
Hi Ted, > When you say 'I need "minus plus" as well as "plus minus", do you > mean that you also need a symbol consisting of a "-" sign above > a "+" sign? Yes. (I didn't spot the distinction.) $ curl -sS http://partners.adobe.com/public/developer/en/opentype/glyphlist.txt | > egrep '(

Re: [Groff] Inputfile_caseencapsulation --with-unpack (and --with-zlib) support

2014-07-29 Thread Steffen Nurpmeso
Hallo Werner, Werner LEMBERG wrote: |I don't have time to review this. I suggest that you open an |bugtracker issue and post a cleaned-up mbox file for further |inspection. You don't need to review but could just commit it, it is ok by itself. I.e., i would commit it. |It's really time th

Re: [Groff] \[-+] not available? why?

2014-07-29 Thread Carsten Kunze
> > Yes, I use Postscript output. As far as I understood > > from Werner's reply, this symbol is now available via > > the PS driver. > > > > Anton > > In case you don't have it available, or can't access it, I will > how how to create it! (But not just now, since I have to do other > things; so

Re: [Groff] \[-+] not available? why?

2014-07-29 Thread Denis M. Wilson
Try something like .char \[-+] \f[S]\v'.1v'\z+\v'-.25v'\-\v'.25v'\v'-.1v'\f[] The spacing needs more fine-tuning, I don't have time at the moment. Denis On Tue, 29 Jul 2014 16:21:01 +0100 (BST) (Ted Harding) wrote: > On 29-Jul-2014 15:14:27 Anton Shterenlikht wrote: > >>From ra...@inputplus.c

Re: [Groff] \[-+] not available? why?

2014-07-29 Thread Anton Shterenlikht
>From ra...@inputplus.co.uk Tue Jul 29 15:42:56 2014 > >Hi Ted, > >> When you say 'I need "minus plus" as well as "plus minus", do you >> mean that you also need a symbol consisting of a "-" sign above >> a "+" sign? > >Yes. (I didn't spot the distinction.) > >$ curl -sS > http://partners.ado

Re: [Groff] \[-+] not available? why?

2014-07-29 Thread Ted Harding
On 29-Jul-2014 15:14:27 Anton Shterenlikht wrote: >>From ra...@inputplus.co.uk Tue Jul 29 15:42:56 2014 >> >>Hi Ted, >> >>> When you say 'I need "minus plus" as well as "plus minus", do you >>> mean that you also need a symbol consisting of a "-" sign above >>> a "+" sign? >> >>Yes. (I didn't spot

Re: [Groff] \[-+] not available? why?

2014-07-29 Thread Anton Shterenlikht
>From groff-bounces+mexas=bristol.ac...@gnu.org Tue Jul 29 17:21:12 2014 > >Try something like > >.char \[-+] \f[S]\v'.1v'\z+\v'-.25v'\-\v'.25v'\v'-.1v'\f[] > >The spacing needs more fine-tuning, I don't have time at the moment. This is good, although it's a bit lower on the line than \[+-]. Anywa

Re: [Groff] \[-+] not available? why?

2014-07-29 Thread Werner LEMBERG
> Yes, I use Postscript output. As far as I understood from Werner's > reply, this symbol is now available via the PS driver. The *symbol* does exist, yes, but the default `S' font doesn't contain it. You have to get a PS font that supports this glyph. Werner

Re: [Groff] \[-+] not available? why?

2014-07-29 Thread Werner LEMBERG
> nroff(1) says > > If neither the GROFF_TYPESETTER environment variable nor the -T > command line option (which overrides the environment variable) > specifies a (valid) device, nroff checks the current locale to > select a default output device. > > Why is it useful to have nro