Re: Updating to new Texlive release

2011-09-16 Thread Julio Rojas
Glad you solved the problem. What I still cannot believe is how
difficult is it to set the path for your graphic environment in Linux.
*roll eyes*

Regards.
-
Julio Rojas
jcredbe...@gmail.com



On Fri, Sep 16, 2011 at 1:24 AM, stefano franchi
 wrote:
> Problem solved :-)
>
> Thanks to everyone, and particularly to Julio for pointing me in the
> right direction. As he guessed, the problem was not with Lyx, but with
> the environment that Kde works with. I always launch my applications
> from Krunner (the little Kde app that offer a command line-like
> mini-screen). After a lot of searching, I discovered that:
>
> 1. Krunner uses the PATH variables set by startkde (the script that
> starts the KDE desktop)
>
> 2. startkde does two things, path-wise:
>   a - first it uses the PATH settings it inherits from the process it
> is run from;
>   b - then it looks for executable (i.e scripts) files in kde's  /env
>  directories (e.g. in $HOME/.kde4/env and other env dirs system wide)
>   c - it runs any executable files it finds
>
> 3. To align the PATH variable in a bash shell (which I set in .profile
> and .bash_profile) with krunner's, I wrote a one-line file which
> exports  the correct path, called it profile.sh, made it executable,
> and put it in a newly created  dir ~HOME/.kde4/env
>
> after logging out and restarting kde, lyx now finds TL2011 when
> launched  from a shell and from Krunner.
>
>
> Thanks to everyone.
>
>
> Cheers,
>
> Stefano
>
> On Thu, Sep 15, 2011 at 4:42 PM, Paul Rubin  wrote:
>> In LyX, could Tools > Preferences > Paths > PATH prefix be pointing to the 
>> old
>> version?
>>
>> Paul
>>
>>
>>
>
>
>
> --
> __
> Stefano Franchi
> Associate Research Professor
> Department of Hispanic Studies            Ph:   +1 (979) 845-2125
> Texas A University                          Fax:  +1 (979) 845-6421
> College Station, Texas, USA
>


Re: Again eLyXer, but bibtex this time

2011-09-16 Thread Guenter Milde
On 2011-09-16, Alex Fernandez wrote:
> Hi again,

> On Thu, Sep 15, 2011 at 7:08 PM, Murat Yildizoglu  wrote:
>> I am meeting another problem with elyxer conversion. If I do not put
>> the .bib files in the same folder as the .lyx file, elyxer does not
>> seem able to find them, and the bibliography is empty. If I put them
>> in the same folder, I get the bibliography.

> You can also use relative paths, and they are supposed to work! Where
> are you placing the .bib files?

In all modern LaTeX distributions, bibtex databases are searched along
the bibpath with the kpathsea library. There is the command line utility
kpsewhich for use by other programs.

E.g. bibtex file ``foo.bib`` can be found with the command::

   kpsewhich -format bib foo.bib

(if the filename extension is ``.bib``, the -format specifier can be omitted).

May be there is even a Python wrapper. Looking at the Python-based bibtex
engines could give more info. There are (at least):

 * CrossTeX_, a backwards-compatible, improved bibtex
   re-implementation in Python (including HTML export).
   (development stalled since 2 years)

 * Pybtex_,a drop-in replacement for BibTeX written in Python.

   * BibTeX styles & (experimental) pythonic style API.
   * Database in BibTeX, BibTeXML and YAML formats.
   * full Unicode support.
   * Write to TeX, HTML and plain text.

.. _CrossTeX: http://www.cs.cornell.edu/people/egs/crosstex/
.. _Pybtex:   http://pybtex.sourceforge.net/


BTW: How about using Pybtex for the citation-formatting?

Günter



Lecture is better than beamer

2011-09-16 Thread Mukhtar Ullah
Dear LyX developers,
I would like to drive your attention to this wonderful class "Lecturer" which is
very simple to use and yet very powerful compared to beamer. It would be great
if you consider supporting this in future versions of LyX by providing the
necessary layout files.

East or west, LyX is the best,

Mukhtar



Re: Lecture is better than beamer

2011-09-16 Thread Steve Litt
On Friday, September 16, 2011 07:45:23 AM Mukhtar Ullah wrote:
> Dear LyX developers,
> I would like to drive your attention to this wonderful class
> "Lecturer" which is very simple to use and yet very powerful
> compared to beamer. It would be great if you consider supporting
> this in future versions of LyX by providing the necessary layout
> files.
> 
> East or west, LyX is the best,
> 
> Mukhtar

Beamer's pretty good. In what ways is Lecturer better? What are its 
pros and cons? What are its design priorities? What types of 
presentations would best be served by Lecturer?

SteveT
 
Steve Litt
Author: The Key to Everyday Excellence
http://www.troubleshooters.com/bookstore/key_excellence.htm
Twitter: http://www.twitter.com/stevelitt



Re: Again eLyXer, but bibtex this time

2011-09-16 Thread Alex Fernandez
Hi Günter,

On Fri, Sep 16, 2011 at 9:04 AM, Guenter Milde  wrote:
> In all modern LaTeX distributions, bibtex databases are searched along
> the bibpath with the kpathsea library. There is the command line utility
> kpsewhich for use by other programs.

Aha, I always supposed that the .bib file had to be stored along with
the .lyx file.

> E.g. bibtex file ``foo.bib`` can be found with the command::
>
>   kpsewhich -format bib foo.bib
>
> (if the filename extension is ``.bib``, the -format specifier can be omitted).

Good idea, it should not take too much effort to write a wrapper.
There is already one for ImageMagick's convert.

> May be there is even a Python wrapper. Looking at the Python-based bibtex
> engines could give more info. There are (at least):
>
>         * CrossTeX_, a backwards-compatible, improved bibtex
>           re-implementation in Python (including HTML export).
>           (development stalled since 2 years)
>
>         * Pybtex_,a drop-in replacement for BibTeX written in Python.
>
>           * BibTeX styles & (experimental) pythonic style API.
>           * Database in BibTeX, BibTeXML and YAML formats.
>           * full Unicode support.
>           * Write to TeX, HTML and plain text.
>
> .. _CrossTeX: http://www.cs.cornell.edu/people/egs/crosstex/
> .. _Pybtex:   http://pybtex.sourceforge.net/
>
>
> BTW: How about using Pybtex for the citation-formatting?

Perhaps a bit too involved at this stage, it would have been nice to
integrate instead of writing my own stuff (but it sure was fun!).

Alex.


Re: Lecture is better than beamer

2011-09-16 Thread Richard Heck

On 09/16/2011 07:45 AM, Mukhtar Ullah wrote:

Dear LyX developers,
I would like to drive your attention to this wonderful class "Lecturer" which is
very simple to use and yet very powerful compared to beamer. It would be great
if you consider supporting this in future versions of LyX by providing the
necessary layout files.

Please feel free to write one! We'd be happy to include it.

You can probably start with a layout file we already have and modify it. 
Ask questions here if you get stuck.


Richard



Invitation to connect on LinkedIn

2011-09-16 Thread Bart Deruyter via LinkedIn
LinkedIn





Bart Deruyter requested to add you as a connection on LinkedIn:
  
--

John,

I'd like to add you to my professional network on LinkedIn.

- Bart

Accept invitation from Bart Deruyter
http://www.linkedin.com/e/-mdtvpu-gsn9mw0c-2z/iMC0WjH5iE2J5t8N06FfJiDBYiFxKVYTer8_/blk/I3119659039_2/1BpC5vrmRLoRZcjkkZt5YCpnlOt3RApnhMpmdzgmhxrSNBszYOnPAPc3ARdzANcjd9bSdarQ54rmNQbP4MdjoRe3oPczgLrCBxbOYWrSlI/EML_comm_afe/?hs=false=3uWDqt0t46KkU1

View invitation from Bart Deruyter
http://www.linkedin.com/e/-mdtvpu-gsn9mw0c-2z/iMC0WjH5iE2J5t8N06FfJiDBYiFxKVYTer8_/blk/I3119659039_2/39vejcMejkSej4NcQALqnpPbOYWrSlI/svi/?hs=false=3tUu-p8bw6KkU1
--

DID YOU KNOW you can be the first to know when a trusted member of your network 
changes jobs? With Network Updates on your LinkedIn home page, you'll be 
notified as members of your network change their current position. Be the first 
to know and reach out!
http://www.linkedin.com/
 
-- 
(c) 2011, LinkedIn Corporation

Lyx compile corrupt OpenDocument documents

2011-09-16 Thread Kalisch Dominik P.H.
Hi,

I have a problem with the OpenDocument support. I need to export my document, 
with a heavy use of formulasm tables and images, to word. Because there is no 
direct export function to word, I thought I can export that file to 
OpenDocument, open it with OpenOffice and save it as a word document. But the 
export function just produces a corrupt ODF file.
Does anyone have a good suggestion, besides write my text in Word?

Thanks a lot for your help.
Dominik

Re: Lyx compile corrupt OpenDocument documents

2011-09-16 Thread Julio Rojas
Welcome to hell!!! Sorry Dominik, but this is one feature LyX really
lacks. Check the wiki:

http://wiki.lyx.org/FAQ/ImportExport#word

And this thread:
http://www.latex-community.org/forum/viewtopic.php?f=19=8779

Short story, export the text only and do everything else (formulas,
plots, margins, even citations/bibliography) directly in
Word/OpenOffice.

Regards.
-
Julio Rojas
jcredbe...@gmail.com



On Fri, Sep 16, 2011 at 5:27 PM, Kalisch Dominik P.H.
 wrote:
> Hi,
>
> I have a problem with the OpenDocument support. I need to export my document, 
> with a heavy use of formulasm tables and images, to word. Because there is no 
> direct export function to word, I thought I can export that file to 
> OpenDocument, open it with OpenOffice and save it as a word document. But the 
> export function just produces a corrupt ODF file.
> Does anyone have a good suggestion, besides write my text in Word?
>
> Thanks a lot for your help.
> Dominik


Re: Lyx compile corrupt OpenDocument documents

2011-09-16 Thread Richard Heck

On 09/16/2011 11:27 AM, Kalisch Dominik P.H. wrote:

Hi,

I have a problem with the OpenDocument support. I need to export my document, 
with a heavy use of formulasm tables and images, to word. Because there is no 
direct export function to word, I thought I can export that file to 
OpenDocument, open it with OpenOffice and save it as a word document. But the 
export function just produces a corrupt ODF file.
Does anyone have a good suggestion, besides write my text in Word?

The oolatex converter doesn't do a very good job with complex documents. 
There are other routes you can try, e.g., exporting to HTML and 
importing that into OOo. If you use the LyXHTML export with MathML, that 
may preserve your formluae. I don't know. Yet another option is to 
export to RTF, using the latex2rtf converter, but that probably won't do 
much with formulae.


Richard



Re: Lyx compile corrupt OpenDocument documents

2011-09-16 Thread Murat Yildizoglu
If I remember well, I had some success with oolatex by exporting the
file latex and than executing in a terminal :

mk4ht oolatex myfile.tex

There is also a plugin for OpenOffice that can import latex if I
remember correctly (I do not use OOffice very frequently).

2011/9/16 Julio Rojas :
> Welcome to hell!!! Sorry Dominik, but this is one feature LyX really
> lacks. Check the wiki:
>
> http://wiki.lyx.org/FAQ/ImportExport#word
>
> And this thread:
> http://www.latex-community.org/forum/viewtopic.php?f=19=8779
>
> Short story, export the text only and do everything else (formulas,
> plots, margins, even citations/bibliography) directly in
> Word/OpenOffice.
>
> Regards.
> -
> Julio Rojas
> jcredbe...@gmail.com
>
>
>
> On Fri, Sep 16, 2011 at 5:27 PM, Kalisch Dominik P.H.
>  wrote:
>> Hi,
>>
>> I have a problem with the OpenDocument support. I need to export my 
>> document, with a heavy use of formulasm tables and images, to word. Because 
>> there is no direct export function to word, I thought I can export that file 
>> to OpenDocument, open it with OpenOffice and save it as a word document. But 
>> the export function just produces a corrupt ODF file.
>> Does anyone have a good suggestion, besides write my text in Word?
>>
>> Thanks a lot for your help.
>> Dominik
>



-- 
Prof. Murat Yildizoglu
Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

yi...@u-bordeaux4.fr
http://yildizoglu.info
http://www.twitter.com/yildizoglu


Re: Lyx compile corrupt OpenDocument documents

2011-09-16 Thread Murat Yildizoglu
I think that my memory is failing me at least for the second point, I
have started my NeoOffice and it does not seem to be able to import
Latex files, strange... I was probably confused between this and the
conversion in the other direction (Writer2Latex extension does it) I
am quite sure about my tests for the first point...

2011/9/16 Murat Yildizoglu :
> If I remember well, I had some success with oolatex by exporting the
> file latex and than executing in a terminal :
>
> mk4ht oolatex myfile.tex
>
> There is also a plugin for OpenOffice that can import latex if I
> remember correctly (I do not use OOffice very frequently).
>
> 2011/9/16 Julio Rojas :
>> Welcome to hell!!! Sorry Dominik, but this is one feature LyX really
>> lacks. Check the wiki:
>>
>> http://wiki.lyx.org/FAQ/ImportExport#word
>>
>> And this thread:
>> http://www.latex-community.org/forum/viewtopic.php?f=19=8779
>>
>> Short story, export the text only and do everything else (formulas,
>> plots, margins, even citations/bibliography) directly in
>> Word/OpenOffice.
>>
>> Regards.
>> -
>> Julio Rojas
>> jcredbe...@gmail.com
>>
>>
>>
>> On Fri, Sep 16, 2011 at 5:27 PM, Kalisch Dominik P.H.
>>  wrote:
>>> Hi,
>>>
>>> I have a problem with the OpenDocument support. I need to export my 
>>> document, with a heavy use of formulasm tables and images, to word. Because 
>>> there is no direct export function to word, I thought I can export that 
>>> file to OpenDocument, open it with OpenOffice and save it as a word 
>>> document. But the export function just produces a corrupt ODF file.
>>> Does anyone have a good suggestion, besides write my text in Word?
>>>
>>> Thanks a lot for your help.
>>> Dominik
>>
>
>
>
> --
> Prof. Murat Yildizoglu
> Université Montesquieu Bordeaux IV
> GREThA (UMR CNRS 5113)
> Avenue Léon Duguit
> 33608 Pessac cedex
> France
>
> yi...@u-bordeaux4.fr
> http://yildizoglu.info
> http://www.twitter.com/yildizoglu
>



-- 
Prof. Murat Yildizoglu
Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

yi...@u-bordeaux4.fr
http://yildizoglu.info
http://www.twitter.com/yildizoglu


Re: Again eLyXer, but bibtex this time

2011-09-16 Thread Guenter Milde
On 2011-09-16, Alex Fernandez wrote:
> Hi Günter,

> On Fri, Sep 16, 2011 at 9:04 AM, Guenter Milde  wrote:

>> E.g. bibtex file ``foo.bib`` can be found with the command::

>>   kpsewhich -format bib foo.bib

> Good idea, it should not take too much effort to write a wrapper.
> There is already one for ImageMagick's convert.

There is one in pybtex, see below,

Günter


pybtex/kpatsea.py:

# Copyright (c) 2007, 2008, 2009, 2010, 2011  Andrey Golovizin
# 
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
# 
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
# 
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

from subprocess import Popen, PIPE

def kpsewhich(filename):
p = Popen(['kpsewhich', filename], stdout=PIPE, stderr=PIPE)
path = p.communicate()[0].rstrip()
if p.returncode == 0:
return path



Xy-pic command doesn't seem to work (bis)

2011-09-16 Thread Alberto Alcalá Alvarez
Sorry, in my last e-mail, I missed the @-sign just before the braces of the 
arrow modifier... I still can't get it to work. I even tried copying code from 
the manual directly into lyx.Please help me out! 
\xymatrix { B \ar[r] }
types out:       B  ---> R  
while
\xymatrix { B \ar@{-->}[r] R}does something like       B>^[r]     RI 
already tried several combinations for spaces and brackets and even tried other 
arrow modifiers, checked the XY-guide and the XY tutorial, yet I can't get 
things like   B - - - >R or B  >- - - >R. I keep getting error messages:  
"command used out of context", "extra { or forgotten $", "missing { inserted". 
by the way, i'm using mac osX and lyx 2.0.. hope somebody can help me out, 
thanks

Re: Chinese characters in German text

2011-09-16 Thread Guenter Milde
On 2011-09-15, Liviu Andronic wrote:
> On Thu, Sep 15, 2011 at 11:15 AM, Aileen Mueller
> wrote:
>> I am using Lyx 2.0 and JabRef for references. I write my thesis in
>> German and need to include some references in Chinese characters. I
>> use Unicode and am able to input Chinese characters in JabRef, but
>> when I want to include them in Lyx it doesn't seem to work. I only get
>> a question mark for all my references in Lyx, including those which
>> are in German. How can I fix this?

Did you already try whether Chinese characters work at all (i.e. in the
document)? Maybe you need to switch to XeTeX/LuaTex. With LyX 2.x, this can
be done via the "use nonTeX fonts" button under Document>Settings>Fonts.

> I'm no expert, but I think I heard that bibtex didn't support Unicode.
> One alternative would be biblatex. This has been discussed several
> times on teh list. You may also want to look into using XeTeX, if you
> want to mix "exotic" scripts into your LyX document.

While biblatex is a powerfull replacement for bibtex which not only does
support Unicode but also new styles and fields and configuration, it is
quite complex to use and yet not natively supported by LyX.

OTOH, there is http://pybtex.sourceforge.net/ which says:

  Pybtex is a drop-in replacement for BibTeX written in Python. You can
  start using it right now by simply typing pybtex where you would have
  typed bibtex.
  
(is the bibtex program configurable in LyX or would a symlink like
/usr/local/bibtex -> /usr/pybtex be needed to "fool" LyX.)
 
Günter
  



Re: Updating to new Texlive release

2011-09-16 Thread Julio Rojas
Glad you solved the problem. What I still cannot believe is how
difficult is it to set the path for your graphic environment in Linux.
*roll eyes*

Regards.
-
Julio Rojas
jcredbe...@gmail.com



On Fri, Sep 16, 2011 at 1:24 AM, stefano franchi
stefano.fran...@gmail.com wrote:
 Problem solved :-)

 Thanks to everyone, and particularly to Julio for pointing me in the
 right direction. As he guessed, the problem was not with Lyx, but with
 the environment that Kde works with. I always launch my applications
 from Krunner (the little Kde app that offer a command line-like
 mini-screen). After a lot of searching, I discovered that:

 1. Krunner uses the PATH variables set by startkde (the script that
 starts the KDE desktop)

 2. startkde does two things, path-wise:
   a - first it uses the PATH settings it inherits from the process it
 is run from;
   b - then it looks for executable (i.e scripts) files in kde's  /env
  directories (e.g. in $HOME/.kde4/env and other env dirs system wide)
   c - it runs any executable files it finds

 3. To align the PATH variable in a bash shell (which I set in .profile
 and .bash_profile) with krunner's, I wrote a one-line file which
 exports  the correct path, called it profile.sh, made it executable,
 and put it in a newly created  dir ~HOME/.kde4/env

 after logging out and restarting kde, lyx now finds TL2011 when
 launched  from a shell and from Krunner.


 Thanks to everyone.


 Cheers,

 Stefano

 On Thu, Sep 15, 2011 at 4:42 PM, Paul Rubin ru...@msu.edu wrote:
 In LyX, could Tools  Preferences  Paths  PATH prefix be pointing to the 
 old
 version?

 Paul






 --
 __
 Stefano Franchi
 Associate Research Professor
 Department of Hispanic Studies            Ph:   +1 (979) 845-2125
 Texas AM University                          Fax:  +1 (979) 845-6421
 College Station, Texas, USA



Re: Again eLyXer, but bibtex this time

2011-09-16 Thread Guenter Milde
On 2011-09-16, Alex Fernandez wrote:
 Hi again,

 On Thu, Sep 15, 2011 at 7:08 PM, Murat Yildizoglu myi...@gmail.com wrote:
 I am meeting another problem with elyxer conversion. If I do not put
 the .bib files in the same folder as the .lyx file, elyxer does not
 seem able to find them, and the bibliography is empty. If I put them
 in the same folder, I get the bibliography.

 You can also use relative paths, and they are supposed to work! Where
 are you placing the .bib files?

In all modern LaTeX distributions, bibtex databases are searched along
the bibpath with the kpathsea library. There is the command line utility
kpsewhich for use by other programs.

E.g. bibtex file ``foo.bib`` can be found with the command::

   kpsewhich -format bib foo.bib

(if the filename extension is ``.bib``, the -format specifier can be omitted).

May be there is even a Python wrapper. Looking at the Python-based bibtex
engines could give more info. There are (at least):

 * CrossTeX_, a backwards-compatible, improved bibtex
   re-implementation in Python (including HTML export).
   (development stalled since 2 years)

 * Pybtex_,a drop-in replacement for BibTeX written in Python.

   * BibTeX styles  (experimental) pythonic style API.
   * Database in BibTeX, BibTeXML and YAML formats.
   * full Unicode support.
   * Write to TeX, HTML and plain text.

.. _CrossTeX: http://www.cs.cornell.edu/people/egs/crosstex/
.. _Pybtex:   http://pybtex.sourceforge.net/


BTW: How about using Pybtex for the citation-formatting?

Günter



Lecture is better than beamer

2011-09-16 Thread Mukhtar Ullah
Dear LyX developers,
I would like to drive your attention to this wonderful class Lecturer which is
very simple to use and yet very powerful compared to beamer. It would be great
if you consider supporting this in future versions of LyX by providing the
necessary layout files.

East or west, LyX is the best,

Mukhtar



Re: Lecture is better than beamer

2011-09-16 Thread Steve Litt
On Friday, September 16, 2011 07:45:23 AM Mukhtar Ullah wrote:
 Dear LyX developers,
 I would like to drive your attention to this wonderful class
 Lecturer which is very simple to use and yet very powerful
 compared to beamer. It would be great if you consider supporting
 this in future versions of LyX by providing the necessary layout
 files.
 
 East or west, LyX is the best,
 
 Mukhtar

Beamer's pretty good. In what ways is Lecturer better? What are its 
pros and cons? What are its design priorities? What types of 
presentations would best be served by Lecturer?

SteveT
 
Steve Litt
Author: The Key to Everyday Excellence
http://www.troubleshooters.com/bookstore/key_excellence.htm
Twitter: http://www.twitter.com/stevelitt



Re: Again eLyXer, but bibtex this time

2011-09-16 Thread Alex Fernandez
Hi Günter,

On Fri, Sep 16, 2011 at 9:04 AM, Guenter Milde mi...@users.berlios.de wrote:
 In all modern LaTeX distributions, bibtex databases are searched along
 the bibpath with the kpathsea library. There is the command line utility
 kpsewhich for use by other programs.

Aha, I always supposed that the .bib file had to be stored along with
the .lyx file.

 E.g. bibtex file ``foo.bib`` can be found with the command::

   kpsewhich -format bib foo.bib

 (if the filename extension is ``.bib``, the -format specifier can be omitted).

Good idea, it should not take too much effort to write a wrapper.
There is already one for ImageMagick's convert.

 May be there is even a Python wrapper. Looking at the Python-based bibtex
 engines could give more info. There are (at least):

         * CrossTeX_, a backwards-compatible, improved bibtex
           re-implementation in Python (including HTML export).
           (development stalled since 2 years)

         * Pybtex_,a drop-in replacement for BibTeX written in Python.

           * BibTeX styles  (experimental) pythonic style API.
           * Database in BibTeX, BibTeXML and YAML formats.
           * full Unicode support.
           * Write to TeX, HTML and plain text.

 .. _CrossTeX: http://www.cs.cornell.edu/people/egs/crosstex/
 .. _Pybtex:   http://pybtex.sourceforge.net/


 BTW: How about using Pybtex for the citation-formatting?

Perhaps a bit too involved at this stage, it would have been nice to
integrate instead of writing my own stuff (but it sure was fun!).

Alex.


Re: Lecture is better than beamer

2011-09-16 Thread Richard Heck

On 09/16/2011 07:45 AM, Mukhtar Ullah wrote:

Dear LyX developers,
I would like to drive your attention to this wonderful class Lecturer which is
very simple to use and yet very powerful compared to beamer. It would be great
if you consider supporting this in future versions of LyX by providing the
necessary layout files.

Please feel free to write one! We'd be happy to include it.

You can probably start with a layout file we already have and modify it. 
Ask questions here if you get stuck.


Richard



Invitation to connect on LinkedIn

2011-09-16 Thread Bart Deruyter via LinkedIn
LinkedIn





Bart Deruyter requested to add you as a connection on LinkedIn:
  
--

John,

I'd like to add you to my professional network on LinkedIn.

- Bart

Accept invitation from Bart Deruyter
http://www.linkedin.com/e/-mdtvpu-gsn9mw0c-2z/iMC0WjH5iE2J5t8N06FfJiDBYiFxKVYTer8_/blk/I3119659039_2/1BpC5vrmRLoRZcjkkZt5YCpnlOt3RApnhMpmdzgmhxrSNBszYOnPAPc3ARdzANcjd9bSdarQ54rmNQbP4MdjoRe3oPczgLrCBxbOYWrSlI/EML_comm_afe/?hs=falsetok=3uWDqt0t46KkU1

View invitation from Bart Deruyter
http://www.linkedin.com/e/-mdtvpu-gsn9mw0c-2z/iMC0WjH5iE2J5t8N06FfJiDBYiFxKVYTer8_/blk/I3119659039_2/39vejcMejkSej4NcQALqnpPbOYWrSlI/svi/?hs=falsetok=3tUu-p8bw6KkU1
--

DID YOU KNOW you can be the first to know when a trusted member of your network 
changes jobs? With Network Updates on your LinkedIn home page, you'll be 
notified as members of your network change their current position. Be the first 
to know and reach out!
http://www.linkedin.com/
 
-- 
(c) 2011, LinkedIn Corporation

Lyx compile corrupt OpenDocument documents

2011-09-16 Thread Kalisch Dominik P.H.
Hi,

I have a problem with the OpenDocument support. I need to export my document, 
with a heavy use of formulasm tables and images, to word. Because there is no 
direct export function to word, I thought I can export that file to 
OpenDocument, open it with OpenOffice and save it as a word document. But the 
export function just produces a corrupt ODF file.
Does anyone have a good suggestion, besides write my text in Word?

Thanks a lot for your help.
Dominik

Re: Lyx compile corrupt OpenDocument documents

2011-09-16 Thread Julio Rojas
Welcome to hell!!! Sorry Dominik, but this is one feature LyX really
lacks. Check the wiki:

http://wiki.lyx.org/FAQ/ImportExport#word

And this thread:
http://www.latex-community.org/forum/viewtopic.php?f=19t=8779

Short story, export the text only and do everything else (formulas,
plots, margins, even citations/bibliography) directly in
Word/OpenOffice.

Regards.
-
Julio Rojas
jcredbe...@gmail.com



On Fri, Sep 16, 2011 at 5:27 PM, Kalisch Dominik P.H.
domi...@kalisch.biz wrote:
 Hi,

 I have a problem with the OpenDocument support. I need to export my document, 
 with a heavy use of formulasm tables and images, to word. Because there is no 
 direct export function to word, I thought I can export that file to 
 OpenDocument, open it with OpenOffice and save it as a word document. But the 
 export function just produces a corrupt ODF file.
 Does anyone have a good suggestion, besides write my text in Word?

 Thanks a lot for your help.
 Dominik


Re: Lyx compile corrupt OpenDocument documents

2011-09-16 Thread Richard Heck

On 09/16/2011 11:27 AM, Kalisch Dominik P.H. wrote:

Hi,

I have a problem with the OpenDocument support. I need to export my document, 
with a heavy use of formulasm tables and images, to word. Because there is no 
direct export function to word, I thought I can export that file to 
OpenDocument, open it with OpenOffice and save it as a word document. But the 
export function just produces a corrupt ODF file.
Does anyone have a good suggestion, besides write my text in Word?

The oolatex converter doesn't do a very good job with complex documents. 
There are other routes you can try, e.g., exporting to HTML and 
importing that into OOo. If you use the LyXHTML export with MathML, that 
may preserve your formluae. I don't know. Yet another option is to 
export to RTF, using the latex2rtf converter, but that probably won't do 
much with formulae.


Richard



Re: Lyx compile corrupt OpenDocument documents

2011-09-16 Thread Murat Yildizoglu
If I remember well, I had some success with oolatex by exporting the
file latex and than executing in a terminal :

mk4ht oolatex myfile.tex

There is also a plugin for OpenOffice that can import latex if I
remember correctly (I do not use OOffice very frequently).

2011/9/16 Julio Rojas jcredbe...@gmail.com:
 Welcome to hell!!! Sorry Dominik, but this is one feature LyX really
 lacks. Check the wiki:

 http://wiki.lyx.org/FAQ/ImportExport#word

 And this thread:
 http://www.latex-community.org/forum/viewtopic.php?f=19t=8779

 Short story, export the text only and do everything else (formulas,
 plots, margins, even citations/bibliography) directly in
 Word/OpenOffice.

 Regards.
 -
 Julio Rojas
 jcredbe...@gmail.com



 On Fri, Sep 16, 2011 at 5:27 PM, Kalisch Dominik P.H.
 domi...@kalisch.biz wrote:
 Hi,

 I have a problem with the OpenDocument support. I need to export my 
 document, with a heavy use of formulasm tables and images, to word. Because 
 there is no direct export function to word, I thought I can export that file 
 to OpenDocument, open it with OpenOffice and save it as a word document. But 
 the export function just produces a corrupt ODF file.
 Does anyone have a good suggestion, besides write my text in Word?

 Thanks a lot for your help.
 Dominik




-- 
Prof. Murat Yildizoglu
Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

yi...@u-bordeaux4.fr
http://yildizoglu.info
http://www.twitter.com/yildizoglu


Re: Lyx compile corrupt OpenDocument documents

2011-09-16 Thread Murat Yildizoglu
I think that my memory is failing me at least for the second point, I
have started my NeoOffice and it does not seem to be able to import
Latex files, strange... I was probably confused between this and the
conversion in the other direction (Writer2Latex extension does it) I
am quite sure about my tests for the first point...

2011/9/16 Murat Yildizoglu myi...@gmail.com:
 If I remember well, I had some success with oolatex by exporting the
 file latex and than executing in a terminal :

 mk4ht oolatex myfile.tex

 There is also a plugin for OpenOffice that can import latex if I
 remember correctly (I do not use OOffice very frequently).

 2011/9/16 Julio Rojas jcredbe...@gmail.com:
 Welcome to hell!!! Sorry Dominik, but this is one feature LyX really
 lacks. Check the wiki:

 http://wiki.lyx.org/FAQ/ImportExport#word

 And this thread:
 http://www.latex-community.org/forum/viewtopic.php?f=19t=8779

 Short story, export the text only and do everything else (formulas,
 plots, margins, even citations/bibliography) directly in
 Word/OpenOffice.

 Regards.
 -
 Julio Rojas
 jcredbe...@gmail.com



 On Fri, Sep 16, 2011 at 5:27 PM, Kalisch Dominik P.H.
 domi...@kalisch.biz wrote:
 Hi,

 I have a problem with the OpenDocument support. I need to export my 
 document, with a heavy use of formulasm tables and images, to word. Because 
 there is no direct export function to word, I thought I can export that 
 file to OpenDocument, open it with OpenOffice and save it as a word 
 document. But the export function just produces a corrupt ODF file.
 Does anyone have a good suggestion, besides write my text in Word?

 Thanks a lot for your help.
 Dominik




 --
 Prof. Murat Yildizoglu
 Université Montesquieu Bordeaux IV
 GREThA (UMR CNRS 5113)
 Avenue Léon Duguit
 33608 Pessac cedex
 France

 yi...@u-bordeaux4.fr
 http://yildizoglu.info
 http://www.twitter.com/yildizoglu




-- 
Prof. Murat Yildizoglu
Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

yi...@u-bordeaux4.fr
http://yildizoglu.info
http://www.twitter.com/yildizoglu


Re: Again eLyXer, but bibtex this time

2011-09-16 Thread Guenter Milde
On 2011-09-16, Alex Fernandez wrote:
 Hi Günter,

 On Fri, Sep 16, 2011 at 9:04 AM, Guenter Milde mi...@users.berlios.de wrote:

 E.g. bibtex file ``foo.bib`` can be found with the command::

   kpsewhich -format bib foo.bib

 Good idea, it should not take too much effort to write a wrapper.
 There is already one for ImageMagick's convert.

There is one in pybtex, see below,

Günter


pybtex/kpatsea.py:

# Copyright (c) 2007, 2008, 2009, 2010, 2011  Andrey Golovizin
# 
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# Software), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
# 
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
# 
# THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

from subprocess import Popen, PIPE

def kpsewhich(filename):
p = Popen(['kpsewhich', filename], stdout=PIPE, stderr=PIPE)
path = p.communicate()[0].rstrip()
if p.returncode == 0:
return path



Xy-pic command doesn't seem to work (bis)

2011-09-16 Thread Alberto Alcalá Alvarez
Sorry, in my last e-mail, I missed the @-sign just before the braces of the 
arrow modifier... I still can't get it to work. I even tried copying code from 
the manual directly into lyx.Please help me out! 
\xymatrix { B \ar[r] R}
types out:       B  --- R  
while
\xymatrix { B \ar@{--}[r] R}does something like       B^[r]     RI 
already tried several combinations for spaces and brackets and even tried other 
arrow modifiers, checked the XY-guide and the XY tutorial, yet I can't get 
things like   B - - - R or B  - - - R. I keep getting error messages:  
command used out of context, extra { or forgotten $, missing { inserted. 
by the way, i'm using mac osX and lyx 2.0.. hope somebody can help me out, 
thanks

Re: Chinese characters in German text

2011-09-16 Thread Guenter Milde
On 2011-09-15, Liviu Andronic wrote:
 On Thu, Sep 15, 2011 at 11:15 AM, Aileen Mueller
aileen.muel...@googlemail.com wrote:
 I am using Lyx 2.0 and JabRef for references. I write my thesis in
 German and need to include some references in Chinese characters. I
 use Unicode and am able to input Chinese characters in JabRef, but
 when I want to include them in Lyx it doesn't seem to work. I only get
 a question mark for all my references in Lyx, including those which
 are in German. How can I fix this?

Did you already try whether Chinese characters work at all (i.e. in the
document)? Maybe you need to switch to XeTeX/LuaTex. With LyX 2.x, this can
be done via the use nonTeX fonts button under DocumentSettingsFonts.

 I'm no expert, but I think I heard that bibtex didn't support Unicode.
 One alternative would be biblatex. This has been discussed several
 times on teh list. You may also want to look into using XeTeX, if you
 want to mix exotic scripts into your LyX document.

While biblatex is a powerfull replacement for bibtex which not only does
support Unicode but also new styles and fields and configuration, it is
quite complex to use and yet not natively supported by LyX.

OTOH, there is http://pybtex.sourceforge.net/ which says:

  Pybtex is a drop-in replacement for BibTeX written in Python. You can
  start using it right now by simply typing pybtex where you would have
  typed bibtex.
  
(is the bibtex program configurable in LyX or would a symlink like
/usr/local/bibtex - /usr/pybtex be needed to fool LyX.)
 
Günter
  



Re: Updating to new Texlive release

2011-09-16 Thread Julio Rojas
Glad you solved the problem. What I still cannot believe is how
difficult is it to set the path for your graphic environment in Linux.
*roll eyes*

Regards.
-
Julio Rojas
jcredbe...@gmail.com



On Fri, Sep 16, 2011 at 1:24 AM, stefano franchi
stefano.fran...@gmail.com wrote:
 Problem solved :-)

 Thanks to everyone, and particularly to Julio for pointing me in the
 right direction. As he guessed, the problem was not with Lyx, but with
 the environment that Kde works with. I always launch my applications
 from Krunner (the little Kde app that offer a command line-like
 mini-screen). After a lot of searching, I discovered that:

 1. Krunner uses the PATH variables set by startkde (the script that
 starts the KDE desktop)

 2. startkde does two things, path-wise:
   a - first it uses the PATH settings it inherits from the process it
 is run from;
   b - then it looks for executable (i.e scripts) files in kde's  /env
  directories (e.g. in $HOME/.kde4/env and other env dirs system wide)
   c - it runs any executable files it finds

 3. To align the PATH variable in a bash shell (which I set in .profile
 and .bash_profile) with krunner's, I wrote a one-line file which
 exports  the correct path, called it profile.sh, made it executable,
 and put it in a newly created  dir ~HOME/.kde4/env

 after logging out and restarting kde, lyx now finds TL2011 when
 launched  from a shell and from Krunner.


 Thanks to everyone.


 Cheers,

 Stefano

 On Thu, Sep 15, 2011 at 4:42 PM, Paul Rubin ru...@msu.edu wrote:
 In LyX, could Tools  Preferences  Paths  PATH prefix be pointing to the 
 old
 version?

 Paul






 --
 __
 Stefano Franchi
 Associate Research Professor
 Department of Hispanic Studies            Ph:   +1 (979) 845-2125
 Texas AM University                          Fax:  +1 (979) 845-6421
 College Station, Texas, USA



Re: Again eLyXer, but bibtex this time

2011-09-16 Thread Guenter Milde
On 2011-09-16, Alex Fernandez wrote:
 Hi again,

 On Thu, Sep 15, 2011 at 7:08 PM, Murat Yildizoglu myi...@gmail.com wrote:
 I am meeting another problem with elyxer conversion. If I do not put
 the .bib files in the same folder as the .lyx file, elyxer does not
 seem able to find them, and the bibliography is empty. If I put them
 in the same folder, I get the bibliography.

 You can also use relative paths, and they are supposed to work! Where
 are you placing the .bib files?

In all modern LaTeX distributions, bibtex databases are searched along
the bibpath with the kpathsea library. There is the command line utility
kpsewhich for use by other programs.

E.g. bibtex file ``foo.bib`` can be found with the command::

   kpsewhich -format bib foo.bib

(if the filename extension is ``.bib``, the -format specifier can be omitted).

May be there is even a Python wrapper. Looking at the Python-based bibtex
engines could give more info. There are (at least):

 * CrossTeX_, a backwards-compatible, improved bibtex
   re-implementation in Python (including HTML export).
   (development stalled since 2 years)

 * Pybtex_,a drop-in replacement for BibTeX written in Python.

   * BibTeX styles  (experimental) pythonic style API.
   * Database in BibTeX, BibTeXML and YAML formats.
   * full Unicode support.
   * Write to TeX, HTML and plain text.

.. _CrossTeX: http://www.cs.cornell.edu/people/egs/crosstex/
.. _Pybtex:   http://pybtex.sourceforge.net/


BTW: How about using Pybtex for the citation-formatting?

Günter



Lecture is better than beamer

2011-09-16 Thread Mukhtar Ullah
Dear LyX developers,
I would like to drive your attention to this wonderful class Lecturer which is
very simple to use and yet very powerful compared to beamer. It would be great
if you consider supporting this in future versions of LyX by providing the
necessary layout files.

East or west, LyX is the best,

Mukhtar



Re: Lecture is better than beamer

2011-09-16 Thread Steve Litt
On Friday, September 16, 2011 07:45:23 AM Mukhtar Ullah wrote:
 Dear LyX developers,
 I would like to drive your attention to this wonderful class
 Lecturer which is very simple to use and yet very powerful
 compared to beamer. It would be great if you consider supporting
 this in future versions of LyX by providing the necessary layout
 files.
 
 East or west, LyX is the best,
 
 Mukhtar

Beamer's pretty good. In what ways is Lecturer better? What are its 
pros and cons? What are its design priorities? What types of 
presentations would best be served by Lecturer?

SteveT
 
Steve Litt
Author: The Key to Everyday Excellence
http://www.troubleshooters.com/bookstore/key_excellence.htm
Twitter: http://www.twitter.com/stevelitt



Re: Again eLyXer, but bibtex this time

2011-09-16 Thread Alex Fernandez
Hi Günter,

On Fri, Sep 16, 2011 at 9:04 AM, Guenter Milde mi...@users.berlios.de wrote:
 In all modern LaTeX distributions, bibtex databases are searched along
 the bibpath with the kpathsea library. There is the command line utility
 kpsewhich for use by other programs.

Aha, I always supposed that the .bib file had to be stored along with
the .lyx file.

 E.g. bibtex file ``foo.bib`` can be found with the command::

   kpsewhich -format bib foo.bib

 (if the filename extension is ``.bib``, the -format specifier can be omitted).

Good idea, it should not take too much effort to write a wrapper.
There is already one for ImageMagick's convert.

 May be there is even a Python wrapper. Looking at the Python-based bibtex
 engines could give more info. There are (at least):

         * CrossTeX_, a backwards-compatible, improved bibtex
           re-implementation in Python (including HTML export).
           (development stalled since 2 years)

         * Pybtex_,a drop-in replacement for BibTeX written in Python.

           * BibTeX styles  (experimental) pythonic style API.
           * Database in BibTeX, BibTeXML and YAML formats.
           * full Unicode support.
           * Write to TeX, HTML and plain text.

 .. _CrossTeX: http://www.cs.cornell.edu/people/egs/crosstex/
 .. _Pybtex:   http://pybtex.sourceforge.net/


 BTW: How about using Pybtex for the citation-formatting?

Perhaps a bit too involved at this stage, it would have been nice to
integrate instead of writing my own stuff (but it sure was fun!).

Alex.


Re: Lecture is better than beamer

2011-09-16 Thread Richard Heck

On 09/16/2011 07:45 AM, Mukhtar Ullah wrote:

Dear LyX developers,
I would like to drive your attention to this wonderful class Lecturer which is
very simple to use and yet very powerful compared to beamer. It would be great
if you consider supporting this in future versions of LyX by providing the
necessary layout files.

Please feel free to write one! We'd be happy to include it.

You can probably start with a layout file we already have and modify it. 
Ask questions here if you get stuck.


Richard



Invitation to connect on LinkedIn

2011-09-16 Thread Bart Deruyter via LinkedIn
LinkedIn





Bart Deruyter requested to add you as a connection on LinkedIn:
  
--

John,

I'd like to add you to my professional network on LinkedIn.

- Bart

Accept invitation from Bart Deruyter
http://www.linkedin.com/e/-mdtvpu-gsn9mw0c-2z/iMC0WjH5iE2J5t8N06FfJiDBYiFxKVYTer8_/blk/I3119659039_2/1BpC5vrmRLoRZcjkkZt5YCpnlOt3RApnhMpmdzgmhxrSNBszYOnPAPc3ARdzANcjd9bSdarQ54rmNQbP4MdjoRe3oPczgLrCBxbOYWrSlI/EML_comm_afe/?hs=falsetok=3uWDqt0t46KkU1

View invitation from Bart Deruyter
http://www.linkedin.com/e/-mdtvpu-gsn9mw0c-2z/iMC0WjH5iE2J5t8N06FfJiDBYiFxKVYTer8_/blk/I3119659039_2/39vejcMejkSej4NcQALqnpPbOYWrSlI/svi/?hs=falsetok=3tUu-p8bw6KkU1
--

DID YOU KNOW you can be the first to know when a trusted member of your network 
changes jobs? With Network Updates on your LinkedIn home page, you'll be 
notified as members of your network change their current position. Be the first 
to know and reach out!
http://www.linkedin.com/
 
-- 
(c) 2011, LinkedIn Corporation

Lyx compile corrupt OpenDocument documents

2011-09-16 Thread Kalisch Dominik P.H.
Hi,

I have a problem with the OpenDocument support. I need to export my document, 
with a heavy use of formulasm tables and images, to word. Because there is no 
direct export function to word, I thought I can export that file to 
OpenDocument, open it with OpenOffice and save it as a word document. But the 
export function just produces a corrupt ODF file.
Does anyone have a good suggestion, besides write my text in Word?

Thanks a lot for your help.
Dominik

Re: Lyx compile corrupt OpenDocument documents

2011-09-16 Thread Julio Rojas
Welcome to hell!!! Sorry Dominik, but this is one feature LyX really
lacks. Check the wiki:

http://wiki.lyx.org/FAQ/ImportExport#word

And this thread:
http://www.latex-community.org/forum/viewtopic.php?f=19t=8779

Short story, export the text only and do everything else (formulas,
plots, margins, even citations/bibliography) directly in
Word/OpenOffice.

Regards.
-
Julio Rojas
jcredbe...@gmail.com



On Fri, Sep 16, 2011 at 5:27 PM, Kalisch Dominik P.H.
domi...@kalisch.biz wrote:
 Hi,

 I have a problem with the OpenDocument support. I need to export my document, 
 with a heavy use of formulasm tables and images, to word. Because there is no 
 direct export function to word, I thought I can export that file to 
 OpenDocument, open it with OpenOffice and save it as a word document. But the 
 export function just produces a corrupt ODF file.
 Does anyone have a good suggestion, besides write my text in Word?

 Thanks a lot for your help.
 Dominik


Re: Lyx compile corrupt OpenDocument documents

2011-09-16 Thread Richard Heck

On 09/16/2011 11:27 AM, Kalisch Dominik P.H. wrote:

Hi,

I have a problem with the OpenDocument support. I need to export my document, 
with a heavy use of formulasm tables and images, to word. Because there is no 
direct export function to word, I thought I can export that file to 
OpenDocument, open it with OpenOffice and save it as a word document. But the 
export function just produces a corrupt ODF file.
Does anyone have a good suggestion, besides write my text in Word?

The oolatex converter doesn't do a very good job with complex documents. 
There are other routes you can try, e.g., exporting to HTML and 
importing that into OOo. If you use the LyXHTML export with MathML, that 
may preserve your formluae. I don't know. Yet another option is to 
export to RTF, using the latex2rtf converter, but that probably won't do 
much with formulae.


Richard



Re: Lyx compile corrupt OpenDocument documents

2011-09-16 Thread Murat Yildizoglu
If I remember well, I had some success with oolatex by exporting the
file latex and than executing in a terminal :

mk4ht oolatex myfile.tex

There is also a plugin for OpenOffice that can import latex if I
remember correctly (I do not use OOffice very frequently).

2011/9/16 Julio Rojas jcredbe...@gmail.com:
 Welcome to hell!!! Sorry Dominik, but this is one feature LyX really
 lacks. Check the wiki:

 http://wiki.lyx.org/FAQ/ImportExport#word

 And this thread:
 http://www.latex-community.org/forum/viewtopic.php?f=19t=8779

 Short story, export the text only and do everything else (formulas,
 plots, margins, even citations/bibliography) directly in
 Word/OpenOffice.

 Regards.
 -
 Julio Rojas
 jcredbe...@gmail.com



 On Fri, Sep 16, 2011 at 5:27 PM, Kalisch Dominik P.H.
 domi...@kalisch.biz wrote:
 Hi,

 I have a problem with the OpenDocument support. I need to export my 
 document, with a heavy use of formulasm tables and images, to word. Because 
 there is no direct export function to word, I thought I can export that file 
 to OpenDocument, open it with OpenOffice and save it as a word document. But 
 the export function just produces a corrupt ODF file.
 Does anyone have a good suggestion, besides write my text in Word?

 Thanks a lot for your help.
 Dominik




-- 
Prof. Murat Yildizoglu
Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

yi...@u-bordeaux4.fr
http://yildizoglu.info
http://www.twitter.com/yildizoglu


Re: Lyx compile corrupt OpenDocument documents

2011-09-16 Thread Murat Yildizoglu
I think that my memory is failing me at least for the second point, I
have started my NeoOffice and it does not seem to be able to import
Latex files, strange... I was probably confused between this and the
conversion in the other direction (Writer2Latex extension does it) I
am quite sure about my tests for the first point...

2011/9/16 Murat Yildizoglu myi...@gmail.com:
 If I remember well, I had some success with oolatex by exporting the
 file latex and than executing in a terminal :

 mk4ht oolatex myfile.tex

 There is also a plugin for OpenOffice that can import latex if I
 remember correctly (I do not use OOffice very frequently).

 2011/9/16 Julio Rojas jcredbe...@gmail.com:
 Welcome to hell!!! Sorry Dominik, but this is one feature LyX really
 lacks. Check the wiki:

 http://wiki.lyx.org/FAQ/ImportExport#word

 And this thread:
 http://www.latex-community.org/forum/viewtopic.php?f=19t=8779

 Short story, export the text only and do everything else (formulas,
 plots, margins, even citations/bibliography) directly in
 Word/OpenOffice.

 Regards.
 -
 Julio Rojas
 jcredbe...@gmail.com



 On Fri, Sep 16, 2011 at 5:27 PM, Kalisch Dominik P.H.
 domi...@kalisch.biz wrote:
 Hi,

 I have a problem with the OpenDocument support. I need to export my 
 document, with a heavy use of formulasm tables and images, to word. Because 
 there is no direct export function to word, I thought I can export that 
 file to OpenDocument, open it with OpenOffice and save it as a word 
 document. But the export function just produces a corrupt ODF file.
 Does anyone have a good suggestion, besides write my text in Word?

 Thanks a lot for your help.
 Dominik




 --
 Prof. Murat Yildizoglu
 Université Montesquieu Bordeaux IV
 GREThA (UMR CNRS 5113)
 Avenue Léon Duguit
 33608 Pessac cedex
 France

 yi...@u-bordeaux4.fr
 http://yildizoglu.info
 http://www.twitter.com/yildizoglu




-- 
Prof. Murat Yildizoglu
Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

yi...@u-bordeaux4.fr
http://yildizoglu.info
http://www.twitter.com/yildizoglu


Re: Again eLyXer, but bibtex this time

2011-09-16 Thread Guenter Milde
On 2011-09-16, Alex Fernandez wrote:
 Hi Günter,

 On Fri, Sep 16, 2011 at 9:04 AM, Guenter Milde mi...@users.berlios.de wrote:

 E.g. bibtex file ``foo.bib`` can be found with the command::

   kpsewhich -format bib foo.bib

 Good idea, it should not take too much effort to write a wrapper.
 There is already one for ImageMagick's convert.

There is one in pybtex, see below,

Günter


pybtex/kpatsea.py:

# Copyright (c) 2007, 2008, 2009, 2010, 2011  Andrey Golovizin
# 
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# Software), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
# 
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
# 
# THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

from subprocess import Popen, PIPE

def kpsewhich(filename):
p = Popen(['kpsewhich', filename], stdout=PIPE, stderr=PIPE)
path = p.communicate()[0].rstrip()
if p.returncode == 0:
return path



Xy-pic command doesn't seem to work (bis)

2011-09-16 Thread Alberto Alcalá Alvarez
Sorry, in my last e-mail, I missed the @-sign just before the braces of the 
arrow modifier... I still can't get it to work. I even tried copying code from 
the manual directly into lyx.Please help me out! 
\xymatrix { B \ar[r] R}
types out:       B  --- R  
while
\xymatrix { B \ar@{--}[r] R}does something like       B^[r]     RI 
already tried several combinations for spaces and brackets and even tried other 
arrow modifiers, checked the XY-guide and the XY tutorial, yet I can't get 
things like   B - - - R or B  - - - R. I keep getting error messages:  
command used out of context, extra { or forgotten $, missing { inserted. 
by the way, i'm using mac osX and lyx 2.0.. hope somebody can help me out, 
thanks

Re: Chinese characters in German text

2011-09-16 Thread Guenter Milde
On 2011-09-15, Liviu Andronic wrote:
 On Thu, Sep 15, 2011 at 11:15 AM, Aileen Mueller
aileen.muel...@googlemail.com wrote:
 I am using Lyx 2.0 and JabRef for references. I write my thesis in
 German and need to include some references in Chinese characters. I
 use Unicode and am able to input Chinese characters in JabRef, but
 when I want to include them in Lyx it doesn't seem to work. I only get
 a question mark for all my references in Lyx, including those which
 are in German. How can I fix this?

Did you already try whether Chinese characters work at all (i.e. in the
document)? Maybe you need to switch to XeTeX/LuaTex. With LyX 2.x, this can
be done via the use nonTeX fonts button under DocumentSettingsFonts.

 I'm no expert, but I think I heard that bibtex didn't support Unicode.
 One alternative would be biblatex. This has been discussed several
 times on teh list. You may also want to look into using XeTeX, if you
 want to mix exotic scripts into your LyX document.

While biblatex is a powerfull replacement for bibtex which not only does
support Unicode but also new styles and fields and configuration, it is
quite complex to use and yet not natively supported by LyX.

OTOH, there is http://pybtex.sourceforge.net/ which says:

  Pybtex is a drop-in replacement for BibTeX written in Python. You can
  start using it right now by simply typing pybtex where you would have
  typed bibtex.
  
(is the bibtex program configurable in LyX or would a symlink like
/usr/local/bibtex - /usr/pybtex be needed to fool LyX.)
 
Günter