App-Chart

 view release on metacpan or  search on metacpan

doc/chart.texi  view on Meta::CPAN

@c
@iftex
@macro CHARTureflong{url,urlsplit}
@indicateurl{\urlsplit\}
@end macro
@set CHARTureflongdefined
@end iftex
@c
@ifclear CHARTureflongdefined
@alias CHARTureflong=uref
@end ifclear

@c  @cross{} is a \times symbol in tex, or an "x" in info.
@c  In tex it works inside or outside $ $.
@tex
\gdef\cross{\ifmmode\times\else$\times$\fi}
@end tex
@ifnottex
@macro cross
x
@end macro
@end ifnottex

@c  @alph{} is \alpha symbol in tex, or an "alpha" in info.
@c  In tex it works inside or outside $ $.
@tex
\gdef\alph{\ifmmode\alpha\else$\alpha$\fi}
@end tex
@ifnottex
@macro alph
alpha
@end macro
@end ifnottex

@c  @m{T,N} is $T$ in tex or @math{N} otherwise.
@iftex
@macro m {T,N}
@tex$\T\$@end tex
@end macro
@end iftex
@ifnottex
@macro m {T,N}
@math{\N\}
@end macro
@end ifnottex

@c  @ms{V,N} is a subscript $V_N$ in tex or just vn otherwise.
@iftex
@macro ms {V,N}
@tex$\V\_{\N\}$@end tex
@end macro
@end iftex
@ifnottex
@macro ms {V,N}
\V\\N\
@end macro
@end ifnottex

@c  @nicode{S} is plain S in info, or @code{S} elsewhere.  This can be used
@c  when the quotes that @code{} gives in info aren't wanted, but the
@c  fontification in tex or html is wanted.  @alias is used rather than @macro
@c  because backslashes don't work properly in an @macro.
@ifinfo
@alias nicode=asis
@end ifinfo
@ifnotinfo
@alias nicode=code
@end ifnotinfo

@c  @nisamp{S} is plain S in info, or @samp{S} elsewhere.  This can be used
@c  when the quotes that @samp{} gives in info aren't wanted, but the
@c  fontification in tex or html is wanted.  @alias is used rather than @macro
@c  because backslashes don't work properly in an @macro.
@ifinfo
@alias nisamp=asis
@end ifinfo
@ifnotinfo
@alias nisamp=samp
@end ifnotinfo

@c  @iquot{S} is italics in TeX, HTML, etc, or quotes in info.  This is meant
@c  for the names of books etc.
@ifinfo
@macro iquot {S}
``\S\''
@end macro
@end ifinfo
@ifnotinfo
@alias iquot=i
@end ifnotinfo

@c  @CHARTniuref{S} is plain S in info, or @uref{S} elsewhere.  This is when
@c  the quotes that @uref{} gives in info aren't wanted, but the font in TeX
@c  or the link in HTML are wanted.  @alias is used rather than @macro because
@c  backslashes don't work properly in an @macro.
@ifinfo
@alias CHARTniuref=asis
@end ifinfo
@ifnotinfo
@alias CHARTniuref=uref
@end ifnotinfo

@c  @rightarrow{} made available in info too
@ifnottex
@macro rightarrow
->
@end macro
@end ifnottex

@c  @pi{} (TeX \pi) made available in info too
@ifnottex
@macro pi
pi
@end macro
@end ifnottex

@c  @pm{} (TeX \pm) made available in info too
@ifnottex
@macro pm
+/-
@end macro
@end ifnottex

@c  @myimage{filename,alt}
@c
@c  Leave out the "alt" in info mode, since there's an ascii art rendition
@c  from the txt file, which should be enough for a viewer that doesn't
@c  recognise [image].
@c
@c  And leave out "png" from info mode because although it ought to do no
@c  harm, a malloc problem in makeinfo 4.8 is tickled.  (It goes one char over
@c  the malloced size, which means certain sized filenames are affected, and
@c  depending if libc puts any padding.)
@c
@ifinfo
@macro myimage {F,A}
@quotation
@image{\F\}
@end quotation

@end macro
@end ifinfo
@c
@ifnotinfo
@macro myimage {F,A}
@*
@center @image{\F\, 14cm, 7.5cm, \A\, png}
@end macro
@end ifnotinfo


@finalout
@headings double



( run in 1.536 second using v1.01-cache-2.11-cpan-97f6503c9c8 )