[Top][All Lists]

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

[Octave-bug-tracker] [bug #41585] doc: Info manual displays dashed line

From: Rik
Subject: [Octave-bug-tracker] [bug #41585] doc: Info manual displays dashed line style incorrectly
Date: Sat, 15 Feb 2014 16:34:32 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0

Update of bug #41585 (project octave):

                  Status:                    None => Need Info              


Follow-up Comment #1:

Where are you seeing this?  Is it from the command line with 'doc plot'?

Taking a look at plot.m I see

## @multitable @columnfractions 0.06 0.94
## @item @samp{-}  @tab Use solid lines (default).
## @item @samp{--} @tab Use dashed lines.

which looks to be correct Texinfo and renders correctly with 4.13.

Texinfo 5.2 has had all sorts of differences with the 4.X branch.  I wonder if
they somehow aren't recognizing the @samp command and are transmuting '--' to
an en-dash.

>From the Texinfo documentation

Use three hyphens in a row, ‘---’, to produce a long dash—like this
(called an em dash), used for punctuation in sentences. Use two hyphens,
‘--’, to produce a medium dash (called an en dash), used primarily for
numeric ranges, as in “June 25–26”. Use a single hyphen, ‘-’, to
produce a standard hyphen used in compound words. For display on the screen,
Info reduces three hyphens to two and two hyphens to one (not transitively!).
Of course, any number of hyphens in the source remain as they are in literal
contexts, such as @code and @example. 

@samp should very definitely be a literal context, but maybe this is buggy in
5.2.  You could try replacing the @samp with @code in plot.m and see if the
problem goes away.  Even if it does, I'm not sure that the fix doesn't belong
in Texinfo rather than in Octave.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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