diff options
| author | Jay Belanger | 2010-11-18 19:14:36 -0600 |
|---|---|---|
| committer | Jay Belanger | 2010-11-18 19:14:36 -0600 |
| commit | 1265829ec33f6d23787733a3f312984f4f268a33 (patch) | |
| tree | 4e97e83ec3b44852bfdb20420498163e101b4059 /doc/misc | |
| parent | 84dfc8a7faccf53d54231ab47a2dc237c80251fb (diff) | |
| download | emacs-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/ChangeLog | 6 | ||||
| -rw-r--r-- | doc/misc/calc.texi | 12 |
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 @@ | |||
| 1 | 2010-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 | |||
| 1 | 2010-11-18 Katsumi Yamaoka <yamaoka@jpl.org> | 7 | 2010-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 | ||
| 14125 | The @TeX{} specific unit names (@pxref{Predefined Units}) will not use | ||
| 14126 | the @samp{tex} prefix; the unit name for a @TeX{} point will be | ||
| 14127 | @samp{pt} instead of @samp{texpt}, for example. | ||
| 14128 | |||
| 14125 | Function and variable names not treated specially by @TeX{} and La@TeX{} | 14129 | Function and variable names not treated specially by @TeX{} and La@TeX{} |
| 14126 | are simply written out as-is, which will cause them to come out in | 14130 | are simply written out as-is, which will cause them to come out in |
| 14127 | italic letters in the printed document. If you invoke @kbd{d T} or | 14131 | italic 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, |
| 27991 | all dimensions representable in @TeX{} are multiples of this value). | 27995 | all dimensions representable in @TeX{} are multiples of this value). |
| 27992 | 27996 | ||
| 27997 | When Calc is using the @TeX{} or La@TeX{} language mode (@pxref{TeX | ||
| 27998 | and LaTeX Language Modes}), the @TeX{} specific unit names will not | ||
| 27999 | use 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, | ||
| 28001 | the unit names for pint and parsec will simply be @samp{pint} and | ||
| 28002 | @samp{parsec} instead of @samp{pt} and @samp{pc}. | ||
| 28003 | |||
| 28004 | |||
| 27993 | The unit @code{e} stands for the elementary (electron) unit of charge; | 28005 | The unit @code{e} stands for the elementary (electron) unit of charge; |
| 27994 | because algebra command could mistake this for the special constant | 28006 | because 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 |