Re: LyZ: LyX plugin for Zotero

2009-12-29 Thread Pavel Sanda
Petr Šimon wrote:
> Currently the citation key can be made out of 'author', 'year', 'title' and 
> optionally from separators like '_'. I will add another keyword, 'zotero' 
> that will create the cite key from unique identifier in zotero db.

yep, this was the main complaint in bug #6300. i expect two usecases -

* users who dont care a about citekeys and just want to externally push
  citations and need to keep bitex keys stable. for these zotero ID is the way.

* users who care about keys and need the stable bibtex keys too. for those
  the "customizable" citekey is the way. in this case is expecting users to
  be intelligent about the keys certainly in order.

> I have already published the plugin at Firefox addons, to spread the word 
> and get more tests done. I am using it on windows and linux and it works 
> rather smoothly. However it does seem to work on Mac. Unfortunately I don't 
> have Mac and I don't know a thing about it.

if there is contact on the addon page i'm sure they will make you know
if some problem occcurs :)

btw i searched through the web for the zotero/lytero/lyz and found your question
about omitting the mozilla dialog about overwriting file. just occured me that
deleting the file beforehead would do the job, no?

pavel


Re: LyZ: LyX plugin for Zotero

2009-12-29 Thread Petr Šimon

On 30.12.2009 6:50, Pavel Sanda wrote:

Petr Šimon wrote:
   

Currently the cite keys are customizable, but I am thinking about removing
this feature. Are there any serious reasons why custom cite keys are
important?
 

having reasonable citekeys is good once you do final polishing of exported tex
file and also good for orientation in lyx citation dialog. i didn't get if
this pose problem for the features below. in case no problem arise from
customizable keys why to remove it.

   

I want to keep them readable, so the LyX dialog can be used side
by side with Zotero, e.g. to change text before and after, because this
cannot be done through the pipe (only insertion is possible).
 

once you feel like having stable version i wouldn't mind putting some advert
into news section of lyx main page. just let us now.

pavel

   
Basically, it should pose no problems, as long as the user keeps to one 
format. Some functionality could be added if the key was not based on 
any editable values in the reference item. E.g. I have already added a 
function that updates the bibtex file, when anything is changed in 
Zotero, so if you modified author name, title or year, the citekey would 
change. But I suppose I have to put some trust into the user, right? 
After all the user can create a mess from duplicates in the reference 
library and such.
I was reluctant about "unreadable" cite keys, but I think it shouldn't 
matter. Only the Lyx citation dialog would be difficult to use for 
insertion. Editing is fine. And the document would look nasty when 
editing with keys like 0_EXL67MJ.
Currently the citation key can be made out of 'author', 'year', 'title' 
and optionally from separators like '_'. I will add another keyword, 
'zotero' that will create the cite key from unique identifier in zotero db.
I have already published the plugin at Firefox addons, to spread the 
word and get more tests done. I am using it on windows and linux and it 
works rather smoothly. However it does seem to work on Mac. 
Unfortunately I don't have Mac and I don't know a thing about it.

Thanks
Petr


Re: LyZ: LyX plugin for Zotero

2009-12-29 Thread Pavel Sanda
Petr Šimon wrote:
> Currently the cite keys are customizable, but I am thinking about removing 
> this feature. Are there any serious reasons why custom cite keys are 
> important?

having reasonable citekeys is good once you do final polishing of exported tex
file and also good for orientation in lyx citation dialog. i didn't get if
this pose problem for the features below. in case no problem arise from 
customizable keys why to remove it.

>I want to keep them readable, so the LyX dialog can be used side 
> by side with Zotero, e.g. to change text before and after, because this 
> cannot be done through the pipe (only insertion is possible).

once you feel like having stable version i wouldn't mind putting some advert
into news section of lyx main page. just let us now.

pavel


Book Section: LaTeX Document Classes

2009-12-29 Thread Rob Oakes
Dear LyX Users,

A little over a month ago, I wrote to the list about a book that I am
currently writing.  While the book is broadly about open source tools
and scientific/professional writing, there will be a rather large
section that covers LaTeX and LyX.

In my first email, I requested input as to what sorts of topics would be
most valuable.  One of the most commonly requested topics both on the
list and in personal communication was an overview of the different
LaTeX classes and when they should be used.

I have spent a considerable amount of time trying to create just that
sort of section.  And while it is not yet complete, it is far enough
along that I would like to begin soliciting feedback.

One of the challenges I have found in preparing this section is that
there is a huge amount of material describing the classes and their use.
Trying to determine which material would be most useful has proven
extremely challenging.  I've finally settled on four goals:

1.) Describe the class and its majoruses
2.) Show example output; showcase the style, layout and fonts
3.) Discuss notable special features will be described; provides
examples of their use for both LaTeX and LyX users

At present, the document summarizes the standard classes (article,
report, book and letter), memoir (some special features still need to be
included), KOMA-Script (scrartcl, scrbook, scrrpt, scrltr; the write-up
is still incomplete), Beamer, and Tufte.

If you would be interesting in previewing/offering feedback, please send
me a private email.  The chapter PDF is too large to send through the
mailing list and it is likely that my publisher would have a coronary if
I started posting chapter drafts before they had been reviewed.  As a
result, I will need to disseminate it through private mail.

Nevertheless, I would be very interest in feedback on the style,
language, or content.  I would also love to hear any positive and
negative thoughts that members of the group might have.

I look forward to your emails.

Cheers,

Rob Oakes



Re: "python -m elyxer" question

2009-12-29 Thread Joachim Osnabryg

Am 29.12.2009, 18:46 Uhr, schrieb Alex Fernandez :

If you followed the elegant procedure you just have to
click on Tools > Reconfigure and it will find eLyXer automatically
(LyX version > 1.6.5). That is why it was elegant


I agree! After the first run I'm really impressed!

A rather challanging lyx file with 4 pages (when pdf) with older  
westphalian-saxon verses were well structured transformed into html. With  
the "footnotes" (here as the tufte style specific margin notes) as margin

notes ( or however it is called in html source code).
And with the bibliographical reference on the end (where I put the link to  
the bibtex file into the LyX document. Even the margin figures were in the  
margin (linked to there temporary place in the LyX tmp dir).


Few problems are remaining:

- The strophes/stanzas within the single poems are not separated (done in
LyX with paragraph break instead of newline);
- a complicated sidenote in the abstract (vertically shifted by a TeX
inset and with a /citep{…} within) had not been placed into the margin,
but it's LyX text between the TeX-insets was within the abstract text)
- a special tufte cls and layout inset (called "numbered margin note" or
the like) which I put into one poem has not been translocated to the
margin but remained as additional row in the poem.
- In the bibliography (bibtex) reference the German umlauts are in the
LaTeX manner, e. g. »"o« instead of »ö«, but I remember you mention this
problem in "3.1 Known Issues".

Some of these problems might be resolvable with user-defined accommodation
within the css. But that'a field I might achieve in future…

But I didn't want to go into these issues en details, in the moment, but
give an enthused first echo. After further experimenting I'll come back
more precisely, perhaps better on your Elyxer-users mailing list.

Thank you for your work on it, the bygone year!
joachim
--
Mac BacicTeX 2009 - TeXShop 2.29 / TeXworks 0.2.3
LyX 1.6.5 - MacBook Pro intel OSX 10.4.11 Tiger



Re: calender

2009-12-29 Thread Paul Sutton
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Daniel Lohmann wrote:
> 
> On 27.12.2009, at 00:41, Steve Litt wrote:
> 
>> On Saturday 26 December 2009 18:02:09 Paul Sutton wrote:
>>> Hi
>>>
>>> Is it possible to produce a calender in LyX, I am looking for some sort
>>> of plug in or style to do it.
>>>
>>> thanks
>>>
>>> Paul
>>>
>>
>> I'm sure it's possible, probably with a series of tables, one for each
>> month.
>>
>> But I can sure see a lot of easier tools to use for a calender,
>> especially if
>> you know a little bit of scripting language programming.
> 
> The PGF/TikZ package contains a quite decent calendar library. Within
> LyX you have to use ERT as it is a LaTeX package, but its relatively
> easy to use.
> 
> Daniel
Ok thanks

I have found http://www.texample.net/tikz/examples/ to give a few good
examples,  i have pgf installed but do I need to install TikZ as a
separate package, under ubuntu ?

or are they one package.

Will have a read of the tutorial and information files.

paul

- --
Paul Sutton
www.zleap.net

Ubuntu 9.10 is out : Visit www.ubuntu.com for details
The January meeting of the DCLUG will now take place on SUNDAY 10th
January, 3pm at the shoreline in Paignton.
Aged 11 - 19 then dfey may be for you,  please goto http://www.dfey.org
for more details
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAks6UI4ACgkQaggq1k2FJq19TACff/PDDwmykSTgR46J1GtkNsHA
bFsAn3+L1r5AiqrdBUbRN1yVKxGKscUS
=XGHy
-END PGP SIGNATURE-


Re: calender

2009-12-29 Thread Daniel Lohmann


On 27.12.2009, at 00:41, Steve Litt wrote:


On Saturday 26 December 2009 18:02:09 Paul Sutton wrote:

Hi

Is it possible to produce a calender in LyX, I am looking for some  
sort

of plug in or style to do it.

thanks

Paul



I'm sure it's possible, probably with a series of tables, one for  
each month.


But I can sure see a lot of easier tools to use for a calender,  
especially if

you know a little bit of scripting language programming.


The PGF/TikZ package contains a quite decent calendar library. Within  
LyX you have to use ERT as it is a LaTeX package, but its relatively  
easy to use.


Daniel


Re: "python -m elyxer" question

2009-12-29 Thread Alex Fernandez
Hi Joachim,

On Tue, Dec 29, 2009 at 2:58 PM, Joachim Osnabryg  wrote:
> Today I installed elyxer (again),

It's good to see one of the earlier collaborators of eLyXer back.

> I choose the "elegant way" as described in the user-guide, see
> file:///Users/joachim/RunnerLaae/La_TeX&LyX/elyxer2009-12/docs/userguide-frameset.html
> at the end of subsection 1.2.

Good, it is the preferred method.

> In the following parts of this section of the user guide, I only see the
> commands with
> $ elyxer.py … - and not with "python -m elyxer".
> Therefore I'm tangeled (afraid to do something wrong).

Fear not. You can run everything using "python -m elyxer" just as
"elyxer.py". I have modified the User Guide to include some examples,
starting with the generic command line:
  $ python -m elyxer [options] [source file] [destination file]

> Hope that Alex "elyxer" Fernandez or someone using the "elegantly installed"
> elyxer can answer to my question, what python -m elyxer is for…

I will also answer it in the User Guide: you are running eLyXer as a
Python module, which means that you don't need to know its location on
your system.

> Yes, I had been one of the first users of elyxer on Mac (mentioned friendly
> by Alex in the "Acknowledgments"). But because of my complicated tufte
> classes, I decided to wait for further devolopements. Now making a new
> warm-up with it.

You are a patient and intelligent collaborator; I am eagerly waiting
for any input from you. By the way, maybe you could kindly request BH,
the Mac OS X maintainer for LyX, to include eLyXer in his installer. I
corresponded with him earlier on and his main concern was
maintainability of eLyXer; hopefully now that the Windows alt
installer and Debian are distributing eLyXer he will be more willing
to do it; his is the only major platform where eLyXer is not
distributed at all. Of course there are all the other Linux
distributions (besides Debian) as well...

Alex.


RE: Zotero to Bibtex to Lyx: A Problem not a baseball play

2009-12-29 Thread Rob Oakes
Hi John,

Glad to hear that things are working for you.  To get the sync working,
all I had to do was go to Tools -> Options -> Zotero /CiteULike and
Click on "Zotero integration" box.  Make sure that the path to your
Zotero database is correct (on one of my desktops, a Windows 7 box, it
was filled in automatically and incorrectly).

After that, it *should* just work. (I know that I'm using should in a
very meaningless and dangerous way.)  If you have problems, you might
consider sending an email to the Mendeley devs at supp...@mendeley.com
(or something like that, the correct email is on their website; too lazy
to check it).

I've sent a number of complaints/feature requests and they've been very
good at getting back to me.  I've never had to wait more than a few
hours.  

To enable the custom citation key, go to Tools -> Options -> Document
Details and then Click on "Citation Key".

One other point, keep in mind that only changes in Zotero are synced to
Mendeley.  It doesn't seem to work in reverse (or at least not yet).
So, if you need to change things, make sure to do it in Zotero.  For my
Zotereo citations, the only bit of information I add is a citation key
(since Zotero doesn't let me do that).

Even with the limitations, I've been very happy with Mendeley.  I've
been working on a book project for the past few months and it has been
invaluable for keeping my references and PDFs organized.  Throw in the
ability to sync with Zotero (which I use to grab websites), the indexed
and complete text search, the OpenOffice integration (I still think that
Zotero does this better, but I'm not going to complain) and I've been a
very happy camper.

If I can help with anything else, please let me know.

Cheers,

Rob

On Mon, 2009-12-28 at 15:01 -0800, John Kane wrote:
> Hi Rob,
> 
> Progress report. I reinstalled Mandeley and it seems to be working well. I 
> also installed a Foxfire sql manager extension which may or may not have 
> cured the Qt4 SQlite plugin problem. The only reference I could find about it 
> was on Kubuntu not Windows.
> 
> However, how do I get it to sync with Zotero properly?  It seems to have 
> nicely imported all the collection names that I have in Zotero but none of 
> the references!  
> 
> On the other hand I just had it import all the pdf's of journal articles I 
> had stored in a folder and it performed wonderfully. :)  It's now on my 
> watched folder list.  Wonderful!
> 
> At the moment if I can get the Mandeley-Zotero sync to work properly the two 
> look to be extremely complimentary products.
> 
> Many thanks for the 
> 
> 
> --- On Mon, 12/28/09, John Kane  wrote:
> 
> > From: John Kane 
> > Subject: RE: Zotero to Bibtex to Lyx:  A Problem not a  baseball play
> > To: "Rob Oakes" 
> > Cc: lyx-users@lists.lyx.org
> > Received: Monday, December 28, 2009, 3:40 PM
> > Thanks Rob.  I remember looking
> > at Mendeley just after installing Zotero and deciding not to
> > try two at the same time.
> > 
> > I've installed Mendeley and it loads but I'm now getting
> > the message:
> > 
> > "It appears that you have Qt installed on your system, but
> > do not have
> > the sqlite plugin installed, which Mendeley requires. \
> > Please install the Qt4 sqlite plugin, in order to use
> > Mendeley.
> > If you are using a Debian-based system, such as Ubuntu,
> > this is the
> >  libqt4-sql-sqlite package, and can be installed with
> > command 'apt-get install libqt4-sql-sqlite'.
> > Alternatively,
> > remove your system Qt libraries, and Mendeley will use
> > bundled copies."
> > 
> > So now all I have to do if figue out if I do have Qt
> > installed ( I find lots of Qt files in MikTex and Lyx so I
> > must have it somewhere) and track down the SQlite
> > plugin.  Closer all the time!
> > 
> > 
> > 
> > --- On Sun, 12/27/09, Rob Oakes 
> > wrote:
> > 
> > > From: Rob Oakes 
> > > Subject: RE: Zotero to Bibtex to Lyx:  A Problem
> > not a  baseball play
> > > To: "'John Kane'" 
> > > Cc: lyx-users@lists.lyx.org
> > > Received: Sunday, December 27, 2009, 4:55 PM
> > > Hi John,
> > > 
> > > By default, Zotero produces atrocious looking
> > BibTeX. 
> > > By far the ugliest
> > > offenders, as you have noticed, are in the citation
> > > keys.  It uses weird
> > > character encodings (I'm frankly not even sure what
> > they
> > > are), that can't be
> > > processed by LaTeX.  When these characters appear,
> > the
> > > only way I've been
> > > able to get things to work is by manually redefining
> > the
> > > citation keys.  Of
> > > course, this must be done after every export.  (A
> > > tremendous and
> > > non-productive pain.)
> > > 
> > > The best solution I've found is to not use Zotero for
> > > BibTeX.  But since I
> > > love using Zotero to collect citations and references
> > from
> > > the web, this
> > > poses a problem.
> > > 
> > > Luckily, I've managed to rig an acceptable
> > alternative
> > > using a reference
> > > manager called Mendeley as an intermediary.  You can
> > > configur

"python -m elyxer" question

2009-12-29 Thread Joachim Osnabryg

Today I installed elyxer (again),

I choose the "elegant way" as described in the user-guide, see
file:///Users/joachim/RunnerLaae/La_TeX&LyX/elyxer2009-12/docs/userguide-frameset.html
at the end of subsection 1.2.

The last Terminal command which I did on my Mac-OSX was:
sudo python setup.py install
- with success, no error message!

But I don't understand the meaning of the last phrase in the subsection  
1.2:


"From now on we will assume that you are running elyxer.py as an  
executable file,
=> but you should substitute that for python -m elyxer if you have opted  
for this elegant procedure."


In the following parts of this section of the user guide, I only see the  
commands with

$ elyxer.py … - and not with "python -m elyxer".
Therefore I'm tangeled (afraid to do something wrong).

Hope that Alex "elyxer" Fernandez or someone using the "elegantly  
installed" elyxer can answer to my question, what python -m elyxer is for…


joachim
PS:
Yes, I had been one of the first users of elyxer on Mac (mentioned  
friendly by Alex in the "Acknowledgments"). But because of my complicated  
tufte classes, I decided to wait for further devolopements. Now making a  
new warm-up with it.

--
Mac BacicTeX 2009 - TeXShop 2.29 / TeXworks 0.2.3
LyX 1.6.5 - MacBook Pro intel OSX 10.4.11 Tiger



Re: OT: copy a modern greek-encoded text

2009-12-29 Thread Liviu Andronic
On Mon, Dec 28, 2009 at 4:16 PM, Diego Queiroz  wrote:
> If the translation of this document is very important, I think you have to
> transliterate it by yourself or using an OCR tool (of course, this tool has
> to be able to distinguish Greek characters, so it won't be an easy task).
>
There is cuneiform and ocropus that might be able to recognize Greek
characters.

Otherwise, try the unprobable solution of pdf to word conversion [1].
Liviu

[1] http://www.pdftoword.com/


Re: Creating Modules

2009-12-29 Thread rgheck

On 12/28/2009 10:15 PM, Jason Waskiewicz wrote:
I am interested in creating 1, possibly 2 modules to use with the 
Memoir class to do some things that I've been doing with ERT. 
Unfortunately, I can't seem to find much on the LyX wiki about 
modules. Can anyone direct me to better information?



Chapter 5 of the Customization manual. And look at the existing modules.

rh