GithubHelp home page GithubHelp logo

Comments (5)

owenh000 avatar owenh000 commented on May 26, 2024

@pdabr1, it works for me. There is already a test for this too at test/black-box-docs/table-block-operator/.

Are you sure you are using asciidoctor-multipage v0.0.15?

from asciidoctor-multipage.

pdabr1 avatar pdabr1 commented on May 26, 2024

@owenh000, thanks for the reply. I could get it to work. I converted the files into unix format and changed "-a toc2" of the build command into "-a toc".

from asciidoctor-multipage.

owenh000 avatar owenh000 commented on May 26, 2024

@pdabr1, I'm glad you got it working. Thanks for the update.

It looks like the -a toc2 option on the command line is what breaks it; I missed that earlier. You should be able to work around this by setting the :toc2: document attribute inside the source file rather than with the -a option.

It appears that the document attribute specified on the command line is getting passed to the nested document when it shouldn't. I'll update the issue title and reopen this.


Test file test.adoc:

= Title
:toc2:

== Header1

|===
|Column1        |Column2
|Regular cell  a|ToC should not appear in this cell
|===

Test commands:

## This breaks
$ asciidoctor -r asciidoctor-multipage -b multipage_html5 -a toc2 -D test/out test.adoc

## This works
$ asciidoctor -r asciidoctor-multipage -b multipage_html5 -D test/out test.adoc

from asciidoctor-multipage.

pdabr1 avatar pdabr1 commented on May 26, 2024

@owenh000 thanks for looking into this in depth. I'm glad I didn't waste your time. Keep on the good work 👍

from asciidoctor-multipage.

owenh000 avatar owenh000 commented on May 26, 2024

Completing issue #46 would probably fix this issue.

from asciidoctor-multipage.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.