diff doc/interpreter/plot.txi @ 18541:2b01c11197d6 gui-release

Fix contraction of '--' to '-' in Info format of Line Styles (bug #41585) * plot.txi: Can't use @qcode macro for '--' because it doesn't create a verbatim environment like @code. In this case, '--' is replaced by single en-dash in Info format. Instead, use explicit @ifinfo and @verb blocks to create '--' in Info format. * DASPK-opts.in: Add missing escaped quote (\") to documentation. * validateattributes.m: Remove extra ',' typo and end of @qcode instantiation.
author Rik <rik@octave.org>
date Sun, 16 Feb 2014 10:26:49 -0800
parents 1ecfcfa4858e
children d39fd728ddef
line wrap: on
line diff
--- a/doc/interpreter/plot.txi
+++ b/doc/interpreter/plot.txi
@@ -2643,7 +2643,13 @@
 @item @qcode{"-"}
 Solid line.  [default]
 
-@item @qcode{"--"}
+@c Special handling required to avoid '--' becoming single en-dash in Info
+@ifinfo
+@item @verb{"--"}
+@end ifinfo
+@iftex
+@item @code{"--"}
+@end iftex
 Dashed line.
 
 @item @qcode{":"}