lout-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A possible bug in Lout.


From: Basile STARYNKEVITCH
Subject: A possible bug in Lout.
Date: Mon, 8 Nov 1993 04:20:34 +0000

----------
X-Sun-Data-Type: text
X-Sun-Data-Description: text
X-Sun-Data-Name: text
X-Sun-Charset: us-ascii
X-Sun-Content-Lines: 24

Hello everybody,

and sorry for annoying Jeff Kingston for this little bug,

and thanks for Lout.

Read and print the following file enclosed (test.lout 1659 bytes).
This file describes the bug.
lout -o test.ps test

(repeat previous commands 3 times)

lpr test.ps



Basile STARYNKEVITCH   ----  Commissariat a l Energie Atomique
DRN/DMT/SERMA * C.E. Saclay bat.470 * 91191 GIF/YVETTE CEDEX * France
fax: (33) 1- 69.08.23.81;    phone: (33) 1- 69.08.40.66
email: basile@soleil.serma.cea.fr;  homephone: (33) 1- 46.65.45.53


N.B. Any opinions expressed here are solely mine, and not of my organization.
N.B. Les opinions exprimees ici me sont personnelles et n engagent pas le CEA.
----------
X-Sun-Data-Type: default
X-Sun-Data-Description: default
X-Sun-Data-Name: test.lout
X-Sun-Charset: us-ascii
X-Sun-Content-Lines: 68

# file test.lout

@SysInclude { "report" }

#### debut du rapport

@Report
        @Title { A font related bug in @I{Lout} }
        @Author { Basile STARYNKEVITCH }
        @Institution { 
Commissariat a l'Energie Atomique 
{-2p @Font "DRN/DMT/SERMA" }
{-3p @Font "Centre d'Etudes de Saclay,  batiment 470" }
{-3p @Font {91191 "GIF/YVETTE" CEDEX; France } }

{-2p @Font e-mail: {Courier Base -1p} @Font {basile@soleil.serma.cea.fr}}

        }
#       @Columns { Double }
//
 

@Abstract { 
I think i have found a font related bug in @I{Lout}. 
}


@Section 
        @Tag {fontbug}
        @Title {Font bugs}
@Begin


@PP 

When changing fonts, it seems that the font sometimes apply to some
characters after the block concerned.

For instance, suppose i want to type: An Ansi C(or C++) compiler.  I
want to name the languages in italics.  If I type {Courier Base -1p}
@Font "An @I{Ansi C}(or @I{C++}) compiler" then I get An @I{Ansi C}(or
@I{C++}) compiler. If you look carefully at the fonts it is not what
you (and me) are expecting.

@PP

Let give another, less meaningful, but more visible example. If I type
{Courier Base -1p} @Font "aa italic bb normal is @I{aa}bb" I get: 
aa italic bb normal is @I{aa}bb.

@PP 

It seems that this is a lexing parser problem in @I{Lout}, since
same problems occurs with footnotes. {Courier Base -1p} @Font
"Meaningless @FootNote{Note}is here" gives: Meaningless @FootNote{Note}is here.

@PP

So I believe this is a problem in the @I{Lout} program itself (ie in
the @I{C} sources).

@PP

@B{standard disclaimer: all opinions are mine only; i do not speak for any 
organization.}

@End @Section

#end of file test.lout


reply via email to

[Prev in Thread] Current Thread [Next in Thread]