asciidoctor / docker-asciidoctor

:ship: A Docker image for using the Asciidoctor toolchain to process AsciiDoc content
https://hub.docker.com/r/asciidoctor/docker-asciidoctor/
Other
321 stars 151 forks source link

ditaa diagrams in PDF #17

Closed goern closed 9 years ago

goern commented 9 years ago

I have seen that my ditaa diagrams seem to be like 50% of the page in my PDF, is that a default value somewhere? The code I use is something like:

.ACME Corp Org Chart
[ditaa]
----
                                                     +----------------+
                                                     |                |
                                                     |  CEO Office    |
                                                     |                |
                                                     +-------+--------+
----
gscheibel commented 9 years ago

50% height ?

I've tried with a test doc (with the diagram you posted) and the result is correct.

On Fri, 10 Jul 2015 at 11:28 Christoph Görn notifications@github.com wrote:

I have seen that my ditaa diagrams seem to be like 50% of the page in my PDF, is that a default value somewhere? The code I use is something like:

.ACME Corp Org Chart

[ditaa]

                                                 +----------------+
                                                 |                |
                                                 |  CEO Office    |
                                                 |                |
                                                 +-------+--------+

— Reply to this email directly or view it on GitHub https://github.com/asciidoctor/docker-asciidoctor/issues/17.

goern commented 9 years ago

oh, sorry, no.. 50% width

gscheibel commented 9 years ago

The diagram is only taking half of the page width and you would like it to use 100% right ?

On Fri, 10 Jul 2015 at 11:55 Christoph Görn notifications@github.com wrote:

oh, sorry, no.. 50% width

— Reply to this email directly or view it on GitHub https://github.com/asciidoctor/docker-asciidoctor/issues/17#issuecomment-120382969 .

gscheibel commented 9 years ago

Therefore, it concerns asciidoctor-pdf more than the docker container I suggest you open or comment (if already exists) an issue on this page:

https://github.com/asciidoctor/asciidoctor-pdf/issues

And we'll have a look at it.

On Fri, 10 Jul 2015 at 11:56 Guillaume SCHEIBEL < guillaume.scheibel@gmail.com> wrote:

The diagram is only taking half of the page width and you would like it to use 100% right ?

On Fri, 10 Jul 2015 at 11:55 Christoph Görn notifications@github.com wrote:

oh, sorry, no.. 50% width

— Reply to this email directly or view it on GitHub https://github.com/asciidoctor/docker-asciidoctor/issues/17#issuecomment-120382969 .

goern commented 9 years ago

ja, thanks!