Mercurial > hg > octave-lyh
changeset 16094:8899c785cc99
doc: Fix warnings associated with Texinfo 5.0 (bug #38392)
* doc/interpreter/octave.texi: Start @end flushright at beginning of new line.
* doc/interpreter/plot.txi: Use @itemx after @item in table for markeredgecolor.
* doc/interpreter/tips.txi: Eliminate null @item entries in table of variable
recommendations.
* libinterp/interpfcn/dirfns.cc: Use @itemx instead of @item in table of regexp
patterns.
* libinterp/interpfcn/file-io.cc: Use @item rather than just formatted text
in @table for Endian format.
* scripts/io/strread.m: Use @itemx after @item for format %f,%n.
* scripts/plot/legend.m: Use @item instead of @itemx in table of options.
* scripts/plot/print.m: Use @item instead of @itemx in table of options.
* scripts/time/datetick.m: Overhaul docstring.
author | Rik <rik@octave.org> |
---|---|
date | Sun, 24 Feb 2013 07:16:22 -0800 |
parents | c81b4c81339f |
children | 1339c964b527 |
files | doc/interpreter/octave.texi doc/interpreter/plot.txi doc/interpreter/tips.txi libinterp/interpfcn/dirfns.cc libinterp/interpfcn/file-io.cc scripts/io/strread.m scripts/plot/legend.m scripts/plot/print.m scripts/time/datetick.m |
diffstat | 9 files changed, 36 insertions(+), 37 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/interpreter/octave.texi +++ b/doc/interpreter/octave.texi @@ -90,7 +90,8 @@ @sp 2 @multitable @columnfractions 0.4 0.025 0.65 @item -@flushright @image{octave_logo,2.1in} @end flushright +@flushright @image{octave_logo,2.1in} +@end flushright @tab @c this is a spacer column @tab
--- a/doc/interpreter/plot.txi +++ b/doc/interpreter/plot.txi @@ -2573,15 +2573,15 @@ A character indicating a plot marker to be place at each data point, or @code{"none"}, meaning no markers should be displayed. -@itemx markeredgecolor +@item markeredgecolor The color of the edge around the marker, or @code{"auto"}, meaning that the edge color is the same as the face color. @xref{Colors}. -@itemx markerfacecolor +@item markerfacecolor The color of the marker, or @code{"none"} to indicate that the marker should not be filled. @xref{Colors}. -@itemx markersize +@item markersize A number specifying the size of the marker. The default is 1. A value of 2 is twice as large as the default, etc. @end table
--- a/doc/interpreter/tips.txi +++ b/doc/interpreter/tips.txi @@ -296,20 +296,20 @@ When choosing variable names try to adhere to the following guidelines. @table @asis -@item -vectors : x,y,z,t,w +@item vectors : +x,y,z,t,w -@item -matrices : A,B,M +@item matrices : +A,B,M -@item -strings : @nospell{str},s +@item strings : +@nospell{str},s -@item -filenames : @nospell{fname} +@item filenames : +@nospell{fname} -@item -cells,@nospell{cellstrs} : c,@nospell{cstr} +@item cells,@nospell{cellstrs} : +c,@nospell{cstr} @end table @item
--- a/libinterp/interpfcn/dirfns.cc +++ b/libinterp/interpfcn/dirfns.cc @@ -556,9 +556,9 @@ Within a pattern\n\ \n\ @table @code\n\ -@itemx *\n\ +@item *\n\ matches any string, including the null string,\n\ -@itemx ?\n\ +@item ?\n\ matches any single character, and\n\ \n\ @item [@dots{}]\n\
--- a/libinterp/interpfcn/file-io.cc +++ b/libinterp/interpfcn/file-io.cc @@ -646,23 +646,23 @@ The parameter @var{arch} is a string specifying the default data format\n\ for the file. Valid values for @var{arch} are:\n\ \n\ -@table @asis\n\ -@samp{native}\n\ +@table @samp\n\ +@item native\n\ The format of the current machine (this is the default).\n\ \n\ -@samp{ieee-be}\n\ +@item ieee-be\n\ IEEE big endian format.\n\ \n\ -@samp{ieee-le}\n\ +@item ieee-le\n\ IEEE little endian format.\n\ \n\ -@samp{vaxd}\n\ +@item vaxd\n\ VAX D floating format.\n\ \n\ -@samp{vaxg}\n\ +@item vaxg\n\ VAX G floating format.\n\ \n\ -@samp{cray}\n\ +@item cray\n\ Cray floating format.\n\ @end table\n\ \n\
--- a/scripts/io/strread.m +++ b/scripts/io/strread.m @@ -39,7 +39,7 @@ ## @item %s ## The word is parsed as a string. ## -## @itemx %f +## @item %f ## @itemx %n ## The word is parsed as a number and converted to double. ##
--- a/scripts/plot/legend.m +++ b/scripts/plot/legend.m @@ -87,7 +87,7 @@ ## @item "hide" ## Hide legend on the plot ## -## @itemx "toggle" +## @item "toggle" ## Toggles between "hide" and "show" ## ## @item "boxon" @@ -102,7 +102,7 @@ ## @item "right" ## Place label text to the right of the keys ## -## @itemx "off" +## @item "off" ## Delete the legend object ## @end table ##
--- a/scripts/plot/print.m +++ b/scripts/plot/print.m @@ -207,11 +207,10 @@ ## is sent to a file the size is determined by the plot box defined by ## the figure's "paperposition" property. ## -## @itemx -append -## Append Postscript or PDF output to a pre-existing file of the -## same type. +## @item -append +## Append Postscript or PDF output to a pre-existing file of the same type. ## -## @itemx -r@var{NUM} +## @item -r@var{NUM} ## Resolution of bitmaps in pixels per inch. For both metafiles and ## SVG the default is the screen resolution; for other formats it is 150 dpi. ## To specify screen resolution, use "-r0".
--- a/scripts/time/datetick.m +++ b/scripts/time/datetick.m @@ -22,13 +22,12 @@ ## @deftypefnx {Function File} {} datetick (@var{axis}, @var{form}) ## @deftypefnx {Function File} {} datetick (@dots{}, "keeplimits") ## @deftypefnx {Function File} {} datetick (@dots{}, "keepticks") -## @deftypefnx {Function File} {} datetick (@dots{ax}, @dots{}) -## Add date formatted tick labels to an axis. The axis the apply the -## ticks to is determined by @var{axis} that can take the values "x", -## "y" or "z". The default value is "x". The formatting of the labels is -## determined by the variable @var{form}, that can either be a string in -## the format needed by @code{dateform}, or a positive integer that can -## be accepted by @code{datestr}. +## @deftypefnx {Function File} {} datetick (@var{hax}, @dots{}) +## Add date formatted tick labels to an axis. The axis to apply the +## ticks to is determined by @var{axis} which can take the values "x", +## "y", or "z". The default value is "x". The formatting of the labels is +## determined by the variable @var{form}, which can either be a string or +## positive integer that @code{datestr} accepts. ## @seealso{datenum, datestr} ## @end deftypefn