* How to export ASCII paintings to HTML
@ 2016-04-21 2:24 Luis
2016-04-21 2:33 ` Adam Porter
2016-04-21 7:52 ` Nicolas Goaziou
0 siblings, 2 replies; 9+ messages in thread
From: Luis @ 2016-04-21 2:24 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 748 bytes --]
Hi everyone,
I am using some "ascii drawings" in my post, but I have some problems
while exporting to html.
this is my ascii drawing in my org file.
(1) When i use* #+BEGIN_HTML,* the ascii exported as plain text. as this:
--------------------------------- |parent | screen | | |view | -------- | |
| | | | | | | | | | | | | | |view | | | | | | | | | | | | | | | | |
-------- | | | | | | ---------------------------------
(2 )Then I tried *#+BEGIN_QUOTE*, but there is a "table" build error:
*org-html-table-cell:
Args out of range: [left left left], 3*
(3) And *#+BEGIN_VERSE* gives me this:
Is there any way I can export the "ascii drawing" correctly???
thanks all
--
Best Regards,
Luis Xu
[-- Attachment #1.2: Type: text/html, Size: 1466 bytes --]
[-- Attachment #2: 8B8E7D9F-424A-4D5A-ADC3-DD28AC5C8965.png --]
[-- Type: image/png, Size: 38223 bytes --]
[-- Attachment #3: 65B409BC-D5F1-4B9C-A7D4-525057C14A18.png --]
[-- Type: image/png, Size: 30671 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: How to export ASCII paintings to HTML
2016-04-21 2:24 How to export ASCII paintings to HTML Luis
@ 2016-04-21 2:33 ` Adam Porter
2016-04-21 2:56 ` Luis
2016-04-21 7:52 ` Nicolas Goaziou
1 sibling, 1 reply; 9+ messages in thread
From: Adam Porter @ 2016-04-21 2:33 UTC (permalink / raw)
To: emacs-orgmode
I think you're looking for #+BEGIN_VERBATIM. :)
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: How to export ASCII paintings to HTML
2016-04-21 2:33 ` Adam Porter
@ 2016-04-21 2:56 ` Luis
2016-04-21 3:45 ` Adam Porter
2016-04-21 15:52 ` Charles C. Berry
0 siblings, 2 replies; 9+ messages in thread
From: Luis @ 2016-04-21 2:56 UTC (permalink / raw)
To: Adam Porter; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 253 bytes --]
Still get the build error: org-html-table-cell: Args out of range: [left
left left], 3
On Thu, Apr 21, 2016 at 10:33 AM, Adam Porter <adam@alphapapa.net> wrote:
> I think you're looking for #+BEGIN_VERBATIM. :)
>
>
>
--
Best Regards,
Zhengchao Xu
[-- Attachment #2: Type: text/html, Size: 689 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: How to export ASCII paintings to HTML
2016-04-21 2:56 ` Luis
@ 2016-04-21 3:45 ` Adam Porter
2016-04-21 7:41 ` Luis
2016-04-21 15:52 ` Charles C. Berry
1 sibling, 1 reply; 9+ messages in thread
From: Adam Porter @ 2016-04-21 3:45 UTC (permalink / raw)
To: emacs-orgmode
Luis <xuzhengchaojob@gmail.com> writes:
> Still get the build error: org-html-table-cell: Args out of range:
> [left left left], 3
It would be easier to help if you provided the code you're trying to
export, e.g:
#+BEGIN_SRC org
* A heading
Some text
#+BEGIN_VERBATIM
| this is cool ---> org-mode |
#+END_VERBATIM
#+END_SRC
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: How to export ASCII paintings to HTML
2016-04-21 3:45 ` Adam Porter
@ 2016-04-21 7:41 ` Luis
0 siblings, 0 replies; 9+ messages in thread
From: Luis @ 2016-04-21 7:41 UTC (permalink / raw)
To: Adam Porter; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1088 bytes --]
can you see the picture in the first mail? that's my code.
my export configuration is below:
;; =============== Org Publish =====================(setq
org-publish-project-alist
'(("github-blog"
:base-directory "/Users/douhua/lx/github/blog/org/post/"
:publishing-directory "/Users/douhua/lx/github/blog/_posts/"
;;:base-directory "/Users/douhua/lx/org/post/"
;;:publishing-directory "/Users/douhua/lx/org/_posts/"
:prepare-function nil
:completion-function nil
:exclude "*.html"
:recursive nil
:base-extension "org"
:publishing-function org-html-publish-to-html
:body-only t
)))
On Thu, Apr 21, 2016 at 11:45 AM, Adam Porter <adam@alphapapa.net> wrote:
> Luis <xuzhengchaojob@gmail.com> writes:
>
> > Still get the build error: org-html-table-cell: Args out of range:
> > [left left left], 3
>
> It would be easier to help if you provided the code you're trying to
> export, e.g:
>
> #+BEGIN_SRC org
> * A heading
>
> Some text
>
> #+BEGIN_VERBATIM
> | this is cool ---> org-mode |
> #+END_VERBATIM
>
> #+END_SRC
>
>
>
--
Best Regards,
Zhengchao Xu
[-- Attachment #2: Type: text/html, Size: 3096 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: How to export ASCII paintings to HTML
2016-04-21 2:56 ` Luis
2016-04-21 3:45 ` Adam Porter
@ 2016-04-21 15:52 ` Charles C. Berry
2016-04-22 9:41 ` Luis
1 sibling, 1 reply; 9+ messages in thread
From: Charles C. Berry @ 2016-04-21 15:52 UTC (permalink / raw)
To: Luis; +Cc: Adam Porter, emacs-orgmode
On Thu, 21 Apr 2016, Luis wrote:
> Still get the build error: org-html-table-cell: Args out of range: [left
> left left], 3
>
> On Thu, Apr 21, 2016 at 10:33 AM, Adam Porter <adam@alphapapa.net> wrote:
>
>> I think you're looking for #+BEGIN_VERBATIM. :)
I don't think so.
But a #+BEGIN/END EXAMPLE blcok will set your drawing using
<pre>...</pre>, which seems to be what you are after.
HTH,
Chuck
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: How to export ASCII paintings to HTML
2016-04-21 15:52 ` Charles C. Berry
@ 2016-04-22 9:41 ` Luis
2016-04-25 21:45 ` darcamo
0 siblings, 1 reply; 9+ messages in thread
From: Luis @ 2016-04-22 9:41 UTC (permalink / raw)
To: Charles C. Berry; +Cc: Adam Porter, emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 726 bytes --]
Dear Charles,
thanks, "EXAMPLE" seems to be the "closest" answer here.
except it ignores all the "TAB"s, so I have to change them to "whitespace".
anyway, it solves my problem .
On Thu, Apr 21, 2016 at 11:52 PM, Charles C. Berry <ccberry@ucsd.edu> wrote:
> On Thu, 21 Apr 2016, Luis wrote:
>
> Still get the build error: org-html-table-cell: Args out of range: [left
>> left left], 3
>>
>> On Thu, Apr 21, 2016 at 10:33 AM, Adam Porter <adam@alphapapa.net> wrote:
>>
>> I think you're looking for #+BEGIN_VERBATIM. :)
>>>
>>
> I don't think so.
>
> But a #+BEGIN/END EXAMPLE blcok will set your drawing using
> <pre>...</pre>, which seems to be what you are after.
>
> HTH,
>
> Chuck
>
>
--
Best Regards,
Zhengchao Xu
[-- Attachment #2: Type: text/html, Size: 1604 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: How to export ASCII paintings to HTML
2016-04-22 9:41 ` Luis
@ 2016-04-25 21:45 ` darcamo
0 siblings, 0 replies; 9+ messages in thread
From: darcamo @ 2016-04-25 21:45 UTC (permalink / raw)
To: Luis; +Cc: Adam Porter, org-mode Mailinglist, Charles C. Berry
[-- Attachment #1: Type: text/plain, Size: 898 bytes --]
You can also use http://ditaa.sourceforge.net/ with org-mode.
2016-04-22 6:41 GMT-03:00 Luis <xuzhengchaojob@gmail.com>:
> Dear Charles,
>
> thanks, "EXAMPLE" seems to be the "closest" answer here.
> except it ignores all the "TAB"s, so I have to change them to "whitespace".
>
> anyway, it solves my problem .
>
> On Thu, Apr 21, 2016 at 11:52 PM, Charles C. Berry <ccberry@ucsd.edu>
> wrote:
>
>> On Thu, 21 Apr 2016, Luis wrote:
>>
>> Still get the build error: org-html-table-cell: Args out of range: [left
>>> left left], 3
>>>
>>> On Thu, Apr 21, 2016 at 10:33 AM, Adam Porter <adam@alphapapa.net>
>>> wrote:
>>>
>>> I think you're looking for #+BEGIN_VERBATIM. :)
>>>>
>>>
>> I don't think so.
>>
>> But a #+BEGIN/END EXAMPLE blcok will set your drawing using
>> <pre>...</pre>, which seems to be what you are after.
>>
>> HTH,
>>
>> Chuck
>>
>>
>
>
> --
> Best Regards,
> Zhengchao Xu
>
[-- Attachment #2: Type: text/html, Size: 2096 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: How to export ASCII paintings to HTML
2016-04-21 2:24 How to export ASCII paintings to HTML Luis
2016-04-21 2:33 ` Adam Porter
@ 2016-04-21 7:52 ` Nicolas Goaziou
1 sibling, 0 replies; 9+ messages in thread
From: Nicolas Goaziou @ 2016-04-21 7:52 UTC (permalink / raw)
To: Luis; +Cc: emacs-orgmode
Hello,
Luis <xuzhengchaojob@gmail.com> writes:
> Is there any way I can export the "ascii drawing" correctly???
What about
#+begin_example
...
#+end_example
?
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2016-04-25 21:45 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-21 2:24 How to export ASCII paintings to HTML Luis
2016-04-21 2:33 ` Adam Porter
2016-04-21 2:56 ` Luis
2016-04-21 3:45 ` Adam Porter
2016-04-21 7:41 ` Luis
2016-04-21 15:52 ` Charles C. Berry
2016-04-22 9:41 ` Luis
2016-04-25 21:45 ` darcamo
2016-04-21 7:52 ` Nicolas Goaziou
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.