Commit Graph

478 Commits

Author SHA1 Message Date
Carsten Dominik d89284b240 Release 6.16 2008-12-20 11:16:01 +01:00
Carsten Dominik c668817bf3 Revert "HTML export: Remove the name attribute from anchors that do not need it."
This reverts commit 642620ebb3.
2008-12-19 15:06:47 +01:00
Carsten Dominik 642620ebb3 HTML export: Remove the name attribute from anchors that do not need it. 2008-12-19 12:50:36 +01:00
Carsten Dominik 1b655ff4af Fix problem with <pre> of source code inside a paragraph. 2008-12-19 12:46:46 +01:00
Carsten Dominik db2485cb41 Fix invalid <img> tag. 2008-12-19 12:38:17 +01:00
Carsten Dominik 952c6b9901 Version number to 6.15trans. 2008-12-19 09:14:00 +01:00
Carsten Dominik 8ff0c60894 Release 6.15f 2008-12-18 23:38:53 +01:00
Carsten Dominik 2075b26a92 Pushing version number to 6.15trans. 2008-12-18 09:04:15 +01:00
Carsten Dominik ec702aa4ba Release 6.15d. 2008-12-17 11:52:55 +01:00
Carsten Dominik 181235f605 Release 6.15c. 2008-12-17 09:59:25 +01:00
Carsten Dominik 9029d93e3a Release 6.15b. 2008-12-17 09:18:32 +01:00
Carsten Dominik db6004ae1d Fix some additional typos. 2008-12-17 09:08:06 +01:00
Bernt Hansen cda33628ff Fix typos in org-exp.el 2008-12-16 12:10:50 -05:00
Bernt Hansen fb6a774f4a Whitespace 2008-12-16 12:10:47 -05:00
Carsten Dominik 96d9a2e467 Release 6.15a 2008-12-16 10:40:42 +01:00
Carsten Dominik 67a50839e9 Release 6.15 2008-12-16 08:30:55 +01:00
Carsten Dominik cf75cdb7f3 Fix bugs with new figure <div>. 2008-12-10 23:43:24 +01:00
Carsten Dominik c5ca477c38 Pushed version number to 6.14trans. 2008-12-10 23:34:16 +01:00
Carsten Dominik ac83bc01d7 Better implementation of unique entry IDs.
Unique identifiers for entries can now be used more efficiently.
Internally, a hash array has replaced the alist used so far to
keep track of the files in which an ID is defined.  This makes it
quite fast to find an entry by ID.

There is now a new link type which looks like this:

id:GLOBALLY-UNIQUE-IDENTIFIER

This link points to a specific entry.  When you move the entry to
a different file, for example if you move it to an archive
file, this link will continue to work.

The file /org-id.el/ contains an API that can be used to write
code using these identifiers, including creating IDs and finding
them wherever they are.

Org has its own method to create unique identifiers, but if the
system has /uuidgen/ command installed (Mac's and Linux systems
generally do), it will be used by default.  You an also select
the method by hand, using the variable =org-id-method=.

If the ID system ever gets confused about where a certain ID is,
it initiates a global scan of all agenda files with associated
archives, all files previously known containing any IDs, and all
currently visited Org-mode files to rebuild the hash.  You can
also initiate this by hand: =M-x org-id-update-id-locations=.
Running this command will also dump into the =*Messages*= buffer
information about any duplicate IDs.  These should not exist, but
if you /copy/ an entry with its properties, duplicate IDs will
inevitably be produced.  This is unavoidable in a plain text
system that allows you to edit the text in arbitrary ways, and a
portion of care on your side is needed to keep this system clean.

The hash is stored in the file =~/.emacs.d/.org-id-locations=.
This is also a change from previous versions where the file was
=~/.org=id-locations=.  Therefore, you can remove this old file
if you have it.  I am not sure what will happen if the =.emacs.d=
directory does not exists in your setup, but in modern Emacsen, I
believe it should exist.  If you do not want to use IDs across
files, you can avoid the overhead with tracking IDs by
customizing the variable =org-id-track-globally=.  IDs can then
still be used for links inside a single file.

IDs will also be used when you create a new link to an Org-mode
buffer.  If you use =org-store-link= (normally at =C-c l=) inside
en entry in an Org-mode buffer, and ID property will be created
if it does not exist, and the stored link will be an =id:= link.
If you prefer the much less secure linking to headline text, you
can configure the variable =org-link-to-org-use-id=.  The default
setting for this variable is =create-if-interactive=, meaning
that an ID will be created when you store a link interactively,
but not if you happen to be in an Org-mode file while you create
a remember note (which usually has a link to the place where you
were when starting remember).
2008-12-10 23:32:37 +01:00
Carsten Dominik b2ad719f51 Implement a new link type "id:" to link to entry ids. 2008-12-10 14:31:18 +01:00
Carsten Dominik 45102b68ce Captions and attributes for images and tables during export
Tables, and Hyperlinks that represent inlined images, can now be
equipped with additional information that will be used during
export.  The information will be taken from the following special
lines in the buffer and apply to the first following table or
link.

  - #+CAPTION: :: The caption of the image or table.  This string
       should be processed according to the export backend, but
       this is not yet done.
  - #+LABEL: :: A label to identify the figure/table for cross
       references.  For HTML export, this string will become the
       ID for the `<div class="figure">' element that encapsulates
       the image tag and the caption.  For LaTeX export, this
       string will be used as the argument of a `\label{...}'
       macro.  These lables will be available for internal links
       like `[[label][Table] ]'.
  - #+ATTR_HTML: :: Attributes for HTML export of image, to be
       added as attributes into the `<img...>' tag.  This string
       will not be processed, so it should have immediately the
       right format.
  - #+ATTR_LaTeX: :: Attributes for LaTeX export of images, to
       be inserted into the optional argument of the
       `\includegraphics[...]{file}' command, to specify scaling,
       clipping and other options.  This string will not be
       processed, so it should have immediately the right
       format, like `width=5cm,angle=90'

For LaTeX export, if either a caption or a label is given, the
element will be exported as a float, i.e. wrapped into a figure
or table environment.
2008-12-10 12:50:07 +01:00
Carsten Dominik 0216c9a27c Fix minor problems with blockquote and verse HTML export.
Xerxes Folupa writes:

> I spotted a little inconsistency in the way Org strips tags when
> processing #+begin_verse ... #+end_verse, and #+begin_quote
> ... #+end_quote blocks, compared with other literal blocks that strip
> superfluous <p> tags correctly (e.g. #+html)

[...]

> Additional question: is the space before the <br/> in verse blocks a
> design decision?

This patch fixes these issues.
2008-12-07 21:16:14 +01:00
Carsten Dominik 7b6ad9054e Release 6.14. 2008-12-06 07:34:30 +01:00
Carsten Dominik 0e157c59ba 6.14pre01
Moving toward a release.
2008-12-05 14:55:58 +01:00
Carsten Dominik db782da26b Remove unnecessary whitespace. 2008-12-04 15:33:43 +01:00
Carsten Dominik 760c3ec098 Implement new quoting for CDATA elements.
It seems that CSS and Java-script stuff should be quoted in a very
strange way in order to make sure that the resulting file functions
correct in current browsers *and* validates against various XHTML and
XML standards.  To be honest, the quoting technique seem really
strange, but Sebastian Rose argues, that this is the way to handle
this issue.
2008-12-03 23:55:10 +01:00
Carsten Dominik c7fc66edbe Document a function. 2008-12-03 09:33:24 +01:00
Carsten Dominik b266f5a90c Make LOCATION property inheritable for iCalendar export.
Harri Kiiskinen suggested that it might be useful to make the LOCATION
property an inherited property during iCalendar export.  In this way
you can have set the LOCATION for a whole set of items by setting it
only in the parent.

While this will slow down iCalendar export for large files, I think it
can be quite useful.  This patch does implement the basic code needed
for this functionality.  However, you still need to tell Org that
LOCATION should be inherited, by setting org-use-property-inheritance.
If you set it to t, beware that this may trigger a significant
slowdown when creating the match view in the agenda.  So it may be
better to set this variable to

(setq org-use-property-inheritance '("LOCATION"))

instead.
2008-12-03 08:28:26 +01:00
Carsten Dominik aa07f68c12 Better handling of export options.
This patch improves the internal handling of the large number of
export options that Org-mode has.  In particular, it now defines a
single constant, `org-export-plist-vars' that contains the full list
of options, and how these can be accessed through variables, and
through the #+OPTIONS line.  Before the patch, there used to be a
separate list or the OPTIONS handling, which has gotten out of sync.
This now no longer can happen.

Also, this patch adds two new variables, `org-export-with-priority',
and `org-export-with-todo-keywords', which can be used to turn the
export of TODO keywords and priority cookies on and off, so that these
can simply disappear and not be shown in the exported file.  In fact,
the default for the priority cookie is to remove it.
2008-12-03 07:33:05 +01:00
Carsten Dominik c0a779bd9d Fix bug with handling of targets in ASCII export.
Target text used to disappear, now it is kept as it should be.
2008-11-26 07:32:10 +01:00
Carsten Dominik 825fdfa95e Change version number to 6.13trans. 2008-11-25 20:42:53 +01:00
Carsten Dominik eb48aaa7c1 Release 6.13a. 2008-11-24 12:22:56 +01:00
Carsten Dominik 06edd56942 Release 6.13 2008-11-23 08:10:04 +01:00
Carsten Dominik 5810f0a8c9 6.13pre05
Getting close.....
2008-11-22 10:25:55 +01:00
Carsten Dominik 33744b0de5 Allow one comment line before the first headline.
When the export skips the text before the first headline, we now
include the comment line before the first headline, if any.
This makes sure that we can specify an anchor for this headline.
2008-11-21 19:45:51 +01:00
Carsten Dominik db5c609be9 6.13pre04 2008-11-21 13:35:45 +01:00
Carsten Dominik 94e8fa7ca0 Remove "\\" during ASCII export.
"\\" at the end of a line marks forces line breaks for HTML and LaTeX
export.  ASCII export does preserve lines anyway, but these line break
indicators might still be present and need to be removed.

Reported by Rustom Mody.
2008-11-21 13:16:18 +01:00
Carsten Dominik 7d45c9f4bf 6.13p03 2008-11-21 07:18:35 +01:00
Carsten Dominik 81e3b95843 6.13pre02. 2008-11-20 15:02:53 +01:00
Carsten Dominik 926bab3a67 Pushing version number to 6.13pre01. 2008-11-20 08:28:02 +01:00
Carsten Dominik 8c60f9ee12 Fix typo. 2008-11-17 10:02:09 +01:00
Carsten Dominik 0d36db1d39 Avoid HTML processing of image specifiers in link descriptions.
A link to an image can function as the description part of a link, to
create a clickable image.  The corresponding image tag was
erroneously processed like normal text.  This patch protects such
descriptions from processing.

Reported by Richard Riley.
2008-11-17 08:14:53 +01:00
Carsten Dominik 24b32f199b Switch version number to 6.12trans 2008-11-17 07:58:11 +01:00
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
Carsten Dominik 2a8f099e7e Release 6.05a. 2008-06-17 17:06:16 +02:00
Carsten Dominik e1c22570b7 Version number 6.05, this will be released soon. 2008-06-16 17:51:04 +02:00
Carsten Dominik e8202bf861 Version number 6.05pre01, with a detailed list of changes.
Yes, the 6.05 release is just around the corner.
2008-06-15 09:44:21 +02:00
Carsten Dominik d915190dec Use string width to center headline in ascii export. 2008-06-15 06:44:27 +02:00
Carsten Dominik da4f268b84 New hook that is called before saving an exported iCalendar file. 2008-06-13 12:25:50 +02:00
Carsten Dominik aa57d06982 Fix bug with removing ical buffer too early.
The problem was that the function that did kill the buffer was called
inside the loop - it should really be called outside!
2008-06-13 10:39:37 +02:00
Carsten Dominik c16d17d0e6 Bug fixed. 2008-06-12 12:46:52 +02:00
Carsten Dominik edfd4f8abf Fixed bug with file tags.
This bug was reported by Manuel Hermenegildo.  There
were really two issues:  The parsing of the FILETAGS line
was broken, and the function `org-get-tags-at' did ignore
these tags.  Both problems are fixed now.
2008-06-10 13:42:27 +02:00
Carsten Dominik d821bf13b1 Make the format of section number configurable.
This was a request by Adam Spiers.
2008-06-10 10:05:15 +02:00
Carsten Dominik 5d70b8f761 Fix bug with removing xomments during export.
Reported by Adam Spiers.
2008-06-10 09:02:57 +02:00
Carsten Dominik b78d39350c Bug fix: Org hangs upon export when the end_example line is missing. 2008-06-09 17:10:18 +02:00
Carsten Dominik 236396ebf8 Split the export pre-processor into a zillion small functions. 2008-05-28 16:59:17 +02:00
Carsten Dominik 18eba42709 Fix typo in Changes.org. 2008-05-28 14:11:57 +02:00
Carsten Dominik c9ea8bc470 Release 6.04c. 2008-05-27 08:09:31 +02:00
Carsten Dominik cd16b87216 Make C-c ' edit even more things around point. 2008-05-27 08:08:28 +02:00
Carsten Dominik 174cc21d08 Bug fix for removal of comments during export. 2008-05-25 16:15:25 +02:00
Carsten Dominik 3b2b3556b7 Use C-c ' to exit source code editing. 2008-05-25 14:54:53 +02:00
Carsten Dominik 0950127491 Release 6.04. 2008-05-25 09:08:46 +02:00
Carsten Dominik 6a2dbbec3f Implement editing source code examples in the native mode. 2008-05-25 09:07:23 +02:00
Carsten Dominik 9bd2896c94 Version number to 6.04pre01
We are preparing for another release.....
2008-05-24 22:35:23 +02:00
Carsten Dominik 332191cc13 Properties can be used to confiugre subtree export. 2008-05-21 09:49:04 +02:00
Carsten Dominik bd8d5b51c0 Implement EXPORT_TITLE property. 2008-05-20 19:22:00 +02:00
Carsten Dominik 2e634d82d9 Bugfix: Close paragraph after footnote.
Patch by Madhu.
2008-05-19 14:25:08 +02:00
Carsten Dominik 2c0812caf1 Implement TODO statistics.
This uses the same cookies as Checkbox statistics, [%] and [/]
2008-05-19 14:11:47 +02:00
Carsten Dominik 24fd4650de Implement proper UIDs for iCalendar export.
This works now fine except for sexp entries which don't
get reusable UIDs, but fresh ones each time they are exported......
2008-05-19 08:22:51 +02:00
Carsten Dominik 24a400df76 Fix Norwegian language settings.
Patch from Peder Stray
2008-05-18 07:06:07 +02:00
Carsten Dominik 110b336275 Moved org-id.el to the core. Can now force UIDs in iCalendar export. 2008-05-15 10:28:38 +02:00
Carsten Dominik 6ba68246c0 Include domain name into newly created IDs. 2008-05-15 09:39:34 +02:00
Carsten Dominik b4159c5017 Release 6.03. 2008-05-15 04:40:55 +02:00
Carsten Dominik d2795c72c8 Make sure structure commands can be either case. 2008-05-14 14:23:44 +02:00
Carsten Dominik 4b36c8d470 Fixed bug with date ranges in iCalendar export.
When there are no time-of-day infos, the appointment
ended up being too short by one day.  Fixed now.
2008-05-14 14:03:02 +02:00
Carsten Dominik 4b8f738e62 Version number pumped to 6.03pre03 2008-05-14 10:32:24 +02:00
Carsten Dominik f3e075ed62 Support for Muse-like structure tags. 2008-05-14 09:50:53 +02:00
Carsten Dominik bb53613c9f Implement the verse environment. 2008-05-13 15:57:23 +02:00
Carsten Dominik 20fcf5c321 Bug fixes for colored example export. 2008-05-12 07:32:57 +02:00
Carsten Dominik 939051fd3f Bug fix. 2008-05-09 13:59:37 +02:00
Carsten Dominik b00babf8aa Bug fix. 2008-05-09 13:55:25 +02:00
Carsten Dominik de39ac51ee Improve running htmlize.el in batch-mode. 2008-05-09 13:38:01 +02:00
Carsten Dominik d4812f088b Organize Changes.org. 2008-05-08 18:20:28 +02:00
Carsten Dominik 66f801cbff Version number change to 6.03pre01.
Yes, we are moving to the 6.03 release.
2008-05-08 17:17:58 +02:00
Carsten Dominik e46016b469 Cleanup after name change. 2008-05-08 14:45:47 +02:00
Carsten Dominik 9cad371bc4 Implement setup inclusion from external file.
The #+STARTUP etc lines that define settings on a per-file
basis can now be collected in a separate file and included
with a line:

#+SETUPFILE: "/path/to/setup.org"

This has been a frequent request in the past, now it is
finally possible.
2008-05-07 16:26:01 +02:00
Carsten Dominik 38cc3e2a48 Merge branch 'complete-structure-meta-code'
Conflicts:

	ChangeLog
2008-05-07 14:21:45 +02:00
Carsten Dominik ed25bd08fa Implement completion for some export structure elements.
This is an experimental feature and does not really fit
into Org, so it may go away in the future.
2008-05-07 14:18:15 +02:00
Carsten Dominik a738e446be Implement include files for export. 2008-05-07 13:57:00 +02:00
Carsten Dominik fe5c248122 Sync copyright fixes from downstream Emacs 2008-05-06 14:47:44 +02:00
Carsten Dominik 7f51b95a4f Update documentation, to formulate the markup rules more compactly. 2008-05-06 09:32:16 +02:00
Carsten Dominik e6b87d40b3 Implement description lists.
These are implemented as part of plain lists, so a leading
"-" or "+" is still needed.  Maybe this is not the most pretty
implementation, but it works without rewriting the quite
complex list formatting code.  So all the list formatting
continues to work just fine.  The description tag
is highlighted in bold, so still easy to spot.

The HTML exporter does export these already, the LaTeX
exporter still needs to be adapted.
2008-05-05 09:13:25 +02:00
Carsten Dominik 97eef5ed07 Typo fixes. 2008-05-03 16:38:34 +02:00
Carsten Dominik af0b9e7405 Improvements to contrib/lisp/org-eval.el
This works now reasonably stable.
2008-05-03 16:29:48 +02:00
Carsten Dominik 7436274350 Implement color formatting of code examples during HTML export. 2008-05-03 16:17:43 +02:00
Carsten Dominik 54888d3840 Make sure iCalendar export quotes comma and semicolon.
There was a bug in the escaping code, and also the function doing the
escaping was not called for the headline, which can also be the source
of the summary.
2008-04-29 17:42:58 +02:00
Carsten Dominik 15db65ad72 Arch-tag lines and declaration fixes from upstream Emacs. 2008-04-29 07:15:41 +02:00
Carsten Dominik 3b5e243e21 Implementing the eval tags like <lisp> in Muse. 2008-04-28 22:47:04 +02:00
Carsten Dominik 49799dd08e Release 6.02b. 2008-04-27 07:43:19 +02:00
Carsten Dominik 0082c0c129 Release 6.02a 2008-04-25 15:45:35 +02:00
Carsten Dominik 2ea352b4cf Release 6.02. 2008-04-24 10:29:47 +02:00
Carsten Dominik 739edc7849 6.02pre06, now for real! 2008-04-23 10:20:43 +02:00
Carsten Dominik 55235195fe Version number increase to 6.02pre-06. 2008-04-23 08:44:39 +02:00
Carsten Dominik 383774f360 New version number. 2008-04-20 18:18:51 +02:00
Carsten Dominik 3798fbb8f5 New version number, effort estimates work now. 2008-04-18 18:03:08 +02:00
Carsten Dominik 614ad45fac Improve adding up time estimates.
Appointment times can now be included into the estimated load for a day.
2008-04-16 17:08:04 +02:00
Carsten Dominik 1a2d615023 6.02pre02, with an implementation of summaries in agenda columns. 2008-04-15 11:05:39 +02:00
Carsten Dominik 7e4a730ac7 Release 6.01c 2008-04-15 08:51:09 +02:00
Carsten Dominik b63bd61796 release 6.01b 2008-04-14 21:31:16 +02:00
Carsten Dominik 9068f7c1c6 Version number set to 6.01a, release 6.01a. 2008-04-14 20:00:38 +02:00
Carsten Dominik 62db67e9eb Correct dependencies in the Makefile.
Also a new variable and better implementation around export
processing in the background.
2008-04-14 14:59:37 +02:00
Carsten Dominik d237e3dd0a Version number set to 6.01, this will be the release. 2008-04-14 07:52:18 +02:00
Carsten Dominik 7c37f334af Final changes before release.
This implements executing export commands in the background.
Also, the documentation has been updated.
2008-04-14 07:47:32 +02:00
Carsten Dominik c18f4c2124 Bug fix.
Regular expression needed an anchor.
2008-04-13 22:47:08 +02:00
Carsten Dominik 80a93d5d1b Version number bump, 6.00pre-6 2008-04-13 22:17:29 +02:00
Carsten Dominik 178ebd83f6 Improved the treatment of internal links during export.
So far only internal links that lead to a dedicated target where
converted correctly during HTML export.  Now, also heuristic
links create a working jump in a file.
2008-04-13 19:26:31 +02:00
Carsten Dominik b7628661b1 Version number change to 6.00pre-5 2008-04-10 08:37:43 +02:00
Carsten Dominik 1b58b6ba9f Split out org-faces, org-archive.el, org-colview.el from org.el. 2008-04-09 15:42:36 +02:00
Carsten Dominik 7a51a7e5f0 Completion for INFOJS options, and documentation. Add new faces. 2008-04-09 13:49:51 +02:00
Carsten Dominik 15534acef0 Implemented new archiving mechanism: The Attic Sibling.
Archiving to the attic sibling means to move the entry to
become a child of a sibling with heading "Attic", that is also
marked with the ARCHIVE tag.
2008-04-08 12:29:28 +02:00
Carsten Dominik 417d3e5303 Version number bump to 6.00pre-3 2008-04-07 08:35:14 +02:00
Carsten Dominik bd80cd71d2 Much better integration of org-info.js. 2008-04-07 08:32:00 +02:00
Carsten Dominik 2f02a50fcc Fix bug in org-info.js setup.
I had forgotten the call to the setup routine, it is now in.
2008-04-04 23:47:58 +02:00
Carsten Dominik 617dc871aa Cleaning up the code.
This is an ongoing program, more to come.
2008-04-03 15:27:33 +02:00
Carsten Dominik 8ab3473db8 Bug fix in JavaScript setup.
This was a simple typo, reported by Sebastian Rose.
2008-04-03 11:50:30 +02:00
Carsten Dominik 2d899ae97f Implement org-info.js support. And bug fixes.
Now you can set this stuff directly from the org-mode file.
Documentation is still missing, this is a work-in-progress
commit and still needs check with Sebastian's script.

Bug fix with note taking when auto-repeating a task:
There was a problem if the state change already triggered the
recording of a time, then the request for a *note* in
`org-log-repeat' was ignored.  Reported by Bernt Hansen.
2008-04-03 10:10:33 +02:00
Carsten Dominik cff6e9af30 Version number bump. 2008-04-01 22:13:46 +02:00
Carsten Dominik 3885aa55d5 Pushed version number to 6.00pre-1 2008-03-28 10:26:54 +01:00
Carsten Dominik fe939ecb95 Split out a number of files from org.el, and reorganize the
structure of the git repository, using new subdirectories
for Lisp and Documentation files.
2008-03-28 09:57:14 +01:00