Re: How can I enable Show changes in output

2006-11-14 Thread Wang Xiangqi

Dear Uwe, I have tried your LyXWinInstaller, but lyx cannot update the
texclass: The script 'D:/CTeX/LyX14/Resources/scripts/TeXFiles.py'
failed. Noted that I changed the location during installing. Any
hints?

Thanks in advance.

On 11/14/06, Wang Xiangqi [EMAIL PROTECTED] wrote:

On 11/14/06, Uwe Stöhr [EMAIL PROTECTED] wrote:

 The menu is only greyed out when the LaTeX-package dvipost is installed.
 If you have problem with this you might try out this just released Lyx
 installer for Windows:
 http://prdownload.berlios.de/lyxwininstall/LyXWin143Small-2-8.exe
 (more infos: http://wiki.lyx.org/Windows/LyXWinInstaller)

 regards Uwe

More thanks. Will try it soon.

--
Wang Xiangqi
Mechanical Engineering
National University of Singapore




--
Wang Xiangqi
Mechanical Engineering
National University of Singapore


Re: memoir with hyperref

2006-11-14 Thread Bob Lounsbury


On Nov 14, 2006, at 12:19 AM, Wolfgang Engelmann wrote:


Am Dienstag, 14. November 2006 00:23 schrieb Bob Lounsbury:

Hello,

I'm using the memoir class for my thesis under 1.4.3 and I thought it
might be nice to use the hyperref package to create a few links. I
know there are some known issues with memoir and hyperref, but
generally these are discussed in the memoir documentation by Peter
Wilson.

However, when I add the hyperref package, any caption longer than one
line extends beyond the page as you can see in the attached pdf. I
don't see any warnings in Peter's documentation.

Does anyone have a suggestion? If not I just won't use the hyperref
package, but it is kind of nice.


if you use `short title´ with a shorter figure legend, would that  
help?


Wolfgang


Bob Lounsbury



Yes, I think if I could get a shortened caption in the lof then there  
would not be a hyperref problem. However, I'm not sure how to do this  
either.

lyx crashes when trying to view pdf or ps or dvi

2006-11-14 Thread Cabuz Alexandru
Hello, list,

I am running Debian Etch. Have done an upgrade this morning.

Now I can't convert to pdf, ps, dvi, but I can convert to latex. Lyx just 
crashes. 
Here is the error.

Assertion triggered in lyx::support::FileName::FileName(const std::string, 
bool) by failing check AbsolutePath(name_) in 
file ../../../src/support/filename.C:41

I'd be grateful for any suggestions. I don't want to have to manually compile 
the latex file every time. 
Thank you.

-- 
Alexandru Cabuz
Doctoral Student
Université Montpellier II
France
Tel: +33 (0)4.67.14.47.34

--- Please no Word or Powerpoint attachments.
Send plain text, rich text format, html, or pdf instead.
See http://www.gnu.org/philosophy/no-word-attachments.html


Re: [Lyx 1.4.3-5 Error] LyXTextClassList::Read: unable to find textclass file ...

2006-11-14 Thread Paul A. Rubin

Olumide wrote:

Uwe Stöhr wrote:

Paul A. Rubin schrieb:


I don't think there will be files in
~:\Documents and Settings\username\Application Data\LyX1.4.x (in 
fact, I don't think that directory will exist).  From the error 
messages in the original post, I think that if anything they will be 
under C:\Windows.


textclass.lst is definetively in the folder \Application Data, this is 
the case in all installer versions.


I'm afraid Paul may be right. Although the folder, ...\Application 
Data\LyX1.4.x does exist, it is empty.





If either of the suggestions I posted works for you, please let the list 
know.  You are the second person this month to post the problem, and I 
doubt you will be the last.


Thanks,
Paul




LyX 1.4.3-4 crashes when scrolling up

2006-11-14 Thread Nicolás

Hi!

I am using LyX 1.4.3-4 on Windows XP and it is already the third or 
fourth time that LyX crashes while I am working on a document. Finally, 
I have managed to find a sequence of events that leads to the crash:


1- Open a new document and write enough lines of text (one character per 
line is enough) to make LyX scroll down
2- While in one of the last lines, write any letter and, almost 
simultaneously, press the page up key several times very fast.

3- LyX crashes (see below the debug messages - staring from point 2)

Is this an already known bug? If not, I will reported in bugzilla. Can 
someone check whether it also happens on other platforms (not Windows)?


Nicolás


Setting key to 89, y
KeySym is y
isOK is 1
isMod is 0
encoding is iso8859-1
Using codec ISO 8859-1
ISOEncoded returning value 121
void __thiscall LyXFunc::processKeySym(class boost::shared_ptrclass 
LyXKeySym,enum key_modifier::state) acti

on first set to [86]
void __thiscall LyXFunc::processKeySym(class boost::shared_ptrclass 
LyXKeySym,enum key_modifier::state)actio

n now set to [86]
void __thiscall LyXFunc::processKeySym(class boost::shared_ptrclass 
LyXKeySym,enum key_modifier::state) Key

[action=86][Y]
LyXFunc::dispatch: cmd:  action: 86 arg: 'y' x: 0 y: 0
void __thiscall LCursor::dispatch(const class FuncRequest ) cmd: 
action: 86 arg: 'y' x: 0 y: 0


 cursor:| anchor:
 inset: 01432DD0 idx: 0 par: 18 pos: 136 | inset: 01432DD0 idx: 0 par: 
18 pos: 136

 selection: 0 x_target: 518

LCursor::dispatch: cmd:  action: 86 arg: 'y' x: 0 y: 0

 cursor:| anchor:
 inset: 01432DD0 idx: 0 par: 18 pos: 136 | inset: 01432DD0 idx: 0 par: 
18 pos: 136

 selection: 0 x_target: 518

void __thiscall InsetText::doDispatch(class LCursor ,class FuncRequest 
) [ cmd.action = 86]

LyXText::dispatch: cmd:  action: 86 arg: 'y' x: 0 y: 0
Checking if we know [y]
   no we don't know [y]
Cannot decode: y
void __thiscall BufferView::Pimpl::updateScrollbar(void) Updating 
scrollbar: height: 23 curr par: 18 default h

eight 38
void __thiscall BufferView::Pimpl::update(enum Update::flags)[fitcursor 
= 1, forceupdate = 0, singlepar = 4]

buffer: 01398B20
class ViewMetricsInfo __thiscall BufferView::Pimpl::metrics(bool) y1: 
358 y2: 444 pit1: 18 pit2: 18 npit: 23 s

inglepar: 1
#.
Redraw screen
expose 1257x874+0+0
void __thiscall BufferView::Pimpl::updateScrollbar(void) Updating 
scrollbar: height: 23 curr par: 18 default h

eight 38
void __thiscall BufferView::Pimpl::update(enum Update::flags)[fitcursor 
= 1, forceupdate = 0, singlepar = 0]

buffer: 01398B20
class ViewMetricsInfo __thiscall BufferView::Pimpl::metrics(bool) y1: 
-382 y2: 1410 pit1: 16 pit2: 21 npit: 23

 singlepar: 0
void __thiscall BufferView::Pimpl::updateScrollbar(void) Updating 
scrollbar: height: 23 curr par: 18 default h

eight 38
dispatch msg is
SelfInsert arg[`y']
keyevent has isNull() text !
KeySym is Prior
isOK is 1
isMod is 0
encoding is iso8859-1
Using codec ISO 8859-1
ISOEncoded returning value 0
void __thiscall LyXFunc::processKeySym(class boost::shared_ptrclass 
LyXKeySym,enum key_modifier::state) acti

on first set to [36]
void __thiscall LyXFunc::processKeySym(class boost::shared_ptrclass 
LyXKeySym,enum key_modifier::state)actio

n now set to [36]
void __thiscall LyXFunc::processKeySym(class boost::shared_ptrclass 
LyXKeySym,enum key_modifier::state) Key

[action=36][PgUp]
LyXFunc::dispatch: cmd:  action: 36 arg: '' x: 0 y: 0
void __thiscall LCursor::dispatch(const class FuncRequest ) cmd: 
action: 36 arg: '' x: 0 y: 0


 cursor:| anchor:
 inset: 01432DD0 idx: 0 par: 18 pos: 137 | inset: 01432DD0 idx: 0 par: 
18 pos: 137

 selection: 0 x_target: 532

LCursor::dispatch: cmd:  action: 36 arg: '' x: 0 y: 0

 cursor:| anchor:
 inset: 01432DD0 idx: 0 par: 18 pos: 137 | inset: 01432DD0 idx: 0 par: 
18 pos: 137

 selection: 0 x_target: 532

void __thiscall InsetText::doDispatch(class LCursor ,class FuncRequest 
) [ cmd.action = 36]

LyXText::dispatch: cmd:  action: 36 arg: '' x: 0 y: 0
__w64 int __thiscall LyXText::getPitNearY(int) const: y: 0 cache size: 6
__w64 int __thiscall LyXText::getPitNearY(int) const  examining: pit: 16 
y: -355
__w64 int __thiscall LyXText::getPitNearY(int) const  examining: pit: 17 
y: 351
__w64 int __thiscall LyXText::getPitNearY(int) const  examining: pit: 18 
y: 403
__w64 int __thiscall LyXText::getPitNearY(int) const  examining: pit: 19 
y: 489
__w64 int __thiscall LyXText::getPitNearY(int) const  examining: pit: 20 
y: 575
__w64 int __thiscall LyXText::getPitNearY(int) const  examining: pit: 21 
y: 1022
__w64 int __thiscall LyXText::getPitNearY(int) const: found best y: -355 
for pit: 16
bool __thiscall LyXText::setCursorFromCoordinates(class LCursor 
,int,int): x: 532 y: 0 pit: 16 yy: -382
bool __thiscall LyXText::setCursorFromCoordinates(class LCursor 
,int,int): row 0 from pos: 0
bool __thiscall 

Floating Figures

2006-11-14 Thread Daniel M. Kaplan

To All,

Does anyone know if there is a LaTeX command for pushing all the floating
figures in a document to the end of the text? I want to be able to push them
to the end of the document for my rough drafts, and then insert them
appropriately in the text later. Any help would be most appreciated. Thank
you.

Sincerely,
Dan Kaplan


Re: Floating Figures

2006-11-14 Thread Jean-Marc Lasgouttes
 Daniel == Daniel M Kaplan [EMAIL PROTECTED] writes:

Daniel To All, Does anyone know if there is a LaTeX command for
Daniel pushing all the floating figures in a document to the end of
Daniel the text? I want to be able to push them to the end of the
Daniel document for my rough drafts, and then insert them
Daniel appropriately in the text later. Any help would be most
Daniel appreciated. Thank you.

\usepackage{endfloat} should help. You may need some extra commands.

JMarc


Re: New user and graphics display

2006-11-14 Thread Paul A. Rubin

Nathan Paxton wrote:
I've reinstalled Imagemagick and reconfigured Lyx, and I still can't 
get inline images.  Any other ideas?


--
Nathan A. Paxton
Ph.D. Candidate
Dept. of Government, Harvard University


You've checked Show in LyX in the dialog for each image, right? 
(Ordinarily I would assume this, but I've had experience with you 
Harvard folks.  :-)


Try running LyX from a command prompt using 'lyx -dbg graphics' (no 
quotes).  Open your document, scroll to the point where an image should 
show up, and see what messages you get in the command window.  They 
might shed some light.


Also, you mentioned EPS images in the original post.  If the images are 
all EPS, the problem might be with Ghostscript (which Imagemagick uses 
as a delegate for processing EPS files).  Do JPG, PNG or other image 
files display properly?


Paul Rubin
(Princeton '73)





Re: memoir with hyperref

2006-11-14 Thread Paul A. Rubin

Bob Lounsbury wrote:

Hello,

I'm using the memoir class for my thesis under 1.4.3 and I thought it 
might be nice to use the hyperref package to create a few links. I know 
there are some known issues with memoir and hyperref, but generally 
these are discussed in the memoir documentation by Peter Wilson.


However, when I add the hyperref package, any caption longer than one 
line extends beyond the page as you can see in the attached pdf. I don't 
see any warnings in Peter's documentation.


Does anyone have a suggestion? If not I just won't use the hyperref 
package, but it is kind of nice.


Bob Lounsbury


Does setting the option breaklinks=true in the hyperref package help?

/Paul



Re: memoir with hyperref

2006-11-14 Thread Bob Lounsbury


On Nov 14, 2006, at 4:14 PM, Paul A. Rubin wrote:


Bob Lounsbury wrote:

Hello,
I'm using the memoir class for my thesis under 1.4.3 and I thought  
it might be nice to use the hyperref package to create a few  
links. I know there are some known issues with memoir and  
hyperref, but generally these are discussed in the memoir  
documentation by Peter Wilson.
However, when I add the hyperref package, any caption longer than  
one line extends beyond the page as you can see in the attached  
pdf. I don't see any warnings in Peter's documentation.
Does anyone have a suggestion? If not I just won't use the  
hyperref package, but it is kind of nice.

Bob Lounsbury


Does setting the option breaklinks=true in the hyperref package help?

/Paul



Could you tell me how to set that option and I'll give it a try? I  
don't have the hyperref documentation at hand and it would take me  
much longer to download it and figure out how to set the  
breaklinks=true option than if you know how to do it.


Bob


xfig and 1.4.3

2006-11-14 Thread Enrico Forestieri
Jens Nellesen wrote:

 I tried to include an xfig-file using
 Insert-File-External Material .
 
 For testing, this fig-file contains only a text field (Hello
 world)(with special flag set and Latex default font selected)
 With Cygwin (Lyx 1.4.3) everything works fine.
 
 But under Windows (Lyx 1.4.3-5) it says that an error occured during the
 conversion to a loadable format. When I try to generate a dvi-file
 anyhow, Lyx crashes with a runtime error.
 
 Does anybody know what's going on here?

This may be due to the fact that you don't have the cygwin dll in your
PATH when you use the native version of LyX (I am assuming that you have
the cygwin version of xfig).

Try adding C:\cygwin\bin (this one should match the output you get when
issuing the command cygpath -w /bin) to PATH prefix in ToolsPreferences
and see if that works.

-- 
Enrico



Re: memoir with hyperref

2006-11-14 Thread Wolfgang Engelmann
Am Dienstag, 14. November 2006 17:54 schrieb Bob Lounsbury:
 On Nov 14, 2006, at 12:19 AM, Wolfgang Engelmann wrote:
  Am Dienstag, 14. November 2006 00:23 schrieb Bob Lounsbury:
  Hello,
 
  I'm using the memoir class for my thesis under 1.4.3 and I thought it
  might be nice to use the hyperref package to create a few links. I
  know there are some known issues with memoir and hyperref, but
  generally these are discussed in the memoir documentation by Peter
  Wilson.
 
  However, when I add the hyperref package, any caption longer than one
  line extends beyond the page as you can see in the attached pdf. I
  don't see any warnings in Peter's documentation.
 
  Does anyone have a suggestion? If not I just won't use the hyperref
  package, but it is kind of nice.
 
  if you use `short title´ with a shorter figure legend, would that
  help?
 
  Wolfgang
 
  Bob Lounsbury

 Yes, I think if I could get a shortened caption in the lof then there
 would not be a hyperref problem. However, I'm not sure how to do this
 either.

go behind Figure#: [mark] in your float and enter short title from Insert 
(note that it is greyed out if you are either not in the float environment or 
if their is already a short title). Enter your short title in the red framed 
box which turns up. (Lyx 1.4.2)
Wolfgang


Re: How can I enable Show changes in output

2006-11-14 Thread Wang Xiangqi

Dear Uwe, I have tried your LyXWinInstaller, but lyx cannot update the
texclass: The script 'D:/CTeX/LyX14/Resources/scripts/TeXFiles.py'
failed. Noted that I changed the location during installing. Any
hints?

Thanks in advance.

On 11/14/06, Wang Xiangqi [EMAIL PROTECTED] wrote:

On 11/14/06, Uwe Stöhr [EMAIL PROTECTED] wrote:

 The menu is only greyed out when the LaTeX-package dvipost is installed.
 If you have problem with this you might try out this just released Lyx
 installer for Windows:
 http://prdownload.berlios.de/lyxwininstall/LyXWin143Small-2-8.exe
 (more infos: http://wiki.lyx.org/Windows/LyXWinInstaller)

 regards Uwe

More thanks. Will try it soon.

--
Wang Xiangqi
Mechanical Engineering
National University of Singapore




--
Wang Xiangqi
Mechanical Engineering
National University of Singapore


Re: memoir with hyperref

2006-11-14 Thread Bob Lounsbury


On Nov 14, 2006, at 12:19 AM, Wolfgang Engelmann wrote:


Am Dienstag, 14. November 2006 00:23 schrieb Bob Lounsbury:

Hello,

I'm using the memoir class for my thesis under 1.4.3 and I thought it
might be nice to use the hyperref package to create a few links. I
know there are some known issues with memoir and hyperref, but
generally these are discussed in the memoir documentation by Peter
Wilson.

However, when I add the hyperref package, any caption longer than one
line extends beyond the page as you can see in the attached pdf. I
don't see any warnings in Peter's documentation.

Does anyone have a suggestion? If not I just won't use the hyperref
package, but it is kind of nice.


if you use `short title´ with a shorter figure legend, would that  
help?


Wolfgang


Bob Lounsbury



Yes, I think if I could get a shortened caption in the lof then there  
would not be a hyperref problem. However, I'm not sure how to do this  
either.

lyx crashes when trying to view pdf or ps or dvi

2006-11-14 Thread Cabuz Alexandru
Hello, list,

I am running Debian Etch. Have done an upgrade this morning.

Now I can't convert to pdf, ps, dvi, but I can convert to latex. Lyx just 
crashes. 
Here is the error.

Assertion triggered in lyx::support::FileName::FileName(const std::string, 
bool) by failing check AbsolutePath(name_) in 
file ../../../src/support/filename.C:41

I'd be grateful for any suggestions. I don't want to have to manually compile 
the latex file every time. 
Thank you.

-- 
Alexandru Cabuz
Doctoral Student
Université Montpellier II
France
Tel: +33 (0)4.67.14.47.34

--- Please no Word or Powerpoint attachments.
Send plain text, rich text format, html, or pdf instead.
See http://www.gnu.org/philosophy/no-word-attachments.html


Re: [Lyx 1.4.3-5 Error] LyXTextClassList::Read: unable to find textclass file ...

2006-11-14 Thread Paul A. Rubin

Olumide wrote:

Uwe Stöhr wrote:

Paul A. Rubin schrieb:


I don't think there will be files in
~:\Documents and Settings\username\Application Data\LyX1.4.x (in 
fact, I don't think that directory will exist).  From the error 
messages in the original post, I think that if anything they will be 
under C:\Windows.


textclass.lst is definetively in the folder \Application Data, this is 
the case in all installer versions.


I'm afraid Paul may be right. Although the folder, ...\Application 
Data\LyX1.4.x does exist, it is empty.





If either of the suggestions I posted works for you, please let the list 
know.  You are the second person this month to post the problem, and I 
doubt you will be the last.


Thanks,
Paul




LyX 1.4.3-4 crashes when scrolling up

2006-11-14 Thread Nicolás

Hi!

I am using LyX 1.4.3-4 on Windows XP and it is already the third or 
fourth time that LyX crashes while I am working on a document. Finally, 
I have managed to find a sequence of events that leads to the crash:


1- Open a new document and write enough lines of text (one character per 
line is enough) to make LyX scroll down
2- While in one of the last lines, write any letter and, almost 
simultaneously, press the page up key several times very fast.

3- LyX crashes (see below the debug messages - staring from point 2)

Is this an already known bug? If not, I will reported in bugzilla. Can 
someone check whether it also happens on other platforms (not Windows)?


Nicolás


Setting key to 89, y
KeySym is y
isOK is 1
isMod is 0
encoding is iso8859-1
Using codec ISO 8859-1
ISOEncoded returning value 121
void __thiscall LyXFunc::processKeySym(class boost::shared_ptrclass 
LyXKeySym,enum key_modifier::state) acti

on first set to [86]
void __thiscall LyXFunc::processKeySym(class boost::shared_ptrclass 
LyXKeySym,enum key_modifier::state)actio

n now set to [86]
void __thiscall LyXFunc::processKeySym(class boost::shared_ptrclass 
LyXKeySym,enum key_modifier::state) Key

[action=86][Y]
LyXFunc::dispatch: cmd:  action: 86 arg: 'y' x: 0 y: 0
void __thiscall LCursor::dispatch(const class FuncRequest ) cmd: 
action: 86 arg: 'y' x: 0 y: 0


 cursor:| anchor:
 inset: 01432DD0 idx: 0 par: 18 pos: 136 | inset: 01432DD0 idx: 0 par: 
18 pos: 136

 selection: 0 x_target: 518

LCursor::dispatch: cmd:  action: 86 arg: 'y' x: 0 y: 0

 cursor:| anchor:
 inset: 01432DD0 idx: 0 par: 18 pos: 136 | inset: 01432DD0 idx: 0 par: 
18 pos: 136

 selection: 0 x_target: 518

void __thiscall InsetText::doDispatch(class LCursor ,class FuncRequest 
) [ cmd.action = 86]

LyXText::dispatch: cmd:  action: 86 arg: 'y' x: 0 y: 0
Checking if we know [y]
   no we don't know [y]
Cannot decode: y
void __thiscall BufferView::Pimpl::updateScrollbar(void) Updating 
scrollbar: height: 23 curr par: 18 default h

eight 38
void __thiscall BufferView::Pimpl::update(enum Update::flags)[fitcursor 
= 1, forceupdate = 0, singlepar = 4]

buffer: 01398B20
class ViewMetricsInfo __thiscall BufferView::Pimpl::metrics(bool) y1: 
358 y2: 444 pit1: 18 pit2: 18 npit: 23 s

inglepar: 1
#.
Redraw screen
expose 1257x874+0+0
void __thiscall BufferView::Pimpl::updateScrollbar(void) Updating 
scrollbar: height: 23 curr par: 18 default h

eight 38
void __thiscall BufferView::Pimpl::update(enum Update::flags)[fitcursor 
= 1, forceupdate = 0, singlepar = 0]

buffer: 01398B20
class ViewMetricsInfo __thiscall BufferView::Pimpl::metrics(bool) y1: 
-382 y2: 1410 pit1: 16 pit2: 21 npit: 23

 singlepar: 0
void __thiscall BufferView::Pimpl::updateScrollbar(void) Updating 
scrollbar: height: 23 curr par: 18 default h

eight 38
dispatch msg is
SelfInsert arg[`y']
keyevent has isNull() text !
KeySym is Prior
isOK is 1
isMod is 0
encoding is iso8859-1
Using codec ISO 8859-1
ISOEncoded returning value 0
void __thiscall LyXFunc::processKeySym(class boost::shared_ptrclass 
LyXKeySym,enum key_modifier::state) acti

on first set to [36]
void __thiscall LyXFunc::processKeySym(class boost::shared_ptrclass 
LyXKeySym,enum key_modifier::state)actio

n now set to [36]
void __thiscall LyXFunc::processKeySym(class boost::shared_ptrclass 
LyXKeySym,enum key_modifier::state) Key

[action=36][PgUp]
LyXFunc::dispatch: cmd:  action: 36 arg: '' x: 0 y: 0
void __thiscall LCursor::dispatch(const class FuncRequest ) cmd: 
action: 36 arg: '' x: 0 y: 0


 cursor:| anchor:
 inset: 01432DD0 idx: 0 par: 18 pos: 137 | inset: 01432DD0 idx: 0 par: 
18 pos: 137

 selection: 0 x_target: 532

LCursor::dispatch: cmd:  action: 36 arg: '' x: 0 y: 0

 cursor:| anchor:
 inset: 01432DD0 idx: 0 par: 18 pos: 137 | inset: 01432DD0 idx: 0 par: 
18 pos: 137

 selection: 0 x_target: 532

void __thiscall InsetText::doDispatch(class LCursor ,class FuncRequest 
) [ cmd.action = 36]

LyXText::dispatch: cmd:  action: 36 arg: '' x: 0 y: 0
__w64 int __thiscall LyXText::getPitNearY(int) const: y: 0 cache size: 6
__w64 int __thiscall LyXText::getPitNearY(int) const  examining: pit: 16 
y: -355
__w64 int __thiscall LyXText::getPitNearY(int) const  examining: pit: 17 
y: 351
__w64 int __thiscall LyXText::getPitNearY(int) const  examining: pit: 18 
y: 403
__w64 int __thiscall LyXText::getPitNearY(int) const  examining: pit: 19 
y: 489
__w64 int __thiscall LyXText::getPitNearY(int) const  examining: pit: 20 
y: 575
__w64 int __thiscall LyXText::getPitNearY(int) const  examining: pit: 21 
y: 1022
__w64 int __thiscall LyXText::getPitNearY(int) const: found best y: -355 
for pit: 16
bool __thiscall LyXText::setCursorFromCoordinates(class LCursor 
,int,int): x: 532 y: 0 pit: 16 yy: -382
bool __thiscall LyXText::setCursorFromCoordinates(class LCursor 
,int,int): row 0 from pos: 0
bool __thiscall 

Floating Figures

2006-11-14 Thread Daniel M. Kaplan

To All,

Does anyone know if there is a LaTeX command for pushing all the floating
figures in a document to the end of the text? I want to be able to push them
to the end of the document for my rough drafts, and then insert them
appropriately in the text later. Any help would be most appreciated. Thank
you.

Sincerely,
Dan Kaplan


Re: Floating Figures

2006-11-14 Thread Jean-Marc Lasgouttes
 Daniel == Daniel M Kaplan [EMAIL PROTECTED] writes:

Daniel To All, Does anyone know if there is a LaTeX command for
Daniel pushing all the floating figures in a document to the end of
Daniel the text? I want to be able to push them to the end of the
Daniel document for my rough drafts, and then insert them
Daniel appropriately in the text later. Any help would be most
Daniel appreciated. Thank you.

\usepackage{endfloat} should help. You may need some extra commands.

JMarc


Re: New user and graphics display

2006-11-14 Thread Paul A. Rubin

Nathan Paxton wrote:
I've reinstalled Imagemagick and reconfigured Lyx, and I still can't 
get inline images.  Any other ideas?


--
Nathan A. Paxton
Ph.D. Candidate
Dept. of Government, Harvard University


You've checked Show in LyX in the dialog for each image, right? 
(Ordinarily I would assume this, but I've had experience with you 
Harvard folks.  :-)


Try running LyX from a command prompt using 'lyx -dbg graphics' (no 
quotes).  Open your document, scroll to the point where an image should 
show up, and see what messages you get in the command window.  They 
might shed some light.


Also, you mentioned EPS images in the original post.  If the images are 
all EPS, the problem might be with Ghostscript (which Imagemagick uses 
as a delegate for processing EPS files).  Do JPG, PNG or other image 
files display properly?


Paul Rubin
(Princeton '73)





Re: memoir with hyperref

2006-11-14 Thread Paul A. Rubin

Bob Lounsbury wrote:

Hello,

I'm using the memoir class for my thesis under 1.4.3 and I thought it 
might be nice to use the hyperref package to create a few links. I know 
there are some known issues with memoir and hyperref, but generally 
these are discussed in the memoir documentation by Peter Wilson.


However, when I add the hyperref package, any caption longer than one 
line extends beyond the page as you can see in the attached pdf. I don't 
see any warnings in Peter's documentation.


Does anyone have a suggestion? If not I just won't use the hyperref 
package, but it is kind of nice.


Bob Lounsbury


Does setting the option breaklinks=true in the hyperref package help?

/Paul



Re: memoir with hyperref

2006-11-14 Thread Bob Lounsbury


On Nov 14, 2006, at 4:14 PM, Paul A. Rubin wrote:


Bob Lounsbury wrote:

Hello,
I'm using the memoir class for my thesis under 1.4.3 and I thought  
it might be nice to use the hyperref package to create a few  
links. I know there are some known issues with memoir and  
hyperref, but generally these are discussed in the memoir  
documentation by Peter Wilson.
However, when I add the hyperref package, any caption longer than  
one line extends beyond the page as you can see in the attached  
pdf. I don't see any warnings in Peter's documentation.
Does anyone have a suggestion? If not I just won't use the  
hyperref package, but it is kind of nice.

Bob Lounsbury


Does setting the option breaklinks=true in the hyperref package help?

/Paul



Could you tell me how to set that option and I'll give it a try? I  
don't have the hyperref documentation at hand and it would take me  
much longer to download it and figure out how to set the  
breaklinks=true option than if you know how to do it.


Bob


xfig and 1.4.3

2006-11-14 Thread Enrico Forestieri
Jens Nellesen wrote:

 I tried to include an xfig-file using
 Insert-File-External Material .
 
 For testing, this fig-file contains only a text field (Hello
 world)(with special flag set and Latex default font selected)
 With Cygwin (Lyx 1.4.3) everything works fine.
 
 But under Windows (Lyx 1.4.3-5) it says that an error occured during the
 conversion to a loadable format. When I try to generate a dvi-file
 anyhow, Lyx crashes with a runtime error.
 
 Does anybody know what's going on here?

This may be due to the fact that you don't have the cygwin dll in your
PATH when you use the native version of LyX (I am assuming that you have
the cygwin version of xfig).

Try adding C:\cygwin\bin (this one should match the output you get when
issuing the command cygpath -w /bin) to PATH prefix in ToolsPreferences
and see if that works.

-- 
Enrico



Re: memoir with hyperref

2006-11-14 Thread Wolfgang Engelmann
Am Dienstag, 14. November 2006 17:54 schrieb Bob Lounsbury:
 On Nov 14, 2006, at 12:19 AM, Wolfgang Engelmann wrote:
  Am Dienstag, 14. November 2006 00:23 schrieb Bob Lounsbury:
  Hello,
 
  I'm using the memoir class for my thesis under 1.4.3 and I thought it
  might be nice to use the hyperref package to create a few links. I
  know there are some known issues with memoir and hyperref, but
  generally these are discussed in the memoir documentation by Peter
  Wilson.
 
  However, when I add the hyperref package, any caption longer than one
  line extends beyond the page as you can see in the attached pdf. I
  don't see any warnings in Peter's documentation.
 
  Does anyone have a suggestion? If not I just won't use the hyperref
  package, but it is kind of nice.
 
  if you use `short title´ with a shorter figure legend, would that
  help?
 
  Wolfgang
 
  Bob Lounsbury

 Yes, I think if I could get a shortened caption in the lof then there
 would not be a hyperref problem. However, I'm not sure how to do this
 either.

go behind Figure#: [mark] in your float and enter short title from Insert 
(note that it is greyed out if you are either not in the float environment or 
if their is already a short title). Enter your short title in the red framed 
box which turns up. (Lyx 1.4.2)
Wolfgang


Re: How can I enable "Show changes in output "

2006-11-14 Thread Wang Xiangqi

Dear Uwe, I have tried your LyXWinInstaller, but lyx cannot update the
texclass: "The script 'D:/CTeX/LyX14/Resources/scripts/TeXFiles.py'
failed". Noted that I changed the location during installing. Any
hints?

Thanks in advance.

On 11/14/06, Wang Xiangqi <[EMAIL PROTECTED]> wrote:

On 11/14/06, Uwe Stöhr <[EMAIL PROTECTED]> wrote:

> The menu is only greyed out when the LaTeX-package dvipost is installed.
> If you have problem with this you might try out this just released Lyx
> installer for Windows:
> http://prdownload.berlios.de/lyxwininstall/LyXWin143Small-2-8.exe
> (more infos: http://wiki.lyx.org/Windows/LyXWinInstaller)
>
> regards Uwe
>
More thanks. Will try it soon.

--
Wang Xiangqi
Mechanical Engineering
National University of Singapore




--
Wang Xiangqi
Mechanical Engineering
National University of Singapore


Re: memoir with hyperref

2006-11-14 Thread Bob Lounsbury


On Nov 14, 2006, at 12:19 AM, Wolfgang Engelmann wrote:


Am Dienstag, 14. November 2006 00:23 schrieb Bob Lounsbury:

Hello,

I'm using the memoir class for my thesis under 1.4.3 and I thought it
might be nice to use the hyperref package to create a few links. I
know there are some known issues with memoir and hyperref, but
generally these are discussed in the memoir documentation by Peter
Wilson.

However, when I add the hyperref package, any caption longer than one
line extends beyond the page as you can see in the attached pdf. I
don't see any warnings in Peter's documentation.

Does anyone have a suggestion? If not I just won't use the hyperref
package, but it is kind of nice.


if you use `short title´ with a shorter figure legend, would that  
help?


Wolfgang


Bob Lounsbury



Yes, I think if I could get a shortened caption in the lof then there  
would not be a hyperref problem. However, I'm not sure how to do this  
either.

lyx crashes when trying to view pdf or ps or dvi

2006-11-14 Thread Cabuz Alexandru
Hello, list,

I am running Debian Etch. Have done an upgrade this morning.

Now I can't convert to pdf, ps, dvi, but I can convert to latex. Lyx just 
crashes. 
Here is the error.

Assertion triggered in lyx::support::FileName::FileName(const std::string&, 
bool) by failing check "AbsolutePath(name_)" in 
file ../../../src/support/filename.C:41

I'd be grateful for any suggestions. I don't want to have to manually compile 
the latex file every time. 
Thank you.

-- 
Alexandru Cabuz
Doctoral Student
Université Montpellier II
France
Tel: +33 (0)4.67.14.47.34

--- Please no Word or Powerpoint attachments.
Send plain text, rich text format, html, or pdf instead.
See http://www.gnu.org/philosophy/no-word-attachments.html


Re: [Lyx 1.4.3-5 Error] LyXTextClassList::Read: unable to find textclass file ...

2006-11-14 Thread Paul A. Rubin

Olumide wrote:

Uwe Stöhr wrote:

Paul A. Rubin schrieb:


I don't think there will be files in
~:\Documents and Settings\username\Application Data\LyX1.4.x (in 
fact, I don't think that directory will exist).  From the error 
messages in the original post, I think that if anything they will be 
under C:\Windows.


textclass.lst is definetively in the folder \Application Data, this is 
the case in all installer versions.


I'm afraid Paul may be right. Although the folder, ...\Application 
Data\LyX1.4.x does exist, it is empty.





If either of the suggestions I posted works for you, please let the list 
know.  You are the second person this month to post the problem, and I 
doubt you will be the last.


Thanks,
Paul




LyX 1.4.3-4 crashes when scrolling up

2006-11-14 Thread Nicolás

Hi!

I am using LyX 1.4.3-4 on Windows XP and it is already the third or 
fourth time that LyX crashes while I am working on a document. Finally, 
I have managed to find a sequence of events that leads to the crash:


1- Open a new document and write enough lines of text (one character per 
line is enough) to make LyX scroll down
2- While in one of the last lines, write any letter and, almost 
simultaneously, press the "page up" key several times very fast.

3- LyX crashes (see below the debug messages - staring from point 2)

Is this an already known bug? If not, I will reported in bugzilla. Can 
someone check whether it also happens on other platforms (not Windows)?


Nicolás


Setting key to 89, y
KeySym is y
isOK is 1
isMod is 0
encoding is iso8859-1
Using codec ISO 8859-1
ISOEncoded returning value 121
void __thiscall LyXFunc::processKeySym(class boost::shared_ptrLyXKeySym>,enum key_modifier::state) acti

on first set to [86]
void __thiscall LyXFunc::processKeySym(class boost::shared_ptrLyXKeySym>,enum key_modifier::state)actio

n now set to [86]
void __thiscall LyXFunc::processKeySym(class boost::shared_ptrLyXKeySym>,enum key_modifier::state) Key

[action=86][Y]
LyXFunc::dispatch: cmd:  action: 86 arg: 'y' x: 0 y: 0
void __thiscall LCursor::dispatch(const class FuncRequest &) cmd: 
action: 86 arg: 'y' x: 0 y: 0


 cursor:| anchor:
 inset: 01432DD0 idx: 0 par: 18 pos: 136 | inset: 01432DD0 idx: 0 par: 
18 pos: 136

 selection: 0 x_target: 518

LCursor::dispatch: cmd:  action: 86 arg: 'y' x: 0 y: 0

 cursor:| anchor:
 inset: 01432DD0 idx: 0 par: 18 pos: 136 | inset: 01432DD0 idx: 0 par: 
18 pos: 136

 selection: 0 x_target: 518

void __thiscall InsetText::doDispatch(class LCursor &,class FuncRequest 
&) [ cmd.action = 86]

LyXText::dispatch: cmd:  action: 86 arg: 'y' x: 0 y: 0
Checking if we know [y]
   no we don't know [y]
Cannot decode: y
void __thiscall BufferView::Pimpl::updateScrollbar(void) Updating 
scrollbar: height: 23 curr par: 18 default h

eight 38
void __thiscall BufferView::Pimpl::update(enum Update::flags)[fitcursor 
= 1, forceupdate = 0, singlepar = 4]

buffer: 01398B20
class ViewMetricsInfo __thiscall BufferView::Pimpl::metrics(bool) y1: 
358 y2: 444 pit1: 18 pit2: 18 npit: 23 s

inglepar: 1
#.
Redraw screen
expose 1257x874+0+0
void __thiscall BufferView::Pimpl::updateScrollbar(void) Updating 
scrollbar: height: 23 curr par: 18 default h

eight 38
void __thiscall BufferView::Pimpl::update(enum Update::flags)[fitcursor 
= 1, forceupdate = 0, singlepar = 0]

buffer: 01398B20
class ViewMetricsInfo __thiscall BufferView::Pimpl::metrics(bool) y1: 
-382 y2: 1410 pit1: 16 pit2: 21 npit: 23

 singlepar: 0
void __thiscall BufferView::Pimpl::updateScrollbar(void) Updating 
scrollbar: height: 23 curr par: 18 default h

eight 38
dispatch msg is
SelfInsert arg[`y']
keyevent has isNull() text !
KeySym is Prior
isOK is 1
isMod is 0
encoding is iso8859-1
Using codec ISO 8859-1
ISOEncoded returning value 0
void __thiscall LyXFunc::processKeySym(class boost::shared_ptrLyXKeySym>,enum key_modifier::state) acti

on first set to [36]
void __thiscall LyXFunc::processKeySym(class boost::shared_ptrLyXKeySym>,enum key_modifier::state)actio

n now set to [36]
void __thiscall LyXFunc::processKeySym(class boost::shared_ptrLyXKeySym>,enum key_modifier::state) Key

[action=36][PgUp]
LyXFunc::dispatch: cmd:  action: 36 arg: '' x: 0 y: 0
void __thiscall LCursor::dispatch(const class FuncRequest &) cmd: 
action: 36 arg: '' x: 0 y: 0


 cursor:| anchor:
 inset: 01432DD0 idx: 0 par: 18 pos: 137 | inset: 01432DD0 idx: 0 par: 
18 pos: 137

 selection: 0 x_target: 532

LCursor::dispatch: cmd:  action: 36 arg: '' x: 0 y: 0

 cursor:| anchor:
 inset: 01432DD0 idx: 0 par: 18 pos: 137 | inset: 01432DD0 idx: 0 par: 
18 pos: 137

 selection: 0 x_target: 532

void __thiscall InsetText::doDispatch(class LCursor &,class FuncRequest 
&) [ cmd.action = 36]

LyXText::dispatch: cmd:  action: 36 arg: '' x: 0 y: 0
__w64 int __thiscall LyXText::getPitNearY(int) const: y: 0 cache size: 6
__w64 int __thiscall LyXText::getPitNearY(int) const  examining: pit: 16 
y: -355
__w64 int __thiscall LyXText::getPitNearY(int) const  examining: pit: 17 
y: 351
__w64 int __thiscall LyXText::getPitNearY(int) const  examining: pit: 18 
y: 403
__w64 int __thiscall LyXText::getPitNearY(int) const  examining: pit: 19 
y: 489
__w64 int __thiscall LyXText::getPitNearY(int) const  examining: pit: 20 
y: 575
__w64 int __thiscall LyXText::getPitNearY(int) const  examining: pit: 21 
y: 1022
__w64 int __thiscall LyXText::getPitNearY(int) const: found best y: -355 
for pit: 16
bool __thiscall LyXText::setCursorFromCoordinates(class LCursor 
&,int,int): x: 532 y: 0 pit: 16 yy: -382
bool __thiscall LyXText::setCursorFromCoordinates(class LCursor 
&,int,int): row 0 from pos: 0
bool __thiscall LyXText::setCursorFromCoordinates(class LCursor 

Floating Figures

2006-11-14 Thread Daniel M. Kaplan

To All,

Does anyone know if there is a LaTeX command for pushing all the floating
figures in a document to the end of the text? I want to be able to push them
to the end of the document for my rough drafts, and then insert them
appropriately in the text later. Any help would be most appreciated. Thank
you.

Sincerely,
Dan Kaplan


Re: Floating Figures

2006-11-14 Thread Jean-Marc Lasgouttes
> "Daniel" == Daniel M Kaplan <[EMAIL PROTECTED]> writes:

Daniel> To All, Does anyone know if there is a LaTeX command for
Daniel> pushing all the floating figures in a document to the end of
Daniel> the text? I want to be able to push them to the end of the
Daniel> document for my rough drafts, and then insert them
Daniel> appropriately in the text later. Any help would be most
Daniel> appreciated. Thank you.

\usepackage{endfloat} should help. You may need some extra commands.

JMarc


Re: New user and graphics display

2006-11-14 Thread Paul A. Rubin

Nathan Paxton wrote:
I've reinstalled Imagemagick and reconfigured Lyx, and I still can't 
get inline images.  Any other ideas?


--
Nathan A. Paxton
Ph.D. Candidate
Dept. of Government, Harvard University


You've checked "Show in LyX" in the dialog for each image, right? 
(Ordinarily I would assume this, but I've had experience with you 
Harvard folks.  :-)


Try running LyX from a command prompt using 'lyx -dbg graphics' (no 
quotes).  Open your document, scroll to the point where an image should 
show up, and see what messages you get in the command window.  They 
might shed some light.


Also, you mentioned EPS images in the original post.  If the images are 
all EPS, the problem might be with Ghostscript (which Imagemagick uses 
as a "delegate" for processing EPS files).  Do JPG, PNG or other image 
files display properly?


Paul Rubin
(Princeton '73)





Re: memoir with hyperref

2006-11-14 Thread Paul A. Rubin

Bob Lounsbury wrote:

Hello,

I'm using the memoir class for my thesis under 1.4.3 and I thought it 
might be nice to use the hyperref package to create a few links. I know 
there are some known issues with memoir and hyperref, but generally 
these are discussed in the memoir documentation by Peter Wilson.


However, when I add the hyperref package, any caption longer than one 
line extends beyond the page as you can see in the attached pdf. I don't 
see any warnings in Peter's documentation.


Does anyone have a suggestion? If not I just won't use the hyperref 
package, but it is kind of nice.


Bob Lounsbury


Does setting the option breaklinks=true in the hyperref package help?

/Paul



Re: memoir with hyperref

2006-11-14 Thread Bob Lounsbury


On Nov 14, 2006, at 4:14 PM, Paul A. Rubin wrote:


Bob Lounsbury wrote:

Hello,
I'm using the memoir class for my thesis under 1.4.3 and I thought  
it might be nice to use the hyperref package to create a few  
links. I know there are some known issues with memoir and  
hyperref, but generally these are discussed in the memoir  
documentation by Peter Wilson.
However, when I add the hyperref package, any caption longer than  
one line extends beyond the page as you can see in the attached  
pdf. I don't see any warnings in Peter's documentation.
Does anyone have a suggestion? If not I just won't use the  
hyperref package, but it is kind of nice.

Bob Lounsbury


Does setting the option breaklinks=true in the hyperref package help?

/Paul



Could you tell me how to set that option and I'll give it a try? I  
don't have the hyperref documentation at hand and it would take me  
much longer to download it and figure out how to set the  
breaklinks=true option than if you know how to do it.


Bob


xfig and 1.4.3

2006-11-14 Thread Enrico Forestieri
Jens Nellesen wrote:

> I tried to include an xfig-file using
> Insert->File->External Material .
> 
> For testing, this fig-file contains only a text field ("Hello
> world")(with special flag set and Latex default font selected)
> With Cygwin (Lyx 1.4.3) everything works fine.
> 
> But under Windows (Lyx 1.4.3-5) it says that an error occured during the
> conversion to a loadable format. When I try to generate a dvi-file
> anyhow, Lyx crashes with a runtime error.
> 
> Does anybody know what's going on here?

This may be due to the fact that you don't have the cygwin dll in your
PATH when you use the native version of LyX (I am assuming that you have
the cygwin version of xfig).

Try adding C:\cygwin\bin (this one should match the output you get when
issuing the command "cygpath -w /bin") to "PATH prefix" in Tools>Preferences
and see if that works.

-- 
Enrico



Re: memoir with hyperref

2006-11-14 Thread Wolfgang Engelmann
Am Dienstag, 14. November 2006 17:54 schrieb Bob Lounsbury:
> On Nov 14, 2006, at 12:19 AM, Wolfgang Engelmann wrote:
> > Am Dienstag, 14. November 2006 00:23 schrieb Bob Lounsbury:
> >> Hello,
> >>
> >> I'm using the memoir class for my thesis under 1.4.3 and I thought it
> >> might be nice to use the hyperref package to create a few links. I
> >> know there are some known issues with memoir and hyperref, but
> >> generally these are discussed in the memoir documentation by Peter
> >> Wilson.
> >>
> >> However, when I add the hyperref package, any caption longer than one
> >> line extends beyond the page as you can see in the attached pdf. I
> >> don't see any warnings in Peter's documentation.
> >>
> >> Does anyone have a suggestion? If not I just won't use the hyperref
> >> package, but it is kind of nice.
> >
> > if you use `short title´ with a shorter figure legend, would that
> > help?
> >
> > Wolfgang
> >
> >> Bob Lounsbury
>
> Yes, I think if I could get a shortened caption in the lof then there
> would not be a hyperref problem. However, I'm not sure how to do this
> either.

go behind Figure#: [mark] in your float and enter "short title" from Insert 
(note that it is greyed out if you are either not in the float environment or 
if their is already a short title). Enter your short title in the red framed 
box which turns up. (Lyx 1.4.2)
Wolfgang