aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
authorJay Belanger2010-11-18 19:14:36 -0600
committerJay Belanger2010-11-18 19:14:36 -0600
commit1265829ec33f6d23787733a3f312984f4f268a33 (patch)
tree4e97e83ec3b44852bfdb20420498163e101b4059 /doc/misc
parent84dfc8a7faccf53d54231ab47a2dc237c80251fb (diff)
downloademacs-1265829ec33f6d23787733a3f312984f4f268a33.tar.gz
emacs-1265829ec33f6d23787733a3f312984f4f268a33.zip
calc.texi (TeX and LaTeX Language Modes, Predefined Units):
calc-units.el (math-build-units-table-buffer): README: Mention that the TeX specific units won't use the `tex' prefix in TeX mode. calc-lang.el (math-variable-table): Don't use the `tex' prefix for units in TeX mode.
Diffstat (limited to 'doc/misc')
-rw-r--r--doc/misc/ChangeLog6
-rw-r--r--doc/misc/calc.texi12
2 files changed, 18 insertions, 0 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index f9e55ffb5ee..d57df81befc 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,9 @@
12010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
2
3 * calc.texi (TeX and LaTeX Language Modes, Predefined Units):
4 Mention that the TeX specific units won't use the `tex' prefix
5 in TeX mode.
6
12010-11-18 Katsumi Yamaoka <yamaoka@jpl.org> 72010-11-18 Katsumi Yamaoka <yamaoka@jpl.org>
2 8
3 * gnus.texi (Misc Article): Document gnus-inhibit-images. 9 * gnus.texi (Misc Article): Document gnus-inhibit-images.
diff --git a/doc/misc/calc.texi b/doc/misc/calc.texi
index 9c30556ab78..58de84b8194 100644
--- a/doc/misc/calc.texi
+++ b/doc/misc/calc.texi
@@ -14122,6 +14122,10 @@ but
14122@texline @math{\sin(2 + x)}. 14122@texline @math{\sin(2 + x)}.
14123@infoline @expr{sin(2 + x)}. 14123@infoline @expr{sin(2 + x)}.
14124 14124
14125The @TeX{} specific unit names (@pxref{Predefined Units}) will not use
14126the @samp{tex} prefix; the unit name for a @TeX{} point will be
14127@samp{pt} instead of @samp{texpt}, for example.
14128
14125Function and variable names not treated specially by @TeX{} and La@TeX{} 14129Function and variable names not treated specially by @TeX{} and La@TeX{}
14126are simply written out as-is, which will cause them to come out in 14130are simply written out as-is, which will cause them to come out in
14127italic letters in the printed document. If you invoke @kbd{d T} or 14131italic letters in the printed document. If you invoke @kbd{d T} or
@@ -27990,6 +27994,14 @@ than the point used by @TeX{}), @code{texdd} (a Didot point),
27990@code{texcc} (a Cicero) and @code{texsp} (a scaled @TeX{} point, 27994@code{texcc} (a Cicero) and @code{texsp} (a scaled @TeX{} point,
27991all dimensions representable in @TeX{} are multiples of this value). 27995all dimensions representable in @TeX{} are multiples of this value).
27992 27996
27997When Calc is using the @TeX{} or La@TeX{} language mode (@pxref{TeX
27998and LaTeX Language Modes}), the @TeX{} specific unit names will not
27999use the @samp{tex} prefix; the unit name for a @TeX{} point will be
28000@samp{pt} instead of @samp{texpt}, for example. To avoid conflicts,
28001the unit names for pint and parsec will simply be @samp{pint} and
28002@samp{parsec} instead of @samp{pt} and @samp{pc}.
28003
28004
27993The unit @code{e} stands for the elementary (electron) unit of charge; 28005The unit @code{e} stands for the elementary (electron) unit of charge;
27994because algebra command could mistake this for the special constant 28006because algebra command could mistake this for the special constant
27995@expr{e}, Calc provides the alternate unit name @code{ech} which is 28007@expr{e}, Calc provides the alternate unit name @code{ech} which is