[Zim-wiki] Exporting or sharing a Section of Main Notebook

2013-02-02 Thread Paulo van Breugel

Hi,

I have a question about exporting or sharing a section of a notebook. A 
similar question was posted earlier 
((https://lists.launchpad.net/zim-wiki/msg02194.html), with the 
suggestion to copy the sub-notebook to a new folder and create a 
notebook from that (I can't respond to that message as I wasn't 
subscribed yet).


Let's say I have a notebook in folder 'Documents', which includes a 
section (a note with sub-notes) about a course I am doing (to keep the 
same example as the above mentioned email). So, I could copy the 
'Coursework' folder and all its content to a new folder and turn that 
into a Zim notebook.


Another option I tried, is to simply create a new notebook from the 
original folder 'Coursework'. In other words, I am creating a Zim 
notebook within a Zim notebook. Now I can share the Zim notebook with my 
colleagues (I am syncing and sharing it using Ubuntu One). The big 
advantage is that any changes are made (obviously) in both notebooks.


It seems to work fine, but to be sure, could this potentially cause 
problems with either two notebooks?


Cheers,

Paulo

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Geographically tagged content in ZIM notebook

2013-03-28 Thread Paulo van Breugel
I can't help with this, but I would be extremely interested in using 
this / trying this out, so if/when you need people to test it out let me 
know.


Paulo


On 03/18/2013 11:37 PM, NorfCran wrote:

Dear ZIM users,
I have a proposal to enrich ZIM with a possibility to attach 
geographical locations in form of tags. For instance any page could 
contain one or many tags "@geoloc:50.1859600N, 16.5099800E". These 
tags should be filtered out from notebook and processed by a plugin. I 
am willing to work on the plugin with some help in form of hints. The 
output could be a KML file, which shows all @geoloc tags from the 
notebook on a digital map for instance in GoogleEarth. The pin defined 
in KML file would contain information about a namespace to the page. 
Thank you for any feedback and suggestions.

Best regards, NorfCran(JK)


___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] How to copy-paste from Zim without the wiki code?

2013-03-28 Thread Paulo van Breugel

Hi Jaap,

For me a clean text copy/paste option would be great. I keep a record 
of R and shell scripting code in zim. I use headings to structure the 
code in ZIM. This works great, except that often I want to copy some 
code from a Zim page to my text editor and I would prefer not to have 
to remove all the heading format code.


Cheers

Paulo



On Tue 26 Mar 2013 10:26:10 PM CET, Jaap Karssenberg wrote:

On Tue, Mar 26, 2013 at 10:17 PM, Adrian Fita  wrote:

Well, I'm often finding myself wanting to transfer some of the notes I
keep in my personal Zim wiki into my company wiki and it's a nuisance to
have to remove the code from the text pasted from Zim. The wiki's markup
language doesn't seem to use any of Zim's copy-paste markup.


If you know a bit of python it might be worth the effort to add a
module with your wiki format.

(Btw. there is a preference for the default copy-paste format as well.)

-- Jaap

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] How to copy-paste from Zim without the wiki code?

2013-03-29 Thread Paulo van Breugel
Your assumption is right, my code is in verbatim text. Having the 
option to have headings transferred to comments would be great, but 
unfortunately I know less then a bit of python. But even the option to 
copy/paste without any format would be great. I just start all my 
headings with a hash, so when copied to my code editor, they are 
commented automatically.


By the way, the headings level 3 and below are already copied with hash 
tags in front, like e.g., below:


Heading level 1
===
This is a test

Heading level 2
---
This is a test

### Heading level 3
This is a test

 Heading level 4
This is a test

So it seems it is already partially implemented :-)

Cheers,

Paulo

p.s. if I may sneak in an idea for plugin, what about the other way 
around, a function that converts code (plain text) to verbatim text and 
commented text (all lines starting with a hash for example) to a 
headings? Perhaps different heading levels depending on the number of 
hash tags. Just an idea :-)





On Fri 29 Mar 2013 10:50:17 AM CET, Jaap Karssenberg wrote:

On Thu, Mar 28, 2013 at 1:22 PM, Paulo van Breugel
 wrote:

For me a clean text copy/paste option would be great. I keep a record of R
and shell scripting code in zim. I use headings to structure the code in
ZIM. This works great, except that often I want to copy some code from a Zim
page to my text editor and I would prefer not to have to remove all the
heading format code.


My first thought is that the headings in the wiki page should probably
transfer to comments in the code. And I assume the actual code in the
zim page is formatted as blocks of verbatim text.

Continuing that thought you could even define a special copy-paste
format that turns all normal text into comments and only leaves
verbatim blocks as normal text.

Does this make sense for your use case, or am I assuming to much about
how you use it ?

( Only complexity would be the different comment styles. Probably you
would need a variant that uses "#" for comments and one that uses "//"
for comments. )

Regards,

Jaap


___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


[Zim-wiki] export template

2014-06-06 Thread Paulo van Breugel

Hi all,

I created an export template for Zim that creates pages with a 
responsive design that should look good on mobile devices, but also on 
your desktop. I used the ZeroFiveEight template as base and made some 
adaptations using jquery and jQueryMobile scripts. Website development 
is not my area of expertise, so I am sure there is a lot to improve, but 
it does most of what I wanted. 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/. 
Comments and suggestions for improvements are most welcome.


Cheers,

Paulo
___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] export template

2014-06-07 Thread Paulo van Breugel

Hi Sylvain

Why don't you pull the files to a temporary folder, and copy the 
ecodiv.html and ecodiv folder to the ~/.local/share/zim/templates/html?


cd
mkdir tempzim
cd temp
git clone https://github.com/ecodiv/Zim-export-template-responsive.git
cd Zim-export-template-responsive
mv ecodiv.html ~/.local/share/zim/templates/html
mv ecodiv ~/.local/share/zim/templates/html

After this you can delete the tempzim folder if you like or leave it.

Note that you do not need to move the ecodiv.html and ecodiv folder to 
the ~/.local/share/zim/templates/html folder. It is convenient as it 
makes the template available through the drop down menu (file --> 
export) and it is available through edit --> template. However, when 
exporting you can always select a template from any location on your 
computer. So, if you copy the ecodiv.html and ecodiv folder to e.g., 
your Documents folder, you can then select the ecodiv.html from the file 
--> export menu.


But whatever solution you go for, just make sure to copy the folder 
ecodiv to the same folder as the ecodiv.html file, otherwise the result 
will not be as intended.


Cheers,

Paulo




On 06/07/2014 07:11 AM, Sylvain Viart wrote:

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-website/.


May the doc how to install it in Zim.

Here is a doc draft:

The doc (Help -> Content) about templating in Zim said:

  templatecan be found:
|~/.local/share/zim/|

$ ls ~/.local/share/zim/
symbols.list templates
$ ls ~/.local/share/zim/templates/
html latex

cd ~/.local/share/zim/templates/html
$ git clone https://github.com/ecodiv/Zim-export-template-responsive.git
Clonage dans 'Zim-export-template-responsive'...
$ ln -s Zim-export-template-responsive/ecodiv.html .

The Template Editor Dialog can be accessed with the menu item "/Edit/" 
-> "/Templates/". It will show a list of templates

that are available, and allows you to view and edit them.

Exporting:

File -> Export
Select Format HTML / Template ecodiv

Finish…

I don't know how to take care about "ecodiv folder" (not tryed very hard…)

I could write a program that is an upload custom script of the export 
to the web site…

1 click publish button.

Regards,
Sylvain.


___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] export template

2014-06-08 Thread Paulo van Breugel

Thanks, merged it

On 06/08/2014 08:16 AM, Sylvain Viart wrote:

Hi,

Le 07/06/2014 12:12, Paulo van Breugel a écrit :


Why don't you pull the files to a temporary folder, and copy the 
ecodiv.html and ecodiv folder to the ~/.local/share/zim/templates/html?



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/.


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: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Zim version 0.61 released!

2014-08-01 Thread Paulo van Breugel
Great work! And you didn't even mention, I think, my favourite: the 
source view plugin. Unfortunately, it is also the one thing that didn't 
work. When trying to open, I got the message copied below:


This is zim 0.61
Platform: posix
Locale: en_US UTF-8
FS encoding: UTF-8
Python: (2, 7, 6, 'final', 0)
Gtk: (2, 24, 23)
Pygtk: (2, 24, 0)
Zim revision is:
  branch: pyzim-trunk
  revision: 692 par...@cpan.org-20140731202254-t5bth6mxnqt1qq6w
  date: 2014-07-31 22:22:54 +0200

=== Traceback ===
  File "/usr/lib/pymodules/python2.7/zim/actions.py", line 55, in func
self.func(instance, *arg, **kwarg)
  File "/usr/lib/pymodules/python2.7/zim/plugins/sourceview.py", line 
108, in insert_sourceview

lang = InsertCodeBlockDialog(self.ui).run() # XXX
AttributeError: 'MainWindowExtension' object has no attribute 'ui'

Not sure I did something wrong or this is a bug. If a bug, I'll file a 
bug report.


Cheers,

Paulo



On 01-08-14 09:50, Dmitrij Lisov wrote:

Kudos to you, Jaap!


2014-07-31 22:50 GMT+02:00 Jaap Karssenberg 
mailto:jaap.karssenb...@gmail.com>>:


Dear all,

After a long hiatus I finally uploaded a new release to the website.

This release brings numerous changed due to refactoring of large parts
of the code base. Most of these changes should not be visible for the
end user, but they will help anyone looking to extend zim and should
help reducing the number of bugs.

New features include more flexible export; allowing to export
recursively
and to export multiple pages to a single output file. A new plugin for
editing sequence diagrams was added and the ToC plugin has a new
widget
floating over the page. The "tags" plugin was changed to show full
page
paths in the per-tag view.

Detailed change log below.

To get the new release either download directly from
http://zim-wiki.org or
wait for the Ubuntu PPA builds to be updated. In the coming week I
will update the website and repair those dead links.

Regards and thanks for all your support,

Jaap


=== 0.61 - Thu 31 Jul 2014 ===
* Full refactoring of code for parsing and processing wiki syntax
  making parser easier to extend and document interface more scalable
* Full refactoring of code for plugin framework making plugins more
  flexible by defining decorators for specific application objects
* Full refactoring of code for exporting pages from zim
  - Now supports MHTML export format
  - Supports exporting multiple pages to a single file
  - Supports recursive export of a page and all it's sub-pages
  - Templates now support many more instructions and expressions
* Full refactoring of the code for parsing commandline commands and
  initializing the application
* New config manager code to make parsing and handling of config files
  more robust
* Merged new plugin for editing sequence diagrams by Greg Warner
* Improved the ToC plugin with floating widget
* Fixed unicode issue when calling external applications, and in
  particular for the hg and git commands
* Fixed support for unicode CamelCase word detection
* Fixed bug on windows with unicode user names in background process
  connection
* Changed "tags" plugin to show full page paths in the pre-tag view
* Added option for custom commands to replace the current selection
* Added keybindings for XF86Back and XF86Forward
* Many small fixes & patches from various persons that I forgot
about *sorry*
* Added Finnish translation


___
Mailing list: https://launchpad.net/~zim-wiki

Post to : zim-wiki@lists.launchpad.net

Unsubscribe : https://launchpad.net/~zim-wiki

More help   : https://help.launchpad.net/ListHelp




___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Zim version 0.61 released!

2014-08-01 Thread Paulo van Breugel
Perhaps you can have a look at the export function as well. When 
exporting a single page recursively (i.e., a sub-node) or the whole 
notebook, I get at the end of the export process a window with many 
warnings (one per page I assume):


WARNING: No such parameter: zim
WARNING: No such parameter: page


The webpages are created, but with empty pages:

--


 None

None

Backlinks: none


--


On 01-08-14 10:59, Jaap Karssenberg wrote:
On Fri, Aug 1, 2014 at 10:56 AM, Paulo van Breugel 
mailto:p_vanbreu...@yahoo.com>> wrote:


Great work! And you didn't even mention, I think, my favourite:
the source view plugin. Unfortunately, it is also the one thing
that didn't work. When trying to open, I got the message copied below:


I had the exact same experience this morning :(  Trusted the test 
suite to check it, but apparently missed something. Will need to fix 
that, so won't be long till 0.62 ...


Regards,

Jaap


___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Zim version 0.61 released!

2014-08-01 Thread Paulo van Breugel
I tried the default one I thought, but I checked and it turns out I had 
put a copy of that (probably adapted, can't remember) in the 
~/.local/share/zim/templates/html folder. Removed those and now it works 
fine.. Thanks!







On 01-08-14 12:52, Jaap Karssenberg wrote:

Paulo,

The template you use needs to be upgraded to the new parameters 
(documented in the manual). All templates shipped with the new version 
should use the new parameters.


Regards,

jaap




On Fri, Aug 1, 2014 at 12:17 PM, Paulo van Breugel 
mailto:p_vanbreu...@yahoo.com>> wrote:


Perhaps you can have a look at the export function as well. When
exporting a single page recursively (i.e., a sub-node) or the
whole notebook, I get at the end of the export process a window
with many warnings (one per page I assume):

WARNING: No such parameter: zim
WARNING: No such parameter: page


The webpages are created, but with empty pages:

--


  None

None

Backlinks: none


-- 




On 01-08-14 10:59, Jaap Karssenberg wrote:

On Fri, Aug 1, 2014 at 10:56 AM, Paulo van Breugel
mailto:p_vanbreu...@yahoo.com>> wrote:

Great work! And you didn't even mention, I think, my
favourite: the source view plugin. Unfortunately, it is also
the one thing that didn't work. When trying to open, I got
the message copied below:


I had the exact same experience this morning :(  Trusted the test
suite to check it, but apparently missed something. Will need to
fix that, so won't be long till 0.62 ...

Regards,

Jaap





___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Zim version 0.61 released!

2014-08-20 Thread Paulo van Breugel
Great news. I haven't tried the snapshot PPA yet.. How experimental are the 
versions in this PPA? Or would I generally be able to use it without too much 
risk to break things?



On Wednesday, August 20, 2014 11:57 AM, Jaap Karssenberg 
 wrote:
 


Fixed this plugin in the dev tree revision 695 - will appear soon in the 
snapshot PPA. Also added a test case in the test suite, so hope to avoid 
releasing it broken again :S

Regards,

Jaap





On Fri, Aug 1, 2014 at 10:59 AM, Jaap Karssenberg  
wrote:

On Fri, Aug 1, 2014 at 10:56 AM, Paulo van Breugel  
wrote:
>
>Great work! And you didn't even mention, I think, my favourite: the source 
>view plugin. Unfortunately, it is also the one thing that didn't work. When 
>trying to open, I got the message copied below:
>>
>
>I had the exact same experience this morning :(  Trusted the test suite to 
>check it, but apparently missed something. Will need to fix that, so won't be 
>long till 0.62 ...
>
>
>
>Regards,
>
>Jaap
>___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Zim version 0.61 released!

2014-08-20 Thread Paulo van Breugel
OK, thanks, I'll give it a try, and otherwise I can always revert to the stable 
version of course.



On Wednesday, August 20, 2014 1:15 PM, Jaap Karssenberg 
 wrote:
 


On Wed, Aug 20, 2014 at 1:08 PM, Paulo van Breugel  
wrote:

Great news. I haven't tried the snapshot PPA yet.. How experimental are the 
versions in this PPA? Or would I generally be able to use it without too much 
risk to break things?
>
>

I try to avoid committing versions that are really broken. Biggest issue may be 
that you see new features are changes in features that are not yet polished and 
documented. So you will definitely more bugs compared to the releases. On the 
other hand also releases are never bug free :(


Regards,


Jaap___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Zim version 0.61 released!

2014-08-20 Thread Paulo van Breugel
Just updated, and the 'insert code block' option works beautifully now. If I 
may add feature request for some future version; what would be a nice addition 
would be the option of code wrappin. It doesn't export to html with syntax 
highlighting I see, but with box around the code, the html output looks nice 
already. Perhaps it is possible to add something more via the template, I'll 
have a look at that (but first I need to update my templates to work with 6.1).

Cheers,

Paulo



On Wednesday, August 20, 2014 1:19 PM, Paulo van Breugel 
 wrote:
 


OK, thanks, I'll give it a try, and otherwise I can always revert to the stable 
version of course.



On Wednesday, August 20, 2014 1:15 PM, Jaap Karssenberg 
 wrote:
 


On Wed, Aug 20, 2014 at 1:08 PM, Paulo van Breugel  
wrote:

Great news. I haven't tried the snapshot PPA yet.. How experimental are the 
versions in this PPA? Or would I generally be able to use it without too much 
risk to break things?
>
>

I try to avoid committing versions that are really broken. Biggest issue may be 
that you see new features are changes in features that are not yet polished and 
documented. So you will definitely more bugs compared to the releases. On the 
other hand also releases are never bug free :(


Regards,


Jaap___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


[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:


TOC&  web links



Collaboration



test





___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


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 
 wrote:
 


Committed new revision where I changed the whitespace handling in the HTML 
export. Basically removed all "" elements outside of paragraphs. Downside 
is that some rendering may look different than in the source page if you have 
additional blank lines, but best I can do with the HTML assumptions for line 
spacing.

-- Jaap





On Wed, Aug 20, 2014 at 7:48 PM, Paulo van Breugel  
wrote:

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:
>
>
>TOC & web links  Collaboration 
>test  
>___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Export to html

2014-08-22 Thread Paulo van Breugel

Hi Jaap,

A blank line in between the two headers is still replaced by a . 
From below I am not sure I understand whether that is the intended 
behaviour or not?


TOC&  web links



Collaboration


Another option would be to replace empty lines by ? Html pages 
generated that way resemble more the way the text looks in Zim (tested 
in Firefox and Chrome), which is because these browsers seem to ignore 
empty paragraphs.


Another option is to follow the same rule as for paragraphs. As far as I 
can see, empty line between two paragraphs are not exported. Two empty 
lines between paragraphs are exported as one break. I think that would 
be the best option in terms of how easy it is to regulate the appearance 
of the html page through CSS).







On 21-08-14 12:20, Jaap Karssenberg wrote:
Committed new revision where I changed the whitespace handling in the 
HTML export. Basically removed all "" elements outside of 
paragraphs. Downside is that some rendering may look different than in 
the source page if you have additional blank lines, but best I can do 
with the HTML assumptions for line spacing.


-- Jaap



On Wed, Aug 20, 2014 at 7:48 PM, Paulo van Breugel 
mailto:p_vanbreu...@yahoo.com>> wrote:


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:


TOC&  web links



Collaboration



test








___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Export to html

2014-08-22 Thread Paulo van Breugel
Hi Jaap,

I tested with rev705, guess was too early with updating.. I tested again with 
rev706 and it works perfect this time, great! So no need to roll back i.m.o.


Well, perhaps it is an idea to have the export replace two empty lines by one 
 (and three empty lines by two , etc... but leave the rule that one 
empty line is ignored). That would allow people to insert a larger break (more 
white space) between paragraphs or headings in the Zim notebook which would 
then also be reflected in the exported html pages.






On Friday, August 22, 2014 1:01 PM, Jaap Karssenberg 
 wrote:
 


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  
wrote:

Hi Jaap,
>
>A blank line in between the two headers is still replaced by a
  . From below I am not sure I understand whether that is
  the intended behaviour or not?
>
>
>
>TOC & web links  Collaboration
>
Another option would be to replace empty lines by ? Html pages generated 
that way resemble more the way the text looks in Zim (tested in Firefox and 
Chrome), which is because these browsers seem to ignore empty paragraphs.
>
>Another option is to follow the same rule as for paragraphs. As
  far as I can see, empty line between two paragraphs are not
  exported. Two empty lines between paragraphs are exported as one
  break. I think that would be the best option in terms of how easy
  it is to regulate the appearance of the html page through CSS).
>
>
>
>
>
>
>
>On 21-08-14 12:20, Jaap Karssenberg wrote:
>
>Committed new revision where I changed the whitespace handling in the HTML 
>export. Basically removed all "" elements outside of paragraphs. Downside 
>is that some rendering may look different than in the source page if you have 
>additional blank lines, but best I can do with the HTML assumptions for line 
>spacing.
>>
>>
-- Jaap
>>
>>
>>
>>
>>
>>On Wed, Aug 20, 2014 at 7:48 PM, Paulo van Breugel  
>>wrote:
>>
>>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:
>>>
>>>
>>>TOC & web links  Collaboration 
>>>test  
>>>
>>
>___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Export to html

2014-08-22 Thread Paulo van Breugel
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 you mention below, this 
can be easily handled using CSS. 

You wrote: "If I use CSS to remove the padding/margin between heading and 
paragraph it looks again same as the source text. But in that case the BR is 
crucial."
--> I don't see why the BR is crucial in that case. 

You wrote: "Compromise would be to make the newline handling an option you can 
control from the template. This could help to make "vanilla" HTML export
 look decent while templates with CSS can set the BR how they want it."
--> It seems setting the height of the BR, and that doesn't seem to be easy: 
http://stackoverflow.com/questions/1409649/how-to-change-the-height-of-a-br
 I think the situation is that in Zim, being text based (and given that the 
text files should remain human readible), spaces between headers and text can 
only be created by adding empty lines. In HTML such spaces should not be done 
by adding breaks, but by using CSS. For this reason, the way empty lines are 
handled in revision 706 is the correction one I think and the changes should 
not be rolled back i.m.o.

I am not sure if I understand the last option, but if that means the user has 
the option to determine how empty lines are handled by the export (being 
replaced by brakes or ignored), that would be a very nice feature.

Cheers,

Paulo







On Friday, August 22, 2014 5:38 PM, Jaap Karssenberg 
 wrote:
 


On Fri, Aug 22, 2014 at 1:43 PM, Paulo van Breugel  
wrote:

Well, perhaps it is an idea to have the export replace two empty lines by one 
 (and three empty lines by two , etc... but leave the rule that one 
empty line is ignored). That would allow people to insert a larger break (more 
white space) between paragraphs or headings in the Zim notebook which would 
then also be reflected in the exported html pages.
>

That's actually what I had in the version before 707, but it was not fine tuned 
for this case. Just realized that you would need to use CSS for the heading 
margin anyway to fully get things like they look in zim.


Say I have this wiki text:

== Head 1 ==
bla bla bla

= head 2 =


bla bla bal




Current release (<706) results in following html


Head 1

bla bla bla




Head 2



bla bla bla

...


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.


If I use CSS to remove the padding/margin between heading and paragraph it 
looks again same as the source text. But in that case the BR is crucial.


Current snapshot (>=706) I removed all these BR, so no difference between the 
two headings in this example.



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 newline handling an option you can control from 
the template. This could help to make "vanilla" HTML export look decent while 
templates with CSS can set the BR how they want it.


Any thoughts?


Jaap___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Export to html

2014-08-22 Thread Paulo van Breugel
I think there is a consensus here not to use  :-). 



On Friday, August 22, 2014 6:29 PM, Colin Tedford  
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 adding here.




Colin
colintedford.com

___
Mailing list: https://launchpad.net/~zim-wiki
Post to     : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


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  
wrote:
>On Fri, Aug 22, 2014 at 6:56 PM, Paulo van Breugel
>
>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 you mention
>below,
>> this can be easily handled using CSS.
>>
>> You wrote: "If I use CSS to remove the padding/margin between heading
>and
>> paragraph it looks again same as the source text. But in that case
>the BR
>> is crucial."
>> --> I don't see why the BR is crucial in that case.
>>
>
>
>Well, for those that expect WYSIWYG behavior, this BR is crucial to
>achieve
>the same result as in the wiki page.
>
>
>
>> You wrote: "Compromise would be to make the newline handling an
>option you
>> can control from the template. This could help to make "vanilla" HTML
>> export look decent while templates with CSS can set the BR how they
>want
>> it."
>> --> It seems setting the height of the BR, and that doesn't seem to
>be
>> easy:
>>
>http://stackoverflow.com/questions/1409649/how-to-change-the-height-of-a-br
>>
>
>That is not what I meant. By making it a template option, you would
>allow
>to choose in the template whether or not the BR are inserted at all.
>
>Similar there can be an option to add BR at the end of line in a
>paragraph
>or not.
>
>This would be in the zim output code, so independent of what you can do
>with CSS on top of that.
>
>
>
>> I think the situation is that in Zim, being text based (and given
>that the
>> text files should remain human readible), spaces between headers and
>text
>> can only be created by adding empty lines. In HTML such spaces should
>not
>> be done by adding breaks, but by using CSS. For this reason, the way
>empty
>> lines are handled in revision 706 is the correction one I think and
>the
>> changes should not be rolled back i.m.o.
>>
>> I am not sure if I understand the last option, but if that means the
>user
>> has the option to determine how empty lines are handled by the export
>> (being replaced by brakes or ignored), that would be a very nice
>feature.
>>
>
>Yep, that's what I meant :)
>
>Sounds like there is need for both options.
>
>Regards,
>
>Jaap

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


[Zim-wiki] An updated export template to create an responsive website

2014-08-22 Thread Paulo van Breugel

Hi,

I just updated my export template for an adaptive / responsive website, 
so it should now work with Zim 0.61. You can check it out on 
http://github.com/ecodiv/Zim-export-template-responsive. For an example 
of a website created using this template, see 
http://notebook.ecodiv.org. 


Paulo


___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


[Zim-wiki] Responsive html export template - an adapted eight-five-zero template

2014-09-01 Thread Paulo van Breugel
 I created a new export template for Zim. It is based on Marks'
Eight-Five-Zero  template. So,
like that template it creates an responsive website which should look good
across different devices. The main differences with Marks template is that
it adds a collapsible navigation menu.

You can find it here: https://github.com/ecodiv/Eight-Five-Zero-C. For an
example, see http://ecodiv.org/swp/test2/Home.html.

Note that I only did some limited testing, on Firefox and Chrome on the
desktop and on Android.

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


[Zim-wiki] outdated plugin links

2014-09-09 Thread Paulo van Breugel
Hi, I am just checking the zim clip and zim capture plugins for Firefox.
For both the listed websites are not online anymore. The Zim capture plugin
is still available on the mentioned launchpad site (and works fine).

I think it would be a good idea to update the Wiki (remove the links? Or
see if the authors of the plugins want to update the links?). I know I can
do that, but I think it would be better for the authors (or Jaap) to decide
what to do?
___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


[Zim-wiki] export

2014-10-07 Thread Paulo van Breugel
Hi,

Is there a way to limit the number of levels of sub-pages that are included
in the index as exported with the index(section, collapse, ignore_empty)
function ?

E.g., I would like to limit the number of links in the index to two levels
deep (counting from the home page)
___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


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  wrote:
   

 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 page (top page), collected links (kept order of links
in text). In this way each link to a subpage was replaced with its
content (recursively for each page until it reached end page with no
more links to subpages). At the same time the script also generated
table of content with few other adjustments to content of each page.
It allowed me to structure each chapter like a subpage and when time
came I applied the mentioned script, got one long page in a clipboard,
created a new page of derived content from the hierarchical structure,
exported it to latex and my thesis got almost ready to be shipped :D

So in deed I am interested in this feature and possibly I can try to
create the plugin. The only technical question I have is about the
insex, whether it is possible to get order of links from a page
content and if not, than I am interested how difficult would it be to
make it possible? I often use links to subpages and would like to
reflect the order in index of the side panel, this is useful for
switching pages by Alt-PgUp and Alt-PgDn. Thank you for any feedback.

All the best,
NorfCran

___
Mailing list: https://launchpad.net/~zim-wiki
Post to    : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help  : https://help.launchpad.net/ListHelp


   ___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


[Zim-wiki] Ecodiv-responsive theme update

2014-11-05 Thread Paulo van Breugel
Just want to share an update of the ecodiv-responsive export theme 
(https://github.com/ecodiv/Ecodiv-responsive). I added the (default) option to 
export the pages with a header image. For an example, see 
http://notebook.ecodiv.org/. Idea was to make it look a little bit more like my 
blog page (http://pvanb.wordpress.com/). If you don't like it, you can easily 
change the default header image or remove the option altogether in the 
template. Furthermore some small cosmetic changes and a bug fix (if menu was 
longer than height of screen, part of the menu was not accessible anymore... 
now you'll get a scrollbar so you can scroll to the end of the  menu).


Not done yet, but on the to-do list is for on the mobile (small screens) to 
have on the pages open with the menu closed. Should be simple, but haven't 
figures out how yet. A second thing I would like is to have code blocks 
exported as html with syntax highlighting. No clue how yet though.. ideas are 
welcome.___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Ecodiv-responsive theme update

2014-11-05 Thread Paulo van Breugel
That looks nice, will try it out one of these days. A few more of these things 
and Zim could really be used as a full blown alternative to create (simple) 
websites :-)... one of those I am actually still hoping will come to Zim one 
day.. support for tables ;-)



On Wednesday, November 5, 2014 2:53 PM, Jaap Karssenberg 
 wrote:
 


Hi Paulo,

Related to the syntax highlighting, there is this comment in the plugin code:

# class="brush: language;" works with SyntaxHighlighter 2.0.278
# by Alex Gorbatchev 
<http://alexgorbatchev.com/SyntaxHighlighter/>
# TODO: not all GtkSourceView language ids match with 
SyntaxHighlighter
# language ids.
# TODO: some template instruction to be able to use other 
highlighters as well?

Have not tested myself, but current class attribute should allow you to use the 
syntax highlighter that is mentioned.

Could make this a template option to support other highlighters as well, but 
that requires some work on my part to hack the object framework.

Regards,

Jaap




On Wed, Nov 5, 2014 at 2:45 PM, Paulo van Breugel  
wrote:

Just want to share an update of the ecodiv-responsive export theme 
(https://github.com/ecodiv/Ecodiv-responsive). I added the (default) option to 
export the pages with a header image. For an example, see 
http://notebook.ecodiv.org/. Idea was to make it look a little bit more like my 
blog page (http://pvanb.wordpress.com/). If you don't like it, you can easily 
change the default header image or remove the option altogether in the 
template. Furthermore some small cosmetic changes and a bug fix (if menu was 
longer than height of screen, part of the menu was not accessible anymore... 
now you'll get a scrollbar so you can scroll to the end of the  menu).
>
>
>
>Not done yet, but on the to-do list is for on the mobile (small screens) to 
>have on the pages open with the menu closed. Should be simple, but haven't 
>figures out how yet. A second thing I would like is to have code blocks 
>exported as html with syntax highlighting. No clue how yet though.. ideas are 
>welcome.
>
> 
>___
>Mailing list: https://launchpad.net/~zim-wiki
>Post to : zim-wiki@lists.launchpad.net
>Unsubscribe : https://launchpad.net/~zim-wiki
>More help   : https://help.launchpad.net/ListHelp
>
>___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


[Zim-wiki] use of headingsection in export template

2014-11-09 Thread Paulo van Breugel
Hi, 

Can somebody provide an example or explanation how to use the headingsection 
(below excerpt from relevant section from help page) in an html export template?

.headings(max_level)Split the page content by headings

headingsection
.level  Heading level
.headingHeading text
.body   Content below this heading
.contentContent including the heading 


What I am trying to figure out if this provides a way to treat the text under a 
specific header as a separate block in the html page. This could then serve to 
create a two-column html page for example.


Paulo___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] use of headingsection in export template

2014-11-09 Thread Paulo van Breugel
Hi Jaap,
Thanks, I will check that out

Paulo



On Sunday, November 9, 2014 11:42 AM, Jaap Karssenberg 
 wrote:
 


Hi Paulo,

This function is used in the "S5" template. There we use it to create a slide 
out of each H1 heading.

Regards,

Jaap




On Sun, Nov 9, 2014 at 11:24 AM, Paulo van Breugel  
wrote:

Hi, 
>
>Can somebody provide an example or explanation how to use the headingsection 
>(below excerpt from relevant section from help page) in an html export 
>template?
>
>.headings(max_level)   Split the page content by headings

headingsection
.level  Heading level
.headingHeading text
.body   Content below this heading
.contentContent including the heading 
>
>
>What I am trying to figure out if this provides a way to treat the text under 
>a specific header as a separate block in the html page. This could then serve 
>to create a two-column html page for example.
>
>
>Paulo
>
>
>
>
>
>___
>Mailing list: https://launchpad.net/~zim-wiki
>Post to : zim-wiki@lists.launchpad.net
>Unsubscribe : https://launchpad.net/~zim-wiki
>More help   : https://help.launchpad.net/ListHelp
>
>___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


[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 (usingthe IF and 
ELSIF conditionals)?
In the presentation template I see an example of how loop and conditional 
statements are used to create a table with the navigation. I am looking for 
something similar, e.g., using one type of div for all text, except when the 
header contains a certain text, or is of a certain level, in which case the 
text is defined by a different div type. Something along the lines:
For ... loop through all headingsIF heading contains the text 'block' (of is of 
a certain level, or...)
        [text below that heading]    ELSE        [text below the heading]    END
END

Is this possible at all? And if so, could somebody point at an example how to 
implement this?

Cheers,
Paulo


___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] modify toolbar (add formatting buttons)

2015-01-13 Thread Paulo van Breugel
 

 On Tuesday, January 13, 2015 10:20 AM, "Güven, Ugur Murat" 
 wrote:
   

 #yiv6840579495 #yiv6840579495 -- _filtered #yiv6840579495 
{font-family:Wingdings;panose-1:5 0 0 0 0 0 0 0 0 0;} _filtered #yiv6840579495 
{panose-1:2 4 5 3 5 4 6 3 2 4;} _filtered #yiv6840579495 
{font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;} _filtered #yiv6840579495 
{font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}#yiv6840579495 
#yiv6840579495 p.yiv6840579495MsoNormal, #yiv6840579495 
li.yiv6840579495MsoNormal, #yiv6840579495 div.yiv6840579495MsoNormal 
{margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;}#yiv6840579495 a:link, 
#yiv6840579495 span.yiv6840579495MsoHyperlink 
{color:blue;text-decoration:underline;}#yiv6840579495 a:visited, #yiv6840579495 
span.yiv6840579495MsoHyperlinkFollowed 
{color:purple;text-decoration:underline;}#yiv6840579495 
span.yiv6840579495EmailStyle17 {color:#1F497D;}#yiv6840579495 
.yiv6840579495MsoChpDefault {} _filtered #yiv6840579495 {margin:70.85pt 70.85pt 
2.0cm 70.85pt;}#yiv6840579495 div.yiv6840579495WordSection1 {}#yiv6840579495 
>>Thanks for this tip!>You are welcome! J>>Do you also know a similar way to 
create enumerations und checkboxes?>Similiar principle.>enumerations: 1. + 
Space, then type your text, press enter>checkboxes: () + Space>But this doesn’t 
work for existing text, I think.It does for me. If the list is long, it is 
probably easier to use the bullet/numbered/checkbox option under the format menu
>Regards,
>Murat    
___
Mailing list: https://launchpad.net/~zim-wiki
Post to    : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help  : https://help.launchpad.net/ListHelp


   ___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] modify toolbar (add formatting buttons)

2015-01-13 Thread Paulo van Breugel
You are right about numbering, but it does work with () or []. Using the Format 
menu of course works, but having it in the context menu would be a nice 
addition.
 

 On Tuesday, January 13, 2015 11:28 AM, "Güven, Ugur Murat" 
 wrote:
   

 #yiv1080538815 #yiv1080538815 -- _filtered #yiv1080538815 
{font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;} _filtered #yiv1080538815 
{panose-1:2 4 5 3 5 4 6 3 2 4;} _filtered #yiv1080538815 
{font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}#yiv1080538815 
#yiv1080538815 p.yiv1080538815MsoNormal, #yiv1080538815 
li.yiv1080538815MsoNormal, #yiv1080538815 div.yiv1080538815MsoNormal 
{margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;}#yiv1080538815 a:link, 
#yiv1080538815 span.yiv1080538815MsoHyperlink 
{color:blue;text-decoration:underline;}#yiv1080538815 a:visited, #yiv1080538815 
span.yiv1080538815MsoHyperlinkFollowed 
{color:purple;text-decoration:underline;}#yiv1080538815 
p.yiv1080538815msonormal, #yiv1080538815 li.yiv1080538815msonormal, 
#yiv1080538815 div.yiv1080538815msonormal 
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;}#yiv1080538815 
span.yiv1080538815msohyperlink {}#yiv1080538815 
span.yiv1080538815msohyperlinkfollowed {}#yiv1080538815 
span.yiv1080538815emailstyle17 {}#yiv1080538815 p.yiv1080538815msonormal1, 
#yiv1080538815 li.yiv1080538815msonormal1, #yiv1080538815 
div.yiv1080538815msonormal1 
{margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;}#yiv1080538815 
span.yiv1080538815msohyperlink1 
{color:blue;text-decoration:underline;}#yiv1080538815 
span.yiv1080538815msohyperlinkfollowed1 
{color:purple;text-decoration:underline;}#yiv1080538815 
span.yiv1080538815emailstyle171 {color:#1F497D;}#yiv1080538815 
span.yiv1080538815EmailStyle25 {color:#1F497D;}#yiv1080538815 
.yiv1080538815MsoChpDefault {font-size:10.0pt;} _filtered #yiv1080538815 
{margin:70.85pt 70.85pt 2.0cm 70.85pt;}#yiv1080538815 
div.yiv1080538815WordSection1 {}#yiv1080538815 >But this doesn’t work for 
existing text, I think.>It does for me. If the list is long, it is probably 
easier to use the bullet/numbered/checkbox option under the format menu  How? 
If I have a text and mark it, I can’t just press 1. or () to format the text as 
numbered list or checked list.  I will look into the possibility to put 
formatting options into the popup menu (right click), if Jaap doesn’t have the 
answer right away ;)  Regards,Murat  

   ___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Ecodiv-responsive theme update

2015-02-06 Thread Paulo van Breugel
Hi Agus
See here for an explanation where to installt he templates: Zim - a desktop 
wiki - templates. After installing it will appear as template in the template 
selection menu when exporting. 
So, on linux, you will find a hidden folder in your home directory 
~/.local/share/zim/templates. In that folder you copy the 
ecodiv-responsive.html and the ecodiv-responsive folder (with all its content 
obviously), and you should be ready to go.
In Windows I wouldn't know where the templates are kept, but see this page: Zim 
- a desktop wiki - config files
Alternatively, you can simply copy the ecodiv-responsive.html file and folder 
to any folder on your computer. Then when exporting your notebook, you select 
as template 'other' after which you can browse to the location where you keep 
your template and select the html file. 

Good idea to add it to the wiki. I don't have the time right now, but the wiki 
can be edited by anybody, so if you have the time, perhaps something you can 
do? 

Paulo

   

 On Friday, February 6, 2015 10:18 AM, Agustin Lobo  
wrote:
   

 Paulo,
I'm sorry I miht be asking too an elementary question, but cannot
find the way to add your templates to those available for zim at Export.
Which files from your github (https://github.com/ecodiv/Ecodiv-responsive
should I download and where in the zim path should I copy them?
(may be something to add to your "How to"  section in
https://github.com/jaap-karssenberg/zim-wiki/wiki ?)
Thanks,

Agus

On Wed, Nov 5, 2014 at 2:45 PM, Paulo van Breugel
 wrote:
> Just want to share an update of the ecodiv-responsive export theme
> (https://github.com/ecodiv/Ecodiv-responsive). I added the (default) option
> to export the pages with a header image. For an example, see
> http://notebook.ecodiv.org/. Idea was to make it look a little bit more like
> my blog page (http://pvanb.wordpress.com/). If you don't like it, you can
> easily change the default header image or remove the option altogether in
> the template. Furthermore some small cosmetic changes and a bug fix (if menu
> was longer than height of screen, part of the menu was not accessible
> anymore... now you'll get a scrollbar so you can scroll to the end of the
> menu).
>
> Not done yet, but on the to-do list is for on the mobile (small screens) to
> have on the pages open with the menu closed. Should be simple, but haven't
> figures out how yet. A second thing I would like is to have code blocks
> exported as html with syntax highlighting. No clue how yet though.. ideas
> are welcome.
>
>
> ___
> Mailing list: https://launchpad.net/~zim-wiki
> Post to    : zim-wiki@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~zim-wiki
> More help  : https://help.launchpad.net/ListHelp
>



-- 
Agustin Lobo
aloboa...@gmail.com


   ___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Re-ordering the index / custom sorting

2015-02-17 Thread Paulo van Breugel
 my 2ct..

 On Tuesday, February 17, 2015 11:48 AM, Jaap Karssenberg 
 wrote:
   

 Dear all,

Next task on my list is refactoring the code of the index. Main reason is that 
I see a lot of bug reports relating to indexing, so hope a cleanup of the code 
will help to make things better.

However, while at it, I do see an opportunity to implement functions to allow 
re-ordering the index. So it would not have to be alphabetically, but can have 
a custom ordering.

My question to you is: how should the user-interface work when you can re-order 
the index. For example:

1/ Do you only want custom ordering, or switch between custom and alphabetical 
sorting ?
Definately both

2/ If so, where do you click to switch between custom ordering and alphabetic 
ordering ? And how this switch affect sub-sections ?
Perhaps have alphabetic ordering by default, but let the user change order of 
folders using drag-drop. As soon as the user does this once, Zim should 
remember that ordering is custom. To undo this, the context menu could be use 
(right click on the folder where you want to change order - this should imho 
not include sub-folders, at least, not by default). Only problem is how to deal 
with top level if you have more than one folder.

3/ When index has custom ordering, where do new pages show up - at the end, in 
the front, other position ?
By default at end, but perhaps an option to set the position in the menu to 
create the page.

4/ Should custom sorting depend on list of links in parent page ? (Either by 
default or as a plugin)

That would be a nice touch.. not as default but as a plugin

5/ ... what did I not think of yet ... ?
So let me know your input - bonus points for screenshots and mockups :)

Regards,

Jaap 


___
Mailing list: https://launchpad.net/~zim-wiki
Post to    : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help  : https://help.launchpad.net/ListHelp


   ___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


[Zim-wiki] (no subject)

2015-04-28 Thread Paulo van Breugel
When setting a link in italic, e.g., *http://vegetationmap4africa.org
* it is changed to http:
vegetationmap4africa.org//

Any idea how to avoid this?
___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] (no subject)

2015-04-29 Thread Paulo van Breugel
The unlinking was the idea.. I am exporting it to a website, but don't want
those links to appear as links...

On Wed, Apr 29, 2015 at 11:23 AM, Colin Tedford 
wrote:

> The only way I know is to not set links in italic. The slashes disappear
> because Zim uses "//" to mark the beginning and end of italics (see what
> happens when you type "//http://";). Also, Zim only supports simple
> formatting; even if the slashes didn't disappear, applying italic
> formatting to a link would unlink it (as making a link bold does now).
>
> ___
> Mailing list: https://launchpad.net/~zim-wiki
> Post to : zim-wiki@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~zim-wiki
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] (no subject)

2015-04-29 Thread Paulo van Breugel
Yes, italic was for aesthetic reasons. I don't want them as link as these
are suggested citations for the web page itself.. having a link pointing at
the page itself seems a bit, well, pointless ;-).

On Wed, Apr 29, 2015 at 11:53 AM, Colin Tedford 
wrote:

> Ah, OK, just apply any other format then. I would use verbatim, but bold
> or mark would work, too.
>
> Out of curiosity, why don't you want them linked? Are they examples that
> don't point to actual websites?
>
>
> ___
> Mailing list: https://launchpad.net/~zim-wiki
> Post to : zim-wiki@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~zim-wiki
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Another feature request?

2015-06-18 Thread Paulo van Breugel
Perhaps not a one-click solution, but you can simply move the note you want
to archive and sub-folder (if any) to another location using your favorite
file browser (and of course you can zip it for more compact storate). After
doing so, you might need to run 'update index' in the Tool menu. Be aware
that if there are links in other pages to those removed notes, Zim will
create 'virtual' notes which will show up in your tree.

If you ever need it again, just copy it back in the Zim notebook, run the
'update index' function and you are good to go.

On Thu, Jun 18, 2015 at 11:12 AM,  wrote:

>  Hi, can't remember if this was discussed in the past, but while talking
> of future, I would like to add a feature request. What I would like to see
> is an "archive" option. Zim is now the heart of my day by day activities,
> and I keep adding entries to my wiki(s). They keep growing and by now they
> contain entries, and associated attachments, related to closed projects,
> things done etc. In my opinion it would be very nice to be able to migrate
> selected wiki entries, and their associated attachments, out of the wiki.
> One option would be to export them in a packed format just maintaining a
> link and providing the ability to reload them on demand. Much easier and
> still useful would be the option to move them to another wiki. This would
> allow to have active wikis and historical ones. Long live zim! ;-)
>
>
>
> Connetti gratis il mondo con la nuova indoona: hai la chat, le chiamate,
> le video chiamate e persino le chiamate di gruppo.
> E chiami gratis anche i numeri fissi e mobili nel mondo!
> Scarica subito l’app Vai su https://www.indoona.com/
>
>
> ___
> Mailing list: https://launchpad.net/~zim-wiki
> Post to : zim-wiki@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~zim-wiki
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] simultaneous formatting

2015-06-22 Thread Paulo van Breugel
ZIM does currently not have a way to apply multiple formats.

You can change how ZIM renders text you marked with Ctrl+U by changing the
GUI style config file. See the manual page
http://zim-wiki.org/manual/Help/Config_Files.html.



On Mon, Jun 22, 2015 at 2:47 PM, Vik Evans  wrote:

> Hello all
>
> I try to apply multiple types of formatting to text, such as Ctrl+U and
> Ctrl+T or Ctrl+I, but the latter chosen format overwrites the former. Is
> there a way, for instance, to italicize and high-light or bold and
> italicize simultaneously?
>
> Also, normally I'm used to Ctrl+U = underscore, but in Zim it applies
> high-light and there doesn't seem to be a way to underscore. Does anyone
> know if this is possible as well?
>
> Thank you
> vve1505
>
> ___
> Mailing list: https://launchpad.net/~zim-wiki
> Post to : zim-wiki@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~zim-wiki
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


[Zim-wiki] drag-drop attachment to note

2015-10-09 Thread Paulo van Breugel
I am running Zim in Ubuntu 14.04, installed using the ppa. Since one of the
last updates it is not possible anymore to drag an attachment to the note
(as a link or in case of image to insert the image). Any idea how to solve
this?
___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] drag-drop attachment to note

2015-10-09 Thread Paulo van Breugel
In addition, right click (context menu) on an image does not bring the
image properties option, so no way to change link or image size that way.

On Fri, Oct 9, 2015 at 12:05 PM, Paulo van Breugel 
wrote:

> I am running Zim in Ubuntu 14.04, installed using the ppa. Since one of
> the last updates it is not possible anymore to drag an attachment to the
> note (as a link or in case of image to insert the image). Any idea how to
> solve this?
>
___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] drag-drop attachment to note

2015-10-10 Thread Paulo van Breugel

Hi Murat

I have reinstalled Zim using the deb package from the Zim website, which 
solved it for me. I just now added the PPA (ppa:jaap.karssenberg/zim) 
back to my software sources and checked for updates. None, so are the 
deb file that can be downloaded from the zim website the same as the 
available version in PPA?


Rgds

Paulo

On 09-10-15 13:01, Güven, Ugur Murat wrote:


Hi Paulo,

can you start zim with the option -D within a terminal session to see 
if there are any debug messages?


Regards,

Murat

*From:*Zim-wiki 
[mailto:zim-wiki-bounces+murat.gueven=ts.fujitsu@lists.launchpad.net] 
*On Behalf Of *Paulo van Breugel

*Sent:* Freitag, 9. Oktober 2015 12:09
*To:* zim-wiki email list
*Subject:* Re: [Zim-wiki] drag-drop attachment to note

In addition, right click (context menu) on an image does not bring the 
image properties option, so no way to change link or image size that way.


On Fri, Oct 9, 2015 at 12:05 PM, Paulo van Breugel 
mailto:p.vanbreu...@gmail.com>> wrote:


I am running Zim in Ubuntu 14.04, installed using the ppa. Since
one of the last updates it is not possible anymore to drag an
attachment to the note (as a link or in case of image to insert
the image). Any idea how to solve this?



___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Formatting

2015-10-15 Thread Paulo van Breugel
You can also use the distraction free / full screen option (F11)

On 15 October 2015 08:50:01 CEST, Svenn Are Bjerkem 
 wrote:
>On 14 October 2015 at 16:04, Alessandro Sarretta <
>alessandro.sarre...@gmail.com> wrote:
>
>> As a quite simple solution, you could simply adapt the width of the
>Zim
>> window at the size you prefer :-)
>
>
>I use the backlinks pane on the right side of the zim window together
>with
>the index pane on the left side of the zim window to adjust the width
>of
>the text pane in the middle. This is clearly a workaround in the sense
>of
>"use the tool in a way that compensate for lack of feature in the
>application". This workaround is not good enough for "pure distraction
>free
>writing" as there will be distracting text to the left and also maybe
>to
>the right of the text pane. But it is a workaround that I can live
>with.

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


[Zim-wiki] Table width

2015-10-16 Thread Paulo van Breugel
Hi, is there a way to set the width of the table (table editor plugin)? 
Or even better (but I am probably over asking now), set the width of the 
columns?


Paulo

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


[Zim-wiki] Setting line spacing in style.config

2015-10-16 Thread Paulo van Breugel
Hi, I am trying to change line height for normal text. The only option I
see is to set it in the [TextView]. This changes the distance between
paragraphs rather than lines. Line height can also be set for the different
tags, but there is no tag for the default / normal text.

Any idea how to do this, if it is possible?

Paulo
___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


[Zim-wiki] equation editor

2015-11-25 Thread Paulo van Breugel

Hi Jaap and other Zim devs,

The 'insert equation' function is a great function, producing nice 
looking equations in Zim. However, the resolution of the image (png 
file) that is generated by the addon is fairly low. Is there a way to 
change the resolution of the image? Or even better, would it be possible 
to add the option to store the on-the-fly generaged image as svg instead 
of png? This would provide in perfectly scalable solution for any document.


Best regards

Paulo

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] equation editor

2015-11-26 Thread Paulo van Breugel
Thanks, I had been looking in equationeditor.py file, but wasn't sure 
how to add the -D option.


The reason I want to be able to change the resolution is to make the 
image suitable to be used in printed documents, which normally requires 
a dpi of 300. But that would result in a very large image in the 
notebook. A solution for me (but perhaps not so much for you) would be 
an option to resize the image display in the notebook (like you can do 
with a normal image). The option to use svg instead of png would be even 
better, perhaps also for your user case?



On 26-11-15 10:28, wzhd wrote:
I have been thinking about the same thing since I got a HiDPI screen. 
Currently, I have only managed to make the images bigger, by passing 
the option "-D 192" to the "dvipng" command. The modified version is 
here: 
https://github.com/wzhd/zim-plugin-equation-editor/commit/c3c42d0668ca8dcf69dc1d25d9450d81514d5524 



However this is not perfect, when I open the notebook on other 
computers, the equations are too big.


On 26 November 2015 at 00:29, Paulo van Breugel 
mailto:p.vanbreu...@gmail.com>> wrote:


Hi Jaap and other Zim devs,

The 'insert equation' function is a great function, producing nice
looking equations in Zim. However, the resolution of the image
(png file) that is generated by the addon is fairly low. Is there
a way to change the resolution of the image? Or even better, would
it be possible to add the option to store the on-the-fly generaged
image as svg instead of png? This would provide in perfectly
scalable solution for any document.

Best regards

Paulo

___
Mailing list: https://launchpad.net/~zim-wiki
<https://launchpad.net/%7Ezim-wiki>
Post to : zim-wiki@lists.launchpad.net
<mailto:zim-wiki@lists.launchpad.net>
Unsubscribe : https://launchpad.net/~zim-wiki
<https://launchpad.net/%7Ezim-wiki>
More help   : https://help.launchpad.net/ListHelp




___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] equation editor

2015-11-26 Thread Paulo van Breugel
Perhaps replacing the dvipng by dvisgm (http://dvisvgm.bplaced.net/) 
could work?



On 26-11-15 10:56, Paulo van Breugel wrote:
Thanks, I had been looking in equationeditor.py file, but wasn't sure 
how to add the -D option.


The reason I want to be able to change the resolution is to make the 
image suitable to be used in printed documents, which normally 
requires a dpi of 300. But that would result in a very large image in 
the notebook. A solution for me (but perhaps not so much for you) 
would be an option to resize the image display in the notebook (like 
you can do with a normal image). The option to use svg instead of png 
would be even better, perhaps also for your user case?



On 26-11-15 10:28, wzhd wrote:
I have been thinking about the same thing since I got a HiDPI screen. 
Currently, I have only managed to make the images bigger, by passing 
the option "-D 192" to the "dvipng" command. The modified version is 
here: 
https://github.com/wzhd/zim-plugin-equation-editor/commit/c3c42d0668ca8dcf69dc1d25d9450d81514d5524 



However this is not perfect, when I open the notebook on other 
computers, the equations are too big.


On 26 November 2015 at 00:29, Paulo van Breugel 
mailto:p.vanbreu...@gmail.com>> wrote:


Hi Jaap and other Zim devs,

The 'insert equation' function is a great function, producing
nice looking equations in Zim. However, the resolution of the
image (png file) that is generated by the addon is fairly low. Is
there a way to change the resolution of the image? Or even
better, would it be possible to add the option to store the
on-the-fly generaged image as svg instead of png? This would
provide in perfectly scalable solution for any document.

Best regards

Paulo

___
Mailing list: https://launchpad.net/~zim-wiki
<https://launchpad.net/%7Ezim-wiki>
Post to : zim-wiki@lists.launchpad.net
<mailto:zim-wiki@lists.launchpad.net>
Unsubscribe : https://launchpad.net/~zim-wiki
<https://launchpad.net/%7Ezim-wiki>
More help   : https://help.launchpad.net/ListHelp






___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] How to rearrange pages in sidebar

2016-01-06 Thread Paulo van Breugel
This has been discussed, and requested, before, but currently this is not
possible a.f.a.i.k. I personally number the nodes, thus forcing the order I
want. Not ideal, but it works.

On Mon, Jan 4, 2016 at 5:37 AM, Joe Thorpe  wrote:

> Hi
>
> Firstly, apologies if this is the wrong place for this email. I assume
> this is what's meant by "join the mailing list"
>
> As far as i can tell, i don't believe it's possible rearrange the ordor of
> these pages by dragging them. For example, as per the image, i can't drag
> formulae above definitions. This is important for having notes ordered in
> some way that's memorable for the user, such as chronological order.
>
> http://i.imgur.com/ACk2yXO.png
>
> I've read through the help and looked through the settings, but can't find
> a way to do this.
>
> If there is a way to do this, please let me know.
>
> Thanks
> Joe
>
>
> ___
> Mailing list: https://launchpad.net/~zim-wiki
> Post to : zim-wiki@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~zim-wiki
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Pasting from PowerPoint as text?

2016-01-07 Thread Paulo van Breugel
Same seems to be true for excel, which is in that case actually very
convenient / handy:
https://github.com/jaap-karssenberg/zim-wiki/wiki/Create-a-table-using-LibreOffice%2C-OpenOffice-or-Excel

On Thu, Jan 7, 2016 at 4:08 PM, Jaap Karssenberg  wrote:

> Hi Marco,
>
> Sorry for the late reply. This is an issue that is bugging me as well.
> Problem is that applications need to negotiate about the format to use,
> looks like powerpoint prefers images over plain text. Will need some
> investigation to get it to work differently.
>
> Regards,
>
> Jaap
>
>
> On Tue, Nov 10, 2015 at 9:20 PM, Marco Cevoli 
> wrote:
>
>> Hi,
>>
>> when I copy and paste text from Microsoft PowerPoint into Zim Wiki,
>> the text is pasted as an image. Is this the expected behaviour? Is
>> there an option to always paste text as plain text? Maybe it's a PPT
>> issue... I don't know...
>>
>> Thanks in advance
>>
>> Marco Cevoli
>>
>> ___
>> Mailing list: https://launchpad.net/~zim-wiki
>> Post to : zim-wiki@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~zim-wiki
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>
> ___
> Mailing list: https://launchpad.net/~zim-wiki
> Post to : zim-wiki@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~zim-wiki
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] curly brackets, escape them?

2016-01-07 Thread Paulo van Breugel
As a side note, I use the 'insert code block' a lot. What would make it
more intuitive to use, or faster in any case, is a shortcut, like for
verbatim text.

On Thu, Jan 7, 2016 at 8:44 PM, Joseph Reagle 
wrote:

> On 01/07/2016 10:54 AM, Jaap Karssenberg wrote:
> > thing. On the other hand, being able to input wiki text directly is
> > one of the strengths of zim.
>
> Ah, I didn't even know that was a feature really. I know markdown and
> wikimedia syntax, but not zim wiki syntax though I probably use it the
> most! Thinking about it I suppose when I type "[]" or "*" and it
> converts to a checkbox or bullet, I am taking advantage of that feature.
> But, as you say, I immediately see the change. I've never wanted to do this
> (unlike double curlies) but I then wonder how would I begin a line with a
> literal '[]' or '*'? I appreciate we are probably in a very narrow use case.
>
> ___
> Mailing list: https://launchpad.net/~zim-wiki
> Post to : zim-wiki@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~zim-wiki
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] curly brackets, escape them?

2016-01-07 Thread Paulo van Breugel
I was talking about using the 'insert code block' option, one of the
solution Jaap mentioned earlier (menu: insert: code block). For verbatim
text there is ctrl + T, but of course with code block there is in any case
an additional step of selecting the code syntax.

On Thu, Jan 7, 2016 at 9:27 PM, Joseph Reagle 
wrote:

> On 01/07/2016 03:21 PM, Paulo van Breugel wrote:
> > As a side note, I use the 'insert code block' a lot. What would make
> > it more intuitive to use, or faster in any case, is a shortcut, like
> > for verbatim text.
>
> Huh, I think I still must not understand this (using 0.60). When I want to
> edit the source, I type alt+s+s+enter and it comes up in my text editor. I
> don't really have a plugin...
>
___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] curly brackets, escape them?

2016-01-07 Thread Paulo van Breugel
6.4 I think, but I am not sure

On Thu, Jan 7, 2016 at 10:40 PM, Joseph Reagle 
wrote:

> On 01/07/2016 03:55 PM, Paulo van Breugel wrote:
> > I was talking about using the 'insert code block' option, one of the
> > solution Jaap mentioned earlier (menu: insert: code block). For
> > verbatim text there is ctrl + T, but of course with code block there
> > is in any case an additional step of selecting the code syntax.
>
> I don't have that nor any plugin to check to include it. I wonder what
> version it was introduced in?
>
___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] equation editor

2016-01-08 Thread Paulo van Breugel
Thanks. Unfortunately, the svg file doesn't look correct in my case (see 
attached the tex file, the png file originally created and the svg file 
after patching). I played around with the dvisgm options, but couldn't 
find a solution.


Best wishes,

Paulo



On 07-01-16 15:27, Jaap Karssenberg wrote:
Indeed it works using dvisgm and it looks good, just change 3 lines in 
the plugin, see attached diff.


When I have some time I will try to make it an option in the plugin.

Regards,

Jaap


On Thu, Nov 26, 2015 at 11:00 AM, Paulo van Breugel 
mailto:p.vanbreu...@gmail.com>> wrote:


Perhaps replacing the dvipng by dvisgm
(http://dvisvgm.bplaced.net/) could work?



On 26-11-15 10:56, Paulo van Breugel wrote:

Thanks, I had been looking in equationeditor.py file, but wasn't
sure how to add the -D option.

The reason I want to be able to change the resolution is to make
the image suitable to be used in printed documents, which
normally requires a dpi of 300. But that would result in a very
large image in the notebook. A solution for me (but perhaps not
so much for you) would be an option to resize the image display
in the notebook (like you can do with a normal image). The option
to use svg instead of png would be even better, perhaps also for
your user case?


On 26-11-15 10:28, wzhd wrote:

I have been thinking about the same thing since I got a HiDPI
screen. Currently, I have only managed to make the images
bigger, by passing the option "-D 192" to the "dvipng" command.
The modified version is here:

https://github.com/wzhd/zim-plugin-equation-editor/commit/c3c42d0668ca8dcf69dc1d25d9450d81514d5524


However this is not perfect, when I open the notebook on other
computers, the equations are too big.

    On 26 November 2015 at 00:29, Paulo van Breugel
mailto:p.vanbreu...@gmail.com>> wrote:

Hi Jaap and other Zim devs,

The 'insert equation' function is a great function,
producing nice looking equations in Zim. However, the
resolution of the image (png file) that is generated by the
addon is fairly low. Is there a way to change the resolution
of the image? Or even better, would it be possible to add
the option to store the on-the-fly generaged image as svg
instead of png? This would provide in perfectly scalable
solution for any document.

Best regards

Paulo

___
Mailing list: https://launchpad.net/~zim-wiki
<https://launchpad.net/%7Ezim-wiki>
Post to : zim-wiki@lists.launchpad.net
<mailto:zim-wiki@lists.launchpad.net>
Unsubscribe : https://launchpad.net/~zim-wiki
<https://launchpad.net/%7Ezim-wiki>
More help   : https://help.launchpad.net/ListHelp







___
Mailing list: https://launchpad.net/~zim-wiki
<https://launchpad.net/%7Ezim-wiki>
Post to : zim-wiki@lists.launchpad.net
<mailto:zim-wiki@lists.launchpad.net>
Unsubscribe : https://launchpad.net/~zim-wiki
<https://launchpad.net/%7Ezim-wiki>
More help   : https://help.launchpad.net/ListHelp




T = 100 \times \frac{L + G}{SR + G}___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Vertical arrow?

2016-01-08 Thread Paulo van Breugel
Jaap, would it be possible to add that list with codes to the concerning
manual page?

As a side note, I just noticed that adding a symbol through the menu
(insert > symbol) doesn't work. The dialogue appears, but when pressing
'insert' after selecting a symbol does nothing. Do more have this problem?
If so, I can file a bug report.

On Fri, Jan 8, 2016 at 1:53 PM, Murat Güven  wrote:

> Hi,
>
> try
>
> \down and SPACE key
>
> The codes are stored in the symbols.list file.
>
> Regards,
> Murat
> Am 08.01.2016 1:27 nachm. schrieb Agustin Lobo :
>
> I often need to make fast flow diagrams. I do not
> want anything fancy, but something simple and fast.
> Just things such as
> step 1 (details) ==> step 2 (details)
>
> but would need to do it in vertical also.
>
> Any trick? I've tried with | and a triangle symbol on the next line
> but does not really look as an arrow
>
> Agus
>
> --
> Agustin Lobo
> aloboa...@gmail.com
>
> ___
> Mailing list: https://launchpad.net/~zim-wiki
> Post to : zim-wiki@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~zim-wiki
> More help   : https://help.launchpad.net/ListHelp
>
>
> ___
> Mailing list: https://launchpad.net/~zim-wiki
> Post to : zim-wiki@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~zim-wiki
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] equation editor

2016-01-08 Thread Paulo van Breugel
Thanks Jaap, let's hope they can fix this, would be nice

On Fri, Jan 8, 2016 at 2:47 PM, Jaap Karssenberg  wrote:

> Weird, it looks like dvisvgm mixes up unicode characters. Reported the bug
> upstream here: https://github.com/mgieseki/dvisvgm/issues/52
>
> Hope they can fix it, would make equations look prettier if we can use svg
> instead of png.
>
> Regards,
>
> Jaap
>
>
> On Fri, Jan 8, 2016 at 10:09 AM, Paulo van Breugel  > wrote:
>
>> Thanks. Unfortunately, the svg file doesn't look correct in my case (see
>> attached the tex file, the png file originally created and the svg file
>> after patching). I played around with the dvisgm options, but couldn't find
>> a solution.
>>
>> Best wishes,
>>
>> Paulo
>>
>>
>>
>>
>> On 07-01-16 15:27, Jaap Karssenberg wrote:
>>
>> Indeed it works using dvisgm and it looks good, just change 3 lines in
>> the plugin, see attached diff.
>>
>> When I have some time I will try to make it an option in the plugin.
>>
>> Regards,
>>
>> Jaap
>>
>>
>> On Thu, Nov 26, 2015 at 11:00 AM, Paulo van Breugel <
>> p.vanbreu...@gmail.com> wrote:
>>
>>> Perhaps replacing the dvipng by dvisgm (http://dvisvgm.bplaced.net/)
>>> could work?
>>>
>>>
>>>
>>> On 26-11-15 10:56, Paulo van Breugel wrote:
>>>
>>> Thanks, I had been looking in equationeditor.py file, but wasn't sure
>>> how to add the -D option.
>>>
>>> The reason I want to be able to change the resolution is to make the
>>> image suitable to be used in printed documents, which normally requires a
>>> dpi of 300. But that would result in a very large image in the notebook. A
>>> solution for me (but perhaps not so much for you) would be an option to
>>> resize the image display in the notebook (like you can do with a normal
>>> image). The option to use svg instead of png would be even better, perhaps
>>> also for your user case?
>>>
>>>
>>> On 26-11-15 10:28, wzhd wrote:
>>>
>>> I have been thinking about the same thing since I got a HiDPI screen.
>>> Currently, I have only managed to make the images bigger, by passing the
>>> option "-D 192" to the "dvipng" command. The modified version is here:
>>> <https://github.com/wzhd/zim-plugin-equation-editor/commit/c3c42d0668ca8dcf69dc1d25d9450d81514d5524>
>>> https://github.com/wzhd/zim-plugin-equation-editor/commit/c3c42d0668ca8dcf69dc1d25d9450d81514d5524
>>>
>>>
>>> However this is not perfect, when I open the notebook on other
>>> computers, the equations are too big.
>>>
>>> On 26 November 2015 at 00:29, Paulo van Breugel <
>>> p.vanbreu...@gmail.com> wrote:
>>>
>>>> Hi Jaap and other Zim devs,
>>>>
>>>> The 'insert equation' function is a great function, producing nice
>>>> looking equations in Zim. However, the resolution of the image (png file)
>>>> that is generated by the addon is fairly low. Is there a way to change the
>>>> resolution of the image? Or even better, would it be possible to add the
>>>> option to store the on-the-fly generaged image as svg instead of png? This
>>>> would provide in perfectly scalable solution for any document.
>>>>
>>>> Best regards
>>>>
>>>> Paulo
>>>>
>>>> ___
>>>> Mailing list: https://launchpad.net/~zim-wiki
>>>> Post to : zim-wiki@lists.launchpad.net
>>>> Unsubscribe : https://launchpad.net/~zim-wiki
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>
>>>
>>>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~zim-wiki
>>> Post to : zim-wiki@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~zim-wiki
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>
___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] equation editor

2016-01-08 Thread Paulo van Breugel
Hi Jaap,

I had already tried that like below (not sure that is the correct way)

dvipngcmd = ('dvisvgm', '-o', '-n')

But this results in an error "An error occurred while generating the image.
Do you want to save the source text anyway?"

I'll see if I can install/compile the new version

Regards

Paulo


On Fri, Jan 8, 2016 at 3:37 PM, Jaap Karssenberg  wrote:

> OK there is a work around for this issue: add the "-n" commandline option
> for dvisvgm.
>
> Fix for the underlying bug is in newer versions of dvisvgm, but this is
> not a pre-requisite when applying "-n".
>
> Regards,
>
> Jaap
>
>
> On Fri, Jan 8, 2016 at 2:52 PM, Paulo van Breugel 
> wrote:
>
>> Thanks Jaap, let's hope they can fix this, would be nice
>>
>>
>> On Fri, Jan 8, 2016 at 2:47 PM, Jaap Karssenberg <
>> jaap.karssenb...@gmail.com> wrote:
>>
>>> Weird, it looks like dvisvgm mixes up unicode characters. Reported the
>>> bug upstream here: https://github.com/mgieseki/dvisvgm/issues/52
>>>
>>> Hope they can fix it, would make equations look prettier if we can use
>>> svg instead of png.
>>>
>>> Regards,
>>>
>>> Jaap
>>>
>>>
>>> On Fri, Jan 8, 2016 at 10:09 AM, Paulo van Breugel <
>>> p.vanbreu...@gmail.com> wrote:
>>>
>>>> Thanks. Unfortunately, the svg file doesn't look correct in my case
>>>> (see attached the tex file, the png file originally created and the svg
>>>> file after patching). I played around with the dvisgm options, but couldn't
>>>> find a solution.
>>>>
>>>> Best wishes,
>>>>
>>>> Paulo
>>>>
>>>>
>>>>
>>>>
>>>> On 07-01-16 15:27, Jaap Karssenberg wrote:
>>>>
>>>> Indeed it works using dvisgm and it looks good, just change 3 lines in
>>>> the plugin, see attached diff.
>>>>
>>>> When I have some time I will try to make it an option in the plugin.
>>>>
>>>> Regards,
>>>>
>>>> Jaap
>>>>
>>>>
>>>> On Thu, Nov 26, 2015 at 11:00 AM, Paulo van Breugel <
>>>> p.vanbreu...@gmail.com> wrote:
>>>>
>>>>> Perhaps replacing the dvipng by dvisgm (http://dvisvgm.bplaced.net/)
>>>>> could work?
>>>>>
>>>>>
>>>>>
>>>>> On 26-11-15 10:56, Paulo van Breugel wrote:
>>>>>
>>>>> Thanks, I had been looking in equationeditor.py file, but wasn't sure
>>>>> how to add the -D option.
>>>>>
>>>>> The reason I want to be able to change the resolution is to make the
>>>>> image suitable to be used in printed documents, which normally requires a
>>>>> dpi of 300. But that would result in a very large image in the notebook. A
>>>>> solution for me (but perhaps not so much for you) would be an option to
>>>>> resize the image display in the notebook (like you can do with a normal
>>>>> image). The option to use svg instead of png would be even better, perhaps
>>>>> also for your user case?
>>>>>
>>>>>
>>>>> On 26-11-15 10:28, wzhd wrote:
>>>>>
>>>>> I have been thinking about the same thing since I got a HiDPI screen.
>>>>> Currently, I have only managed to make the images bigger, by passing the
>>>>> option "-D 192" to the "dvipng" command. The modified version is here:
>>>>> <https://github.com/wzhd/zim-plugin-equation-editor/commit/c3c42d0668ca8dcf69dc1d25d9450d81514d5524>
>>>>> https://github.com/wzhd/zim-plugin-equation-editor/commit/c3c42d0668ca8dcf69dc1d25d9450d81514d5524
>>>>>
>>>>>
>>>>> However this is not perfect, when I open the notebook on other
>>>>> computers, the equations are too big.
>>>>>
>>>>> On 26 November 2015 at 00:29, Paulo van Breugel <
>>>>> p.vanbreu...@gmail.com> wrote:
>>>>>
>>>>>> Hi Jaap and other Zim devs,
>>>>>>
>>>>>> The 'insert equation' function is a great function, producing nice
>>>>>> looking equations in Zim. However, the resolution of the image (png file)
>>>>>> that is generated by the addon is fairly low. Is there a way to change 
>>>>>> the
>>>>>> resolution of the image? Or even better, would it be possible to add the
>>>>>> option to store the on-the-fly generaged image as svg instead of png? 
>>>>>> This
>>>>>> would provide in perfectly scalable solution for any document.
>>>>>>
>>>>>> Best regards
>>>>>>
>>>>>> Paulo
>>>>>>
>>>>>> ___
>>>>>> Mailing list: https://launchpad.net/~zim-wiki
>>>>>> Post to : zim-wiki@lists.launchpad.net
>>>>>> Unsubscribe : https://launchpad.net/~zim-wiki
>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ___
>>>>> Mailing list: https://launchpad.net/~zim-wiki
>>>>> Post to : zim-wiki@lists.launchpad.net
>>>>> Unsubscribe : https://launchpad.net/~zim-wiki
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>>>
>>>>
>>>>
>>>
>>
>
___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] equation editor

2016-01-08 Thread Paulo van Breugel
That did the trick.. was just about to compile the latest version of
dvisvgm, but now this works I'll wait till the packages are updated.

It looks great, really happy with this. One suggestion would be to allow
one to set the size (equal to setting the size of an image).

For me the svg option is great, but if you still plan to have the option to
choose between png and svg, it might be a nice idea to have the option to
set the resolution if one selects the png. But again, just suggestions, I
am really happy now :-)



On Fri, Jan 8, 2016 at 4:32 PM, Jaap Karssenberg  wrote:

> Try "-n -o" instead of "-o -n" ..
>
> -- Jaap
>
> On Fri, Jan 8, 2016 at 4:27 PM, Paulo van Breugel 
> wrote:
>
>> Hi Jaap,
>>
>> I had already tried that like below (not sure that is the correct way)
>>
>> dvipngcmd = ('dvisvgm', '-o', '-n')
>>
>> But this results in an error "An error occurred while generating the
>> image. Do you want to save the source text anyway?"
>>
>> I'll see if I can install/compile the new version
>>
>> Regards
>>
>> Paulo
>>
>>
>> On Fri, Jan 8, 2016 at 3:37 PM, Jaap Karssenberg <
>> jaap.karssenb...@gmail.com> wrote:
>>
>>> OK there is a work around for this issue: add the "-n" commandline
>>> option for dvisvgm.
>>>
>>> Fix for the underlying bug is in newer versions of dvisvgm, but this is
>>> not a pre-requisite when applying "-n".
>>>
>>> Regards,
>>>
>>> Jaap
>>>
>>>
>>> On Fri, Jan 8, 2016 at 2:52 PM, Paulo van Breugel <
>>> p.vanbreu...@gmail.com> wrote:
>>>
>>>> Thanks Jaap, let's hope they can fix this, would be nice
>>>>
>>>>
>>>> On Fri, Jan 8, 2016 at 2:47 PM, Jaap Karssenberg <
>>>> jaap.karssenb...@gmail.com> wrote:
>>>>
>>>>> Weird, it looks like dvisvgm mixes up unicode characters. Reported the
>>>>> bug upstream here: https://github.com/mgieseki/dvisvgm/issues/52
>>>>>
>>>>> Hope they can fix it, would make equations look prettier if we can use
>>>>> svg instead of png.
>>>>>
>>>>> Regards,
>>>>>
>>>>> Jaap
>>>>>
>>>>>
>>>>> On Fri, Jan 8, 2016 at 10:09 AM, Paulo van Breugel <
>>>>> p.vanbreu...@gmail.com> wrote:
>>>>>
>>>>>> Thanks. Unfortunately, the svg file doesn't look correct in my case
>>>>>> (see attached the tex file, the png file originally created and the svg
>>>>>> file after patching). I played around with the dvisgm options, but 
>>>>>> couldn't
>>>>>> find a solution.
>>>>>>
>>>>>> Best wishes,
>>>>>>
>>>>>> Paulo
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On 07-01-16 15:27, Jaap Karssenberg wrote:
>>>>>>
>>>>>> Indeed it works using dvisgm and it looks good, just change 3 lines
>>>>>> in the plugin, see attached diff.
>>>>>>
>>>>>> When I have some time I will try to make it an option in the plugin.
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> Jaap
>>>>>>
>>>>>>
>>>>>> On Thu, Nov 26, 2015 at 11:00 AM, Paulo van Breugel <
>>>>>> p.vanbreu...@gmail.com> wrote:
>>>>>>
>>>>>>> Perhaps replacing the dvipng by dvisgm (http://dvisvgm.bplaced.net/)
>>>>>>> could work?
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On 26-11-15 10:56, Paulo van Breugel wrote:
>>>>>>>
>>>>>>> Thanks, I had been looking in equationeditor.py file, but wasn't
>>>>>>> sure how to add the -D option.
>>>>>>>
>>>>>>> The reason I want to be able to change the resolution is to make the
>>>>>>> image suitable to be used in printed documents, which normally requires 
>>>>>>> a
>>>>>>> dpi of 300. But that would result in a very large image in the 
>>>>>>> notebook. A
>>>>>>> solution for me (but perhaps not so much for you) would be an op

Re: [Zim-wiki] equation editor

2016-01-08 Thread Paulo van Breugel
Just FYI, I compiled the latest version of dvisvgm (Ubuntu 14.04 still
packages the ancient 1.2.2). With version 1.14.1, the multiplication sign
(x) is rendered as such. Still, the formula still doesn't look great (see
attached), so the even with the latest dvisvgm version the -n flag is
required.

On Fri, Jan 8, 2016 at 4:44 PM, Paulo van Breugel 
wrote:

> That did the trick.. was just about to compile the latest version of
> dvisvgm, but now this works I'll wait till the packages are updated.
>
> It looks great, really happy with this. One suggestion would be to allow
> one to set the size (equal to setting the size of an image).
>
> For me the svg option is great, but if you still plan to have the option
> to choose between png and svg, it might be a nice idea to have the option
> to set the resolution if one selects the png. But again, just suggestions,
> I am really happy now :-)
>
>
>
> On Fri, Jan 8, 2016 at 4:32 PM, Jaap Karssenberg <
> jaap.karssenb...@gmail.com> wrote:
>
>> Try "-n -o" instead of "-o -n" ..
>>
>> -- Jaap
>>
>> On Fri, Jan 8, 2016 at 4:27 PM, Paulo van Breugel > > wrote:
>>
>>> Hi Jaap,
>>>
>>> I had already tried that like below (not sure that is the correct way)
>>>
>>> dvipngcmd = ('dvisvgm', '-o', '-n')
>>>
>>> But this results in an error "An error occurred while generating the
>>> image. Do you want to save the source text anyway?"
>>>
>>> I'll see if I can install/compile the new version
>>>
>>> Regards
>>>
>>> Paulo
>>>
>>>
>>> On Fri, Jan 8, 2016 at 3:37 PM, Jaap Karssenberg <
>>> jaap.karssenb...@gmail.com> wrote:
>>>
>>>> OK there is a work around for this issue: add the "-n" commandline
>>>> option for dvisvgm.
>>>>
>>>> Fix for the underlying bug is in newer versions of dvisvgm, but this is
>>>> not a pre-requisite when applying "-n".
>>>>
>>>> Regards,
>>>>
>>>> Jaap
>>>>
>>>>
>>>> On Fri, Jan 8, 2016 at 2:52 PM, Paulo van Breugel <
>>>> p.vanbreu...@gmail.com> wrote:
>>>>
>>>>> Thanks Jaap, let's hope they can fix this, would be nice
>>>>>
>>>>>
>>>>> On Fri, Jan 8, 2016 at 2:47 PM, Jaap Karssenberg <
>>>>> jaap.karssenb...@gmail.com> wrote:
>>>>>
>>>>>> Weird, it looks like dvisvgm mixes up unicode characters. Reported
>>>>>> the bug upstream here: https://github.com/mgieseki/dvisvgm/issues/52
>>>>>>
>>>>>> Hope they can fix it, would make equations look prettier if we can
>>>>>> use svg instead of png.
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> Jaap
>>>>>>
>>>>>>
>>>>>> On Fri, Jan 8, 2016 at 10:09 AM, Paulo van Breugel <
>>>>>> p.vanbreu...@gmail.com> wrote:
>>>>>>
>>>>>>> Thanks. Unfortunately, the svg file doesn't look correct in my case
>>>>>>> (see attached the tex file, the png file originally created and the svg
>>>>>>> file after patching). I played around with the dvisgm options, but 
>>>>>>> couldn't
>>>>>>> find a solution.
>>>>>>>
>>>>>>> Best wishes,
>>>>>>>
>>>>>>> Paulo
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On 07-01-16 15:27, Jaap Karssenberg wrote:
>>>>>>>
>>>>>>> Indeed it works using dvisgm and it looks good, just change 3 lines
>>>>>>> in the plugin, see attached diff.
>>>>>>>
>>>>>>> When I have some time I will try to make it an option in the plugin.
>>>>>>>
>>>>>>> Regards,
>>>>>>>
>>>>>>> Jaap
>>>>>>>
>>>>>>>
>>>>>>> On Thu, Nov 26, 2015 at 11:00 AM, Paulo van Breugel <
>>>>>>> p.vanbreu...@gmail.com> wrote:
>>>>>>>
>>>>>>>> Perhaps replacing the dvipng by dvisgm (http://dvisvgm.bplaced.net/)
>>>>>>>> could work?
>&

Re: [Zim-wiki] Vertical arrow?

2016-01-08 Thread Paulo van Breugel



On 08-01-16 18:05, Agustin Lobo wrote:

Paulo: in insert/symbol you just have to click the symbol twice so
that it appears
in the top rectangle, then insert.

Thanks


My problem is that the arrows are not in the set of symbols. After the
first 2/3 most of them are little squares. Is there a way I can extend
the set of symbols?

Instead, I can include the symbols here (Chrome): →⬅︎ with Special Characters
Perhaps the  problem is that I'm using a Mac and/or an Spanish keyboard.

Murat: what do you mean by "\down" ?

Marco: What's the key that has to be pressed for the html codes you refer to?

Thanks

On Fri, Jan 8, 2016 at 2:28 PM, Paulo van Breugel
 wrote:

Jaap, would it be possible to add that list with codes to the concerning
manual page?

As a side note, I just noticed that adding a symbol through the menu (insert

symbol) doesn't work. The dialogue appears, but when pressing 'insert'

after selecting a symbol does nothing. Do more have this problem? If so, I
can file a bug report.


On Fri, Jan 8, 2016 at 1:53 PM, Murat Güven  wrote:

Hi,

try

\down and SPACE key

The codes are stored in the symbols.list file.

Regards,
Murat

Am 08.01.2016 1:27 nachm. schrieb Agustin Lobo :

I often need to make fast flow diagrams. I do not
want anything fancy, but something simple and fast.
Just things such as
step 1 (details) ==> step 2 (details)

but would need to do it in vertical also.

Any trick? I've tried with | and a triangle symbol on the next line
but does not really look as an arrow

Agus

--
Agustin Lobo
aloboa...@gmail.com

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp







___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


[Zim-wiki] Change display sub and superscript

2016-01-17 Thread Paulo van Breugel
In the GUI style config file ("~/.config/zim/style.conf") I can change 
the defaults on how styles are displayed. This works fine, except that I 
don't know how to change the sub- and superscript.


I would like to have the superscript slightly smaller and lower, to 
better fit the default in e.g. Libreoffice or Word. I know how to change 
the size:


[Tag sup]
scale=0.6

But this results in the character being aligned on the base line. So now 
I need to define the how height of the base of the character (how high 
it is placed compared to the baseline). Any idea how to do this?


Best

Paulo

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Links and markup in table doesn't work

2016-01-21 Thread Paulo van Breugel



On 21-01-16 20:16, Brendan Kidwell wrote:
If you associate .txt files with Zim, in Windows Explorer, then you 
can make hyperlinks in your spreadsheet attachments which open Zim pages.

On Thu, Jan 21, 2016, at 14:14, Brendan Kidwell wrote:
Unfortunately for you, I think this is working as designed. Zim's 
current table implementation is designed as a 2D array of PLAIN-TEXT 
cells. The data is fed into a GTK table-rendering widget that doesn't 
know anything about wiki syntax. For now you'll just have to do your 
best with plain text.


According to the manual, links should work. If entered, the link text is 
actually colored, but CTRL + left click opens the table toolbar. Using 
the 'open cell content' in the context menu doesn't do anything. I 
thought it used to work, but I am not certain. In any case, this seems 
to be a bug, or the manual need to be adapted. I have filed a bug report 
on this: https://bugs.launchpad.net/zim/+bug/1536906. If you are 
experiencing this bug, please go to that page and click on 'this bug 
affects you'.



There are some alternative table suggestions in the wiki 
. Not sure if it's 
in there, but you might also consider storing your table with complex 
formatting, in a spreadsheet file (Gnumeric, LibreOffice Calc, etc.) 
and ATTACH it to a Zim page.

On Thu, Jan 21, 2016, at 12:23, Mukli Krisztián wrote:


I'm very happy when I read in Zim Help, that links and common format 
markup works in table cells in the new Table Editor plugin. 
Unfortunately this day I realised it doesn't work definitely. Links 
displaying as links, but if I used right-click on the selected line, 
Open cell in content link doesn't do anything. (Picture-1)


If I write something after a link in cell, the content doesn't show. 
Picture-2 shows what is the content of the cell with link from 
Picture-1.


How can I fix it? There any idea what happens?

Windows 10 x64, Zim 0.65. Thanks for any comment!




___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Change display sub and superscript

2016-02-04 Thread Paulo van Breugel

Hi Jaap,

Where could I (if possible) change the default internal style?

Best wishes,

Paulo


On 02-02-16 22:05, Jaap Karssenberg wrote:
Looks like that won't work without a patch. You need to set 
"rise=7500" except that "rise" is not a keyword the config file 
recognizes.


Fixed in trunk that it will update the default style (and preserve the 
internal set "rise") instead of overwrite.


-- Jaap

On Sun, Jan 17, 2016 at 10:33 PM, Paulo van Breugel 
mailto:p.vanbreu...@gmail.com>> wrote:


In the GUI style config file ("~/.config/zim/style.conf") I can
change the defaults on how styles are displayed. This works fine,
except that I don't know how to change the sub- and superscript.

I would like to have the superscript slightly smaller and lower,
to better fit the default in e.g. Libreoffice or Word. I know how
to change the size:

[Tag sup]
scale=0.6

But this results in the character being aligned on the base line.
So now I need to define the how height of the base of the
character (how high it is placed compared to the baseline). Any
idea how to do this?

Best

Paulo

___
Mailing list: https://launchpad.net/~zim-wiki
<https://launchpad.net/%7Ezim-wiki>
Post to : zim-wiki@lists.launchpad.net
<mailto:zim-wiki@lists.launchpad.net>
Unsubscribe : https://launchpad.net/~zim-wiki
<https://launchpad.net/%7Ezim-wiki>
More help   : https://help.launchpad.net/ListHelp




___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Change display sub and superscript

2016-02-04 Thread Paulo van Breugel

Hi Murat,

Thanks, but unfortunately (well, only in this context, otherwise happy 
Linux user ;-)) I am on Linux


Cheers,

Paulo


On 04-02-16 10:00, Murat Güven wrote:


Hi Paulo,

You may want to give my Theme Manager plugin a try, if you use Windows.

Regards,
Murat

Am 04.02.2016 09:18 schrieb Paulo van Breugel :

Hi Jaap,

Where could I (if possible) change the default internal style?

Best wishes,

Paulo


On 02-02-16 22:05, Jaap Karssenberg wrote:

Looks like that won't work without a patch. You need to set
"rise=7500" except that "rise" is not a keyword the config file
recognizes.

Fixed in trunk that it will update the default style (and
preserve the internal set "rise") instead of overwrite.

-- Jaap

    On Sun, Jan 17, 2016 at 10:33 PM, Paulo van Breugel
mailto:p.vanbreu...@gmail.com>> wrote:

In the GUI style config file ("~/.config/zim/style.conf") I
can change the defaults on how styles are displayed. This
works fine, except that I don't know how to change the sub-
and superscript.

I would like to have the superscript slightly smaller and
lower, to better fit the default in e.g. Libreoffice or Word.
I know how to change the size:

[Tag sup]
scale=0.6

But this results in the character being aligned on the base
line. So now I need to define the how height of the base of
the character (how high it is placed compared to the
baseline). Any idea how to do this?

Best

Paulo

___
Mailing list: https://launchpad.net/~zim-wiki
<https://launchpad.net/%7Ezim-wiki>
Post to : zim-wiki@lists.launchpad.net
<mailto:zim-wiki@lists.launchpad.net>
Unsubscribe : https://launchpad.net/~zim-wiki
<https://launchpad.net/%7Ezim-wiki>
More help   : https://help.launchpad.net/ListHelp






___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Change display sub and superscript

2016-02-04 Thread Paulo van Breugel
Thanks, worked perfectly (setting scale to 0.58 and rise to 5500 is 
close to what you get with superscript in Write, and is, for me at 
least, visually more appealing, also because it results in less space to 
the line above).


Cheers,

Paulo



On 04-02-16 10:56, Jaap Karssenberg wrote:

Paulo,

You need to change the source code: zim/gui/pageview.py

Around line 580 you will find this defintion:

'sup': {'rise': 7500, 'scale':0.7},

Regards,

Jaap


@Murat: this is a question about the zim text style, it does not 
depend on the gtk theme




On Thu, Feb 4, 2016 at 10:34 AM, Murat Güven <mailto:mur...@online.de>> wrote:


Hi Paulo,

I guess you need to go find a gtkrc file on your system and look
around over config files in your theme to figure out the specific
setting.

Regards,
Murat

    Am 04.02.2016 10:16 schrieb Paulo van Breugel
mailto:p.vanbreu...@gmail.com>>:

Hi Murat,

Thanks, but unfortunately (well, only in this context,
otherwise happy Linux user ;-)) I am on Linux

Cheers,

Paulo


On 04-02-16 10:00, Murat Güven wrote:


Hi Paulo,

You may want to give my Theme Manager plugin a try, if you
use Windows.

Regards,
    Murat

    Am 04.02.2016 09:18 schrieb Paulo van Breugel
 <mailto:p.vanbreu...@gmail.com>:

Hi Jaap,

Where could I (if possible) change the default internal
style?

Best wishes,

Paulo


On 02-02-16 22:05, Jaap Karssenberg wrote:

Looks like that won't work without a patch. You need to
set "rise=7500" except that "rise" is not a keyword the
config file recognizes.

Fixed in trunk that it will update the default style
(and preserve the internal set "rise") instead of overwrite.

-- Jaap

On Sun, Jan 17, 2016 at 10:33 PM, Paulo van Breugel
mailto:p.vanbreu...@gmail.com>>
wrote:

In the GUI style config file
("~/.config/zim/style.conf") I can change the
defaults on how styles are displayed. This works
fine, except that I don't know how to change the
sub- and superscript.

I would like to have the superscript slightly
smaller and lower, to better fit the default in e.g.
Libreoffice or Word. I know how to change the size:

[Tag sup]
scale=0.6

But this results in the character being aligned on
the base line. So now I need to define the how
height of the base of the character (how high it is
placed compared to the baseline). Any idea how to do
this?

Best

Paulo

___
Mailing list: https://launchpad.net/~zim-wiki
<https://launchpad.net/%7Ezim-wiki>
Post to : zim-wiki@lists.launchpad.net
<mailto:zim-wiki@lists.launchpad.net>
Unsubscribe : https://launchpad.net/~zim-wiki
<https://launchpad.net/%7Ezim-wiki>
More help   : https://help.launchpad.net/ListHelp









___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Lets build a zim android app together!

2016-02-09 Thread Paulo van Breugel
Jaap already created a page for this, so perhaps better to stick with 
that page to avoid duplicates: 
https://github.com/jaap-karssenberg/zim-android-mockapp/wiki


On 08-02-16 16:09, Marco Cevoli wrote:

Thanks, Jaap, good to know. I've done mockups in the past, so I'll try
to find some time to design a first draft.

I don't know if I had the right to do it, but I created a specific
page on the Wiki:

https://github.com/jaap-karssenberg/zim-wiki/wiki/Android-app-design-and-development

The first step would be to collect the features that would go into the
Android app, so that I can create the mockup around them. That's why I
suppose that the app won't do _all_ the things that the Desktop app
does, but I might be wrong.

HIH

Marco Cevoli



On Mon, Feb 8, 2016 at 3:15 PM, Jaap Karssenberg
 wrote:

Hi Marco,

Afraid financing is not the limiting factor at this moment. Personally I
have a full time job in engineering, so more income would not allow me to
spent more time on zim.

Besides, we actually have some money from donations, and so far it has
proven more difficult to find people to take the money than to find people
willing to donate ...

At this time what we really need is a few volunteers with some coding / web
skills that enjoy diving in and helping out.

However I'm open to proposals to get some of this work done in exchange for
money. After all, a lot of donations do mention an android app as their
wishlist item.

One task at this moment where non-techies could help is to make a mockup of
how the application should look and describe where to click and what
happens. This kind of thing you can draw out in any paint program. Putting
it in the wiki allows for collaboration on this.

Regards,

Jaap




On Mon, Feb 8, 2016 at 3:07 PM, Marco Cevoli  wrote:

Have you considered crowdfund the effort? Creating a crowdfunding
project might give you the resources needed to jump-start the
development and would be an easy way for non-techies to express their
support.

Just an idea.

Best regards

Marco Cevoli

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp



___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp



___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] How to paste formatted (rich) text to Zim editor? (Feature request?)

2016-04-19 Thread Paulo van Breugel
On Tue, Apr 19, 2016 at 1:52 PM, J. M. Korhonen 
wrote:

> Hiya, and many thanks for excellent note-keeping software.
>
> The only problem I have with it is that I sometimes need to copypaste
> formatted (rich) text to my notes; specifically, I have a reference manager
> (Mendeley) that on command copies a formatted citation of a paper to my
> clipboard, and I'd like to paste that directly to my note. Ctrl-V or Paste
> command on Zim editor window doesn't do anything, apparently because the
> citation is formatted (e.g. journal name in italics).
>

That is strange, I can copy formatted text to Zim without problems, for
example when copy/paste formatted text from Zotero (the text is pasted as
unformatted text in Zim). What OS are you on (I am on Linux)?


>
> My workaround is that I paste the citation to gedit text editor, which
> strips it of formatting, and then copypaste from there to Zim. This is a
> bit clunky approach, and I was wondering whether there is some way to get
> around the problem? I'd love to be able to paste any text directly to Zim
> editor, with Zim stripping the formatting automatically.
>
> I tried to search if anyone else has the same issue, but couldn't find any
> leads.
>
> All the best,
>
> Janne M. Korhonen
>
> --
> jmkorho...@gmail.com
> jmkorhonen.net
> Twitter: @jmkorhonen
> +358 41 501 8481
>
> ___
> Mailing list: https://launchpad.net/~zim-wiki
> Post to : zim-wiki@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~zim-wiki
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Export in one click

2016-05-04 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 that calls to Custom
tools does not provide a "pagename" parameter (Page:SubPage:SubPage) to
supply the --export parameter. I had to extract this information with
regexps.

It would be nice:
* to provide a %p parameter for the name of the page
* or let --export function to accept %s as the [PAGE] to be exported

Am I clear enough? Did I miss something?
My next step is to provide the ability to rsync the result in one click.

My goal is to manually export and publish some static pages on the 
web. The current ability to --export a whole notebook is not good for 
me as I want to publish only some pages and not all ones.



Thanks for zim.


Charles Nepote.



___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] click on a link and open a terminal if the uri says so

2016-12-21 Thread Paulo van Breugel

Thanks, very handy


On 21-12-16 07:16, win...@eclipso.at wrote:

You may want to consider a custom tool approach.

# Tools -> Custom Tools
Name:  OpenTerminal
Description:   Open terminal in this folder
Command:   StartTerminal.sh %d
Icon: /usr/share/icons/gnome/32x32/apps/utilities-terminal.png

[yes] Command does not modify data
[yes] Show in the toolbar



# Tools -> Custom Tools
Name:  OpenTerminalNbook
Description:   Open terminal for notebook
Command:   StartTerminal.sh %n
Icon:  /usr/share/app-install/icons/zim.svg

[yes] Command does not modify data
[yes] Show in the toolbar
#..


# StartTerminal.sh; /usr/local/bin (or so)
# See attachment

  Andreas




On 12/19/2016 07:00 PM, Svenn Are Bjerkem wrote:

Hi,
there was a question on zim and opening terminal a while ago.
I didn't really understand what that was about so I will start over 
again.

I am looking for a solution or clever suggestions to the idea of
opening a new terminal (or a terminal tab by issuing a dbus command if
a terminal already exist) with the working directory given by the link
I am clicking.

In plain zim wiki source this link would be something like this:
[[uri+xterm:///home/svennb/path/to/jira_12345|jira_12345]]

Idea is that when I click that link, I get a terminal window with cwd
in the particular directory. If I click on further such uri+xterm
links, I will get another tab in an already existing terminal window,
but that may wait for later.

What I have tried is to set up an application for a link like
'uri+xterm://' to be terminator --working-directory=%S,, but that
failed. right-click and open-with only give me the option to configure
a program to open the link.

reason I use terminator is that I had the idea to use some kind of
session management for terminator to pop up a preconfigured working
terminal with splits and all, but that is for later.

Current workaround is to just have a link to the directory which wil
open the file browser and then open a terminal in the current file
browser path, but that is a bit tedious and often leaves a lot of
windows on my screen.





___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


[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 sub-notes of 
this note), I thought to do something like:


zim --export -r --output=$output --format=html --template=$template 
$notebook docs


But this doesn't work. Any hints how to go about this?

Best wishes,

Paulo



___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


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 Folder) --format=html (path to folder 
notebook) (name of folder)


Best wishes,

Paulo


On 10-01-17 11:05, Karthik Tayur wrote:
Perhaps changing docs with regard to the index reference might help? 
For instance, :x:docs?

Could you elaborate on what the error messages are in the terminal?

On 10 January 2017 at 09:02, Karthik Tayur <mailto:karthiksta...@gmail.com>> wrote:


What does 'docs' refer to? Is 'path-to-notebook' actually the path
to the folder which contains the desired page?
zim --export -r --output=~(Name of Folder) --format=html ~(path of
the folder)
This works fine in my computer. I have omitted the template
because I wasn't particular about it.

Regards
Karthik Tayur


    On 9 January 2017 at 15:57, Paulo van Breugel
mailto:p.vanbreu...@gmail.com>> wrote:

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
sub-notes of this note), I thought to do something like:

zim --export -r --output=$output --format=html
--template=$template $notebook docs

But this doesn't work. Any hints how to go about this?

Best wishes,

Paulo



___
Mailing list: https://launchpad.net/~zim-wiki
<https://launchpad.net/%7Ezim-wiki>
Post to : zim-wiki@lists.launchpad.net
<mailto:zim-wiki@lists.launchpad.net>
Unsubscribe : https://launchpad.net/~zim-wiki
<https://launchpad.net/%7Ezim-wiki>
More help   : https://help.launchpad.net/ListHelp
<https://help.launchpad.net/ListHelp>





___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Adding images via absolute links

2017-01-17 Thread Paulo van Breugel
Yes, if you use the attach option to insert an image (as image or as 
link) the image will be copied to the attachment folder (which is a 
sub-folder at the same level as the note text file and has the same name 
as the note. If you enable the 'Attachment browser' plugin (go to menu: 
edit: preferences), you can open a pane in Zim that shows you all 
attachments for the open note. See for more information go to (the same 
pages are in the help file):


http://zim-wiki.org/manual/Help/Attachments.html
http://zim-wiki.org/manual/Plugins/Attachment_Browser.html

Paulo


On 17-01-17 03:03, David Epstein wrote:
Thank you! I see that I can move the page in the page hierarchy 
without losing the photos. It looks like Zim makes a copy of the files 
so I don't need to keep the originals.


On Mon, Jan 16, 2017 at 7:54 PM, Chris H > wrote:


Use the option to attach the images and they will be copied to the
page

On Jan 16, 2017 7:38 PM, "David Epstein" mailto:david...@umich.edu>> wrote:

I am new to Zim. I created a few pages and sub-pages that
included images on my laptop. When I reorganized these pages,
some of the links to the images broke. I believe the problem
is that Zim uses relative linking by default based on a notes
current position in the hierarchy. Is it possible to use
absolute paths by default?

Thank you,
-david

___
Mailing list: https://launchpad.net/~zim-wiki

Post to : zim-wiki@lists.launchpad.net

Unsubscribe : https://launchpad.net/~zim-wiki

More help   : https://help.launchpad.net/ListHelp






___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


[Zim-wiki] Getting the full page index when export to html

2017-02-04 Thread Paulo van Breugel

Hi,

I am using ZIM to create a website. When I want the menu with links to 
all exported pages, I can include [% index() %] in my export template.


However, the resulting menu only includes pages of the same level or 
higher. What I want is that each html page contains a menu list with all 
pages.


So, if the structure of my notebook is:

 * Page 1
 * Page 2
 o Page 2 a
 o Page 2b

They all should show, so on page one, instead of showing a menu with 
page 1 and 2 only, it should show a menu with all four pages (reason: I 
want to create a drop down menu, for which I need the full list of pages).


Any help would be greatly appreciated.

Paulo


___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Getting the full page index when export to html

2017-02-05 Thread Paulo van Breugel

Hi Alex,

Thanks, that was helpful. When running, I get the error message that the 
'page' parameter (in index()) isn't valid. However,


[% index(collapse,False) %]

did the trick for me. Jaap, perhaps something to add to the page as 
explicit example to the help file?


Paulo


On 04-02-17 22:26, Alex Ivkin wrote:

[% IF page.basename == "Catalog" %]
[% index(navigation.home,False) %]
[% ELSE %]
[% page.content %]
[% END %]
[% IF page.basename == "Other" %]
[% index(page,False) %]
[% END %]



___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Ecodiv template

2017-02-09 Thread Paulo van Breugel

Hi Marcio

I incidently had a similar question to the Zim-wiki email list (you best 
ask questions on that list).


I am not completely sure what you want, but the index function works 
using the following syntax:


[% index(collapse,False) %]

[% index(ignore_empty,False) %]

So collapse and ignore_empty both can be False or True. I did not find 
out the syntax if you want to use this with the 'section' parameter.


Rgds,

Paulo



On 08-02-17 15:53, Marcio Segura wrote:

Hi Paulo, how are you?

   I am brazilian and I use zim and a derivative of your good template 
for my sites. I found your contact by a friend that also uses Zim and 
your template.
   I don't want to bore you but if you help me I will be very grateful 
to you.
   In the template we have a function called [% index() %]. So I read 
in the http://www.zim-wiki.org/manual/Help/Templates.html that this 
function can be configured to another behaviors and I wanted it to 
create the index after the first page, doesn't showing other pages in 
the root because my site needs to have visible pages in the index and 
other pages only accessible by a especifical link.
I tried some configuration and none makes any difference, like 
"index(TRUE,TRUE,TRUE)", "index(FALSE,FALSE,FALSE)" and so on...
This is the description of this function (for that who don't use 
the defaults):


index(section, collapse, ignore_empty)
Creates a page index of the set of pages being exported.
section: the starting page of the index - defaults to the top level (":")
collapse: if TRUE only branches related to the current page are 
visible, if FALSE all branches are visible - defaults to TRUE

ignore_empty: if TRUE empty pages are ignored — defaults to TRUE.

See "section" and "collapse", they seem that will make it but I 
don't see any difference. Maybe I am missing some thing.

Thanks a lot,
Marcio Segura



___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Ecodiv template

2017-02-09 Thread Paulo van Breugel
I actually seem to want the opposite, I want the whole tree, and not 
only the sub-pages of the active branch. The latter is the default, but 
one can override this with [% index(collapse,False) %]. When using that, 
I am getting the warning as you, but it works nonetheless.


Sorry I can't be of more help, hopefully somebody on the email list can 
further help you out.


Paulo



On 09-02-17 17:20, Marcio Segura wrote:

Hi Paulo,

Thank you for your replying.
Both of your syntaxes are reproved by the "exporter" with the message 
"WARNING: No such parameter: collapse". Looking to the template's 
manual I think the syntax would be something like:

[% index(,FALSE,FALSE) %]
But it's not clear what we can put on "". I tested "TRUE" and 
"FALSE", ":", "Path(':')", "page", "path", "root", ":index"... and 
none of them worked.
I just want that my root pages do not appear in the index built by 
this command.

Thank you,
Marcio




*De:* Paulo van Breugel 
*Para:* Marcio Segura 
*Cc:* zim-wiki email list 
*Enviadas:* Quinta-feira, 9 de Fevereiro de 2017 7:42
*Assunto:* Re: Ecodiv template

Hi Marcio
I incidently had a similar question to the Zim-wiki email list (you 
best ask questions on that list).
I am not completely sure what you want, but the index function works 
using the following syntax:

[% index(collapse,False) %]
[% index(ignore_empty,False) %]

So collapse and ignore_empty both can be False or True. I did not find 
out the syntax if you want to use this with the 'section' parameter.


Rgds,

Paulo



On 08-02-17 15:53, Marcio Segura wrote:

Hi Paulo, how are you?

 I am brazilian and I use zim and a derivative of your good template 
for my sites. I found your contact by a friend that also uses Zim and 
your template.
 I don't want to bore you but if you help me I will be very grateful 
to you.
 In the template we have a function called [% index() %]. So I read 
in the http://www.zim-wiki.org/manual/Help/Templates.html that this 
function can be configured to another behaviors and I wanted it to 
create the index after the first page, doesn't showing other pages in 
the root because my site needs to have visible pages in the index and 
other pages only accessible by a especifical link.
  I tried some configuration and none makes any difference, like 
"index(TRUE,TRUE,TRUE)", "index(FALSE,FALSE,FALSE)" and so on...
  This is the description of this function (for that who don't use 
the defaults):


index(section, collapse, ignore_empty)
Creates a page index of the set of pages being exported.
section: the starting page of the index - defaults to the top level (":")
collapse: if TRUE only branches related to the current page are 
visible, if FALSE all branches are visible - defaults to TRUE

ignore_empty: if TRUE empty pages are ignored — defaults to TRUE.

  See "section" and "collapse", they seem that will make it but I 
don't see any difference. Maybe I am missing some thing.

  Thanks a lot,
  Marcio Segura







___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


[Zim-wiki] Different behaviour export using gui and command line

2017-04-21 Thread Paulo van Breugel

Hi Jaap,

When exporting a notebook using the GUI, all special characters in 
verbatim text and text in code blocks are converted, for example:


> is converted to >

However, when exporting from the command line, special characters like < 
and > are exported to the html page as such, i.e., they are not converted.


The first behaviour is most desirable, as it allows one to have any text 
shown as intended on a html page, such as programming code.


Is there a way to change how this is done on the command line to match 
how it is done when using the GUI?


Best wishes,

Paulo








___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] wishlist?

2017-04-26 Thread Paulo van Breugel

Hi Jaap,

The issue tracker at github let's you label tickets as amongst others 
bug, enhancement, question, etc. You can also add your own labels, e.g., 
to separate between concrete actionable feature requests and ideas / 
outlines that are not yet actionable. These should be sufficient to 
separate feature requests and bug reports. The key to make this work 
(independent on the tool) lies i.m.h.o. in having one or more persons 
that monitor all issues, and assign the appropriate label (or re-assign 
if the issue reporter applied the wrong label).  I guess the most 
obvious persons would be the participating developers, as these would 
also know to whom to assign tasks, but others could step in as well (I 
for one wouldn't mind helping in this respect).


Cheers,

Paulo


On 25-04-17 21:46, Jaap Karssenberg wrote:
If we do use the issue tracker to also track feature requests, there 
is a need for a process for those as well. More specifically a process 
to ensure the quality of the open requests. What happened in the 
launchpad tracker is that we have hundreds of requests, some which are 
actionable, some which are just an idea or an outline of an idea. I 
haven;t been able to clean it up, because we have no process to refine 
or close requests.


-- Jaap


On Tue, Apr 25, 2017 at 9:29 PM Dimitrij Lisov > wrote:


@Ale Great idea! I think it's quite easy to import the existing
issues from Launchpad into GitHub and label them appropriately to
have a good overview.

Alessandro Sarretta mailto:alessandro.sarre...@gmail.com>> schrieb am Di., 25. Apr.
2017 um 21:24 Uhr:

On 25/04/2017 20:10, Jaap Karssenberg wrote:

Not as such. We have captured a lot of wishlist requests in
the bug tracker, but I'm afraid that that greatly diminished
the usefulness of the bug tracker for real bugs. My intention
for the github branch is to use the issue tracker purely for
bugs and look elsewhere for keeping track of feature requests
and discussion. Not decided yet how and where to do that -
for now they can keep on living in the launchpad tracker. Any
suggestions?

I think you can easily keep track and manage bugs, feature
requests and discussions in GitHub, using different and
specific labels for issues or pull requests (e.g.
https://medium.com/@dave_lunny/sane-github-labels-c5d2e6004b63).

Ale

-- 
-- 


Alessandro Sarretta

skype/twitter: alesarrett
Web: ilsarrett.wordpress.com 

Research information:

  * Google scholar profile

  * ORCID 
  * Research Gate

  * Impactstory 

___
Mailing list: https://launchpad.net/~zim-wiki

Post to : zim-wiki@lists.launchpad.net

Unsubscribe : https://launchpad.net/~zim-wiki

More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~zim-wiki

Post to : zim-wiki@lists.launchpad.net

Unsubscribe : https://launchpad.net/~zim-wiki

More help   : https://help.launchpad.net/ListHelp



___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Zim release 0.66

2017-04-28 Thread Paulo van Breugel

Congratulations and thanks Jaap, also to the other contributors!


On 28-04-17 17:11, Jaap Karssenberg wrote:

Dear all,

I just uploaded release 0.66 to the website. It is available as source 
package, deb package or via launchpad PPA. Below the changelog for 
this version.


Regards,

Jaap

=== 0.66 - Fr 28 Apr 2017 ===
* Multiple notebooks run as single process now to reduce multi-process
  complexity - more robust startup, reduce need for "--standalone"
* SQLite indexer re-written to fix long standing bugs and design flaws
  with indexing
* Improved performance tag filtering in side pane
* Detect pages have changed on disk, even when page present in cache
* Bug fix for drag-n-drop of text within the editor
* New checkbox type available for "moved task" for joural workflow
* Context menu defined for checkboxes
* Horizontal lines "" added to wiki syntax -- Pavel_M
* Pathbar buttons can now also be used to insert page links by drag-n-drop
  -- Klaus Holler
* "search in section" added to context mennu for pages
* "search backlinks" added to context mennu for pages -- Volodymyr Buell
* Keyboard navigation of plugin tab in preferences dialog -- Jens Sauer
* Allow "mailto:"; links contain arguments like "?subject="
* Tasklist plugin: now also available embedded in side pane
* Tasklist plugin: new syntax for including due and start dates
* Tasklist plugin: new formatting priority column including deadlines
* Tasklist plugin: new "flat list" mode to only see lowest level tasks
* Tasklist plugin: removed support for "next" label
* Tasklist plugin: dialog now remembers sorting -- Jonas Pfannschmidt
* Versioncontrol plugin: git: removed global "git add", instead stage
  individual files
* Versioncontrol plugin: fossil: fix for fossil "addremove"
* Attachment browser: bug fix for drag-n-drop
* Linesorter plugin: added keybindings to move / duplicate / delete lines
  -- Johannes Kirschner
* Sourceview plugin: bug fix to make export via commandline also use
  objects -- Alex Ivkin
* Sourceview plugin: bug fix to follow editable state of parent window
  -- Jan Taus
* Bookmarks plugin updates -- Pavel_M
* Tableeditor plugin: bug fix for links -- Sašo Živanović
* Linkmap plugin: bug fix "unexpected char '-'"
* Arithmic plugin: bug fix to allow negative numbers -- TROUVERIE Joachim
* Dev: Templates are now translatable, using "gettext()" -- Jens Sauer
* Dev: Index API completely changed, see tasklist for a plugin example
* Dev: New module for file-system interaction, to be used in new code
* Dev: New parsing strategy based on tokenlist, used for tasklist parser
* Dev: Defined notebook API for concurrent operations in gtk main loop
* Dev: Simplified SignalEmitter code
* Packaging: removed support for maemo build - code went stale
* Packaging: make package build reproducible -- Reiner Herrmann
* Added translations for: Amharic, Arabic, Basque, and Portuguese



___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


[Zim-wiki] error attaching file in zim 0.66

2017-04-29 Thread Paulo van Breugel
Hi, when trying to insert an image, I am getting the error copied below. 
Any idea?


This is zim 0.66
Platform: posix
Locale: en_US UTF-8
FS encoding: UTF-8
Python: (2, 7, 12, 'final', 0)
Gtk: (2, 24, 30)
Pygtk: (2, 24, 0)
No bzr version-info found

=== Traceback ===
  File "/usr/lib/python2.7/dist-packages/zim/gui/widgets.py", line 
3194, in do_response

destroy = self.do_response_ok()
  File "/usr/lib/python2.7/dist-packages/zim/gui/__init__.py", line 
2858, in do_response_ok

file = self.ui.do_attach_file(self.path, file)
  File "/usr/lib/python2.7/dist-packages/zim/gui/__init__.py", line 
1197, in do_attach_file

file.copyto(dest)
  File "/usr/lib/python2.7/dist-packages/zim/fs.py", line 1664, in copyto
assert isinstance(dest, (File, Dir))
AssertionError:



___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] error attaching file in zim 0.66

2017-04-29 Thread Paulo van Breugel
Just discovered that this only happens when importing using the button 
on the toolbar, not if I do this using the menu entry (/menu: insert: 
image/)



On 29-04-17 13:46, Paulo van Breugel wrote:
Hi, when trying to insert an image, I am getting the error copied 
below. Any idea?


This is zim 0.66
Platform: posix
Locale: en_US UTF-8
FS encoding: UTF-8
Python: (2, 7, 12, 'final', 0)
Gtk: (2, 24, 30)
Pygtk: (2, 24, 0)
No bzr version-info found

=== Traceback ===
  File "/usr/lib/python2.7/dist-packages/zim/gui/widgets.py", line 
3194, in do_response

destroy = self.do_response_ok()
  File "/usr/lib/python2.7/dist-packages/zim/gui/__init__.py", line 
2858, in do_response_ok

file = self.ui.do_attach_file(self.path, file)
  File "/usr/lib/python2.7/dist-packages/zim/gui/__init__.py", line 
1197, in do_attach_file

file.copyto(dest)
  File "/usr/lib/python2.7/dist-packages/zim/fs.py", line 1664, in copyto
assert isinstance(dest, (File, Dir))
AssertionError:




___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


[Zim-wiki] interwiki names in urls.list

2017-05-02 Thread Paulo van Breugel
Hi Jaap and others,

I have reported the following issue on github issue tracker. Will that
normally be enough, or better to (also) report by email?

I have a list of pre-defined urls in "~/.local/share/zim/urls.list", but
this doesn't work any more after the update to 0.6.

This is zim 0.66
Platform: posix
Locale: en_US UTF-8
FS encoding: UTF-8
Python: (2, 7, 12, 'final', 0)
Gtk: (2, 24, 30)
Pygtk: (2, 24, 0)
No bzr version-info found

=== Traceback ===
File "/home/paulo/Software/Linux/zim-desktop-wiki/zim/gui/pageview.py",
line 5575, in do_link_clicked
self.ui.open_notebook(uri, pagename)
UnboundLocalError: local variable 'pagename' referenced before assignment

Note that the interwiki terms do work if defined in the .zim file of the
zim notebook.

Cheers,

Paulo
___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Released 0.67-rc2

2017-06-13 Thread Paulo van Breugel

Great, thanks.


On 6/13/17 10:19 AM, Jaap Karssenberg wrote:

Hi all,

Yesterday I uploaded a second release candidate for version 0.67. If 
no new critical bugs show up, I will turn this into a final 0.67 
release in a couple of weeks.


Main goal for these release candidates is to flush out bugs and 
hopefully make the final release a bit more stable. New features will 
have to wait for 0.68. The delta compared to 0.66 can be found here: 
https://github.com/jaap-karssenberg/zim-desktop-wiki/blob/master/CHANGELOG.txt


PPA with packages for Ubuntu is up to date and I saw Brendan just beat 
me to it by announcing a new windows build :)


There is a small update in the translation messages of about 10 
strings to be translated. These can be found here: 
https://translations.launchpad.net/zim


Cheers!

Jaap


___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


[Zim-wiki] mark format

2017-06-14 Thread Paulo van Breugel
I have adapted the style config file (~/.config/zim/style.conf), amongst 
others defining the mark style as follows:


[Tag mark]
underline=PANGO_UNDERLINE_SINGLE

This resulted in text being underlined when using this 'mark' format. 
This also removed the default yellow background. With the latest update 
(0.67 rc2) the text is still underlined but now also shows the yellow 
background. How can I remove the background (or is the only option to 
set it to white?).


Rgds,

Paulo


___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] mark format

2017-06-14 Thread Paulo van Breugel

Tried out the following

[Tag mark]
underline=PANGO_UNDERLINE_SINGLE
background=none

And that seems to works, no more yellow background


On 6/14/17 10:00 AM, Paulo van Breugel wrote:
I have adapted the style config file (~/.config/zim/style.conf), 
amongst others defining the mark style as follows:


[Tag mark]
underline=PANGO_UNDERLINE_SINGLE

This resulted in text being underlined when using this 'mark' format. 
This also removed the default yellow background. With the latest 
update (0.67 rc2) the text is still underlined but now also shows the 
yellow background. How can I remove the background (or is the only 
option to set it to white?).


Rgds,

Paulo




___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Question for generate Directory.txt

2017-06-19 Thread Paulo van Breugel
Not sure I understand, but can't you first create a text file 
'directory.txt'? Then reindex or reopen Zim and create your sub-page.



On 6/19/17 3:53 PM, Smilie wrote:

Hello,


i have the following case:

I have a directory without directory.txt.
Then i want to generate a sub-page for generating of this directory.txt.
But this does not work.

Is there a way to do this?

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp



___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


[Zim-wiki] markdown export template

2017-12-29 Thread Paulo van Breugel

Hi,

How can I adapt (in the markdown export template) how code blocks  are 
exported to markdown. I am looking for a way to have R code blocks 
exported as Rmarkdown code blocks, e.g.,


From:


{{{code: lang="r" linenumbers="True"

code here

}}}


To:


```{r}

code here

```

Cheers


Paulo

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] markdown export template

2018-01-08 Thread Paulo van Breugel
OK, thanks for the feedback. I had a look at the code, but with my 
(very) limited Python skills, I can't really see where the export is 
handled. I'll see if I can do some post-processing of export output instead.


Cheers,

Paulo


On 1/8/18 8:53 AM, Jaap Karssenberg wrote:
Afraid there is no easy way to do that other than modifying the 
behavior in the code block plugin.


-- Jaap

On Fri, Dec 29, 2017 at 3:04 PM Paulo van Breugel 
mailto:p.vanbreu...@gmail.com>> wrote:


Hi,

How can I adapt (in the markdown export template) how code blocks 
are exported to markdown. I am looking for a way to have R code
blocks exported as Rmarkdown code blocks, e.g.,

From:


{{{code: lang="r" linenumbers="True"

code here

}}}


To:


```{r}

code here

```

Cheers


Paulo

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Appropriate forum for "personal hacks?"

2018-05-18 Thread Paulo van Breugel

Hi John

Would love to hear more about these ideas. What about sharing them on 
the Zim wiki: https://github.com/jaap-karssenberg/zim-wiki/wiki? Or is 
it more about ideas you want to discuss?


Cheers,

Paulo



On 18-05-18 16:46, John R. Marks, IV wrote:


Again, shouts to Jaap and everyone else for this amazing tool. Had a 
general/admin question.


I don't know about you all, but (mostly thanks to plain text and bash 
scripting) I've sort of integrated *everything* into Zim and 
vice-versa, e.g.

- viewing tasks on my desktop with Conky
- writing plaintext date-events and grabbing them with Linux remind
- doing something similar to "literate programming" by having code 
files as easily clickable attachments

- stupid-easy website updates by just a zim notebook and rsync ...

..etc. (as in a lot of what the org-mode people scream about, but I 
did org-mode for a year and came right back :) )


Now, I'd love to share A LOT of these ideas and I'm curious as to what 
other people do -- but it seems like such may not be appropriate for 
this list because none of this has to do with actually modifying the 
code of Zim itself? Would that bring too much clutter? Might a forum 
be appropriate? Am I missing one that's already out there? Thanks.


John


___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp



___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] I'm stepping down as Windows package maintainer. Manual install instructions included here!

2019-07-18 Thread Paulo van Breugel
Hi Brendan,

Thanks indeed for all the work you have done!

Cheers,
Paulo

On Thu, Jul 18, 2019 at 8:25 AM Jaap Karssenberg 
wrote:

> Hi Brendan,
>
> Thank you for all your hard work over the years, I very much appreciate it
> and I know lots and lots of zim users do too !
>
> I've pinned the ticket for windows installer work on the top of the issue
> list in github hoping it will be picked up by a new volunteer. WIll also
> link this email with instructions for future reference there.
>
> Kind regards,
>
> Jaap
>
>
> On Wed, Jul 17, 2019 at 6:56 AM Brendan Kidwell  wrote:
>
>> Hi all,
>>
>> I had another go at updating my Windows package building workflow, for
>> Zim 0.70+ using Python 3 and GTK 3. It does not go well.
>>
>> The only good way I could come up with to install GTK 3 for Python 3 in
>> Windows is using the MSYS2 system, and this much does work -- see below!
>> Unfortunately, moving forward from there I could not get any of the
>> installer builder systems for Python to work.
>>
>> These installer builder tools do the hard work of putting your source
>> code into some kind of bundle and copying the Python interpreter and all
>> the libraries and resource files you depend on into your build folder. I
>> got the furthest with Pyinstaller, but it does not work. Pyinstaller
>> created a 'dist' folder corrupted filenames/paths for "_struct_python-37m"
>> and "zlib-cpython-37m". I copies those in from the installed files in
>> MSYS2, but then when I ran the result, Python says it can't find 'math'.
>> That sounds bad.
>>
>> Issue 4125 on pyinstaller has been open for a few months about this.
>> https://github.com/pyinstaller/pyinstaller/issues/4125
>>
>> I have decided that personally I do not have the time and energy to deal
>> with this anymore. Building a Windows VM to work in is a pain, and my
>> personal netbook can't possibly even do this job so I have to use something
>> else when I'm working on the Windows installer for Zim.
>>
>> 
>>
>> So I am officially no longer the maintainer of the Windows installer for
>> Zim. Going forward, please use my manual install instructions reference
>> below, or use the installer for Zim 0.69, which still works fine and its
>> payload is relatively bug-free.
>>
>> I will keep my Zim web site about the IRC chat room and about the old
>> Windows installer online indefinitely.
>>
>> I am eager to help anyone else take over the role of building a new
>> installer for Zim on Windows. I can explain the work I did on the old GTK
>> 2-compatiable installer, and I'm happy to host any builds the new
>> maintainer can get working, if they do not host it themselves.
>>
>> 
>>
>> I spent a couple of hours documenting how to install Zim manaully, from
>> source, on Windows 7 or later, using the MSYS2 software catalog and package
>> manager. *Unfortuantely, you will need 1GB of space to do it!* If this
>> doesn't sound like a good idea for you or if the howto below is too
>> complicated, please continue using Zim 0.69 for Windows found on my web
>> site at https://zim.glump.net/windows/ .
>>
>> Here are my instructions for installing Zim 0.70 or later under MSYS2:
>>
>> https://github.com/jaap-karssenberg/zim-wiki/wiki/Install-Zim-0.70-or-Later-in-Windows
>>
>> ___
>> Mailing list: https://launchpad.net/~zim-wiki
>> Post to : zim-wiki@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~zim-wiki
>> More help   : https://help.launchpad.net/ListHelp
>>
> ___
> Mailing list: https://launchpad.net/~zim-wiki
> Post to : zim-wiki@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~zim-wiki
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] I'm stepping down as Windows package maintainer. Manual install instructions included here!

2019-07-19 Thread Paulo van Breugel

Hi Chuck,

Good to hear that is possible. Could you provide some instructions how to 
do this? Or a pointer where to find such instructions?


Paulo


Op 19 juli 2019 02:29:36 schreef Chuck Esterbrook :
The Windows installer definitely helped get me started with Zim Wiki (I use 
both Mac and Windows laptops and desktops at different times). But lately, 
I've been happy to run it via Microsoft's Windows Subsystem for Linux 
(WSL). It requires manual set-up but runs fine after that.



FYI.


-Chuck


___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp