Bug 420813

Summary: support pandoc document converter
Product: [Applications] kile Reporter: Robert Riemann <robert>
Component: user interfaceAssignee: Michel Ludwig <michel.ludwig>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version First Reported In: 2.9.93   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Robert Riemann 2020-04-30 17:16:45 UTC
Dear all,

for some time, I do technical writing in markdown and convert with pandoc to tex/pdf.

I would like to stick to Kile and set up a custom tool to launch a toolchain starting with pandoc.

When editing the file test.md in Kile, I want Kile to execute:

    pandoc -d test.yaml -o test.tex test.md

(test.yaml has some settings for pandoc)

I added a new tool (class compile, run outside of kile) with command "pandoc" and options "-d %S.yaml -o %S.pdf %source".

This seems to work. I just get always a warning that I am not editing a Latex root file.

I created a second tool (class sequence) to call pandoc and afterwards the PDFViewer. This allows me to see the pdf from pandoc in the embedded document viewer.

Is there a way to add this sequence tool to the list of available livepreviews? 

The last pieces missing would be:

1) Regenerate and preview on Save
2) maybe bibtex identifier completition. I believe this is supported for tex, isn't it?

Best,
Robert