emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Org-mode verion 4.65
@ 2007-02-17 14:50 Carsten Dominik
  2007-02-17 16:59 ` David Emery
  2007-02-18 16:27 ` Jason F. McBrayer
  0 siblings, 2 replies; 6+ messages in thread
From: Carsten Dominik @ 2007-02-17 14:50 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

I have released version 4.65 at

http://www.astro.uva.nl/~dominik/Tools/org.

Among other things, this release provides a way to maintain LaTeX tale  
using the orgtbl mode.

Enjoy!


Changes in Version 4.65
-----------------------

* Overview

   - Orgtbl can be used to maintain tables in LaTeX, and in any other  
mode
   - Editing Lisp formulas for table improved.
   - Better structure for HTML exported tables.
   - New "calculation" marker "/" to mark lines that should not be  
exported.

* Detailed description of changes

   - You can use orgtbl mode to maintain a LaTeX table, or pretty much
     any table in any mode.

     This does *not* work by making Orgtbl aware of LaTeX syntax.  That
     would be a box of Pandora I am not willing to open.  Instead, you
     use a normal Orgtbl-mode table, and a converter program to
     automatically place a LaTeX version of the table into the correct
     spot in the LaTeX file.  The orgtbl-mode table can be maintained
     inside the same file, in a block comment.

     I am providing a translators for LaTeX, HTML, and TeXInfo.  For
     other applications, you need to write one yourself - but that is
     not hard if you start from the LaTeX version and just modify it.

     Please read the manual for details.
       
http://staff.science.uva.nl/~dominik/Tools/org/org.html#Tables-in- 
arbitrary-syntax

     Thanks to Thomas Baumann for triggering this development through
     a request for a table-to-LaTeX converter.

   - In the special buffer to edit the formulas of a table (created
     with "C-c '", there is now better support for editing Lisp
     formulas.  TAB and M-TAB work like in an Emacs Lisp buffer,
     indenting lines and completing lisp symbols.  With the cursor on
     a line defining a complex Lisp formula, a first press on TAB will
     convert the formula into a pretty-printed version with proper
     linebreaks and indentation.  A second TAB folds the line back to
     the compact form.

   - Tables in HTML export have now additional structure elements
     defined.  The header (before the first hline) is wrapped into
     <thead>..</thead>, and each part of the body (as separated in
     org-mode by hlines) is wrapped into <tbody>..</tbody> tags.  I
     have also changed the CSS style for <td> fields and the value of
     `org-export-html-table-tag' to get cleaner tables. Basically,
     tables now have horizontal lines only where needed, and no
     vertical lines at all, as generally recommended for tables in
     printed text.  I like the new look, but I am not sure if this
     change will find general approval, please throw in your view if
     you like.  Thanks to Scott for driving this, and to goud-H for
     pointing me to the row grouping in tables.

   - In a table with calculation markers in the first column, you can
     now also put "/" into the first column.  It indicates that this
     line should not be exported.  The foremost application for this
     are lines containing only "<N>" markers for narrowing columns.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Org-mode verion 4.65
  2007-02-17 14:50 Org-mode verion 4.65 Carsten Dominik
@ 2007-02-17 16:59 ` David Emery
  2007-02-17 17:36   ` Carsten Dominik
  2007-02-18 16:27 ` Jason F. McBrayer
  1 sibling, 1 reply; 6+ messages in thread
From: David Emery @ 2007-02-17 16:59 UTC (permalink / raw)
  To: dominik; +Cc: emacs-orgmode

Hi,

Something strange seems to be happening to character encodings on html export in
4.65.

I have an org file with English and Japanese in it, in UTF-8. When I export it
as html, the Ja text gets converted to EUC-JP, and the html headers say
iso-8859-1. Wha, wha, what?

Besides that being a tad bizarre (how in the world is org-mode converting the
encoding of Japanese text?), I'd prefer that the exporter use the encoding of
the source file.

Exporting the same file with 4.62 gives UTF-8 in both the header and actual
encoding, as expected. Is it possible to get that behaviour back?

Dave

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Org-mode verion 4.65
  2007-02-17 16:59 ` David Emery
@ 2007-02-17 17:36   ` Carsten Dominik
  2007-02-18 14:13     ` dave
  0 siblings, 1 reply; 6+ messages in thread
From: Carsten Dominik @ 2007-02-17 17:36 UTC (permalink / raw)
  To: David Emery; +Cc: emacs-orgmode

I don't think I changed anything recently in Org-mode that could have 
produced the change in behavior you describe.  Could you mail me an 
example file, and
the two html files as produced with 4.62 and 4.65?  Also maybe your 
language-related setup in .emacs or .custom (basically a minimal .emacs 
which you can load into an emacs -q and still reproduce what you 
describe?

Thanks.

- Carsten

On Feb 17, 2007, at 17:59, David Emery wrote:

> Hi,
>
> Something strange seems to be happening to character encodings on html 
> export in
> 4.65.
>
> I have an org file with English and Japanese in it, in UTF-8. When I 
> export it
> as html, the Ja text gets converted to EUC-JP, and the html headers say
> iso-8859-1. Wha, wha, what?
>
> Besides that being a tad bizarre (how in the world is org-mode 
> converting the
> encoding of Japanese text?), I'd prefer that the exporter use the 
> encoding of
> the source file.
>
> Exporting the same file with 4.62 gives UTF-8 in both the header and 
> actual
> encoding, as expected. Is it possible to get that behaviour back?
>
> Dave
>
>

--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Org-mode verion 4.65
  2007-02-17 17:36   ` Carsten Dominik
@ 2007-02-18 14:13     ` dave
  2007-02-18 21:09       ` Carsten Dominik
  0 siblings, 1 reply; 6+ messages in thread
From: dave @ 2007-02-18 14:13 UTC (permalink / raw)
  To: dominik; +Cc: emacs-orgmode

On Date: Sat, 17 Feb 2007 18:36:53 +0100, Carsten Dominik <dominik@science.uva.nl> wrote:
> I don't think I changed anything recently in Org-mode that could have 
> produced the change in behavior you describe. 

Hurry! Send over some guys with straitjackets. 

After a good night's sleep, org-mode 4.65 had magically repaired itself
- quite a feat of programming, Mr. Dominik! ;-)

Well, actually I've managed to reproduce almost the same thing, but it requires
a sequence of dumb moves on my part, and happens the same in both
versions. Basically, it looks like I had accidentally changed/messed-up the
encoding of the buffer, maybe to a value of nil - by hitting (C-c return
something-significant), but without saving it.

Sorry about that,
Dave

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Org-mode verion 4.65
  2007-02-17 14:50 Org-mode verion 4.65 Carsten Dominik
  2007-02-17 16:59 ` David Emery
@ 2007-02-18 16:27 ` Jason F. McBrayer
  1 sibling, 0 replies; 6+ messages in thread
From: Jason F. McBrayer @ 2007-02-18 16:27 UTC (permalink / raw)
  To: emacs-orgmode

On Sat, 2007-02-17 at 15:50 +0100, Carsten Dominik wrote:

> Among other things, this release provides a way to maintain LaTeX tale  
> using the orgtbl mode.

Excellent.  For a current project I've needed a way to export org tables
to LaTeX, and have ended up writing my own very special-purpose
converter.  Nice to see I may not need it anymore.

-- 
+-----------------------------------------------------------+
| Jason F. McBrayer                    jmcbray@carcosa.net  |
| If someone conquers a thousand times a thousand others in |
| battle, and someone else conquers himself, the latter one |
| is the greatest of all conquerors.  --- The Dhammapada    |

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Org-mode verion 4.65
  2007-02-18 14:13     ` dave
@ 2007-02-18 21:09       ` Carsten Dominik
  0 siblings, 0 replies; 6+ messages in thread
From: Carsten Dominik @ 2007-02-18 21:09 UTC (permalink / raw)
  To: dave; +Cc: emacs-orgmode


On Feb 18, 2007, at 15:13, dave@skiddlydee.com wrote:

> On Date: Sat, 17 Feb 2007 18:36:53 +0100, Carsten Dominik 
> <dominik@science.uva.nl> wrote:
>> I don't think I changed anything recently in Org-mode that could have
>> produced the change in behavior you describe.
>
> Hurry! Send over some guys with straitjackets.
>
> After a good night's sleep, org-mode 4.65 had magically repaired itself
> - quite a feat of programming, Mr. Dominik! ;-)

LOL.  I am glad this bug somehow did not happen at all.

- Carsten

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-02-18 21:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-17 14:50 Org-mode verion 4.65 Carsten Dominik
2007-02-17 16:59 ` David Emery
2007-02-17 17:36   ` Carsten Dominik
2007-02-18 14:13     ` dave
2007-02-18 21:09       ` Carsten Dominik
2007-02-18 16:27 ` Jason F. McBrayer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).