|Anonymous | Login||2017-11-21 18:17 EST|
|Main | My View | View Issues | Change Log | Roadmap | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001840||graphviz||Dot||public||2010-03-18 12:22||2011-04-28 04:03|
|Summary||0001840: Problem with multiple pages|
Problem with multiple pages via *.ps -> *.pdf using ghostscript
In 2.24 it was possible to produce nice multiple pages output by using postscript
and then ghostscript to get a pdf output.
Now with 2.26.3 I cant' get this to work. I get only the first page of three in
the attached case.
Could you send me your .ps output?
Basically it works for me with our latest graphviz snapshot - but I don't recall any fixes that would affect this.
I made this change to your source:
$ diff rel_graph_3_pages.gv.orig rel_graph_3_pages.gv
> // margin="0.51,0.51";
> // pagedir="BL";
then processed with:
dot -Tps rel_graph_3_pages.gv | ps2pdf - rel_graph_3_pages.pdf
(ps2pdf from: ghostscript-8.71-4.fc12)
and viewed with:
Thanks for fast response!
I have created a 3 pages pdf output and kept the two intermediate files, which normally are deleted.
I use Gramps and we are working a way to get all children with or without. spouses in birth order
This seems to be tricky. It works for a "vertical" family tree, but not for a "horizontal".
I any case the commands to create the files are:
dot -Tps:cairo -o"/home/peter/tmp/tmpovyg3v.ps" "/home/peter/tmp/tmp_WxDxb.gv"
cairo: out of memory
cairo: out of memory
gs -q -sDEVICE=pdfwrite -dNOPAUSE -dDEVICEWIDTHPOINTS=842 -dDEVICEHEIGHTPOINTS=595 -
sOutputFile="/home/peter/GRAMPSUTDATA/GRAFER/rel_graph3P_26_2.pdf" "/home/peter/tmp/tmpovyg3v.ps" -c
As you see I get two out of memory.
If I use the command
dot -Tps rel_graph3P_26_2.gv | ps2pdf - rel_graph3P_26_4.pdf
I get rel_graph3P_26_4.pdf with three pages.
(I have renamed the temporary files.)
(evince from: evince-2.28.2-1.fc12)
rel_graph3P_26_2.gv is \<A HREF="b1906a.gv"\>here\</A\>.
rel_graph3P_26_2.ps is \<A HREF="b1906.ps"\>here\</A\>.
rel_graph3P_26_2.pdf is \<A HREF="b1906.pdf"\>here\</A\>.
I have another question regarding this type of graph.
We have now a correct graph if we have a vertical family tree.
The order of children changes when I create a horizontal family tree just by changing
rankdir="TB" to rankdir="RL"
This is obviously not enough to get the correct order. What should we do to achieve this?
I know this is a little bit off topic, but ...
Trying to manually control layout in dot is generally an uphill battle, but you could try:
which is documented as:
If "out" for a graph G, and n is a node in G, then edges n->* appear left-to-right in the same order in which they are defined. If "in", the edges *->n appear left-to-right in the same order in which they are defined for all nodes n.
Sometimes you can also control layout by adding invisible edges.
|Tags||No tags attached.|
|AUXILLARY-FILES||http://www.graphviz.org/bugs/b1906a.gv [^] http://www.graphviz.org/bugs/b1906.ps [^] http://www.graphviz.org/bugs/b1906.pdf [^]|
|2011-04-28 04:03||user1||New Issue|
|2011-04-28 04:03||user1||Assigned To||=> user1|
|MantisBT 1.2.5[^] Copyright © 2000 - 2011 MantisBT Group|