Menu

#9 No images

open
nobody
7
2006-03-21
2006-03-21
PChott
No

The are no images included in the pdf. Just logo image.

Example:
http://aluno.no-ip.info/juca/index.php/WikiPDF_extension_-_bug_test#BUG_5

Discussion

  • PChott

    PChott - 2006-03-21
    • priority: 5 --> 7
     
  • Manu

    Manu - 2006-03-22

    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.

     

Log in to post a comment.

MongoDB Logo MongoDB