emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* HTML table export with col width <XY>
@ 2009-12-30  7:57 Karl Eichwalder
  2009-12-31  7:55 ` Carsten Dominik
  0 siblings, 1 reply; 6+ messages in thread
From: Karl Eichwalder @ 2009-12-30  7:57 UTC (permalink / raw)
  To: emacs-orgmode

I'm using org 6.33x.  If you limit the col width with the special header
notation (e.g., "<35>"), org-export-as-html-to-buffer expands the "=>"
indicator literally.  In org mode my table looks as follows:

| <35>                                |          |                |
| Rückfahrt                           |          |                |
|-------------------------------------+----------+----------------|
| St. Bartholomä                      | ab 16:30 | Schiff         |
| Schönau (Königssee), ab Berchtesgad | ab 17:xx | Bus (z.t. SEV) |
                                  ^^^^

where the long field actually contains:

    #
    # Edit field and finish with C-c C-c
    #
    Schönau (Königssee), ab Berchtesgaden weiter als SEV
                                    ^^^^

M-x org-export-as-html-to-buffer RET
==>
...
<tbody>
<tr><td>St. Bartholomä</td><td>ab 16:30</td><td>Schiff</td></tr>
<tr><td>Schönau (Königssee), ab Berchtesgaden weiter als SEV</td><td>ab 17:xx</td><td>Bus (z.t. SEV)</td></tr>
                                        ^^^^

Thanks for this great software!

-- 
Karl Eichwalder

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

* Re: HTML table export with col width <XY>
  2009-12-30  7:57 HTML table export with col width <XY> Karl Eichwalder
@ 2009-12-31  7:55 ` Carsten Dominik
  2009-12-31  8:26   ` Karl Eichwalder
  0 siblings, 1 reply; 6+ messages in thread
From: Carsten Dominik @ 2009-12-31  7:55 UTC (permalink / raw)
  To: Karl Eichwalder; +Cc: emacs-orgmode

Hi Karl,

I cannot reproduce this.

Are you using XEmacs, maybe?

- Carsten

On Dec 30, 2009, at 8:57 AM, Karl Eichwalder wrote:

> I'm using org 6.33x.  If you limit the col width with the special  
> header
> notation (e.g., "<35>"), org-export-as-html-to-buffer expands the "=>"
> indicator literally.  In org mode my table looks as follows:
>
> | <35>                                |          |                |
> | Rückfahrt                           |          |                |
> |-------------------------------------+----------+----------------|
> | St. Bartholomä                      | ab 16:30 | Schiff         |
> | Schönau (Königssee), ab Berchtesgad | ab 17:xx | Bus (z.t. SEV) |
>                                  ^^^^
>
> where the long field actually contains:
>
>    #
>    # Edit field and finish with C-c C-c
>    #
>    Schönau (Königssee), ab Berchtesgaden weiter als SEV
>                                    ^^^^
>
> M-x org-export-as-html-to-buffer RET
> ==>
> ...
> <tbody>
> <tr><td>St. Bartholomä</td><td>ab 16:30</td><td>Schiff</td></tr>
> <tr><td>Schönau (Königssee), ab Berchtesgaden weiter als SEV</ 
> td><td>ab 17:xx</td><td>Bus (z.t. SEV)</td></tr>
>                                        ^^^^
>
> Thanks for this great software!
>
> -- 
> Karl Eichwalder
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten

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

* Re: HTML table export with col width <XY>
  2009-12-31  7:55 ` Carsten Dominik
@ 2009-12-31  8:26   ` Karl Eichwalder
  2010-01-03 18:53     ` Carsten Dominik
  0 siblings, 1 reply; 6+ messages in thread
From: Karl Eichwalder @ 2009-12-31  8:26 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1164 bytes --]

Carsten Dominik <carsten.dominik@gmail.com> writes:

> I cannot reproduce this.
>
> Are you using XEmacs, maybe?

No, but I should have mentioned that I'm using MacOSX 10.4.11 (PPC):

In GNU Emacs 23.1.90.1 (powerpc-apple-darwin8.11.0, NS apple-appkit-824.48)
 of 2009-12-14 on goethe.local
Windowing system distributor `Apple', version 10.3.824
configured using `configure  '--with-ns''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  value of $XMODIFIERS: nil
  locale-coding-system: nil
  default enable-multibyte-characters: t

Major mode: Summary

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

================================================================

BTW, it also exports the "<XY>" string:


[-- Attachment #2: html export --]
[-- Type: image/png, Size: 146339 bytes --]

[-- Attachment #3: Type: text/plain, Size: 22 bytes --]



-- 
Karl Eichwalder

[-- Attachment #4: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: HTML table export with col width <XY>
  2009-12-31  8:26   ` Karl Eichwalder
@ 2010-01-03 18:53     ` Carsten Dominik
  2010-01-03 20:02       ` Rocky Road
  0 siblings, 1 reply; 6+ messages in thread
From: Carsten Dominik @ 2010-01-03 18:53 UTC (permalink / raw)
  To: Karl Eichwalder; +Cc: emacs-orgmode

Hi Karl,

I still cannot reproduce this.
Anybody else?

- Carsten

On Dec 31, 2009, at 9:26 AM, Karl Eichwalder wrote:

> Carsten Dominik <carsten.dominik@gmail.com> writes:
>
>> I cannot reproduce this.
>>
>> Are you using XEmacs, maybe?
>
> No, but I should have mentioned that I'm using MacOSX 10.4.11 (PPC):
>
> In GNU Emacs 23.1.90.1 (powerpc-apple-darwin8.11.0, NS apple- 
> appkit-824.48)
> of 2009-12-14 on goethe.local
> Windowing system distributor `Apple', version 10.3.824
> configured using `configure  '--with-ns''
>
> Important settings:
>  value of $LC_ALL: nil
>  value of $LC_COLLATE: nil
>  value of $LC_CTYPE: nil
>  value of $LC_MESSAGES: nil
>  value of $LC_MONETARY: nil
>  value of $LC_NUMERIC: nil
>  value of $LC_TIME: nil
>  value of $LANG: nil
>  value of $XMODIFIERS: nil
>  locale-coding-system: nil
>  default enable-multibyte-characters: t
>
> Major mode: Summary
>
> Minor modes in effect:
>  tooltip-mode: t
>  mouse-wheel-mode: t
>  menu-bar-mode: t
>  file-name-shadow-mode: t
>  global-font-lock-mode: t
>  font-lock-mode: t
>  global-auto-composition-mode: t
>  auto-composition-mode: t
>  auto-encryption-mode: t
>  auto-compression-mode: t
>  line-number-mode: t
>  transient-mark-mode: t
>
> ================================================================
>
> BTW, it also exports the "<XY>" string:
>
> <emacs-org-html.png>
>
> -- 
> Karl Eichwalder

- Carsten

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

* Re: HTML table export with col width <XY>
  2010-01-03 18:53     ` Carsten Dominik
@ 2010-01-03 20:02       ` Rocky Road
  2010-01-04  9:23         ` Carsten Dominik
  0 siblings, 1 reply; 6+ messages in thread
From: Rocky Road @ 2010-01-03 20:02 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode

On Sun, 2010-01-03 at 19:53 +0100, Carsten Dominik wrote:
> Hi Karl,
> 
> I still cannot reproduce this.
> Anybody else?
> 
> - Carsten
> 

I  can reproduce it from the simple input:

     | <35>                                |     |
     | header                              | len |
     |-------------------------------------+-----|
     | Short line                          |  10 |
     | A loooooooooooooooooooooooooooooooooooooooooooooooooooong line | 62 |


However, it appears that the '=>' is only a display artifact in the
generated buffer, it is not saved to a file.

But the <XY> line is actually written:

     <tr><th scope="col">&lt;35&gt;</th><th scope="col"></th></tr>


** Versions used :
  - org-mode 6.33f
  - GNU Emacs 23.0.91.1
  - linux 2.6.28-17-generic (ubuntu 9.04 jaunty)

HTH.

Michelle

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

* Re: HTML table export with col width <XY>
  2010-01-03 20:02       ` Rocky Road
@ 2010-01-04  9:23         ` Carsten Dominik
  0 siblings, 0 replies; 6+ messages in thread
From: Carsten Dominik @ 2010-01-04  9:23 UTC (permalink / raw)
  To: Rocky Road; +Cc: emacs-orgmode


On Jan 3, 2010, at 9:02 PM, Rocky Road wrote:

> On Sun, 2010-01-03 at 19:53 +0100, Carsten Dominik wrote:
>> Hi Karl,
>>
>> I still cannot reproduce this.
>> Anybody else?
>>
>> - Carsten
>>
>
> I  can reproduce it from the simple input:
>
>     | <35>                                |     |
>     | header                              | len |
>     |-------------------------------------+-----|
>     | Short line                          |  10 |
>     | A loooooooooooooooooooooooooooooooooooooooooooooooooooong line  
> | 62 |
>
>
> However, it appears that the '=>' is only a display artifact in the
> generated buffer, it is not saved to a file.


Ah, that clears it up.  I had understood that the arrow shows up in  
the browser.
But now I see it in the .html Emacs buffer, this is a left-over  
display property.
Fixed, thanks.

>
> But the <XY> line is actually written:
>
>     <tr><th scope="col">&lt;35&gt;</th><th scope="col"></th></tr>

Yes.  You can get rid of it by adding a special first column and  
putting a
"/" into the first column of lines you'd like to have removed.

At some point I had code that would do this automatically for lines  
that only
have these cookies.  But I removed it again because it was causing  
trouble.  Maybe I should in fact get a better version of that back  
into the code - it would be nice
to make them go away automatically.....

- Carsten


>
>
> ** Versions used :
>  - org-mode 6.33f
>  - GNU Emacs 23.0.91.1
>  - linux 2.6.28-17-generic (ubuntu 9.04 jaunty)
>
> HTH.
>
> Michelle
>
>
>

- Carsten

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

end of thread, other threads:[~2010-01-04  9:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-30  7:57 HTML table export with col width <XY> Karl Eichwalder
2009-12-31  7:55 ` Carsten Dominik
2009-12-31  8:26   ` Karl Eichwalder
2010-01-03 18:53     ` Carsten Dominik
2010-01-03 20:02       ` Rocky Road
2010-01-04  9:23         ` Carsten Dominik

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).