Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode
This commit is contained in:
commit
37f9639a43
23
Makefile
23
Makefile
|
@ -45,6 +45,7 @@ MAKEINFO = makeinfo
|
||||||
|
|
||||||
# How to create the HTML file
|
# How to create the HTML file
|
||||||
TEXI2HTML = makeinfo --html --number-sections
|
TEXI2HTML = makeinfo --html --number-sections
|
||||||
|
TEXI2HTMLNOPSLIT = makeinfo --html --no-split --number-sections
|
||||||
|
|
||||||
# How to copy the lisp files and elc files to their distination.
|
# How to copy the lisp files and elc files to their distination.
|
||||||
CP = cp -p
|
CP = cp -p
|
||||||
|
@ -116,7 +117,8 @@ LISPFILES0 = $(LISPF:%=lisp/%)
|
||||||
LISPFILES = $(LISPFILES0) lisp/org-install.el
|
LISPFILES = $(LISPFILES0) lisp/org-install.el
|
||||||
ELCFILES0 = $(LISPFILES0:.el=.elc)
|
ELCFILES0 = $(LISPFILES0:.el=.elc)
|
||||||
ELCFILES = $(LISPFILES:.el=.elc)
|
ELCFILES = $(LISPFILES:.el=.elc)
|
||||||
DOCFILES = doc/org.texi doc/org.pdf doc/org doc/dir doc/.nosearch
|
DOCFILES = doc/org.texi doc/org.pdf doc/org doc/dir doc/.nosearch \
|
||||||
|
doc/orgguide.texi doc/orgguide.pdf
|
||||||
CARDFILES = doc/orgcard.tex doc/orgcard.pdf doc/orgcard_letter.pdf
|
CARDFILES = doc/orgcard.tex doc/orgcard.pdf doc/orgcard_letter.pdf
|
||||||
TEXIFILES = doc/org.texi
|
TEXIFILES = doc/org.texi
|
||||||
INFOFILES = doc/org
|
INFOFILES = doc/org
|
||||||
|
@ -145,11 +147,14 @@ compile: $(ELCFILES0)
|
||||||
|
|
||||||
install: install-lisp
|
install: install-lisp
|
||||||
|
|
||||||
doc: doc/org.html doc/org.pdf doc/orgcard.pdf doc/orgcard_letter.pdf
|
doc: doc/org.html doc/org.pdf doc/orgcard.pdf doc/orgcard_letter.pdf doc/orgguide.pdf
|
||||||
|
|
||||||
p:
|
p:
|
||||||
${MAKE} pdf && open doc/org.pdf
|
${MAKE} pdf && open doc/org.pdf
|
||||||
|
|
||||||
|
g:
|
||||||
|
${MAKE} pdf && open doc/orgguide.pdf
|
||||||
|
|
||||||
install-lisp: $(LISPFILES) $(ELCFILES)
|
install-lisp: $(LISPFILES) $(ELCFILES)
|
||||||
if [ ! -d $(lispdir) ]; then $(MKDIR) $(lispdir); else true; fi ;
|
if [ ! -d $(lispdir) ]; then $(MKDIR) $(lispdir); else true; fi ;
|
||||||
$(CP) $(LISPFILES) $(lispdir)
|
$(CP) $(LISPFILES) $(lispdir)
|
||||||
|
@ -186,6 +191,9 @@ doc/org: doc/org.texi
|
||||||
doc/org.pdf: doc/org.texi
|
doc/org.pdf: doc/org.texi
|
||||||
(cd doc; $(TEXI2PDF) org.texi)
|
(cd doc; $(TEXI2PDF) org.texi)
|
||||||
|
|
||||||
|
doc/orgguide.pdf: doc/orgguide.texi
|
||||||
|
(cd doc; $(TEXI2PDF) orgguide.texi)
|
||||||
|
|
||||||
doc/org.html: doc/org.texi
|
doc/org.html: doc/org.texi
|
||||||
(cd doc; $(TEXI2HTML) --no-split -o org.html org.texi)
|
(cd doc; $(TEXI2HTML) --no-split -o org.html org.texi)
|
||||||
UTILITIES/manfull.pl doc/org.html
|
UTILITIES/manfull.pl doc/org.html
|
||||||
|
@ -213,9 +221,15 @@ html_manual: doc/org.texi
|
||||||
$(TEXI2HTML) -o doc/manual doc/org.texi
|
$(TEXI2HTML) -o doc/manual doc/org.texi
|
||||||
UTILITIES/mansplit.pl doc/manual/*.html
|
UTILITIES/mansplit.pl doc/manual/*.html
|
||||||
|
|
||||||
|
html_guide: doc/orgguide.texi
|
||||||
|
rm -rf doc/guide
|
||||||
|
mkdir doc/guide
|
||||||
|
$(TEXI2HTML) -o doc/guide doc/orgguide.texi
|
||||||
|
UTILITIES/guidesplit.pl doc/guide/*.html
|
||||||
|
|
||||||
info: doc/org
|
info: doc/org
|
||||||
|
|
||||||
pdf: doc/org.pdf
|
pdf: doc/org.pdf doc/orgguide.pdf
|
||||||
|
|
||||||
card: doc/orgcard.pdf doc/orgcard_letter.pdf
|
card: doc/orgcard.pdf doc/orgcard_letter.pdf
|
||||||
|
|
||||||
|
@ -246,10 +260,12 @@ release:
|
||||||
${MAKE} doc
|
${MAKE} doc
|
||||||
UTILITIES/gplmanual.pl
|
UTILITIES/gplmanual.pl
|
||||||
${MAKE} html_manual
|
${MAKE} html_manual
|
||||||
|
${MAKE} html_guide
|
||||||
rm -rf RELEASEDIR
|
rm -rf RELEASEDIR
|
||||||
$(MKDIR) RELEASEDIR
|
$(MKDIR) RELEASEDIR
|
||||||
cp org-$(TAG).zip org-$(TAG).tar.gz RELEASEDIR
|
cp org-$(TAG).zip org-$(TAG).tar.gz RELEASEDIR
|
||||||
cp doc/org.pdf doc/orgcard.pdf doc/org.texi doc/org.html RELEASEDIR
|
cp doc/org.pdf doc/orgcard.pdf doc/org.texi doc/org.html RELEASEDIR
|
||||||
|
cp doc/orgguide.pdf RELEASEDIR
|
||||||
cp RELEASEDIR/org-$(TAG).zip RELEASEDIR/org.zip
|
cp RELEASEDIR/org-$(TAG).zip RELEASEDIR/org.zip
|
||||||
cp RELEASEDIR/org-$(TAG).tar.gz RELEASEDIR/org.tar.gz
|
cp RELEASEDIR/org-$(TAG).tar.gz RELEASEDIR/org.tar.gz
|
||||||
|
|
||||||
|
@ -258,6 +274,7 @@ upload_release:
|
||||||
|
|
||||||
upload_manual:
|
upload_manual:
|
||||||
rsync -avuz --delete doc/manual/ cdominik@orgmode.org:orgmode.org/manual/
|
rsync -avuz --delete doc/manual/ cdominik@orgmode.org:orgmode.org/manual/
|
||||||
|
rsync -avuz --delete doc/guide/ cdominik@orgmode.org:orgmode.org/guide/
|
||||||
|
|
||||||
relup0:
|
relup0:
|
||||||
${MAKE} release
|
${MAKE} release
|
||||||
|
|
|
@ -168,11 +168,13 @@ and corresponding to the latest git version.
|
||||||
|
|
||||||
* Documentation
|
* Documentation
|
||||||
** The Org manual
|
** The Org manual
|
||||||
- Read the [[file:manual/index.html][documentation online]].
|
- Read the [[file:manual/index.html][manual online]].
|
||||||
- You can also have the entire manual in a [[file:org.html][single monolithic file]].
|
- You can also have the entire manual in a [[file:org.html][single monolithic file]].
|
||||||
- Download the documentation as a [[file:org.pdf][PDF document]].
|
- Download the manual as a [[file:org.pdf][PDF document]].
|
||||||
- A [[http://hpcgi1.nifty.com/spen/index.cgi?OrgMode%2fManual][Japanese translation]] of the manual (version 4.60), by Takeshi
|
- A [[http://hpcgi1.nifty.com/spen/index.cgi?OrgMode%2fManual][Japanese translation]] of the manual (version 4.60), by Takeshi
|
||||||
Okano.
|
Okano.
|
||||||
|
- The Org-mode Guide is a compact version of the manual, with all
|
||||||
|
basic information. Read the [[file:guide/index.html][guide online]] or as a [[file:orgguide.pdf][PDF document]]
|
||||||
|
|
||||||
** Reference card
|
** Reference card
|
||||||
- Download the [[file:orgcard.pdf][Refcard]] for org-mode
|
- Download the [[file:orgcard.pdf][Refcard]] for org-mode
|
||||||
|
|
|
@ -0,0 +1,62 @@
|
||||||
|
#!/usr/bin/perl
|
||||||
|
# Work on the files that are created by makeinfo for html output
|
||||||
|
# split into many small files.
|
||||||
|
|
||||||
|
# This will walk though the files listed on the command line, install
|
||||||
|
# Sebastian Rose's key reader and add a small top-level-only table
|
||||||
|
# of contents that will be placed into a special region and visible
|
||||||
|
# in all subfiles. The small contents is a constant and has to be updated
|
||||||
|
# by hand, currently.
|
||||||
|
|
||||||
|
$contents = <<EOF;
|
||||||
|
<div id="table-of-contents">
|
||||||
|
<h2>Table of Contents</h2>
|
||||||
|
<div id="text-table-of-contents">
|
||||||
|
<ul>
|
||||||
|
<li><a name="toc_Top" href="index.html#Top">Org Mode Compact Guide</a>
|
||||||
|
<li><a name="toc_Introduction" href="Introduction.html#Introduction">1 Introduction</a>
|
||||||
|
<li><a name="toc_Document-Structure" href="Document-Structure.html#Document-Structure">2 Document Structure</a>
|
||||||
|
<li><a name="toc_Tables" href="Tables.html#Tables">3 Tables</a>
|
||||||
|
<li><a name="toc_Hyperlinks" href="Hyperlinks.html#Hyperlinks">4 Hyperlinks</a>
|
||||||
|
<li><a name="toc_TODO-Items" href="TODO-Items.html#TODO-Items">5 TODO Items</a>
|
||||||
|
<li><a name="toc_Tags" href="Tags.html#Tags">6 Tags</a>
|
||||||
|
<li><a name="toc_Properties" href="Properties.html#Properties">7 Properties</a>
|
||||||
|
<li><a name="toc_Dates-and-Times" href="Dates-and-Times.html#Dates-and-Times">8 Dates and Times</a>
|
||||||
|
<li><a name="toc_Capture" href="Capture-_002d-Refile-_002d-Archive.html#Capture-_002d-Refile-_002d-Archive">9 Capture-Refile-Archive</a>
|
||||||
|
<li><a name="toc_Agenda-Views" href="Agenda-Views.html#Agenda-Views">10 Agenda Views</a>
|
||||||
|
<li><a name="toc_Markup" href="Markup.html#Markup">11 Markup</a>
|
||||||
|
<li><a name="toc_Exporting" href="Exporting.html#Exporting">12 Exporting</a>
|
||||||
|
<li><a name="toc_Publishing" href="Publishing.html#Publishing">13 Publishing</a>
|
||||||
|
<li><a name="toc_Miscellaneous" href="Miscellaneous.html#Miscellaneous">14 Miscellaneous</a>
|
||||||
|
</li></ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
EOF
|
||||||
|
|
||||||
|
$script = <<'EOF';
|
||||||
|
</style><link rel="stylesheet" href="http://orgmode.org/org.css" type="text/css" />
|
||||||
|
<script type="text/javascript" src="http://orgmode.org/org-keys.js"></script>
|
||||||
|
<script type="text/javascript">
|
||||||
|
<!--/*--><![CDATA[/*><!--*/
|
||||||
|
OrgKeyReader.registerHref('h', 'index.html');
|
||||||
|
OrgKeyReader.registerHref('t', 'index.html');
|
||||||
|
/*]]>*/-->
|
||||||
|
</script>
|
||||||
|
EOF
|
||||||
|
|
||||||
|
while ($page = shift) {
|
||||||
|
system "mv $page $page.orig";
|
||||||
|
open IN,"<$page.orig" or die "Cannot read from $page.orig\n";
|
||||||
|
undef $/;
|
||||||
|
$all = <IN>;
|
||||||
|
close IN;
|
||||||
|
|
||||||
|
$all =~ s/<meta http-equiv="Content-Style-Type" content="text\/css">/$&\n$script/;
|
||||||
|
$all =~ s/^<body>/<body onload="OrgKeyReader.init();">\n$contents/m;
|
||||||
|
|
||||||
|
open OUT,">$page" or die "Cannot write to $page\n";
|
||||||
|
print OUT $all;
|
||||||
|
close OUT;
|
||||||
|
system "rm $page.orig";
|
||||||
|
}
|
|
@ -50,6 +50,19 @@
|
||||||
|
|
||||||
(defun org-babel-expand-body:matlab (body params &optional processed-params) body)
|
(defun org-babel-expand-body:matlab (body params &optional processed-params) body)
|
||||||
|
|
||||||
|
(defvar org-babel-matlab-with-emacs-link nil
|
||||||
|
"If non-nil use matlab-shell-run-region for session
|
||||||
|
evaluation. This will use EmacsLink if (matlab-with-emacs-link)
|
||||||
|
evaluates to a non-nil value.")
|
||||||
|
|
||||||
|
(defvar org-babel-matlab-emacs-link-wrapper-method
|
||||||
|
"%s
|
||||||
|
if ischar(ans), fid = fopen('%s', 'w'); fprintf(fid, '%%s\\n', ans); fclose(fid);
|
||||||
|
else, save -ascii %s ans
|
||||||
|
end
|
||||||
|
delete('%s')
|
||||||
|
")
|
||||||
|
|
||||||
(defun org-babel-execute:matlab (body params)
|
(defun org-babel-execute:matlab (body params)
|
||||||
"Execute a block of matlab code with org-babel."
|
"Execute a block of matlab code with org-babel."
|
||||||
(org-babel-execute:octave body params 'matlab))
|
(org-babel-execute:octave body params 'matlab))
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
(defvar org-babel-octave-shell-command "octave -q"
|
(defvar org-babel-octave-shell-command "octave -q"
|
||||||
"Shell command to use to run octave as an external process.")
|
"Shell command to use to run octave as an external process.")
|
||||||
|
|
||||||
(defun org-babel-expand-body:octave (org-babel-process-params params)
|
(defun org-babel-expand-body:octave (body params &optional processed-params)
|
||||||
(let ((vars (second (or processed-params (org-babel-process-params params)))))
|
(let ((vars (second (or processed-params (org-babel-process-params params)))))
|
||||||
(concat
|
(concat
|
||||||
;; prepend code to define all arguments passed to the code block
|
;; prepend code to define all arguments passed to the code block
|
||||||
|
@ -104,19 +104,15 @@ then create. Return the initialized session."
|
||||||
(let ((session (or session (if matlabp "*Inferior Matlab*" "*Inferior Octave*"))))
|
(let ((session (or session (if matlabp "*Inferior Matlab*" "*Inferior Octave*"))))
|
||||||
(if (org-babel-comint-buffer-livep session) session
|
(if (org-babel-comint-buffer-livep session) session
|
||||||
(save-window-excursion
|
(save-window-excursion
|
||||||
(if matlabp (matlab-shell) (run-octave))
|
(if matlabp (unless org-babel-matlab-with-emacs-link (matlab-shell))
|
||||||
|
(run-octave))
|
||||||
(rename-buffer (if (bufferp session) (buffer-name session)
|
(rename-buffer (if (bufferp session) (buffer-name session)
|
||||||
(if (stringp session) session (buffer-name)))) (current-buffer))))))
|
(if (stringp session) session (buffer-name)))) (current-buffer))))))
|
||||||
|
|
||||||
(defvar org-babel-octave-wrapper-method
|
(defvar org-babel-octave-wrapper-method
|
||||||
"%s
|
"%s
|
||||||
if ischar(ans)
|
if ischar(ans), fid = fopen('%s', 'w'); fprintf(fid, '%%s\\n', ans); fclose(fid);
|
||||||
fid = fopen('%s', 'w')
|
else, save -ascii %s ans
|
||||||
fprintf(fid, ans)
|
|
||||||
fprintf(fid, '\\n')
|
|
||||||
fclose(fid)
|
|
||||||
else
|
|
||||||
save -ascii %s ans
|
|
||||||
end")
|
end")
|
||||||
|
|
||||||
(defvar org-babel-octave-eoe-indicator "\'org_babel_eoe\'")
|
(defvar org-babel-octave-eoe-indicator "\'org_babel_eoe\'")
|
||||||
|
@ -154,6 +150,7 @@ value of the last statement in BODY, as elisp."
|
||||||
|
|
||||||
(defun org-babel-octave-evaluate-session (session body result-type &optional matlabp)
|
(defun org-babel-octave-evaluate-session (session body result-type &optional matlabp)
|
||||||
(let* ((tmp-file (make-temp-file "org-babel-results-"))
|
(let* ((tmp-file (make-temp-file "org-babel-results-"))
|
||||||
|
(wait-file (make-temp-file "org-babel-matlab-emacs-link-wait-signal-"))
|
||||||
(full-body
|
(full-body
|
||||||
(case result-type
|
(case result-type
|
||||||
(output
|
(output
|
||||||
|
@ -161,12 +158,29 @@ value of the last statement in BODY, as elisp."
|
||||||
#'org-babel-chomp
|
#'org-babel-chomp
|
||||||
(list body org-babel-octave-eoe-indicator) "\n"))
|
(list body org-babel-octave-eoe-indicator) "\n"))
|
||||||
(value
|
(value
|
||||||
(mapconcat
|
(if (and matlabp org-babel-matlab-with-emacs-link)
|
||||||
#'org-babel-chomp
|
(concat
|
||||||
(list (format org-babel-octave-wrapper-method body tmp-file tmp-file) org-babel-octave-eoe-indicator) "\n"))))
|
(format org-babel-matlab-emacs-link-wrapper-method
|
||||||
(raw (org-babel-comint-with-output session
|
body tmp-file tmp-file wait-file) "\n")
|
||||||
(if matlabp org-babel-octave-eoe-indicator org-babel-octave-eoe-output) t
|
(mapconcat
|
||||||
(insert full-body) (comint-send-input nil t))) results)
|
#'org-babel-chomp
|
||||||
|
(list (format org-babel-octave-wrapper-method body tmp-file tmp-file)
|
||||||
|
org-babel-octave-eoe-indicator) "\n")))))
|
||||||
|
(raw (if (and matlabp org-babel-matlab-with-emacs-link)
|
||||||
|
(save-window-excursion
|
||||||
|
(with-temp-buffer
|
||||||
|
(insert full-body)
|
||||||
|
(write-region "" 'ignored wait-file nil nil nil 'excl)
|
||||||
|
(matlab-shell-run-region (point-min) (point-max))
|
||||||
|
(message "Waiting for Matlab Emacs Link")
|
||||||
|
(while (file-exists-p wait-file) (sit-for 0.01))
|
||||||
|
"")) ;; matlab-shell-run-region doesn't seem to
|
||||||
|
;; make *matlab* buffer contents easily
|
||||||
|
;; available, so :results output currently
|
||||||
|
;; won't work
|
||||||
|
(org-babel-comint-with-output session
|
||||||
|
(if matlabp org-babel-octave-eoe-indicator org-babel-octave-eoe-output) t
|
||||||
|
(insert full-body) (comint-send-input nil t)))) results)
|
||||||
(case result-type
|
(case result-type
|
||||||
(value
|
(value
|
||||||
(org-babel-octave-import-elisp-from-file (org-babel-maybe-remote-file tmp-file)))
|
(org-babel-octave-import-elisp-from-file (org-babel-maybe-remote-file tmp-file)))
|
||||||
|
|
|
@ -62,7 +62,7 @@ In case you want to use a different screen than one selected by your $PATH")
|
||||||
(socket (org-babel-screen-session-socketname session)))
|
(socket (org-babel-screen-session-socketname session)))
|
||||||
(unless socket (org-babel-prep-session:screen session params))
|
(unless socket (org-babel-prep-session:screen session params))
|
||||||
(org-babel-screen-session-execute-string
|
(org-babel-screen-session-execute-string
|
||||||
session (org-babel-expand-body:screen body)))))
|
session (org-babel-expand-body:screen body params)))))
|
||||||
|
|
||||||
(defun org-babel-prep-session:screen (session params)
|
(defun org-babel-prep-session:screen (session params)
|
||||||
"Prepare SESSION according to the header arguments specified in PARAMS."
|
"Prepare SESSION according to the header arguments specified in PARAMS."
|
||||||
|
|
24
doc/org.texi
24
doc/org.texi
|
@ -495,7 +495,7 @@ example as:
|
||||||
@r{@bullet{} a TODO list editor}
|
@r{@bullet{} a TODO list editor}
|
||||||
@r{@bullet{} a full agenda and planner with deadlines and work scheduling}
|
@r{@bullet{} a full agenda and planner with deadlines and work scheduling}
|
||||||
@pindex GTD, Getting Things Done
|
@pindex GTD, Getting Things Done
|
||||||
@r{@bullet{} an environment to implement David Allen's GTD system}
|
@r{@bullet{} an environment in which to implement David Allen's GTD system}
|
||||||
@r{@bullet{} a basic database application}
|
@r{@bullet{} a basic database application}
|
||||||
@r{@bullet{} a simple hypertext system, with HTML and La@TeX{} export}
|
@r{@bullet{} a simple hypertext system, with HTML and La@TeX{} export}
|
||||||
@r{@bullet{} a publishing tool to create a set of interlinked webpages}
|
@r{@bullet{} a publishing tool to create a set of interlinked webpages}
|
||||||
|
@ -8456,8 +8456,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
|
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]]}.
|
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
|
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
|
cross references, make sure that the link is on a line by itself and precede
|
||||||
with:
|
it with @code{#+CAPTION} and @code{#+LABEL} as follows:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
#+CAPTION: This is the caption for the next figure link (or table)
|
#+CAPTION: This is the caption for the next figure link (or table)
|
||||||
|
@ -8559,7 +8559,7 @@ Edit the source code example at point in its native mode. This works by
|
||||||
switching to a temporary buffer with the source code. You need to exit by
|
switching to a temporary buffer with the source code. You need to exit by
|
||||||
pressing @kbd{C-c '} again@footnote{Upon exit, lines starting with @samp{*}
|
pressing @kbd{C-c '} again@footnote{Upon exit, lines starting with @samp{*}
|
||||||
or @samp{#} will get a comma prepended, to keep them from being interpreted
|
or @samp{#} will get a comma prepended, to keep them from being interpreted
|
||||||
by Org as outline nodes or special comments. These commas will be striped
|
by Org as outline nodes or special comments. These commas will be stripped
|
||||||
for editing with @kbd{C-c '}, and also for export.}, the edited version will
|
for editing with @kbd{C-c '}, and also for export.}, the edited version will
|
||||||
then replace the old version in the Org buffer. Fixed-width regions
|
then replace the old version in the Org buffer. Fixed-width regions
|
||||||
(where each line starts with a colon followed by a space) will be edited
|
(where each line starts with a colon followed by a space) will be edited
|
||||||
|
@ -8698,7 +8698,7 @@ delimiters, for example:
|
||||||
Angles are written as Greek letters \alpha, \beta and \gamma.
|
Angles are written as Greek letters \alpha, \beta and \gamma.
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@vindex org-html-entities
|
@vindex org-entities
|
||||||
During export, these symbols will be transformed into the native format of
|
During export, these symbols will be transformed into the native format of
|
||||||
the exporter backend. Strings like @code{\alpha} will be exported as
|
the exporter backend. Strings like @code{\alpha} will be exported as
|
||||||
@code{α} in the HTML output, and as @code{$\alpha$} in the La@TeX{}
|
@code{α} in the HTML output, and as @code{$\alpha$} in the La@TeX{}
|
||||||
|
@ -8707,7 +8707,7 @@ output. Similarly, @code{\nbsp} will become @code{ } in HTML and
|
||||||
like this: @samp{\Aacute@{@}stor}.
|
like this: @samp{\Aacute@{@}stor}.
|
||||||
|
|
||||||
A large number of entities is provided, with names taken from both HTML and
|
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{\-} is treated as a shy hyphen, and @samp{--}, @samp{---}, and
|
||||||
@samp{...} are all converted into special commands creating hyphens of
|
@samp{...} are all converted into special commands creating hyphens of
|
||||||
different lengths or a compact set of dots.
|
different lengths or a compact set of dots.
|
||||||
|
@ -9718,14 +9718,14 @@ If you need references to a label created in this way, write
|
||||||
@node Beamer class export, , Images in LaTeX export, LaTeX and PDF export
|
@node Beamer class export, , Images in LaTeX export, LaTeX and PDF export
|
||||||
@subsection Beamer class export
|
@subsection Beamer class export
|
||||||
|
|
||||||
The LaTeX class @file{beamer} allows to produce high quality presentations
|
The LaTeX class @file{beamer} allows production of high quality presentations
|
||||||
using LaTeX and pdf processing. Org-mode has special support for turning an
|
using LaTeX and pdf processing. Org-mode has special support for turning an
|
||||||
Org-mode file or tree into a @file{beamer} presentation.
|
Org-mode file or tree into a @file{beamer} presentation.
|
||||||
|
|
||||||
When the LaTeX class for the current buffer (as set with @code{#+LaTeX_CLASS:
|
When the LaTeX class for the current buffer (as set with @code{#+LaTeX_CLASS:
|
||||||
beamer}) or subtree (set with a @code{LaTeX_CLASS} property) is
|
beamer}) or subtree (set with a @code{LaTeX_CLASS} property) is
|
||||||
@code{beamer}, a special export mode will turn the file or tree into a beamer
|
@code{beamer}, a special export mode will turn the file or tree into a beamer
|
||||||
presentation. Any tree with not-to-deep level nesting should in principle be
|
presentation. Any tree with not-too-deep level nesting should in principle be
|
||||||
exportable as a beamer presentation. By default, the top-level entries (or
|
exportable as a beamer presentation. By default, the top-level entries (or
|
||||||
the first level below the selected subtree heading) will be turned into
|
the first level below the selected subtree heading) will be turned into
|
||||||
frames, and the outline structure below this level will become itemize lists.
|
frames, and the outline structure below this level will become itemize lists.
|
||||||
|
@ -9757,7 +9757,7 @@ set an options argument for the implied @code{columns} environment.
|
||||||
@item BEAMER_col
|
@item BEAMER_col
|
||||||
The width of a column that should start with this entry. If this property is
|
The width of a column that should start with this entry. If this property is
|
||||||
set, the entry will also get a @code{:BMCOL:} property to make this visible.
|
set, the entry will also get a @code{:BMCOL:} property to make this visible.
|
||||||
Also this tag is only a visual aid. When his is a plain number, it will be
|
Also this tag is only a visual aid. When this is a plain number, it will be
|
||||||
interpreted as a fraction of @code{\textwidth}. Otherwise it will be assumed
|
interpreted as a fraction of @code{\textwidth}. Otherwise it will be assumed
|
||||||
that you have specified the units, like @samp{3cm}. The first such property
|
that you have specified the units, like @samp{3cm}. The first such property
|
||||||
in a frame will start a @code{columns} environment to surround the columns.
|
in a frame will start a @code{columns} environment to surround the columns.
|
||||||
|
@ -9801,7 +9801,7 @@ environment or the @code{BEAMER_col} property.
|
||||||
Column view provides a great way to set the environment of a node and other
|
Column view provides a great way to set the environment of a node and other
|
||||||
important parameters. Make sure you are using a COLUMN format that is geared
|
important parameters. Make sure you are using a COLUMN format that is geared
|
||||||
toward this special purpose. The command @kbd{M-x
|
toward this special purpose. The command @kbd{M-x
|
||||||
org-beamer-settings-template} does define such a format.
|
org-beamer-settings-template} defines such a format.
|
||||||
|
|
||||||
Here is a simple example Org document that is intended for beamer export.
|
Here is a simple example Org document that is intended for beamer export.
|
||||||
|
|
||||||
|
@ -10011,12 +10011,12 @@ more types to this list as long as DocBook supports them.
|
||||||
@cindex Special characters in DocBook export
|
@cindex Special characters in DocBook export
|
||||||
|
|
||||||
@vindex org-export-docbook-doctype
|
@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},
|
Special characters that are written in @TeX{}-like syntax, such as @code{\alpha},
|
||||||
@code{\Gamma}, and @code{\Zeta}, are supported by DocBook exporter. These
|
@code{\Gamma}, and @code{\Zeta}, are supported by DocBook exporter. These
|
||||||
characters are rewritten to XML entities, like @code{α},
|
characters are rewritten to XML entities, like @code{α},
|
||||||
@code{Γ}, and @code{Ζ}, based on the list saved in variable
|
@code{Γ}, and @code{Ζ}, 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.
|
corresponding entities, these special characters are recognized.
|
||||||
|
|
||||||
You can customize variable @code{org-export-docbook-doctype} to include the
|
You can customize variable @code{org-export-docbook-doctype} to include the
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,3 +1,8 @@
|
||||||
|
2010-05-02 Dan Davison <davison@stats.ox.ac.uk>
|
||||||
|
|
||||||
|
* org-src.el (org-edit-src-code): allow-write-back-p had
|
||||||
|
erroneously been omitted from let binding
|
||||||
|
|
||||||
2010-04-30 Carsten Dominik <carsten.dominik@gmail.com>
|
2010-04-30 Carsten Dominik <carsten.dominik@gmail.com>
|
||||||
|
|
||||||
* org-agenda.el (org-sorting-choice): New sorting type alpha.
|
* org-agenda.el (org-sorting-choice): New sorting type alpha.
|
||||||
|
|
|
@ -500,7 +500,8 @@ the mode line."
|
||||||
;; A string. See if it is a delta
|
;; A string. See if it is a delta
|
||||||
(setq sign (string-to-char value))
|
(setq sign (string-to-char value))
|
||||||
(if (member sign '(?- ?+))
|
(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 current 0))
|
||||||
(setq value (org-hh:mm-string-to-minutes value))
|
(setq value (org-hh:mm-string-to-minutes value))
|
||||||
(if (equal ?- sign)
|
(if (equal ?- sign)
|
||||||
|
|
|
@ -46,11 +46,11 @@ in backends where the corresponding character is not available."
|
||||||
:type 'boolean)
|
:type 'boolean)
|
||||||
|
|
||||||
(defcustom org-entities-user nil
|
(defcustom org-entities-user nil
|
||||||
"User-defined entities used in Org-mode to preduce special characters.
|
"User-defined entities used in Org-mode to produce special characters.
|
||||||
Each entry in this list is a list of strings. It associate the name
|
Each entry in this list is a list of strings. It associates the name
|
||||||
of the entity that can be inserted into an Org file as \\name with the
|
of the entity that can be inserted into an Org file as \\name with the
|
||||||
appropriate replacements for the different export backends. The order
|
appropriate replacements for the different export backends. The order
|
||||||
of the fields is he following
|
of the fields is the following
|
||||||
|
|
||||||
name As a string, without the leading backslash
|
name As a string, without the leading backslash
|
||||||
LaTeX replacement In ready LaTeX, no further processing will take place
|
LaTeX replacement In ready LaTeX, no further processing will take place
|
||||||
|
@ -59,10 +59,10 @@ LaTeX mathp A Boolean, either t or nil. t if this entity needs
|
||||||
HTML replacement In ready HTML, no further processing will take place.
|
HTML replacement In ready HTML, no further processing will take place.
|
||||||
Usually this will be an &...; entity.
|
Usually this will be an &...; entity.
|
||||||
ASCII replacement Plain ASCII, no extensions. Symbols that cannot be
|
ASCII replacement Plain ASCII, no extensions. Symbols that cannot be
|
||||||
represented will be written out as an explanatory text.
|
represented will be left as they are, but see the.
|
||||||
But see the variable `org-entities-ascii-keep-macro-form'.
|
variable `org-entities-ascii-explanatory'.
|
||||||
Latin1 replacement Use the special characters available in latin1.
|
Latin1 replacement Use the special characters available in latin1.
|
||||||
utf-8 replacement Use special character available in utf-8.
|
utf-8 replacement Use the special characters available in utf-8.
|
||||||
|
|
||||||
If you define new entities here that require specific LaTeX packages to be
|
If you define new entities here that require specific LaTeX packages to be
|
||||||
loaded, add these packages to `org-export-latex-packages-alist'."
|
loaded, add these packages to `org-export-latex-packages-alist'."
|
||||||
|
|
|
@ -458,7 +458,7 @@ changes."
|
||||||
(:foreground "green"))
|
(:foreground "green"))
|
||||||
(((class color) (min-colors 8) (background dark))
|
(((class color) (min-colors 8) (background dark))
|
||||||
(:foreground "yellow"))))
|
(:foreground "yellow"))))
|
||||||
"Face for fixed-with text like code snippets."
|
"Face for fixed-width text like code snippets."
|
||||||
:group 'org-faces
|
:group 'org-faces
|
||||||
:version "22.1")
|
:version "22.1")
|
||||||
|
|
||||||
|
@ -600,7 +600,7 @@ belong to the weekend."
|
||||||
(defface org-agenda-dimmed-todo-face
|
(defface org-agenda-dimmed-todo-face
|
||||||
'((((background light)) (:foreground "grey50"))
|
'((((background light)) (:foreground "grey50"))
|
||||||
(((background dark)) (:foreground "grey50")))
|
(((background dark)) (:foreground "grey50")))
|
||||||
"Face used to dimm blocked tasks in the agenda."
|
"Face used to dim blocked tasks in the agenda."
|
||||||
:group 'org-faces)
|
:group 'org-faces)
|
||||||
|
|
||||||
(defface org-scheduled-previously
|
(defface org-scheduled-previously
|
||||||
|
|
|
@ -63,7 +63,7 @@ there are kept outside the narrowed region."
|
||||||
"The default coderef format.
|
"The default coderef format.
|
||||||
This format string will be used to search for coderef labels in literal
|
This format string will be used to search for coderef labels in literal
|
||||||
examples (EXAMPLE and SRC blocks). The format can be overwritten in
|
examples (EXAMPLE and SRC blocks). The format can be overwritten in
|
||||||
an individual literal example with the -f option, like
|
an individual literal example with the -l option, like
|
||||||
|
|
||||||
#+BEGIN_SRC pascal +n -r -l \"((%s))\"
|
#+BEGIN_SRC pascal +n -r -l \"((%s))\"
|
||||||
...
|
...
|
||||||
|
@ -205,12 +205,12 @@ the edited version. Optional argument CONTEXT is used by
|
||||||
(beg (make-marker))
|
(beg (make-marker))
|
||||||
(end (make-marker))
|
(end (make-marker))
|
||||||
(preserve-indentation org-src-preserve-indentation)
|
(preserve-indentation org-src-preserve-indentation)
|
||||||
|
(allow-write-back-p (null code))
|
||||||
block-nindent total-nindent ovl lang lang-f single lfmt begline buffer msg)
|
block-nindent total-nindent ovl lang lang-f single lfmt begline buffer msg)
|
||||||
(if (not info)
|
(if (not info)
|
||||||
nil
|
nil
|
||||||
(setq beg (move-marker beg (nth 0 info))
|
(setq beg (move-marker beg (nth 0 info))
|
||||||
end (move-marker end (nth 1 info))
|
end (move-marker end (nth 1 info))
|
||||||
allow-write-back-p (null code)
|
|
||||||
msg (if allow-write-back-p
|
msg (if allow-write-back-p
|
||||||
(substitute-command-keys
|
(substitute-command-keys
|
||||||
"Edit, then exit with C-c ' (C-c and single quote)")
|
"Edit, then exit with C-c ' (C-c and single quote)")
|
||||||
|
|
21
lisp/org.el
21
lisp/org.el
|
@ -3029,7 +3029,7 @@ compiling LaTeX snippets into images for inclusion into HTML."
|
||||||
(string :tag "A line of LaTeX"))))
|
(string :tag "A line of LaTeX"))))
|
||||||
|
|
||||||
(defcustom org-export-latex-packages-alist nil
|
(defcustom org-export-latex-packages-alist nil
|
||||||
"Alist of packages to be inserted in every LaTeX the header.
|
"Alist of packages to be inserted in every LaTeX header.
|
||||||
These will be inserted after `org-export-latex-default-packages-alist'.
|
These will be inserted after `org-export-latex-default-packages-alist'.
|
||||||
Each cell is of the format \( \"options\" \"package\" snippet-flag \).
|
Each cell is of the format \( \"options\" \"package\" snippet-flag \).
|
||||||
SNIPPET-FLAG, when t, indicates that this package is also needed when
|
SNIPPET-FLAG, when t, indicates that this package is also needed when
|
||||||
|
@ -4773,7 +4773,7 @@ will be prompted for."
|
||||||
'(font-lock-fontified t face org-block))
|
'(font-lock-fontified t face org-block))
|
||||||
t)
|
t)
|
||||||
((and (match-end 4) (equal dc3 "begin"))
|
((and (match-end 4) (equal dc3 "begin"))
|
||||||
;; Truely a block
|
;; Truly a block
|
||||||
(setq block-type (downcase (match-string 5))
|
(setq block-type (downcase (match-string 5))
|
||||||
quoting (member block-type org-protecting-blocks))
|
quoting (member block-type org-protecting-blocks))
|
||||||
(when (re-search-forward
|
(when (re-search-forward
|
||||||
|
@ -7174,7 +7174,7 @@ Sorting can be alphabetically, numerically, by date/time as given by
|
||||||
a time stamp, by a property or by priority.
|
a time stamp, by a property or by priority.
|
||||||
|
|
||||||
The command prompts for the sorting type unless it has been given to the
|
The command prompts for the sorting type unless it has been given to the
|
||||||
function through the SORTING-TYPE argument, which needs to a character,
|
function through the SORTING-TYPE argument, which needs to be a character,
|
||||||
\(?n ?N ?a ?A ?t ?T ?s ?S ?d ?D ?p ?P ?r ?R ?f ?F). Here is the
|
\(?n ?N ?a ?A ?t ?T ?s ?S ?d ?D ?p ?P ?r ?R ?f ?F). Here is the
|
||||||
precise meaning of each character:
|
precise meaning of each character:
|
||||||
|
|
||||||
|
@ -7471,11 +7471,11 @@ If WITH-CASE is non-nil, the sorting will be case-sensitive."
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(define-minor-mode orgstruct-mode
|
(define-minor-mode orgstruct-mode
|
||||||
"Toggle the minor more `orgstruct-mode'.
|
"Toggle the minor mode `orgstruct-mode'.
|
||||||
This mode is for using Org-mode structure commands in other modes.
|
This mode is for using Org-mode structure commands in other
|
||||||
The following key behave as if Org-mode was active, if the cursor
|
modes. The following keys behave as if Org-mode were active, if
|
||||||
is on a headline, or on a plain list item (both in the definition
|
the cursor is on a headline, or on a plain list item (both as
|
||||||
of Org-mode).
|
defined by Org-mode).
|
||||||
|
|
||||||
M-up Move entry/item up
|
M-up Move entry/item up
|
||||||
M-down Move entry/item down
|
M-down Move entry/item down
|
||||||
|
@ -15917,8 +15917,9 @@ See `org-ctrl-c-ctrl-c-hook' for more information.
|
||||||
This hook runs as the first action when TAB is pressed, even before
|
This hook runs as the first action when TAB is pressed, even before
|
||||||
`org-cycle' messes around with the `outline-regexp' to cater for
|
`org-cycle' messes around with the `outline-regexp' to cater for
|
||||||
inline tasks and plain list item folding.
|
inline tasks and plain list item folding.
|
||||||
If any function in this hook returns t, not other actions like table
|
If any function in this hook returns t, any other actions that
|
||||||
field motion visibility cycling will be done.")
|
would have been caused by TAB (such as table field motion or visibility
|
||||||
|
cycling) will not occur.")
|
||||||
|
|
||||||
(defvar org-tab-after-check-for-table-hook nil
|
(defvar org-tab-after-check-for-table-hook nil
|
||||||
"Hook for functions to attach themselves to TAB.
|
"Hook for functions to attach themselves to TAB.
|
||||||
|
|
Loading…
Reference in New Issue