4 |
@setfilename ../info/org |
@setfilename ../info/org |
5 |
@settitle Org Mode Manual |
@settitle Org Mode Manual |
6 |
|
|
7 |
@set VERSION 3.19 |
@set VERSION 3.20 |
8 |
@set DATE October 2005 |
@set DATE October 2005 |
9 |
|
|
10 |
@dircategory Emacs |
@dircategory Emacs |
698 |
Insert a horizontal line below current row. With prefix arg, the line |
Insert a horizontal line below current row. With prefix arg, the line |
699 |
is created above the current line. |
is created above the current line. |
700 |
|
|
701 |
|
@kindex C-c ^ |
702 |
|
@item C-c ^ |
703 |
|
Sort the table lines in the region. Point and mark must be in the first |
704 |
|
and last line to be included, and must be in the column that should be |
705 |
|
used for sorting. The command prompts for numerical versus |
706 |
|
alphnumerical sorting. |
707 |
|
|
708 |
@tsubheading{Regions} |
@tsubheading{Regions} |
709 |
@kindex C-c C-x M-w |
@kindex C-c C-x M-w |
710 |
@item C-c C-x M-w |
@item C-c C-x M-w |
866 |
@end example |
@end example |
867 |
|
|
868 |
The range vectors can be directly fed into the calc vector functions |
The range vectors can be directly fed into the calc vector functions |
869 |
like functions @samp{vmean} and @samp{vsum}. |
like @samp{vmean} and @samp{vsum}. |
870 |
|
|
871 |
@samp{$name} is interpreted as the name of a column, parameter or |
@samp{$name} is interpreted as the name of a column, parameter or |
872 |
constant. Constants are defined globally through the variable |
constant. Constants are defined globally through the variable |
873 |
@code{org-table-formula-constants}. If you have the |
@code{org-table-formula-constants}. If you have the |
874 |
@file{constants.el} package, it will also be used to resolve |
@file{constants.el} package, it will also be used to resolve |
875 |
constants, including natural constants like @samp{$k} for Planck's |
constants, including natural constants like @samp{$h} for Planck's |
876 |
constant, units like @samp{$km} for kilometers. Column names and |
constant, units like @samp{$km} for kilometers. Column names and |
877 |
parameters can be specified in special table lines. These are |
parameters can be specified in special table lines. These are |
878 |
described below, see @ref{Advanced features}. |
described below, see @ref{Advanced features}. |
979 |
The fields in this line define names for the columns, so that you may |
The fields in this line define names for the columns, so that you may |
980 |
refer to a column as @samp{$Tot} instead of @samp{$6}. |
refer to a column as @samp{$Tot} instead of @samp{$6}. |
981 |
@item ^ |
@item ^ |
982 |
This row define names for the fields @emph{above} the row. With such |
This row defines names for the fields @emph{above} the row. With such |
983 |
a definition, any formula in the table may use @samp{$m1} to refer to |
a definition, any formula in the table may use @samp{$m1} to refer to |
984 |
the value @samp{10}. Also, named fields can have their own formula |
the value @samp{10}. Also, named fields can have their own formula |
985 |
associated with them. |
associated with them. |
1769 |
@table @kbd |
@table @kbd |
1770 |
@kindex C-c [ |
@kindex C-c [ |
1771 |
@item C-c [ |
@item C-c [ |
1772 |
Add current file to the list of agenda files |
Add current file to the list of agenda files. The file is added to |
1773 |
|
the front of the list. If it was already in the list, it is moved to |
1774 |
|
the front. With prefix arg, file is added/moved to the end. |
1775 |
@kindex C-c ] |
@kindex C-c ] |
1776 |
@item C-c ] |
@item C-c ] |
1777 |
Remove current file from the list of agenda files. |
Remove current file from the list of agenda files. |
1778 |
|
@kindex C-, |
1779 |
|
@item C-, |
1780 |
|
Cycle through agenda file list. |
1781 |
@end table |
@end table |
1782 |
@noindent |
@noindent |
1783 |
The Org menu contains the list of all files and can be used to quickly |
The Org menu contains the list of all files and can be used to quickly |
2214 |
@section HTML export |
@section HTML export |
2215 |
@cindex HTML export |
@cindex HTML export |
2216 |
|
|
2217 |
Org-mode contains an HTML exporter with extensive HTML formatting. |
Org-mode contains an HTML exporter with extensive HTML formatting, in |
2218 |
|
ways similar to John Grubers @emph{markdown} language, but with |
2219 |
|
additional support for tables. |
2220 |
|
|
2221 |
@cindex region, active |
@cindex region, active |
2222 |
@cindex active region |
@cindex active region |
2260 |
exporter implements the following interpretation: |
exporter implements the following interpretation: |
2261 |
|
|
2262 |
@itemize @bullet |
@itemize @bullet |
2263 |
|
|
2264 |
|
@cindex hand-formatted lists |
2265 |
|
@cindex lists, hand-formatted |
2266 |
|
@item |
2267 |
|
Hand-formatted lists with @samp{-}, @samp{*} or @samp{+} as |
2268 |
|
bullet@footnote{When using @samp{*} as a bullet, lines must be |
2269 |
|
indented or they will be seen as top-level headlines.}, or |
2270 |
|
with @samp{1.}, @samp{2.} as enumerator will be recognized and |
2271 |
|
transformed into HTML lists. The |
2272 |
|
lists is terminated by the next headline, or by a line that is |
2273 |
|
indented like the bullet/enumerator in the first line, or less. For |
2274 |
|
example: |
2275 |
|
@example |
2276 |
|
** Lord of the Rings |
2277 |
|
Some of my favorite scenes are |
2278 |
|
- Eowyns fight |
2279 |
|
- The attack of the Roherim |
2280 |
|
(this may be favorite one) |
2281 |
|
- Peter Jackson being shot by Legolas, |
2282 |
|
in the extended DVD edition only |
2283 |
|
My favorite characters are (in this sequence): |
2284 |
|
1. Sam |
2285 |
|
2. Eowyn |
2286 |
|
3. Aragorn |
2287 |
|
Among the others I don't really have a preference. |
2288 |
|
@end example |
2289 |
|
By default, only no nesting of lists is allowed, but see the variable |
2290 |
|
@code{org-export-local-list-max-depth}. |
2291 |
@cindex underlined text |
@cindex underlined text |
2292 |
@cindex bold text |
@cindex bold text |
2293 |
@cindex italic text |
@cindex italic text |
2379 |
TeX: @r{turn on/off @TeX{} macros} |
TeX: @r{turn on/off @TeX{} macros} |
2380 |
@end example |
@end example |
2381 |
|
|
2382 |
|
You can also give style information for the exported file. The |
2383 |
|
default specification can be configured through the option |
2384 |
|
@code{org-export-html-style}. If you want to use a file-local style, |
2385 |
|
you may use file variables, best wrapped into a COMMENT section at the |
2386 |
|
end of the outline tree. For example: |
2387 |
|
|
2388 |
|
@example |
2389 |
|
* COMMENT HTML style specifications |
2390 |
|
|
2391 |
|
# Local Variables: |
2392 |
|
# org-export-html-style: " <style type=\"text/css\"> |
2393 |
|
p @{font-weight: normal; color: gray; @} |
2394 |
|
h1 @{color: black; @} |
2395 |
|
</style>" |
2396 |
|
# End: *** |
2397 |
|
@end example |
2398 |
|
|
2399 |
|
Remember to execute @kbd{M-x normal-mode} after changing this to make |
2400 |
|
the new style visible to Emacs. |
2401 |
|
|
2402 |
@node Comment lines, , Export options, HTML export |
@node Comment lines, , Export options, HTML export |
2403 |
@subsection Comment lines |
@subsection Comment lines |
2404 |
@cindex comment lines |
@cindex comment lines |
2594 |
@i{before} the horizontal line. How can I quickly move to the line |
@i{before} the horizontal line. How can I quickly move to the line |
2595 |
@i{below} the horizontal line instead?}@* |
@i{below} the horizontal line instead?}@* |
2596 |
Press @key{down} (to get on the separator line) and then @key{TAB}. |
Press @key{down} (to get on the separator line) and then @key{TAB}. |
2597 |
|
Or configure the variable @code{org-table-tab-jumps-over-hlines}. |
2598 |
|
|
2599 |
@item @b{How can I change the indentation of an entire table without |
@item @b{How can I change the indentation of an entire table without |
2600 |
fixing every line by hand?}@* |
fixing every line by hand?}@* |
2712 |
have found too hard to fix. |
have found too hard to fix. |
2713 |
|
|
2714 |
@itemize @bullet |
@itemize @bullet |
2715 |
@item |
@c @item |
2716 |
If you call @code{fill-paragraph} (bound to @kbd{M-q}) in a table, the |
@c If you call @code{fill-paragraph} (bound to @kbd{M-q}) in a table, the |
2717 |
filling is correctly disabled. However, if some text directly |
@c filling is correctly disabled. However, if some text directly |
2718 |
(without an empty line in between) precedes or follows a table, calling |
@c (without an empty line in between) precedes or follows a table, calling |
2719 |
@code{fill-paragraph} in that text will also fill the table like |
@c @code{fill-paragraph} in that text will also fill the table like |
2720 |
normal text. Also, @code{fill-region} does bypass the |
@c normal text. Also, @code{fill-region} does bypass the |
2721 |
@code{fill-paragraph} code and will fill tables like normal text. |
@c @code{fill-paragraph} code and will fill tables like normal text. |
2722 |
@item |
@item |
2723 |
Text in an entry protected with the @samp{QUOTE} keyword should not |
Text in an entry protected with the @samp{QUOTE} keyword should not |
2724 |
autowrap. |
autowrap. |