[Zim-wiki] Request for Plugin

2016-04-20 Thread Bo Grimes
I don't like looking at the bottom of the screen all the time.  Hurts my 
neck for one. Since the physical structure of my desk prevents me from 
raising the monitor more than 3 inches off the desk (roll top), my other 
option is to resize my window to only go to half screen. I don't like 
that either, and can't in fullscreen mode.


I first discovered typewriter scroll with Scrivener, and would love to 
see a plug-in for Zim that can be turned on and off, like Sublime Text 
has.  See: https://github.com/alehandrof/Typewriter.


I have no idea how difficult this might be.  I am willing to pay $100.00 
for the development of this plug-in, that also works in fullscreen mode 
and on both Windows and Linux versions.  That isn't much--unless it took 
5 minutes and 10 lines of code--but all I could offer.  If multiple 
parties wished to cooperate to develop it, I could make it a donation to 
Zim instead or divide it equally across the developers, so I guess 
upfront coordination would be necessary to avoid duplication of time and 
effort.  It would need to be more than an Emacs M-x recenter, though 
even that is better than every word processor ever made.


I really don't know how supporting developers directly works, as I have 
only supported projects, so if I sound stupid or naive or it's too hard 
and I'm showing ignorance, you can mock me (but be gentle, please).  But 
if this is do-able and the list is an appropriate place to hammer it out 
or others also wish to support this then great!


Cheers,
Bo Grimes
___
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-20 Thread JP Vossen

If you are a CLI junky:

sudo apt-get install xsel
alias gc='xsel -b'  # Get Clipboard
alias pc='xsel -bi' # Put Clipboard

Now you can do many awesome things by reading/writing the clipboard and 
using CLI tools!


Then:
alias strip='xsel -b | xsel -bi'# Strip  for Zim

You might be able to add something like that to a launcher.  Worst case 
you could write a 2 line shell script and add that to a Mint launcher. 
I personally find it easier to flip to my CLI and do it, but whatever.


FYI, I'm writing this from Thunderbird on Mint 17. :-)


On 04/20/2016 04:55 AM, J. M. Korhonen wrote:

Thanks for the help. It indeed seems to be a problem with source
program, as formatted text from e.g. OpenOffice pastes nicely. Ah well,
will have to continue using the gedit intermediate step; from answers to
Marco's earlier question, I noted that there's apparently Perl script
that strips the clipboard formatting but I'm probably too lazy to use it
:).

My system is Linux Mint 17.3., BTW.

Thanks again,

Janne

On Tue, Apr 19, 2016 at 3:21 PM, Marco Cevoli mailto:marco.cev...@gmail.com>> wrote:

I had a similar issue with text pasted from PowerPoint, which is
pasted as image. It's something related to the "source" program, not
to Zim Wiki. If you search for messages posted by me, you should see
the answer I got at the time I posted about this strange behaviour
(sorry, I can't remember what it was).

Regards

Marco Cevoli


On Tue, Apr 19, 2016 at 2:15 PM, Paulo van Breugel
mailto:p.vanbreu...@gmail.com>> wrote:
 >
 >
 > On Tue, Apr 19, 2016 at 1:52 PM, J. M. Korhonen
mailto:jmkorho...@gmail.com>>
 > 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.



Later,
JP
--  ---
JP Vossen, CISSP | http://www.jpsdomain.org/ | http://bashcookbook.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] How to paste formatted (rich) text to Zim editor? (Feature request?)

2016-04-20 Thread J. M. Korhonen
Thanks for the help. It indeed seems to be a problem with source program,
as formatted text from e.g. OpenOffice pastes nicely. Ah well, will have to
continue using the gedit intermediate step; from answers to Marco's earlier
question, I noted that there's apparently Perl script that strips the
clipboard formatting but I'm probably too lazy to use it :).

My system is Linux Mint 17.3., BTW.

Thanks again,

Janne

On Tue, Apr 19, 2016 at 3:21 PM, Marco Cevoli 
wrote:

> I had a similar issue with text pasted from PowerPoint, which is
> pasted as image. It's something related to the "source" program, not
> to Zim Wiki. If you search for messages posted by me, you should see
> the answer I got at the time I posted about this strange behaviour
> (sorry, I can't remember what it was).
>
> Regards
>
> Marco Cevoli
>
>
> On Tue, Apr 19, 2016 at 2:15 PM, Paulo van Breugel
>  wrote:
> >
> >
> > 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
> >
>
> ___
> 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
>



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