Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using asciidoctor-bibtex with :toc: disables - attributes title replacement #96

Open
ioliano opened this issue Jan 24, 2024 · 0 comments

Comments

@ioliano
Copy link

ioliano commented Jan 24, 2024

Having the following file:

test.adoc file - ATTRIBUTE - TITLE SUBSTITUTION WORKING

:doctype: book
:commondir: ../common
:bibtex-file: {commondir}/test.bib
//:toc:


= TEST

:test_id: Check_one

== {test_id} //Shows Check_one

:test_id: Check_two

== {test_id} //Shows Check two

test.bib file

@misc { book-one,
  title = {test title},
  author = {no/one/cares}
}

I am using to run:

sudo podman run -it -v /tmp/test/:/documents/ docker.io/asciidoctor/docker-asciidoctor
asciidoctor-pdf -r asciidoctor-bibtex test1/test.adoc -a commondir=/documents/common --trace

Folder structure is:

  • /tmp/test (Running command here)
  • /tmp/test/test1/
  • /tmp/test/test1/test.adoc
  • /tmp/test/common/
  • /tmp/test/common/test.bib

Test.adoc file - ATTRIBUTE - TITLE SUBSTITUTION NOT WORKING

:doctype: book
:commondir: ../../common
:bibtex-file: {commondir}/test.bib
:toc:


= TEST

:test_id: Check_one

== {test_id} // Shows {test_id}

:test_id: Check_two

== {test_id} // Shows {test_id}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant