• Resolved ElgeHelge

    (@elgehelge)


    Hi! Thanks for providing this awesome and well written plugin.

    Found some bug:
    – Enabeling PDF for both Single pages and All pages will result in one file missing. This is because the file including all pages is given the same name as one of the single page PDFs.
    – Custom posttypes does not work. At least not on my host (bluehost.com). I get the following output from latex:

    %&-line parsing enabled.
    entering extended mode
    (/var/tmp/le-Vb6s3D
    LaTeX2e <2005/12/01>
    Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, noh
    yphenation, arabic, basque, bulgarian, coptic, welsh, czech, slovak, german, ng
    erman, danish, esperanto, spanish, catalan, galician, estonian, farsi, finnish,
     french, greek, monogreek, ancientgreek, croatian, hungarian, interlingua, ibyc
    us, indonesian, icelandic, italian, latin, mongolian, dutch, norsk, polish, por
    tuguese, pinyin, romanian, russian, slovenian, uppersorbian, serbian, swedish,
    turkish, ukenglish, ukrainian, loaded.
    (/usr/share/texmf/tex/latex/base/article.cls
    Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
    (/usr/share/texmf/tex/latex/base/size12.clo))
    (/usr/share/texmf/tex/latex/preprint/fullpage.sty)
    (/usr/share/texmf/tex/latex/graphics/graphicx.sty
    (/usr/share/texmf/tex/latex/graphics/keyval.sty)
    (/usr/share/texmf/tex/latex/graphics/graphics.sty
    (/usr/share/texmf/tex/latex/graphics/trig.sty)
    (/usr/share/texmf/tex/latex/config/graphics.cfg)
    (/usr/share/texmf/tex/latex/pdftex-def/pdftex.def)))
    (/usr/share/texmf/tex/latex/ltxmisc/url.sty)
    
    ! LaTeX Error: Missing \begin{document}.
    
    See the LaTeX manual or LaTeX Companion for explanation.
    Type  H <return>  for immediate help.
     ...
    
    l.12 <
          br />
    ! Missing $ inserted.
    <inserted text>
                    $
    l.13 ...d offset:  0 in <b>/home3/eddietwo/public_
                                                      html/wp-includes/query.php...
    
    ! Missing $ inserted.
    <inserted text>
                    $
    l.16
    
    Overfull \hbox (24.87604pt too wide) in paragraph at lines 12--16
    []\OT1/cmr/m/n/12  <b>Notice</b>: Un-de-fined off-set: 0 in <b>/home3/edd
    ietwo/public$[]\OML/cmm/m/it/12 tml=wp \OMS/cmsy/m/n/12 ^^@
    
    Overfull \hbox (99.92647pt too wide) in paragraph at lines 12--16
    \OML/cmm/m/it/12 Notice < =b >\OT1/cmr/m/n/12 : \OML/cmm/m/it/12 Tryingtogetpro
    pertyofnon \OMS/cmsy/m/n/12 ^^@ \OML/cmm/m/it/12 objectin < b > =home\OT1/cmr/m
    /n/12 3\OML/cmm/m/it/12 =eddietwo=public[]tml=wp \OMS/cmsy/m/n/12 ^^@
    No file le-Vb6s3D.aux.
    [1{/usr/share/texmf/fonts/map/pdftex/updmap/pdftex.map}]
    ! Missing $ inserted.
    <inserted text>
                    $
    l.37 ...ied as input in <b>/home3/eddietwo/public_
                                                      html/wp-content/plugins/la...
    
    ! Missing $ inserted.
    <inserted text>
                    $
    l.42 \end{document}
    
    Overfull \hbox (131.58737pt too wide) in paragraph at lines 36--42
    []\OT1/cmr/m/n/12  <b>Warning</b>: DOM-Doc-u-ment::loadHTML() [<a href='d
    omdocument.loadhtml'>domdocument.loadhtml]:
    
    Overfull \hbox (21.47119pt too wide) in paragraph at lines 36--42
    \OT1/cmr/m/n/12 Empty string sup-plied as in-put in <b>/home3/eddietwo/public$[
    ]\OML/cmm/m/it/12 tml=wp \OMS/cmsy/m/n/12 ^^@ \OML/cmm/m/it/12 content=plugins=
    latex \OMS/cmsy/m/n/12 ^^@
    [2] (./le-Vb6s3D.aux) )
    (see the transcript file for additional information)</usr/share/texmf/fonts/typ
    e1/bluesky/cm/cmmi12.pfb></usr/share/texmf/fonts/type1/bluesky/cm/cmmi8.pfb></u
    sr/share/texmf/fonts/type1/bluesky/cm/cmr12.pfb></usr/share/texmf/fonts/type1/b
    luesky/cm/cmsy10.pfb></usr/share/texmf/fonts/type1/bluesky/cm/cmsy8.pfb>
    Output written on le-Vb6s3D.pdf (2 pages, 29132 bytes).
    Transcript written on le-Vb6s3D.log.

    http://wordpress.org/extend/plugins/latex-everything/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author divinenephron

    (@divinenephron)

    Thanks for the good descriptions of those bugs, I’ll fix them soon.

    Plugin Author divinenephron

    (@divinenephron)

    Both of these bugs have been fixed in the 1.2 release.

    The custom post types didn’t work because of a silly error, which has now been corrected.

    I found that the PDF for the post type named “Foo” would overwrite the post entitled “Foo”, and that a page named “Foo” would do the same. This is because they were all saved as foo.pdf. I’ve now changed where new PDFs are saved – post types are saved to all-foo.pdf while posts are saved to post-foo.pdf, page-foo.pdf, custom-foo.pdf etc. This only affects newly created PDFs, not old ones or updates to them. If you want an old PDF to be put into the new location, delete it in the Media Library (/wp-admin/upload.php) then re-create it.

    Thread Starter ElgeHelge

    (@elgehelge)

    Wow, that was quick. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Latex Everything] Bugs’ is closed to new replies.