Shortcuts

2009-06-08 Thread Thomas Løcke
Hey all,

I've now written a small number of texts using LyX, and I'm *very*
happy with it.

I do though have one request for the coming versions of LyX: When you
mouseover the various GUI buttons, how about adding the shortcut to
the popup text, eg. CTRL + E for the Emphasis button?

When learning to use new programs, I try to learn the keyboard
shortcuts as fast as possible, and small hints like the above
mentioned help me a lot.

If this is already available in LyX, then please let me know how to
enable it.  :o)

Regards,
Thomas


Re: [announce] LyXWinInstaller for LyX 1.6.3

2009-06-08 Thread Olivier Ripoll

Hi,
 I am replying to myself, as the situation as evolved:
The first file sent to elyxer was probably a little too complex. I 
killed

python after 40 minutes running full on one CPU.


This is the one I'm mostly interested on.


I found that the problem is not due to that file in particular but that 
any equation in display mode result in that CPU hogging. The very same 
equations pass well is inline mode.
You can find attached a very basic test file for it. I do not now if 
it's due to something on my machine (antivirus, configuration) or to my 
LyX defaults (e.g. defaulting to using KOMA-script classes, own margins...)


FIXED bx 0.25

[...]


3-
There is one place in my file where I used the \unittwo tip given 
in LyX

docs (Appendix A Typographic Advice of Math docs).


The \unit tag is not supported yet. If you send me a sample doc I will
try to make it work.


In the attached file, the second equation uses it.


FIXED by 0.25

Congratulations for fixing that so fast. So I could test the speed of 
elyxer, and it is +/- instantaneous for a document of 11 pages with 
figures and 58 equations (not counting the inline ones).
Having written html pages many years ago at the university, I am totally 
amazed by the quality of the equations. No MathML, and still, no images.


Multiline equations, case equations, fractions with fractions in 
numerator  denominator, integrals everything looks fine.


Now, let's challenge you for 0.26 ;-)

I have a few unconverted stuff:
- \tan and \arctan
- \overrightarrow (quite useful for some things like gradient)
- \ldots (that the ellipsis, AKA the three dots ...)
- \max (and probably \min)

And for a distant future version
- \gtrsim (and its friends, AMS math symbols).

I tested the result on both Firefox and IE8, and both work fine.

Congratulations for this nice work.

Best regards,

Olivier



Re: Shortcuts

2009-06-08 Thread Ralf
Thomas Løcke thomas.granv...@... writes:
 I do though have one request for the coming versions of LyX: When you
 mouseover the various GUI buttons, how about adding the shortcut to
 the popup text, eg. CTRL + E for the Emphasis button?

Indeed - that is a luxury I would like as well!

Cheers
-Ralf





Re: How to make a macro

2009-06-08 Thread Anthony Campbell
On 06 Jun 2009, Uwe Stöhr wrote:
 Anthony Campbell schrieb:
 I would like to make a macro for an ERT command:

 \clearpage \thispagetyle \mbox{} \clearpage

 I'm sure it is is possible but I don't seem able to find any
 documentation for it.

 Add this to your preamble:

 \newcommand{\mystyle}{\clearpage \thispagestyle \mbox{} \clearpage}

 In your document you can call your command by inserting \mystyle as ERT.
 (But I don't understand what your command sequence should do. Currently 
 it only clears the page, \mbox and \thispagestyle do nothing because they 
 are not called correctly.)

 \newommand is for example described in LyX's the Math manual, sec. 20.1.

 regards Uwe


Thanks very much, Uwe; that works fine. There was a typo in the ERT I
posted; it should have been \thispagestyl{empty}. The last \clearpage is
redundant. The \mbox{} is needed to produce a blank page (there may be
another way but that's the only one I know).

Anthony
-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews, 
and sceptical articles)



Re: Shortcuts

2009-06-08 Thread Piero Faustini

 Indeed - that is a luxury I would like as well!



1+ for this luxury



Numbering

2009-06-08 Thread Wu Kai Chiu, ami

Hi all,

I am trying to use AMS Theorem (By Section) and its related modules,
I have a big problem in the display of the counter.

The theorems are numbered correctly,  say Chapter 1 Section 2 the first 
theorem is numbered  1.2.1

However, how can I set it to display  only  2.1 rather than 1.2.1?

Also, in using the modules numbered (By Chapter),  can I choose not to 
display the chapter number?


Thanks,
ami





--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Admin by Eternalit Co. Ltd.



Child-doc does not update crossrefs

2009-06-08 Thread Ralf
Good news everyone!

I'm at the last chapter of my thesis...

Okay, the bad news is that when I am writing a child-document (via include,
opened from within the master) the cross-refs to other chapters do not work ( it
displays '?' for the crossrefs)

Compiling the entire document works.

Is this expected behaviour or am I missing something?

Cheers
-Ralf
p.s. it's version 1.6.3 on WinXP



Re: bibunits, bibtopic, chapterbib ?

2009-06-08 Thread Ralf
Jürgen Spitzmüller juer...@... writes:
[snip] 
 I have used both bibtopic and bibunits and found both easy to use. They 
 differ 
 conceptually, so your choice depends on what you need and on your personal 
 workflow.
 
 Since I switched to biblatex now, I would probably use its capabilities to 
 produce such bibliographies. If you are at the beginning of a project, 
 considering biblatex is advised. It is not (yet) natively supported by LyX, 
 but it can be used with some effort (cf. the wiki).

Thanks Jürgen - I had a look at bibunits and it seems not so bad, maybe I'll try
that one first...biblatex maybe for the next project, not now anyway.

Cheers
-Ralf







Re: Child-doc does not update crossrefs

2009-06-08 Thread Richard Heck

Ralf wrote:

Good news everyone!

I'm at the last chapter of my thesis...

Okay, the bad news is that when I am writing a child-document (via include,
opened from within the master) the cross-refs to other chapters do not work ( it
displays '?' for the crossrefs)

Compiling the entire document works.

Is this expected behaviour or am I missing something?

  
It sounds as if LyX doesn't know it's a child document. Have you set the 
Default Master Document in the child? If not, have you opened it from 
within the master?


rh



Re: Inserting C++ code

2009-06-08 Thread James C. Sutherland


On Jun 7, 2009, at 5:55 AM, Sajjad wrote:


Hello forum,

I have installed LyX 2.6.1 and trying to insert C++ code. I am  
trying as

follows:

1. Inserted a float algorithm .
2. Pasted the code snippet inside that


But the code is not well formatted

Any hint on how to keep the format ?




I have noticed that when I copy code from the emacs editor, line  
breaks are not respected when pasted into LyX.  However, if I copy  
code from XCode (Mac) then the problem goes away.  While I don't know  
why this is the case, my suggestion to you is to try to open your C++  
file in a different editor and copy it into LyX.


James


Re: DocBook in LyX 2.0 ? (was: Re: r29997 - lyx-devel/trunk/src)

2009-06-08 Thread Ethan Metsger

On Sat, 06 Jun 2009 11:13:50 -0400, Pavel Sanda sa...@lyx.org wrote:

its my impression that some of the problems people have to tackle now  
when
using docbook would be in fact just a few lines of code change. the  
problem is
that i basically know nothing about the issues around docbook/sgml etc.  
but it
may be easy for for people using docbook agree on what is to be changed  
wrt the

lyx output?


I actually still owe Jose an email about this--it's been sitting in my  
inbox for several months now.


We decided to use Docbook here since it's an industry standard among our  
peers, and it seemed a reasonable thing to do to stay current with them  
all.  I had hoped to spur the adoption of LyX (I've been using it for  
awhile), but it turns out that the Docbook support wasn't quite mature  
enough to get us there.


In particular, we were looking for Docbook 5.0 support, and I think that  
LyX for awhile has been stuck at 4.2.  The XML elements for 5.0 are  
somewhat different (my knowledge of 4.2 is pretty slim, so I can't say  
exactly how they differ--but I had some validation issues when doing  
document conversion).


I would think that one priority would be producing XML that complies with  
version 5.0.  I'm hardly an expert on this, but if I can be of some  
reasonable help, I'll do it.



I confess that my vision was essentially having LyX to produce PDFs that  
were easier to work with (munging stylesheets and tweaking FO output is  
not at all something I'm interested in doing, but I've had to) and XML  
that can be more easily transformed into nice HTML--something that's an  
absolute must if you're going to publish documentation in multiple forms.


If LyX could provide even a basic (but valid) output to Docbook XML (with  
minimal stylistic markup--the normal ones like emphasis, bold, code, et  
c.), transforming the HTML wouldn't be such a difficult thing using free  
toolchains.


As it stands, we use Oxygen's XML editor for writing our documentation; we  
probably won't change any time soon, but it would be fantastic if there  
were a reasonable workflow for using LyX.



Best,

Ethan
(emets...@obj-sys.com)


Re: [announce] LyXWinInstaller for LyX 1.6.3

2009-06-08 Thread Jürgen Spitzmüller
Uwe Stöhr wrote:
 the alternative Windows installer for LyX 1.6.3 is now available.

FYI the other (a.k.a. standard) Windows installer for LyX 1.6.3 is now 
available as well. Grab it as usual at
ftp://ftp.lyx.org/pub/lyx/bin/1.6.3

Jürgen


Re: Shortcuts

2009-06-08 Thread Yago

See the files with extension .bind in /LyXxx/Resources/bind.
- Original Message - 
From: Thomas Løcke thomas.granv...@gmail.com

To: lyx-users@lists.lyx.org
Sent: Monday, June 08, 2009 8:29 AM
Subject: Shortcuts



Hey all,

I've now written a small number of texts using LyX, and I'm *very*
happy with it.

I do though have one request for the coming versions of LyX: When you
mouseover the various GUI buttons, how about adding the shortcut to
the popup text, eg. CTRL + E for the Emphasis button?

When learning to use new programs, I try to learn the keyboard
shortcuts as fast as possible, and small hints like the above
mentioned help me a lot.

If this is already available in LyX, then please let me know how to
enable it.  :o)

Regards,
Thomas 




New XP installation of Lyx will not run

2009-06-08 Thread Rob Wheeler

I have installed Lyx on a Win XP system using the
LyX-163-4-19-AltInstaller-Complete installation package. In fact I have
installed and de-installed it 4 times but each time it fails to run. I click
the desktop shortcut and the batcvh file runs, briefly opens a terminal
windows and then closes! Not even an error message. I wonder if anyone can
advise how I can trouble-shoot the installation. There doesn't seem to be
anything in the documentation. I re-ran the config using the command:
C:\Program Files\LyX 1.6.3\resources\configure.py and it went thru OK but
the result was that Lyx still didn't work. I already had Python installed on
the PC when I performed the installation. I wonder if that makes any
difference?

I'd be grateful for some help as I am very keen to try out Lyx and I am very
disppointed that I can't seem to get over this first hurdle.

Rob Wheeler
Faversham, UK
-- 
View this message in context: 
http://n2.nabble.com/New-XP-installation-of-Lyx-will-not-run-tp3044402p3044402.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: New XP installation of Lyx will not run

2009-06-08 Thread Uwe Stöhr

Rob Wheeler schrieb:


I click
the desktop shortcut and the batcvh file runs, briefly opens a terminal
windows and then closes! Not even an error message.


What do you get when you start directly the lyx.exe? This should open a console window and LyX. In 
the window you can see probable error messages.


regards Uwe


LyX/Tex Live issue adding another texmf tree

2009-06-08 Thread Hartgrove, Peter
Hi All,

 We're using LyX 1.6.2.1 with Tex Live 2008 on the Windows
platform. 

We are attempting to setup our own texmf-local tree which will be shared
by multiple

users via NFS. To test the setup we've created some bib files in the
shared NFS tree

and referenced them from within LyX documents. We've hit on a few
issues:

 

-  The bib files located in the NFS share are not appearing when
we add a

a new database within LyX however the documents do print correctly with

the reference data

-  We cannot seem to prevent the creation of the ls-R file in
the root of the

NFS shared location (Tex Live issue)

 

The NFS shares texmf-local tree is setup as:
texmf-local/bibtex/bib/local/bib files.

The variables HOMETEXMF, TEXMFHOME, TEXMFLOCAL are all set to the UNC
path of

the NFS share. Running texhash does indicate the NFS share is being
picked up and

running kpsewhich bib file does show the correct NFS location. 

 

Given conversion to PDF and HTML both produce output which includes the
data

it appears Tex Live is working correctly.  Anyone have any ideas why LyX
is not 

picking up the new databases (even after a rescan or reconfigure)? 

 

Has anyone else tried a similar setup?

 

Thanks in advance.

 

 

Peter Hartgrove
Morgan Stanley | IDEAS Practice Areas
1633 Broadway, 26th Floor | New York, NY  10019
Phone: +1 212 537-2709
peter.hartgr...@morganstanley.com
mailto:peter.hartgr...@morganstanley.com 


--
NOTICE: If received in error, please destroy and notify sender. Sender does not 
intend to waive confidentiality or privilege. Use of this email is prohibited 
when received in error. Morgan Stanley may monitor and store emails to the 
extent permitted by applicable law.


Re: [Fwd: FancyBox - Shadowbox - Page Border]

2009-06-08 Thread Marcelo Reis

Not at all. Just put an asterisk after \AddToShipoutPicture, i.e.,

use \AddToShipoutPicture* and only the first produced page will have
the border.

  

Regards, and I don't want to bother you,



You're welcome.

  

It Worked like a charm...Thanks Again
:-)
Does the asterisk have a special meaning?!
Cause I know that with Part and Subsection the asterisk means that it 
will or will not be numbered parts or sections.


What would be the best way of discovering what the asterisk would do in 
this specific command? (It is just for information, learn about LATEX 
and LYX).


Marcelo


How NOT to require chapters to start on odd pages?

2009-06-08 Thread Steve Litt
Hi all,

My latest book has a layout based on the book document class. Even when I 
uncheck two sided document it still prints a blank even page if the 
preceding chapter ended on an odd page. I know that ordinarily the book class 
should start chapters on any page if it's not a two sided document.

I proved it was in the layout file by converting it back to book document 
style, letting all custom styles revert to defaults, and recompiling, after 
which chapters started on odd or even, as determined by where the last one 
stopped.

Obviously I could solve this by binarily commenting out the layout file by 
halves, but given the layout file is 565 lines long and I must reconfigure 
LyX after every layout change, that could take all day.

So before I do that, I was just wondering if you all could think of statements 
that could force chapters to start on odd pages.

Thanks

SteveT

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



Re: How NOT to require chapters to start on odd pages?

2009-06-08 Thread Jean-Marc Lasgouttes

Le 8 juin 09 à 21:29, Steve Litt a écrit :
My latest book has a layout based on the book document class. Even  
when I

uncheck two sided document it still prints a blank even page if the
preceding chapter ended on an odd page. I know that ordinarily the  
book class

should start chapters on any page if it's not a two sided document.


Did you try the openany document class option?

JMarc

Re: [Fwd: FancyBox - Shadowbox - Page Border]

2009-06-08 Thread Enrico Forestieri
On Mon, Jun 08, 2009 at 04:13:03PM -0300, Marcelo Reis wrote:

 Not at all. Just put an asterisk after \AddToShipoutPicture, i.e.,
  use \AddToShipoutPicture* and only the first produced page will have
  the border.
 

  Regards, and I don't want to bother you,
  
 
  You're welcome.
 

 It Worked like a charm...Thanks Again
 :-)
 Does the asterisk have a special meaning?!
 Cause I know that with Part and Subsection the asterisk means that it 
 will or will not be numbered parts or sections.

The asterix has no default meaning, it is up to the command itself how
to interpret it. Not all commands interpret the asterix in a special way.
In general, you have to check the command documentation.

 What would be the best way of discovering what the asterisk would do in 
 this specific command? (It is just for information, learn about LATEX 
 and LYX).

Try texdoc eso-pic in a terminal and, if the documentation for the eso-pic
package is installed, it will be shown. Otherwise you can read it here:
http://www.ctan.org/get/macros/latex/contrib/eso-pic/eso-pic.pdf

-- 
Enrico


Re: How NOT to require chapters to start on odd pages?

2009-06-08 Thread Typhoon
On Mon, 8 Jun 2009 15:29:45 -0400
Steve Litt sl...@troubleshooters.com wrote:

 Hi all,
 
 My latest book has a layout based on the book document class. Even
 when I uncheck two sided document it still prints a blank even page
 if the preceding chapter ended on an odd page. I know that ordinarily
 the book class should start chapters on any page if it's not a two
 sided document.

Hi Steve,
I think you are wrong about this. According to Lamport, the default for
the book class is openright. I think you need the option openany.

Cheers,

 
 I proved it was in the layout file by converting it back to book
 document style, letting all custom styles revert to defaults, and
 recompiling, after which chapters started on odd or even, as
 determined by where the last one stopped.
 
 Obviously I could solve this by binarily commenting out the layout
 file by halves, but given the layout file is 565 lines long and I
 must reconfigure LyX after every layout change, that could take all
 day.
 
 So before I do that, I was just wondering if you all could think of
 statements that could force chapters to start on odd pages.
 
 Thanks
 
 SteveT
 
 Steve Litt
 Recession Relief Package
 http://www.recession-relief.US
 Twitter: http://www.twitter.com/stevelitt
 
 


Fwd: Inserting C++ code

2009-06-08 Thread Sajjad
Hello

Actually Program Listing worked fine for me.

Thanks Uwe!!!

First of all i had a float figure and inside that i have inserted the
program listing box

And then i have pasted selected text and the format was well preserved.


Regards
Sajjad

-- Forwarded message --
From: James C. Sutherland james.sutherl...@utah.edu
Date: Mon, Jun 8, 2009 at 4:06 PM
Subject: Re: Inserting C++ code
To: lyx-users User lyx-users@lists.lyx.org



On Jun 7, 2009, at 5:55 AM, Sajjad wrote:

 Hello forum,

 I have installed LyX 2.6.1 and trying to insert C++ code. I am trying as
 follows:

 1. Inserted a float algorithm .
 2. Pasted the code snippet inside that


 But the code is not well formatted

 Any hint on how to keep the format ?



I have noticed that when I copy code from the emacs editor, line breaks are
not respected when pasted into LyX.  However, if I copy code from XCode
(Mac) then the problem goes away.  While I don't know why this is the case,
my suggestion to you is to try to open your C++ file in a different editor
and copy it into LyX.

James


Re: Fwd: Inserting C++ code

2009-06-08 Thread Uwe Stöhr

Sajjad schrieb:


Actually Program Listing worked fine for me.
Thanks Uwe!!!


You're welcome.


First of all i had a float figure and inside that i have inserted the
program listing box


The listings inset can be set to behave like a float, have a look at sec. 7 of the EmbeddedObjects 
manual.


regards Uwe


KDE 4 file dialogs integration

2009-06-08 Thread David Palacio
Hi,

On KDE 4.3, when using a KDE widget style, Qt applications get KDE file dialogs 
for free. That is not the case for Lyx. I guess it is because Lyx customizes 
the file dialog. It would be great for Lyx to get the integration Qt 
applications have in KDE 4.


update issue from 1.6.2 to 1.6.3 using alternative update package

2009-06-08 Thread asm23

Hi, I use the alternative package
ftp://ftp.lyx.org/pub/lyx/bin/1.6.3/LyX-163-4-19-AltInstaller-Update.exe
to update my 1.6.2 version.

After updating, I found that in Lyx preference - paths, it is still

D:\Program Files\LyX 1.6.2\bin;d:\Program Files\MiKTeX 
2.7\miktex\bin;D:\Program Files\LyX 1.6.2\etc\ImageMagick;D:\Program 
Files\LyX 1.6.2\etc\Metafile2eps


Note, all the folders were still LyX 1.6.2, so, the Image converter 
can't work till I change these names to lyx 1.6.3.


This is quite annoying, because, every time, after running update(AFAIK, 
every update), I have the wrong path in Lyx preference - paths.


Is there any way that I can do to solve this:

for example, use a relative path?

or the LyX-163-4-19-AltInstaller-Update.exe can automatically change 
these paths.


Thanks.



Re: Child-doc does not update crossrefs

2009-06-08 Thread Ralf
Richard Heck rgh...@... writes:
[snip] 
 It sounds as if LyX doesn't know it's a child document. Have you set the 
 Default Master Document in the child? 

right, that did the trick!
Cheers
-Ralf






Shortcuts

2009-06-08 Thread Thomas Løcke
Hey all,

I've now written a small number of texts using LyX, and I'm *very*
happy with it.

I do though have one request for the coming versions of LyX: When you
mouseover the various GUI buttons, how about adding the shortcut to
the popup text, eg. CTRL + E for the Emphasis button?

When learning to use new programs, I try to learn the keyboard
shortcuts as fast as possible, and small hints like the above
mentioned help me a lot.

If this is already available in LyX, then please let me know how to
enable it.  :o)

Regards,
Thomas


Re: [announce] LyXWinInstaller for LyX 1.6.3

2009-06-08 Thread Olivier Ripoll

Hi,
 I am replying to myself, as the situation as evolved:
The first file sent to elyxer was probably a little too complex. I 
killed

python after 40 minutes running full on one CPU.


This is the one I'm mostly interested on.


I found that the problem is not due to that file in particular but that 
any equation in display mode result in that CPU hogging. The very same 
equations pass well is inline mode.
You can find attached a very basic test file for it. I do not now if 
it's due to something on my machine (antivirus, configuration) or to my 
LyX defaults (e.g. defaulting to using KOMA-script classes, own margins...)


FIXED bx 0.25

[...]


3-
There is one place in my file where I used the \unittwo tip given 
in LyX

docs (Appendix A Typographic Advice of Math docs).


The \unit tag is not supported yet. If you send me a sample doc I will
try to make it work.


In the attached file, the second equation uses it.


FIXED by 0.25

Congratulations for fixing that so fast. So I could test the speed of 
elyxer, and it is +/- instantaneous for a document of 11 pages with 
figures and 58 equations (not counting the inline ones).
Having written html pages many years ago at the university, I am totally 
amazed by the quality of the equations. No MathML, and still, no images.


Multiline equations, case equations, fractions with fractions in 
numerator  denominator, integrals everything looks fine.


Now, let's challenge you for 0.26 ;-)

I have a few unconverted stuff:
- \tan and \arctan
- \overrightarrow (quite useful for some things like gradient)
- \ldots (that the ellipsis, AKA the three dots ...)
- \max (and probably \min)

And for a distant future version
- \gtrsim (and its friends, AMS math symbols).

I tested the result on both Firefox and IE8, and both work fine.

Congratulations for this nice work.

Best regards,

Olivier



Re: Shortcuts

2009-06-08 Thread Ralf
Thomas Løcke thomas.granv...@... writes:
 I do though have one request for the coming versions of LyX: When you
 mouseover the various GUI buttons, how about adding the shortcut to
 the popup text, eg. CTRL + E for the Emphasis button?

Indeed - that is a luxury I would like as well!

Cheers
-Ralf





Re: How to make a macro

2009-06-08 Thread Anthony Campbell
On 06 Jun 2009, Uwe Stöhr wrote:
 Anthony Campbell schrieb:
 I would like to make a macro for an ERT command:

 \clearpage \thispagetyle \mbox{} \clearpage

 I'm sure it is is possible but I don't seem able to find any
 documentation for it.

 Add this to your preamble:

 \newcommand{\mystyle}{\clearpage \thispagestyle \mbox{} \clearpage}

 In your document you can call your command by inserting \mystyle as ERT.
 (But I don't understand what your command sequence should do. Currently 
 it only clears the page, \mbox and \thispagestyle do nothing because they 
 are not called correctly.)

 \newommand is for example described in LyX's the Math manual, sec. 20.1.

 regards Uwe


Thanks very much, Uwe; that works fine. There was a typo in the ERT I
posted; it should have been \thispagestyl{empty}. The last \clearpage is
redundant. The \mbox{} is needed to produce a blank page (there may be
another way but that's the only one I know).

Anthony
-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews, 
and sceptical articles)



Re: Shortcuts

2009-06-08 Thread Piero Faustini

 Indeed - that is a luxury I would like as well!



1+ for this luxury



Numbering

2009-06-08 Thread Wu Kai Chiu, ami

Hi all,

I am trying to use AMS Theorem (By Section) and its related modules,
I have a big problem in the display of the counter.

The theorems are numbered correctly,  say Chapter 1 Section 2 the first 
theorem is numbered  1.2.1

However, how can I set it to display  only  2.1 rather than 1.2.1?

Also, in using the modules numbered (By Chapter),  can I choose not to 
display the chapter number?


Thanks,
ami





--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Admin by Eternalit Co. Ltd.



Child-doc does not update crossrefs

2009-06-08 Thread Ralf
Good news everyone!

I'm at the last chapter of my thesis...

Okay, the bad news is that when I am writing a child-document (via include,
opened from within the master) the cross-refs to other chapters do not work ( it
displays '?' for the crossrefs)

Compiling the entire document works.

Is this expected behaviour or am I missing something?

Cheers
-Ralf
p.s. it's version 1.6.3 on WinXP



Re: bibunits, bibtopic, chapterbib ?

2009-06-08 Thread Ralf
Jürgen Spitzmüller juer...@... writes:
[snip] 
 I have used both bibtopic and bibunits and found both easy to use. They 
 differ 
 conceptually, so your choice depends on what you need and on your personal 
 workflow.
 
 Since I switched to biblatex now, I would probably use its capabilities to 
 produce such bibliographies. If you are at the beginning of a project, 
 considering biblatex is advised. It is not (yet) natively supported by LyX, 
 but it can be used with some effort (cf. the wiki).

Thanks Jürgen - I had a look at bibunits and it seems not so bad, maybe I'll try
that one first...biblatex maybe for the next project, not now anyway.

Cheers
-Ralf







Re: Child-doc does not update crossrefs

2009-06-08 Thread Richard Heck

Ralf wrote:

Good news everyone!

I'm at the last chapter of my thesis...

Okay, the bad news is that when I am writing a child-document (via include,
opened from within the master) the cross-refs to other chapters do not work ( it
displays '?' for the crossrefs)

Compiling the entire document works.

Is this expected behaviour or am I missing something?

  
It sounds as if LyX doesn't know it's a child document. Have you set the 
Default Master Document in the child? If not, have you opened it from 
within the master?


rh



Re: Inserting C++ code

2009-06-08 Thread James C. Sutherland


On Jun 7, 2009, at 5:55 AM, Sajjad wrote:


Hello forum,

I have installed LyX 2.6.1 and trying to insert C++ code. I am  
trying as

follows:

1. Inserted a float algorithm .
2. Pasted the code snippet inside that


But the code is not well formatted

Any hint on how to keep the format ?




I have noticed that when I copy code from the emacs editor, line  
breaks are not respected when pasted into LyX.  However, if I copy  
code from XCode (Mac) then the problem goes away.  While I don't know  
why this is the case, my suggestion to you is to try to open your C++  
file in a different editor and copy it into LyX.


James


Re: DocBook in LyX 2.0 ? (was: Re: r29997 - lyx-devel/trunk/src)

2009-06-08 Thread Ethan Metsger

On Sat, 06 Jun 2009 11:13:50 -0400, Pavel Sanda sa...@lyx.org wrote:

its my impression that some of the problems people have to tackle now  
when
using docbook would be in fact just a few lines of code change. the  
problem is
that i basically know nothing about the issues around docbook/sgml etc.  
but it
may be easy for for people using docbook agree on what is to be changed  
wrt the

lyx output?


I actually still owe Jose an email about this--it's been sitting in my  
inbox for several months now.


We decided to use Docbook here since it's an industry standard among our  
peers, and it seemed a reasonable thing to do to stay current with them  
all.  I had hoped to spur the adoption of LyX (I've been using it for  
awhile), but it turns out that the Docbook support wasn't quite mature  
enough to get us there.


In particular, we were looking for Docbook 5.0 support, and I think that  
LyX for awhile has been stuck at 4.2.  The XML elements for 5.0 are  
somewhat different (my knowledge of 4.2 is pretty slim, so I can't say  
exactly how they differ--but I had some validation issues when doing  
document conversion).


I would think that one priority would be producing XML that complies with  
version 5.0.  I'm hardly an expert on this, but if I can be of some  
reasonable help, I'll do it.



I confess that my vision was essentially having LyX to produce PDFs that  
were easier to work with (munging stylesheets and tweaking FO output is  
not at all something I'm interested in doing, but I've had to) and XML  
that can be more easily transformed into nice HTML--something that's an  
absolute must if you're going to publish documentation in multiple forms.


If LyX could provide even a basic (but valid) output to Docbook XML (with  
minimal stylistic markup--the normal ones like emphasis, bold, code, et  
c.), transforming the HTML wouldn't be such a difficult thing using free  
toolchains.


As it stands, we use Oxygen's XML editor for writing our documentation; we  
probably won't change any time soon, but it would be fantastic if there  
were a reasonable workflow for using LyX.



Best,

Ethan
(emets...@obj-sys.com)


Re: [announce] LyXWinInstaller for LyX 1.6.3

2009-06-08 Thread Jürgen Spitzmüller
Uwe Stöhr wrote:
 the alternative Windows installer for LyX 1.6.3 is now available.

FYI the other (a.k.a. standard) Windows installer for LyX 1.6.3 is now 
available as well. Grab it as usual at
ftp://ftp.lyx.org/pub/lyx/bin/1.6.3

Jürgen


Re: Shortcuts

2009-06-08 Thread Yago

See the files with extension .bind in /LyXxx/Resources/bind.
- Original Message - 
From: Thomas Løcke thomas.granv...@gmail.com

To: lyx-users@lists.lyx.org
Sent: Monday, June 08, 2009 8:29 AM
Subject: Shortcuts



Hey all,

I've now written a small number of texts using LyX, and I'm *very*
happy with it.

I do though have one request for the coming versions of LyX: When you
mouseover the various GUI buttons, how about adding the shortcut to
the popup text, eg. CTRL + E for the Emphasis button?

When learning to use new programs, I try to learn the keyboard
shortcuts as fast as possible, and small hints like the above
mentioned help me a lot.

If this is already available in LyX, then please let me know how to
enable it.  :o)

Regards,
Thomas 




New XP installation of Lyx will not run

2009-06-08 Thread Rob Wheeler

I have installed Lyx on a Win XP system using the
LyX-163-4-19-AltInstaller-Complete installation package. In fact I have
installed and de-installed it 4 times but each time it fails to run. I click
the desktop shortcut and the batcvh file runs, briefly opens a terminal
windows and then closes! Not even an error message. I wonder if anyone can
advise how I can trouble-shoot the installation. There doesn't seem to be
anything in the documentation. I re-ran the config using the command:
C:\Program Files\LyX 1.6.3\resources\configure.py and it went thru OK but
the result was that Lyx still didn't work. I already had Python installed on
the PC when I performed the installation. I wonder if that makes any
difference?

I'd be grateful for some help as I am very keen to try out Lyx and I am very
disppointed that I can't seem to get over this first hurdle.

Rob Wheeler
Faversham, UK
-- 
View this message in context: 
http://n2.nabble.com/New-XP-installation-of-Lyx-will-not-run-tp3044402p3044402.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: New XP installation of Lyx will not run

2009-06-08 Thread Uwe Stöhr

Rob Wheeler schrieb:


I click
the desktop shortcut and the batcvh file runs, briefly opens a terminal
windows and then closes! Not even an error message.


What do you get when you start directly the lyx.exe? This should open a console window and LyX. In 
the window you can see probable error messages.


regards Uwe


LyX/Tex Live issue adding another texmf tree

2009-06-08 Thread Hartgrove, Peter
Hi All,

 We're using LyX 1.6.2.1 with Tex Live 2008 on the Windows
platform. 

We are attempting to setup our own texmf-local tree which will be shared
by multiple

users via NFS. To test the setup we've created some bib files in the
shared NFS tree

and referenced them from within LyX documents. We've hit on a few
issues:

 

-  The bib files located in the NFS share are not appearing when
we add a

a new database within LyX however the documents do print correctly with

the reference data

-  We cannot seem to prevent the creation of the ls-R file in
the root of the

NFS shared location (Tex Live issue)

 

The NFS shares texmf-local tree is setup as:
texmf-local/bibtex/bib/local/bib files.

The variables HOMETEXMF, TEXMFHOME, TEXMFLOCAL are all set to the UNC
path of

the NFS share. Running texhash does indicate the NFS share is being
picked up and

running kpsewhich bib file does show the correct NFS location. 

 

Given conversion to PDF and HTML both produce output which includes the
data

it appears Tex Live is working correctly.  Anyone have any ideas why LyX
is not 

picking up the new databases (even after a rescan or reconfigure)? 

 

Has anyone else tried a similar setup?

 

Thanks in advance.

 

 

Peter Hartgrove
Morgan Stanley | IDEAS Practice Areas
1633 Broadway, 26th Floor | New York, NY  10019
Phone: +1 212 537-2709
peter.hartgr...@morganstanley.com
mailto:peter.hartgr...@morganstanley.com 


--
NOTICE: If received in error, please destroy and notify sender. Sender does not 
intend to waive confidentiality or privilege. Use of this email is prohibited 
when received in error. Morgan Stanley may monitor and store emails to the 
extent permitted by applicable law.


Re: [Fwd: FancyBox - Shadowbox - Page Border]

2009-06-08 Thread Marcelo Reis

Not at all. Just put an asterisk after \AddToShipoutPicture, i.e.,

use \AddToShipoutPicture* and only the first produced page will have
the border.

  

Regards, and I don't want to bother you,



You're welcome.

  

It Worked like a charm...Thanks Again
:-)
Does the asterisk have a special meaning?!
Cause I know that with Part and Subsection the asterisk means that it 
will or will not be numbered parts or sections.


What would be the best way of discovering what the asterisk would do in 
this specific command? (It is just for information, learn about LATEX 
and LYX).


Marcelo


How NOT to require chapters to start on odd pages?

2009-06-08 Thread Steve Litt
Hi all,

My latest book has a layout based on the book document class. Even when I 
uncheck two sided document it still prints a blank even page if the 
preceding chapter ended on an odd page. I know that ordinarily the book class 
should start chapters on any page if it's not a two sided document.

I proved it was in the layout file by converting it back to book document 
style, letting all custom styles revert to defaults, and recompiling, after 
which chapters started on odd or even, as determined by where the last one 
stopped.

Obviously I could solve this by binarily commenting out the layout file by 
halves, but given the layout file is 565 lines long and I must reconfigure 
LyX after every layout change, that could take all day.

So before I do that, I was just wondering if you all could think of statements 
that could force chapters to start on odd pages.

Thanks

SteveT

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



Re: How NOT to require chapters to start on odd pages?

2009-06-08 Thread Jean-Marc Lasgouttes

Le 8 juin 09 à 21:29, Steve Litt a écrit :
My latest book has a layout based on the book document class. Even  
when I

uncheck two sided document it still prints a blank even page if the
preceding chapter ended on an odd page. I know that ordinarily the  
book class

should start chapters on any page if it's not a two sided document.


Did you try the openany document class option?

JMarc

Re: [Fwd: FancyBox - Shadowbox - Page Border]

2009-06-08 Thread Enrico Forestieri
On Mon, Jun 08, 2009 at 04:13:03PM -0300, Marcelo Reis wrote:

 Not at all. Just put an asterisk after \AddToShipoutPicture, i.e.,
  use \AddToShipoutPicture* and only the first produced page will have
  the border.
 

  Regards, and I don't want to bother you,
  
 
  You're welcome.
 

 It Worked like a charm...Thanks Again
 :-)
 Does the asterisk have a special meaning?!
 Cause I know that with Part and Subsection the asterisk means that it 
 will or will not be numbered parts or sections.

The asterix has no default meaning, it is up to the command itself how
to interpret it. Not all commands interpret the asterix in a special way.
In general, you have to check the command documentation.

 What would be the best way of discovering what the asterisk would do in 
 this specific command? (It is just for information, learn about LATEX 
 and LYX).

Try texdoc eso-pic in a terminal and, if the documentation for the eso-pic
package is installed, it will be shown. Otherwise you can read it here:
http://www.ctan.org/get/macros/latex/contrib/eso-pic/eso-pic.pdf

-- 
Enrico


Re: How NOT to require chapters to start on odd pages?

2009-06-08 Thread Typhoon
On Mon, 8 Jun 2009 15:29:45 -0400
Steve Litt sl...@troubleshooters.com wrote:

 Hi all,
 
 My latest book has a layout based on the book document class. Even
 when I uncheck two sided document it still prints a blank even page
 if the preceding chapter ended on an odd page. I know that ordinarily
 the book class should start chapters on any page if it's not a two
 sided document.

Hi Steve,
I think you are wrong about this. According to Lamport, the default for
the book class is openright. I think you need the option openany.

Cheers,

 
 I proved it was in the layout file by converting it back to book
 document style, letting all custom styles revert to defaults, and
 recompiling, after which chapters started on odd or even, as
 determined by where the last one stopped.
 
 Obviously I could solve this by binarily commenting out the layout
 file by halves, but given the layout file is 565 lines long and I
 must reconfigure LyX after every layout change, that could take all
 day.
 
 So before I do that, I was just wondering if you all could think of
 statements that could force chapters to start on odd pages.
 
 Thanks
 
 SteveT
 
 Steve Litt
 Recession Relief Package
 http://www.recession-relief.US
 Twitter: http://www.twitter.com/stevelitt
 
 


Fwd: Inserting C++ code

2009-06-08 Thread Sajjad
Hello

Actually Program Listing worked fine for me.

Thanks Uwe!!!

First of all i had a float figure and inside that i have inserted the
program listing box

And then i have pasted selected text and the format was well preserved.


Regards
Sajjad

-- Forwarded message --
From: James C. Sutherland james.sutherl...@utah.edu
Date: Mon, Jun 8, 2009 at 4:06 PM
Subject: Re: Inserting C++ code
To: lyx-users User lyx-users@lists.lyx.org



On Jun 7, 2009, at 5:55 AM, Sajjad wrote:

 Hello forum,

 I have installed LyX 2.6.1 and trying to insert C++ code. I am trying as
 follows:

 1. Inserted a float algorithm .
 2. Pasted the code snippet inside that


 But the code is not well formatted

 Any hint on how to keep the format ?



I have noticed that when I copy code from the emacs editor, line breaks are
not respected when pasted into LyX.  However, if I copy code from XCode
(Mac) then the problem goes away.  While I don't know why this is the case,
my suggestion to you is to try to open your C++ file in a different editor
and copy it into LyX.

James


Re: Fwd: Inserting C++ code

2009-06-08 Thread Uwe Stöhr

Sajjad schrieb:


Actually Program Listing worked fine for me.
Thanks Uwe!!!


You're welcome.


First of all i had a float figure and inside that i have inserted the
program listing box


The listings inset can be set to behave like a float, have a look at sec. 7 of the EmbeddedObjects 
manual.


regards Uwe


KDE 4 file dialogs integration

2009-06-08 Thread David Palacio
Hi,

On KDE 4.3, when using a KDE widget style, Qt applications get KDE file dialogs 
for free. That is not the case for Lyx. I guess it is because Lyx customizes 
the file dialog. It would be great for Lyx to get the integration Qt 
applications have in KDE 4.


update issue from 1.6.2 to 1.6.3 using alternative update package

2009-06-08 Thread asm23

Hi, I use the alternative package
ftp://ftp.lyx.org/pub/lyx/bin/1.6.3/LyX-163-4-19-AltInstaller-Update.exe
to update my 1.6.2 version.

After updating, I found that in Lyx preference - paths, it is still

D:\Program Files\LyX 1.6.2\bin;d:\Program Files\MiKTeX 
2.7\miktex\bin;D:\Program Files\LyX 1.6.2\etc\ImageMagick;D:\Program 
Files\LyX 1.6.2\etc\Metafile2eps


Note, all the folders were still LyX 1.6.2, so, the Image converter 
can't work till I change these names to lyx 1.6.3.


This is quite annoying, because, every time, after running update(AFAIK, 
every update), I have the wrong path in Lyx preference - paths.


Is there any way that I can do to solve this:

for example, use a relative path?

or the LyX-163-4-19-AltInstaller-Update.exe can automatically change 
these paths.


Thanks.



Re: Child-doc does not update crossrefs

2009-06-08 Thread Ralf
Richard Heck rgh...@... writes:
[snip] 
 It sounds as if LyX doesn't know it's a child document. Have you set the 
 Default Master Document in the child? 

right, that did the trick!
Cheers
-Ralf






Shortcuts

2009-06-08 Thread Thomas Løcke
Hey all,

I've now written a small number of texts using LyX, and I'm *very*
happy with it.

I do though have one request for the coming versions of LyX: When you
mouseover the various GUI buttons, how about adding the shortcut to
the popup text, eg. CTRL + E for the Emphasis button?

When learning to use new programs, I try to learn the keyboard
shortcuts as fast as possible, and small hints like the above
mentioned help me a lot.

If this is already available in LyX, then please let me know how to
enable it.  :o)

Regards,
Thomas


Re: [announce] LyXWinInstaller for LyX 1.6.3

2009-06-08 Thread Olivier Ripoll

Hi,
 I am replying to myself, as the situation as evolved:
The first file sent to elyxer was probably a little too complex. I 
killed

python after 40 minutes running full on one CPU.


This is the one I'm mostly interested on.


I found that the problem is not due to that file in particular but that 
any equation in "display" mode result in that CPU hogging. The very same 
equations pass well is "inline" mode.
You can find attached a very basic test file for it. I do not now if 
it's due to something on my machine (antivirus, configuration) or to my 
LyX defaults (e.g. defaulting to using KOMA-script classes, own margins...)


FIXED bx 0.25

[...]


3-
There is one place in my file where I used the "\unittwo" tip given 
in LyX

docs (Appendix A "Typographic Advice" of Math docs).


The \unit tag is not supported yet. If you send me a sample doc I will
try to make it work.


In the attached file, the second equation uses it.


FIXED by 0.25

Congratulations for fixing that so fast. So I could test the speed of 
elyxer, and it is +/- instantaneous for a document of 11 pages with 
figures and 58 equations (not counting the inline ones).
Having written html pages many years ago at the university, I am totally 
amazed by the quality of the equations. No MathML, and still, no images.


Multiline equations, "case" equations, fractions with fractions in 
numerator & denominator, integrals everything looks fine.


Now, let's challenge you for 0.26 ;-)

I have a few unconverted stuff:
- \tan and \arctan
- \overrightarrow (quite useful for some things like gradient)
- \ldots (that the ellipsis, AKA the three dots ...)
- \max (and probably \min)

And for a distant future version
- \gtrsim (and its friends, AMS math symbols).

I tested the result on both Firefox and IE8, and both work fine.

Congratulations for this nice work.

Best regards,

Olivier



Re: Shortcuts

2009-06-08 Thread Ralf
Thomas Løcke  writes:
> I do though have one request for the coming versions of LyX: When you
> mouseover the various GUI buttons, how about adding the shortcut to
> the popup text, eg. CTRL + E for the Emphasis button?

Indeed - that is a luxury I would like as well!

Cheers
-Ralf





Re: How to make a macro

2009-06-08 Thread Anthony Campbell
On 06 Jun 2009, Uwe Stöhr wrote:
> Anthony Campbell schrieb:
>> I would like to make a macro for an ERT command:
>>
>> \clearpage \thispagetyle \mbox{} \clearpage
>>
>> I'm sure it is is possible but I don't seem able to find any
>> documentation for it.
>
> Add this to your preamble:
>
> \newcommand{\mystyle}{\clearpage \thispagestyle \mbox{} \clearpage}
>
> In your document you can call your command by inserting \mystyle as ERT.
> (But I don't understand what your command sequence should do. Currently 
> it only clears the page, \mbox and \thispagestyle do nothing because they 
> are not called correctly.)
>
> \newommand is for example described in LyX's the Math manual, sec. 20.1.
>
> regards Uwe


Thanks very much, Uwe; that works fine. There was a typo in the ERT I
posted; it should have been \thispagestyl{empty}. The last \clearpage is
redundant. The \mbox{} is needed to produce a blank page (there may be
another way but that's the only one I know).

Anthony
-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews, 
and sceptical articles)



Re: Shortcuts

2009-06-08 Thread Piero Faustini

> Indeed - that is a luxury I would like as well!



1+ for this "luxury"



Numbering

2009-06-08 Thread Wu Kai Chiu, ami

Hi all,

I am trying to use AMS Theorem (By Section) and its related modules,
I have a big problem in the display of the counter.

The theorems are numbered correctly,  say Chapter 1 Section 2 the first 
theorem is numbered  1.2.1

However, how can I set it to display  only  2.1 rather than 1.2.1?

Also, in using the modules numbered (By Chapter),  can I choose not to 
display the chapter number?


Thanks,
ami





--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Admin by Eternalit Co. Ltd.



Child-doc does not update crossrefs

2009-06-08 Thread Ralf
Good news everyone!

I'm at the last chapter of my thesis...

Okay, the bad news is that when I am writing a child-document (via include,
opened from within the master) the cross-refs to other chapters do not work ( it
displays '?' for the crossrefs)

Compiling the entire document works.

Is this expected behaviour or am I missing something?

Cheers
-Ralf
p.s. it's version 1.6.3 on WinXP



Re: bibunits, bibtopic, chapterbib ?

2009-06-08 Thread Ralf
Jürgen Spitzmüller  writes:
[snip] 
> I have used both bibtopic and bibunits and found both easy to use. They 
> differ 
> conceptually, so your choice depends on what you need and on your personal 
> workflow.
> 
> Since I switched to biblatex now, I would probably use its capabilities to 
> produce such bibliographies. If you are at the beginning of a project, 
> considering biblatex is advised. It is not (yet) natively supported by LyX, 
> but it can be used with some effort (cf. the wiki).

Thanks Jürgen - I had a look at bibunits and it seems not so bad, maybe I'll try
that one first...biblatex maybe for the next project, not now anyway.

Cheers
-Ralf







Re: Child-doc does not update crossrefs

2009-06-08 Thread Richard Heck

Ralf wrote:

Good news everyone!

I'm at the last chapter of my thesis...

Okay, the bad news is that when I am writing a child-document (via include,
opened from within the master) the cross-refs to other chapters do not work ( it
displays '?' for the crossrefs)

Compiling the entire document works.

Is this expected behaviour or am I missing something?

  
It sounds as if LyX doesn't know it's a child document. Have you set the 
"Default Master Document" in the child? If not, have you opened it from 
within the master?


rh



Re: Inserting C++ code

2009-06-08 Thread James C. Sutherland


On Jun 7, 2009, at 5:55 AM, Sajjad wrote:


Hello forum,

I have installed LyX 2.6.1 and trying to insert C++ code. I am  
trying as

follows:

1. Inserted a float algorithm .
2. Pasted the code snippet inside that


But the code is not well formatted

Any hint on how to keep the format ?




I have noticed that when I copy code from the emacs editor, line  
breaks are not respected when pasted into LyX.  However, if I copy  
code from XCode (Mac) then the problem goes away.  While I don't know  
why this is the case, my suggestion to you is to try to open your C++  
file in a different editor and copy it into LyX.


James


Re: DocBook in LyX 2.0 ? (was: Re: r29997 - lyx-devel/trunk/src)

2009-06-08 Thread Ethan Metsger

On Sat, 06 Jun 2009 11:13:50 -0400, Pavel Sanda  wrote:

its my impression that some of the problems people have to tackle now  
when
using docbook would be in fact just a few lines of code change. the  
problem is
that i basically know nothing about the issues around docbook/sgml etc.  
but it
may be easy for for people using docbook agree on what is to be changed  
wrt the

lyx output?


I actually still owe Jose an email about this--it's been sitting in my  
inbox for several months now.


We decided to use Docbook here since it's an industry standard among our  
peers, and it seemed a reasonable thing to do to stay current with them  
all.  I had hoped to spur the adoption of LyX (I've been using it for  
awhile), but it turns out that the Docbook support wasn't quite mature  
enough to get us there.


In particular, we were looking for Docbook 5.0 support, and I think that  
LyX for awhile has been stuck at 4.2.  The XML elements for 5.0 are  
somewhat different (my knowledge of 4.2 is pretty slim, so I can't say  
exactly how they differ--but I had some validation issues when doing  
document conversion).


I would think that one priority would be producing XML that complies with  
version 5.0.  I'm hardly an expert on this, but if I can be of some  
reasonable help, I'll do it.



I confess that my vision was essentially having LyX to produce PDFs that  
were easier to work with (munging stylesheets and tweaking FO output is  
not at all something I'm interested in doing, but I've had to) and XML  
that can be more easily transformed into nice HTML--something that's an  
absolute must if you're going to publish documentation in multiple forms.


If LyX could provide even a basic (but valid) output to Docbook XML (with  
minimal stylistic markup--the normal ones like emphasis, bold, code, et  
c.), transforming the HTML wouldn't be such a difficult thing using free  
toolchains.


As it stands, we use Oxygen's XML editor for writing our documentation; we  
probably won't change any time soon, but it would be fantastic if there  
were a reasonable workflow for using LyX.



Best,

Ethan
(emets...@obj-sys.com)


Re: [announce] LyXWinInstaller for LyX 1.6.3

2009-06-08 Thread Jürgen Spitzmüller
Uwe Stöhr wrote:
> the alternative Windows installer for LyX 1.6.3 is now available.

FYI the other (a.k.a. "standard") Windows installer for LyX 1.6.3 is now 
available as well. Grab it as usual at
ftp://ftp.lyx.org/pub/lyx/bin/1.6.3

Jürgen


Re: Shortcuts

2009-06-08 Thread Yago

See the files with extension .bind in /LyXxx/Resources/bind.
- Original Message - 
From: "Thomas Løcke" 

To: 
Sent: Monday, June 08, 2009 8:29 AM
Subject: Shortcuts



Hey all,

I've now written a small number of texts using LyX, and I'm *very*
happy with it.

I do though have one request for the coming versions of LyX: When you
mouseover the various GUI buttons, how about adding the shortcut to
the popup text, eg. CTRL + E for the Emphasis button?

When learning to use new programs, I try to learn the keyboard
shortcuts as fast as possible, and small hints like the above
mentioned help me a lot.

If this is already available in LyX, then please let me know how to
enable it.  :o)

Regards,
Thomas 




New XP installation of Lyx will not run

2009-06-08 Thread Rob Wheeler

I have installed Lyx on a Win XP system using the
"LyX-163-4-19-AltInstaller-Complete" installation package. In fact I have
installed and de-installed it 4 times but each time it fails to run. I click
the desktop shortcut and the batcvh file runs, briefly opens a terminal
windows and then closes! Not even an error message. I wonder if anyone can
advise how I can trouble-shoot the installation. There doesn't seem to be
anything in the documentation. I re-ran the config using the command:
"C:\Program Files\LyX 1.6.3\resources\configure.py" and it went thru OK but
the result was that Lyx still didn't work. I already had Python installed on
the PC when I performed the installation. I wonder if that makes any
difference?

I'd be grateful for some help as I am very keen to try out Lyx and I am very
disppointed that I can't seem to get over this first hurdle.

Rob Wheeler
Faversham, UK
-- 
View this message in context: 
http://n2.nabble.com/New-XP-installation-of-Lyx-will-not-run-tp3044402p3044402.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: New XP installation of Lyx will not run

2009-06-08 Thread Uwe Stöhr

Rob Wheeler schrieb:


I click
the desktop shortcut and the batcvh file runs, briefly opens a terminal
windows and then closes! Not even an error message.


What do you get when you start directly the lyx.exe? This should open a console window and LyX. In 
the window you can see probable error messages.


regards Uwe


LyX/Tex Live issue adding another texmf tree

2009-06-08 Thread Hartgrove, Peter
Hi All,

 We're using LyX 1.6.2.1 with Tex Live 2008 on the Windows
platform. 

We are attempting to setup our own texmf-local tree which will be shared
by multiple

users via NFS. To test the setup we've created some bib files in the
shared NFS tree

and referenced them from within LyX documents. We've hit on a few
issues:

 

-  The bib files located in the NFS share are not appearing when
we add a

a new database within LyX however the documents do print correctly with

the reference data

-  We cannot seem to prevent the creation of the "ls-R" file in
the root of the

NFS shared location (Tex Live issue)

 

The NFS shares texmf-local tree is setup as:
"texmf-local/bibtex/bib/local/".

The variables HOMETEXMF, TEXMFHOME, TEXMFLOCAL are all set to the UNC
path of

the NFS share. Running texhash does indicate the NFS share is being
picked up and

running kpsewhich  does show the correct NFS location. 

 

Given conversion to PDF and HTML both produce output which includes the
data

it appears Tex Live is working correctly.  Anyone have any ideas why LyX
is not 

picking up the new databases (even after a rescan or reconfigure)? 

 

Has anyone else tried a similar setup?

 

Thanks in advance.

 

 

Peter Hartgrove
Morgan Stanley | IDEAS Practice Areas
1633 Broadway, 26th Floor | New York, NY  10019
Phone: +1 212 537-2709
peter.hartgr...@morganstanley.com
 


--
NOTICE: If received in error, please destroy and notify sender. Sender does not 
intend to waive confidentiality or privilege. Use of this email is prohibited 
when received in error. Morgan Stanley may monitor and store emails to the 
extent permitted by applicable law.


Re: [Fwd: FancyBox - Shadowbox - Page Border]

2009-06-08 Thread Marcelo Reis

Not at all. Just put an asterisk after \AddToShipoutPicture, i.e.,

use \AddToShipoutPicture* and only the first produced page will have
the border.

  

Regards, and I don't want to bother you,



You're welcome.

  

It Worked like a charm...Thanks Again
:-)
Does the asterisk have a special meaning?!
Cause I know that with Part and Subsection the asterisk means that it 
will or will not be numbered parts or sections.


What would be the best way of discovering what the asterisk would do in 
this specific command? (It is just for information, learn about LATEX 
and LYX).


Marcelo


How NOT to require chapters to start on odd pages?

2009-06-08 Thread Steve Litt
Hi all,

My latest book has a layout based on the book document class. Even when I 
uncheck "two sided document" it still prints a blank even page if the 
preceding chapter ended on an odd page. I know that ordinarily the book class 
should start chapters on any page if it's not a two sided document.

I proved it was in the layout file by converting it back to book document 
style, letting all custom styles revert to defaults, and recompiling, after 
which chapters started on odd or even, as determined by where the last one 
stopped.

Obviously I could solve this by binarily commenting out the layout file by 
halves, but given the layout file is 565 lines long and I must reconfigure 
LyX after every layout change, that could take all day.

So before I do that, I was just wondering if you all could think of statements 
that could force chapters to start on odd pages.

Thanks

SteveT

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



Re: How NOT to require chapters to start on odd pages?

2009-06-08 Thread Jean-Marc Lasgouttes

Le 8 juin 09 à 21:29, Steve Litt a écrit :
My latest book has a layout based on the book document class. Even  
when I

uncheck "two sided document" it still prints a blank even page if the
preceding chapter ended on an odd page. I know that ordinarily the  
book class

should start chapters on any page if it's not a two sided document.


Did you try the "openany" document class option?

JMarc

Re: [Fwd: FancyBox - Shadowbox - Page Border]

2009-06-08 Thread Enrico Forestieri
On Mon, Jun 08, 2009 at 04:13:03PM -0300, Marcelo Reis wrote:

> Not at all. Just put an asterisk after \AddToShipoutPicture, i.e.,
> > use \AddToShipoutPicture* and only the first produced page will have
> > the border.
> >
> >   
> >> Regards, and I don't want to bother you,
> >> 
> >
> > You're welcome.
> >
> >   
> It Worked like a charm...Thanks Again
> :-)
> Does the asterisk have a special meaning?!
> Cause I know that with Part and Subsection the asterisk means that it 
> will or will not be numbered parts or sections.

The asterix has no default meaning, it is up to the command itself how
to interpret it. Not all commands interpret the asterix in a special way.
In general, you have to check the command documentation.

> What would be the best way of discovering what the asterisk would do in 
> this specific command? (It is just for information, learn about LATEX 
> and LYX).

Try "texdoc eso-pic" in a terminal and, if the documentation for the eso-pic
package is installed, it will be shown. Otherwise you can read it here:
http://www.ctan.org/get/macros/latex/contrib/eso-pic/eso-pic.pdf

-- 
Enrico


Re: How NOT to require chapters to start on odd pages?

2009-06-08 Thread Typhoon
On Mon, 8 Jun 2009 15:29:45 -0400
Steve Litt  wrote:

> Hi all,
> 
> My latest book has a layout based on the book document class. Even
> when I uncheck "two sided document" it still prints a blank even page
> if the preceding chapter ended on an odd page. I know that ordinarily
> the book class should start chapters on any page if it's not a two
> sided document.

Hi Steve,
I think you are wrong about this. According to Lamport, the default for
the book class is "openright". I think you need the option "openany".

Cheers,

> 
> I proved it was in the layout file by converting it back to book
> document style, letting all custom styles revert to defaults, and
> recompiling, after which chapters started on odd or even, as
> determined by where the last one stopped.
> 
> Obviously I could solve this by binarily commenting out the layout
> file by halves, but given the layout file is 565 lines long and I
> must reconfigure LyX after every layout change, that could take all
> day.
> 
> So before I do that, I was just wondering if you all could think of
> statements that could force chapters to start on odd pages.
> 
> Thanks
> 
> SteveT
> 
> Steve Litt
> Recession Relief Package
> http://www.recession-relief.US
> Twitter: http://www.twitter.com/stevelitt
> 
> 


Fwd: Inserting C++ code

2009-06-08 Thread Sajjad
Hello

Actually Program Listing worked fine for me.

Thanks Uwe!!!

First of all i had a float figure and inside that i have inserted the
program listing box

And then i have pasted selected text and the format was well preserved.


Regards
Sajjad

-- Forwarded message --
From: James C. Sutherland 
Date: Mon, Jun 8, 2009 at 4:06 PM
Subject: Re: Inserting C++ code
To: lyx-users User 



On Jun 7, 2009, at 5:55 AM, Sajjad wrote:

 Hello forum,
>
> I have installed LyX 2.6.1 and trying to insert C++ code. I am trying as
> follows:
>
> 1. Inserted a float algorithm .
> 2. Pasted the code snippet inside that
>
>
> But the code is not well formatted
>
> Any hint on how to keep the format ?
>
>

I have noticed that when I copy code from the emacs editor, line breaks are
not respected when pasted into LyX.  However, if I copy code from XCode
(Mac) then the problem goes away.  While I don't know why this is the case,
my suggestion to you is to try to open your C++ file in a different editor
and copy it into LyX.

James


Re: Fwd: Inserting C++ code

2009-06-08 Thread Uwe Stöhr

Sajjad schrieb:


Actually Program Listing worked fine for me.
Thanks Uwe!!!


You're welcome.


First of all i had a float figure and inside that i have inserted the
program listing box


The listings inset can be set to behave like a float, have a look at sec. 7 of the EmbeddedObjects 
manual.


regards Uwe


KDE 4 file dialogs integration

2009-06-08 Thread David Palacio
Hi,

On KDE 4.3, when using a KDE widget style, Qt applications get KDE file dialogs 
for free. That is not the case for Lyx. I guess it is because Lyx customizes 
the file dialog. It would be great for Lyx to get the integration Qt 
applications have in KDE 4.


update issue from 1.6.2 to 1.6.3 using alternative update package

2009-06-08 Thread asm23

Hi, I use the alternative package
ftp://ftp.lyx.org/pub/lyx/bin/1.6.3/LyX-163-4-19-AltInstaller-Update.exe
to update my 1.6.2 version.

After updating, I found that in "Lyx preference -> paths", it is still

D:\Program Files\LyX 1.6.2\bin;d:\Program Files\MiKTeX 
2.7\miktex\bin;D:\Program Files\LyX 1.6.2\etc\ImageMagick;D:\Program 
Files\LyX 1.6.2\etc\Metafile2eps


Note, all the folders were still "LyX 1.6.2", so, the Image converter 
can't work till I change these names to "lyx 1.6.3".


This is quite annoying, because, every time, after running update(AFAIK, 
every update), I have the wrong path in "Lyx preference -> paths".


Is there any way that I can do to solve this:

for example, use a relative path?

or the LyX-163-4-19-AltInstaller-Update.exe can automatically change 
these paths.


Thanks.



Re: Child-doc does not update crossrefs

2009-06-08 Thread Ralf
Richard Heck  writes:
[snip] 
> It sounds as if LyX doesn't know it's a child document. Have you set the 
> "Default Master Document" in the child? 

right, that did the trick!
Cheers
-Ralf