public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Does any plan to support a syntax highlighting for ODT?
@ 2020-09-23  1:42 nisze...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
       [not found] ` <e81061cc-8f74-460b-8920-febc9bce99b7n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: nisze...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org @ 2020-09-23  1:42 UTC (permalink / raw)
  To: pandoc-discuss


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

Hi,

From version 2.10, Pandoc's ODT writer can use custom-style. This is big 
update for me. Thank you very much.
By the way, ODT writer cannot support syntax highlighting now. Is there 
plan to support it for ODT writer? Because I checked source code and it 
doesn't seem to be possible by using lua filter (writer need to be 
updated)...

Thanks,
niszet

-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/e81061cc-8f74-460b-8920-febc9bce99b7n%40googlegroups.com.

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

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

* Re: Does any plan to support a syntax highlighting for ODT?
       [not found] ` <e81061cc-8f74-460b-8920-febc9bce99b7n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2020-09-24 16:21   ` John MacFarlane
       [not found]     ` <m23637cfhg.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: John MacFarlane @ 2020-09-24 16:21 UTC (permalink / raw)
  To: nisze...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, pandoc-discuss


If anyone wants to take this on, take a look at how
we do it for docx: see the clause for

inlineToOpenXML' opts (Code attrs str)

The same general approach should work for opendocument,
I think.

You'd also need to write something like styleToOpenXML,
which converts a highlighting style.

"nisze...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <niszet0016-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> Hi,
>
> From version 2.10, Pandoc's ODT writer can use custom-style. This is big 
> update for me. Thank you very much.
> By the way, ODT writer cannot support syntax highlighting now. Is there 
> plan to support it for ODT writer? Because I checked source code and it 
> doesn't seem to be possible by using lua filter (writer need to be 
> updated)...
>
> Thanks,
> niszet
>
> -- 
> 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 view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/e81061cc-8f74-460b-8920-febc9bce99b7n%40googlegroups.com.


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

* Re: Does any plan to support a syntax highlighting for ODT?
       [not found]     ` <m23637cfhg.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
@ 2020-09-26  0:47       ` niszet niszet
  0 siblings, 0 replies; 3+ messages in thread
From: niszet niszet @ 2020-09-26  0:47 UTC (permalink / raw)
  To: John MacFarlane; +Cc: pandoc-discuss

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

Hi jgm-san,

Thank you for your reply. I will check these codes and try to write them.
(maybe take a long time...)

2020年9月25日(金) 1:22 John MacFarlane <jgm@berkeley.edu>:

>
> If anyone wants to take this on, take a look at how
> we do it for docx: see the clause for
>
> inlineToOpenXML' opts (Code attrs str)
>
> The same general approach should work for opendocument,
> I think.
>
> You'd also need to write something like styleToOpenXML,
> which converts a highlighting style.
>
> "nisze...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <niszet0016-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
>
> > Hi,
> >
> > From version 2.10, Pandoc's ODT writer can use custom-style. This is big
> > update for me. Thank you very much.
> > By the way, ODT writer cannot support syntax highlighting now. Is there
> > plan to support it for ODT writer? Because I checked source code and it
> > doesn't seem to be possible by using lua filter (writer need to be
> > updated)...
> >
> > Thanks,
> > niszet
> >
> > --
> > 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/pandoc-discuss/e81061cc-8f74-460b-8920-febc9bce99b7n%40googlegroups.com
> .
>

-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAO4BNT3evknwb76g50Q_3w6Pi-nGei2PByE4FYXQU902ipgV5w%40mail.gmail.com.

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

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

end of thread, other threads:[~2020-09-26  0:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-23  1:42 Does any plan to support a syntax highlighting for ODT? nisze...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
     [not found] ` <e81061cc-8f74-460b-8920-febc9bce99b7n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-09-24 16:21   ` John MacFarlane
     [not found]     ` <m23637cfhg.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2020-09-26  0:47       ` niszet niszet

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