public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* sizing plantuml diagrams
@ 2020-08-19 20:35 Don Raikes
  2020-08-19 21:56 ` Leonard Rosenthol
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Don Raikes @ 2020-08-19 20:35 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw


[-- Attachment #1.1: Type: text/plain, Size: 1248 bytes --]

Hello,

 

I am working on an Entity Relationship Diagram using plantuml with pandoc.  I can get the diagram to generate fine, but when I look at it in the pdf document, the diagram artifacts are so small I can't distinguish between them and can't read the diagram.

 

Is there a way to make the diagram span pages or is there any other way to make the diagram readable?

 

Is there a better tool to use than plantuml like mermaid?

 

-- 
Regards, Donald 
Accessibility like security should be built-in from the beginning not just bolted on at the end.

http://www.oracle.com/
Donald Raikes, Accessibility Specialist
Mobile: HYPERLINK "tel:+15202717608"+15202717608, VOIP: HYPERLINK "tel:+15205744033"+15205744033 
https://oracle.zoom.us/my/don.raikes?pwd=RzZrYjFtZzJJZ3JvSmYvd1pzWi9oZz09
Oracle Accessibility Program Office
, Tucson, Arizona 

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/69930dd4-b762-40dd-a4f1-17310c0f22ba%40default.

[-- Attachment #1.2.1: Type: text/html, Size: 4691 bytes --]

[-- Attachment #1.2.2: image001.png --]
[-- Type: image/png, Size: 3502 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: sizing plantuml diagrams
  2020-08-19 20:35 sizing plantuml diagrams Don Raikes
@ 2020-08-19 21:56 ` Leonard Rosenthol
       [not found]   ` <CALu=v3JouD=igTwkMVnp50jMSqo3_nGsF8ApQPnicpwuAA-HRQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  2020-08-20  9:35 ` Jeroen de Haas
  2020-08-20  9:38 ` Jeroen de Haas
  2 siblings, 1 reply; 6+ messages in thread
From: Leonard Rosenthol @ 2020-08-19 21:56 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw


[-- Attachment #1.1: Type: text/plain, Size: 2200 bytes --]

What output format are you having plantuml produce, that is then being used
as input to pandoc?  Also, are you doing the conversion yourself or letting
one of the filters do it as part of the conversion?


On Wed, Aug 19, 2020 at 4:37 PM Don Raikes <DON.RAIKES-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org> wrote:

> Hello,
>
>
>
> I am working on an Entity Relationship Diagram using plantuml with
> pandoc.  I can get the diagram to generate fine, but when I look at it in
> the pdf document, the diagram artifacts are so small I can’t distinguish
> between them and can’t read the diagram.
>
>
>
> Is there a way to make the diagram span pages or is there any other way to
> make the diagram readable?
>
>
>
> Is there a better tool to use than plantuml like mermaid?
>
>
>
> --
> Regards, Donald
> Accessibility like security should be built-in from the beginning not just
> bolted on at the end.
>
> [image: Oracle] <http://www.oracle.com/>
> Donald Raikes, Accessibility Specialist
> Mobile: +15202717608, VOIP: +15205744033
> https://oracle.zoom.us/my/don.raikes?pwd=RzZrYjFtZzJJZ3JvSmYvd1pzWi9oZz09
> Oracle Accessibility Program Office
> , Tucson, Arizona
>
> --
> You received this message because you are subscribed to the Google Groups
> "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pandoc-discuss/69930dd4-b762-40dd-a4f1-17310c0f22ba%40default
> <https://groups.google.com/d/msgid/pandoc-discuss/69930dd4-b762-40dd-a4f1-17310c0f22ba%40default?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CALu%3Dv3JouD%3DigTwkMVnp50jMSqo3_nGsF8ApQPnicpwuAA-HRQ%40mail.gmail.com.

[-- Attachment #1.2: Type: text/html, Size: 4394 bytes --]

[-- Attachment #2: image001.png --]
[-- Type: image/png, Size: 3502 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: sizing plantuml diagrams
       [not found]   ` <CALu=v3JouD=igTwkMVnp50jMSqo3_nGsF8ApQPnicpwuAA-HRQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2020-08-20  7:26     ` K4zuki
       [not found]       ` <2645159a-d60d-4d13-a181-f08ef299eddcn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: K4zuki @ 2020-08-20  7:26 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 2351 bytes --]

 https://plantuml.com/ja/commons 

2020年8月20日木曜日 6:56:33 UTC+9 Leonard Rosenthol:

> What output format are you having plantuml produce, that is then being 
> used as input to pandoc?  Also, are you doing the conversion yourself or 
> letting one of the filters do it as part of the conversion?
>
>
> On Wed, Aug 19, 2020 at 4:37 PM Don Raikes <DON.R...-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org> wrote:
>
>> Hello,
>>
>>  
>>
>> I am working on an Entity Relationship Diagram using plantuml with 
>> pandoc.  I can get the diagram to generate fine, but when I look at it in 
>> the pdf document, the diagram artifacts are so small I can’t distinguish 
>> between them and can’t read the diagram.
>>
>>  
>>
>> Is there a way to make the diagram span pages or is there any other way 
>> to make the diagram readable?
>>
>>  
>>
>> Is there a better tool to use than plantuml like mermaid?
>>
>>  
>>
>> -- 
>> Regards, Donald 
>> Accessibility like security should be built-in from the beginning not 
>> just bolted on at the end.
>>
>> [image: Oracle] <http://www.oracle.com/>
>> Donald Raikes, Accessibility Specialist
>> Mobile: +15202717608, VOIP: +15205744033 
>> https://oracle.zoom.us/my/don.raikes?pwd=RzZrYjFtZzJJZ3JvSmYvd1pzWi9oZz09
>> Oracle Accessibility Program Office
>> , Tucson, Arizona 
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "pandoc-discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/pandoc-discuss/69930dd4-b762-40dd-a4f1-17310c0f22ba%40default 
>> <https://groups.google.com/d/msgid/pandoc-discuss/69930dd4-b762-40dd-a4f1-17310c0f22ba%40default?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/2645159a-d60d-4d13-a181-f08ef299eddcn%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 5544 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: sizing plantuml diagrams
       [not found]       ` <2645159a-d60d-4d13-a181-f08ef299eddcn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2020-08-20  7:29         ` K4zuki
  0 siblings, 0 replies; 6+ messages in thread
From: K4zuki @ 2020-08-20  7:29 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 2571 bytes --]

(Sorry in middle of edit)

Does `scale` common command work?
https://plantuml.com/commons

K4zuki/Kazuki

2020年8月20日木曜日 16:26:41 UTC+9 K4zuki:

> https://plantuml.com/ja/commons 
>
> 2020年8月20日木曜日 6:56:33 UTC+9 Leonard Rosenthol:
>
>> What output format are you having plantuml produce, that is then being 
>> used as input to pandoc?  Also, are you doing the conversion yourself or 
>> letting one of the filters do it as part of the conversion?
>>
>>
>> On Wed, Aug 19, 2020 at 4:37 PM Don Raikes <DON.R...-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org> wrote:
>>
>>> Hello,
>>>
>>>  
>>>
>>> I am working on an Entity Relationship Diagram using plantuml with 
>>> pandoc.  I can get the diagram to generate fine, but when I look at it in 
>>> the pdf document, the diagram artifacts are so small I can’t distinguish 
>>> between them and can’t read the diagram.
>>>
>>>  
>>>
>>> Is there a way to make the diagram span pages or is there any other way 
>>> to make the diagram readable?
>>>
>>>  
>>>
>>> Is there a better tool to use than plantuml like mermaid?
>>>
>>>  
>>>
>>> -- 
>>> Regards, Donald 
>>> Accessibility like security should be built-in from the beginning not 
>>> just bolted on at the end.
>>>
>>> [image: Oracle] <http://www.oracle.com/>
>>> Donald Raikes, Accessibility Specialist
>>> Mobile: +15202717608, VOIP: +15205744033 
>>> https://oracle.zoom.us/my/don.raikes?pwd=RzZrYjFtZzJJZ3JvSmYvd1pzWi9oZz09
>>> Oracle Accessibility Program Office
>>> , Tucson, Arizona 
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "pandoc-discuss" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/pandoc-discuss/69930dd4-b762-40dd-a4f1-17310c0f22ba%40default 
>>> <https://groups.google.com/d/msgid/pandoc-discuss/69930dd4-b762-40dd-a4f1-17310c0f22ba%40default?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/9d66b86e-8ceb-4d37-8ed6-b57e208f3080n%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 6195 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: sizing plantuml diagrams
  2020-08-19 20:35 sizing plantuml diagrams Don Raikes
  2020-08-19 21:56 ` Leonard Rosenthol
@ 2020-08-20  9:35 ` Jeroen de Haas
  2020-08-20  9:38 ` Jeroen de Haas
  2 siblings, 0 replies; 6+ messages in thread
From: Jeroen de Haas @ 2020-08-20  9:35 UTC (permalink / raw)
  To: 'Jason Seeley' via pandoc-discuss

[-- Attachment #1: Type: text/plain, Size: 2717 bytes --]

Hello Don,

Have you tried changing the dpi? At work we use a modified version of the plantuml.py filter that sets the DPI. We’ve replaced the call to java with the following


                call_params = [ "plantuml", "-t"+filetype, src ] + \
                    [f"-S{k}={v}" for k, v in skin.items()]

                call(call_params)

where skin is a dictionary, which controls (among other things the DPI)

skin = {
    "dpi": "300”
}

You may need to adapt the call to plantuml depending on you installed it or how it is packaged by your operating system.

Hope this helps,

Jeroen

> On 19 Aug 2020, at 22:35, Don Raikes <DON.RAIKES-MouhYhfBpPxXrIkS9f7CXA@public.gmane.org> wrote:
> 
> Hello,
>  
> I am working on an Entity Relationship Diagram using plantuml with pandoc.  I can get the diagram to generate fine, but when I look at it in the pdf document, the diagram artifacts are so small I can’t distinguish between them and can’t read the diagram.
>  
> Is there a way to make the diagram span pages or is there any other way to make the diagram readable?
>  
> Is there a better tool to use than plantuml like mermaid?
>  
> -- 
> Regards, Donald 
> Accessibility like security should be built-in from the beginning not just bolted on at the end.
> <image001.png> <http://www.oracle.com/>
> Donald Raikes, Accessibility Specialist
> Mobile: +15202717608 <tel:+15202717608>, VOIP: +15205744033 <tel:+15205744033> 
> https://oracle.zoom.us/my/don.raikes?pwd=RzZrYjFtZzJJZ3JvSmYvd1pzWi9oZz09 <https://oracle.zoom.us/my/don.raikes?pwd=RzZrYjFtZzJJZ3JvSmYvd1pzWi9oZz09>
> Oracle Accessibility Program Office
> , Tucson, Arizona
> 
> -- 
> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/69930dd4-b762-40dd-a4f1-17310c0f22ba%40default <https://groups.google.com/d/msgid/pandoc-discuss/69930dd4-b762-40dd-a4f1-17310c0f22ba%40default?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/4B4B2F6B-B5DC-48A0-84A1-E67BDC8E2747%40dehaas.online.

[-- Attachment #2: Type: text/html, Size: 11724 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: sizing plantuml diagrams
  2020-08-19 20:35 sizing plantuml diagrams Don Raikes
  2020-08-19 21:56 ` Leonard Rosenthol
  2020-08-20  9:35 ` Jeroen de Haas
@ 2020-08-20  9:38 ` Jeroen de Haas
  2 siblings, 0 replies; 6+ messages in thread
From: Jeroen de Haas @ 2020-08-20  9:38 UTC (permalink / raw)
  To: 'Jason Seeley' via pandoc-discuss

[-- Attachment #1: Type: text/plain, Size: 2699 bytes --]

Hello Don,

Have you tried changing the dpi? At work we use a modified version of the plantuml.py filter that sets the DPI. We’ve replaced the call to java with the following


                call_params = [ "plantuml", "-t"+filetype, src ] + \
                    [f"-S{k}={v}" for k, v in skin.items()]

                call(call_params)

where skin is a dictionary, which controls, among other things, the DPI

skin = {
    "dpi": "300”
}

You may need to adapt the call to plantuml depending on how you or your operating system installed it.

Hope this helps,

Jeroen

> On 19 Aug 2020, at 22:35, Don Raikes <DON.RAIKES-MouhYhfBpPxXrIkS9f7CXA@public.gmane.org> wrote:
> 
> Hello,
>  
> I am working on an Entity Relationship Diagram using plantuml with pandoc.  I can get the diagram to generate fine, but when I look at it in the pdf document, the diagram artifacts are so small I can’t distinguish between them and can’t read the diagram.
>  
> Is there a way to make the diagram span pages or is there any other way to make the diagram readable?
>  
> Is there a better tool to use than plantuml like mermaid?
>  
> -- 
> Regards, Donald 
> Accessibility like security should be built-in from the beginning not just bolted on at the end.
> <image001.png> <http://www.oracle.com/>
> Donald Raikes, Accessibility Specialist
> Mobile: +15202717608 <tel:+15202717608>, VOIP: +15205744033 <tel:+15205744033> 
> https://oracle.zoom.us/my/don.raikes?pwd=RzZrYjFtZzJJZ3JvSmYvd1pzWi9oZz09 <https://oracle.zoom.us/my/don.raikes?pwd=RzZrYjFtZzJJZ3JvSmYvd1pzWi9oZz09>
> Oracle Accessibility Program Office
> , Tucson, Arizona
> 
> -- 
> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/69930dd4-b762-40dd-a4f1-17310c0f22ba%40default <https://groups.google.com/d/msgid/pandoc-discuss/69930dd4-b762-40dd-a4f1-17310c0f22ba%40default?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/AC27FA4F-B860-4D7B-B6F3-07AD7EDC37DC%40dehaas.online.

[-- Attachment #2: Type: text/html, Size: 11735 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-08-20  9:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-19 20:35 sizing plantuml diagrams Don Raikes
2020-08-19 21:56 ` Leonard Rosenthol
     [not found]   ` <CALu=v3JouD=igTwkMVnp50jMSqo3_nGsF8ApQPnicpwuAA-HRQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2020-08-20  7:26     ` K4zuki
     [not found]       ` <2645159a-d60d-4d13-a181-f08ef299eddcn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-08-20  7:29         ` K4zuki
2020-08-20  9:35 ` Jeroen de Haas
2020-08-20  9:38 ` Jeroen de Haas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).