Re: [Zim-wiki] Export to hml with images

2021-06-29 Thread Marko Mahnič
On 29. 06. 2021 20:20, John R. Marks, IV wrote: The next thing I'll be working on is getting it to generate an RSS feed, but I think this whole deal begs the question -- could this functionality be replicated on export, or in some other way internal to zim and is

Re: [Zim-wiki] Export to hml with images

2021-06-29 Thread Agustin Lobo
By some reason, cannot export MHTML: once I select the output file, click OK and nothing happens. Print to Browser does not work either. Using 0.73.5 on linux Agustin Lobo aloboa...@gmail.com On Tue, Jun 29, 2021 at 10:34 AM Jaap Karssenberg wrote: > > No. Html does not (really) allow for

Re: [Zim-wiki] Export to hml with images

2021-06-29 Thread John R. Marks, IV
Speaking of; a big picture thing I've been hacking together, and I wonder if there's any interest and/or easy way to accomplish. Basically, zim as a simple blogging platform; I'm doing a bit of it now because I wanted something simpler than Wordpress. Current procedure for me is to use the

Re: [Zim-wiki] Export to hml with images

2021-06-29 Thread Jaap Karssenberg
No. Html does not (really) allow for embedding the images into the html, they are typically exported as separate files. Maybe you can use the MHTML (Web archive) export format ? It is not as widely supported, but it does allow creating a single file. -- Jaap On Mon, Jun 28, 2021 at 8:05 PM

[Zim-wiki] Export to hml with images

2021-06-28 Thread Agustin Lobo
Is it possible to export to html so that the images get included within the html file itself? Thanks Agustin Lobo aloboa...@gmail.com ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe :

Re: [Zim-wiki] Export templates

2020-07-08 Thread Jaap Karssenberg
On Tue, Jul 7, 2020 at 7:59 PM Johan Vromans wrote: > On Tue, 7 Jul 2020 19:54:32 +0200, Jaap Karssenberg > wrote: > > > My guess would be that > > Your guess? I thought you programmed it :) > Sure - if only everything behaved as I intended it when I wrote it :/ > > > >[% IF

Re: [Zim-wiki] Export templates

2020-07-07 Thread Johan Vromans
On Tue, 7 Jul 2020 19:54:32 +0200, Jaap Karssenberg wrote: > My guess would be that Your guess? I thought you programmed it :) > >[% IF page.meta.get("Templat") %] > > is what you are looking for. The "meta" attribute is a dict, not "page". This yields: AssertionError: Not a valid

Re: [Zim-wiki] Export templates

2020-07-07 Thread Johan Vromans
On Tue, 7 Jul 2020 18:57:21 +0200, Jaap Karssenberg wrote: > Yes the template syntax should support the python "get" function. And how is this supposed to work? [% FOR page IN pages %] [% IF page.get("meta") %] yields AssertionError: Not a valid function: page.get TypeError:

Re: [Zim-wiki] Export templates

2020-07-07 Thread Jaap Karssenberg
Yes the template syntax should support the python "get" function. There is a list of supported methods here: https://zim-wiki.org/manual/Help/Templates.html Regards, Jaap Op di 7 jul. 2020 16:50 schreef Johan Vromans : > > Not really, but you could construct a template that is one big "if ...

Re: [Zim-wiki] Export templates

2020-07-07 Thread Johan Vromans
> Not really, but you could construct a template that is one big "if ... > else ..." and includes the two templates. To select the appropriate template I'd like to use a meta setting, something similar to: Content-Type: text/x-zim-wiki Wiki-Format: zim 0.4 Template: foo And in the

Re: [Zim-wiki] Export templates

2020-07-07 Thread Johan Vromans
On Tue, 7 Jul 2020 12:18:32 +0200, Jaap Karssenberg wrote: > Not really, but you could construct a template that is one big "if ... > else ..." and includes the two templates. Hmmm. I get TODO also allow files from template resources (both master and develop branch)

Re: [Zim-wiki] Export templates

2020-07-07 Thread Jaap Karssenberg
Not really, but you could construct a template that is one big "if ... else ..." and includes the two templates. Regards, Jaap Op ma 6 jul. 2020 19:53 schreef Johan Vromans : > I'm trying to export a web site from Zim. However, some of the documents > (pages) need a different template. > > Is

[Zim-wiki] Export templates

2020-07-06 Thread Johan Vromans
I'm trying to export a web site from Zim. However, some of the documents (pages) need a different template. Is it possible to select different templates for different documents? -- Johan ___ Mailing list: https://launchpad.net/~zim-wiki Post to :

Re: [Zim-wiki] export sub-notebook using the command line

2017-01-11 Thread Paulo van Breugel
Dear Karthik, Thank you for your response. It didn't give me any message. Strangely though, I tried today, and it works. Perhaps for clarification, the docs I used was the name of the page I wanted to export. So, the syntax I used, and which works is: zim --export -r --output=(Name of

[Zim-wiki] export sub-notebook using the command line

2017-01-09 Thread Paulo van Breugel
Hi Jaap and others, I am trying to export a sub-notebook. This goes fine when using the menu, but now I am not sure how to do this on the command line. output=Output_folder template='path_to_template' notebook='path to notebook' If docs the note is that I want to export (including the

Re: [Zim-wiki] Export in one click

2016-05-26 Thread Charles Nepote
Great! That seem perfect. It will simplify my script and maybe also other usages in the future. Thanks a lot Jaap. My best, Charles. Le 26/05/2016 08:33, Jaap Karssenberg a écrit : Hi Charles, I added the "%p" argument to the custom tool commandline parameters. Checked in as revision 833,

Re: [Zim-wiki] Export in one click

2016-05-26 Thread Jaap Karssenberg
Hi Charles, I added the "%p" argument to the custom tool commandline parameters. Checked in as revision 833, will show up in next release. This should make the script much easier :) Regards, Jaap On Thu, May 5, 2016 at 12:14 AM Charles Nepote wrote: > Hi all, > > > I

Re: [Zim-wiki] Export in one click

2016-05-05 Thread nathan . king
: Re: [Zim-wiki] Export in one click Le 05/05/2016 08:07, Paulo van Breugel a écrit : Which version are you using? It should be possible to export single pages under File - Export. Yes I know the export process under File -> Export but it's quite long. There's at least 6 clicks to export a p

Re: [Zim-wiki] Export in one click

2016-05-05 Thread Charles Nepote
Le 05/05/2016 08:07, Paulo van Breugel a écrit : Which version are you using? It should be possible to export single pages under File - Export. Yes I know the export process under File -> Export but it's *quite long*. There's _at least_ *6 clicks* to export a page: File (click) Export

Re: [Zim-wiki] Export in one click

2016-05-05 Thread Paulo van Breugel
Which version are you using? It should be possible to export single pages under File - Export. On 05-05-16 00:14, Charles Nepote wrote: Hi all, I wrote a little bash script as a "Custom tool" to export a page in one click (see code attached). To wrote this script, I was facing the problem

[Zim-wiki] Export in one click

2016-05-04 Thread Charles Nepote
Hi all, I wrote a little bash script as a "Custom tool" to export a page in one click (see code attached). To wrote this script, I was facing the problem that calls to Custom tools does not provide a "pagename" parameter (Page:SubPage:SubPage) to supply the --export parameter. I had to extract

[Zim-wiki] Export tempale help

2016-02-06 Thread Gene Petkevich
Hi all, I have trouble exporting wiki pages. In manual (http://zim-wiki.org/manual/Help/Templates.html) I see that it's possible to choose a base section for index: index(section, collapse, ignore_empty) However, when I try to do this, by having something like: [% index(section=":homepage")

Re: [Zim-wiki] Export to html: No top level in left Index

2015-06-13 Thread Jaap Karssenberg
Will commit fix in next revision. -- Jaap On Thu, May 14, 2015 at 10:55 AM, Agustin Lobo aloboa...@gmail.com wrote: When I export the current page + subpages to html, the left index does not feature the top level page, thus if I navigate (in html) to the lower levels there is no obvious way

Re: [Zim-wiki] How to export attachments in zim wiki export, and one bug.

2015-06-13 Thread Jaap Karssenberg
Both issues to be fixed in next revision. Regards, Jaap On Sun, May 3, 2015 at 6:17 PM, Radek radek.hnil...@gmail.com wrote: Hello, I have one question. I lately upgraded zim to version 0.62 and noticed that the export templating is different. It took me some time to put it in work,

[Zim-wiki] Export to html: No top level in left Index

2015-05-14 Thread Agustin Lobo
When I export the current page + subpages to html, the left index does not feature the top level page, thus if I navigate (in html) to the lower levels there is no obvious way to go back to the higher level page. Any trick besides using the arrows of the browser? -- Agustin Lobo

[Zim-wiki] Export html template options?

2015-05-13 Thread David Kačerek
Hello, i would like to export a bunch of pages to the html format. But what should i add to a template to specifiy a font for headings and the regular text independently? Then I would also like to insert the page name on top of every exported page. Thank you.

[Zim-wiki] Export with index (zeroFiveEight template)

2014-12-01 Thread Agustin Lobo
When exporting one page with zeroFiveEight template, Is there a way to get an index with the selected page and its sub-pages only? Currently I get the whole Notebook index. Thanks -- Agustin Lobo aloboa...@gmail.com ___ Mailing list:

[Zim-wiki] export template question

2014-11-14 Thread Paulo van Breugel
Hi, I am trying to understand the variables and functions is available in the export template. One thing I am wondering is if it is possible to loop through the headings on a page and based on the text in a heading, or the level of that heading, the text below can be threated one way or another

Re: [Zim-wiki] export

2014-10-09 Thread NorfCran
Good evening, just to point out existing solution, there has been already a discussion regarding mentioned recursive extraction, so possibly it may be useful to somebody: https://lists.launchpad.net/zim-wiki/msg01864.html All the best, JK On 8 October 2014 09:55, Paulo van Breugel

Re: [Zim-wiki] export

2014-10-08 Thread Paulo van Breugel
I can't help with the technical question, but would certainly be interested to test any solution :-) On Tuesday, October 7, 2014 4:46 PM, NorfCran norfc...@gmail.com wrote: Hi Paulo, it is quite handy feature, at some point I was looking for something similar some. I have made a

Re: [Zim-wiki] export

2014-10-07 Thread Jaap Karssenberg
Not at the moment, you would have to write your own index function and put it in a plugin. Regards, Jaap On Tue, Oct 7, 2014 at 11:18 AM, Paulo van Breugel p.vanbreu...@gmail.com wrote: Hi, Is there a way to limit the number of levels of sub-pages that are included in the index as

Re: [Zim-wiki] export

2014-10-07 Thread NorfCran
Hi Paulo, it is quite handy feature, at some point I was looking for something similar some. I have made a dirty python script to cover my demands. I would like to share a use case also related to export of content (recursively). Initially the script went through content from currently opened

Re: [Zim-wiki] Export to html

2014-08-22 Thread Jaap Karssenberg
PLease make sure you have rev706 when testing. Maybe I should roll back partly and put the CSS solution in our HTML templates? Regards, Jaap On Fri, Aug 22, 2014 at 9:54 AM, Paulo van Breugel p_vanbreu...@yahoo.com wrote: Hi Jaap, A blank line in between the two headers is still

Re: [Zim-wiki] Export to html

2014-08-22 Thread Colin Tedford
My feeling is that I should roll back and put CSS snippet in the template to get more accurate HTML version of the wiki page. However that makes the HTML rendering without CSS ugly. Jaap It seems like common practice on the web is to use CSS to add some space under headers so your thought

Re: [Zim-wiki] Export to html

2014-08-22 Thread Colin Tedford
It seems like common practice on the web is to use CSS to add some space under headers Sorry, or to manage the space under the headers, I guess we're not adding here. Colin colintedford.com ___ Mailing list: https://launchpad.net/~zim-wiki Post to

Re: [Zim-wiki] Export to html

2014-08-22 Thread Mariano Draghi
2014-08-22 12:38 GMT-03:00 Jaap Karssenberg jaap.karssenb...@gmail.com: My feeling is that I should roll back and put CSS snippet in the template to get more accurate HTML version of the wiki page. However that makes the HTML rendering without CSS ugly. Compromise would be to make the

Re: [Zim-wiki] Export to html

2014-08-22 Thread Paulo van Breugel
I think there is a consensus here not to use br :-). On Friday, August 22, 2014 6:29 PM, Colin Tedford co...@colintedford.com wrote: It seems like common practice on the web is to use CSS to add some space under headers Sorry, or to manage the space under the headers, I guess we're not

Re: [Zim-wiki] Export to html

2014-08-22 Thread Paulo van Breugel
Sounds like a useful feature, providing maximum flexibility. Brilliant! On 22 August 2014 19:06:11 CEST, Jaap Karssenberg jaap.karssenb...@gmail.com wrote: On Fri, Aug 22, 2014 at 6:56 PM, Paulo van Breugel p_vanbreu...@yahoo.com wrote: You wrote: Now as you commented correctly this results in

Re: [Zim-wiki] Export to html

2014-08-22 Thread Jaap Karssenberg
On Fri, Aug 22, 2014 at 6:56 PM, Paulo van Breugel p_vanbreu...@yahoo.com wrote: You wrote: Now as you commented correctly this results in a lot of whitespace below the H2. But there is also space below the H1 that is not in the wiki text. -- This is just the default space after headers. As

Re: [Zim-wiki] Export to html

2014-08-22 Thread Syv Ritch
On Fri, 22 Aug 2014 19:06:11 +0200 Jaap Karssenberg jaap.karssenb...@gmail.com wrote: Well, for those that expect WYSIWYG behavior, this BR is crucial to achieve the same result as in the wiki page. Hi, I'm sorry to butt in, especially that it's possible that I'm completely out to lunch. Zim

Re: [Zim-wiki] Export to html

2014-08-22 Thread Jaap Karssenberg
OK, now pushed revision 710 to the repository. Default behavior is back to as released in 0.61, using br elements. However the default templates have CSS to remove margins so it renders the same as in the editor: WYSIWYG. When you don't line the default behavior you can use the template option

Re: [Zim-wiki] Export to html

2014-08-21 Thread Paulo van Breugel
Great, I'll give it a try On Thursday, August 21, 2014 12:20 PM, Jaap Karssenberg jaap.karssenb...@gmail.com wrote: Committed new revision where I changed the whitespace handling in the HTML export. Basically removed all BR elements outside of paragraphs. Downside is that some rendering

[Zim-wiki] Export to html

2014-08-20 Thread Paulo van Breugel
When exporting to html, the export places a break between two consecutive headers as in the example below. Is there a way to prevent this? = TOC web links = Collaboration * test Becomes: h2TOCamp; web links/h2 br h3Collaboration/h3 p ul litest/li /ul /p

[Zim-wiki] export from 0.54, import to 0.60

2014-08-19 Thread Albert Wagner
I have many pages entered into zim 0.54 and desire to export the whole notebook to another system that runs zim 0.60. However, 0.54 only exports to html or Latex; And 0.60 will not accept the html files. Is there some other way to accomplish this?

Re: [Zim-wiki] export template

2014-06-08 Thread Sylvain Viart
-wiki-export-template-for-a-adaptive-website/. May the doc how to install it in Zim. […] I've made a pull request on github, for the doc based on our exchange. Could be useful for interested user. Let me know. Regards, Sylvain. ___ Mailing list

Re: [Zim-wiki] export template

2014-06-08 Thread Paulo van Breugel
out this blogpost: http://pvanb.wordpress.com/2014/06/06/a-zim-wiki-export-template-for-a-adaptive-website/. May the doc how to install it in Zim. […] I've made a pull request on github, for the doc based on our exchange. Could be useful for interested user. Let me know. Regards, Sylvain

Re: [Zim-wiki] export template

2014-06-07 Thread Paulo van Breugel
Paulo, Le 06/06/2014 20:46, Paulo van Breugel a écrit : I created an export template for Zim that creates pages with a responsive design Looks good. If you want to give it a try, check out this blogpost: http://pvanb.wordpress.com/2014/06/06/a-zim-wiki-export-template-for-a-adaptive-website

Re: [Zim-wiki] export template

2014-06-06 Thread Sylvain Viart
Hi Paulo, Le 06/06/2014 20:46, Paulo van Breugel a écrit : I created an export template for Zim that creates pages with a responsive design Looks good. If you want to give it a try, check out this blogpost: http://pvanb.wordpress.com/2014/06/06/a-zim-wiki-export-template-for-a-adaptive

[Zim-wiki] Export to Dokuwiki

2012-10-29 Thread hansbkk
I've got a Zim notebook I'd like to move to the web but still leave it open for further collaborative input as a wiki. It seems to me that DW would be a good way to do this. Is it as straightforward as I think it should be? It looks like indexmenu can accommodate the fact that the headpages are

Re: [Zim-wiki] Export to Dokuwiki

2012-10-29 Thread Jaap Karssenberg
On Mon, Oct 29, 2012 at 5:16 PM, hans...@gmail.com wrote: I've got a Zim notebook I'd like to move to the web but still leave it open for further collaborative input as a wiki. It seems to me that DW would be a good way to do this. Is it as straightforward as I think it should be? Yes and

Re: [Zim-wiki] Export dialog and link to dialog

2010-07-05 Thread Jaap Karssenberg
On Sun, Jul 4, 2010 at 1:06 PM, Johannes Reinhardt jreinha...@ist-dein-freund.de wrote: I created two proposals how to redesign the export dialog (and the export mechanism behind it) and the link to dialog on the wiki: http://www.zim-wiki.org/wiki/doku.php?id=a_better_link_to_dialog

[Zim-wiki] Export dialog and link to dialog

2010-07-04 Thread Johannes Reinhardt
Hi everybody, I created two proposals how to redesign the export dialog (and the export mechanism behind it) and the link to dialog on the wiki: http://www.zim-wiki.org/wiki/doku.php?id=a_better_link_to_dialog http://www.zim-wiki.org/wiki/doku.php?id=improve_export_function Feedback, Comments,