* Cross references again... @ 2021-07-21 23:31 Leena Murgai [not found] ` <a1155495-f432-49e9-a541-8256a49e8727n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 0 siblings, 1 reply; 2+ messages in thread From: Leena Murgai @ 2021-07-21 23:31 UTC (permalink / raw) To: pandoc-discuss [-- Attachment #1.1: Type: text/plain, Size: 2496 bytes --] Hi there, I'm using pandoc version 2.14.02 to convert from LaTeX to HTML (same v for pandoc-crossref). Currently the cross referencing of figures, tables, code listings and equations have problems. I'll start with figures and tables. I'm having problems getting tables and figure captions to be labelled. References to figures and tables seem to work (without using a filter). That is, references to tables and figures are numbered and include links to the table/figure but the captions are not labelled. The behaviour I get is the similar in the pandoc online converter. So far I've tried - pandoc-xnos: exits with error - IndexError: list index out of range Error running filter pandoc-tablenos: Filter returned error status 1 - pandoc-crossrefs: doesn't resolve the problem of missing labels/references. - I followed the advice from André in an earlier discussion ( https://groups.google.com/g/pandoc-discuss/c/OPetioI26_0/m/u8pgwIBjAgAJ) which looked like he had a similar issue but with no avail. My pandoc yaml: from: latex to: html5 output-file: MBML.html input-file: MBML.tex template: pandoc/tufte/tufte.html5 standalone: true metadata: date: 21 July 2021 link-citations: true reference-section-title: References crossrefYaml: pandoc/pandoc-crossrefs.yml css: - pandoc/tufte/tufte.css # https://github.com/edwardtufte/tufte-css - pandoc/css/pandoc.css # https://github.com/jez/tufte-pandoc-css - pandoc/css/tweak.css resource-path: ["pandoc/csl/" ] data-dir: /path-to-python-bin filters: - pandoc-sidenote # https://github.com/jez/pandoc-sidenote - pandoc-crossref # https://github.com/lierdakil/pandoc-crossref - citeproc bibliography: path-to-references.bib csl: ieee log-file: pandoc/log.json table-of-contents: true toc-depth: 2 top-level-division: chapter number-sections: true listings: false section-divs: true html-math-method: method: katex Any help would be greatly appreciated! Best, Leena -- 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/a1155495-f432-49e9-a541-8256a49e8727n%40googlegroups.com. [-- Attachment #1.2: Type: text/html, Size: 4943 bytes --] ^ permalink raw reply [flat|nested] 2+ messages in thread
[parent not found: <a1155495-f432-49e9-a541-8256a49e8727n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>]
* Re: Cross references again... [not found] ` <a1155495-f432-49e9-a541-8256a49e8727n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> @ 2021-08-04 17:18 ` Leena Murgai 0 siblings, 0 replies; 2+ messages in thread From: Leena Murgai @ 2021-08-04 17:18 UTC (permalink / raw) To: pandoc-discuss [-- Attachment #1.1: Type: text/plain, Size: 2999 bytes --] For others who might find it helpful this was resolved for figures and tables in this pandoc-discuss thread <https://groups.google.com/g/pandoc-discuss/c/OPetioI26_0> and for listings and equations in pandoc-crossref issue 319 <https://github.com/lierdakil/pandoc-crossref/issues/319>. On Wednesday, 21 July 2021 at 16:31:23 UTC-7 Leena Murgai wrote: > Hi there, > > I'm using pandoc version 2.14.02 to convert from LaTeX to HTML (same v > for pandoc-crossref). > > Currently the cross referencing of figures, tables, code listings and > equations have problems. I'll start with figures and tables. > > I'm having problems getting tables and figure captions to be labelled. > References to figures and tables seem to work (without using a filter). > That is, references to tables and figures are numbered and include links to > the table/figure but the captions are not labelled. The behaviour I get is > the similar in the pandoc online converter. > > So far I've tried > > - pandoc-xnos: exits with error > - IndexError: list index out of range > Error running filter pandoc-tablenos: > Filter returned error status 1 > > > - pandoc-crossrefs: doesn't resolve the problem of missing > labels/references. > - I followed the advice from André in an earlier discussion ( > https://groups.google.com/g/pandoc-discuss/c/OPetioI26_0/m/u8pgwIBjAgAJ) > which looked like he had a similar issue but with no avail. > > My pandoc yaml: > > from: latex > to: html5 > output-file: MBML.html > input-file: MBML.tex > > template: pandoc/tufte/tufte.html5 > standalone: true > > metadata: > date: 21 July 2021 > link-citations: true > reference-section-title: References > crossrefYaml: pandoc/pandoc-crossrefs.yml > > css: > - pandoc/tufte/tufte.css # https://github.com/edwardtufte/tufte-css > - pandoc/css/pandoc.css # https://github.com/jez/tufte-pandoc-css > - pandoc/css/tweak.css > > resource-path: ["pandoc/csl/" ] > data-dir: /path-to-python-bin > > filters: > - pandoc-sidenote # https://github.com/jez/pandoc-sidenote > - pandoc-crossref # https://github.com/lierdakil/pandoc-crossref > - citeproc > > bibliography: path-to-references.bib > csl: ieee > > log-file: pandoc/log.json > > table-of-contents: true > toc-depth: 2 > top-level-division: chapter > number-sections: true > > listings: false > section-divs: true > > html-math-method: > method: katex > > Any help would be greatly appreciated! > > Best, > Leena > -- 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/c2bf1394-e6f6-457d-97a0-ea8ba6fd7e92n%40googlegroups.com. [-- Attachment #1.2: Type: text/html, Size: 6787 bytes --] ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-08-04 17:18 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2021-07-21 23:31 Cross references again Leena Murgai [not found] ` <a1155495-f432-49e9-a541-8256a49e8727n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 2021-08-04 17:18 ` Leena Murgai
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).