Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
13 posts
|
When we have book type document, on pdf 0 level sections' names start with like Chapter 1, Chapter 2. We are writing book in Turkish, so we want to change "Chapter" with another word which is Turkish. Maybe we can delete it. How can we do that, delete or change?
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
2681 posts
|
You can set the chapter-label attribute as follows: :chapter-label: <value> If you don't want it to appear, set the value to blank. -Dan On Thu, May 12, 2016 at 11:58 PM, ayca1903 [via Asciidoctor :: Discussion] <[hidden email]> wrote: When we have book type document, on pdf 0 level sections' names start with like Chapter 1, Chapter 2. We are writing book in Turkish, so we want to change "Chapter" with another word which is Turkish. Maybe we can delete it. How can we do that, delete or change? Dan Allen | @mojavelinux | http://google.com/profiles/dan.j.allen |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
13 posts
|
Thanks
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
163 posts
|
In reply to this post by mojavelinux
I think this belongs to the user-manual
https://github.com/asciidoctor/asciidoctor.org/pull/584 Additional question: Is there a reason why the HTML backend do not take into consideration the "chapter-label" attribute? |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
2681 posts
|
This attribute is not yet documented because Asciidoctor PDF is still considered alpha and subject to change. I do think we can document it now in the README or theming-guide for Asciidoctor PDF. I've added it to the following issue: The reason this label was added is to mimic the DocBook toolchain PDF output (when using fo) by default. The AsciiDoc Python HTML output never used a chapter label, so we didn't include it in the HTML output. In other words, it's an output-specific customization. But I haven't thought much deeper about it than that. It probably should be changed to be blank by default since it often surprises people (and we don't want to aim for the element of least surprise). -Dan On Fri, May 13, 2016 at 12:01 PM, Jeremie Bresson [via Asciidoctor :: Discussion] <[hidden email]> wrote: I think this belongs to the user-manual Dan Allen | @mojavelinux | http://google.com/profiles/dan.j.allen |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
2681 posts
|
In reply to this post by Jeremie Bresson
On Fri, May 13, 2016 at 1:39 PM, Dan Allen <[hidden email]> wrote:
... [show rest of quote] Dan Allen | @mojavelinux | http://google.com/profiles/dan.j.allen |
Free forum by Nabble | Edit this page |