PDF Layout problems

73 views
Skip to first unread message

Erwin

unread,
Apr 14, 2010, 8:26:02 AM4/14/10
to mwlib, er...@reflex-systems.nl
I've rendered de PDF trough the Pediapres site, with all the default
settings. The lay-out of my wiki is ok, but the PDF shows some strange
layout problems. The are:
1. The 'none' alignment of an image doesn't seem to work?
2. Suddenly text is centered?
3.When using a bullit list, my layout is gone

Can someone please look at my PDF and give me some advice how to solve
these problems? I would be very grateful.

Erwin

Erwin

unread,
Apr 14, 2010, 8:27:26 AM4/14/10
to mwlib
I have uploaded the PDF as LayoutProblems.

Volker Haas

unread,
Apr 16, 2010, 5:20:17 AM4/16/10
to mw...@googlegroups.com
Hi Erwin,

thanks for reporting the issues

Erwin wrote:
> I have uploaded the PDF as LayoutProblems.
>
> On 14 apr, 14:26, Erwin <er...@erwin-online.nl> wrote:
>
>> 1. The 'none' alignment of an image doesn't seem to work?
>>
fixed
>> 2. Suddenly text is centered?
>>
fixed
>> 3.When using a bullit list, my layout is gone
>>
The problem is that the table surrounding the list is removed. This is
done on purpose but in your case unnecessary - I opened a ticket for
that: http://code.pediapress.com/wiki/ticket/817
>> Can someone please look at my PDF and give me some advice how to solve
>> these problems?
The fixes have only been done in the git repository.

And you might want to wait with updateing the software. There is a "new"
bug that is not present in the mwlib version you are currently using:
http://code.pediapress.com/wiki/ticket/818


Regards,
Volker

--
volker haas brainbot technologies ag
fon +49 6131 2116394 boppstraße 64
fax +49 6131 2116392 55118 mainz
volke...@brainbot.com http://www.brainbot.com/

--
You received this message because you are subscribed to the Google Groups "mwlib" group.
To post to this group, send email to mw...@googlegroups.com.
To unsubscribe from this group, send email to mwlib+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mwlib?hl=en.

Erwin

unread,
Apr 16, 2010, 6:25:01 AM4/16/10
to mwlib
Thanks a lot!!!

You said: The fixes have only been done in the git repository". What
dows that mean?

Erwin

On 16 apr, 11:20, Volker Haas <volker.h...@brainbot.com> wrote:
> Hi Erwin,
>
> thanks for reporting the issues
>
> Erwin wrote:
> > I have uploaded the PDF as LayoutProblems.
>
> > On 14 apr, 14:26, Erwin <er...@erwin-online.nl> wrote:
>
> >> 1. The 'none' alignment of an image doesn't seem to work?
>
> fixed
> >> 2. Suddenly text is centered?
>
> fixed
> >> 3.When using a bullit list, my layout is gone
>
> The problem is that the table surrounding the list is removed. This is
> done on purpose but in your case unnecessary - I opened a ticket for
> that:http://code.pediapress.com/wiki/ticket/817>> Can someone please look at my PDF and give me some advice how to solve
> >> these problems?
>
> The fixes have only been done in the git repository.
>
> And you might want to wait with updateing the software. There is a "new"
> bug that is not present in the mwlib version you are currently using:http://code.pediapress.com/wiki/ticket/818
>
> Regards,
> Volker
>
> --
> volker haas                 brainbot technologies ag
> fon +49 6131 2116394        boppstraße 64
> fax +49 6131 2116392        55118 mainz
> volker.h...@brainbot.com    http://www.brainbot.com/

Erwin

unread,
Apr 17, 2010, 4:39:42 AM4/17/10
to mwlib
Other question; Do you mean i have to install the software on my own
server instead of using Pediapress?

Erwin
> For more options, visit this group athttp://groups.google.com/group/mwlib?hl=en.- Tekst uit oorspronkelijk bericht niet weergeven -
>
> - Tekst uit oorspronkelijk bericht weergeven -

Volker Haas

unread,
Apr 20, 2010, 9:18:52 AM4/20/10
to mw...@googlegroups.com


Erwin wrote:
> Other question; Do you mean i have to install the software on my own
> server instead of using Pediapress?
>
> Erwin
>
Hi Erwin,

sorry for the confusion. Since you are using the pediapress renderserver
you don't need to do anything - I updated the software on the server.

Regards,
Volker

--
volker haas brainbot technologies ag
fon +49 6131 2116394 boppstraße 64
fax +49 6131 2116392 55118 mainz
volke...@brainbot.com http://www.brainbot.com/

Erwin

unread,
Apr 20, 2010, 9:28:04 AM4/20/10
to mwlib
Thanks, the first 2 issues are solved!

What i notice is that the rendering percentage has a lot of decimals
(it shows: 1.0029515647888%)

Do you have any estimate of solving issue 3?

Again, thanks a lot!

Erwin



On 20 apr, 15:18, Volker Haas <volker.h...@brainbot.com> wrote:
> Erwin wrote:
> > Other question; Do you mean i have to install the software on my own
> > server instead of using Pediapress?
>
> > Erwin
>
> Hi Erwin,
>
> sorry for the confusion. Since you are using the pediapress renderserver
> you don't need to do anything - I updated the software on the server.
>
> Regards,
> Volker
>
> --
> volker haas                 brainbot technologies ag
> fon +49 6131 2116394        boppstraße 64
> fax +49 6131 2116392        55118 mainz
> volker.h...@brainbot.com    http://www.brainbot.com/

Volker Haas

unread,
Apr 20, 2010, 9:44:51 AM4/20/10
to mw...@googlegroups.com


Erwin wrote:
> Do you have any estimate of solving issue 3?
>
>
It will take a while until I fix this. I am hesitant to fix this now,
since it solves quite a few problems we had in the past. At some point
manipulating the parsetree with the "treecleaner" will be rewritten -
one of the goals is to improve the transformation of tables.

If I remember correctly you could work-around the problem by using a
<div> instead of a table in the template that renders the boxes.

Regards,
Volker

--
volker haas brainbot technologies ag
fon +49 6131 2116394 boppstraße 64
fax +49 6131 2116392 55118 mainz
volke...@brainbot.com http://www.brainbot.com/

Erwin

unread,
Apr 22, 2010, 8:54:48 AM4/22/10
to mwlib
Ok, i'll try the div tag.
But..... I can't render anymore. I get errors like this:

De renderserver gaf de volgende foutmelding: traceback Traceback (most
recent call last): File "/home/tools/py25/lib/python2.5/site-packages/
mwlib-0.12.13-py2.5-linux-x86_64.egg/mwlib/apps/render.py", line 169,
in __call__ env = self.get_environment() File "/home/tools/py25/lib/
python2.5/site-packages/mwlib-0.12.13-py2.5-linux-x86_64.egg/mwlib/
apps/render.py", line 101, in get_environment self.zip_filename =
make_zip(output=self.options.keep_zip, options=self.options,
metabook=env.metabook, status=self.status) File "/home/tools/py25/lib/
python2.5/site-packages/mwlib-0.12.13-py2.5-linux-x86_64.egg/mwlib/
apps/buildzip.py", line 58, in make_zip make_nuwiki(fsdir,
metabook=metabook, options=options, podclient=podclient,
status=status) File "/home/tools/py25/lib/python2.5/site-packages/
mwlib-0.12.13-py2.5-linux-x86_64.egg/mwlib/apps/make_nuwiki.py", line
173, in make_nuwiki raise RuntimeError(str(val)) RuntimeError:
[Failure instance: Traceback (failure with no frames): <type
'exceptions.RuntimeError'>: could not get siteinfo ] sys.argv=['/home/
tools/py25/bin/mw-render', '--logfile', '/home/tools/cache/mw-serve/a7/
a76d97607d0b0e13/mw-render.log.rl', '--error-file', '/home/tools/cache/
mw-serve/a7/a76d97607d0b0e13/errors.rl', '--status-file', '/home/tools/
cache/mw-serve/a7/a76d97607d0b0e13/status.rl', '--writer', 'rl', '--
output', '/home/tools/cache/mw-serve/a7/a76d97607d0b0e13/output.rl',
'--pid-file', '/home/tools/cache/mw-serve/a7/a76d97607d0b0e13/pid.rl',
'--metabook', '/home/tools/cache/mw-serve/a7/a76d97607d0b0e13/
metabook.json', '--keep-zip', '/home/tools/cache/mw-serve/a7/
a76d97607d0b0e13/collection.zip', '--config', 'http://
nl.reflexwiki.net', '--template-blacklist', 'MediaWiki:PDF Template
Blacklist', '--template-exclusion-category', 'Weglaten bij afdrukken',
'--print-template-prefix', 'Afdruk', '--print-template-pattern', '$1/
Afdrukken', '--script-extension', '.php', '--language', 'nl']

On 20 apr, 15:44, Volker Haas <volker.h...@brainbot.com> wrote:
> Erwin wrote:
> > Do you have any estimate of solving issue 3?
>
> It will take a while until I fix this. I am hesitant to fix this now,
> since it solves quite a few problems we had in the past. At some point
> manipulating the parsetree with the "treecleaner" will be rewritten -
> one of the goals is to improve the transformation of tables.
>
> If I remember correctly you could work-around the problem by using a
> <div> instead of a table in the template that renders the boxes.
>
> Regards,
> Volker
>
> --
> volker haas                 brainbot technologies ag
> fon +49 6131 2116394        boppstraße 64
> fax +49 6131 2116392        55118 mainz
> volker.h...@brainbot.com    http://www.brainbot.com/

Erwin

unread,
May 3, 2010, 6:45:40 AM5/3/10
to mwlib
Try the div tag, but this alternative was disappointing. No layout (no
border) is made in de PDF. This makes my document very hard to read.
So, nothing more then to wait for the solution?

Erwin
> For more options, visit this group athttp://groups.google.com/group/mwlib?hl=en.- Tekst uit oorspronkelijk bericht niet weergeven -
>
> - Tekst uit oorspronkelijk bericht weergeven -

Erwin

unread,
May 8, 2010, 3:32:58 PM5/8/10
to mwlib
My lay-out stays a mess. What can i do? The PDF and the Lay-out at
Pediapress is also differtent. So we can't use the PDF and we can't
order a book at pediapress. Can someone please see if there can be
something fixed?

Erwin
> > For more options, visit this group athttp://groups.google.com/group/mwlib?hl=en.-Tekst uit oorspronkelijk bericht niet weergeven -

Erwin

unread,
May 9, 2010, 7:22:24 AM5/9/10
to mwlib
O, i forgot, the URL = http://nl.reflexwiki.net/index.php?title=Verkoop_artikelbestand

See the differebce between the wiki lay-out, the PDF download and the
Pediapress book

I hope someone can fix it, because it is not useable now.

Erwin
> > > For more options, visit this group athttp://groups.google.com/group/mwlib?hl=en.-Tekstuit oorspronkelijk bericht niet weergeven -

Erwin

unread,
May 25, 2010, 9:01:25 AM5/25/10
to mwlib
Back form holiday. No one who can help me?

Erwin

On 9 mei, 13:22, Erwin <er...@erwin-online.nl> wrote:
> O, i forgot, the URL =http://nl.reflexwiki.net/index.php?title=Verkoop_artikelbestand
> > > > For more options, visit this group athttp://groups.google.com/group/mwlib?hl=en.-Tekstuitoorspronkelijk bericht niet weergeven -
Reply all
Reply to author
Forward
0 new messages