all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Pandoc and Org-mode: list indention
@ 2019-08-19 17:33 Devin Prater
  2019-08-19 18:13 ` Jean Louis
  2019-08-20  7:40 ` Joost Kremers
  0 siblings, 2 replies; 4+ messages in thread
From: Devin Prater @ 2019-08-19 17:33 UTC (permalink / raw)
  To: emacs-org list

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

Hi all. I am not a programmer, but have found Org-mode useful for editing course lessons.
I, blind myself, teach other blind people how to use technology and software, along with my supervisor and quite a few others. We have many courses on the use of Microsoft Office, Gmail, Internet basics, and so on. These courses are handled by Moodle, which accepts HTML and Markdown formatted text. Why it doesn’t use Org-mode, which is superior to Markdown in every way, is beyond me.
So, these course lessons are awfully malformed HTML. Empty <p> tags, misused &nbsp; things litter these files, and “middle dot” characters are used instead of <li> elements.
I’ve taken it upon myself to clean all this up, and Org-mode does it all. The only problem is, when I convert from HTML to Org-mode using Pandoc, just doing:
Pandoc -I lesson1.html -o lesson1.org <http://lesson1.org/>
The lists are not made into indented ones, just a paragraph, which I manually have to indent, marking the lines below the list marker line, and doing C-x C-I, then indenting 3 or four spaces, then filling the paragraph just to make sure.
Is there anything I can do to make this less tedious?
Other than all that, Org-mode does amazingly for everything I’ve used it for, so thanks so much for all who, knowing much more than I do about code, work on Org-mode, and Emacs in general.

[-- Attachment #2: Type: text/html, Size: 1731 bytes --]

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

* Re: Pandoc and Org-mode: list indention
  2019-08-19 17:33 Pandoc and Org-mode: list indention Devin Prater
@ 2019-08-19 18:13 ` Jean Louis
       [not found]   ` <842519C6-87BE-4988-928C-A0A7FA31E204@gmail.com>
  2019-08-20  7:40 ` Joost Kremers
  1 sibling, 1 reply; 4+ messages in thread
From: Jean Louis @ 2019-08-19 18:13 UTC (permalink / raw)
  To: Devin Prater; +Cc: emacs-org list

* Devin Prater <r.d.t.prater@gmail.com> [2019-08-19 19:34]:
> I, blind myself, teach other blind people how to use technology and
> software, along with my supervisor and quite a few others. We have
> many courses on the use of Microsoft Office, Gmail, Internet basics,
> and so on. These courses are handled by Moodle, which accepts HTML
> and Markdown formatted text. Why it doesn’t use Org-mode, which is
> superior to Markdown in every way, is beyond me.

Thank you, I have learned about Moodle as resource for teaching.

> I’ve taken it upon myself to clean all this up, and Org-mode does it
> all. The only problem is, when I convert from HTML to Org-mode using
> Pandoc, just doing:

> Pandoc -I lesson1.html -o lesson1.org <http://lesson1.org/>

> The lists are not made into indented ones, just a paragraph, which I
> manually have to indent, marking the lines below the list marker
> line, and doing C-x C-I, then indenting 3 or four spaces, then
> filling the paragraph just to make sure.

> Is there anything I can do to make this less tedious?

Please send the file lesson1.html for review, and if I find right
workflow for you, I will tell you how I have done that.

Regarding moodle, I would make lessons in Emacs, and people would
accessing them from Emacs to the central database and answering it
that way. But that is my opinion, browsers are by opinion of other
people more practical.

Jean

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

* Re: [O] Pandoc and Org-mode: list indention
       [not found]   ` <842519C6-87BE-4988-928C-A0A7FA31E204@gmail.com>
@ 2019-08-19 20:05     ` Jean Louis
  0 siblings, 0 replies; 4+ messages in thread
From: Jean Louis @ 2019-08-19 20:05 UTC (permalink / raw)
  To: Devin Prater

* Devin Prater <r.d.t.prater@gmail.com> [2019-08-19 20:50]:
> Attached is lesson 5, the one I’m currently working on. I’ve given
> the original HTML.

I understand the problem.

What I suggest is using the elinks browser and dumping it out as plain
text with:

elinks --dump lesson5.html

There are some character dumped out, and such could be all removed
with one sed script.

I think that such text file could be easier converted to Org mode,
than using pandoc to convert it to Org mode, it becomes very ugly.

Jean



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

* Re: Pandoc and Org-mode: list indention
  2019-08-19 17:33 Pandoc and Org-mode: list indention Devin Prater
  2019-08-19 18:13 ` Jean Louis
@ 2019-08-20  7:40 ` Joost Kremers
  1 sibling, 0 replies; 4+ messages in thread
From: Joost Kremers @ 2019-08-20  7:40 UTC (permalink / raw)
  To: emacs-orgmode


On Mon, Aug 19 2019, Devin Prater wrote:
> I’ve taken it upon myself to clean all this up, and Org-mode 
> does it all. The only problem is, when I convert from HTML to 
> Org-mode using Pandoc, just doing:
> Pandoc -I lesson1.html -o lesson1.org <http://lesson1.org/>
> The lists are not made into indented ones, just a paragraph, 
> which I manually have to indent,

If you're using Pandoc to convert html to org, then you should 
probably ask on the Pandoc mailing list:

https://pandoc.org/help.html

HTH

-- 
Joost Kremers
Life has its moments

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

end of thread, other threads:[~2019-08-20  7:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-19 17:33 Pandoc and Org-mode: list indention Devin Prater
2019-08-19 18:13 ` Jean Louis
     [not found]   ` <842519C6-87BE-4988-928C-A0A7FA31E204@gmail.com>
2019-08-19 20:05     ` [O] " Jean Louis
2019-08-20  7:40 ` Joost Kremers

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.