backref

2008-02-25 Thread Wolfgang Engelmann
I try to locate some references in my document by using the package backref. I 
do, however, get only 
pages (actually Seiten, since it is a german document)
behind the reference, no page number. What do I do wrong? I inserted 
\usepackage[ngerman]{backref}
\usepackage{hyperref}
in the preamble.

Wolfgang


Re: [ANNOUNCE]: LyX 1.5.4 is released

2008-02-25 Thread G. Milde
On 24.02.08, Jürgen Spitzmüller wrote:
 Public release of LyX version 1.5.4
 

 We are pleased to announce the release of LyX 1.5.4. 

Good news. Thanks to the developers for their continued commitment to LyX.

 A detailed list of changes is appended below, remaining known problems
 are listed in the file RELEASE-NOTES.

Unfortunately, I did not find mentioned whether the 
word-forward skips non-white non-word characters bug is fixed in this
release. Could someone please clarify this (or give a pointer)?

Thanks,

Günter



Re: [ANNOUNCE]: LyX 1.5.4 is released

2008-02-25 Thread G. Milde
On 25.02.08, Jürgen Spitzmüller wrote:
 G. Milde wrote:
  Unfortunately, I did not find mentioned whether the
  word-forward skips non-white non-word characters bug is fixed in this
  release. Could someone please clarify this (or give a pointer)?

 All bugs that were fixed are listed (IOW this specific bug is still there).

What a pity. Especially as 

* Jean-Mark did provide a fix (probabely in 1.6) 
* my current workaround with 

# word-delete-forward deletes also non-word characters 
# (space, punctuation, math) behind the word!
# \bind C-Delete  word-delete-forward
\bind C-Deletecommand-sequence word-capitalize; delete-forward

  will probabely no longer work as word-capitalize is said to no longer
  select the word.
  
Guenter




Re: Figure references 1.5.3: Danger Will Robinson

2008-02-25 Thread G. Milde
On 24.02.08, Les Denham wrote:
 On Sunday 24 February 2008 18:06, Steve Litt wrote:
  Aha! I never even thought of putting it inside the caption (should it
  be at the beginning or end of caption?). 

 I don't know whether it is explicitly documented, but if you look at the 
 documentation for floats (4.3.2.1 in UserGuide.lyx for 1.5.1) and examine how 
 the labels are placed in the floats, you will see they are in the captions, 
 at the beginning.  I doubt if putting them elsewhere in the caption would 
 make any difference, 

It does not. I have the label always at the end of the caption
without problems.

 but when you click on the label icon, the default name 
 of the label is based on the first few words after the cursor.

Actually, the default is the first few words of the caption, so the
cursor position within a caption does not matter.

GM


Re: [ANNOUNCE]: LyX 1.5.4 is released

2008-02-25 Thread Jürgen Spitzmüller
G. Milde wrote:
 Unfortunately, I did not find mentioned whether the
 word-forward skips non-white non-word characters bug is fixed in this
 release. Could someone please clarify this (or give a pointer)?

All bugs that were fixed are listed (IOW this specific bug is still there).

Jürgen


Command-buffer inset-insert syntax

2008-02-25 Thread Tobias Krause

Hi,

I'd like to insert a cross-reference via the command-buffer. 
Unfortunately I'm note sure about the syntax. I found the following on 
http://wiki.lyx.org/LyX/InsertingReferences:


   For versions of LyX subsequent to 1.4, you have to use
   |inset-insert| instead. The format is
   |LYXCMD:anything:inset-insert ref LatexCommand ref reference
   referenceName \end_inset|. There's also an optional name NAME
   argument that seems to work in docbook: |link
   linkend=referenceNameNAME/link|.

But I don't understand how to do it. How can I insert a Formated 
reference to the label sec:test?


Additionally I'd like to use the command-buffer to go to a label. In 
http://wiki.lyx.org/LyX/LyxFunctionList1-3-2 I found reference-goto but 
this functions does not seem to be available in 1.5.x any more. Is there 
an other function allowing to go to given label via command-buffer in 1.5.x?


Regards
 Toby


Re: [ANNOUNCE]: LyX 1.5.4 is released

2008-02-25 Thread Jürgen Spitzmüller
G. Milde wrote:
 * Jean-Mark did provide a fix (probabely in 1.6)

Do you remember the bug number?

Jürgen


Re: [ANNOUNCE]: LyX 1.5.4 is released

2008-02-25 Thread G. Milde
On 25.02.08, Jürgen Spitzmüller wrote:
 G. Milde wrote:
  * Jean-Mark did provide a fix (probabely in 1.6)

 Do you remember the bug number?

I am afraid that this was never in bugzilla. 
However, I remember a mail by JMarc, archived at:

http://www.mail-archive.com/lyx-users@lists.lyx.org/msg60079.html

which says:

   In the meantime, I have implemented the other
  possibility, the one that works like PC programs. I would be
  interested to see people test it and tell me whether it is better than
  the current one.

GM


Re: nopagebreak before itemized list

2008-02-25 Thread G. Milde
On 22.02.08, Tobias Krause wrote:

 I tried the ERT [\nopagebreak] but unfortunately this does not work when it 
 is used before a itemized list,
...
 Is there any other way to prevent the pagebreak?

Did you try to put the part of your doc that should appear on one page in
a minipage?

GM



Needed documentation

2008-02-25 Thread Steve Litt
Hi all,

You know what would be good documentation? The 25 Biggest Surprises in LyX 
and How to Work With Them. It's basically a FAQ with potential landmines and 
how to avoid/workaround them.

I'll start out with the ones I know of:

* Must hit Enter to declare column widths in tables
* Must use units on all lengths
* Must delete/recreate source tree to compile after config failure
* Must run texhash after adding new LaTeX class/style
* Must reconfiigure after change to layout file
* You can make a script to do the reconfigure
* TOC/Index/crossreference often require multiple compiles to register
* Confusion between LyX code and LaTeX code
* LaTeX code is case sensitive, LyX code isn't

Perhaps others can add to the list and we can write the document.

Thanks

STeveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


Re: [ANNOUNCE]: LyX 1.5.4 is released

2008-02-25 Thread Jürgen Spitzmüller
G. Milde wrote:
 I am afraid that this was never in bugzilla.
 However, I remember a mail by JMarc, archived at:

 http://www.mail-archive.com/lyx-users@lists.lyx.org/msg60079.html

 which says:
    In the meantime, I have implemented the other
   possibility, the one that works like PC programs. I would be
   interested to see people test it and tell me whether it is better than
   the current one.

Hm. Can you check if it's fixed in 1.5.4, and file a report on bugzilla, if 
not?

Jürgen


Where is the Lyx 1.54 for Windows

2008-02-25 Thread Jorge Mario Garcia
 Where is the Lyx 1.54 for Windows?

Kenmotar


Re: footnotes problem, .rtf import, view source on 1.5.3

2008-02-25 Thread Bennett Helm

On Feb 25, 2008, at 12:00 PM, Richard Heck wrote:

3) Getting view source to view the paragraph in which the  
cursor  resides as the User Guide says it will.


It seems like this problem arises when the Automatic update  
option is

unchecked; this indeed seems to be a bug. The workaround is to check
that option, and everything should work as expected -- at least  
it does

for me.


Yes -- you're right -- this solves it. Thanks!

That's not a bug but is how it's supposed to work, I think. The  
idea is that you're keeping the window open but only updating it  
when you ask for it to be updated. On slow machines, this is crucial.


The bug is that clicking Update does nothing.

Bennett


Re: Needed documentation

2008-02-25 Thread Rich Shepard

On Mon, 25 Feb 2008, Steve Litt wrote:


* Must use units on all lengths

  LaTeX requires this; the default may not be what you want.


* Must delete/recreate source tree to compile after config failure

  Not if you delete the config.status and config.log files. This, too, is
not LyX-specific; it applies to all builds.


* Must run texhash after adding new LaTeX class/style

  LaTeX requires this.


* Must reconfiigure after change to layout file

  True for most applications.


* TOC/Index/crossreference often require multiple compiles to register

  That's because TeX and LaTeX require multiple passes to build. First pass
finds the items, second pass assembles them in the proper list.


* LaTeX code is case sensitive, LyX code isn't

  Case sensitivity is applicable to all unices; the exception are
applications that aren't. It would be more consistent for LyX to be case
sensitive, too.

  Perhaps a read (re-read?) of Kipka  Daly or Lamport would help.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Needed documentation

2008-02-25 Thread Steve Litt
Hi Richard Heck and Rich Shepard and everyone,

In my original post I meant to say a lot of the surprises were TeX/LaTeX in 
nature, not under LyX's control. Nevertheless, to a newbie, they're all LyX 
problems.

The other thing I forgot to say is the problem is the surprise, not the 
behavior. Most LyX behaviors are reasonable, as long as the user expects 
them.

I've responded in the following:

On Monday 25 February 2008 11:49, you wrote:
 Steve Litt wrote:
  You know what would be good documentation? The 25 Biggest Surprises in
  LyX and How to Work With Them.

 Sounds like an excellent thing for the wiki. As I'll note, it might be
 worth distinguishing here between LyX surprises---things we could
 fix---and LaTeX's own idiosyncracies---things we can't fix.

Could somebody please put the Wiki Stub in the proper place and post its 
location on the list? Then the rest of us can write the documentation.

As far as distinquishing LyX as opposed to LaTeX/TeX, definitely. I meant to 
bring that up. Also, there's not necessarily anything to fix but the 
documentation. The behavior isn't the bad thing, the surprise is the problem. 
Once we documement, for instance, the need for units on all lengths, it's no 
longer surprising, and it's a good thing.


  It's basically a FAQ with potential landmines and
  how to avoid/workaround them.
 
  I'll start out with the ones I know of:
 
  * Must hit Enter to declare column widths in tables
  * Must use units on all lengths

 This is LaTeX's requirement. I suppose LyX could have a default unit,
 but that would probably be a worse surprise.

I'd cry if you changed the current behavior. The thing is to prepare the 
newbie for this using documentation.



  * Must delete/recreate source tree to compile after config failure

 Sometimes.

We should document when, or else to be on the safe side just say do it 
(because it takes only a minute and can save hours of troubleshooting).

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Re: Where is the Lyx 1.54 for Windows

2008-02-25 Thread Bo Peng
On Tue, Feb 26, 2008 at 10:29 AM, Jorge Mario Garcia
[EMAIL PROTECTED] wrote:
  Where is the Lyx 1.54 for Windows?

Joost:

Will you have time to prepare one soon? I can do it if you are tight on time.

Bo


Re: footnotes problem, .rtf import, view source on 1.5.3

2008-02-25 Thread rgheck

[EMAIL PROTECTED] wrote:

Quoting Bennett Helm [EMAIL PROTECTED]:


On Feb 24, 2008, at 9:13 PM, [EMAIL PROTECTED] wrote:

In summary, I'm mentioning a few problems here:

Main one is:

1) creating a footnote from existing text causing unusable formatting.


I'm not following your description of this problem. Is the problem that
when you copy and paste, LyX is copying the paragraph formatting? -- If
so, you can edit the formatting by selecting Edit  Paragraph Settings



I've tried to fix it with Edit  Paragraph by selecting just the 
footnote text as well as the whole paragraph. Doesn't solve it -- 
presumably because it doesn't have an option to undo the formatting -- 
I can only choose, left, right, justified or centered.



You don't have Use Paragraph's Default Alignment? The point of this
option is to undo customization. That's why I added it. ;-)

The problem is that when I create a new footnote and paste text into 
it from elsewhere, (OR if I select text and execute footnote -- either 
way) it adds a whole blank line between the footnote number and the 
footnote text in the dvi or ps view of the footnote footer.


Seems that in earlier versions of LyX this was never a problem. Now 
the only way I can do it is to completely re-type the footnote contents.



I'm guessing that the problem here is that you have paragraph alignment
set in the text you are cutting, and then that is added to the footnote
when you paste. Paste works that way. Maybe it shouldn't.

3) Getting view source to view the paragraph in which the cursor  
resides as the User Guide says it will.


It seems like this problem arises when the Automatic update option is
unchecked; this indeed seems to be a bug. The workaround is to check
that option, and everything should work as expected -- at least it does
for me.


Yes -- you're right -- this solves it. Thanks!


That's not a bug but is how it's supposed to work, I think. The idea is
that you're keeping the window open but only updating it when you ask
for it to be updated. On slow machines, this is crucial.

rh




View Source Bug

2008-02-25 Thread rgheck

Bennett Helm wrote:
The bug is that clicking Update [in the View Source window] does 
nothing [when Automatic Update is off].



Well, that definitely is a bug, yes.

rh




Re: Needed documentation

2008-02-25 Thread rgheck

Steve Litt wrote:

Hi Richard Heck and Rich Shepard and everyone,

In my original post I meant to say a lot of the surprises were TeX/LaTeX in 
nature, not under LyX's control. Nevertheless, to a newbie, they're all LyX 
problems.


The other thing I forgot to say is the problem is the surprise, not the 
behavior. Most LyX behaviors are reasonable, as long as the user expects 
them.


  
Yes, I thought that's what you had in mind. And you're right: Newcomers 
don't know about LyX--LaTeX.


rh



Ref+Text wording in Ebook

2008-02-25 Thread Steve Litt
Hi all,

My new book is an Ebook, but it's 2 sided in case the customer wants to print 
it. Trouble is, sometimes the Ref+Text cross-reference comes out like this:

a diagram like in  gure 3.1 on the facing page

The preceding makes absolutely no sense in an Ebook, although it makes perfect 
sense in a 2 sided paper book.

Is there a way, without making it a one sided book and therefore messing up 
the gutter margin and the chapter begin pages, that I can globally configure 
cross references for the previous page, the next page, or even page 32, 
but never the facing page?

Thanks

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


rtf import

2008-02-25 Thread Maria Gouskova
Dear LyX users,

I'm not sure if I'm asking the same question as in the other thread
that mentions rtf import problems, but I've been having an issue as
well. Details:

Mac OS 10.5.1, Intel
LyX 1.5.3 and 1.5.4

FileImport Rich Text Format produces the following error message:

An error occurred whilst running '/Applications/LyX.app/Contents/MacOS/tex2lyx'
-f

The import process seems to fail at the point where the .lyx file is
generated--there is a useable .tex file but the .lyx file comes out
completely empty and LyX cannot open it.

I don't use rtf documents that often, but my recollection is that it
worked without a hitch in 1.4x. I see nothing on bugzilla about this.

Maria


Re: Command-buffer inset-insert syntax

2008-02-25 Thread Pavel Sanda
For versions of LyX subsequent to 1.4, you have to use
|inset-insert| instead. The format is
|LYXCMD:anything:inset-insert ref LatexCommand ref reference
referenceName \end_inset|. There's also an optional name NAME
argument that seems to work in docbook: |link
linkend=referenceNameNAME/link|.

 But I don't understand how to do it. How can I insert a Formated 
 reference to the label sec:test?

try if you can read something from the console output when you put
the reference through GUI  (run lyx in debug mode, eg: lyx -dbg action)

please report back the correct version if you succeed.

 Additionally I'd like to use the command-buffer to go to a label. In 
 http://wiki.lyx.org/LyX/LyxFunctionList1-3-2 I found reference-goto but 
 this functions does not seem to be available in 1.5.x any more. Is there an 
 other function allowing to go to given label via command-buffer in 1.5.x?

LFUN_REFERENCE_GOTO - LFUN_REFERENCE_NEXT

pavel


Koma-script book class title page modifications

2008-02-25 Thread David Hewitt
I'm looking for a little help modifying the standard Koma-script book
class output for, you guessed it, a dissertation. I have become
intimately familiar with the manual for this class and the stuff on
the Wiki, but I'm still stumped.

I thought I had my requirements met with a bunch of \extratitle{}
stuff, but then I learned I need the title page to be _after_ the TOC,
List of Figures, etc. I think the simplest approach is to suppress the
title page and make it up another way. Is there a way to suppress the
title page? I tried putting \title{} in the Preamble and then not
having a title environment in LyX, but that gives LaTeX errors. Any
help is appreciated.

Basically, I need 3 freely modifiable pages in the front followed by
the TOC, Acknowledgments, LOT, LOF, Abstract, then the Title, and then
everything else.

-- 
Dave Hewitt
Fisheries Science
VIMS, College of William and Mary
Gloucester Point, VA


Re: Koma-script book class title page modifications

2008-02-25 Thread Rich Shepard

On Mon, 25 Feb 2008, David Hewitt wrote:


I thought I had my requirements met with a bunch of \extratitle{} stuff,
but then I learned I need the title page to be _after_ the TOC, List of
Figures, etc.


  Years ago I gave up trying to understand academia.


Basically, I need 3 freely modifiable pages in the front followed by the
TOC, Acknowledgments, LOT, LOF, Abstract, then the Title, and then
everything else.


  Just to check: you have partitioned the dissertation into \frontmatter,
\mainmatter, and \backmatter, I assume?

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: rtf import

2008-02-25 Thread Liviu Andronic
On 2/25/08, Maria Gouskova [EMAIL PROTECTED] wrote:
  LyX 1.5.3 and 1.5.4

  FileImport Rich Text Format produces the following error message:

I have no such menu item. I am curious: what package is responsible
for this conversion?

Thanks,
Liviu


Re: footnotes problem, .rtf import, view source on 1.5.3

2008-02-25 Thread jf7

Quoting rgheck [EMAIL PROTECTED]:



1) creating a footnote from existing text causing unusable formatting.


I'm not following your description of this problem. Is the problem that
when you copy and paste, LyX is copying the paragraph formatting? -- If
so, you can edit the formatting by selecting Edit  Paragraph Settings



I've tried to fix it with Edit  Paragraph by selecting just the   
footnote text as well as the whole paragraph. Doesn't solve it --   
presumably because it doesn't have an option to undo the formatting  
 -- I can only choose, left, right, justified or centered.



You don't have Use Paragraph's Default Alignment? The point of this
option is to undo customization. That's why I added it. ;-)


Ah! I didn't try it before because it says [justified] But this  
indeed fixes the formatting of the pasted footnote content. Thanks!





The problem is that when I create a new footnote and paste text   
into it from elsewhere, (OR if I select text and execute footnote   
-- either way) it adds a whole blank line between the footnote   
number and the footnote text in the dvi or ps view of the footnote   
footer.


Seems that in earlier versions of LyX this was never a problem. Now  
 the only way I can do it is to completely re-type the footnote   
contents.



I'm guessing that the problem here is that you have paragraph alignment
set in the text you are cutting, and then that is added to the footnote
when you paste. Paste works that way. Maybe it shouldn't.


Probably would be good if it didn't since the intended use would be  
the characters not their paragraph attributes which would be defined  
by the context.


I also found that I had to delete and retype section and chapter  
titles in these docs that were converted from latex. Probably the  
default paragraph alignment would fix this too though now I'm unable  
to re-create the problem because I'll need a new import to do so.  
Newly typed text is not a problem with any of these formatting issues  
-- only imported latex as far as I've found.


jamie faunt




Re: footnotes problem, .rtf import, view source on 1.5.3

2008-02-25 Thread rgheck



You don't have Use Paragraph's Default Alignment? The point of this
option is to undo customization. That's why I added it. ;-)


Ah! I didn't try it before because it says [justified] But this 
indeed fixes the formatting of the pasted footnote content. Thanks!


Hmm. We had a really, really long discussion about what this button 
should say. And now it looks as if maybe we chose badly. Would Default 
by itself have been clearer? Or would removing the [Justified] part 
have been helpful? I'd like to get this right.


rh



Re: Command-buffer inset-insert syntax

2008-02-25 Thread Tobias Krause

Hi,


lyx -dbg action


I tried that using all debug messages, but the output does not help me 
too much:


This is the debug-output when I insert the reference

   LyXFunc::dispatch: cmd:  action: 231 arg: 'ref LatexCommand ref
   reference tst:1
   \end_inset
   ' x: 0 y: 0

   LyXFunc::dispatch: cmd:  action: 232 arg: 'ref LatexCommand ref
   reference tst:1
   \end_inset
   ' x: 0 y: 0
   void __thiscall lyx::InsetText::doDispatch(class lyx::Cursor ,class
   lyx::FuncRequest ) [ cmd.action = 232]
   Text::dispatch: cmd:  action: 232 arg: 'ref LatexCommand ref
   reference tst:1
   \end_inset
   ' x: 0 y: 0

So I tried inset-insert ref LatexCommand ref reference tst:2
This produced a error message LyX: Insert Command: ref Unknown 
parameter name: and the debug output


   LyXFunc::dispatch: cmd:  action: 232 arg: 'ref LatexCommand ref
   reference tst:2' x: 0 y: 0
   void __thiscall lyx::InsetText::doDispatch(class lyx::Cursor ,class
   lyx::FuncRequest ) [ cmd.action = 232]
   Text::dispatch: cmd:  action: 232 arg: 'ref LatexCommand ref
   reference tst:2' x: 0 y: 0

Somehow it seems to get close but I don't know what to change...

Regards
 Toby



 Original Message  
Subject: Re: Command-buffer inset-insert syntax
From: Pavel Sanda [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Date: Mon Feb 25 2008 21:45:45 GMT+0100




   For versions of LyX subsequent to 1.4, you have to use
   |inset-insert| instead. The format is
   |LYXCMD:anything:inset-insert ref LatexCommand ref reference
   referenceName \end_inset|. There's also an optional name NAME
   argument that seems to work in docbook: |link
   linkend=referenceNameNAME/link|.

But I don't understand how to do it. How can I insert a Formated 
reference to the label sec:test?



try if you can read something from the console output when you put
the reference through GUI  (run lyx in debug mode, eg: lyx -dbg action)

please report back the correct version if you succeed.

  
Additionally I'd like to use the command-buffer to go to a label. In 
http://wiki.lyx.org/LyX/LyxFunctionList1-3-2 I found reference-goto but 
this functions does not seem to be available in 1.5.x any more. Is there an 
other function allowing to go to given label via command-buffer in 1.5.x?



LFUN_REFERENCE_GOTO - LFUN_REFERENCE_NEXT

pavel


  




Click in the scrollbar doesn't advance enough

2008-02-25 Thread Steve Litt
Hi all,

Clicking in the LyX scrollbar doesn't advance the LyX screen such that the 
bottom line is now the top. Sometimes it gets close, and sometimes you need 
to click the scrollbar 2 or 3 times to advance one screenful. 

I couldn't fix the problem with qt4config's Interface-Wheel_scroll_lines 
setting. I couldn't find anything in LyX's Tools-Preferences system to 
change it.

Most apps go up one screen minus one line (or down one screen minus one line) 
when you click inside the scrollbar, so this behavior is unexpected.

Thanks

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


with opensuse 10.3 I lost Lyx

2008-02-25 Thread Marcelo Acuña
Hello,
 I make an upgrade from opensuse 10.2 to 10.3 and now,
Lyx cannot compile my book. I get an
 Undefined control (I don´t remember more)
 in each \justifying and \justify in the document.
 Opensuse 10.3 deleted my latex and install TexLive
distro of Latex.
 How I can resolve this trouble?
 Thanks
Marcelo



Marcelo Acuña visitá mi sitio web http://www.aleph-uno.com.ar 
==


  Los referentes más importantes en compra/ venta de autos se juntaron:
Demotores y Yahoo!
Ahora comprar o vender tu auto es más fácil. Vistá ar.autos.yahoo.com/


Re: Command-buffer inset-insert syntax

2008-02-25 Thread Pavel Sanda
 So I tried inset-insert ref LatexCommand ref reference tst:2

you mean this?

inset-apply ref LatexCommand ref reference tst:2\end_inset

p


Problem with 1.5.4

2008-02-25 Thread Rich Shepard

  This is the first time I've run into a problem after upgrading; in this
case from -1.5.3 to -1.5.4 (on Slackware).

  I held off loading a .txt file today until the new version was built and
replaced the earlier version. Now when I try File - Import - Plain text,
join lines it fails because /home/rshepard/.lyx/templates/default.lyx is
from a different version of LyX, but a temporary file to convert it cannot
be converted.

  Strange. Very strange. The contents of ~/.lyx/templates is:

-rw-rw-r-- 1 rshepard users   907 2000-09-07 10:49 2colREADME
-rw-r--r-- 1 rshepard users  1003 2000-08-30 14:27 2colTemplate.lyx
-rw-r--r-- 1 rshepard users 12272 2000-08-30 14:46 2columnArticleWithPics.dvi
-rw-r--r-- 1 rshepard users  8989 2000-08-30 14:46 2columnArticleWithPics.lyx
-rw-rw-r-- 1 rshepard users61 2000-04-10 14:46 README
-rw-rw-r-- 1 rshepard users   692 2007-02-15 06:54 defaults.lyx
-rw-rw-r-- 1 rshepard users  1787 2000-04-10 14:43 letter-he.lyx
-rw-r--r-- 1 rshepard users  3039 2004-08-31 16:41 math_macros.lyx
-rw-r--r-- 1 rshepard users   933 2004-03-24 11:01 math_macros.tex
-rw-r--r-- 1 rshepard users  6532 2000-08-30 07:17 nihongo.eps
-rw-r--r-- 1 rshepard users 25481 2004-11-22 12:37 template.lyx

  Notice that the most recent is defaults.lyx and that's from a year ago.

  Any ideas what's happened?

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Problem with 1.5.4

2008-02-25 Thread Rich Shepard

On Mon, 25 Feb 2008, Rich Shepard wrote:


 I held off loading a .txt file today until the new version was built and
replaced the earlier version. Now when I try File - Import - Plain text,
join lines it fails because /home/rshepard/.lyx/templates/default.lyx is
from a different version of LyX, but a temporary file to convert it cannot
be converted.


  More information (which I should have included the first time).
default.lyx was created by LyX-1.4.4. It's a plain ASCII text file so I
don't understand why 1.5.4 cannot read it.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Problem with 1.5.4 -- FIXED

2008-02-25 Thread Rich Shepard

On Mon, 25 Feb 2008, Rich Shepard wrote:


 More information (which I should have included the first time).
default.lyx was created by LyX-1.4.4. It's a plain ASCII text file so I
don't understand why 1.5.4 cannot read it.


  The problem was my removing the /tmp/lyx_tmpdir/ when I cleaned up
after the build. Shutting down LyX and restarting it restored a working tmp
directory and the import worked just fine.

Sorry for the static,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Why Does ERT Cause 'Undefined Control Sequence?'

2008-02-25 Thread Rich Shepard

  Every time the service name is in the text, it's followed by an ERT box
containing \textservicemark. For some reason, this generates an 'undefined
control sequence' error in LaTeX/TeX. Here's a sample from the log file:

LaTeX Font Info:Font shape `T1/ppl/bx/n' in size 14.4 not available
(Font)  Font shape `T1/ppl/b/n' tried instead on input line 75.
! Undefined control sequence.
l.88 PermitWatch\textservicemark
 is hosted on secure servers and accessible
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 ' and the correct
spelling (e.g., \hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

  What did I do incorrectly?

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Click in the scrollbar doesn't advance enough

2008-02-25 Thread rgheck

Steve Litt wrote:

Hi all,

Clicking in the LyX scrollbar doesn't advance the LyX screen such that the 
bottom line is now the top. Sometimes it gets close, and sometimes you need 
to click the scrollbar 2 or 3 times to advance one screenful. 

  
There's a lot of scrollbar weirdness in 1.5. Abdel has done a lot of 
work on this, and 1.6 is better, but the algorithms that drive the 
scrollbar are surprisingly complex and hard to get right.


rh



Re: with opensuse 10.3 I lost Lyx

2008-02-25 Thread rgheck

Marcelo Acuña wrote:

Hello,
 I make an upgrade from opensuse 10.2 to 10.3 and now,
Lyx cannot compile my book. I get an
 Undefined control (I don´t remember more)
 in each \justifying and \justify in the document.
 Opensuse 10.3 deleted my latex and install TexLive
distro of Latex.
 How I can resolve this trouble?
  
It sounds like you're missing some package that you used to have. I 
don't know which one, but what are these justify and justifying 
commands??


rh



Re: Why Does ERT Cause 'Undefined Control Sequence?' -- ANSWERED

2008-02-25 Thread Rich Shepard

On Mon, 25 Feb 2008, Rich Shepard wrote:


 What did I do incorrectly?


  The proper missing package was pointed out to me.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: footnotes problem, .rtf import, view source on 1.5.3

2008-02-25 Thread jf7

Quoting rgheck [EMAIL PROTECTED]:




You don't have Use Paragraph's Default Alignment? The point of this
option is to undo customization. That's why I added it. ;-)


Ah! I didn't try it before because it says [justified] But this   
indeed fixes the formatting of the pasted footnote content. Thanks!



Hmm. We had a really, really long discussion about what this button
should say. And now it looks as if maybe we chose badly. Would
Default by itself have been clearer? Or would removing the
[Justified] part have been helpful? I'd like to get this right.

rh


My take is that if justified wasn't there I probably would have  
tried it. But if it actually removes paragraph formatting (even if it  
resorts to the default for the context) wouldn't it be clearer to say  
Remove Paragraph Formatting?  I'm surmising it's doing both. So I  
understand the problem in the wording. And I appreciate your interest  
in the detail here!


How about Remove the paragraph formatting you didn't really want?  
:-) But then you might want to save the telepathic features of the  
program for a later version. :-)


jamie faunt






Error during lyx 1.5.3 compile

2008-02-25 Thread Thomas Steinbrecher

Dear lyx-Users,

I am not sure if this is the correct place to pose my question, but I 
encountered an error when installing lyx on a linux box running Ximian.
Can anybody give me a hint on what might be wrong here? A similar problem 
in the developers list archives was solved by adding an additional include 
statement to the code.


Please answer to [EMAIL PROTECTED], as I am not subscribed to the list.

qt 4.3.4 is installed and the correct path for it is given to configure. 
No further special options are used to configure, which runs without 
error. When running make, it terminates with the following error message:


 g++ -DHAVE_CONFIG_H -I. -I../../../src -DQT_CLEAN_NAMESPACE 
-DQT_GENUINE_STR -DQT_NO_STL -DQT_NO_KEYWORDS -I../../../src 
-I../../../src/frontends -I../../../images -DQT_SHARED 
-I/home/steinbrt/programs/qt-4.3.4/include 
-I/home/steinbrt/programs/qt-4.3.4/include/QtCore 
-I/home/steinbrt/programs/qt-4.3.4/include/QtGui -I../../../boost 
-I../../../src/frontends/controllers -I/usr/X11R6/include -O2 -MT 
GuiApplication.lo -MD -MP -MF .deps/GuiApplication.Tpo -c 
GuiApplication.cpp -o GuiApplication.o

../../../boost/boost/checked_delete.hpp: In function `void
   boost::checked_delete(T*) [with T = lyx::frontend::MenuTranslator]':
GuiApplication.cpp:77:   instantiated from `void 
boost::scoped_ptrT::scoped_ptr() [with T = 
lyx::frontend::MenuTranslator]'

GuiApplication.cpp:101:   instantiated from here
../../../boost/boost/checked_delete.hpp:32: `sizeof' applied to incomplete 
type

   `lyx::frontend::MenuTranslator'
../../../boost/boost/checked_delete.hpp:32: creating array with size zero 
(`-1

   ')
../../../boost/boost/checked_delete.hpp:33: `sizeof' applied to incomplete 
type

   `lyx::frontend::MenuTranslator'
../../../boost/boost/checked_delete.hpp:33: creating array with size zero 
(`-1

   ')
../../../boost/boost/checked_delete.hpp:30: `x' has incomplete type
GuiApplication.h:39: forward declaration of `struct
   lyx::frontend::MenuTranslator'
make[7]: *** [GuiApplication.lo] Error 1
make[7]: Leaving directory 
`/home/steinbrt/programs/lyx-1.5.3/src/frontends/qt4'

make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory 
`/home/steinbrt/programs/lyx-1.5.3/src/frontends/qt4'

make[5]: *** [all] Error 2
make[5]: Leaving directory 
`/home/steinbrt/programs/lyx-1.5.3/src/frontends/qt4'

make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory 
`/home/steinbrt/programs/lyx-1.5.3/src/frontends'

make[3]: *** [all] Error 2
make[3]: Leaving directory 
`/home/steinbrt/programs/lyx-1.5.3/src/frontends'

make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/steinbrt/programs/lyx-1.5.3/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/steinbrt/programs/lyx-1.5.3/src'
make: *** [all-recursive] Error 1

Regards,

Dr. Thomas Steinbrecher
The Scripps Research Institute
10550 N. Torrey Pines Rd.
San Diego CA 92037, USA


Re: with opensuse 10.3 I lost Lyx

2008-02-25 Thread Jürgen Spitzmüller
rgheck wrote:
  Hello,
   I make an upgrade from opensuse 10.2 to 10.3 and now,
  Lyx cannot compile my book. I get an
   Undefined control (I don´t remember more)
   in each \justifying and \justify in the document.
   Opensuse 10.3 deleted my latex and install TexLive
  distro of Latex.
   How I can resolve this trouble?
   

 It sounds like you're missing some package that you used to have. I
 don't know which one, but what are these justify and justifying
 commands??

You're missing the package ragged2e.
The texlive package of openSuse is, well, strange.

Jürgen


Re: Needed documentation

2008-02-25 Thread G. Milde
On 25.02.08, Steve Litt wrote:
 Hi all,

 You know what would be good documentation? The 25 Biggest Surprises in LyX 
 and How to Work With Them. 

Clearly a case for wiki.lyx.org. Maybe some points are already covered in
the wiki's FAQ...

GM


Re: [ANNOUNCE]: LyX 1.5.4 is released

2008-02-25 Thread G. Milde
On 25.02.08, Jürgen Spitzmüller wrote:
 G. Milde wrote:
  I am afraid that this was never in bugzilla.
  However, I remember a mail by JMarc, archived at:
 
  http://www.mail-archive.com/lyx-users@lists.lyx.org/msg60079.html
 
  which says:
 In the meantime, I have implemented the other
possibility, the one that works like PC programs. I would be
interested to see people test it and tell me whether it is better than
the current one.

 Hm. Can you check if it's fixed in 1.5.4, and file a report on bugzilla, if 
 not?

Actually, I would rather wait for a Debian package of 1.5.4 (and only
install it if the word-forward skips non-word chars bug is fixed
there), so I suppose it is easier to ask Jean Marc instead of downloading
and checking the tarball...

Or maybe someone who installed 1.5.4 could tell us what happens if he/she
deletes a word in front of a mathematical formula...

I'd volunteer to write a bug-report in case it is not fixed, though.

Guenter



Re: [ANNOUNCE]: LyX 1.5.4 is released

2008-02-25 Thread Jürgen Spitzmüller
G. Milde wrote:
 Or maybe someone who installed 1.5.4 could tell us what happens if he/she
 deletes a word in front of a mathematical formula...

both the word and the formula are deleted (both in 1.6svn and 1.5.4).

So you better file a bug report.

Jürgen


Re: Command-buffer inset-insert syntax

2008-02-25 Thread Tobias Krause

Perfect, THANKS!

Just to make it complete: the syntax is

   inset-apply ref LatexCommand Format reference label name\end_inset

where label name is the name of the referenced label and
Format is one of the following:

   ref -- reference
   eqref -- (reference)
   pageref -- page
   vpageref -- on page
   vref -- reference on page
   prettyref -- Formatted reference

As well on the updated function list: 
http://wiki.lyx.org/LyX/LyxFunctionList


Regards
 Toby


backref

2008-02-25 Thread Wolfgang Engelmann
I try to locate some references in my document by using the package backref. I 
do, however, get only 
pages (actually Seiten, since it is a german document)
behind the reference, no page number. What do I do wrong? I inserted 
\usepackage[ngerman]{backref}
\usepackage{hyperref}
in the preamble.

Wolfgang


Re: [ANNOUNCE]: LyX 1.5.4 is released

2008-02-25 Thread G. Milde
On 24.02.08, Jürgen Spitzmüller wrote:
 Public release of LyX version 1.5.4
 

 We are pleased to announce the release of LyX 1.5.4. 

Good news. Thanks to the developers for their continued commitment to LyX.

 A detailed list of changes is appended below, remaining known problems
 are listed in the file RELEASE-NOTES.

Unfortunately, I did not find mentioned whether the 
word-forward skips non-white non-word characters bug is fixed in this
release. Could someone please clarify this (or give a pointer)?

Thanks,

Günter



Re: [ANNOUNCE]: LyX 1.5.4 is released

2008-02-25 Thread G. Milde
On 25.02.08, Jürgen Spitzmüller wrote:
 G. Milde wrote:
  Unfortunately, I did not find mentioned whether the
  word-forward skips non-white non-word characters bug is fixed in this
  release. Could someone please clarify this (or give a pointer)?

 All bugs that were fixed are listed (IOW this specific bug is still there).

What a pity. Especially as 

* Jean-Mark did provide a fix (probabely in 1.6) 
* my current workaround with 

# word-delete-forward deletes also non-word characters 
# (space, punctuation, math) behind the word!
# \bind C-Delete  word-delete-forward
\bind C-Deletecommand-sequence word-capitalize; delete-forward

  will probabely no longer work as word-capitalize is said to no longer
  select the word.
  
Guenter




Re: Figure references 1.5.3: Danger Will Robinson

2008-02-25 Thread G. Milde
On 24.02.08, Les Denham wrote:
 On Sunday 24 February 2008 18:06, Steve Litt wrote:
  Aha! I never even thought of putting it inside the caption (should it
  be at the beginning or end of caption?). 

 I don't know whether it is explicitly documented, but if you look at the 
 documentation for floats (4.3.2.1 in UserGuide.lyx for 1.5.1) and examine how 
 the labels are placed in the floats, you will see they are in the captions, 
 at the beginning.  I doubt if putting them elsewhere in the caption would 
 make any difference, 

It does not. I have the label always at the end of the caption
without problems.

 but when you click on the label icon, the default name 
 of the label is based on the first few words after the cursor.

Actually, the default is the first few words of the caption, so the
cursor position within a caption does not matter.

GM


Re: [ANNOUNCE]: LyX 1.5.4 is released

2008-02-25 Thread Jürgen Spitzmüller
G. Milde wrote:
 Unfortunately, I did not find mentioned whether the
 word-forward skips non-white non-word characters bug is fixed in this
 release. Could someone please clarify this (or give a pointer)?

All bugs that were fixed are listed (IOW this specific bug is still there).

Jürgen


Command-buffer inset-insert syntax

2008-02-25 Thread Tobias Krause

Hi,

I'd like to insert a cross-reference via the command-buffer. 
Unfortunately I'm note sure about the syntax. I found the following on 
http://wiki.lyx.org/LyX/InsertingReferences:


   For versions of LyX subsequent to 1.4, you have to use
   |inset-insert| instead. The format is
   |LYXCMD:anything:inset-insert ref LatexCommand ref reference
   referenceName \end_inset|. There's also an optional name NAME
   argument that seems to work in docbook: |link
   linkend=referenceNameNAME/link|.

But I don't understand how to do it. How can I insert a Formated 
reference to the label sec:test?


Additionally I'd like to use the command-buffer to go to a label. In 
http://wiki.lyx.org/LyX/LyxFunctionList1-3-2 I found reference-goto but 
this functions does not seem to be available in 1.5.x any more. Is there 
an other function allowing to go to given label via command-buffer in 1.5.x?


Regards
 Toby


Re: [ANNOUNCE]: LyX 1.5.4 is released

2008-02-25 Thread Jürgen Spitzmüller
G. Milde wrote:
 * Jean-Mark did provide a fix (probabely in 1.6)

Do you remember the bug number?

Jürgen


Re: [ANNOUNCE]: LyX 1.5.4 is released

2008-02-25 Thread G. Milde
On 25.02.08, Jürgen Spitzmüller wrote:
 G. Milde wrote:
  * Jean-Mark did provide a fix (probabely in 1.6)

 Do you remember the bug number?

I am afraid that this was never in bugzilla. 
However, I remember a mail by JMarc, archived at:

http://www.mail-archive.com/lyx-users@lists.lyx.org/msg60079.html

which says:

   In the meantime, I have implemented the other
  possibility, the one that works like PC programs. I would be
  interested to see people test it and tell me whether it is better than
  the current one.

GM


Re: nopagebreak before itemized list

2008-02-25 Thread G. Milde
On 22.02.08, Tobias Krause wrote:

 I tried the ERT [\nopagebreak] but unfortunately this does not work when it 
 is used before a itemized list,
...
 Is there any other way to prevent the pagebreak?

Did you try to put the part of your doc that should appear on one page in
a minipage?

GM



Needed documentation

2008-02-25 Thread Steve Litt
Hi all,

You know what would be good documentation? The 25 Biggest Surprises in LyX 
and How to Work With Them. It's basically a FAQ with potential landmines and 
how to avoid/workaround them.

I'll start out with the ones I know of:

* Must hit Enter to declare column widths in tables
* Must use units on all lengths
* Must delete/recreate source tree to compile after config failure
* Must run texhash after adding new LaTeX class/style
* Must reconfiigure after change to layout file
* You can make a script to do the reconfigure
* TOC/Index/crossreference often require multiple compiles to register
* Confusion between LyX code and LaTeX code
* LaTeX code is case sensitive, LyX code isn't

Perhaps others can add to the list and we can write the document.

Thanks

STeveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


Re: [ANNOUNCE]: LyX 1.5.4 is released

2008-02-25 Thread Jürgen Spitzmüller
G. Milde wrote:
 I am afraid that this was never in bugzilla.
 However, I remember a mail by JMarc, archived at:

 http://www.mail-archive.com/lyx-users@lists.lyx.org/msg60079.html

 which says:
    In the meantime, I have implemented the other
   possibility, the one that works like PC programs. I would be
   interested to see people test it and tell me whether it is better than
   the current one.

Hm. Can you check if it's fixed in 1.5.4, and file a report on bugzilla, if 
not?

Jürgen


Where is the Lyx 1.54 for Windows

2008-02-25 Thread Jorge Mario Garcia
 Where is the Lyx 1.54 for Windows?

Kenmotar


Re: footnotes problem, .rtf import, view source on 1.5.3

2008-02-25 Thread Bennett Helm

On Feb 25, 2008, at 12:00 PM, Richard Heck wrote:

3) Getting view source to view the paragraph in which the  
cursor  resides as the User Guide says it will.


It seems like this problem arises when the Automatic update  
option is

unchecked; this indeed seems to be a bug. The workaround is to check
that option, and everything should work as expected -- at least  
it does

for me.


Yes -- you're right -- this solves it. Thanks!

That's not a bug but is how it's supposed to work, I think. The  
idea is that you're keeping the window open but only updating it  
when you ask for it to be updated. On slow machines, this is crucial.


The bug is that clicking Update does nothing.

Bennett


Re: Needed documentation

2008-02-25 Thread Rich Shepard

On Mon, 25 Feb 2008, Steve Litt wrote:


* Must use units on all lengths

  LaTeX requires this; the default may not be what you want.


* Must delete/recreate source tree to compile after config failure

  Not if you delete the config.status and config.log files. This, too, is
not LyX-specific; it applies to all builds.


* Must run texhash after adding new LaTeX class/style

  LaTeX requires this.


* Must reconfiigure after change to layout file

  True for most applications.


* TOC/Index/crossreference often require multiple compiles to register

  That's because TeX and LaTeX require multiple passes to build. First pass
finds the items, second pass assembles them in the proper list.


* LaTeX code is case sensitive, LyX code isn't

  Case sensitivity is applicable to all unices; the exception are
applications that aren't. It would be more consistent for LyX to be case
sensitive, too.

  Perhaps a read (re-read?) of Kipka  Daly or Lamport would help.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Needed documentation

2008-02-25 Thread Steve Litt
Hi Richard Heck and Rich Shepard and everyone,

In my original post I meant to say a lot of the surprises were TeX/LaTeX in 
nature, not under LyX's control. Nevertheless, to a newbie, they're all LyX 
problems.

The other thing I forgot to say is the problem is the surprise, not the 
behavior. Most LyX behaviors are reasonable, as long as the user expects 
them.

I've responded in the following:

On Monday 25 February 2008 11:49, you wrote:
 Steve Litt wrote:
  You know what would be good documentation? The 25 Biggest Surprises in
  LyX and How to Work With Them.

 Sounds like an excellent thing for the wiki. As I'll note, it might be
 worth distinguishing here between LyX surprises---things we could
 fix---and LaTeX's own idiosyncracies---things we can't fix.

Could somebody please put the Wiki Stub in the proper place and post its 
location on the list? Then the rest of us can write the documentation.

As far as distinquishing LyX as opposed to LaTeX/TeX, definitely. I meant to 
bring that up. Also, there's not necessarily anything to fix but the 
documentation. The behavior isn't the bad thing, the surprise is the problem. 
Once we documement, for instance, the need for units on all lengths, it's no 
longer surprising, and it's a good thing.


  It's basically a FAQ with potential landmines and
  how to avoid/workaround them.
 
  I'll start out with the ones I know of:
 
  * Must hit Enter to declare column widths in tables
  * Must use units on all lengths

 This is LaTeX's requirement. I suppose LyX could have a default unit,
 but that would probably be a worse surprise.

I'd cry if you changed the current behavior. The thing is to prepare the 
newbie for this using documentation.



  * Must delete/recreate source tree to compile after config failure

 Sometimes.

We should document when, or else to be on the safe side just say do it 
(because it takes only a minute and can save hours of troubleshooting).

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Re: Where is the Lyx 1.54 for Windows

2008-02-25 Thread Bo Peng
On Tue, Feb 26, 2008 at 10:29 AM, Jorge Mario Garcia
[EMAIL PROTECTED] wrote:
  Where is the Lyx 1.54 for Windows?

Joost:

Will you have time to prepare one soon? I can do it if you are tight on time.

Bo


Re: footnotes problem, .rtf import, view source on 1.5.3

2008-02-25 Thread rgheck

[EMAIL PROTECTED] wrote:

Quoting Bennett Helm [EMAIL PROTECTED]:


On Feb 24, 2008, at 9:13 PM, [EMAIL PROTECTED] wrote:

In summary, I'm mentioning a few problems here:

Main one is:

1) creating a footnote from existing text causing unusable formatting.


I'm not following your description of this problem. Is the problem that
when you copy and paste, LyX is copying the paragraph formatting? -- If
so, you can edit the formatting by selecting Edit  Paragraph Settings



I've tried to fix it with Edit  Paragraph by selecting just the 
footnote text as well as the whole paragraph. Doesn't solve it -- 
presumably because it doesn't have an option to undo the formatting -- 
I can only choose, left, right, justified or centered.



You don't have Use Paragraph's Default Alignment? The point of this
option is to undo customization. That's why I added it. ;-)

The problem is that when I create a new footnote and paste text into 
it from elsewhere, (OR if I select text and execute footnote -- either 
way) it adds a whole blank line between the footnote number and the 
footnote text in the dvi or ps view of the footnote footer.


Seems that in earlier versions of LyX this was never a problem. Now 
the only way I can do it is to completely re-type the footnote contents.



I'm guessing that the problem here is that you have paragraph alignment
set in the text you are cutting, and then that is added to the footnote
when you paste. Paste works that way. Maybe it shouldn't.

3) Getting view source to view the paragraph in which the cursor  
resides as the User Guide says it will.


It seems like this problem arises when the Automatic update option is
unchecked; this indeed seems to be a bug. The workaround is to check
that option, and everything should work as expected -- at least it does
for me.


Yes -- you're right -- this solves it. Thanks!


That's not a bug but is how it's supposed to work, I think. The idea is
that you're keeping the window open but only updating it when you ask
for it to be updated. On slow machines, this is crucial.

rh




View Source Bug

2008-02-25 Thread rgheck

Bennett Helm wrote:
The bug is that clicking Update [in the View Source window] does 
nothing [when Automatic Update is off].



Well, that definitely is a bug, yes.

rh




Re: Needed documentation

2008-02-25 Thread rgheck

Steve Litt wrote:

Hi Richard Heck and Rich Shepard and everyone,

In my original post I meant to say a lot of the surprises were TeX/LaTeX in 
nature, not under LyX's control. Nevertheless, to a newbie, they're all LyX 
problems.


The other thing I forgot to say is the problem is the surprise, not the 
behavior. Most LyX behaviors are reasonable, as long as the user expects 
them.


  
Yes, I thought that's what you had in mind. And you're right: Newcomers 
don't know about LyX--LaTeX.


rh



Ref+Text wording in Ebook

2008-02-25 Thread Steve Litt
Hi all,

My new book is an Ebook, but it's 2 sided in case the customer wants to print 
it. Trouble is, sometimes the Ref+Text cross-reference comes out like this:

a diagram like in  gure 3.1 on the facing page

The preceding makes absolutely no sense in an Ebook, although it makes perfect 
sense in a 2 sided paper book.

Is there a way, without making it a one sided book and therefore messing up 
the gutter margin and the chapter begin pages, that I can globally configure 
cross references for the previous page, the next page, or even page 32, 
but never the facing page?

Thanks

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


rtf import

2008-02-25 Thread Maria Gouskova
Dear LyX users,

I'm not sure if I'm asking the same question as in the other thread
that mentions rtf import problems, but I've been having an issue as
well. Details:

Mac OS 10.5.1, Intel
LyX 1.5.3 and 1.5.4

FileImport Rich Text Format produces the following error message:

An error occurred whilst running '/Applications/LyX.app/Contents/MacOS/tex2lyx'
-f

The import process seems to fail at the point where the .lyx file is
generated--there is a useable .tex file but the .lyx file comes out
completely empty and LyX cannot open it.

I don't use rtf documents that often, but my recollection is that it
worked without a hitch in 1.4x. I see nothing on bugzilla about this.

Maria


Re: Command-buffer inset-insert syntax

2008-02-25 Thread Pavel Sanda
For versions of LyX subsequent to 1.4, you have to use
|inset-insert| instead. The format is
|LYXCMD:anything:inset-insert ref LatexCommand ref reference
referenceName \end_inset|. There's also an optional name NAME
argument that seems to work in docbook: |link
linkend=referenceNameNAME/link|.

 But I don't understand how to do it. How can I insert a Formated 
 reference to the label sec:test?

try if you can read something from the console output when you put
the reference through GUI  (run lyx in debug mode, eg: lyx -dbg action)

please report back the correct version if you succeed.

 Additionally I'd like to use the command-buffer to go to a label. In 
 http://wiki.lyx.org/LyX/LyxFunctionList1-3-2 I found reference-goto but 
 this functions does not seem to be available in 1.5.x any more. Is there an 
 other function allowing to go to given label via command-buffer in 1.5.x?

LFUN_REFERENCE_GOTO - LFUN_REFERENCE_NEXT

pavel


Koma-script book class title page modifications

2008-02-25 Thread David Hewitt
I'm looking for a little help modifying the standard Koma-script book
class output for, you guessed it, a dissertation. I have become
intimately familiar with the manual for this class and the stuff on
the Wiki, but I'm still stumped.

I thought I had my requirements met with a bunch of \extratitle{}
stuff, but then I learned I need the title page to be _after_ the TOC,
List of Figures, etc. I think the simplest approach is to suppress the
title page and make it up another way. Is there a way to suppress the
title page? I tried putting \title{} in the Preamble and then not
having a title environment in LyX, but that gives LaTeX errors. Any
help is appreciated.

Basically, I need 3 freely modifiable pages in the front followed by
the TOC, Acknowledgments, LOT, LOF, Abstract, then the Title, and then
everything else.

-- 
Dave Hewitt
Fisheries Science
VIMS, College of William and Mary
Gloucester Point, VA


Re: Koma-script book class title page modifications

2008-02-25 Thread Rich Shepard

On Mon, 25 Feb 2008, David Hewitt wrote:


I thought I had my requirements met with a bunch of \extratitle{} stuff,
but then I learned I need the title page to be _after_ the TOC, List of
Figures, etc.


  Years ago I gave up trying to understand academia.


Basically, I need 3 freely modifiable pages in the front followed by the
TOC, Acknowledgments, LOT, LOF, Abstract, then the Title, and then
everything else.


  Just to check: you have partitioned the dissertation into \frontmatter,
\mainmatter, and \backmatter, I assume?

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: rtf import

2008-02-25 Thread Liviu Andronic
On 2/25/08, Maria Gouskova [EMAIL PROTECTED] wrote:
  LyX 1.5.3 and 1.5.4

  FileImport Rich Text Format produces the following error message:

I have no such menu item. I am curious: what package is responsible
for this conversion?

Thanks,
Liviu


Re: footnotes problem, .rtf import, view source on 1.5.3

2008-02-25 Thread jf7

Quoting rgheck [EMAIL PROTECTED]:



1) creating a footnote from existing text causing unusable formatting.


I'm not following your description of this problem. Is the problem that
when you copy and paste, LyX is copying the paragraph formatting? -- If
so, you can edit the formatting by selecting Edit  Paragraph Settings



I've tried to fix it with Edit  Paragraph by selecting just the   
footnote text as well as the whole paragraph. Doesn't solve it --   
presumably because it doesn't have an option to undo the formatting  
 -- I can only choose, left, right, justified or centered.



You don't have Use Paragraph's Default Alignment? The point of this
option is to undo customization. That's why I added it. ;-)


Ah! I didn't try it before because it says [justified] But this  
indeed fixes the formatting of the pasted footnote content. Thanks!





The problem is that when I create a new footnote and paste text   
into it from elsewhere, (OR if I select text and execute footnote   
-- either way) it adds a whole blank line between the footnote   
number and the footnote text in the dvi or ps view of the footnote   
footer.


Seems that in earlier versions of LyX this was never a problem. Now  
 the only way I can do it is to completely re-type the footnote   
contents.



I'm guessing that the problem here is that you have paragraph alignment
set in the text you are cutting, and then that is added to the footnote
when you paste. Paste works that way. Maybe it shouldn't.


Probably would be good if it didn't since the intended use would be  
the characters not their paragraph attributes which would be defined  
by the context.


I also found that I had to delete and retype section and chapter  
titles in these docs that were converted from latex. Probably the  
default paragraph alignment would fix this too though now I'm unable  
to re-create the problem because I'll need a new import to do so.  
Newly typed text is not a problem with any of these formatting issues  
-- only imported latex as far as I've found.


jamie faunt




Re: footnotes problem, .rtf import, view source on 1.5.3

2008-02-25 Thread rgheck



You don't have Use Paragraph's Default Alignment? The point of this
option is to undo customization. That's why I added it. ;-)


Ah! I didn't try it before because it says [justified] But this 
indeed fixes the formatting of the pasted footnote content. Thanks!


Hmm. We had a really, really long discussion about what this button 
should say. And now it looks as if maybe we chose badly. Would Default 
by itself have been clearer? Or would removing the [Justified] part 
have been helpful? I'd like to get this right.


rh



Re: Command-buffer inset-insert syntax

2008-02-25 Thread Tobias Krause

Hi,


lyx -dbg action


I tried that using all debug messages, but the output does not help me 
too much:


This is the debug-output when I insert the reference

   LyXFunc::dispatch: cmd:  action: 231 arg: 'ref LatexCommand ref
   reference tst:1
   \end_inset
   ' x: 0 y: 0

   LyXFunc::dispatch: cmd:  action: 232 arg: 'ref LatexCommand ref
   reference tst:1
   \end_inset
   ' x: 0 y: 0
   void __thiscall lyx::InsetText::doDispatch(class lyx::Cursor ,class
   lyx::FuncRequest ) [ cmd.action = 232]
   Text::dispatch: cmd:  action: 232 arg: 'ref LatexCommand ref
   reference tst:1
   \end_inset
   ' x: 0 y: 0

So I tried inset-insert ref LatexCommand ref reference tst:2
This produced a error message LyX: Insert Command: ref Unknown 
parameter name: and the debug output


   LyXFunc::dispatch: cmd:  action: 232 arg: 'ref LatexCommand ref
   reference tst:2' x: 0 y: 0
   void __thiscall lyx::InsetText::doDispatch(class lyx::Cursor ,class
   lyx::FuncRequest ) [ cmd.action = 232]
   Text::dispatch: cmd:  action: 232 arg: 'ref LatexCommand ref
   reference tst:2' x: 0 y: 0

Somehow it seems to get close but I don't know what to change...

Regards
 Toby



 Original Message  
Subject: Re: Command-buffer inset-insert syntax
From: Pavel Sanda [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Date: Mon Feb 25 2008 21:45:45 GMT+0100




   For versions of LyX subsequent to 1.4, you have to use
   |inset-insert| instead. The format is
   |LYXCMD:anything:inset-insert ref LatexCommand ref reference
   referenceName \end_inset|. There's also an optional name NAME
   argument that seems to work in docbook: |link
   linkend=referenceNameNAME/link|.

But I don't understand how to do it. How can I insert a Formated 
reference to the label sec:test?



try if you can read something from the console output when you put
the reference through GUI  (run lyx in debug mode, eg: lyx -dbg action)

please report back the correct version if you succeed.

  
Additionally I'd like to use the command-buffer to go to a label. In 
http://wiki.lyx.org/LyX/LyxFunctionList1-3-2 I found reference-goto but 
this functions does not seem to be available in 1.5.x any more. Is there an 
other function allowing to go to given label via command-buffer in 1.5.x?



LFUN_REFERENCE_GOTO - LFUN_REFERENCE_NEXT

pavel


  




Click in the scrollbar doesn't advance enough

2008-02-25 Thread Steve Litt
Hi all,

Clicking in the LyX scrollbar doesn't advance the LyX screen such that the 
bottom line is now the top. Sometimes it gets close, and sometimes you need 
to click the scrollbar 2 or 3 times to advance one screenful. 

I couldn't fix the problem with qt4config's Interface-Wheel_scroll_lines 
setting. I couldn't find anything in LyX's Tools-Preferences system to 
change it.

Most apps go up one screen minus one line (or down one screen minus one line) 
when you click inside the scrollbar, so this behavior is unexpected.

Thanks

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


with opensuse 10.3 I lost Lyx

2008-02-25 Thread Marcelo Acuña
Hello,
 I make an upgrade from opensuse 10.2 to 10.3 and now,
Lyx cannot compile my book. I get an
 Undefined control (I don´t remember more)
 in each \justifying and \justify in the document.
 Opensuse 10.3 deleted my latex and install TexLive
distro of Latex.
 How I can resolve this trouble?
 Thanks
Marcelo



Marcelo Acuña visitá mi sitio web http://www.aleph-uno.com.ar 
==


  Los referentes más importantes en compra/ venta de autos se juntaron:
Demotores y Yahoo!
Ahora comprar o vender tu auto es más fácil. Vistá ar.autos.yahoo.com/


Re: Command-buffer inset-insert syntax

2008-02-25 Thread Pavel Sanda
 So I tried inset-insert ref LatexCommand ref reference tst:2

you mean this?

inset-apply ref LatexCommand ref reference tst:2\end_inset

p


Problem with 1.5.4

2008-02-25 Thread Rich Shepard

  This is the first time I've run into a problem after upgrading; in this
case from -1.5.3 to -1.5.4 (on Slackware).

  I held off loading a .txt file today until the new version was built and
replaced the earlier version. Now when I try File - Import - Plain text,
join lines it fails because /home/rshepard/.lyx/templates/default.lyx is
from a different version of LyX, but a temporary file to convert it cannot
be converted.

  Strange. Very strange. The contents of ~/.lyx/templates is:

-rw-rw-r-- 1 rshepard users   907 2000-09-07 10:49 2colREADME
-rw-r--r-- 1 rshepard users  1003 2000-08-30 14:27 2colTemplate.lyx
-rw-r--r-- 1 rshepard users 12272 2000-08-30 14:46 2columnArticleWithPics.dvi
-rw-r--r-- 1 rshepard users  8989 2000-08-30 14:46 2columnArticleWithPics.lyx
-rw-rw-r-- 1 rshepard users61 2000-04-10 14:46 README
-rw-rw-r-- 1 rshepard users   692 2007-02-15 06:54 defaults.lyx
-rw-rw-r-- 1 rshepard users  1787 2000-04-10 14:43 letter-he.lyx
-rw-r--r-- 1 rshepard users  3039 2004-08-31 16:41 math_macros.lyx
-rw-r--r-- 1 rshepard users   933 2004-03-24 11:01 math_macros.tex
-rw-r--r-- 1 rshepard users  6532 2000-08-30 07:17 nihongo.eps
-rw-r--r-- 1 rshepard users 25481 2004-11-22 12:37 template.lyx

  Notice that the most recent is defaults.lyx and that's from a year ago.

  Any ideas what's happened?

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Problem with 1.5.4

2008-02-25 Thread Rich Shepard

On Mon, 25 Feb 2008, Rich Shepard wrote:


 I held off loading a .txt file today until the new version was built and
replaced the earlier version. Now when I try File - Import - Plain text,
join lines it fails because /home/rshepard/.lyx/templates/default.lyx is
from a different version of LyX, but a temporary file to convert it cannot
be converted.


  More information (which I should have included the first time).
default.lyx was created by LyX-1.4.4. It's a plain ASCII text file so I
don't understand why 1.5.4 cannot read it.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Problem with 1.5.4 -- FIXED

2008-02-25 Thread Rich Shepard

On Mon, 25 Feb 2008, Rich Shepard wrote:


 More information (which I should have included the first time).
default.lyx was created by LyX-1.4.4. It's a plain ASCII text file so I
don't understand why 1.5.4 cannot read it.


  The problem was my removing the /tmp/lyx_tmpdir/ when I cleaned up
after the build. Shutting down LyX and restarting it restored a working tmp
directory and the import worked just fine.

Sorry for the static,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Why Does ERT Cause 'Undefined Control Sequence?'

2008-02-25 Thread Rich Shepard

  Every time the service name is in the text, it's followed by an ERT box
containing \textservicemark. For some reason, this generates an 'undefined
control sequence' error in LaTeX/TeX. Here's a sample from the log file:

LaTeX Font Info:Font shape `T1/ppl/bx/n' in size 14.4 not available
(Font)  Font shape `T1/ppl/b/n' tried instead on input line 75.
! Undefined control sequence.
l.88 PermitWatch\textservicemark
 is hosted on secure servers and accessible
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 ' and the correct
spelling (e.g., \hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

  What did I do incorrectly?

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Click in the scrollbar doesn't advance enough

2008-02-25 Thread rgheck

Steve Litt wrote:

Hi all,

Clicking in the LyX scrollbar doesn't advance the LyX screen such that the 
bottom line is now the top. Sometimes it gets close, and sometimes you need 
to click the scrollbar 2 or 3 times to advance one screenful. 

  
There's a lot of scrollbar weirdness in 1.5. Abdel has done a lot of 
work on this, and 1.6 is better, but the algorithms that drive the 
scrollbar are surprisingly complex and hard to get right.


rh



Re: with opensuse 10.3 I lost Lyx

2008-02-25 Thread rgheck

Marcelo Acuña wrote:

Hello,
 I make an upgrade from opensuse 10.2 to 10.3 and now,
Lyx cannot compile my book. I get an
 Undefined control (I don´t remember more)
 in each \justifying and \justify in the document.
 Opensuse 10.3 deleted my latex and install TexLive
distro of Latex.
 How I can resolve this trouble?
  
It sounds like you're missing some package that you used to have. I 
don't know which one, but what are these justify and justifying 
commands??


rh



Re: Why Does ERT Cause 'Undefined Control Sequence?' -- ANSWERED

2008-02-25 Thread Rich Shepard

On Mon, 25 Feb 2008, Rich Shepard wrote:


 What did I do incorrectly?


  The proper missing package was pointed out to me.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: footnotes problem, .rtf import, view source on 1.5.3

2008-02-25 Thread jf7

Quoting rgheck [EMAIL PROTECTED]:




You don't have Use Paragraph's Default Alignment? The point of this
option is to undo customization. That's why I added it. ;-)


Ah! I didn't try it before because it says [justified] But this   
indeed fixes the formatting of the pasted footnote content. Thanks!



Hmm. We had a really, really long discussion about what this button
should say. And now it looks as if maybe we chose badly. Would
Default by itself have been clearer? Or would removing the
[Justified] part have been helpful? I'd like to get this right.

rh


My take is that if justified wasn't there I probably would have  
tried it. But if it actually removes paragraph formatting (even if it  
resorts to the default for the context) wouldn't it be clearer to say  
Remove Paragraph Formatting?  I'm surmising it's doing both. So I  
understand the problem in the wording. And I appreciate your interest  
in the detail here!


How about Remove the paragraph formatting you didn't really want?  
:-) But then you might want to save the telepathic features of the  
program for a later version. :-)


jamie faunt






Error during lyx 1.5.3 compile

2008-02-25 Thread Thomas Steinbrecher

Dear lyx-Users,

I am not sure if this is the correct place to pose my question, but I 
encountered an error when installing lyx on a linux box running Ximian.
Can anybody give me a hint on what might be wrong here? A similar problem 
in the developers list archives was solved by adding an additional include 
statement to the code.


Please answer to [EMAIL PROTECTED], as I am not subscribed to the list.

qt 4.3.4 is installed and the correct path for it is given to configure. 
No further special options are used to configure, which runs without 
error. When running make, it terminates with the following error message:


 g++ -DHAVE_CONFIG_H -I. -I../../../src -DQT_CLEAN_NAMESPACE 
-DQT_GENUINE_STR -DQT_NO_STL -DQT_NO_KEYWORDS -I../../../src 
-I../../../src/frontends -I../../../images -DQT_SHARED 
-I/home/steinbrt/programs/qt-4.3.4/include 
-I/home/steinbrt/programs/qt-4.3.4/include/QtCore 
-I/home/steinbrt/programs/qt-4.3.4/include/QtGui -I../../../boost 
-I../../../src/frontends/controllers -I/usr/X11R6/include -O2 -MT 
GuiApplication.lo -MD -MP -MF .deps/GuiApplication.Tpo -c 
GuiApplication.cpp -o GuiApplication.o

../../../boost/boost/checked_delete.hpp: In function `void
   boost::checked_delete(T*) [with T = lyx::frontend::MenuTranslator]':
GuiApplication.cpp:77:   instantiated from `void 
boost::scoped_ptrT::scoped_ptr() [with T = 
lyx::frontend::MenuTranslator]'

GuiApplication.cpp:101:   instantiated from here
../../../boost/boost/checked_delete.hpp:32: `sizeof' applied to incomplete 
type

   `lyx::frontend::MenuTranslator'
../../../boost/boost/checked_delete.hpp:32: creating array with size zero 
(`-1

   ')
../../../boost/boost/checked_delete.hpp:33: `sizeof' applied to incomplete 
type

   `lyx::frontend::MenuTranslator'
../../../boost/boost/checked_delete.hpp:33: creating array with size zero 
(`-1

   ')
../../../boost/boost/checked_delete.hpp:30: `x' has incomplete type
GuiApplication.h:39: forward declaration of `struct
   lyx::frontend::MenuTranslator'
make[7]: *** [GuiApplication.lo] Error 1
make[7]: Leaving directory 
`/home/steinbrt/programs/lyx-1.5.3/src/frontends/qt4'

make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory 
`/home/steinbrt/programs/lyx-1.5.3/src/frontends/qt4'

make[5]: *** [all] Error 2
make[5]: Leaving directory 
`/home/steinbrt/programs/lyx-1.5.3/src/frontends/qt4'

make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory 
`/home/steinbrt/programs/lyx-1.5.3/src/frontends'

make[3]: *** [all] Error 2
make[3]: Leaving directory 
`/home/steinbrt/programs/lyx-1.5.3/src/frontends'

make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/steinbrt/programs/lyx-1.5.3/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/steinbrt/programs/lyx-1.5.3/src'
make: *** [all-recursive] Error 1

Regards,

Dr. Thomas Steinbrecher
The Scripps Research Institute
10550 N. Torrey Pines Rd.
San Diego CA 92037, USA


Re: with opensuse 10.3 I lost Lyx

2008-02-25 Thread Jürgen Spitzmüller
rgheck wrote:
  Hello,
   I make an upgrade from opensuse 10.2 to 10.3 and now,
  Lyx cannot compile my book. I get an
   Undefined control (I don´t remember more)
   in each \justifying and \justify in the document.
   Opensuse 10.3 deleted my latex and install TexLive
  distro of Latex.
   How I can resolve this trouble?
   

 It sounds like you're missing some package that you used to have. I
 don't know which one, but what are these justify and justifying
 commands??

You're missing the package ragged2e.
The texlive package of openSuse is, well, strange.

Jürgen


Re: Needed documentation

2008-02-25 Thread G. Milde
On 25.02.08, Steve Litt wrote:
 Hi all,

 You know what would be good documentation? The 25 Biggest Surprises in LyX 
 and How to Work With Them. 

Clearly a case for wiki.lyx.org. Maybe some points are already covered in
the wiki's FAQ...

GM


Re: [ANNOUNCE]: LyX 1.5.4 is released

2008-02-25 Thread G. Milde
On 25.02.08, Jürgen Spitzmüller wrote:
 G. Milde wrote:
  I am afraid that this was never in bugzilla.
  However, I remember a mail by JMarc, archived at:
 
  http://www.mail-archive.com/lyx-users@lists.lyx.org/msg60079.html
 
  which says:
 In the meantime, I have implemented the other
possibility, the one that works like PC programs. I would be
interested to see people test it and tell me whether it is better than
the current one.

 Hm. Can you check if it's fixed in 1.5.4, and file a report on bugzilla, if 
 not?

Actually, I would rather wait for a Debian package of 1.5.4 (and only
install it if the word-forward skips non-word chars bug is fixed
there), so I suppose it is easier to ask Jean Marc instead of downloading
and checking the tarball...

Or maybe someone who installed 1.5.4 could tell us what happens if he/she
deletes a word in front of a mathematical formula...

I'd volunteer to write a bug-report in case it is not fixed, though.

Guenter



Re: [ANNOUNCE]: LyX 1.5.4 is released

2008-02-25 Thread Jürgen Spitzmüller
G. Milde wrote:
 Or maybe someone who installed 1.5.4 could tell us what happens if he/she
 deletes a word in front of a mathematical formula...

both the word and the formula are deleted (both in 1.6svn and 1.5.4).

So you better file a bug report.

Jürgen


Re: Command-buffer inset-insert syntax

2008-02-25 Thread Tobias Krause

Perfect, THANKS!

Just to make it complete: the syntax is

   inset-apply ref LatexCommand Format reference label name\end_inset

where label name is the name of the referenced label and
Format is one of the following:

   ref -- reference
   eqref -- (reference)
   pageref -- page
   vpageref -- on page
   vref -- reference on page
   prettyref -- Formatted reference

As well on the updated function list: 
http://wiki.lyx.org/LyX/LyxFunctionList


Regards
 Toby


backref

2008-02-25 Thread Wolfgang Engelmann
I try to locate some references in my document by using the package backref. I 
do, however, get only 
pages (actually Seiten, since it is a german document)
behind the reference, no page number. What do I do wrong? I inserted 
\usepackage[ngerman]{backref}
\usepackage{hyperref}
in the preamble.

Wolfgang


Re: [ANNOUNCE]: LyX 1.5.4 is released

2008-02-25 Thread G. Milde
On 24.02.08, Jürgen Spitzmüller wrote:
> Public release of LyX version 1.5.4
> 

> We are pleased to announce the release of LyX 1.5.4. 

Good news. Thanks to the developers for their continued commitment to LyX.

> A detailed list of changes is appended below, remaining known problems
> are listed in the file RELEASE-NOTES.

Unfortunately, I did not find mentioned whether the 
"word-forward skips non-white non-word characters" bug is fixed in this
release. Could someone please clarify this (or give a pointer)?

Thanks,

Günter



Re: [ANNOUNCE]: LyX 1.5.4 is released

2008-02-25 Thread G. Milde
On 25.02.08, Jürgen Spitzmüller wrote:
> G. Milde wrote:
> > Unfortunately, I did not find mentioned whether the
> > "word-forward skips non-white non-word characters" bug is fixed in this
> > release. Could someone please clarify this (or give a pointer)?

> All bugs that were fixed are listed (IOW this specific bug is still there).

What a pity. Especially as 

* Jean-Mark did provide a fix (probabely in 1.6) 
* my current workaround with 

# word-delete-forward deletes also non-word characters 
# (space, punctuation, math) behind the word!
# \bind "C-Delete"  "word-delete-forward"
\bind "C-Delete""command-sequence word-capitalize; delete-forward"

  will probabely no longer work as word-capitalize is said to no longer
  select the word.
  
Guenter




Re: Figure references 1.5.3: Danger Will Robinson

2008-02-25 Thread G. Milde
On 24.02.08, Les Denham wrote:
> On Sunday 24 February 2008 18:06, Steve Litt wrote:
> > Aha! I never even thought of putting it inside the caption (should it
> > be at the beginning or end of caption?). 

> I don't know whether it is explicitly documented, but if you look at the 
> documentation for floats (4.3.2.1 in UserGuide.lyx for 1.5.1) and examine how 
> the labels are placed in the floats, you will see they are in the captions, 
> at the beginning.  I doubt if putting them elsewhere in the caption would 
> make any difference, 

It does not. I have the label always at the end of the caption
without problems.

> but when you click on the label icon, the default name 
> of the label is based on the first few words after the cursor.

Actually, the default is the first few words of the caption, so the
cursor position within a caption does not matter.

GM


Re: [ANNOUNCE]: LyX 1.5.4 is released

2008-02-25 Thread Jürgen Spitzmüller
G. Milde wrote:
> Unfortunately, I did not find mentioned whether the
> "word-forward skips non-white non-word characters" bug is fixed in this
> release. Could someone please clarify this (or give a pointer)?

All bugs that were fixed are listed (IOW this specific bug is still there).

Jürgen


Command-buffer inset-insert syntax

2008-02-25 Thread Tobias Krause

Hi,

I'd like to insert a cross-reference via the command-buffer. 
Unfortunately I'm note sure about the syntax. I found the following on 
http://wiki.lyx.org/LyX/InsertingReferences:


   For versions of LyX subsequent to 1.4, you have to use
   |inset-insert| instead. The format is
   |LYXCMD::inset-insert ref LatexCommand ref reference
   referenceName \end_inset|. There's also an optional "name NAME"
   argument that seems to work in docbook: |NAME|.

But I don't understand how to do it. How can I insert a "Formated 
reference" to the label "sec:test"?


Additionally I'd like to use the command-buffer to go to a label. In 
http://wiki.lyx.org/LyX/LyxFunctionList1-3-2 I found reference-goto but 
this functions does not seem to be available in 1.5.x any more. Is there 
an other function allowing to go to given label via command-buffer in 1.5.x?


Regards
 Toby


Re: [ANNOUNCE]: LyX 1.5.4 is released

2008-02-25 Thread Jürgen Spitzmüller
G. Milde wrote:
> * Jean-Mark did provide a fix (probabely in 1.6)

Do you remember the bug number?

Jürgen


Re: [ANNOUNCE]: LyX 1.5.4 is released

2008-02-25 Thread G. Milde
On 25.02.08, Jürgen Spitzmüller wrote:
> G. Milde wrote:
> > * Jean-Mark did provide a fix (probabely in 1.6)

> Do you remember the bug number?

I am afraid that this was never in bugzilla. 
However, I remember a mail by JMarc, archived at:

http://www.mail-archive.com/lyx-users@lists.lyx.org/msg60079.html

which says:

> >  In the meantime, I have implemented the other
> > possibility, the one that works like PC programs. I would be
> > interested to see people test it and tell me whether it is better than
> > the current one.

GM


Re: nopagebreak before itemized list

2008-02-25 Thread G. Milde
On 22.02.08, Tobias Krause wrote:

> I tried the ERT [\nopagebreak] but unfortunately this does not work when it 
> is used before a itemized list,
...
> Is there any other way to prevent the pagebreak?

Did you try to put the part of your doc that should appear on one page in
a minipage?

GM



Needed documentation

2008-02-25 Thread Steve Litt
Hi all,

You know what would be good documentation? "The 25 Biggest Surprises in LyX 
and How to Work With Them". It's basically a FAQ with potential landmines and 
how to avoid/workaround them.

I'll start out with the ones I know of:

* Must hit Enter to declare column widths in tables
* Must use units on all lengths
* Must delete/recreate source tree to compile after config failure
* Must run texhash after adding new LaTeX class/style
* Must reconfiigure after change to layout file
* You can make a script to do the reconfigure
* TOC/Index/crossreference often require multiple compiles to register
* Confusion between LyX code and LaTeX code
* LaTeX code is case sensitive, LyX code isn't

Perhaps others can add to the list and we can write the document.

Thanks

STeveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


  1   2   >