emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [bug] Org-verbatim and org-code not converted into HTML tags
@ 2014-03-28 15:24 Sebastien Vauban
  2014-03-28 16:31 ` Nicolas Goaziou
  0 siblings, 1 reply; 5+ messages in thread
From: Sebastien Vauban @ 2014-03-28 15:24 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hello,

--8<---------------cut here---------------start------------->8---
When =:hlines yes=, strips horizontal lines from the input table.

When ~:hlines yes~, strips horizontal lines from the input table.
--8<---------------cut here---------------end--------------->8---

outputs the following HTML:

--8<---------------cut here---------------start------------->8---
<p>When =:hlines yes=, strips horizontal lines from the input
table.</p>

<p>When ~:hlines yes~, strips horizontal lines from the input
table.</p>
--8<---------------cut here---------------end--------------->8---

with Org-mode version 8.2.5h (release_8.2.5h-867-g25c591).

Test with minimal Emacs.

Best regards,
  Seb

-- 
Sebastien Vauban

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

* Re: [bug] Org-verbatim and org-code not converted into HTML tags
  2014-03-28 15:24 [bug] Org-verbatim and org-code not converted into HTML tags Sebastien Vauban
@ 2014-03-28 16:31 ` Nicolas Goaziou
  2014-03-29  8:45   ` Sebastien Vauban
  0 siblings, 1 reply; 5+ messages in thread
From: Nicolas Goaziou @ 2014-03-28 16:31 UTC (permalink / raw)
  To: Sebastien Vauban; +Cc: public-emacs-orgmode-mXXj517/zsQ



Hello,

Sebastien Vauban <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
writes:

> When =:hlines yes=, strips horizontal lines from the input table.
>
> When ~:hlines yes~, strips horizontal lines from the input table.
>
> outputs the following HTML:
>
> <p>When =:hlines yes=, strips horizontal lines from the input
> table.</p>
>
> <p>When ~:hlines yes~, strips horizontal lines from the input
> table.</p>
>
> with Org-mode version 8.2.5h (release_8.2.5h-867-g25c591).
>
> Test with minimal Emacs.

This should be fixed. Thank you.


Regards,

-- 
Nicolas Goaziou

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

* Re: [bug] Org-verbatim and org-code not converted into HTML tags
  2014-03-28 16:31 ` Nicolas Goaziou
@ 2014-03-29  8:45   ` Sebastien Vauban
  2014-04-18 11:39     ` Bastien
  0 siblings, 1 reply; 5+ messages in thread
From: Sebastien Vauban @ 2014-03-29  8:45 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hello,

Nicolas Goaziou wrote:
> Sebastien Vauban writes:
>
>> When =:hlines yes=, strips horizontal lines from the input table.
>>
>> outputs the following HTML:
>>
>> <p>When =:hlines yes=, strips horizontal lines from the input
>> table.</p>
>>
>> with Org-mode version 8.2.5h (release_8.2.5h-867-g25c591).
>
> This should be fixed. Thank you.

This is:

--8<---------------cut here---------------start------------->8---
-            <li>during <b>weave</b> (code blocks with =:exports= set to
-            <code>results</code> or <code>both</code>)</li>
+            <li>during <b>weave</b> (code blocks with <code>:exports</code> set
+            to <code>results</code> or <code>both</code>)</li>
--8<---------------cut here---------------end--------------->8---

Thank you.

Though, there are extra diffs in my HTML output, about the style of the
org-block delimiter lines: they've lost their "under/over-line" feature,
and colors are not the same anymore.

See:

--8<---------------cut here---------------start------------->8---
               <div class="org-src-container">
                 <pre class="src src-org">
 <span style=
-"color: #555555; background-color: #E2E1D5; text-decoration: underline;">#+begin_src &lt;LANGUAGE&gt; &lt;HEADER-ARGS&gt;</span>
+"color: #008ED1; background-color: #EAEAFF;">#+begin_src &lt;LANGUAGE&gt; &lt;HEADER-ARGS&gt;</span>
 <span style="background-color: #FFFFE0;">&lt;BODY&gt;
 </span><span style=
-"color: #555555; background-color: #E2E1D5; text-decoration: overline;">#+end_src</span>
+"color: #008ED1; background-color: #EAEAFF;">#+end_src</span>
 </pre>
               </div>
--8<---------------cut here---------------end--------------->8---

In the previous version ("-" above), the `org-block-begin-line' (for
example) had well its underline and the colors did match their
definition in the color theme I use (Leuven, in current Emacs trunk, or
on MELPA):

--8<---------------cut here---------------start------------->8---
   `(org-block-begin-line ((,class (:underline "#A7A6AA" :foreground "#555555" :background "#E2E1D5"))))
   `(org-block-end-line ((,class (:overline "#A7A6AA" :foreground "#555555" :background "#E2E1D5"))))
--8<---------------cut here---------------end--------------->8---

This is not the case anymore. Any idea?

Best regards,
  Seb

-- 
Sebastien Vauban

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

* Re: [bug] Org-verbatim and org-code not converted into HTML tags
  2014-03-29  8:45   ` Sebastien Vauban
@ 2014-04-18 11:39     ` Bastien
  2014-05-02 12:51       ` Sebastien Vauban
  0 siblings, 1 reply; 5+ messages in thread
From: Bastien @ 2014-04-18 11:39 UTC (permalink / raw)
  To: Sebastien Vauban; +Cc: public-emacs-orgmode-mXXj517/zsQ



Hi Sébastien,

Sebastien Vauban <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
writes:

> Though, there are extra diffs in my HTML output, about the style of the
> org-block delimiter lines: they've lost their "under/over-line" feature,
> and colors are not the same anymore.

not sure how this would relate to the bug you reported and that
Nicolas fixed in this thread.

Can you bisect to spot the first bad commit, and tell exactly
what's bad here from an emacs -Q point of view?

Thanks!

-- 
 Bastien

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

* Re: [bug] Org-verbatim and org-code not converted into HTML tags
  2014-04-18 11:39     ` Bastien
@ 2014-05-02 12:51       ` Sebastien Vauban
  0 siblings, 0 replies; 5+ messages in thread
From: Sebastien Vauban @ 2014-05-02 12:51 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hi Bastien,

Bastien wrote:
> Sebastien Vauban writes:
>
>> Though, there are extra diffs in my HTML output, about the style of the
>> org-block delimiter lines: they've lost their "under/over-line" feature,
>> and colors are not the same anymore.
>
> Can you bisect to spot the first bad commit, and tell exactly
> what's bad here from an emacs -Q point of view?

It took me a while to understand what was going on.  But I did.

See http://screencast.com/t/1peLgaZ7.

The "styling" bug is present in all latest Emacs versions, and relates
to the Emacs bug #16440 ("Some colors of the theme aren't respected in
latest Emacs"):

  ╭──── From: Eli Zaretskii
  │ 
  │ This seems to be the consequence of the change described in NEWS like
  │ this:
  │ 
  │   *** Face specs set via Custom themes now replace the `defface' spec
  │   rather than inheriting from it (as do face specs set via Customize).
  │ 
  │ Org uses org-copy-face to define the faces that you show in your
  │ screencast, and org-copy-face assumes the face it inherits from
  │ already exists.  But loading a theme now doesn't create the faces, it
  │ only prepares the data for when the face will be created.  So :inherit
  │ in org-copy-face doesn't do what you expect.
  │ 
  │ I guess either some change is needed in how themes are handled, or
  │ org-copy-face needs to change to follow suit.  (CC to Bastien for
  │ that.)
  ╰────

See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16440 for the whole
thread.

Best regards,
  Seb

-- 
Sebastien Vauban

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

end of thread, other threads:[~2014-05-02 12:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-28 15:24 [bug] Org-verbatim and org-code not converted into HTML tags Sebastien Vauban
2014-03-28 16:31 ` Nicolas Goaziou
2014-03-29  8:45   ` Sebastien Vauban
2014-04-18 11:39     ` Bastien
2014-05-02 12:51       ` Sebastien Vauban

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