Re: python -m elyxer question

2009-12-30 Thread Alex Fernandez
On Tue, Dec 29, 2009 at 8:02 PM, Joachim Osnabryg o...@jpberlin.de wrote:
 Few problems are remaining:

Most of these problems should not be difficult to solve. It would be
very helpful if you sent me a sample that showed all of them, since
there are too many esoteric LyX options. You can also send any samples
privately as before, and they will be treated with the utmost
confidentiality.

A new option is the loremipsumizer: a Python script to remove any
private information. Just place it in the same directory as your
document, give it permissions as an executable file and run:
 % ./loremipsumize.py mydoc.lyx loremipsum.lyx
It generates a new version of the file retaining all format
information, but replacing any string of three or more words with
lorem ipsum.

The script loremipsumize.py is distributed along with eLyXer on the
root directory. I tried to attach it here but lyx-users did not like
it.

 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.

Perfect, that way messages are archived for reference.

 Thank you for your work on it, the bygone year!

My most sincere thanks to all eLyXer users for presenting me with such
interesting challenges, and a happy new year to all!

Alex.


Re: python -m elyxer question

2009-12-30 Thread Alex Fernandez
On Tue, Dec 29, 2009 at 8:02 PM, Joachim Osnabryg o...@jpberlin.de wrote:
 Few problems are remaining:

Most of these problems should not be difficult to solve. It would be
very helpful if you sent me a sample that showed all of them, since
there are too many esoteric LyX options. You can also send any samples
privately as before, and they will be treated with the utmost
confidentiality.

A new option is the loremipsumizer: a Python script to remove any
private information. Just place it in the same directory as your
document, give it permissions as an executable file and run:
 % ./loremipsumize.py mydoc.lyx loremipsum.lyx
It generates a new version of the file retaining all format
information, but replacing any string of three or more words with
lorem ipsum.

The script loremipsumize.py is distributed along with eLyXer on the
root directory. I tried to attach it here but lyx-users did not like
it.

 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.

Perfect, that way messages are archived for reference.

 Thank you for your work on it, the bygone year!

My most sincere thanks to all eLyXer users for presenting me with such
interesting challenges, and a happy new year to all!

Alex.


Re: "python -m elyxer" question

2009-12-30 Thread Alex Fernandez
On Tue, Dec 29, 2009 at 8:02 PM, Joachim Osnabryg  wrote:
> Few problems are remaining:

Most of these problems should not be difficult to solve. It would be
very helpful if you sent me a sample that showed all of them, since
there are too many esoteric LyX options. You can also send any samples
privately as before, and they will be treated with the utmost
confidentiality.

A new option is the loremipsumizer: a Python script to remove any
private information. Just place it in the same directory as your
document, give it permissions as an executable file and run:
 % ./loremipsumize.py mydoc.lyx loremipsum.lyx
It generates a new version of the file retaining all format
information, but replacing any string of three or more words with
"lorem ipsum".

The script loremipsumize.py is distributed along with eLyXer on the
root directory. I tried to attach it here but lyx-users did not like
it.

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

Perfect, that way messages are archived for reference.

> Thank you for your work on it, the bygone year!

My most sincere thanks to all eLyXer users for presenting me with such
interesting challenges, and a happy new year to all!

Alex.


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_TeXLyX/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: python -m elyxer question

2009-12-29 Thread Alex Fernandez
Hi Joachim,

On Tue, Dec 29, 2009 at 2:58 PM, Joachim Osnabryg o...@jpberlin.de 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_TeXLyX/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: python -m elyxer question

2009-12-29 Thread Joachim Osnabryg

Am 29.12.2009, 18:46 Uhr, schrieb Alex Fernandez ely...@gmail.com:

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 (span class=Flex 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



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_TeXLyX/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: python -m elyxer question

2009-12-29 Thread Alex Fernandez
Hi Joachim,

On Tue, Dec 29, 2009 at 2:58 PM, Joachim Osnabryg o...@jpberlin.de 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_TeXLyX/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: python -m elyxer question

2009-12-29 Thread Joachim Osnabryg

Am 29.12.2009, 18:46 Uhr, schrieb Alex Fernandez ely...@gmail.com:

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 (span class=Flex 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



"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/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: "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/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: "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