public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Pandoc filter for (Word) index markers
@ 2021-05-27  9:37 Luca
       [not found] ` <18dc38e8-0adc-f198-0aff-3a557815a892-fxeGFEEDKJzVwve80SRih1jMPmZJtkid@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Luca @ 2021-05-27  9:37 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Hi!

I would like to write a (python) filter to handle index markers from an 
input docx document. However, I don't seem to be able to spot any (in 
this example, the word "test" is indexed):

$ pandoc -s -t native input.docx
Pandoc (Meta {unMeta = fromList []})
[Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "test."]]

A (very) old post in this newsgroup suggests that this operation is yet 
not possible with Pandoc 
(https://groups.google.com/g/pandoc-discuss/c/gnHmLmLCvUQ/m/PnCc1yEMAAAJ).

I was wondering if this is still the case and if there are any 
workarounds I could consider?
I am on pandoc 2.13.

Many thanks!!


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

* Re: Pandoc filter for (Word) index markers
       [not found] ` <18dc38e8-0adc-f198-0aff-3a557815a892-fxeGFEEDKJzVwve80SRih1jMPmZJtkid@public.gmane.org>
@ 2021-05-27 16:55   ` John MacFarlane
  0 siblings, 0 replies; 2+ messages in thread
From: John MacFarlane @ 2021-05-27 16:55 UTC (permalink / raw)
  To: Luca, pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw


Index markers aren't supported at this point.

Luca <luca-fxeGFEEDKJzVwve80SRih1jMPmZJtkid@public.gmane.org> writes:

> Hi!
>
> I would like to write a (python) filter to handle index markers from an 
> input docx document. However, I don't seem to be able to spot any (in 
> this example, the word "test" is indexed):
>
> $ pandoc -s -t native input.docx
> Pandoc (Meta {unMeta = fromList []})
> [Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "test."]]
>
> A (very) old post in this newsgroup suggests that this operation is yet 
> not possible with Pandoc 
> (https://groups.google.com/g/pandoc-discuss/c/gnHmLmLCvUQ/m/PnCc1yEMAAAJ).
>
> I was wondering if this is still the case and if there are any 
> workarounds I could consider?
> I am on pandoc 2.13.
>
> Many thanks!!
>
> -- 
> 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/18dc38e8-0adc-f198-0aff-3a557815a892%40openbookpublishers.com.


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

end of thread, other threads:[~2021-05-27 16:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-27  9:37 Pandoc filter for (Word) index markers Luca
     [not found] ` <18dc38e8-0adc-f198-0aff-3a557815a892-fxeGFEEDKJzVwve80SRih1jMPmZJtkid@public.gmane.org>
2021-05-27 16:55   ` John MacFarlane

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