← Back to team overview

zim-wiki team mailing list archive

Re: Zim 0.62 still has export bug? (template parameters?)

 

hi Joseph,

Yes the template system changed in version 0.61 . This was needed to
support multi page export. Unfortunately as a result your template needs to
be updated to make it work again.

Have a look in the manual page for a description is the new parameters. The
default template is a good example how to do a simple page.

Hope this helps

Jaap
On Oct 9, 2014 2:28 PM, "Joseph Reagle" <joseph.2011@xxxxxxxxxx> wrote:

>
> This [1] issue still exists.
>
> > The culprit is that 0.61 warns about existing directories and refuses
> > to export unless they are empty or the user uses `--overwrite`.
> >
> > Even when I manually invoked export with overwrite it failed with
> > errors about variables not found...
>
> [1]: https://lists.launchpad.net/zim-wiki/msg02885.html
>
> What does these parameters even mean? Has the templating system changed?
>
> ```
>
> zim --export --output=/home/reagle/joseph/zwiki --format=html
> --overwrite
> --template=~/.local/share/zim/templates/html/codex-default.html
> /home/reagle/joseph/zim --index-page index
> WARNING: No such parameter: zim
> WARNING: No such parameter: pages.previous
> WARNING: No such parameter: page
> WARNING: No such parameter: pages.index
> WARNING: No such parameter: pages.next
> WARNING: No such parameter: page
> WARNING: No such parameter: page
> WARNING: No such parameter: page
> WARNING: No such parameter: page
> WARNING: No such parameter: zim
> WARNING: No such parameter: pages.previous
> WARNING: No such parameter: page
> WARNING: No such parameter: pages.index
> WARNING: No such parameter: pages.next
> WARNING: No such parameter: page
> WARNING: No such parameter: page
> WARNING: No such parameter: page
> WARNING: No such parameter: page
> WARNING: No such parameter: zim
> ...
>
> ```
>
> _______________________________________________
> Mailing list: https://launchpad.net/~zim-wiki
> Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~zim-wiki
> More help   : https://help.launchpad.net/ListHelp
>

References