summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Dominik <carsten.dominik@gmail.com>2010-05-01 06:30:02 +0200
committerCarsten Dominik <carsten.dominik@gmail.com>2010-05-01 06:30:02 +0200
commit23a1f40e3a0770d9e3184ad499bb5b117fff4a50 (patch)
tree23c49d558b66d4c55ff3f934a377ed878711feba
parent702c1f8398b25ee0308d92196c973bf4598dd146 (diff)
downloadorg-mode-23a1f40e3a0770d9e3184ad499bb5b117fff4a50.tar.gz
Fix more typos
-rw-r--r--doc/org.texi12
-rwxr-xr-xlisp/org-clock.el4
-rw-r--r--lisp/org-entities.el4
3 files changed, 11 insertions, 9 deletions
diff --git a/doc/org.texi b/doc/org.texi
index bf56c84..781cc76 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -8458,8 +8458,8 @@ Some backends (HTML, La@TeX{}, and DocBook) allow you to directly include
images into the exported document. Org does this, if a link to an image
files does not have a description part, for example @code{[[./img/a.jpg]]}.
If you wish to define a caption for the image and maybe a label for internal
-cross references, you sure that the link is on a line by itself precede it
-with:
+cross references, make sure that the link is on a line by itself and precede
+it with @code{#+CAPTION} and @code{#+LABEL} as follows:
@example
#+CAPTION: This is the caption for the next figure link (or table)
@@ -8700,7 +8700,7 @@ delimiters, for example:
Angles are written as Greek letters \alpha, \beta and \gamma.
@end example
-@vindex org-html-entities
+@vindex org-entities
During export, these symbols will be transformed into the native format of
the exporter backend. Strings like @code{\alpha} will be exported as
@code{&alpha;} in the HTML output, and as @code{$\alpha$} in the La@TeX{}
@@ -8709,7 +8709,7 @@ output. Similarly, @code{\nbsp} will become @code{&nbsp;} in HTML and
like this: @samp{\Aacute@{@}stor}.
A large number of entities is provided, with names taken from both HTML and
-La@TeX{}, see the variable @code{org-html-entities} for the complete list.
+La@TeX{}, see the variable @code{org-entities} for the complete list.
@samp{\-} is treated as a shy hyphen, and @samp{--}, @samp{---}, and
@samp{...} are all converted into special commands creating hyphens of
different lengths or a compact set of dots.
@@ -10013,12 +10013,12 @@ more types to this list as long as DocBook supports them.
@cindex Special characters in DocBook export
@vindex org-export-docbook-doctype
-@vindex org-html-entities
+@vindex org-entities
Special characters that are written in @TeX{}-like syntax, such as @code{\alpha},
@code{\Gamma}, and @code{\Zeta}, are supported by DocBook exporter. These
characters are rewritten to XML entities, like @code{&alpha;},
@code{&Gamma;}, and @code{&Zeta;}, based on the list saved in variable
-@code{org-html-entities}. As long as the generated DocBook file includes the
+@code{org-entities}. As long as the generated DocBook file includes the
corresponding entities, these special characters are recognized.
You can customize variable @code{org-export-docbook-doctype} to include the
diff --git a/lisp/org-clock.el b/lisp/org-clock.el
index 07c1083..027276b 100755
--- a/lisp/org-clock.el
+++ b/lisp/org-clock.el
@@ -496,11 +496,13 @@ the mode line."
(if current
(format ", prefix + to add to %s" org-clock-effort)
"")))))
+ (debug)
(when (stringp value)
;; A string. See if it is a delta
(setq sign (string-to-char value))
(if (member sign '(?- ?+))
- (setq current (org-hh:mm-string-to-minutes (substring current 1)))
+ (setq current (org-hh:mm-string-to-minutes current)
+ value (substring value 1))
(setq current 0))
(setq value (org-hh:mm-string-to-minutes value))
(if (equal ?- sign)
diff --git a/lisp/org-entities.el b/lisp/org-entities.el
index 68802ee..95b759d 100644
--- a/lisp/org-entities.el
+++ b/lisp/org-entities.el
@@ -59,8 +59,8 @@ LaTeX mathp A Boolean, either t or nil. t if this entity needs
HTML replacement In ready HTML, no further processing will take place.
Usually this will be an &...; entity.
ASCII replacement Plain ASCII, no extensions. Symbols that cannot be
- represented will be written out as an explanatory text.
- But see the variable `org-entities-ascii-keep-macro-form'.
+ represented will be left as they are, but see the.
+ variable `org-entities-ascii-explanatory'.
Latin1 replacement Use the special characters available in latin1.
utf-8 replacement Use the special characters available in utf-8.