bug-texinfo
[Top][All Lists]
Advanced

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

Spanish font failure in Table of Contents


From: Robert J. Chassell
Subject: Spanish font failure in Table of Contents
Date: Thu, 27 Jun 2002 16:18:07 +0000 (UTC)

Using

    TeX, Version 3.14159 (Web2C 7.3.7)
    Texinfo version 2001-06-20.16
    texi2dvi (GNU Texinfo 4.2) 0.51

After conversion via TeX to dvi some of the Spanish titles in the
Table of Contents have broken fonts when I look at the output with
xdvi.  I have not seen any broken fonts in any other part of the
document.

Here is a test file that illustrates the problem.  Convert to dvi
using TeX and view using `xdvi'.

    texi2dvi Spanish-font-test.texi

    xdvi Spanish-font-test.dvi &



\input texinfo.tex   @c -*-texinfo-*-
@comment %**start of header
@setfilename Spanish-font-test.info
@settitle Spanish Fonts Test
@smallbook
@comment %**end of header

@c set the following for English and/or Spanish segments
@set en
@set es

@c setchapternewpage off when looking at both English and Spanish
@c titles at the same time
@setchapternewpage off

@c set the following for one of either English or Spanish headers
@c documentlanguage en
@documentlanguage es


@ignore
 ## Summary of shell commands to create various output formats:

    ## Info output
    makeinfo --force --fill-column=70 --no-split --paragraph-indent=0 \
    --verbose Spanish-font-test.texi

    ## DVI output
    texi2dvi Spanish-font-test.texi

    ## Plain text output
    makeinfo --fill-column=70 --no-split --paragraph-indent=0 \
    --verbose --no-headers --output=Spanish-font-test.txt  \
    Spanish-font-test.texi

    ## HTML output
    makeinfo --no-split --html Spanish-font-test.texi

    ## DocBook output
    makeinfo --docbook --no-split --paragraph-indent=0 \
    --verbose Spanish-font-test.texi

    ## XML output
    makeinfo --xml --no-split --paragraph-indent=0 \
    --verbose Spanish-font-test.texi

@end ignore

@titlepage
@sp 6
@center @titlefont{Spanish Fonts Test}
@sp 4
@center Robert J. Chassell
@end titlepage

@contents

@ifnottex
@menu
* Why free software?::
* How made free::
* Source code vital::
@end menu

@node Top, Introduction, (dir), (dir)
@top Test Top
@end ifnottex

@menu
* Introduction::
@end menu

@node Introduction,  , Top, Top
@ifset en
@unnumbered Introduction
@end ifset
@ifset es
@unnumbered Introducción
@end ifset

Jose C. Miranda, @email{jmiranda@@campus.tol.itesm.mx} has been
translating a speech on software freedom from English into Spanish.

The English text is within

@smallexample
@group
@@ifset en

@@end ifset
@end group
@end smallexample

and the Spanish text is within

@smallexample
@group
@@ifset es

@@end ifset
@end group
@end smallexample

This works fine, except that after conversion via TeX to dvi in the
table of contents, some of the Spanish titles have broken fonts when I
look at the output with xdvi.  I have not seen any broken fonts in any
other part of the document.

After converting this Texinfo file to .dvi, xdvi displays broken fonts
for the Spanish versions for the title of this chapter and for the
titles for the following sections.

@menu
* Why free software?::
* How made free::
* Source code vital::
@end menu

@node Why free software?, How made free, Top, Top
@ifset en
@section Why free software?
@end ifset
@ifset es
@section ¿Por qué software libre?
@end ifset
@cindex Why free software?
@cindex Free software, why?

The English for the preceding @code{@@section} title is

@smallexample
Why free software?
@end smallexample

and the Spanish is

@smallexample
¿Por qué software libre?
@end smallexample

In the table of contents, when viewed with xdvi, the Spanish font is
broken.

@node How made free, Source code vital, Why free software?, Top
@ifset en
@section How is software made free?
@end ifset
@ifset es
@section ¿Cómo se hace al software libre?
@end ifset
@cindex How is software made free
@cindex Free software, how created

The English for the preceding @code{@@section} title is

@smallexample
How is software made free?
@end smallexample

and the Spanish is

@smallexample
¿Cómo se hace al software libre?
@end smallexample

In the table of contents, when viewed with xdvi, the Spanish font is
broken.

@node Source code vital,  , How made free, Top
@ifset en
@section Source code is vital
@end ifset
@ifset es
@section El código fuente es vital
@end ifset
@cindex Source code vital

The English for the preceding @code{@@section} title is

@smallexample
Source code is vital
@end smallexample

and the Spanish is

@smallexample
El código fuente es vital
@end smallexample

In the table of contents, when viewed with xdvi, the Spanish font is
broken.

@bye



reply via email to

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