0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-22 02:10:43 +00:00
Commit graph

235 commits

Author SHA1 Message Date
Carsten Dominik f84ce1cecf Fix bug in search for text property. 2008-11-17 05:54:15 +01:00
Carsten Dominik 7797fec4b7 Fix bug in require htmlize code.
Reported by Daniel Clemente.
2008-11-17 05:51:32 +01:00
Carsten Dominik a4f9f8c93b Make invisible targets anchors in the headlines or items.
Org allows to define invisible anchors in a document in comment lines
like

If such a line is directly before or after a headline, previously this
anchor was removed, and all references to it were replaced with
references to the anchor that the headline had anyway.

Matthew Lundin pointed out that this makes it impossible to have
permanent links to headlines that can also be used from outside the
current page.

This patch changes his situation by adding the additional targets as
empty anchors to the section heading.  If works by creating, during
preprocessing, an alist with targets that do have aliases.  During
publishing, these aliases are looked up and converted into anchors.
In LaTeX export, these additional targets become additional labels.
2008-11-16 22:18:33 +01:00
Carsten Dominik ecd801ab19 Avoid line </div> if there is no headline.
This is a bugfix.  When the number of headline levels was set to zero,
or if there was no heading at all in the export, the final closing
</div> should not be present.
2008-11-15 15:40:18 +01:00
Carsten Dominik 4954225ce3 Implement link translation.
This patch implements the possibility to translate links.
It can be useful if use both planner and Org-mode, if you sometimes
copy text from one side to the other and you do not want to worry
about link syntax.  This patch allows links created with planner to
function correctly in Org-mode.  I would probably be simple to
implement the reverse conversion in planner as well.

This patch is a first shot at this functionality and very likely can
be improved.
2008-11-14 14:13:48 +01:00
Carsten Dominik 38970e875f Restore the old iCalendar quoting for the time being.
The attempt to implement RFC2455 does seem to lead to problems with
some applications.
2008-11-14 08:21:07 +01:00
Carsten Dominik a33679ee5d Improve RFC 2445 compliance
iCalendar export has now improved compliance with RFC 2445.
Now all occurrences in data fields of the double quotes are replaced
by two single quotes, and any fields containing comma, colon, or
semicolon are quoted by surrounding them with double quotes.
2008-11-13 17:19:39 +01:00
Carsten Dominik 6291ef8b7f Make sure that each <img> tag has an `alt' attribute.
XHTML validation requires hat each <img> tag does provide an
`alt' attribute.  This patch, based on a draft by Sebastian Rose, does
fix this.
2008-11-13 09:15:01 +01:00
Carsten Dominik 3b5007cd2b Release 6.12b. 2008-11-12 23:58:49 +01:00
Carsten Dominik b55ec41bc4 Release 6.12a
Because I forgot to push before I pressed the release button.....
2008-11-11 11:21:36 +01:00
Carsten Dominik ed81800ccf Release 6.12 2008-11-11 11:03:17 +01:00
Carsten Dominik 3b9a16af0b Add Catalan and Esperanto language entries for HTML export. 2008-11-11 06:46:01 +01:00
Carsten Dominik 6bc7997499 More language specifications of HTML export. 2008-11-10 18:01:44 +01:00
Carsten Dominik 1ffa6b76f5 Release 6.11c. 2008-11-09 08:20:00 +01:00
Carsten Dominik 7e483b6a1c Fix the Spanish language entries. 2008-11-09 08:14:36 +01:00
Carsten Dominik eb4f62ae34 Release 6.11a. 2008-11-08 22:29:54 +01:00
Carsten Dominik eca65008c2 Fix some more typos. 2008-11-08 18:32:18 +01:00
Carsten Dominik c708279809 Release 6.11 2008-11-08 16:43:48 +01:00
Carsten Dominik f9f6254b03 Add Swedish translation for Footnotes. 2008-11-08 16:41:29 +01:00
Carsten Dominik fc6a16f20f Improve Footnote export.
Export of Footnotes to HTML now uses a configurable structure.
Also the word "Footnotes" has been translated into many languages.
2008-11-08 15:30:19 +01:00
Carsten Dominik 2c0291287a Push version number to 6.11pre01.
We are moving toward the next release, please test!
2008-11-06 09:14:14 +01:00
Carsten Dominik 9d13e3c536 Improve XHTML validation.
Horizontal rules are not allowed inside a <p>...</p> structure.
We now explicitly exit paragraph mode before inserting the <hr/> tag.
2008-11-03 21:54:28 +01:00
Carsten Dominik ca27c1d0b3 Reverse the changes that quoted " to &quot;
This change inerferred with other functionality of the exporter,
causing all kinds of issues.
2008-11-03 21:08:02 +01:00
Carsten Dominik c9cd22e861 Collect footnotes in HTML export.
All footnotes are now collected and put into a separate <div> at the
end of the HTML document, but before the footer.
2008-11-03 21:05:12 +01:00
Carsten Dominik 15b4ae9038 Process link descriptions in HTML export like any content.
Link descriptions where so far exported literally.  However, really
they need to escape special characters and have TeX-like macros
interpreted and emphasis enabled just like any other text.

This patch makes sure link descriptions are passed through a new
filter, `org-export-html-format-desc' which does just that.

This fix is a follow-up to a report by Sebastian Rose.
2008-11-03 14:26:18 +01:00
Carsten Dominik 293d3311d6 Check for horizontally-split windows when shrinking a window.
So far, Org used either `fit-window-to-buffer' or
`shrink-window-if-larger-than-buffer' without any further checks when
displaying one of its many help and selection buffers.  This can cause
problems if the user has set up Emacs to split windows horizontally
rather than vertically, because the window being shrunken then may be
side-by-side with another window, and shrinking the height of one will
also change the other.

With this patch, shrinking a window always goes through the new
function `org-fit-window-to-buffer' which only acts if the current
window spans the whole width of the frame.

Furthermore, this function also helps with compatibility, because it
falls back to `shrink-window-if-larger-than-buffer' if
`fit-window-to-buffer' does not exist, as is the case on older version
of Emacs and XEmacs.
2008-11-03 13:38:25 +01:00
Carsten Dominik 413d9b73b0 Make href's in XHTML output valid.
field (or in any other attribute value) must be written as "&amp;" in
order to be valid XHMTL.  This patch implements a new filter function
through which every href value is passed, and which enforces this
standard.

This is was triggered by a report by Sebastian Rose.
2008-11-03 12:05:30 +01:00
Carsten Dominik d7a7ad915f intermediate 2008-11-03 09:14:10 +01:00
Carsten Dominik bdc93a9cd2 Mark style definitions as unparsed CDATA.
Org-mode does sometimes included CSS definitions directly
into an exported XHTML file.  To pass validation tests
for XHTML, these sections need to be wrapped in
order to pass as CDATA, not PCDATA.  This patch
(written by Sebastian Rose) does implement this change.
It also fixes some typos.
2008-11-02 17:01:50 +01:00
Carsten Dominik 8c1e5c2d17 Improve XHTML validation. 2008-11-02 07:59:09 +01:00
Carsten Dominik 73d6659faa Allow to turn off the default style. 2008-10-28 16:35:51 +01:00
Carsten Dominik cff8571c31 Fix priority bug in icalendar export. 2008-10-28 15:39:45 +01:00
Carsten Dominik 1f892af3e6 Fix typo. 2008-10-26 06:58:28 +01:00
Carsten Dominik 523cf1fe31 Release 6.10c. 2008-10-25 12:56:42 +02:00
Carsten Dominik 3794f574e2 Release 6.10b. 2008-10-25 12:54:49 +02:00
Carsten Dominik 88d4405e86 Release 6.10a. 2008-10-24 23:16:42 +02:00
Carsten Dominik 794839f1da Release 6.10. 2008-10-23 09:19:43 +02:00
Carsten Dominik e22ac452ad Fix ASCII export bug when exporting from indirect buffer. 2008-10-22 17:37:24 +02:00
Carsten Dominik b7db897e6d Moving toward the 6.10 release. 2008-10-22 09:57:42 +02:00
Carsten Dominik 337d2f2762 Fix a giant, horrible bug in org-publish.
When publishing, org was more or less trying to export random files.
2008-10-21 18:21:52 +02:00
Carsten Dominik 52fa7f817b Add commands to export to PDF.
This works by creating LaTeX first, and then processing it.
2008-10-15 17:21:52 +02:00
Carsten Dominik 10fc47f234 Make note about case-fold-search 2008-10-14 18:41:58 +02:00
Carsten Dominik 16e030620a Improve environment quoting for LaTeX export. 2008-10-14 18:11:01 +02:00
Carsten Dominik 4574d894ce Release 6.09a. 2008-10-12 07:36:18 +02:00
Carsten Dominik 5515343107 New default for `org-file-apps'.
The new default asks to open all those files in Emacs, for which
`auto-mode-alist' does contain an entry.  The reasoning is that
Org-mode users are Emacs users and probably like to use exactly
this setup.  The only exception configured as such by default is
that files with html or xhtml extensions will be opened using
the system default, most likely a browser.
2008-10-10 13:07:36 +02:00
Carsten Dominik 5b6a8a55e8 Fix problems with internal links for LateX export. 2008-10-10 11:42:01 +02:00
Carsten Dominik 1e3198b821 intermediate 2008-10-10 08:46:05 +02:00
Carsten Dominik 5ebc1a7982 Release 6.09. 2008-10-09 13:18:25 +02:00
Carsten Dominik 57e912c275 Push version number to 6.09pre01. 2008-10-07 15:45:58 +02:00
Carsten Dominik 4c55b885d5 Documentation fixes. 2008-10-05 12:57:01 +02:00
Carsten Dominik e195a3ee4b Release 6.08a. 2008-10-05 08:31:54 +02:00
Carsten Dominik c0292f955e Release 6.08. 2008-10-05 08:27:53 +02:00
Carsten Dominik 7b7ad51618 Fix bug with title extraction during export when first line is headline. 2008-10-03 11:51:42 +02:00
Carsten Dominik 20364d043a Implement #+LATEX_HEADER special.
Proposed by Austin Frank and apparently also by Russel Adams.
2008-10-02 15:00:14 +02:00
Carsten Dominik b1d5e6c62d Allow multiple #+STYLE lines in the buffer. 2008-10-01 11:41:00 +02:00
Carsten Dominik feab6c1348 Change version number to 6.08-pre01 2008-09-21 08:34:23 +02:00
Carsten Dominik a8b3081610 Release 6.07b. 2008-09-21 08:26:30 +02:00
Carsten Dominik b777e88fd6 Release 6.07a. 2008-09-19 16:19:32 +02:00
Carsten Dominik 194faab2b6 Bumping up the version number to 6.07. 2008-09-19 08:25:13 +02:00
Carsten Dominik 8ad796156e More options for categories in iCalendar export.
Tags and the todo state can now be listed as categories.
2008-09-18 17:35:55 +02:00
Carsten Dominik 2491b7e55d Fix typos. 2008-09-17 17:57:18 +02:00
Carsten Dominik 1b23a3fd20 Get rid of some compiler messages by fixing bugs and definitions. 2008-09-17 13:55:59 +02:00
Carsten Dominik ad7e092f98 Allow tags to select parts of a document for export. 2008-09-17 13:47:18 +02:00
Carsten Dominik 8e2b65bdef Intermediate 2008-09-16 16:52:21 +02:00
Carsten Dominik 21ff23736c Merge changes from downstream emacs. 2008-09-10 11:10:21 +02:00
Carsten Dominik e1ed8cf2e9 Make sure text before the first headline is in <p>. 2008-09-07 17:37:56 +02:00
Carsten Dominik 87292441ab Remove the #+TEXT field from the export template. 2008-09-07 17:27:29 +02:00
Carsten Dominik 3cbdda0e07 Do not remove existing buffers during publishing.
Also, do not set a major mode for a buffer that will be killed anyway.
2008-09-07 12:24:47 +02:00
Carsten Dominik 4ddd0d9ec6 Remove angular brackets from date in export options template. 2008-09-05 17:33:20 +02:00
Carsten Dominik e8394dcbcf Fix example indentation for export.
Patch from Bernt Hansen.
2008-09-03 10:50:10 +02:00
Carsten Dominik e16cbbb5e2 Fix some typos. 2008-09-03 10:36:21 +02:00
Carsten Dominik ce88fc8273 Allow {} to terminate a tex macro inside a word.
For example, you can now write \Aacute{}stor.
2008-09-01 16:45:11 +02:00
Carsten Dominik 4daef5679d Fixed typos. 2008-09-01 11:20:49 +02:00
Carsten Dominik b87ec4c0f1 Added default styles for org-info.js 2008-07-26 07:30:44 -07:00
Carsten Dominik c4375970d7 Minor fixes. 2008-07-25 20:41:02 -07:00
Carsten Dominik 2c26217b88 Release 6.06b. 2008-07-25 14:58:41 -07:00
Carsten Dominik 68fcc0b493 Allow setting creator flag in OPTIONS line. 2008-07-24 12:58:47 -07:00
Carsten Dominik a66568abb9 Add attributes also to mailto and ftp links. 2008-07-24 11:24:48 -07:00
Carsten Dominik 177e154e6c Release 6.06a. 2008-07-24 06:42:03 -07:00
Carsten Dominik 14ffcc8b9a Release 6.06. 2008-07-24 06:26:02 -07:00
Carsten Dominik 0be85cda60 Fix bug when exporting links with attributes. 2008-07-23 16:04:01 -07:00
Carsten Dominik 66a41c6298 Fix bug with region export. 2008-07-23 10:40:21 -07:00
Carsten Dominik 3db122fdbb Allow attributes in hyperlinks. 2008-07-17 14:29:26 -07:00
Carsten Dominik 95cb6cea45 Ass "example" class to exported examples. 2008-07-17 09:27:30 -07:00
Carsten Dominik c780c3e550 Add language-specific class to source code examples. 2008-07-17 09:22:49 -07:00
Carsten Dominik b94b1def2c Better default format for HTML export time stamp. 2008-07-14 12:14:23 -07:00
Carsten Dominik 63bf841e91 Automatic overflow handling for <pre> fields.
This is a change in the default HTML style.  Fields that
are too wide will not get a scroll bar.
2008-07-14 12:00:43 -07:00
Carsten Dominik 7ac36c7e66 Fix bug with link normalization and link abbrev expansion. 2008-07-05 08:06:10 -07:00
Bastien Guerry b68b57c99f Small doc fixes from Emacs (Juanma Barranquero) and a bug fix in org-exp.el.
See <E1KE2Mh-0005EC-CF@cvs.savannah.gnu.org> in emacs-commit@:
* org.el (org-agenda-skip-unavailable-files):
* org-clock.el (org-clock-out-when-done): Doc fixes.

The bug affected the exportation of commented subtree: case cannot be
ignored when checking for the COMMENT cookie ("Comment" is a frequent
word in french, and has a completely different meaning.)
2008-07-04 04:09:00 +02:00
Carsten Dominik 9919ff82a0 Fix bugs in the BEGIN_VERSE environment.
This did not work at all - now it does.....
2008-07-02 15:14:12 -07:00
Carsten Dominik b5ed7fca04 Version number bumped to 6.06pre01. 2008-07-02 13:34:26 -07:00
Carsten Dominik 3d59326fcf Allow prefixes in include file statements. 2008-07-02 13:29:45 -07:00
Carsten Dominik 3d80ceb6d9 Fixed typos. 2008-07-02 10:43:35 -07:00
Carsten Dominik 507700505a Main HTML style has moved into a constant.
The variable `org-export-html-style' now only specified
deviations from this default style.
2008-07-01 16:22:57 -07:00
Carsten Dominik 5f39979bbe New variable to add to the default HTML style.
Instead of overwriting the default style, you can now simply add to it
using the variable `org-export-html-style-extra'.
2008-06-29 17:20:17 +02:00
Carsten Dominik f02b4baab3 New option to turn off creator info. 2008-06-26 06:04:44 +02:00
Carsten Dominik 9b084b22f5 Allow omitting the "file:" prefix in some file links.
The file path must be absolute, or it must start with "./" or "../".
2008-06-24 08:37:50 +02:00
Carsten Dominik ec5b77ccd2 Implement better handling of deadlines in iCalendar Export.
Deadlines in TODO entries are now used as DUE dates.
2008-06-23 09:08:08 +02:00
Carsten Dominik 21499409c3 Release 6.05b. 2008-06-20 00:21:15 +02:00
Carsten Dominik a9ac84c16c Fixed typos. 2008-06-18 09:24:05 +02:00