depend what version you are using :
made change in wikipdf.php :
replace :
// TODO: get "Image:" code from config file
preg_match_all
("/\[\[Image:([^\[|]*)|([0-9]+px)?|?[^\[]*\]\]/",
$content, $matches,PREG_SET_ORDER);
by :
// TODO: get "Image:" code from config file
preg_match_all
("/\[\[Image:([^\[|]*)|*([0-9]+px)?|?[^\[]*\]\]/",
$content, $matches,PREG_SET_ORDER);
made change in src/wiki2latex.py :
replace :
for im,caption in
re.findall(r'\[\[Image:([^\[|]*)|([^\[]*)\]\]', itext):
by :
for im,caption in
re.findall(r'\[\[Image:([^\[|]*)|*([^\[]*)\]\]', it
ext):
if your version is not uptodate there a lot of modification
you should make in src/wiki2latex.py.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=1482852
depend what version you are using :
made change in wikipdf.php :
replace :
// TODO: get "Image:" code from config file
preg_match_all
("/\[\[Image:([^\[|]*)|([0-9]+px)?|?[^\[]*\]\]/",
$content, $matches,PREG_SET_ORDER);
by :
// TODO: get "Image:" code from config file
preg_match_all
("/\[\[Image:([^\[|]*)|*([0-9]+px)?|?[^\[]*\]\]/",
$content, $matches,PREG_SET_ORDER);
made change in src/wiki2latex.py :
replace :
for im,caption in
re.findall(r'\[\[Image:([^\[|]*)|([^\[]*)\]\]', itext):
by :
for im,caption in
re.findall(r'\[\[Image:([^\[|]*)|*([^\[]*)\]\]', it
ext):
if your version is not uptodate there a lot of modification
you should make in src/wiki2latex.py.