AsciidocFX icon indicating copy to clipboard operation
AsciidocFX copied to clipboard

PDF not rendered correcly and how to export book to navigate-able HTML

Open lobothijau opened this issue 6 years ago • 9 comments

This is my master.adoc file contents

= Buku Saku Android
:author: Bagus Aji Santoso
:email:  [email protected]
:revnumber: 0.0.1
:revdate:   18 Desember 2018
:doctype: book
:toc:
:icons: font
:data-uri:
:lang: id
:language: javadocript

[preface]
include::chapters/about.adoc[]

== Pendahuluan

include::chapters/introduction.adoc[]

== RecyclerView

include::chapters/recyclerview.adoc[]

ifdef::backend-docbook[]
[index]
Index
-----
endif::backend-docbook[]

The HTML version is rendered correctly with the note section is similar to the preview.

2018-12-18 20_14_15-window

However the PDF version is rendered incorrectly, how to fix this issue?

2018-12-18 20_14_27-window

I also want to export the HTML version into navigate-able files with sidebar navigation. It would be inconvenient if all the content of the book packed into one single HTML file.

Thank you in advance for any help.

lobothijau avatar Dec 31 '18 10:12 lobothijau

I need all documents to check the issue.

"I also want to export the HTML version into navigate-able files with sidebar navigation. It would be inconvenient if all the content of the book packed into one single HTML file"

AsciidocFX already supports it, just save your html to a folder.

rahmanusta avatar Dec 31 '18 10:12 rahmanusta

The document located here: https://github.com/lobothijau/bukusakuandroid

Could you please elaborate more on the steps to get it? I already exported the documents to HTML file but I only get one single HTML. I couldn't find any button to export to HTML other than that one.

lobothijau avatar Dec 31 '18 11:12 lobothijau

You can only get one single navigatebla html

rahmanusta avatar Dec 31 '18 11:12 rahmanusta

Do you know any plugin or workaround the get it?

lobothijau avatar Dec 31 '18 11:12 lobothijau

Hi, what is the incorrect part here ?

image

rahmanusta avatar Jan 08 '19 23:01 rahmanusta

Look above 2.1.5. Membuat Adapter RecyclerView from the PDF version (left) to the HTML version (right). Is the PDF version supposed to show info block that way?

lobothijau avatar Jan 09 '19 03:01 lobothijau

NOTE blocks have different icons in HTML and PDF.

rahmanusta avatar Jan 09 '19 11:01 rahmanusta

Ah, so that is the correct rendering? I thought there is something wrong because the pdf files is not looking as good as the html one.

Pada tanggal Rab, 9 Jan 2019 18:23 Rahman Usta <[email protected] menulis:

NOTE blocks have different icons in HTML and PDF.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/asciidocfx/AsciidocFX/issues/400#issuecomment-452663146, or mute the thread https://github.com/notifications/unsubscribe-auth/AhV7mrJ-peH0Jkc-b8ZdWQQGSiI4ME9-ks5vBdEzgaJpZM4ZlVw3 .

lobothijau avatar Jan 09 '19 11:01 lobothijau

Their rendering mechanisms are different, so this is correct.

rahmanusta avatar Jan 09 '19 12:01 rahmanusta