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 output file name for first page (--out-file FILE is not supported) #43

Open
interkosmos opened this issue Sep 20, 2023 · 1 comment

Comments

@interkosmos
Copy link

Description

Given is an Asciidoc source file foo.adoc. If translated with asciidoctor-multipage using the command-line argument -o, the passed output file name is ignored in the ToC:

$ asciidoctor-multipage -a webfonts! -D /tmp/foo/ -o index.html foo.adoc

The first page of the multi-page output is named index.html. However, the link in the ToC points to foo.html.

Expected Behaviour

Link to first page in ToC points to index.html.

@owenh000
Copy link
Owner

@interkosmos, thanks for the report!

@owenh000 owenh000 changed the title Using output file name for first page Using output file name for first page (--out-file FILE is not supported) Sep 20, 2023
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

2 participants