[bug-gs] troff-grops-ps2pdf problem
William.A.Ward.Jr at erdc.usace.army.mil
William.A.Ward.Jr at erdc.usace.army.mil
Fri Dec 19 11:49:15 PST 2003
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C3C669.2EF48B70
Content-Type: text/plain;
charset="iso-8859-1"
Hello,
I got this e-mail address of the "ps2pdf" manpage on my Linux system
as the address for L. Peter Deutsch. I am having a problem with using
troff-grops-ps2pdf. Below is my shell script:
#!/bin/sh
rm -f a.pdf a.ps a.troff
troff myinput > a.troff
grops < a.troff > a.ps
ps2pdf a.ps a.pdf
acroread a.pdf
The file "myinput" contains
.sp
Specific
Specific
.bp
Specific
Specific
My version info is
GNU troff (groff) version 1.19
GNU grops (groff) version 1.19
GNU Ghostscript 7.05 (2002-04-22)
First page output: "Specific Specific"
Second page output:"Specifi c Specifi c"
Basically the ligatures for "fi" don't work right after the
first page since there is a large space after the "fi" so
that the "c" is almost a separate word.
The tail of file a.ps looks like:
%%EndProlog
%%Page: 1 1
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman at 0 SF(Speci\214c Speci\214c)72 24 Q 0 Cg EP
%%Page: 2 2
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman at 0 SF(Speci\214c Speci\214c)72 12 Q 0 Cg EP
%%Trailer
end
%%EOF
I can work around this in troff by turning of ligatures and
then manually inserting them (yuck!):
.lg 0
.sp
Speci\(fic
Speci\(fic
.bp
Speci\(fic
Speci\(fic
Do you have any idea where the problem might be?
Best regards,
Bill Ward
------_=_NextPart_001_01C3C669.2EF48B70
Content-Type: text/html;
charset="iso-8859-1"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2654.45">
<TITLE>troff-grops-ps2pdf problem</TITLE>
</HEAD>
<BODY>
<BR>
<P><FONT SIZE=2 FACE="Courier">Hello,</FONT>
</P>
<P><FONT SIZE=2 FACE="Courier">I got this e-mail address of the "ps2pdf" manpage on my Linux system</FONT>
<BR><FONT SIZE=2 FACE="Courier">as the address for L. Peter Deutsch. I am having a problem with using</FONT>
<BR><FONT SIZE=2 FACE="Courier">troff-grops-ps2pdf. Below is my shell script:</FONT>
</P>
<P><FONT SIZE=2 FACE="Courier">#!/bin/sh</FONT>
<BR><FONT SIZE=2 FACE="Courier">rm -f a.pdf a.ps a.troff</FONT>
<BR><FONT SIZE=2 FACE="Courier">troff myinput > a.troff</FONT>
<BR><FONT SIZE=2 FACE="Courier">grops < a.troff > a.ps</FONT>
<BR><FONT SIZE=2 FACE="Courier">ps2pdf a.ps a.pdf</FONT>
<BR><FONT SIZE=2 FACE="Courier">acroread a.pdf</FONT>
</P>
<P><FONT SIZE=2 FACE="Courier">The file "myinput" contains</FONT>
</P>
<P><FONT SIZE=2 FACE="Courier">.sp</FONT>
<BR><FONT SIZE=2 FACE="Courier">Specific</FONT>
<BR><FONT SIZE=2 FACE="Courier">Specific</FONT>
<BR><FONT SIZE=2 FACE="Courier">.bp</FONT>
<BR><FONT SIZE=2 FACE="Courier">Specific</FONT>
<BR><FONT SIZE=2 FACE="Courier">Specific</FONT>
</P>
<P><FONT SIZE=2 FACE="Courier">My version info is</FONT>
</P>
<P><FONT SIZE=2 FACE="Courier">GNU troff (groff) version 1.19</FONT>
<BR><FONT SIZE=2 FACE="Courier">GNU grops (groff) version 1.19</FONT>
<BR><FONT SIZE=2 FACE="Courier">GNU Ghostscript 7.05 (2002-04-22)</FONT>
</P>
<P><FONT SIZE=2 FACE="Courier">First page output: "Specific Specific"</FONT>
<BR><FONT SIZE=2 FACE="Courier">Second page output:"Specifi c Specifi c"</FONT>
</P>
<P><FONT SIZE=2 FACE="Courier">Basically the ligatures for "fi" don't work right after the</FONT>
<BR><FONT SIZE=2 FACE="Courier">first page since there is a large space after the "fi" so</FONT>
<BR><FONT SIZE=2 FACE="Courier">that the "c" is almost a separate word.</FONT>
</P>
<P><FONT SIZE=2 FACE="Courier">The tail of file a.ps looks like:</FONT>
</P>
<P><FONT SIZE=2 FACE="Courier">%%EndProlog</FONT>
<BR><FONT SIZE=2 FACE="Courier">%%Page: 1 1</FONT>
<BR><FONT SIZE=2 FACE="Courier">%%BeginPageSetup</FONT>
<BR><FONT SIZE=2 FACE="Courier">BP</FONT>
<BR><FONT SIZE=2 FACE="Courier">%%EndPageSetup</FONT>
<BR><FONT SIZE=2 FACE="Courier">/F0 10/Times-Roman at 0 SF(Speci\214c Speci\214c)72 24 Q 0 Cg EP</FONT>
<BR><FONT SIZE=2 FACE="Courier">%%Page: 2 2</FONT>
<BR><FONT SIZE=2 FACE="Courier">%%BeginPageSetup</FONT>
<BR><FONT SIZE=2 FACE="Courier">BP</FONT>
<BR><FONT SIZE=2 FACE="Courier">%%EndPageSetup</FONT>
<BR><FONT SIZE=2 FACE="Courier">/F0 10/Times-Roman at 0 SF(Speci\214c Speci\214c)72 12 Q 0 Cg EP</FONT>
<BR><FONT SIZE=2 FACE="Courier">%%Trailer</FONT>
<BR><FONT SIZE=2 FACE="Courier">end</FONT>
<BR><FONT SIZE=2 FACE="Courier">%%EOF</FONT>
</P>
<P><FONT SIZE=2 FACE="Courier">I can work around this in troff by turning of ligatures and</FONT>
<BR><FONT SIZE=2 FACE="Courier">then manually inserting them (yuck!):</FONT>
</P>
<P><FONT SIZE=2 FACE="Courier">.lg 0</FONT>
<BR><FONT SIZE=2 FACE="Courier">.sp</FONT>
<BR><FONT SIZE=2 FACE="Courier">Speci\(fic</FONT>
<BR><FONT SIZE=2 FACE="Courier">Speci\(fic</FONT>
<BR><FONT SIZE=2 FACE="Courier">.bp</FONT>
<BR><FONT SIZE=2 FACE="Courier">Speci\(fic</FONT>
<BR><FONT SIZE=2 FACE="Courier">Speci\(fic</FONT>
</P>
<P><FONT SIZE=2 FACE="Courier">Do you have any idea where the problem might be?</FONT>
</P>
<P><FONT SIZE=2 FACE="Courier">Best regards,</FONT>
</P>
<P><FONT SIZE=2 FACE="Courier">Bill Ward</FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C3C669.2EF48B70--
More information about the bug-gs
mailing list