public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Diego Algorta <diego-X9ybnTC+vipBDgjK7y7TUQ@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Needing to write a filter to transform malformed headings
Date: Thu, 18 Jun 2015 13:50:50 -0700 (PDT)	[thread overview]
Message-ID: <44ec194d-4a3a-49f3-a802-35e74cab4344@googlegroups.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1308 bytes --]

Hi everyone,

I learned about pandoc this week and it's great. thanks for such a great 
project.

I need to process a bunch of docx files with a specific outline format, but 
I'll need to transform the AST a bit to fix some inconsistencies before 
generating the final formats (HTML, docx, markdown and PDF). 
Inconsistencies are regarding wrong setting of heading styles and hard line 
breaks.

I laid out the problem in a gist for better formatting. Would you please 
take a look at it?
https://gist.github.com/oboxodo/4948ac8e79aa952df8bc

Most of my experience is in ruby and js so I expect to write my filter with 
the node port, but some guidance in ANY of the supported languages would be 
appreciated.

Thanks in advance,
Diego

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/44ec194d-4a3a-49f3-a802-35e74cab4344%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 1856 bytes --]

             reply	other threads:[~2015-06-18 20:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-18 20:50 Diego Algorta [this message]
     [not found] ` <44ec194d-4a3a-49f3-a802-35e74cab4344-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-06-20  0:52   ` BP Jonsson
     [not found]     ` <CAFC_yuRHBgsw2UQ8mVqT5jXyJEmWC4Yv8=jhHhbDw3_imsF+jA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-06-20 16:48       ` Diego Algorta
     [not found]         ` <CAPfjgv+r9rbRSg2k_G-Ff--4NtG-MmUoY4N=MdrRifLkeqN97Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-06-20 17:24           ` Matthew Pickering
     [not found]             ` <CALuQ0m91pdYSv89xC6OsMQo+a=Yj1zthWyuqv__ApPqE0ci8ng-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-06-20 21:15               ` Diego Algorta
     [not found]                 ` <CAPfjgvJ7sKpKNy2BScsxgD_hZ2ASCn2s7+-q=dHagZD0b5h7PQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-06-22 21:18                   ` Diego Algorta
2015-06-22 21:14   ` Diego Algorta

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44ec194d-4a3a-49f3-a802-35e74cab4344@googlegroups.com \
    --to=diego-x9ybntc+vipbdgjk7y7tuq@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 NNTP newsgroup(s).