Hi Volker,


I have a similar Problem.


I have a Wiki V 1.24.1 & Collection V 1.7.0.



I want to hide the "article source and contributors" in my rendered PDF's.

So I created *customconfig.py* in* 
/usr/lib/python2.7/site-packages/mwlib/rl/ *with this content:


#! /usr/bin/env python
#! -*- coding:utf-8 -*-

serif_font =  "FreeSerif"
sans_font = "FreeSans"
mono_font = "FreeMono"
default_font = 'FreeSans'

from reportlab import rl_config
rl_config.canvas_basefontname = default_font
######### PAGE CONFIGURATION
show_article_attribution = False
title_page_image = '/usr/lib/python2.7/site-packages/mwlib/rl/logo.png'

But my changes doesn't work!

So I changed in  /home/mwiki/.bashrc like this:

# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
        . /etc/bashrc
fi
# Uncomment the following line if you don't like systemctl's auto-paging 
feature:
# export SYSTEMD_PAGER=
# User specific aliases and functions
PATH="${PATH}:/usr/lib/python2.7/site-packages/mwlib/rl/"
export PATH
PYTHONPATH="${PYTHONPATH}:/usr/lib/python2.7/site-packages/mwlib/rl/"
export PYTHONPATH

But even this doesn't semm to work :-(

Maybe you can held. Any ideas?

regards
z3rano




-- 
You received this message because you are subscribed to the Google Groups 
"mwlib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to