Re: Default label???

2011-03-24 Thread Stephan Witt
Am 23.03.2011 um 23:51 schrieb Steve Litt:

 On Wednesday 23 March 2011 09:04:05 you wrote:
 On 03/22/2011 07:33 PM, Liviu Andronic wrote:
 On Tue, Mar 22, 2011 at 11:26 PM, Steve Litt sl...@troubleshooters.com 
 wrote:
 Hi all,
 
 I'm now labelling all 57 chapters of my new book, and what a PITA!
 
 First of all, there's no hotkey -- I have to do Insert-Label on every
 one.
 
 At least for this you can easily define a custom shortcut. See the
 docs (Customization and Functions, I think).
 
 How about alt-i, l? (Keyboard-based menu access.)
 
 But even worse, the label defaults to the first three words, and often
 the first word is The. Is there a way to have the label default to
 the first five words?
 
 I have no idea, but this might be hardcoded. You have always the
 option to change it in the sources and rebuild it for you needs.
 Otherwise perhaps file a bug report.
 
 Rainer's idea about this is OK, but it seems a lot of work for not much
 payoff.
 
 Richard
 
 Hi Richard,
 
 You'd have a new respect for the payoff after labeling 55 chapters with more 
 than 3 words, and many start with The or A.
 
 If Rainer's idea is too much work, an easier route could be made. Somewhere 
 in 
 the code is a constant, variable or magic number describing the max length in 
 words of a default label. Just use that constant, variable or magic number to 
 set a variable, and then override the variable based on an environment 
 variable if the environment variable exists. I'd guess it would be about a 
 ten 
 minute change.
 
 Then, if that environment variable solution becomes popular, at a later time 
 the number of words can be set using a genuine configuration screen.
 
 How does that sound?

As a user I'd like and propose another solution:
* maintain a black list of words [per language] (give the user a chance to edit 
it)
* skip words from this list at the beginning
* use the remaining words until max is reached or
* use more words being skipped if the max is not reached.

The problem is where to store this list of words - we have too many 
RC-variables already.

Stephan

Re: Default label???

2011-03-24 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 24/03/11 07:20, Stephan Witt wrote:
 Am 23.03.2011 um 23:51 schrieb Steve Litt:
 
 On Wednesday 23 March 2011 09:04:05 you wrote:
 On 03/22/2011 07:33 PM, Liviu Andronic wrote:
 On Tue, Mar 22, 2011 at 11:26 PM, Steve Litt sl...@troubleshooters.com 
 wrote:
 Hi all,

 I'm now labelling all 57 chapters of my new book, and what a PITA!

 First of all, there's no hotkey -- I have to do Insert-Label on every
 one.

 At least for this you can easily define a custom shortcut. See the
 docs (Customization and Functions, I think).

 How about alt-i, l? (Keyboard-based menu access.)

 But even worse, the label defaults to the first three words, and often
 the first word is The. Is there a way to have the label default to
 the first five words?

 I have no idea, but this might be hardcoded. You have always the
 option to change it in the sources and rebuild it for you needs.
 Otherwise perhaps file a bug report.

 Rainer's idea about this is OK, but it seems a lot of work for not much
 payoff.

 Richard

 Hi Richard,

 You'd have a new respect for the payoff after labeling 55 chapters with more 
 than 3 words, and many start with The or A.

 If Rainer's idea is too much work, an easier route could be made. Somewhere 
 in 
 the code is a constant, variable or magic number describing the max length 
 in 
 words of a default label. Just use that constant, variable or magic number 
 to 
 set a variable, and then override the variable based on an environment 
 variable if the environment variable exists. I'd guess it would be about a 
 ten 
 minute change.

 Then, if that environment variable solution becomes popular, at a later time 
 the number of words can be set using a genuine configuration screen.

 How does that sound?
 
 As a user I'd like and propose another solution:
 * maintain a black list of words [per language] (give the user a chance to 
 edit it)
 * skip words from this list at the beginning
 * use the remaining words until max is reached or
 * use more words being skipped if the max is not reached.

Sounds like a reasonable solution - but would it be then a major step to
put the first 10 words into variables which could then be assembled
through a parser by a pattern specified by the user? I guess it would be
a more difficult, but much more difficult? I don't know - but it would
be a nice touch to have such a feature.

 
 The problem is where to store this list of words - we have too many 
 RC-variables already.

That is an internal question, but I think it should be user editable  so
via preferences would be fine (I don't know if that goes back to the
RC-variables you mentioned).

Cheers,

Rainer


 
 Stephan


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Tel:+33 - (0)9 53 10 27 44
Cell:   +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2K9AUACgkQoYgNqgF2egoWugCgi7acCMxGb8M2qtZl7mYe7vDD
J+sAn3ykXegKnuTeyp9QJ1f4u6mOmj5J
=Kvhn
-END PGP SIGNATURE-


Re: Weird behavior after Lyx 2.0 RC1 installation

2011-03-24 Thread Julio Rojas
So, no clue here? Please, any advice will be better than none at all.
-
Julio Rojas
jcredbe...@gmail.com



On Wed, Mar 23, 2011 at 3:38 PM, Julio Rojas jcredbe...@gmail.com wrote:
 I could backtrace the error to the use of \href in the definition of
 \email in moderncv.cls. Nonetheless, hyperref seems to be loaded
 correctly.

 -
 Julio Rojas
 jcredbe...@gmail.com



 On Wed, Mar 23, 2011 at 2:16 PM, Julio Rojas jcredbe...@gmail.com wrote:
 Dear all, I have recently installed Lyx 2.0 RC1 for Windows using the
 not-blundle installer. After that, I can see that Miktex is behaving
 weirdly, as if it was not properly installed. Package manager tells me
 a lot of packages I frequently use are not installed. Lyx compilation
 (with both 1.6.9 and 2.0) works in some cases for packages reported as
 not installed and doesn't work for packages reported as installed. I
 have tried to compile a big document (my thesis) and it gave me plenty
 of errors. I deleted the packages found in
 ~User/AppData/Roaming/MiKTeX/2.8/tex/latex, rebuild MikTeX index and
 it compiled perfectly. Now, I'm trying to compile my CV (which
 compiled perfectly before 2.0 RC1) and the following error appears:

 ! Undefined control sequence.
 \hyper@linkurl ...tionraw }\relax \Hy@colorlink
                                                  \@urlcolor 
 #1\close@pdflin...
 l.54 \begin{document}

 The control sequence at the end of the top line
 of your error message was never \def'ed. If you have
 misspelled it (e.g., `\hobx'), type `I' and the correct
 spelling (e.g., `I\hbox'). Otherwise just continue,
 and I'll forget about whatever was undefined.

 ! Undefined control sequence.
 \close@pdflink -\Hy@endcolorlink
                                  \Hy@VerboseLinkStop \pdfendlink
 l.54 \begin{document}

 The control sequence at the end of the top line
 of your error message was never \def'ed. If you have
 misspelled it (e.g., `\hobx'), type `I' and the correct
 spelling (e.g., `I\hbox'). Otherwise just continue,
 and I'll forget about whatever was undefined.

 I have installed url, breakurl and hyperref (reported as not
 installed by package manager), which seems to be culprits (even if
 there are no hyperlinks in my CV), to no avail.

 Has anybody a clue about what is happening here? Regards.
 -
 Julio Rojas
 jcredbe...@gmail.com




Re: Default label???

2011-03-24 Thread Abdelrazak Younes

On 03/22/2011 11:26 PM, Steve Litt wrote:

Hi all,

I'm now labelling all 57 chapters of my new book, and what a PITA!

First of all, there's no hotkey -- I have to do Insert-Label on every one.


What about Alt+I+L ? I guess you know that all menu items are accessible 
via the keyboard. We developers are very careful that all LyX features 
can be used without the keyboard.


Abdel.


LYX software query

2011-03-24 Thread Ben Lincoln
Hi,

I work in the IT arena at Deutsche Bank, a user has come to me requesting LYX 
on his work PC

Please could you give me some information on the following:

Lyx being free,  is this something that can also be installed within a 
Corporate environment or does this change the perspective on it?

It seems that when you installed it requires the ability to go to the web and 
pull down files, could you confirm that this is the case?

Being a Corporate Environment we have firewalls in place and this would block 
certain ports, what ports does this software communicate through.

Does the software require a 2 way ability to run.

Is the an alternative install method/cost for Banks etc?

Sorry for all the question but do appreciate your help

Many thanks in advance
Ben






[cid:image001.gif@01CBEA03.D3405040]

Ben Lincoln
Dedicated FX and Commodities Support | Global Markets

Deutsche Bank AG, London
Information Enterprise Services
Floor 4, 23 Great Winchester Street, EC2P 2AX
Tel. +44(207)54-74897

Email ben.linc...@db.commailto:ben.linc...@db.com


[cid:image002.gif@01CBEA03.D3405040]

---
This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and delete this e-mail. Any unauthorized copying, 
disclosure or distribution of the material in this e-mail is strictly forbidden.
Please refer to http://www.db.com/en/content/eu_disclosures.htm for additional 
EU corporate and regulatory disclosures.inline: image001.gifinline: image002.gif

Re: LYX software query

2011-03-24 Thread Vincent van Ravesteijn

On 24-3-2011 10:20, Ben Lincoln wrote:


Hi,

I work in the IT arena at Deutsche Bank, a user has come to me 
requesting LYX on his work PC


Please could you give me some information on the following:

Lyx being free,  is this something that can also be installed within a 
Corporate environment or does this change the perspective on it?




No, you can use it freely.

It seems that when you installed it requires the ability to go to the 
web and pull down files, could you confirm that this is the case?




This is not necessary. Either you install MikTeX (assuming you are 
talking about windows) separately, or you can download the 
installer-bundle (IIRC this includes MikTeX).


Being a Corporate Environment we have firewalls in place and this 
would block certain ports, what ports does this software communicate 
through.




When LyX is installed, there is no communication needed.


Does the software require a 2 way ability to run.



No.


Is the an alternative install method/cost for Banks etc?



You can hire me as a consultant to help you out and create an 
alternative install method that suits your preferences/needs.



Sorry for all the question but do appreciate your help

Many thanks in advance

Ben



Greetings,

Vincent


Re: Only 2 options for output?

2011-03-24 Thread Guenter Milde
On 2011-03-23, Brian P  Rabbit wrote:
 Hi.

 When I open LyX 2.00 rc1 (on a Mac 10.5),
 I only see two options for output RTF and LyXHTML.
 What happened to PDF, PS, and DVI?

LyX did not find your TeX installation when configuring.

Try ExtraReconfigure.

If this does not help, tell us more about the context.

Günter



Re: LyX Promotion

2011-03-24 Thread Guenter Milde
On 2011-03-23, Steve Litt wrote:
 On Wednesday 23 March 2011 09:54:29 you wrote:

 As for Word/OO--LyX interoperability, that seems a chimera. How can
 LyX ever be interoperable with Word, when even the LaTeX/LyX roundtrip
 will not get you back the document you started from? It seems to me
 that a more reasonable goal would be to have a Word-output function
 that strips all formatting except the semantically relevant items
 (emphasis, etc) and produce a clean Word file ready to be imported
 into a typesetting program or to be sent to Word-only people. 

 Even better, in addition to exporting emphasis and noun, have it export the 
 named but empty styles (environments and character styles) used in the doc, 
 so 
 the word doc has the styles and the text marked up with those styles. Then 
 all 
 that remains is to go in and modify those styles in MSWord or OOffice to 
 produce the desired look. After all, modifying a style in Word is five 
 minutes, not five hours.

 This is a wonderful idea. Now if we can only go the other direction...

I think we should have semantic import/export filters in addition to
visual ones for all relevant document formats.

Günter



Re: LyX Promotion

2011-03-24 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 24/03/11 11:29, Guenter Milde wrote:
 On 2011-03-23, Steve Litt wrote:
 On Wednesday 23 March 2011 09:54:29 you wrote:
 
 As for Word/OO--LyX interoperability, that seems a chimera. How can
 LyX ever be interoperable with Word, when even the LaTeX/LyX roundtrip
 will not get you back the document you started from? It seems to me
 that a more reasonable goal would be to have a Word-output function
 that strips all formatting except the semantically relevant items
 (emphasis, etc) and produce a clean Word file ready to be imported
 into a typesetting program or to be sent to Word-only people. 
 
 Even better, in addition to exporting emphasis and noun, have it export the 
 named but empty styles (environments and character styles) used in the doc, 
 so 
 the word doc has the styles and the text marked up with those styles. Then 
 all 
 that remains is to go in and modify those styles in MSWord or OOffice to 
 produce the desired look. After all, modifying a style in Word is five 
 minutes, not five hours.
 
 This is a wonderful idea. Now if we can only go the other direction...
 
 I think we should have semantic import/export filters in addition to
 visual ones for all relevant document formats.

I absolutely agree - this would make life so much easier: you can write
in LyX, export sematically to doc / odt and do the formating in word /
openoffice / libreoffice if the editor / conference only provides a
specific word template.

Definitely a priority.

Rainer

 
 Günter
 


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Tel:+33 - (0)9 53 10 27 44
Cell:   +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2LJH8ACgkQoYgNqgF2egoORwCdGPeRIFLgVGqMpwDt8giqaQAZ
gHsAni+hS4j2uv+Z8EeV1PvzDb/wrhKa
=Q01i
-END PGP SIGNATURE-


Re: LyX Promotion

2011-03-24 Thread Liviu Andronic
On Thu, Mar 24, 2011 at 12:01 PM, Rainer M Krug r.m.k...@gmail.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On 24/03/11 11:29, Guenter Milde wrote:
 On 2011-03-23, Steve Litt wrote:
 On Wednesday 23 March 2011 09:54:29 you wrote:

 As for Word/OO--LyX interoperability, that seems a chimera. How can
 LyX ever be interoperable with Word, when even the LaTeX/LyX roundtrip
 will not get you back the document you started from? It seems to me
 that a more reasonable goal would be to have a Word-output function
 that strips all formatting except the semantically relevant items
 (emphasis, etc) and produce a clean Word file ready to be imported
 into a typesetting program or to be sent to Word-only people.

 Even better, in addition to exporting emphasis and noun, have it export the
 named but empty styles (environments and character styles) used in the doc, 
 so
 the word doc has the styles and the text marked up with those styles. Then 
 all
 that remains is to go in and modify those styles in MSWord or OOffice to
 produce the desired look. After all, modifying a style in Word is five
 minutes, not five hours.

 This is a wonderful idea. Now if we can only go the other direction...

 I think we should have semantic import/export filters in addition to
 visual ones for all relevant document formats.

 I absolutely agree - this would make life so much easier: you can write
 in LyX, export sematically to doc / odt and do the formating in word /
 openoffice / libreoffice if the editor / conference only provides a
 specific word template.

 Definitely a priority.

This might go down well as a GSoC project, as it seems useful and
simple enough. What do others think?
Liviu


 Rainer


 Günter



 - --
 Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
 Biology, UCT), Dipl. Phys. (Germany)

 Centre of Excellence for Invasion Biology
 Natural Sciences Building
 Office Suite 2039
 Stellenbosch University
 Main Campus, Merriman Avenue
 Stellenbosch
 South Africa

 Tel:        +33 - (0)9 53 10 27 44
 Cell:       +27 - (0)8 39 47 90 42
 Fax (SA):   +27 - (0)8 65 16 27 82
 Fax (D) :   +49 - (0)3 21 21 25 22 44
 Fax (FR):   +33 - (0)9 58 10 27 44
 email:      rai...@krugs.de

 Skype:      RMkrug
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.10 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iEYEARECAAYFAk2LJH8ACgkQoYgNqgF2egoORwCdGPeRIFLgVGqMpwDt8giqaQAZ
 gHsAni+hS4j2uv+Z8EeV1PvzDb/wrhKa
 =Q01i
 -END PGP SIGNATURE-




-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: LyX Promotion

2011-03-24 Thread stefano franchi
On Thu, Mar 24, 2011 at 7:48 AM, Liviu Andronic landronim...@gmail.com wrote:
 On Thu, Mar 24, 2011 at 12:01 PM, Rainer M Krug r.m.k...@gmail.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On 24/03/11 11:29, Guenter Milde wrote:
 On 2011-03-23, Steve Litt wrote:
 On Wednesday 23 March 2011 09:54:29 you wrote:

 As for Word/OO--LyX interoperability, that seems a chimera. How can
 LyX ever be interoperable with Word, when even the LaTeX/LyX roundtrip
 will not get you back the document you started from? It seems to me
 that a more reasonable goal would be to have a Word-output function
 that strips all formatting except the semantically relevant items
 (emphasis, etc) and produce a clean Word file ready to be imported
 into a typesetting program or to be sent to Word-only people.

 Even better, in addition to exporting emphasis and noun, have it export the
 named but empty styles (environments and character styles) used in the 
 doc, so
 the word doc has the styles and the text marked up with those styles. Then 
 all
 that remains is to go in and modify those styles in MSWord or OOffice to
 produce the desired look. After all, modifying a style in Word is five
 minutes, not five hours.

 This is a wonderful idea. Now if we can only go the other direction...

 I think we should have semantic import/export filters in addition to
 visual ones for all relevant document formats.

 I absolutely agree - this would make life so much easier: you can write
 in LyX, export sematically to doc / odt and do the formating in word /
 openoffice / libreoffice if the editor / conference only provides a
 specific word template.

 Definitely a priority.

 This might go down well as a GSoC project, as it seems useful and
 simple enough. What do others think?
 Liviu

Excellent idea, I think. Perhaps Richard can comment on  how far the
XHTML filter is from the goal? My impression, as a user, is that it
comes pretty close to what the project would be producing.

Stefano


How to avoid lines gioing over margins?

2011-03-24 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi

I am using typewriter to point certain terms ou, but these go over the
margins of the paragraphs (see attached screenshot).

Is there a way that I can avoid this?

Here is the LaTeX code as generated by LyX:

The simulation consists of different modules which handle the dynamics
over time (see figure~\ref{fig:Flowchart-modules}. The modules govern
creation of new individuals (\texttt{newFlowers}, \texttt{renewEnergy},
\texttt{releaseMidge}, \texttt{releaseWeavil}), state transitions
(\texttt{stateAggingDeterministic}), stage transitions (\texttt{newGrePod},
\texttt{gallingMidge}, \texttt{emergenceMidge}, \texttt{ovipositionWeavil},
\texttt{emergenceWeavil}) (see figure~\ref{fig:Chart-stages}) and
internal book keeping (\texttt{beginDay}, \texttt{endDay}). Energy
is reduced by the processes \texttt{stateAggingDeterministic} and
\texttt{newFlowers}, and renewed by \texttt{renewEnergy}.


Thanks,

Rainer

- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys.
(Germany)file:///home/rkrug/Desktop/screenshot1.png


Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Tel:+33 - (0)9 53 10 27 44
Cell:   +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2LRMoACgkQoYgNqgF2egonsACghNdoMp7SLrRfKfE7bIgaMRgJ
t7YAn3BlaVNqCG76Pp+04kLwY0wGLGe6
=N3CG
-END PGP SIGNATURE-
attachment: screenshot1.png

screenshot1.png.sig
Description: Binary data


Re: Only 2 options for output?

2011-03-24 Thread Julien Rioux

On 23/03/2011 1:48 PM, Brian P. Rabbit wrote:

Hi.

When I open LyX 2.00 rc1 (on a Mac 10.5),
I only see two options for output RTF and LyXHTML.
What happened to PDF, PS, and DVI?

Sincerely,




Some export options get hidden now. You can check if they are hidden or 
simply missing entirely by having a look in Tools  Settings  File 
Handling  Formats


--
Julien



Re: Weird behavior after Lyx 2.0 RC1 installation

2011-03-24 Thread Julien Rioux

On 24/03/2011 4:01 AM, Julio Rojas wrote:

So, no clue here? Please, any advice will be better than none at all.
-
Julio Rojas
jcredbe...@gmail.com



On Wed, Mar 23, 2011 at 3:38 PM, Julio Rojasjcredbe...@gmail.com  wrote:

I could backtrace the error to the use of \href in the definition of
\email in moderncv.cls. Nonetheless, hyperref seems to be loaded
correctly.

-
Julio Rojas
jcredbe...@gmail.com



On Wed, Mar 23, 2011 at 2:16 PM, Julio Rojasjcredbe...@gmail.com  wrote:

Dear all, I have recently installed Lyx 2.0 RC1 for Windows using the
not-blundle installer. After that, I can see that Miktex is behaving
weirdly, as if it was not properly installed. Package manager tells me
a lot of packages I frequently use are not installed. Lyx compilation
(with both 1.6.9 and 2.0) works in some cases for packages reported as
not installed and doesn't work for packages reported as installed. I
have tried to compile a big document (my thesis) and it gave me plenty
of errors. I deleted the packages found in
~User/AppData/Roaming/MiKTeX/2.8/tex/latex, rebuild MikTeX index and
it compiled perfectly. Now, I'm trying to compile my CV (which
compiled perfectly before 2.0 RC1) and the following error appears:

! Undefined control sequence.
\hyper@linkurl ...tionraw}\relax \Hy@colorlink
  \@urlcolor #1\close@pdflin...
l.54 \begin{document}

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
\close@pdflink -\Hy@endcolorlink
  \Hy@VerboseLinkStop \pdfendlink
l.54 \begin{document}

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

I have installed url, breakurl and hyperref (reported as not
installed by package manager), which seems to be culprits (even if
there are no hyperlinks in my CV), to no avail.

Has anybody a clue about what is happening here? Regards.
-
Julio Rojas
jcredbe...@gmail.com







It seems like a broken miktex installation. Can you try with plain 
latex? or just LyX 1.6 if it's still on your machine?


Sorry, I can't be of much help.

--
Julien



Re: Weird behavior after Lyx 2.0 RC1 installation

2011-03-24 Thread Julio Rojas
Both the same. I'm afraid RC1 broke my miktex. Now I have to reinstall
everything!!! Please, tell me it isn't so... But I not even installed
the bundled version... Damn... :(
-
Julio Rojas
jcredbe...@gmail.com



On Thu, Mar 24, 2011 at 2:46 PM, Julien Rioux
jri...@physics.utoronto.ca wrote:
 On 24/03/2011 4:01 AM, Julio Rojas wrote:

 So, no clue here? Please, any advice will be better than none at all.
 -
 Julio Rojas
 jcredbe...@gmail.com



 On Wed, Mar 23, 2011 at 3:38 PM, Julio Rojasjcredbe...@gmail.com  wrote:

 I could backtrace the error to the use of \href in the definition of
 \email in moderncv.cls. Nonetheless, hyperref seems to be loaded
 correctly.

 -
 Julio Rojas
 jcredbe...@gmail.com



 On Wed, Mar 23, 2011 at 2:16 PM, Julio Rojasjcredbe...@gmail.com
  wrote:

 Dear all, I have recently installed Lyx 2.0 RC1 for Windows using the
 not-blundle installer. After that, I can see that Miktex is behaving
 weirdly, as if it was not properly installed. Package manager tells me
 a lot of packages I frequently use are not installed. Lyx compilation
 (with both 1.6.9 and 2.0) works in some cases for packages reported as
 not installed and doesn't work for packages reported as installed. I
 have tried to compile a big document (my thesis) and it gave me plenty
 of errors. I deleted the packages found in
 ~User/AppData/Roaming/MiKTeX/2.8/tex/latex, rebuild MikTeX index and
 it compiled perfectly. Now, I'm trying to compile my CV (which
 compiled perfectly before 2.0 RC1) and the following error appears:

 ! Undefined control sequence.
 \hyper@linkurl ...tionraw}\relax \Hy@colorlink
                                                  \@urlcolor
 #1\close@pdflin...
 l.54 \begin{document}

 The control sequence at the end of the top line
 of your error message was never \def'ed. If you have
 misspelled it (e.g., `\hobx'), type `I' and the correct
 spelling (e.g., `I\hbox'). Otherwise just continue,
 and I'll forget about whatever was undefined.

 ! Undefined control sequence.
 \close@pdflink -\Hy@endcolorlink
                                  \Hy@VerboseLinkStop \pdfendlink
 l.54 \begin{document}

 The control sequence at the end of the top line
 of your error message was never \def'ed. If you have
 misspelled it (e.g., `\hobx'), type `I' and the correct
 spelling (e.g., `I\hbox'). Otherwise just continue,
 and I'll forget about whatever was undefined.

 I have installed url, breakurl and hyperref (reported as not
 installed by package manager), which seems to be culprits (even if
 there are no hyperlinks in my CV), to no avail.

 Has anybody a clue about what is happening here? Regards.
 -
 Julio Rojas
 jcredbe...@gmail.com




 It seems like a broken miktex installation. Can you try with plain latex? or
 just LyX 1.6 if it's still on your machine?

 Sorry, I can't be of much help.

 --
 Julien




Re: Weird behavior after Lyx 2.0 RC1 installation

2011-03-24 Thread Pavel Sanda
Julio Rojas wrote:
 Both the same. I'm afraid RC1 broke my miktex.

what installer did you use previously?
pavel


Re: LYX software query

2011-03-24 Thread Pavel Sanda
Vincent van Ravesteijn wrote:
 It seems that when you installed it requires the ability to go to the web 
 and pull down files, could you confirm that this is the case?


 This is not necessary. Either you install MikTeX (assuming you are talking 
 about windows) separately, or you can download the installer-bundle (IIRC 
 this includes MikTeX).

the problem is that some styles/classes are downloaded by miktex itself
and by default miktex tries to update things as well iirc.

pavel


Re: Weird behavior after Lyx 2.0 RC1 installation

2011-03-24 Thread Julio Rojas
Standard, not alternate.
-
Julio Rojas
jcredbe...@gmail.com



On Thu, Mar 24, 2011 at 3:24 PM, Pavel Sanda sa...@lyx.org wrote:
 Julio Rojas wrote:
 Both the same. I'm afraid RC1 broke my miktex.

 what installer did you use previously?
 pavel



Re: How to avoid lines gioing over margins?

2011-03-24 Thread Paul A . Rubin
http://stackoverflow.com/questions/2112372/preventing-texttt-latex-tag-from-letting-its-content-passing-over-the-margin

Paul



Re: How to avoid lines gioing over margins?

2011-03-24 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 24/03/11 16:28, Paul A. Rubin wrote:
 http://stackoverflow.com/questions/2112372/preventing-texttt-latex-tag-from-letting-its-content-passing-over-the-margin

Thanks

That and
http://tex.stackexchange.com/questions/299/how-to-get-long-texttt-sections-to-break

should solve it

Rainer

 
 Paul
 


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Tel:+33 - (0)9 53 10 27 44
Cell:   +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2LY/sACgkQoYgNqgF2egrBdACeLDuR97iDANYOF/iZ4kv/fIHE
sugAoIXcMOka3U32ynaIbb8MXO8ov0hP
=scMo
-END PGP SIGNATURE-


Re: tutorials / slides for seminars or workshops (was: 'Re: LyX Promotion')

2011-03-24 Thread Ronen Abravanel
Translated my stuff to english:
http://technion.ac.il/~ronen/lyxlecture2/en/

probably there are some grammar problems. use freely.

On Wed, Mar 23, 2011 at 8:51 PM, Liviu Andronic landronim...@gmail.comwrote:

 On Wed, Mar 23, 2011 at 7:45 PM, Ronen Abravanel ron...@gmail.com wrote:
   department, and I started with very short into on LaTeX and in what
   scene
   LyX is different from word, and then about 40 minutes of
 demonstration
   of
   what can I do and how can I do that.
  
   If there is nothing better, I can translate my tutorial to English
 (few
  
  What is the original language of the tutorial? Maybe I could digest it
  myself.
 
  Hebrew.
 
 Oh, I haven't gotten to Hebrew yet. :) If you have time and it's not
 much bother, I would indeed much appreciate a starting point for my
 workshop. Please let me know.

 Cheers
 Liviu



Re: LyX Promotion

2011-03-24 Thread Steve Litt
On Thursday 24 March 2011 07:01:19 Rainer M Krug wrote:
 On 24/03/11 11:29, Guenter Milde wrote:
  On 2011-03-23, Steve Litt wrote:

  This is a wonderful idea. Now if we can only go the other direction...
  
  I think we should have semantic import/export filters in addition to
  visual ones for all relevant document formats.
 
 I absolutely agree - this would make life so much easier: you can write
 in LyX, export sematically to doc / odt and do the formating in word /
 openoffice / libreoffice if the editor / conference only provides a
 specific word template.
 
 Definitely a priority.

I'm not quite sure what you guys mean by semantic import/export, but if you 
mean exporting the text marked up with (empty) styles and the (empty) style 
definitions so all I have to do with the MSWord file is fill in the styles, 
then I'm on it like a squirrel on a tree. Let me tell you why.

The (insert your own curse phrase here) fools controlling the various eBook 
formats have made it almost necessary to use MSWord as the input to the eBook 
conversion process. Saaayyy what??? So let me get this straight. I write 
my book in a good software like LyX, and then have to rewrite it in (insert 
your favorite phrase meaning incompetent here) MSWord in order to put it on 
a Kindle? Really?

You know, if we're really considering this, there should be an option to 
convert what we call Part, Chapter, Section, Subsection... to MSWord's 
Header1, Header2, Header3, Header4 etc. And of course we need to do it 
configurably because not everyone uses parts and not everyone uses chapters. 
I'm attaching part of my VimOutliner to LyX converter so you can see how I 
implemented a similar level to level mapping in that software.

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt

1: Chapter   
2: Section
3: Subsection
4: Subsubsection 
5: Paragraph 
6: Subparagraph  
7: Garbage7   
bodytext: Standard


otl2lyx.awk
Description: application/awk


Re: LyX Promotion

2011-03-24 Thread Julien Rioux

On 24/03/2011 2:09 PM, Steve Litt wrote:

On Thursday 24 March 2011 07:01:19 Rainer M Krug wrote:

On 24/03/11 11:29, Guenter Milde wrote:

On 2011-03-23, Steve Litt wrote:



This is a wonderful idea. Now if we can only go the other direction...


I think we should have semantic import/export filters in addition to
visual ones for all relevant document formats.


I absolutely agree - this would make life so much easier: you can write
in LyX, export sematically to doc / odt and do the formating in word /
openoffice / libreoffice if the editor / conference only provides a
specific word template.

Definitely a priority.


I'm not quite sure what you guys mean by semantic import/export, but if you
mean exporting the text marked up with (empty) styles and the (empty) style
definitions so all I have to do with the MSWord file is fill in the styles,
then I'm on it like a squirrel on a tree. Let me tell you why.

The (insert your own curse phrase here) fools controlling the various eBook
formats have made it almost necessary to use MSWord as the input to the eBook
conversion process. Saaayyy what??? So let me get this straight. I write
my book in a good software like LyX, and then have to rewrite it in (insert
your favorite phrase meaning incompetent here) MSWord in order to put it on
a Kindle? Really?

You know, if we're really considering this, there should be an option to
convert what we call Part, Chapter, Section, Subsection... to MSWord's
Header1, Header2, Header3, Header4 etc. And of course we need to do it
configurably because not everyone uses parts and not everyone uses chapters.
I'm attaching part of my VimOutliner to LyX converter so you can see how I
implemented a similar level to level mapping in that software.

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



I love awk. Great tool. That's quite the script you got there. :)

--
Julien



Re: LyX Promotion

2011-03-24 Thread Rob Oakes
Hi Steve,

 I'm not quite sure what you guys mean by semantic import/export, but if you 
 mean exporting the text marked up with (empty) styles and the (empty) style 
 definitions so all I have to do with the MSWord file is fill in the styles, 
 then I'm on it like a squirrel on a tree. Let me tell you why.
 
 The (insert your own curse phrase here) fools controlling the various eBook 
 formats have made it almost necessary to use MSWord as the input to the eBook 
 conversion process. Saaayyy what??? So let me get this straight. I write 
 my book in a good software like LyX, and then have to rewrite it in (insert 
 your favorite phrase meaning incompetent here) MSWord in order to put it on 
 a Kindle? Really?

If you're using version 2.0 of LyX, you can also export to XHTML. Kindle and 
Barnes and Noble PubIt let you upload HTML files without first converting to 
Word. If you don't mind hacking the layout files, you can also get a huge 
degree of control over how your document appears.

For example, if you wanted to change the heading for chapter style so that it 
exports to h1 (right now, it exports to h2), you could use the following in 
the local layout of your file.

Style Chapter
HTMLTag h2
End

If you wanted to modify how the CSS appears, you could then use the HTMLStyle 
tag to do something fancy.  For example, the CSS below would allow you to make 
an off-white headline example with small caps.

Style Chapter
HTML Tagh2
HTMLStyle   font-family:Georgia,serif: color: #4#443C; 
font-variant: small-caps; text-transform: none; font-weight 100; margin-bottom: 
0;
End

You can use this technique to override any of the of default CSS for any 
document class.

it's also a very good way to import a file into Word, since you can specify 
exactly what you would like for the styles to appear as, and Word will do its 
best to imitate them (as will OpenOffice). Generally, it does a pretty good job 
of getting both the styles and the appearance.

I've been using it to exchange chapters of the neverending book project with 
the editors. So far, no major mishaps. It may even be pretty easy to automate 
using either the Java tool I created for importing Word files or an external 
tool.

What I'm curious about, though, is if there is an HTML import script. That's a 
part of LyX I haven't played with at all.

Cheers,

Rob

Re: lilypond in lyx children documents

2011-03-24 Thread Julien Rioux

On 20/03/2011 9:32 AM, Sylvain Le Groux wrote:

Any idea what I should do to be
able to use lilypond in children lyx documents ?


This will be fixed in the next release candidate: you can Include 
child lyx documents and use the lilypond module with them.


--
Julien



Correct paging on PDFs with chapter*

2011-03-24 Thread Steve Litt
Hi all,

My book has 57 chapters whose environment is Chapter. THen it has an Epilogue 
and three Appendices whose environments are Chapter* because I don't want them 
to have chapter numbers. The book's table of contents gets the page numbers 
right, but the PDF's clickable links in the Table of Contents and its sidebar 
clickable Table of Contents both bring you to wrong places when you click 
them. Specifically, they bring you to points in the book earlier than the 
desired place. I've already tried including package tcloft and using 
\cleardoublepage at the end of preceding chapters, and nothing worked.

I need to find a way around this, either by fixing the clickability of 
Chapter* within PDFs, or using Chapter and somehow suppressing chapter 
numbering and the use of the word Chapter. Any ideas?

Thanks

StevET

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Correct paging on PDFs with chapter* SOLVED

2011-03-24 Thread Steve Litt
Hi all,

The documented, correct, and functional fix for this is to use the 
\phantomsection command before every \addcontentsline command. The reason is 
the hyperref package has a hard time with \addcontentsline and so the hyperref 
package offers the \phantomsection command as an official workaround.

So when you guys come up with situations where \addcontentsline produces the 
numerically right page numbers in print but goes to the wrong page when 
clicked, suspect this hyperref anomole and try the \phantomsection official 
workaround.

Thanks

SteveT

On Thursday 24 March 2011 15:57:34 Steve Litt wrote:
 Hi all,
 
 My book has 57 chapters whose environment is Chapter. THen it has an
 Epilogue and three Appendices whose environments are Chapter* because I
 don't want them to have chapter numbers. The book's table of contents gets
 the page numbers right, but the PDF's clickable links in the Table of
 Contents and its sidebar clickable Table of Contents both bring you to
 wrong places when you click them. Specifically, they bring you to points
 in the book earlier than the desired place. I've already tried including
 package tcloft and using \cleardoublepage at the end of preceding
 chapters, and nothing worked.
 
 I need to find a way around this, either by fixing the clickability of
 Chapter* within PDFs, or using Chapter and somehow suppressing chapter
 numbering and the use of the word Chapter. Any ideas?
 
 Thanks
 
 StevET
 
 Steve Litt
 Recession Relief Package
 http://www.recession-relief.US
 Twitter: http://www.twitter.com/stevelitt



Re: LYX software query

2011-03-24 Thread Guenter Milde
On 2011-03-24, Pavel Sanda wrote:
 Vincent van Ravesteijn wrote:
 It seems that when you installed it requires the ability to go to the web 
 and pull down files, could you confirm that this is the case?

 This is not necessary. Either you install MikTeX (assuming you are talking 
 about windows) separately, or you can download the installer-bundle (IIRC 
 this includes MikTeX).

 the problem is that some styles/classes are downloaded by miktex itself
 and by default miktex tries to update things as well iirc.

But, AFAIK, this can be turned off in the configuration.

Günter



More hyperref bogosity

2011-03-24 Thread Steve Litt
Hi all,

I have an appendix listing the several processes in my book, with cross 
references pointing to the pages on which these processes are discussed, using 
a text:myprocess-discussion-start and text:myprocess-discussion-end labels 
within the book's text. All of the cross references print the correct page 
number, but several go to the wrong page (an earlier page) if you click them. 
However, many of the cross references go to the correct page when clicked. I 
see no distinction between the ones that screw up and the ones that work 
correctly.

Before I take a half a day or more slowly deconstructing this 110,000 word 
book to form a small test case, does anyone have any ideas why some cross 
references would screw up?

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: More hyperref bogosity

2011-03-24 Thread Jacob Bishop
On Thu, Mar 24, 2011 at 3:10 PM, Steve Litt sl...@troubleshooters.comwrote:

 Hi all,

 I have an appendix listing the several processes in my book, with cross
 references pointing to the pages on which these processes are discussed,
 using
 a text:myprocess-discussion-start and text:myprocess-discussion-end labels
 within the book's text. All of the cross references print the correct page
 number, but several go to the wrong page (an earlier page) if you click
 them.
 However, many of the cross references go to the correct page when clicked.
 I
 see no distinction between the ones that screw up and the ones that work
 correctly.

 Before I take a half a day or more slowly deconstructing this 110,000 word
 book to form a small test case, does anyone have any ideas why some cross
 references would screw up?


I really don't know all that much about this problem. All I know is that
when I did my thesis in LyX, I had some links going to wrong pages. To fix
it, I had to use some ERT with \phantomsection in certain places, if I
remember correctly. It's my understanding this has to do with how the marks
are set for hyperref to deal with them. I'm certain there are others who
know more, but this might help.

Jacob


Re: Default label???

2011-03-24 Thread Stephan Witt
Am 23.03.2011 um 23:51 schrieb Steve Litt:

 On Wednesday 23 March 2011 09:04:05 you wrote:
 On 03/22/2011 07:33 PM, Liviu Andronic wrote:
 On Tue, Mar 22, 2011 at 11:26 PM, Steve Litt sl...@troubleshooters.com 
 wrote:
 Hi all,
 
 I'm now labelling all 57 chapters of my new book, and what a PITA!
 
 First of all, there's no hotkey -- I have to do Insert-Label on every
 one.
 
 At least for this you can easily define a custom shortcut. See the
 docs (Customization and Functions, I think).
 
 How about alt-i, l? (Keyboard-based menu access.)
 
 But even worse, the label defaults to the first three words, and often
 the first word is The. Is there a way to have the label default to
 the first five words?
 
 I have no idea, but this might be hardcoded. You have always the
 option to change it in the sources and rebuild it for you needs.
 Otherwise perhaps file a bug report.
 
 Rainer's idea about this is OK, but it seems a lot of work for not much
 payoff.
 
 Richard
 
 Hi Richard,
 
 You'd have a new respect for the payoff after labeling 55 chapters with more 
 than 3 words, and many start with The or A.
 
 If Rainer's idea is too much work, an easier route could be made. Somewhere 
 in 
 the code is a constant, variable or magic number describing the max length in 
 words of a default label. Just use that constant, variable or magic number to 
 set a variable, and then override the variable based on an environment 
 variable if the environment variable exists. I'd guess it would be about a 
 ten 
 minute change.
 
 Then, if that environment variable solution becomes popular, at a later time 
 the number of words can be set using a genuine configuration screen.
 
 How does that sound?

As a user I'd like and propose another solution:
* maintain a black list of words [per language] (give the user a chance to edit 
it)
* skip words from this list at the beginning
* use the remaining words until max is reached or
* use more words being skipped if the max is not reached.

The problem is where to store this list of words - we have too many 
RC-variables already.

Stephan

Re: Default label???

2011-03-24 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 24/03/11 07:20, Stephan Witt wrote:
 Am 23.03.2011 um 23:51 schrieb Steve Litt:
 
 On Wednesday 23 March 2011 09:04:05 you wrote:
 On 03/22/2011 07:33 PM, Liviu Andronic wrote:
 On Tue, Mar 22, 2011 at 11:26 PM, Steve Litt sl...@troubleshooters.com 
 wrote:
 Hi all,

 I'm now labelling all 57 chapters of my new book, and what a PITA!

 First of all, there's no hotkey -- I have to do Insert-Label on every
 one.

 At least for this you can easily define a custom shortcut. See the
 docs (Customization and Functions, I think).

 How about alt-i, l? (Keyboard-based menu access.)

 But even worse, the label defaults to the first three words, and often
 the first word is The. Is there a way to have the label default to
 the first five words?

 I have no idea, but this might be hardcoded. You have always the
 option to change it in the sources and rebuild it for you needs.
 Otherwise perhaps file a bug report.

 Rainer's idea about this is OK, but it seems a lot of work for not much
 payoff.

 Richard

 Hi Richard,

 You'd have a new respect for the payoff after labeling 55 chapters with more 
 than 3 words, and many start with The or A.

 If Rainer's idea is too much work, an easier route could be made. Somewhere 
 in 
 the code is a constant, variable or magic number describing the max length 
 in 
 words of a default label. Just use that constant, variable or magic number 
 to 
 set a variable, and then override the variable based on an environment 
 variable if the environment variable exists. I'd guess it would be about a 
 ten 
 minute change.

 Then, if that environment variable solution becomes popular, at a later time 
 the number of words can be set using a genuine configuration screen.

 How does that sound?
 
 As a user I'd like and propose another solution:
 * maintain a black list of words [per language] (give the user a chance to 
 edit it)
 * skip words from this list at the beginning
 * use the remaining words until max is reached or
 * use more words being skipped if the max is not reached.

Sounds like a reasonable solution - but would it be then a major step to
put the first 10 words into variables which could then be assembled
through a parser by a pattern specified by the user? I guess it would be
a more difficult, but much more difficult? I don't know - but it would
be a nice touch to have such a feature.

 
 The problem is where to store this list of words - we have too many 
 RC-variables already.

That is an internal question, but I think it should be user editable  so
via preferences would be fine (I don't know if that goes back to the
RC-variables you mentioned).

Cheers,

Rainer


 
 Stephan


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Tel:+33 - (0)9 53 10 27 44
Cell:   +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2K9AUACgkQoYgNqgF2egoWugCgi7acCMxGb8M2qtZl7mYe7vDD
J+sAn3ykXegKnuTeyp9QJ1f4u6mOmj5J
=Kvhn
-END PGP SIGNATURE-


Re: Weird behavior after Lyx 2.0 RC1 installation

2011-03-24 Thread Julio Rojas
So, no clue here? Please, any advice will be better than none at all.
-
Julio Rojas
jcredbe...@gmail.com



On Wed, Mar 23, 2011 at 3:38 PM, Julio Rojas jcredbe...@gmail.com wrote:
 I could backtrace the error to the use of \href in the definition of
 \email in moderncv.cls. Nonetheless, hyperref seems to be loaded
 correctly.

 -
 Julio Rojas
 jcredbe...@gmail.com



 On Wed, Mar 23, 2011 at 2:16 PM, Julio Rojas jcredbe...@gmail.com wrote:
 Dear all, I have recently installed Lyx 2.0 RC1 for Windows using the
 not-blundle installer. After that, I can see that Miktex is behaving
 weirdly, as if it was not properly installed. Package manager tells me
 a lot of packages I frequently use are not installed. Lyx compilation
 (with both 1.6.9 and 2.0) works in some cases for packages reported as
 not installed and doesn't work for packages reported as installed. I
 have tried to compile a big document (my thesis) and it gave me plenty
 of errors. I deleted the packages found in
 ~User/AppData/Roaming/MiKTeX/2.8/tex/latex, rebuild MikTeX index and
 it compiled perfectly. Now, I'm trying to compile my CV (which
 compiled perfectly before 2.0 RC1) and the following error appears:

 ! Undefined control sequence.
 \hyper@linkurl ...tionraw }\relax \Hy@colorlink
                                                  \@urlcolor 
 #1\close@pdflin...
 l.54 \begin{document}

 The control sequence at the end of the top line
 of your error message was never \def'ed. If you have
 misspelled it (e.g., `\hobx'), type `I' and the correct
 spelling (e.g., `I\hbox'). Otherwise just continue,
 and I'll forget about whatever was undefined.

 ! Undefined control sequence.
 \close@pdflink -\Hy@endcolorlink
                                  \Hy@VerboseLinkStop \pdfendlink
 l.54 \begin{document}

 The control sequence at the end of the top line
 of your error message was never \def'ed. If you have
 misspelled it (e.g., `\hobx'), type `I' and the correct
 spelling (e.g., `I\hbox'). Otherwise just continue,
 and I'll forget about whatever was undefined.

 I have installed url, breakurl and hyperref (reported as not
 installed by package manager), which seems to be culprits (even if
 there are no hyperlinks in my CV), to no avail.

 Has anybody a clue about what is happening here? Regards.
 -
 Julio Rojas
 jcredbe...@gmail.com




Re: Default label???

2011-03-24 Thread Abdelrazak Younes

On 03/22/2011 11:26 PM, Steve Litt wrote:

Hi all,

I'm now labelling all 57 chapters of my new book, and what a PITA!

First of all, there's no hotkey -- I have to do Insert-Label on every one.


What about Alt+I+L ? I guess you know that all menu items are accessible 
via the keyboard. We developers are very careful that all LyX features 
can be used without the keyboard.


Abdel.


LYX software query

2011-03-24 Thread Ben Lincoln
Hi,

I work in the IT arena at Deutsche Bank, a user has come to me requesting LYX 
on his work PC

Please could you give me some information on the following:

Lyx being free,  is this something that can also be installed within a 
Corporate environment or does this change the perspective on it?

It seems that when you installed it requires the ability to go to the web and 
pull down files, could you confirm that this is the case?

Being a Corporate Environment we have firewalls in place and this would block 
certain ports, what ports does this software communicate through.

Does the software require a 2 way ability to run.

Is the an alternative install method/cost for Banks etc?

Sorry for all the question but do appreciate your help

Many thanks in advance
Ben






[cid:image001.gif@01CBEA03.D3405040]

Ben Lincoln
Dedicated FX and Commodities Support | Global Markets

Deutsche Bank AG, London
Information Enterprise Services
Floor 4, 23 Great Winchester Street, EC2P 2AX
Tel. +44(207)54-74897

Email ben.linc...@db.commailto:ben.linc...@db.com


[cid:image002.gif@01CBEA03.D3405040]

---
This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and delete this e-mail. Any unauthorized copying, 
disclosure or distribution of the material in this e-mail is strictly forbidden.
Please refer to http://www.db.com/en/content/eu_disclosures.htm for additional 
EU corporate and regulatory disclosures.inline: image001.gifinline: image002.gif

Re: LYX software query

2011-03-24 Thread Vincent van Ravesteijn

On 24-3-2011 10:20, Ben Lincoln wrote:


Hi,

I work in the IT arena at Deutsche Bank, a user has come to me 
requesting LYX on his work PC


Please could you give me some information on the following:

Lyx being free,  is this something that can also be installed within a 
Corporate environment or does this change the perspective on it?




No, you can use it freely.

It seems that when you installed it requires the ability to go to the 
web and pull down files, could you confirm that this is the case?




This is not necessary. Either you install MikTeX (assuming you are 
talking about windows) separately, or you can download the 
installer-bundle (IIRC this includes MikTeX).


Being a Corporate Environment we have firewalls in place and this 
would block certain ports, what ports does this software communicate 
through.




When LyX is installed, there is no communication needed.


Does the software require a 2 way ability to run.



No.


Is the an alternative install method/cost for Banks etc?



You can hire me as a consultant to help you out and create an 
alternative install method that suits your preferences/needs.



Sorry for all the question but do appreciate your help

Many thanks in advance

Ben



Greetings,

Vincent


Re: Only 2 options for output?

2011-03-24 Thread Guenter Milde
On 2011-03-23, Brian P  Rabbit wrote:
 Hi.

 When I open LyX 2.00 rc1 (on a Mac 10.5),
 I only see two options for output RTF and LyXHTML.
 What happened to PDF, PS, and DVI?

LyX did not find your TeX installation when configuring.

Try ExtraReconfigure.

If this does not help, tell us more about the context.

Günter



Re: LyX Promotion

2011-03-24 Thread Guenter Milde
On 2011-03-23, Steve Litt wrote:
 On Wednesday 23 March 2011 09:54:29 you wrote:

 As for Word/OO--LyX interoperability, that seems a chimera. How can
 LyX ever be interoperable with Word, when even the LaTeX/LyX roundtrip
 will not get you back the document you started from? It seems to me
 that a more reasonable goal would be to have a Word-output function
 that strips all formatting except the semantically relevant items
 (emphasis, etc) and produce a clean Word file ready to be imported
 into a typesetting program or to be sent to Word-only people. 

 Even better, in addition to exporting emphasis and noun, have it export the 
 named but empty styles (environments and character styles) used in the doc, 
 so 
 the word doc has the styles and the text marked up with those styles. Then 
 all 
 that remains is to go in and modify those styles in MSWord or OOffice to 
 produce the desired look. After all, modifying a style in Word is five 
 minutes, not five hours.

 This is a wonderful idea. Now if we can only go the other direction...

I think we should have semantic import/export filters in addition to
visual ones for all relevant document formats.

Günter



Re: LyX Promotion

2011-03-24 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 24/03/11 11:29, Guenter Milde wrote:
 On 2011-03-23, Steve Litt wrote:
 On Wednesday 23 March 2011 09:54:29 you wrote:
 
 As for Word/OO--LyX interoperability, that seems a chimera. How can
 LyX ever be interoperable with Word, when even the LaTeX/LyX roundtrip
 will not get you back the document you started from? It seems to me
 that a more reasonable goal would be to have a Word-output function
 that strips all formatting except the semantically relevant items
 (emphasis, etc) and produce a clean Word file ready to be imported
 into a typesetting program or to be sent to Word-only people. 
 
 Even better, in addition to exporting emphasis and noun, have it export the 
 named but empty styles (environments and character styles) used in the doc, 
 so 
 the word doc has the styles and the text marked up with those styles. Then 
 all 
 that remains is to go in and modify those styles in MSWord or OOffice to 
 produce the desired look. After all, modifying a style in Word is five 
 minutes, not five hours.
 
 This is a wonderful idea. Now if we can only go the other direction...
 
 I think we should have semantic import/export filters in addition to
 visual ones for all relevant document formats.

I absolutely agree - this would make life so much easier: you can write
in LyX, export sematically to doc / odt and do the formating in word /
openoffice / libreoffice if the editor / conference only provides a
specific word template.

Definitely a priority.

Rainer

 
 Günter
 


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Tel:+33 - (0)9 53 10 27 44
Cell:   +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2LJH8ACgkQoYgNqgF2egoORwCdGPeRIFLgVGqMpwDt8giqaQAZ
gHsAni+hS4j2uv+Z8EeV1PvzDb/wrhKa
=Q01i
-END PGP SIGNATURE-


Re: LyX Promotion

2011-03-24 Thread Liviu Andronic
On Thu, Mar 24, 2011 at 12:01 PM, Rainer M Krug r.m.k...@gmail.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On 24/03/11 11:29, Guenter Milde wrote:
 On 2011-03-23, Steve Litt wrote:
 On Wednesday 23 March 2011 09:54:29 you wrote:

 As for Word/OO--LyX interoperability, that seems a chimera. How can
 LyX ever be interoperable with Word, when even the LaTeX/LyX roundtrip
 will not get you back the document you started from? It seems to me
 that a more reasonable goal would be to have a Word-output function
 that strips all formatting except the semantically relevant items
 (emphasis, etc) and produce a clean Word file ready to be imported
 into a typesetting program or to be sent to Word-only people.

 Even better, in addition to exporting emphasis and noun, have it export the
 named but empty styles (environments and character styles) used in the doc, 
 so
 the word doc has the styles and the text marked up with those styles. Then 
 all
 that remains is to go in and modify those styles in MSWord or OOffice to
 produce the desired look. After all, modifying a style in Word is five
 minutes, not five hours.

 This is a wonderful idea. Now if we can only go the other direction...

 I think we should have semantic import/export filters in addition to
 visual ones for all relevant document formats.

 I absolutely agree - this would make life so much easier: you can write
 in LyX, export sematically to doc / odt and do the formating in word /
 openoffice / libreoffice if the editor / conference only provides a
 specific word template.

 Definitely a priority.

This might go down well as a GSoC project, as it seems useful and
simple enough. What do others think?
Liviu


 Rainer


 Günter



 - --
 Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
 Biology, UCT), Dipl. Phys. (Germany)

 Centre of Excellence for Invasion Biology
 Natural Sciences Building
 Office Suite 2039
 Stellenbosch University
 Main Campus, Merriman Avenue
 Stellenbosch
 South Africa

 Tel:        +33 - (0)9 53 10 27 44
 Cell:       +27 - (0)8 39 47 90 42
 Fax (SA):   +27 - (0)8 65 16 27 82
 Fax (D) :   +49 - (0)3 21 21 25 22 44
 Fax (FR):   +33 - (0)9 58 10 27 44
 email:      rai...@krugs.de

 Skype:      RMkrug
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.10 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iEYEARECAAYFAk2LJH8ACgkQoYgNqgF2egoORwCdGPeRIFLgVGqMpwDt8giqaQAZ
 gHsAni+hS4j2uv+Z8EeV1PvzDb/wrhKa
 =Q01i
 -END PGP SIGNATURE-




-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: LyX Promotion

2011-03-24 Thread stefano franchi
On Thu, Mar 24, 2011 at 7:48 AM, Liviu Andronic landronim...@gmail.com wrote:
 On Thu, Mar 24, 2011 at 12:01 PM, Rainer M Krug r.m.k...@gmail.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On 24/03/11 11:29, Guenter Milde wrote:
 On 2011-03-23, Steve Litt wrote:
 On Wednesday 23 March 2011 09:54:29 you wrote:

 As for Word/OO--LyX interoperability, that seems a chimera. How can
 LyX ever be interoperable with Word, when even the LaTeX/LyX roundtrip
 will not get you back the document you started from? It seems to me
 that a more reasonable goal would be to have a Word-output function
 that strips all formatting except the semantically relevant items
 (emphasis, etc) and produce a clean Word file ready to be imported
 into a typesetting program or to be sent to Word-only people.

 Even better, in addition to exporting emphasis and noun, have it export the
 named but empty styles (environments and character styles) used in the 
 doc, so
 the word doc has the styles and the text marked up with those styles. Then 
 all
 that remains is to go in and modify those styles in MSWord or OOffice to
 produce the desired look. After all, modifying a style in Word is five
 minutes, not five hours.

 This is a wonderful idea. Now if we can only go the other direction...

 I think we should have semantic import/export filters in addition to
 visual ones for all relevant document formats.

 I absolutely agree - this would make life so much easier: you can write
 in LyX, export sematically to doc / odt and do the formating in word /
 openoffice / libreoffice if the editor / conference only provides a
 specific word template.

 Definitely a priority.

 This might go down well as a GSoC project, as it seems useful and
 simple enough. What do others think?
 Liviu

Excellent idea, I think. Perhaps Richard can comment on  how far the
XHTML filter is from the goal? My impression, as a user, is that it
comes pretty close to what the project would be producing.

Stefano


How to avoid lines gioing over margins?

2011-03-24 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi

I am using typewriter to point certain terms ou, but these go over the
margins of the paragraphs (see attached screenshot).

Is there a way that I can avoid this?

Here is the LaTeX code as generated by LyX:

The simulation consists of different modules which handle the dynamics
over time (see figure~\ref{fig:Flowchart-modules}. The modules govern
creation of new individuals (\texttt{newFlowers}, \texttt{renewEnergy},
\texttt{releaseMidge}, \texttt{releaseWeavil}), state transitions
(\texttt{stateAggingDeterministic}), stage transitions (\texttt{newGrePod},
\texttt{gallingMidge}, \texttt{emergenceMidge}, \texttt{ovipositionWeavil},
\texttt{emergenceWeavil}) (see figure~\ref{fig:Chart-stages}) and
internal book keeping (\texttt{beginDay}, \texttt{endDay}). Energy
is reduced by the processes \texttt{stateAggingDeterministic} and
\texttt{newFlowers}, and renewed by \texttt{renewEnergy}.


Thanks,

Rainer

- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys.
(Germany)file:///home/rkrug/Desktop/screenshot1.png


Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Tel:+33 - (0)9 53 10 27 44
Cell:   +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2LRMoACgkQoYgNqgF2egonsACghNdoMp7SLrRfKfE7bIgaMRgJ
t7YAn3BlaVNqCG76Pp+04kLwY0wGLGe6
=N3CG
-END PGP SIGNATURE-
attachment: screenshot1.png

screenshot1.png.sig
Description: Binary data


Re: Only 2 options for output?

2011-03-24 Thread Julien Rioux

On 23/03/2011 1:48 PM, Brian P. Rabbit wrote:

Hi.

When I open LyX 2.00 rc1 (on a Mac 10.5),
I only see two options for output RTF and LyXHTML.
What happened to PDF, PS, and DVI?

Sincerely,




Some export options get hidden now. You can check if they are hidden or 
simply missing entirely by having a look in Tools  Settings  File 
Handling  Formats


--
Julien



Re: Weird behavior after Lyx 2.0 RC1 installation

2011-03-24 Thread Julien Rioux

On 24/03/2011 4:01 AM, Julio Rojas wrote:

So, no clue here? Please, any advice will be better than none at all.
-
Julio Rojas
jcredbe...@gmail.com



On Wed, Mar 23, 2011 at 3:38 PM, Julio Rojasjcredbe...@gmail.com  wrote:

I could backtrace the error to the use of \href in the definition of
\email in moderncv.cls. Nonetheless, hyperref seems to be loaded
correctly.

-
Julio Rojas
jcredbe...@gmail.com



On Wed, Mar 23, 2011 at 2:16 PM, Julio Rojasjcredbe...@gmail.com  wrote:

Dear all, I have recently installed Lyx 2.0 RC1 for Windows using the
not-blundle installer. After that, I can see that Miktex is behaving
weirdly, as if it was not properly installed. Package manager tells me
a lot of packages I frequently use are not installed. Lyx compilation
(with both 1.6.9 and 2.0) works in some cases for packages reported as
not installed and doesn't work for packages reported as installed. I
have tried to compile a big document (my thesis) and it gave me plenty
of errors. I deleted the packages found in
~User/AppData/Roaming/MiKTeX/2.8/tex/latex, rebuild MikTeX index and
it compiled perfectly. Now, I'm trying to compile my CV (which
compiled perfectly before 2.0 RC1) and the following error appears:

! Undefined control sequence.
\hyper@linkurl ...tionraw}\relax \Hy@colorlink
  \@urlcolor #1\close@pdflin...
l.54 \begin{document}

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
\close@pdflink -\Hy@endcolorlink
  \Hy@VerboseLinkStop \pdfendlink
l.54 \begin{document}

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

I have installed url, breakurl and hyperref (reported as not
installed by package manager), which seems to be culprits (even if
there are no hyperlinks in my CV), to no avail.

Has anybody a clue about what is happening here? Regards.
-
Julio Rojas
jcredbe...@gmail.com







It seems like a broken miktex installation. Can you try with plain 
latex? or just LyX 1.6 if it's still on your machine?


Sorry, I can't be of much help.

--
Julien



Re: Weird behavior after Lyx 2.0 RC1 installation

2011-03-24 Thread Julio Rojas
Both the same. I'm afraid RC1 broke my miktex. Now I have to reinstall
everything!!! Please, tell me it isn't so... But I not even installed
the bundled version... Damn... :(
-
Julio Rojas
jcredbe...@gmail.com



On Thu, Mar 24, 2011 at 2:46 PM, Julien Rioux
jri...@physics.utoronto.ca wrote:
 On 24/03/2011 4:01 AM, Julio Rojas wrote:

 So, no clue here? Please, any advice will be better than none at all.
 -
 Julio Rojas
 jcredbe...@gmail.com



 On Wed, Mar 23, 2011 at 3:38 PM, Julio Rojasjcredbe...@gmail.com  wrote:

 I could backtrace the error to the use of \href in the definition of
 \email in moderncv.cls. Nonetheless, hyperref seems to be loaded
 correctly.

 -
 Julio Rojas
 jcredbe...@gmail.com



 On Wed, Mar 23, 2011 at 2:16 PM, Julio Rojasjcredbe...@gmail.com
  wrote:

 Dear all, I have recently installed Lyx 2.0 RC1 for Windows using the
 not-blundle installer. After that, I can see that Miktex is behaving
 weirdly, as if it was not properly installed. Package manager tells me
 a lot of packages I frequently use are not installed. Lyx compilation
 (with both 1.6.9 and 2.0) works in some cases for packages reported as
 not installed and doesn't work for packages reported as installed. I
 have tried to compile a big document (my thesis) and it gave me plenty
 of errors. I deleted the packages found in
 ~User/AppData/Roaming/MiKTeX/2.8/tex/latex, rebuild MikTeX index and
 it compiled perfectly. Now, I'm trying to compile my CV (which
 compiled perfectly before 2.0 RC1) and the following error appears:

 ! Undefined control sequence.
 \hyper@linkurl ...tionraw}\relax \Hy@colorlink
                                                  \@urlcolor
 #1\close@pdflin...
 l.54 \begin{document}

 The control sequence at the end of the top line
 of your error message was never \def'ed. If you have
 misspelled it (e.g., `\hobx'), type `I' and the correct
 spelling (e.g., `I\hbox'). Otherwise just continue,
 and I'll forget about whatever was undefined.

 ! Undefined control sequence.
 \close@pdflink -\Hy@endcolorlink
                                  \Hy@VerboseLinkStop \pdfendlink
 l.54 \begin{document}

 The control sequence at the end of the top line
 of your error message was never \def'ed. If you have
 misspelled it (e.g., `\hobx'), type `I' and the correct
 spelling (e.g., `I\hbox'). Otherwise just continue,
 and I'll forget about whatever was undefined.

 I have installed url, breakurl and hyperref (reported as not
 installed by package manager), which seems to be culprits (even if
 there are no hyperlinks in my CV), to no avail.

 Has anybody a clue about what is happening here? Regards.
 -
 Julio Rojas
 jcredbe...@gmail.com




 It seems like a broken miktex installation. Can you try with plain latex? or
 just LyX 1.6 if it's still on your machine?

 Sorry, I can't be of much help.

 --
 Julien




Re: Weird behavior after Lyx 2.0 RC1 installation

2011-03-24 Thread Pavel Sanda
Julio Rojas wrote:
 Both the same. I'm afraid RC1 broke my miktex.

what installer did you use previously?
pavel


Re: LYX software query

2011-03-24 Thread Pavel Sanda
Vincent van Ravesteijn wrote:
 It seems that when you installed it requires the ability to go to the web 
 and pull down files, could you confirm that this is the case?


 This is not necessary. Either you install MikTeX (assuming you are talking 
 about windows) separately, or you can download the installer-bundle (IIRC 
 this includes MikTeX).

the problem is that some styles/classes are downloaded by miktex itself
and by default miktex tries to update things as well iirc.

pavel


Re: Weird behavior after Lyx 2.0 RC1 installation

2011-03-24 Thread Julio Rojas
Standard, not alternate.
-
Julio Rojas
jcredbe...@gmail.com



On Thu, Mar 24, 2011 at 3:24 PM, Pavel Sanda sa...@lyx.org wrote:
 Julio Rojas wrote:
 Both the same. I'm afraid RC1 broke my miktex.

 what installer did you use previously?
 pavel



Re: How to avoid lines gioing over margins?

2011-03-24 Thread Paul A . Rubin
http://stackoverflow.com/questions/2112372/preventing-texttt-latex-tag-from-letting-its-content-passing-over-the-margin

Paul



Re: How to avoid lines gioing over margins?

2011-03-24 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 24/03/11 16:28, Paul A. Rubin wrote:
 http://stackoverflow.com/questions/2112372/preventing-texttt-latex-tag-from-letting-its-content-passing-over-the-margin

Thanks

That and
http://tex.stackexchange.com/questions/299/how-to-get-long-texttt-sections-to-break

should solve it

Rainer

 
 Paul
 


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Tel:+33 - (0)9 53 10 27 44
Cell:   +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2LY/sACgkQoYgNqgF2egrBdACeLDuR97iDANYOF/iZ4kv/fIHE
sugAoIXcMOka3U32ynaIbb8MXO8ov0hP
=scMo
-END PGP SIGNATURE-


Re: tutorials / slides for seminars or workshops (was: 'Re: LyX Promotion')

2011-03-24 Thread Ronen Abravanel
Translated my stuff to english:
http://technion.ac.il/~ronen/lyxlecture2/en/

probably there are some grammar problems. use freely.

On Wed, Mar 23, 2011 at 8:51 PM, Liviu Andronic landronim...@gmail.comwrote:

 On Wed, Mar 23, 2011 at 7:45 PM, Ronen Abravanel ron...@gmail.com wrote:
   department, and I started with very short into on LaTeX and in what
   scene
   LyX is different from word, and then about 40 minutes of
 demonstration
   of
   what can I do and how can I do that.
  
   If there is nothing better, I can translate my tutorial to English
 (few
  
  What is the original language of the tutorial? Maybe I could digest it
  myself.
 
  Hebrew.
 
 Oh, I haven't gotten to Hebrew yet. :) If you have time and it's not
 much bother, I would indeed much appreciate a starting point for my
 workshop. Please let me know.

 Cheers
 Liviu



Re: LyX Promotion

2011-03-24 Thread Steve Litt
On Thursday 24 March 2011 07:01:19 Rainer M Krug wrote:
 On 24/03/11 11:29, Guenter Milde wrote:
  On 2011-03-23, Steve Litt wrote:

  This is a wonderful idea. Now if we can only go the other direction...
  
  I think we should have semantic import/export filters in addition to
  visual ones for all relevant document formats.
 
 I absolutely agree - this would make life so much easier: you can write
 in LyX, export sematically to doc / odt and do the formating in word /
 openoffice / libreoffice if the editor / conference only provides a
 specific word template.
 
 Definitely a priority.

I'm not quite sure what you guys mean by semantic import/export, but if you 
mean exporting the text marked up with (empty) styles and the (empty) style 
definitions so all I have to do with the MSWord file is fill in the styles, 
then I'm on it like a squirrel on a tree. Let me tell you why.

The (insert your own curse phrase here) fools controlling the various eBook 
formats have made it almost necessary to use MSWord as the input to the eBook 
conversion process. Saaayyy what??? So let me get this straight. I write 
my book in a good software like LyX, and then have to rewrite it in (insert 
your favorite phrase meaning incompetent here) MSWord in order to put it on 
a Kindle? Really?

You know, if we're really considering this, there should be an option to 
convert what we call Part, Chapter, Section, Subsection... to MSWord's 
Header1, Header2, Header3, Header4 etc. And of course we need to do it 
configurably because not everyone uses parts and not everyone uses chapters. 
I'm attaching part of my VimOutliner to LyX converter so you can see how I 
implemented a similar level to level mapping in that software.

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt

1: Chapter   
2: Section
3: Subsection
4: Subsubsection 
5: Paragraph 
6: Subparagraph  
7: Garbage7   
bodytext: Standard


otl2lyx.awk
Description: application/awk


Re: LyX Promotion

2011-03-24 Thread Julien Rioux

On 24/03/2011 2:09 PM, Steve Litt wrote:

On Thursday 24 March 2011 07:01:19 Rainer M Krug wrote:

On 24/03/11 11:29, Guenter Milde wrote:

On 2011-03-23, Steve Litt wrote:



This is a wonderful idea. Now if we can only go the other direction...


I think we should have semantic import/export filters in addition to
visual ones for all relevant document formats.


I absolutely agree - this would make life so much easier: you can write
in LyX, export sematically to doc / odt and do the formating in word /
openoffice / libreoffice if the editor / conference only provides a
specific word template.

Definitely a priority.


I'm not quite sure what you guys mean by semantic import/export, but if you
mean exporting the text marked up with (empty) styles and the (empty) style
definitions so all I have to do with the MSWord file is fill in the styles,
then I'm on it like a squirrel on a tree. Let me tell you why.

The (insert your own curse phrase here) fools controlling the various eBook
formats have made it almost necessary to use MSWord as the input to the eBook
conversion process. Saaayyy what??? So let me get this straight. I write
my book in a good software like LyX, and then have to rewrite it in (insert
your favorite phrase meaning incompetent here) MSWord in order to put it on
a Kindle? Really?

You know, if we're really considering this, there should be an option to
convert what we call Part, Chapter, Section, Subsection... to MSWord's
Header1, Header2, Header3, Header4 etc. And of course we need to do it
configurably because not everyone uses parts and not everyone uses chapters.
I'm attaching part of my VimOutliner to LyX converter so you can see how I
implemented a similar level to level mapping in that software.

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



I love awk. Great tool. That's quite the script you got there. :)

--
Julien



Re: LyX Promotion

2011-03-24 Thread Rob Oakes
Hi Steve,

 I'm not quite sure what you guys mean by semantic import/export, but if you 
 mean exporting the text marked up with (empty) styles and the (empty) style 
 definitions so all I have to do with the MSWord file is fill in the styles, 
 then I'm on it like a squirrel on a tree. Let me tell you why.
 
 The (insert your own curse phrase here) fools controlling the various eBook 
 formats have made it almost necessary to use MSWord as the input to the eBook 
 conversion process. Saaayyy what??? So let me get this straight. I write 
 my book in a good software like LyX, and then have to rewrite it in (insert 
 your favorite phrase meaning incompetent here) MSWord in order to put it on 
 a Kindle? Really?

If you're using version 2.0 of LyX, you can also export to XHTML. Kindle and 
Barnes and Noble PubIt let you upload HTML files without first converting to 
Word. If you don't mind hacking the layout files, you can also get a huge 
degree of control over how your document appears.

For example, if you wanted to change the heading for chapter style so that it 
exports to h1 (right now, it exports to h2), you could use the following in 
the local layout of your file.

Style Chapter
HTMLTag h2
End

If you wanted to modify how the CSS appears, you could then use the HTMLStyle 
tag to do something fancy.  For example, the CSS below would allow you to make 
an off-white headline example with small caps.

Style Chapter
HTML Tagh2
HTMLStyle   font-family:Georgia,serif: color: #4#443C; 
font-variant: small-caps; text-transform: none; font-weight 100; margin-bottom: 
0;
End

You can use this technique to override any of the of default CSS for any 
document class.

it's also a very good way to import a file into Word, since you can specify 
exactly what you would like for the styles to appear as, and Word will do its 
best to imitate them (as will OpenOffice). Generally, it does a pretty good job 
of getting both the styles and the appearance.

I've been using it to exchange chapters of the neverending book project with 
the editors. So far, no major mishaps. It may even be pretty easy to automate 
using either the Java tool I created for importing Word files or an external 
tool.

What I'm curious about, though, is if there is an HTML import script. That's a 
part of LyX I haven't played with at all.

Cheers,

Rob

Re: lilypond in lyx children documents

2011-03-24 Thread Julien Rioux

On 20/03/2011 9:32 AM, Sylvain Le Groux wrote:

Any idea what I should do to be
able to use lilypond in children lyx documents ?


This will be fixed in the next release candidate: you can Include 
child lyx documents and use the lilypond module with them.


--
Julien



Correct paging on PDFs with chapter*

2011-03-24 Thread Steve Litt
Hi all,

My book has 57 chapters whose environment is Chapter. THen it has an Epilogue 
and three Appendices whose environments are Chapter* because I don't want them 
to have chapter numbers. The book's table of contents gets the page numbers 
right, but the PDF's clickable links in the Table of Contents and its sidebar 
clickable Table of Contents both bring you to wrong places when you click 
them. Specifically, they bring you to points in the book earlier than the 
desired place. I've already tried including package tcloft and using 
\cleardoublepage at the end of preceding chapters, and nothing worked.

I need to find a way around this, either by fixing the clickability of 
Chapter* within PDFs, or using Chapter and somehow suppressing chapter 
numbering and the use of the word Chapter. Any ideas?

Thanks

StevET

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Correct paging on PDFs with chapter* SOLVED

2011-03-24 Thread Steve Litt
Hi all,

The documented, correct, and functional fix for this is to use the 
\phantomsection command before every \addcontentsline command. The reason is 
the hyperref package has a hard time with \addcontentsline and so the hyperref 
package offers the \phantomsection command as an official workaround.

So when you guys come up with situations where \addcontentsline produces the 
numerically right page numbers in print but goes to the wrong page when 
clicked, suspect this hyperref anomole and try the \phantomsection official 
workaround.

Thanks

SteveT

On Thursday 24 March 2011 15:57:34 Steve Litt wrote:
 Hi all,
 
 My book has 57 chapters whose environment is Chapter. THen it has an
 Epilogue and three Appendices whose environments are Chapter* because I
 don't want them to have chapter numbers. The book's table of contents gets
 the page numbers right, but the PDF's clickable links in the Table of
 Contents and its sidebar clickable Table of Contents both bring you to
 wrong places when you click them. Specifically, they bring you to points
 in the book earlier than the desired place. I've already tried including
 package tcloft and using \cleardoublepage at the end of preceding
 chapters, and nothing worked.
 
 I need to find a way around this, either by fixing the clickability of
 Chapter* within PDFs, or using Chapter and somehow suppressing chapter
 numbering and the use of the word Chapter. Any ideas?
 
 Thanks
 
 StevET
 
 Steve Litt
 Recession Relief Package
 http://www.recession-relief.US
 Twitter: http://www.twitter.com/stevelitt



Re: LYX software query

2011-03-24 Thread Guenter Milde
On 2011-03-24, Pavel Sanda wrote:
 Vincent van Ravesteijn wrote:
 It seems that when you installed it requires the ability to go to the web 
 and pull down files, could you confirm that this is the case?

 This is not necessary. Either you install MikTeX (assuming you are talking 
 about windows) separately, or you can download the installer-bundle (IIRC 
 this includes MikTeX).

 the problem is that some styles/classes are downloaded by miktex itself
 and by default miktex tries to update things as well iirc.

But, AFAIK, this can be turned off in the configuration.

Günter



More hyperref bogosity

2011-03-24 Thread Steve Litt
Hi all,

I have an appendix listing the several processes in my book, with cross 
references pointing to the pages on which these processes are discussed, using 
a text:myprocess-discussion-start and text:myprocess-discussion-end labels 
within the book's text. All of the cross references print the correct page 
number, but several go to the wrong page (an earlier page) if you click them. 
However, many of the cross references go to the correct page when clicked. I 
see no distinction between the ones that screw up and the ones that work 
correctly.

Before I take a half a day or more slowly deconstructing this 110,000 word 
book to form a small test case, does anyone have any ideas why some cross 
references would screw up?

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: More hyperref bogosity

2011-03-24 Thread Jacob Bishop
On Thu, Mar 24, 2011 at 3:10 PM, Steve Litt sl...@troubleshooters.comwrote:

 Hi all,

 I have an appendix listing the several processes in my book, with cross
 references pointing to the pages on which these processes are discussed,
 using
 a text:myprocess-discussion-start and text:myprocess-discussion-end labels
 within the book's text. All of the cross references print the correct page
 number, but several go to the wrong page (an earlier page) if you click
 them.
 However, many of the cross references go to the correct page when clicked.
 I
 see no distinction between the ones that screw up and the ones that work
 correctly.

 Before I take a half a day or more slowly deconstructing this 110,000 word
 book to form a small test case, does anyone have any ideas why some cross
 references would screw up?


I really don't know all that much about this problem. All I know is that
when I did my thesis in LyX, I had some links going to wrong pages. To fix
it, I had to use some ERT with \phantomsection in certain places, if I
remember correctly. It's my understanding this has to do with how the marks
are set for hyperref to deal with them. I'm certain there are others who
know more, but this might help.

Jacob


Re: Default label???

2011-03-24 Thread Stephan Witt
Am 23.03.2011 um 23:51 schrieb Steve Litt:

> On Wednesday 23 March 2011 09:04:05 you wrote:
>> On 03/22/2011 07:33 PM, Liviu Andronic wrote:
>>> On Tue, Mar 22, 2011 at 11:26 PM, Steve Litt  
> wrote:
 Hi all,
 
 I'm now labelling all 57 chapters of my new book, and what a PITA!
 
 First of all, there's no hotkey -- I have to do Insert->Label on every
 one.
>>> 
>>> At least for this you can easily define a custom shortcut. See the
>>> docs (Customization and Functions, I think).
>> 
>> How about alt-i, l? (Keyboard-based menu access.)
>> 
 But even worse, the label defaults to the first three words, and often
 the first word is "The". Is there a way to have the label default to
 the first five words?
>>> 
>>> I have no idea, but this might be hardcoded. You have always the
>>> option to change it in the sources and rebuild it for you needs.
>>> Otherwise perhaps file a bug report.
>> 
>> Rainer's idea about this is OK, but it seems a lot of work for not much
>> payoff.
>> 
>> Richard
> 
> Hi Richard,
> 
> You'd have a new respect for the payoff after labeling 55 chapters with more 
> than 3 words, and many start with "The" or "A".
> 
> If Rainer's idea is too much work, an easier route could be made. Somewhere 
> in 
> the code is a constant, variable or magic number describing the max length in 
> words of a default label. Just use that constant, variable or magic number to 
> set a variable, and then override the variable based on an environment 
> variable if the environment variable exists. I'd guess it would be about a 
> ten 
> minute change.
> 
> Then, if that environment variable solution becomes popular, at a later time 
> the number of words can be set using a genuine configuration screen.
> 
> How does that sound?

As a user I'd like and propose another solution:
* maintain a black list of words [per language] (give the user a chance to edit 
it)
* skip words from this list at the beginning
* use the remaining words until max is reached or
* use more words being skipped if the max is not reached.

The problem is where to store this list of words - we have too many 
RC-variables already.

Stephan

Re: Default label???

2011-03-24 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 24/03/11 07:20, Stephan Witt wrote:
> Am 23.03.2011 um 23:51 schrieb Steve Litt:
> 
>> On Wednesday 23 March 2011 09:04:05 you wrote:
>>> On 03/22/2011 07:33 PM, Liviu Andronic wrote:
 On Tue, Mar 22, 2011 at 11:26 PM, Steve Litt  
>> wrote:
> Hi all,
>
> I'm now labelling all 57 chapters of my new book, and what a PITA!
>
> First of all, there's no hotkey -- I have to do Insert->Label on every
> one.

 At least for this you can easily define a custom shortcut. See the
 docs (Customization and Functions, I think).
>>>
>>> How about alt-i, l? (Keyboard-based menu access.)
>>>
> But even worse, the label defaults to the first three words, and often
> the first word is "The". Is there a way to have the label default to
> the first five words?

 I have no idea, but this might be hardcoded. You have always the
 option to change it in the sources and rebuild it for you needs.
 Otherwise perhaps file a bug report.
>>>
>>> Rainer's idea about this is OK, but it seems a lot of work for not much
>>> payoff.
>>>
>>> Richard
>>
>> Hi Richard,
>>
>> You'd have a new respect for the payoff after labeling 55 chapters with more 
>> than 3 words, and many start with "The" or "A".
>>
>> If Rainer's idea is too much work, an easier route could be made. Somewhere 
>> in 
>> the code is a constant, variable or magic number describing the max length 
>> in 
>> words of a default label. Just use that constant, variable or magic number 
>> to 
>> set a variable, and then override the variable based on an environment 
>> variable if the environment variable exists. I'd guess it would be about a 
>> ten 
>> minute change.
>>
>> Then, if that environment variable solution becomes popular, at a later time 
>> the number of words can be set using a genuine configuration screen.
>>
>> How does that sound?
> 
> As a user I'd like and propose another solution:
> * maintain a black list of words [per language] (give the user a chance to 
> edit it)
> * skip words from this list at the beginning
> * use the remaining words until max is reached or
> * use more words being skipped if the max is not reached.

Sounds like a reasonable solution - but would it be then a major step to
put the first 10 words into variables which could then be assembled
through a parser by a pattern specified by the user? I guess it would be
a more difficult, but much more difficult? I don't know - but it would
be a nice touch to have such a feature.

> 
> The problem is where to store this list of words - we have too many 
> RC-variables already.

That is an internal question, but I think it should be user editable  so
via preferences would be fine (I don't know if that goes back to the
RC-variables you mentioned).

Cheers,

Rainer


> 
> Stephan


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Tel:+33 - (0)9 53 10 27 44
Cell:   +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2K9AUACgkQoYgNqgF2egoWugCgi7acCMxGb8M2qtZl7mYe7vDD
J+sAn3ykXegKnuTeyp9QJ1f4u6mOmj5J
=Kvhn
-END PGP SIGNATURE-


Re: Weird behavior after Lyx 2.0 RC1 installation

2011-03-24 Thread Julio Rojas
So, no clue here? Please, any advice will be better than none at all.
-
Julio Rojas
jcredbe...@gmail.com



On Wed, Mar 23, 2011 at 3:38 PM, Julio Rojas  wrote:
> I could backtrace the error to the use of "\href" in the definition of
> "\email" in "moderncv.cls". Nonetheless, hyperref seems to be loaded
> correctly.
>
> -
> Julio Rojas
> jcredbe...@gmail.com
>
>
>
> On Wed, Mar 23, 2011 at 2:16 PM, Julio Rojas  wrote:
>> Dear all, I have recently installed Lyx 2.0 RC1 for Windows using the
>> not-blundle installer. After that, I can see that Miktex is behaving
>> weirdly, as if it was not properly installed. Package manager tells me
>> a lot of packages I frequently use are not installed. Lyx compilation
>> (with both 1.6.9 and 2.0) works in some cases for packages reported as
>> not installed and doesn't work for packages reported as installed. I
>> have tried to compile a big document (my thesis) and it gave me plenty
>> of errors. I deleted the packages found in
>> "~User/AppData/Roaming/MiKTeX/2.8/tex/latex", rebuild MikTeX index and
>> it compiled perfectly. Now, I'm trying to compile my CV (which
>> compiled perfectly before 2.0 RC1) and the following error appears:
>>
>> ! Undefined control sequence.
>> \hyper@linkurl ...tionraw >>}\relax \Hy@colorlink
>>                                                  \@urlcolor 
>> #1\close@pdflin...
>> l.54 \begin{document}
>>
>> The control sequence at the end of the top line
>> of your error message was never \def'ed. If you have
>> misspelled it (e.g., `\hobx'), type `I' and the correct
>> spelling (e.g., `I\hbox'). Otherwise just continue,
>> and I'll forget about whatever was undefined.
>>
>> ! Undefined control sequence.
>> \close@pdflink ->\Hy@endcolorlink
>>                                  \Hy@VerboseLinkStop \pdfendlink
>> l.54 \begin{document}
>>
>> The control sequence at the end of the top line
>> of your error message was never \def'ed. If you have
>> misspelled it (e.g., `\hobx'), type `I' and the correct
>> spelling (e.g., `I\hbox'). Otherwise just continue,
>> and I'll forget about whatever was undefined.
>>
>> I have installed "url", "breakurl" and "hyperref" (reported as not
>> installed by package manager), which seems to be culprits (even if
>> there are no hyperlinks in my CV), to no avail.
>>
>> Has anybody a clue about what is happening here? Regards.
>> -
>> Julio Rojas
>> jcredbe...@gmail.com
>>
>


Re: Default label???

2011-03-24 Thread Abdelrazak Younes

On 03/22/2011 11:26 PM, Steve Litt wrote:

Hi all,

I'm now labelling all 57 chapters of my new book, and what a PITA!

First of all, there's no hotkey -- I have to do Insert->Label on every one.


What about Alt+I+L ? I guess you know that all menu items are accessible 
via the keyboard. We developers are very careful that all LyX features 
can be used without the keyboard.


Abdel.


LYX software query

2011-03-24 Thread Ben Lincoln
Hi,

I work in the IT arena at Deutsche Bank, a user has come to me requesting LYX 
on his work PC

Please could you give me some information on the following:

Lyx being free,  is this something that can also be installed within a 
Corporate environment or does this change the perspective on it?

It seems that when you installed it requires the ability to go to the web and 
pull down files, could you confirm that this is the case?

Being a Corporate Environment we have firewalls in place and this would block 
certain ports, what ports does this software communicate through.

Does the software require a 2 way ability to run.

Is the an alternative install method/cost for Banks etc?

Sorry for all the question but do appreciate your help

Many thanks in advance
Ben






[cid:image001.gif@01CBEA03.D3405040]

Ben Lincoln
Dedicated FX and Commodities Support | Global Markets

Deutsche Bank AG, London
Information Enterprise Services
Floor 4, 23 Great Winchester Street, EC2P 2AX
Tel. +44(207)54-74897

Email ben.linc...@db.com


[cid:image002.gif@01CBEA03.D3405040]

---
This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and delete this e-mail. Any unauthorized copying, 
disclosure or distribution of the material in this e-mail is strictly forbidden.
Please refer to http://www.db.com/en/content/eu_disclosures.htm for additional 
EU corporate and regulatory disclosures.<><>

Re: LYX software query

2011-03-24 Thread Vincent van Ravesteijn

On 24-3-2011 10:20, Ben Lincoln wrote:


Hi,

I work in the IT arena at Deutsche Bank, a user has come to me 
requesting LYX on his work PC


Please could you give me some information on the following:

Lyx being free,  is this something that can also be installed within a 
Corporate environment or does this change the perspective on it?




No, you can use it freely.

It seems that when you installed it requires the ability to go to the 
web and pull down files, could you confirm that this is the case?




This is not necessary. Either you install MikTeX (assuming you are 
talking about windows) separately, or you can download the 
installer-bundle (IIRC this includes MikTeX).


Being a Corporate Environment we have firewalls in place and this 
would block certain ports, what ports does this software communicate 
through.




When LyX is installed, there is no communication needed.


Does the software require a 2 way ability to run.



No.


Is the an alternative install method/cost for Banks etc?



You can hire me as a consultant to help you out and create an 
alternative install method that suits your preferences/needs.



Sorry for all the question but do appreciate your help

Many thanks in advance

Ben



Greetings,

Vincent


Re: Only 2 options for output?

2011-03-24 Thread Guenter Milde
On 2011-03-23, Brian P  Rabbit wrote:
> Hi.

> When I open LyX 2.00 rc1 (on a Mac 10.5),
> I only see two options for output RTF and LyXHTML.
> What happened to PDF, PS, and DVI?

LyX did not find your TeX installation when configuring.

Try Extra>Reconfigure.

If this does not help, tell us more about the context.

Günter



Re: LyX Promotion

2011-03-24 Thread Guenter Milde
On 2011-03-23, Steve Litt wrote:
> On Wednesday 23 March 2011 09:54:29 you wrote:

>> As for Word/OO<-->LyX interoperability, that seems a chimera. How can
>> LyX ever be interoperable with Word, when even the LaTeX/LyX roundtrip
>> will not get you back the document you started from? It seems to me
>> that a more reasonable goal would be to have a Word-output function
>> that strips all formatting except the semantically relevant items
>> (emphasis, etc) and produce a clean Word file ready to be imported
>> into a typesetting program or to be sent to Word-only people. 

> Even better, in addition to exporting emphasis and noun, have it export the 
> named but empty styles (environments and character styles) used in the doc, 
> so 
> the word doc has the styles and the text marked up with those styles. Then 
> all 
> that remains is to go in and modify those styles in MSWord or OOffice to 
> produce the desired look. After all, modifying a style in Word is five 
> minutes, not five hours.

> This is a wonderful idea. Now if we can only go the other direction...

I think we should have "semantic" import/export filters in addition to
"visual" ones for all relevant document formats.

Günter



Re: LyX Promotion

2011-03-24 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 24/03/11 11:29, Guenter Milde wrote:
> On 2011-03-23, Steve Litt wrote:
>> On Wednesday 23 March 2011 09:54:29 you wrote:
> 
>>> As for Word/OO<-->LyX interoperability, that seems a chimera. How can
>>> LyX ever be interoperable with Word, when even the LaTeX/LyX roundtrip
>>> will not get you back the document you started from? It seems to me
>>> that a more reasonable goal would be to have a Word-output function
>>> that strips all formatting except the semantically relevant items
>>> (emphasis, etc) and produce a clean Word file ready to be imported
>>> into a typesetting program or to be sent to Word-only people. 
> 
>> Even better, in addition to exporting emphasis and noun, have it export the 
>> named but empty styles (environments and character styles) used in the doc, 
>> so 
>> the word doc has the styles and the text marked up with those styles. Then 
>> all 
>> that remains is to go in and modify those styles in MSWord or OOffice to 
>> produce the desired look. After all, modifying a style in Word is five 
>> minutes, not five hours.
> 
>> This is a wonderful idea. Now if we can only go the other direction...
> 
> I think we should have "semantic" import/export filters in addition to
> "visual" ones for all relevant document formats.

I absolutely agree - this would make life so much easier: you can write
in LyX, export sematically to doc / odt and do the formating in word /
openoffice / libreoffice if the editor / conference only provides a
specific word template.

Definitely a priority.

Rainer

> 
> Günter
> 


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Tel:+33 - (0)9 53 10 27 44
Cell:   +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2LJH8ACgkQoYgNqgF2egoORwCdGPeRIFLgVGqMpwDt8giqaQAZ
gHsAni+hS4j2uv+Z8EeV1PvzDb/wrhKa
=Q01i
-END PGP SIGNATURE-


Re: LyX Promotion

2011-03-24 Thread Liviu Andronic
On Thu, Mar 24, 2011 at 12:01 PM, Rainer M Krug  wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 24/03/11 11:29, Guenter Milde wrote:
>> On 2011-03-23, Steve Litt wrote:
>>> On Wednesday 23 March 2011 09:54:29 you wrote:
>>
 As for Word/OO<-->LyX interoperability, that seems a chimera. How can
 LyX ever be interoperable with Word, when even the LaTeX/LyX roundtrip
 will not get you back the document you started from? It seems to me
 that a more reasonable goal would be to have a Word-output function
 that strips all formatting except the semantically relevant items
 (emphasis, etc) and produce a clean Word file ready to be imported
 into a typesetting program or to be sent to Word-only people.
>>
>>> Even better, in addition to exporting emphasis and noun, have it export the
>>> named but empty styles (environments and character styles) used in the doc, 
>>> so
>>> the word doc has the styles and the text marked up with those styles. Then 
>>> all
>>> that remains is to go in and modify those styles in MSWord or OOffice to
>>> produce the desired look. After all, modifying a style in Word is five
>>> minutes, not five hours.
>>
>>> This is a wonderful idea. Now if we can only go the other direction...
>>
>> I think we should have "semantic" import/export filters in addition to
>> "visual" ones for all relevant document formats.
>
> I absolutely agree - this would make life so much easier: you can write
> in LyX, export sematically to doc / odt and do the formating in word /
> openoffice / libreoffice if the editor / conference only provides a
> specific word template.
>
> Definitely a priority.
>
This might go down well as a GSoC project, as it seems useful and
"simple" enough. What do others think?
Liviu


> Rainer
>
>>
>> Günter
>>
>
>
> - --
> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
> Biology, UCT), Dipl. Phys. (Germany)
>
> Centre of Excellence for Invasion Biology
> Natural Sciences Building
> Office Suite 2039
> Stellenbosch University
> Main Campus, Merriman Avenue
> Stellenbosch
> South Africa
>
> Tel:        +33 - (0)9 53 10 27 44
> Cell:       +27 - (0)8 39 47 90 42
> Fax (SA):   +27 - (0)8 65 16 27 82
> Fax (D) :   +49 - (0)3 21 21 25 22 44
> Fax (FR):   +33 - (0)9 58 10 27 44
> email:      rai...@krugs.de
>
> Skype:      RMkrug
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk2LJH8ACgkQoYgNqgF2egoORwCdGPeRIFLgVGqMpwDt8giqaQAZ
> gHsAni+hS4j2uv+Z8EeV1PvzDb/wrhKa
> =Q01i
> -END PGP SIGNATURE-
>



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: LyX Promotion

2011-03-24 Thread stefano franchi
On Thu, Mar 24, 2011 at 7:48 AM, Liviu Andronic  wrote:
> On Thu, Mar 24, 2011 at 12:01 PM, Rainer M Krug  wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> On 24/03/11 11:29, Guenter Milde wrote:
>>> On 2011-03-23, Steve Litt wrote:
 On Wednesday 23 March 2011 09:54:29 you wrote:
>>>
> As for Word/OO<-->LyX interoperability, that seems a chimera. How can
> LyX ever be interoperable with Word, when even the LaTeX/LyX roundtrip
> will not get you back the document you started from? It seems to me
> that a more reasonable goal would be to have a Word-output function
> that strips all formatting except the semantically relevant items
> (emphasis, etc) and produce a clean Word file ready to be imported
> into a typesetting program or to be sent to Word-only people.
>>>
 Even better, in addition to exporting emphasis and noun, have it export the
 named but empty styles (environments and character styles) used in the 
 doc, so
 the word doc has the styles and the text marked up with those styles. Then 
 all
 that remains is to go in and modify those styles in MSWord or OOffice to
 produce the desired look. After all, modifying a style in Word is five
 minutes, not five hours.
>>>
 This is a wonderful idea. Now if we can only go the other direction...
>>>
>>> I think we should have "semantic" import/export filters in addition to
>>> "visual" ones for all relevant document formats.
>>
>> I absolutely agree - this would make life so much easier: you can write
>> in LyX, export sematically to doc / odt and do the formating in word /
>> openoffice / libreoffice if the editor / conference only provides a
>> specific word template.
>>
>> Definitely a priority.
>>
> This might go down well as a GSoC project, as it seems useful and
> "simple" enough. What do others think?
> Liviu

Excellent idea, I think. Perhaps Richard can comment on  how far the
XHTML filter is from the goal? My impression, as a user, is that it
comes pretty close to what the project would be producing.

Stefano


How to avoid lines gioing over margins?

2011-03-24 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi

I am using typewriter to point certain terms ou, but these go over the
margins of the paragraphs (see attached screenshot).

Is there a way that I can avoid this?

Here is the LaTeX code as generated by LyX:

The simulation consists of different modules which handle the dynamics
over time (see figure~\ref{fig:Flowchart-modules}. The modules govern
creation of new individuals (\texttt{newFlowers}, \texttt{renewEnergy},
\texttt{releaseMidge}, \texttt{releaseWeavil}), state transitions
(\texttt{stateAggingDeterministic}), stage transitions (\texttt{newGrePod},
\texttt{gallingMidge}, \texttt{emergenceMidge}, \texttt{ovipositionWeavil},
\texttt{emergenceWeavil}) (see figure~\ref{fig:Chart-stages}) and
internal book keeping (\texttt{beginDay}, \texttt{endDay}). Energy
is reduced by the processes \texttt{stateAggingDeterministic} and
\texttt{newFlowers}, and renewed by \texttt{renewEnergy}.


Thanks,

Rainer

- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys.
(Germany)file:///home/rkrug/Desktop/screenshot1.png


Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Tel:+33 - (0)9 53 10 27 44
Cell:   +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2LRMoACgkQoYgNqgF2egonsACghNdoMp7SLrRfKfE7bIgaMRgJ
t7YAn3BlaVNqCG76Pp+04kLwY0wGLGe6
=N3CG
-END PGP SIGNATURE-
<>

screenshot1.png.sig
Description: Binary data


Re: Only 2 options for output?

2011-03-24 Thread Julien Rioux

On 23/03/2011 1:48 PM, Brian P. Rabbit wrote:

Hi.

When I open LyX 2.00 rc1 (on a Mac 10.5),
I only see two options for output RTF and LyXHTML.
What happened to PDF, PS, and DVI?

Sincerely,




Some export options get hidden now. You can check if they are hidden or 
simply missing entirely by having a look in Tools > Settings > File 
Handling > Formats


--
Julien



Re: Weird behavior after Lyx 2.0 RC1 installation

2011-03-24 Thread Julien Rioux

On 24/03/2011 4:01 AM, Julio Rojas wrote:

So, no clue here? Please, any advice will be better than none at all.
-
Julio Rojas
jcredbe...@gmail.com



On Wed, Mar 23, 2011 at 3:38 PM, Julio Rojas  wrote:

I could backtrace the error to the use of "\href" in the definition of
"\email" in "moderncv.cls". Nonetheless, hyperref seems to be loaded
correctly.

-
Julio Rojas
jcredbe...@gmail.com



On Wed, Mar 23, 2011 at 2:16 PM, Julio Rojas  wrote:

Dear all, I have recently installed Lyx 2.0 RC1 for Windows using the
not-blundle installer. After that, I can see that Miktex is behaving
weirdly, as if it was not properly installed. Package manager tells me
a lot of packages I frequently use are not installed. Lyx compilation
(with both 1.6.9 and 2.0) works in some cases for packages reported as
not installed and doesn't work for packages reported as installed. I
have tried to compile a big document (my thesis) and it gave me plenty
of errors. I deleted the packages found in
"~User/AppData/Roaming/MiKTeX/2.8/tex/latex", rebuild MikTeX index and
it compiled perfectly. Now, I'm trying to compile my CV (which
compiled perfectly before 2.0 RC1) and the following error appears:

! Undefined control sequence.
\hyper@linkurl ...tionraw>>}\relax \Hy@colorlink
  \@urlcolor #1\close@pdflin...
l.54 \begin{document}

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
\close@pdflink ->\Hy@endcolorlink
  \Hy@VerboseLinkStop \pdfendlink
l.54 \begin{document}

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

I have installed "url", "breakurl" and "hyperref" (reported as not
installed by package manager), which seems to be culprits (even if
there are no hyperlinks in my CV), to no avail.

Has anybody a clue about what is happening here? Regards.
-
Julio Rojas
jcredbe...@gmail.com







It seems like a broken miktex installation. Can you try with plain 
latex? or just LyX 1.6 if it's still on your machine?


Sorry, I can't be of much help.

--
Julien



Re: Weird behavior after Lyx 2.0 RC1 installation

2011-03-24 Thread Julio Rojas
Both the same. I'm afraid RC1 broke my miktex. Now I have to reinstall
everything!!! Please, tell me it isn't so... But I not even installed
the bundled version... Damn... :(
-
Julio Rojas
jcredbe...@gmail.com



On Thu, Mar 24, 2011 at 2:46 PM, Julien Rioux
 wrote:
> On 24/03/2011 4:01 AM, Julio Rojas wrote:
>>
>> So, no clue here? Please, any advice will be better than none at all.
>> -
>> Julio Rojas
>> jcredbe...@gmail.com
>>
>>
>>
>> On Wed, Mar 23, 2011 at 3:38 PM, Julio Rojas  wrote:
>>>
>>> I could backtrace the error to the use of "\href" in the definition of
>>> "\email" in "moderncv.cls". Nonetheless, hyperref seems to be loaded
>>> correctly.
>>>
>>> -
>>> Julio Rojas
>>> jcredbe...@gmail.com
>>>
>>>
>>>
>>> On Wed, Mar 23, 2011 at 2:16 PM, Julio Rojas
>>>  wrote:

 Dear all, I have recently installed Lyx 2.0 RC1 for Windows using the
 not-blundle installer. After that, I can see that Miktex is behaving
 weirdly, as if it was not properly installed. Package manager tells me
 a lot of packages I frequently use are not installed. Lyx compilation
 (with both 1.6.9 and 2.0) works in some cases for packages reported as
 not installed and doesn't work for packages reported as installed. I
 have tried to compile a big document (my thesis) and it gave me plenty
 of errors. I deleted the packages found in
 "~User/AppData/Roaming/MiKTeX/2.8/tex/latex", rebuild MikTeX index and
 it compiled perfectly. Now, I'm trying to compile my CV (which
 compiled perfectly before 2.0 RC1) and the following error appears:

 ! Undefined control sequence.
 \hyper@linkurl ...tionraw>>}\relax \Hy@colorlink
                                                  \@urlcolor
 #1\close@pdflin...
 l.54 \begin{document}

 The control sequence at the end of the top line
 of your error message was never \def'ed. If you have
 misspelled it (e.g., `\hobx'), type `I' and the correct
 spelling (e.g., `I\hbox'). Otherwise just continue,
 and I'll forget about whatever was undefined.

 ! Undefined control sequence.
 \close@pdflink ->\Hy@endcolorlink
                                  \Hy@VerboseLinkStop \pdfendlink
 l.54 \begin{document}

 The control sequence at the end of the top line
 of your error message was never \def'ed. If you have
 misspelled it (e.g., `\hobx'), type `I' and the correct
 spelling (e.g., `I\hbox'). Otherwise just continue,
 and I'll forget about whatever was undefined.

 I have installed "url", "breakurl" and "hyperref" (reported as not
 installed by package manager), which seems to be culprits (even if
 there are no hyperlinks in my CV), to no avail.

 Has anybody a clue about what is happening here? Regards.
 -
 Julio Rojas
 jcredbe...@gmail.com

>>>
>>
>
> It seems like a broken miktex installation. Can you try with plain latex? or
> just LyX 1.6 if it's still on your machine?
>
> Sorry, I can't be of much help.
>
> --
> Julien
>
>


Re: Weird behavior after Lyx 2.0 RC1 installation

2011-03-24 Thread Pavel Sanda
Julio Rojas wrote:
> Both the same. I'm afraid RC1 broke my miktex.

what installer did you use previously?
pavel


Re: LYX software query

2011-03-24 Thread Pavel Sanda
Vincent van Ravesteijn wrote:
>> It seems that when you installed it requires the ability to go to the web 
>> and pull down files, could you confirm that this is the case?
>>
>
> This is not necessary. Either you install MikTeX (assuming you are talking 
> about windows) separately, or you can download the installer-bundle (IIRC 
> this includes MikTeX).

the problem is that some styles/classes are downloaded by miktex itself
and by default miktex tries to update things as well iirc.

pavel


Re: Weird behavior after Lyx 2.0 RC1 installation

2011-03-24 Thread Julio Rojas
Standard, not alternate.
-
Julio Rojas
jcredbe...@gmail.com



On Thu, Mar 24, 2011 at 3:24 PM, Pavel Sanda  wrote:
> Julio Rojas wrote:
>> Both the same. I'm afraid RC1 broke my miktex.
>
> what installer did you use previously?
> pavel
>


Re: How to avoid lines gioing over margins?

2011-03-24 Thread Paul A . Rubin
http://stackoverflow.com/questions/2112372/preventing-texttt-latex-tag-from-letting-its-content-passing-over-the-margin

Paul



Re: How to avoid lines gioing over margins?

2011-03-24 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 24/03/11 16:28, Paul A. Rubin wrote:
> http://stackoverflow.com/questions/2112372/preventing-texttt-latex-tag-from-letting-its-content-passing-over-the-margin

Thanks

That and
http://tex.stackexchange.com/questions/299/how-to-get-long-texttt-sections-to-break

should solve it

Rainer

> 
> Paul
> 


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Tel:+33 - (0)9 53 10 27 44
Cell:   +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2LY/sACgkQoYgNqgF2egrBdACeLDuR97iDANYOF/iZ4kv/fIHE
sugAoIXcMOka3U32ynaIbb8MXO8ov0hP
=scMo
-END PGP SIGNATURE-


Re: tutorials / slides for seminars or workshops (was: 'Re: LyX Promotion')

2011-03-24 Thread Ronen Abravanel
Translated my stuff to english:
http://technion.ac.il/~ronen/lyxlecture2/en/

probably there are some grammar problems. use freely.

On Wed, Mar 23, 2011 at 8:51 PM, Liviu Andronic wrote:

> On Wed, Mar 23, 2011 at 7:45 PM, Ronen Abravanel  wrote:
> >> > department, and I started with very short into on LaTeX and "in what
> >> > scene
> >> > LyX is different from word", and then about 40 minutes of
> demonstration
> >> > of
> >> > what can I do and how can I do that.
> >> >
> >> > If there is nothing better, I can translate my tutorial to English
> (few
> >> >
> >> What is the original language of the tutorial? Maybe I could digest it
> >> myself.
> >>
> > Hebrew.
> >
> Oh, I haven't gotten to Hebrew yet. :) If you have time and it's not
> much bother, I would indeed much appreciate a starting point for my
> workshop. Please let me know.
>
> Cheers
> Liviu
>


Re: LyX Promotion

2011-03-24 Thread Steve Litt
On Thursday 24 March 2011 07:01:19 Rainer M Krug wrote:
> On 24/03/11 11:29, Guenter Milde wrote:
> > On 2011-03-23, Steve Litt wrote:

> >> This is a wonderful idea. Now if we can only go the other direction...
> > 
> > I think we should have "semantic" import/export filters in addition to
> > "visual" ones for all relevant document formats.
> 
> I absolutely agree - this would make life so much easier: you can write
> in LyX, export sematically to doc / odt and do the formating in word /
> openoffice / libreoffice if the editor / conference only provides a
> specific word template.
> 
> Definitely a priority.

I'm not quite sure what you guys mean by "semantic import/export", but if you 
mean exporting the text marked up with (empty) styles and the (empty) style 
definitions so all I have to do with the MSWord file is fill in the styles, 
then I'm on it like a squirrel on a tree. Let me tell you why.

The (insert your own curse phrase here) fools controlling the various eBook 
formats have made it almost necessary to use MSWord as the input to the eBook 
conversion process. Saaayyy what??? So let me get this straight. I write 
my book in a good software like LyX, and then have to rewrite it in (insert 
your favorite phrase meaning "incompetent" here) MSWord in order to put it on 
a Kindle? Really?

You know, if we're really considering this, there should be an option to 
convert what we call Part, Chapter, Section, Subsection... to MSWord's 
Header1, Header2, Header3, Header4 etc. And of course we need to do it 
configurably because not everyone uses parts and not everyone uses chapters. 
I'm attaching part of my VimOutliner to LyX converter so you can see how I 
implemented a similar level to level mapping in that software.

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt

1: Chapter   
2: Section
3: Subsection
4: Subsubsection 
5: Paragraph 
6: Subparagraph  
7: Garbage7   
bodytext: Standard


otl2lyx.awk
Description: application/awk


Re: LyX Promotion

2011-03-24 Thread Julien Rioux

On 24/03/2011 2:09 PM, Steve Litt wrote:

On Thursday 24 March 2011 07:01:19 Rainer M Krug wrote:

On 24/03/11 11:29, Guenter Milde wrote:

On 2011-03-23, Steve Litt wrote:



This is a wonderful idea. Now if we can only go the other direction...


I think we should have "semantic" import/export filters in addition to
"visual" ones for all relevant document formats.


I absolutely agree - this would make life so much easier: you can write
in LyX, export sematically to doc / odt and do the formating in word /
openoffice / libreoffice if the editor / conference only provides a
specific word template.

Definitely a priority.


I'm not quite sure what you guys mean by "semantic import/export", but if you
mean exporting the text marked up with (empty) styles and the (empty) style
definitions so all I have to do with the MSWord file is fill in the styles,
then I'm on it like a squirrel on a tree. Let me tell you why.

The (insert your own curse phrase here) fools controlling the various eBook
formats have made it almost necessary to use MSWord as the input to the eBook
conversion process. Saaayyy what??? So let me get this straight. I write
my book in a good software like LyX, and then have to rewrite it in (insert
your favorite phrase meaning "incompetent" here) MSWord in order to put it on
a Kindle? Really?

You know, if we're really considering this, there should be an option to
convert what we call Part, Chapter, Section, Subsection... to MSWord's
Header1, Header2, Header3, Header4 etc. And of course we need to do it
configurably because not everyone uses parts and not everyone uses chapters.
I'm attaching part of my VimOutliner to LyX converter so you can see how I
implemented a similar level to level mapping in that software.

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



I love awk. Great tool. That's quite the script you got there. :)

--
Julien



Re: LyX Promotion

2011-03-24 Thread Rob Oakes
Hi Steve,

> I'm not quite sure what you guys mean by "semantic import/export", but if you 
> mean exporting the text marked up with (empty) styles and the (empty) style 
> definitions so all I have to do with the MSWord file is fill in the styles, 
> then I'm on it like a squirrel on a tree. Let me tell you why.
> 
> The (insert your own curse phrase here) fools controlling the various eBook 
> formats have made it almost necessary to use MSWord as the input to the eBook 
> conversion process. Saaayyy what??? So let me get this straight. I write 
> my book in a good software like LyX, and then have to rewrite it in (insert 
> your favorite phrase meaning "incompetent" here) MSWord in order to put it on 
> a Kindle? Really?

If you're using version 2.0 of LyX, you can also export to XHTML. Kindle and 
Barnes and Noble PubIt let you upload HTML files without first converting to 
Word. If you don't mind hacking the layout files, you can also get a huge 
degree of control over how your document appears.

For example, if you wanted to change the heading for chapter style so that it 
exports to  (right now, it exports to ), you could use the following in 
the local layout of your file.

Style Chapter
HTMLTag h2
End

If you wanted to modify how the CSS appears, you could then use the HTMLStyle 
tag to do something fancy.  For example, the CSS below would allow you to make 
an off-white headline example with small caps.

Style Chapter
HTML Tagh2
HTMLStyle   "font-family:Georgia,serif: color: #4#443C; 
font-variant: small-caps; text-transform: none; font-weight 100; margin-bottom: 
0;"
End

You can use this technique to override any of the of default CSS for any 
document class.

it's also a very good way to import a file into Word, since you can specify 
exactly what you would like for the styles to appear as, and Word will do its 
best to imitate them (as will OpenOffice). Generally, it does a pretty good job 
of getting both the styles and the appearance.

I've been using it to exchange chapters of the neverending book project with 
the editors. So far, no major mishaps. It may even be pretty easy to automate 
using either the Java tool I created for importing Word files or an external 
tool.

What I'm curious about, though, is if there is an HTML import script. That's a 
part of LyX I haven't played with at all.

Cheers,

Rob

Re: lilypond in lyx children documents

2011-03-24 Thread Julien Rioux

On 20/03/2011 9:32 AM, Sylvain Le Groux wrote:

Any idea what I should do to be
able to use lilypond in children lyx documents ?


This will be fixed in the next release candidate: you can "Include" 
child lyx documents and use the lilypond module with them.


--
Julien



Correct paging on PDFs with chapter*

2011-03-24 Thread Steve Litt
Hi all,

My book has 57 chapters whose environment is Chapter. THen it has an Epilogue 
and three Appendices whose environments are Chapter* because I don't want them 
to have chapter numbers. The book's table of contents gets the page numbers 
right, but the PDF's clickable links in the Table of Contents and its sidebar 
clickable Table of Contents both bring you to wrong places when you click 
them. Specifically, they bring you to points in the book earlier than the 
desired place. I've already tried including package tcloft and using 
\cleardoublepage at the end of preceding chapters, and nothing worked.

I need to find a way around this, either by fixing the clickability of 
Chapter* within PDFs, or using Chapter and somehow suppressing chapter 
numbering and the use of the word "Chapter". Any ideas?

Thanks

StevET

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Correct paging on PDFs with chapter*

2011-03-24 Thread Steve Litt
Hi all,

The documented, correct, and functional fix for this is to use the 
\phantomsection command before every \addcontentsline command. The reason is 
the hyperref package has a hard time with \addcontentsline and so the hyperref 
package offers the \phantomsection command as an official workaround.

So when you guys come up with situations where \addcontentsline produces the 
numerically right page numbers in print but goes to the wrong page when 
clicked, suspect this hyperref anomole and try the \phantomsection official 
workaround.

Thanks

SteveT

On Thursday 24 March 2011 15:57:34 Steve Litt wrote:
> Hi all,
> 
> My book has 57 chapters whose environment is Chapter. THen it has an
> Epilogue and three Appendices whose environments are Chapter* because I
> don't want them to have chapter numbers. The book's table of contents gets
> the page numbers right, but the PDF's clickable links in the Table of
> Contents and its sidebar clickable Table of Contents both bring you to
> wrong places when you click them. Specifically, they bring you to points
> in the book earlier than the desired place. I've already tried including
> package tcloft and using \cleardoublepage at the end of preceding
> chapters, and nothing worked.
> 
> I need to find a way around this, either by fixing the clickability of
> Chapter* within PDFs, or using Chapter and somehow suppressing chapter
> numbering and the use of the word "Chapter". Any ideas?
> 
> Thanks
> 
> StevET
> 
> Steve Litt
> Recession Relief Package
> http://www.recession-relief.US
> Twitter: http://www.twitter.com/stevelitt



Re: LYX software query

2011-03-24 Thread Guenter Milde
On 2011-03-24, Pavel Sanda wrote:
> Vincent van Ravesteijn wrote:
>>> It seems that when you installed it requires the ability to go to the web 
>>> and pull down files, could you confirm that this is the case?

>> This is not necessary. Either you install MikTeX (assuming you are talking 
>> about windows) separately, or you can download the installer-bundle (IIRC 
>> this includes MikTeX).

> the problem is that some styles/classes are downloaded by miktex itself
> and by default miktex tries to update things as well iirc.

But, AFAIK, this can be turned off in the configuration.

Günter



More hyperref bogosity

2011-03-24 Thread Steve Litt
Hi all,

I have an appendix listing the several processes in my book, with cross 
references pointing to the pages on which these processes are discussed, using 
a text:myprocess-discussion-start and text:myprocess-discussion-end labels 
within the book's text. All of the cross references print the correct page 
number, but several go to the wrong page (an earlier page) if you click them. 
However, many of the cross references go to the correct page when clicked. I 
see no distinction between the ones that screw up and the ones that work 
correctly.

Before I take a half a day or more slowly deconstructing this 110,000 word 
book to form a small test case, does anyone have any ideas why some cross 
references would screw up?

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: More hyperref bogosity

2011-03-24 Thread Jacob Bishop
On Thu, Mar 24, 2011 at 3:10 PM, Steve Litt wrote:

> Hi all,
>
> I have an appendix listing the several processes in my book, with cross
> references pointing to the pages on which these processes are discussed,
> using
> a text:myprocess-discussion-start and text:myprocess-discussion-end labels
> within the book's text. All of the cross references print the correct page
> number, but several go to the wrong page (an earlier page) if you click
> them.
> However, many of the cross references go to the correct page when clicked.
> I
> see no distinction between the ones that screw up and the ones that work
> correctly.
>
> Before I take a half a day or more slowly deconstructing this 110,000 word
> book to form a small test case, does anyone have any ideas why some cross
> references would screw up?
>
>
I really don't know all that much about this problem. All I know is that
when I did my thesis in LyX, I had some links going to wrong pages. To fix
it, I had to use some ERT with \phantomsection in certain places, if I
remember correctly. It's my understanding this has to do with how the marks
are set for hyperref to deal with them. I'm certain there are others who
know more, but this might help.

Jacob