Description of problem: pandoc complains if LaTeX '[ ... ]' is split over several lines Version-Release number of selected component (if applicable): pandoc-2.7.3-3.fc32.x86_64 How reproducible: Always Steps to Reproduce: 1. latex mwe.tex # Extract hello.c 2. pandoc mwe.tex --standalone --output=mwe.html 3. Actual results: Error at "source" (line 37, column 18): unexpected firstline firstline = 6, lastline = 11]{hello.c} ^ Expected results: No complains, correct HTML file Additional info: Latest nightly build of pandoc (as of 2020-09-07; 20.10.1, built from 10c6c411f9bd582ce9bafe159728f322a54395cd) works as expected
Created attachment 1714172 [details] A LaTeX file showing the problem Run through LaTeX to get the embedded file, then run `pandoc mwe.tex --standalone --output=mwe.html`
Okay, I see. I have updated pandoc to 2.9.2.1 for Fedora 33. If you know of a fix for the above issue, I could patch F32 I guess.
This message is a reminder that Fedora 32 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora 32 on 2021-05-25. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '32'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 32 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Just a late note that for f32 you could probably workaround this by using my copr repo, which currently has pandoc-2.9.1.1 (though I am updating it after a long break): https://copr.fedorainfracloud.org/coprs/petersen/pandoc/