asciidoctor / asciidoctor

:gem: A fast, open source text processor and publishing toolchain, written in Ruby, for converting AsciiDoc content to HTML 5, DocBook 5, and other formats.
https://asciidoctor.org
Other
4.85k stars 790 forks source link

Header & Footer on each page in PDF ? #4272

Closed Johan1974 closed 2 years ago

Johan1974 commented 2 years ago

Hello,

I am using vs with asciidoc and i am wondering if it is possible to have headers and footers in a generated PDF file. Not only text but i would like to place a logo on each page in the upper right corner. Except the index pages.

Is this possible?

Thanks!

Johan

abelsromero commented 2 years ago

Is this possible?

It is 🎉

You can attach a style theme to the build to customize several aspects using pdf-stylesdir and pdf-style attributes.

Some initial notes:

If you struggle, feel free to drop by https://asciidoctor.zulipchat.com. You should also be able to find other theming questions already answered.

Johan1974 commented 2 years ago

Hello Abel,

Tried a question in zulipchat but there i not much repsonse there.

Read you articles where i do not see if this is for vscode.

Met vriendelijke groet / With Kind regards,

Johan Lijffijt

On Wed, Mar 23, 2022 at 12:36 PM Abel Salgado Romero < @.***> wrote:

Is this possible?

It is 🎉

You can attach a style theme to the build to customize several aspects using pdf-stylesdir and pdf-style attributes.

Some initial notes:

If you struggle, feel free to drop by https://asciidoctor.zulipchat.com. You should also be able to find other theming questions already answered.

— Reply to this email directly, view it on GitHub https://github.com/asciidoctor/asciidoctor/issues/4272#issuecomment-1076269436, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB7EBG7YC6U3K2HYCFLUEBTVBL627ANCNFSM5RNPLNWQ . You are receiving this because you authored the thread.Message ID: @.***>

ggrossetie commented 2 years ago

I did reply on Zulip but you didn't confirm which PDF converter you are using so I'm unable to help you further.

The issue tracker is reserved for bug reports and feature requests. Please continue the discussion on asciidoctor.zulipchat.com.