lyx make error on ubuntu feisty 7.04

2009-09-23 Thread BuZZ-dEE
Hello, I want to install lyx-1.6.4.1 from source but i get an error 
during make. configure before was successfull. i want to install lyx in 
a non-standard directory. further i have the newest qt version installed 
from source in a non-standard directory.


what can i do now?
schla...@64pc27:~/Programme/src/lyx-1.6.4.1  ./configure 
--prefix=/home/schlatow/Programme/
configuring LyX version 1.6.4.1
checking for build type... release
checking for version suffix... 
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking what packaging should be used... posix
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for a Python interpreter with version = 2.3.4... python
checking for python... /usr/bin/python
checking for python version... 2.5
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.5/site-packages
checking for python extension module directory... 
${exec_prefix}/lib/python2.5/site-packages
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for AIX... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether byte ordering is bigendian... no
checking what frontend should be used for the GUI... qt4
checking for a good enough C++ compiler... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for gcc... gcc
checking whether we are using the GNU Objective C compiler... yes
checking whether gcc accepts -g... yes
checking dependency style of gcc... gcc3
checking dependency style of gcc... (cached) gcc3
checking for extra library directory... NONE
checking for extra include directory... NONE
checking for extra lib+include directory... NONE
checking for main in -lshlwapi... no
checking for main in -lpsapi... no
checking for main in -lgdi32... no
checking for main in -lAiksaurus... no
checking Aiksaurus.h usability... no
checking Aiksaurus.h presence... no
checking for Aiksaurus.h... no
checking Aiksaurus/Aiksaurus.h usability... no
checking Aiksaurus/Aiksaurus.h presence... no
checking for Aiksaurus/Aiksaurus.h... no
checking whether to use boost included library... yes
checking for wchar_t... yes
checking size of wchar_t... 4
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared 
libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared 

Re: LyX 1.6.4.1 and Snow Leopard

2009-09-23 Thread Jean-Marc Lasgouttes
Christian Liesen christian.lie...@hfh.ch writes:
 I hope you're not holding your breath. We really don't have any LyX
 developers on Mac, and we'd welcome anyone with expertise who could
 help out here. (I'm able to package up the binaries, but that's far
 from being a developer.)


 What exactly would a LyX developer on Mac need to know? I'm just curious.

How to do a fork() properly.

JMarc


Re: lyx make error on ubuntu feisty 7.04

2009-09-23 Thread Manveru
2009/9/23 BuZZ-dEE buzz-...@jabjab.de

 Hello, I want to install lyx-1.6.4.1 from source but i get an error during
 make. configure before was successfull. i want to install lyx in a
 non-standard directory. further i have the newest qt version installed from
 source in a non-standard directory.

 what can i do now?

 schla...@64pc27:~/Programme/src/lyx-1.6.4.1  ./configure
 --prefix=/home/schlatow/Programme/
 [...]

 schla...@64pc27:~/Programme/src/lyx-1.6.4.1  make
 [...]
 In file included from SignalSlotPrivate.cpp:15:
 SignalSlotPrivate_moc.cpp:14:2: error: #error This file was generated
 using the moc from 4.2.3. It
 SignalSlotPrivate_moc.cpp:15:2: error: #error cannot be used with the
 include files from this version of Qt.
 SignalSlotPrivate_moc.cpp:16:2: error: #error (The moc has changed too
 much.)
 [...]



Too new QT?

-- 
Manveru
jabber: manv...@manveru.pl
gg: 1624001
  http://www.manveru.pl


RE: lyx make error on ubuntu feisty 7.04

2009-09-23 Thread Vincent van Ravesteijn - TNW
 
Hello, I want to install lyx-1.6.4.1 from source but i get
an error during make. configure before was successfull. I
want to install lyx in a non-standard directory. further i
have the newest qt version installed from source in a non-
standard directory.

what can i do now?



In file included from SignalSlotPrivate.cpp:15:
SignalSlotPrivate_moc.cpp:14:2: error: #error This file was generated
using the moc from 4.2.3. It
SignalSlotPrivate_moc.cpp:15:2: error: #error cannot be used with the
include files from this version of Qt.
SignalSlotPrivate_moc.cpp:16:2: error: #error (The moc has changed too
much.)


The files that are named *_moc.cpp are deprecated. They are now called
moc_*. So, it seems that you have compiled LyX some while ago using
Qt4.2.3.

I think that if you remove the *_moc.cpp files, it will compile.

Vincent


Re: LyX 1.6.4.1 and Snow Leopard

2009-09-23 Thread Julio Rojas
Not properly, but according to Snow Leopard standards!!! :P
-
Julio Rojas
jcredbe...@gmail.com



On Wed, Sep 23, 2009 at 10:11 AM, Jean-Marc Lasgouttes
lasgout...@lyx.org wrote:
 Christian Liesen christian.lie...@hfh.ch writes:
 I hope you're not holding your breath. We really don't have any LyX
 developers on Mac, and we'd welcome anyone with expertise who could
 help out here. (I'm able to package up the binaries, but that's far
 from being a developer.)


 What exactly would a LyX developer on Mac need to know? I'm just curious.

 How to do a fork() properly.

 JMarc



Re: lyx make error on ubuntu feisty 7.04

2009-09-23 Thread BuZZ-dEE

I have removed the *_moc.cpp but it does not work.  :(

Vincent van Ravesteijn - TNW schrieb:
 
  

Hello, I want to install lyx-1.6.4.1 from source but i get
an error during make. configure before was successfull. I
want to install lyx in a non-standard directory. further i
have the newest qt version installed from source in a non-
standard directory.

what can i do now?





In file included from SignalSlotPrivate.cpp:15:
SignalSlotPrivate_moc.cpp:14:2: error: #error This file was generated
using the moc from 4.2.3. It
SignalSlotPrivate_moc.cpp:15:2: error: #error cannot be used with the
include files from this version of Qt.
SignalSlotPrivate_moc.cpp:16:2: error: #error (The moc has changed too
much.)


The files that are named *_moc.cpp are deprecated. They are now called
moc_*. So, it seems that you have compiled LyX some while ago using
Qt4.2.3.

I think that if you remove the *_moc.cpp files, it will compile.

Vincent
  


Re: No address in koma-letter

2009-09-23 Thread M-L
On Tue, 22 Sep 2009 13:51:10 +0200 Nicolas Ferré
nicolas.fe...@univ-provence.fr shared this with is all on the Lyx
users list:

Hi,

I just wrote a generic recommendation letter using the Koma-v2 letter 
class. In this letter, I don't put any address field, however the 
produced output shows a large blank spacing between the from address 
field and the date. How can I reduce this spacing?

Regards,
-- 
Nicolas Ferre'

This might help? Add in preamble:

%% Load an *.lco style file (see KOMA documentation)
%%\LoadLetterOption{DIN}%  

% vertical position of the address field
\...@addtoplength{toaddrvpos}{5mm}
% space between ref line and letter text
\...@setplength{refaftervskip}{1cm}

Also set Document settings - Page Margin - Foot skip to -2

Play around with it to make it suit your needs.

HTH
Charlie

-- 
Registered Linux User:- 329524
***
Behave so the aroma of your actions may enhance the general sweetness
of the atmosphere. ...Henry David
Thoreau

***
Debian GNU/Linux - just the best way to create magic
___


Forced floats to stay in their subsection in my Results section?

2009-09-23 Thread NanoPete

Hello, I'm writing my masterthesis in lyx and are having problems in my
results section. 
In this section I have a lot of figures (float figures) and I really want
them to stay within their subsection here eventhough there's not much text
compared to amount of floats.

Is there any good solution to handle floats in such a results
section/chapter?
I've tried setting floats to here definitely but those little bandits
still just jump aheard into the next section...

Thank you for any help

Best regards

Peter Jakobsen
-- 
View this message in context: 
http://n2.nabble.com/Forced-floats-to-stay-in-their-subsection-in-my-Results-section-tp3699321p3699321.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: Forced floats to stay in their subsection in my Results section?

2009-09-23 Thread Florian Rubach

 
[snip]

 I have a lot of figures (float figures) and I really want
 them to stay within their subsection here eventhough there's not much 
 text
 compared to amount of floats.
 
 Is there any good solution to handle floats in such a results
 section/chapter?
There is a LaTeX-package called placeins 
(http://www.ctan.org/tex-archive/help/Catalogue/entries/placeins.html), 
which provides the command \FloatBarrier, so that floats entered between 
two of those commands do appear between them. If you need more specific 
help, please say so.

 Best regards
 
 Peter Jakobsen
Likewise,

Florian


 
-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01


Re: LyX 1.6. ~ LaTex2RTF

2009-09-23 Thread rgheck

On 09/22/2009 10:14 PM, 0 wrote:

I've used the two links below to start using LaTeX 2 RTF:
http://wiki.lyx.org/Tips/ExportingRichTextFormatWithLaTeX2rtf#toc2
http://latex2rtf.sourceforge.net/

Rich Text Format appeared in export list. But it does not work, and says
LyX: Cannot convert file
An error occurred whilst running latex2rt -p -S -o newfile2.rtf
newfile2.tex

What can I do?

--
OS: Windows XP
LyX: 1.6.4


   
Can someone on Windows explain to O here how to run latex2rt from a 
terminal? We need more error messages.


rh






Re: lyx make error on ubuntu feisty 7.04

2009-09-23 Thread rgheck

On 09/23/2009 05:27 AM, Vincent van Ravesteijn - TNW wrote:


   

Hello, I want to install lyx-1.6.4.1 from source but i get
an error during make. configure before was successfull. I
want to install lyx in a non-standard directory. further i
have the newest qt version installed from source in a non-
standard directory.

what can i do now?

 


In file included from SignalSlotPrivate.cpp:15:
SignalSlotPrivate_moc.cpp:14:2: error: #error This file was generated
using the moc from 4.2.3. It
SignalSlotPrivate_moc.cpp:15:2: error: #error cannot be used with the
include files from this version of Qt.
SignalSlotPrivate_moc.cpp:16:2: error: #error (The moc has changed too
much.)


The files that are named *_moc.cpp are deprecated. They are now called
moc_*. So, it seems that you have compiled LyX some while ago using
Qt4.2.3.

I think that if you remove the *_moc.cpp files, it will compile.

   

I've seen this error myself. make clean  make distclean, then start over.

rh



Re: Forced floats to stay in their subsection in my Results section?

2009-09-23 Thread NanoPete

I'll just post the answear I got on mail from Florian, so that if others come
to this page they will also find the answer. 
Thank you Florian, very much helpfull.

Florian:
There is a LaTeX-package called placeins
(http://www.ctan.org/tex-archive/help/Catalogue/entries/placeins.html),
which provides the command \FloatBarrier, so that floats entered between two
of those commands do appear between them.

In case you don't know, you can add \usepackage{placeins} to your 
document preamble and insert \FloatBarrier at any point you want in 
TeX-Code (crtl+L or cmd+L)



(last part is actually an earliere answer also from Florian, which I also
found useful:)


NanoPete wrote:
 
 Hello, I'm writing my masterthesis in lyx and are having problems in my
 results section. 
 In this section I have a lot of figures (float figures) and I really want
 them to stay within their subsection here eventhough there's not much text
 compared to amount of floats.
 
 Is there any good solution to handle floats in such a results
 section/chapter?
 I've tried setting floats to here definitely but those little bandits
 still just jump aheard into the next section...
 
 Thank you for any help
 
 Best regards
 
 Peter Jakobsen
 

-- 
View this message in context: 
http://n2.nabble.com/Forced-floats-to-stay-in-their-subsection-in-my-Results-section-tp3699321p3699686.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Import noweb file into LyX - How to make it work in Debian/GNU Linux?

2009-09-23 Thread Arto
Dear LyX Experts,

I am stuck with a problem that seems to have been sorted out a few years
ago (ticket 3004). The case was about lyx not being able to import a .nw 
(noweb) file, previously exported by lyx from a respective .lyx file (to test 
the noweb import function). 

The result of the import test was reported to be a garbled .lyx file, and 
that's just what I have encountered.
The ticket mentions that a particular user preferences were the culprit, but 
the details have been lost in the mists of time.

I am currently running Debian (Squeeze) and Lyx 1.6.4, installed from .deb 
packages, in two machines. They both share this feature.

I have tried out e.g. /usr/share/lyx/examples/Literate.lyx, converted it to .nw 
with lyx, then back with $tex2lyx -n -f Literate.nw (using lyx and straight 
from the command line, also with option -c literate-article). No luck...
I checked that the tex2lyx binary was replaced when updating to 1.6.4 (it has 
not worked properly in earlier lyx versions either).

I did not notice anything amiss with the .nw file with emacs. When I looked at 
the imported .lyx file it seemed that tex2lyx did not 
recognise chunkname=, signalling the start of the code chunk, and act 
accordingly (=apply scrap style to the code chunks). That kind of code seems to 
be in place, however, in
http://www.lyx.org/trac/browser/lyx-devel/branches/BRANCH_1_6_X/src/tex2
lyx/text.cpp.

To my knowledge I have not fooled around with the literate format preferences, 
and when I checked them they were defaults (peeked also 
in /usr/share/lyx/preferences, no funny lines there).

http://wiki.lyx.org/Tools/Noweb discusses many tricky issues but not this one.

The solution evades me. Please tell what the cure could be,

Thanks in advance,

Arto





exported latex source code

2009-09-23 Thread David Wang
Hello,


I'm fairly new to Lyx.

I found exported latex source (by File-Export-LaTex(plain)) is not
terribly clean. Specifically, \begin{equation} and \end{equation} in general
don't start at the first column and occupy one line each like, for example,

\begin{equation}
\mathbf{y} = \mathbf{A} \cdot \mathbf{x}
\end{equation}

Instead they are embedded in plain text and can appear anywhere within a
line. This reduces the code readability when I need to modify latex source
directly.

So my question is, how to make Lyx export latex source of clearer format?
Did I miss anything simple?

Thanks,
David

-- 
turn and live.


Re: Forced floats to stay in their subsection in my Results section?

2009-09-23 Thread James C. Sutherland


On Sep 23, 2009, at 6:42 AM, NanoPete wrote:



Hello, I'm writing my masterthesis in lyx and are having problems in  
my

results section.
In this section I have a lot of figures (float figures) and I really  
want
them to stay within their subsection here eventhough there's not  
much text

compared to amount of floats.

Is there any good solution to handle floats in such a results
section/chapter?
I've tried setting floats to here definitely but those little  
bandits

still just jump aheard into the next section...


You could also try
 Insert - Formatting - Clear Page
This will force all remaining floats to be placed before the  
subsequent text.


Re: LyX 1.6.4.1 and Snow Leopard

2009-09-23 Thread Stefano Baroni
Hi All. It seems that having a version of LyX working poperly on OS X  
10.6 may require some time.


Do you confirm that the only feature not working properly is autosave?

Do you confirm that by disabling autosave LyX 1.6.4.1 works all right  
on MAC OS X 10.6?


If so, would you please remind us how to disable autosave?

Thansk to all,
SB

On Sep 23, 2009, at 12:09 PM, Julio Rojas wrote:


Not properly, but according to Snow Leopard standards!!! :P
-
Julio Rojas
jcredbe...@gmail.com



On Wed, Sep 23, 2009 at 10:11 AM, Jean-Marc Lasgouttes
lasgout...@lyx.org wrote:

Christian Liesen christian.lie...@hfh.ch writes:

I hope you're not holding your breath. We really don't have any LyX
developers on Mac, and we'd welcome anyone with expertise who could
help out here. (I'm able to package up the binaries, but that's far
from being a developer.)



What exactly would a LyX developer on Mac need to know? I'm just  
curious.


How to do a fork() properly.

JMarc



---
Stefano Baroni - SISSADEMOCRITOS National Simulation Center -  
Trieste
http://stefano.baroni.me [+39] 040 3787 406 (tel) -528 (fax) /  
stefanobaroni (skype)


La morale est une logique de l'action comme la logique est une morale  
de la pensée - Jean Piaget


Please, if possible, don't  send me MS Word or PowerPoint attachments
Why? See:  http://www.gnu.org/philosophy/no-word-attachments.html









Re: LyX 1.6.4.1 and Snow Leopard

2009-09-23 Thread James C. Sutherland


On Sep 23, 2009, at 8:50 AM, Stefano Baroni wrote:

Hi All. It seems that having a version of LyX working poperly on OS  
X 10.6 may require some time.


Do you confirm that the only feature not working properly is autosave?


That has been my observation.


Do you confirm that by disabling autosave LyX 1.6.4.1 works all  
right on MAC OS X 10.6?


No.  It seems that even by disabling autosave, LyX still attempts to  
perform autosaving and the crash still occurs.  However, this is  
little more than an annoyance since the app doesn't actually crash and  
no work is lost.


If so, would you please remind us how to disable autosave?

LyX - Preferences - Look  Feel - User Interface - Backup  
Documents every XXX Minutes


Re: LyX 1.6.4.1 and Snow Leopard

2009-09-23 Thread Johannes Knaus

Am 23.09.2009 um 16:57 schrieb James C. Sutherland:

On Sep 23, 2009, at 8:50 AM, Stefano Baroni wrote:

Hi All. It seems that having a version of LyX working poperly on OS  
X 10.6 may require some time.


Do you confirm that the only feature not working properly is  
autosave?



That has been my observation.


So was mine.



Do you confirm that by disabling autosave LyX 1.6.4.1 works all  
right on MAC OS X 10.6?


No.  It seems that even by disabling autosave, LyX still attempts to  
perform autosaving and the crash still occurs.  However, this is  
little more than an annoyance since the app doesn't actually crash  
and no work is lost.


IMHO it is a little more than annoyance, as the crash notification  
window always pops up having focus.
That is, it is selected and in front of the text I'm writing on. So  
that's really a heavy interruption during writing.




If so, would you please remind us how to disable autosave?

LyX - Preferences - Look  Feel - User Interface - Backup  
Documents every XXX Minutes


As said, you can't really disable autosave. No matter which number you  
type here, LyX does automatic saving.
I don't know if this is only a Mac specific issue or happens on all  
platforms. If so, what is the use of this preference?

What do others say?

Would it be possible --as an intermediate workaround solution-- to  
make some code changes to autosave completely disable autosave and  
release this as a MacOSX-10.6-only Lyx-version?


Johannes







Re: LyX 1.6.4.1 and Snow Leopard

2009-09-23 Thread Stefano Baroni


On Sep 23, 2009, at 4:57 PM, James C. Sutherland wrote:



On Sep 23, 2009, at 8:50 AM, Stefano Baroni wrote:

Hi All. It seems that having a version of LyX working poperly on OS  
X 10.6 may require some time.


Do you confirm that the only feature not working properly is  
autosave?



That has been my observation.


Thanks

Do you confirm that by disabling autosave LyX 1.6.4.1 works all  
right on MAC OS X 10.6?


No.  It seems that even by disabling autosave, LyX still attempts to  
perform autosaving and the crash still occurs.  However, this is  
little more than an annoyance since the app doesn't actually crash  
and no work is lost.


I understand, but this sounds like an annoyance that I am not ready to  
accept. I will delay for a while the upgrade to OS X 10.6. If this  
problem is not solved in a few weeks, I am afraid I will have then  to  
choose between LyX and Snow Leopard. Personally, I have the impression  
that many mac os x users will consider this a serious annoyance. Let's  
wait and see ...


Can any of the developers find a way of completely disabling autosave?  
This would seem to me an acceptable compromise. I am ready to manually  
save my own work, but not to be notified at random times that  
something is going wrong, even if (almost) everything is going all  
right ...


Thanks to all again
SB

---
Stefano Baroni - SISSADEMOCRITOS National Simulation Center -  
Trieste
http://stefano.baroni.me [+39] 040 3787 406 (tel) -528 (fax) /  
stefanobaroni (skype)


La morale est une logique de l'action comme la logique est une morale  
de la pensée - Jean Piaget


Please, if possible, don't  send me MS Word or PowerPoint attachments
Why? See:  http://www.gnu.org/philosophy/no-word-attachments.html









Re: exported latex source code

2009-09-23 Thread rgheck

On 09/23/2009 10:19 AM, David Wang wrote:

I found exported latex source (by File-Export-LaTex(plain)) is not
terribly clean. Specifically, \begin{equation} and \end{equation} in general
don't start at the first column and occupy one line each like, for example,

\begin{equation}
\mathbf{y} = \mathbf{A} \cdot \mathbf{x}
\end{equation}

Instead they are embedded in plain text and can appear anywhere within a
line. This reduces the code readability when I need to modify latex source
directly.

So my question is, how to make Lyx export latex source of clearer format?
Did I miss anything simple?

   
This is probably a bug. The exported code is meant to be clean, in 
this sense, and we do our best e.g. to break the lines at 80 characters, 
etc, etc. So you should report this on the bug tracker. It's probably an 
easy fix. I'm not sure, though, because there is a need here to make 
sure we don't out output too many newlines. I.e., this is OK:

blah blah blah
\begin{equation}
...
but we do not want:
blah blah blah

\begin{equation}
...
At least, we do not want that, unless the user specifically requests it. 
So it may be that this is a kind of safety valve.


Anyway, report it on trac (http://www.lyx.org/trac), and someone can 
have a look.


Until then, you might write use a trivial perl script to clean this up:

while () {
if (/(.+)(\\begin{equation}.*)/) { print $1\n$2; }
else { print; }
}

Obviously, sed can work here, too, etc. Perl works for me.

Richard



Re: LyX 1.6.4.1 and Snow Leopard

2009-09-23 Thread James C. Sutherland




Do you confirm that by disabling autosave LyX 1.6.4.1 works all  
right on MAC OS X 10.6?


No.  It seems that even by disabling autosave, LyX still attempts  
to perform autosaving and the crash still occurs.  However, this  
is little more than an annoyance since the app doesn't actually  
crash and no work is lost.


I understand, but this sounds like an annoyance that I am not ready  
to accept. I will delay for a while the upgrade to OS X 10.6. If  
this problem is not solved in a few weeks, I am afraid I will have  
then  to choose between LyX and Snow Leopard. Personally, I have the  
impression that many mac os x users will consider this a serious  
annoyance. Let's wait and see ...


Can any of the developers find a way of completely disabling  
autosave? This would seem to me an acceptable compromise. I am ready  
to manually save my own work, but not to be notified at random times  
that something is going wrong, even if (almost) everything is going  
all right ...


I should also point out that the crash only happens when you have  
unsaved work for a period of time.  If you are constantly saving your  
document as you type, then you will rarely experience this annoyance.


Re: LyX 1.6.4.1 and Snow Leopard

2009-09-23 Thread rgheck

On 09/23/2009 11:48 AM, Johannes Knaus wrote:

Am 23.09.2009 um 16:57 schrieb James C. Sutherland:
On Sep 23, 2009, at 8:50 AM, Stefano Baroni wrote: 


If so, would you please remind us how to disable autosave?

LyX - Preferences - Look  Feel - User Interface - Backup 
Documents every XXX Minutes


As said, you can't really disable autosave. No matter which number you 
type here, LyX does automatic saving.
I don't know if this is only a Mac specific issue or happens on all 
platforms. If so, what is the use of this preference?

What do others say?

The fix for this was committed to trunk and branch a few days ago, so 
autosave can be disabled in current 1.6.5svn. The problem was that a 
confusion between saving automatic backups and saving a backup for the 
original document had crept into the dialog somehow. So disabling 
autosave was actually disabling backups on saving.


Two suggestions to people on Snow Leopard, then. First, have people 
tried just setting the autosave time to 300? That's five hours between 
attempts and so crashes. Not perfect, but better.


Second, if you want the real fix, download and compile current branch from:
svn://svn.lyx.org/lyx/lyx-devel/branch/BRANCH_1_6_X/
I posted a longish message about how to do this a couple weeks back, and 
there's info on the wiki tool.


Third, perhaps it's worth a plea for some kind of emergency release on 
Mac OSX, as there was an emergency release (1.6.4.1) on Windows. I'll 
float that idea on devel.


Richard



\sideset command supported?

2009-09-23 Thread Manoj Rajagopalan
Hi,

  LaTeX allows the \sideset command to position superscripts and subscripts on 
the left side also. For example,

   \sideset{_a^b}{_c^d} M prints 'M' with 'a' at its lower-left, 'b' at is 
upper-left, and with 'c' and 'd' at normal subscript and superscript 
positions.

  Can this effect be invoked in LyX?

thanks,
Manoj


Re: LyX 1.6.4.1 and Snow Leopard

2009-09-23 Thread William Bray


On Sep 23, 2009, at 12:13 PM, rgheck wrote:


On 09/23/2009 11:48 AM, Johannes Knaus wrote:

Am 23.09.2009 um 16:57 schrieb James C. Sutherland:

On Sep 23, 2009, at 8:50 AM, Stefano Baroni wrote:


If so, would you please remind us how to disable autosave?

LyX - Preferences - Look  Feel - User Interface - Backup  
Documents every XXX Minutes


As said, you can't really disable autosave. No matter which number  
you type here, LyX does automatic saving.
I don't know if this is only a Mac specific issue or happens on all  
platforms. If so, what is the use of this preference?

What do others say?

The fix for this was committed to trunk and branch a few days ago,  
so autosave can be disabled in current 1.6.5svn. The problem was  
that a confusion between saving automatic backups and saving a  
backup for the original document had crept into the dialog somehow.  
So disabling autosave was actually disabling backups on saving.


Two suggestions to people on Snow Leopard, then. First, have people  
tried just setting the autosave time to 300? That's five hours  
between attempts and so crashes. Not perfect, but better.


Have tried this and it does not work. Lyx still crashes about every 5  
minutes.


Second, if you want the real fix, download and compile current  
branch from:

svn://svn.lyx.org/lyx/lyx-devel/branch/BRANCH_1_6_X/
I posted a longish message about how to do this a couple weeks back,  
and there's info on the wiki tool.


Can you explain further what you mean by real fix? Just would like  
to know before I go through the compile process.


The fix for me of late has simply to hit CMD+S  about every three  
minutes. No false crashes occur at all if I am consistent.


Third, perhaps it's worth a plea for some kind of emergency release  
on Mac OSX, as there was an emergency release (1.6.4.1) on Windows.  
I'll float that idea on devel.


Richard




Re: LyX 1.6.4.1 and Snow Leopard

2009-09-23 Thread Manveru
2009/9/23 Johannes Knaus knausli...@freenet.de

 Am 23.09.2009 um 16:57 schrieb James C. Sutherland:
 [...]

 Would it be possible --as an intermediate workaround solution-- to make
 some code changes to autosave completely disable autosave and release this
 as a MacOSX-10.6-only Lyx-version?



I would consider moving to threads instead of fork(). This may additionally
be an performance improvement on Windows, where threading is known to be
faster than splitting process into two.

I understand that could be a lot of work - I do not have time now to look at
the lyx code for fork() occurences, but for now the task could be simplified
by writing some threading code used as close as possible to fork(). It may
need moving some stuff to separate functions, and call them from thread
instead of conditional execution on fork() result.

-- 
Manveru
jabber: manv...@manveru.pl
gg: 1624001
  http://www.manveru.pl


Where to get an overview over possible key-binding commands which is not pre-defined?

2009-09-23 Thread Bjørn Liene Gundersen
Hi,

I wish to get an overview over parameters to key-bindings to all
functions in LyX, where can I find that? For instance, if I want to
make a key-binding to Insert figure float I need to search up the
key-binding float-insert and modify it to float-insert figure and
give it a short cut. What if I want to make a short-cut for Insert
Vertical Space? I tried to modify the key-binding space-insert to
space-insert vertical but it didn't work for me, how to do that, how
can I get an overview on how to do it in similar situations? Does it
exist a map of possible key-bindings commands?

Thanks and best regards
Bjørn Liene Gundersen


Re: \sideset command supported?

2009-09-23 Thread Paul A. Rubin

Manoj Rajagopalan wrote:

Hi,

  LaTeX allows the \sideset command to position superscripts and subscripts on 
the left side also. For example,


   \sideset{_a^b}{_c^d} M prints 'M' with 'a' at its lower-left, 'b' at is 
upper-left, and with 'c' and 'd' at normal subscript and superscript 
positions.


  Can this effect be invoked in LyX?



\sideset wants to be followed by an operator -- do you have a way to 
convince LaTeX 'M' is an operator?  I get an error message when I try 
the above.


That said, \sideset{_a^b}{_c^d}\prod works in LyX -- the formula does 
not look right in the GUI (meaning that LyX will not translate \sideset 
into the appropriate visual effects) but the DVI/PDF output will be 
correct.  (If you turn on instant preview for formulas, it will show up 
in the GUI as well.)  Entering it is a bit finicky, but not too hard. 
Starting inside a math inset, the keystrokes are as follows (` indicates 
a space):


1. \sideset`  (appears verbatim in the math inset -- should change font 
after the space is entered)

2. \{  (creates both opening and closing braces)
3. _a`^b`
4. (cursor out of the braces but stay inside the inset)
5. \{
6. _c`^d`
7. (cursor out of the braces but stay inside the inset)
8. \prod`

/Paul



Re: \sideset command supported?

2009-09-23 Thread Manoj Rajagopalan

Hi Paul,

  Thanks, I understand now. Earlier, I didn't know that \sideset works only 
for mathematical operators and I used 'M' just as an example. My question was 
whether there is a LyX function that supports similar rendering and if either 
this or \sideset would show up on the DVI/PDF. You've answered the latter and 
helped me understand better.

thanks,
Manoj


On Wednesday 23 September 2009 02:17:38 pm Paul A. Rubin wrote:
 Manoj Rajagopalan wrote:
  Hi,
 
LaTeX allows the \sideset command to position superscripts and
  subscripts on the left side also. For example,
 
 \sideset{_a^b}{_c^d} M prints 'M' with 'a' at its lower-left, 'b' at
  is upper-left, and with 'c' and 'd' at normal subscript and superscript
  positions.
 
Can this effect be invoked in LyX?

 \sideset wants to be followed by an operator -- do you have a way to
 convince LaTeX 'M' is an operator?  I get an error message when I try
 the above.

 That said, \sideset{_a^b}{_c^d}\prod works in LyX -- the formula does
 not look right in the GUI (meaning that LyX will not translate \sideset
 into the appropriate visual effects) but the DVI/PDF output will be
 correct.  (If you turn on instant preview for formulas, it will show up
 in the GUI as well.)  Entering it is a bit finicky, but not too hard.
 Starting inside a math inset, the keystrokes are as follows (` indicates
 a space):

 1. \sideset`  (appears verbatim in the math inset -- should change font
 after the space is entered)
 2. \{  (creates both opening and closing braces)
 3. _a`^b`
 4. (cursor out of the braces but stay inside the inset)
 5. \{
 6. _c`^d`
 7. (cursor out of the braces but stay inside the inset)
 8. \prod`

 /Paul



Re: Where to get an overview over possible key-binding commands which is not pre-defined?

2009-09-23 Thread Vincent van Ravesteijn

Bjørn Liene Gundersen schreef:

Hi,

I wish to get an overview over parameters to key-bindings to all
functions in LyX, where can I find that? For instance, if I want to
make a key-binding to Insert figure float I need to search up the
key-binding float-insert and modify it to float-insert figure and
give it a short cut. What if I want to make a short-cut for Insert
Vertical Space? I tried to modify the key-binding space-insert to
space-insert vertical but it didn't work for me, how to do that, how
can I get an overview on how to do it in similar situations? Does it
exist a map of possible key-bindings commands?

Thanks and best regards
Bjørn Liene Gundersen
  

Have a look at the LFUNs document in the menu Help-LyX Functions.

(For a vertical space enter inset-insert vspace)

Vincent


Re: LyX 1.6. ~ LaTex2RTF

2009-09-23 Thread Wilfried
rgheck rgh...@bobjweil.com wrote:

 On 09/22/2009 10:14 PM, 0 wrote:
  I've used the two links below to start using LaTeX 2 RTF:
  http://wiki.lyx.org/Tips/ExportingRichTextFormatWithLaTeX2rtf#toc2
  http://latex2rtf.sourceforge.net/
 
  Rich Text Format appeared in export list. But it does not work, and says
  LyX: Cannot convert file
  An error occurred whilst running latex2rt -p -S -o newfile2.rtf
  newfile2.tex
 
  What can I do?
 
  --
  OS: Windows XP
  LyX: 1.6.4
 
 
 
 Can someone on Windows explain to O here how to run latex2rt from a 
 terminal? We need more error messages.

OK, here we go. 
I start pointing to problems which had already hit other users.

1. You (0) wrote that you used the links given.
But the first link contains several alternative descriptions how to
install latex2rtf. So: How and in which folder did you actually install
latex2rtf? 

2. How long (number of characters) is the full path to the folder where
your newfile2.tex is stored? Because latex2rt.exe uses a dos prompt,
the maximum length (including newfile2.tex) is about 256 characters,
and there also is a limitation on the number of folder nesting depth
(which I can't remember just now).

3. Which version of latex2rtf? Open a command prompt and type the
command (use the folder in which you installed it, and if the path
contains blanks as below, include it in double quotes as shown):
C:\Program Files\latex2rtf\latex2rt -version
latex2rtf should display the version info. If not, something is wrong
with the installation. 

4. If (3) displayed the version info correctly, add 
-P C:/Progra~1/latex2rtf
to the latex2rtf options in LyX. 
Does it work now?

Wilfried



No PDF preview in LyX: Error converting to loadable format

2009-09-23 Thread Bjørn Liene Gundersen
Hi,

I allow myself to ask the lyx user list one more question before I
become an expert :-) I am using LyX 1.6.4, the Complete Alternative
Windows installation. When I insert PDF document in a figure float,
LyX gives me the message Error converting to loadable format. I have
entered the Tools-Preferences
dialog and the Converters pane, but no luck here. Is there a way to
get around this problem or is it simply a bug?

Best regards Bjørn Liene Gundersen


Some words in Hebrew

2009-09-23 Thread jbutzu

Hi there.  I am typing an article for a blog and need to insert a couple of
words in Hebrew.  What is the easiest process to do this?  I have fonts that
I have used in other programs already installed om my computer.  Also I
selected Hebrew in the install package... I forget whether this was for a
dictionary though or something else.  Responses would be greatly
appreciated!

Thank you in advance.
John
-- 
View this message in context: 
http://n2.nabble.com/Some-words-in-Hebrew-tp3702768p3702768.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: lyx make error on ubuntu feisty 7.04

2009-09-23 Thread Enrico Forestieri
BuZZ-dEE writes:

 Hello, I want to install lyx-1.6.4.1 from source but i get an error 
 during make. configure before was successfull. i want to install lyx in 
 a non-standard directory. further i have the newest qt version installed 
 from source in a non-standard directory.
 
 what can i do now?
[...]
 checking for QT4_CORE... yes
 checking for QT4_FRONTEND... yes
 checking for moc-qt4... /usr/bin/moc-qt4
 checking for uic-qt4... /usr/bin/uic-qt4
 checking for rcc-qt4... no
 checking for rcc... /home/schlatow/Programme/bin/rcc

The configure script is using the system moc and uic. This is because
moc-qt4 and uic-qt4 are tried first and I bet they are the Qt 4.2 versions.
In the /home/schlatow/Programme/bin directory you should have moc and uic,
so try renaming them as moc-qt4 and uic-qt4 and reconfigure. If that does
not help, try using --with-qt4-dir=/home/schlatow/Programme with the
configure command. If it still fails, rename /usr/bin/moc-qt4 and
/usr/bin/uic-qt4 as /usr/bin/moc-qt4.old and /usr/bin/uic-qt4.old,
for example. Now it should definitely work.

-- 
Enrico



Re: Some words in Hebrew

2009-09-23 Thread Daniel Owens

John,

I use XeTeX instead of LaTeX for Hebrew because it allows me to use any 
font installed on my system. If you type in unicode (utf8) and use a 
unicode font, this works well. I don't know about legacy fonts. I know 
there is some support for Hebrew aside from what I have mentioned, but I 
am unfamiliar with it.


In your preamble put this:

\usepackage{fontspec}

\usepackage{xltxtra}

\usepackage{bidi}

\newfontfamily\hebrewfont[Script=Hebrew]{your font installed on your 
system}


\newenvironment{hebrew}{\setRL\hebrewfont}{\setLR}

\newcommand{\he}[1]{\RL{\hebrewfont #1}}


To include Hebrew, type:

\he{Hebrew text}

or

\begin{hebrew}

Hebrew text

\end{hebrew}

Since I am mainly dealing with biblical Hebrew, I use SBL Hebrew for my 
font, but you can choose any font on your system when you compile with 
XeTeX. Google for how to set up LyX to use XeTeX. It's not that complicated.


Daniel

jbutzu wrote:

Hi there.  I am typing an article for a blog and need to insert a couple of
words in Hebrew.  What is the easiest process to do this?  I have fonts that
I have used in other programs already installed om my computer.  Also I
selected Hebrew in the install package... I forget whether this was for a
dictionary though or something else.  Responses would be greatly
appreciated!

Thank you in advance.
John
  


lyx make error on ubuntu feisty 7.04

2009-09-23 Thread BuZZ-dEE
Hello, I want to install lyx-1.6.4.1 from source but i get an error 
during make. configure before was successfull. i want to install lyx in 
a non-standard directory. further i have the newest qt version installed 
from source in a non-standard directory.


what can i do now?
schla...@64pc27:~/Programme/src/lyx-1.6.4.1  ./configure 
--prefix=/home/schlatow/Programme/
configuring LyX version 1.6.4.1
checking for build type... release
checking for version suffix... 
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking what packaging should be used... posix
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for a Python interpreter with version = 2.3.4... python
checking for python... /usr/bin/python
checking for python version... 2.5
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.5/site-packages
checking for python extension module directory... 
${exec_prefix}/lib/python2.5/site-packages
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for AIX... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether byte ordering is bigendian... no
checking what frontend should be used for the GUI... qt4
checking for a good enough C++ compiler... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for gcc... gcc
checking whether we are using the GNU Objective C compiler... yes
checking whether gcc accepts -g... yes
checking dependency style of gcc... gcc3
checking dependency style of gcc... (cached) gcc3
checking for extra library directory... NONE
checking for extra include directory... NONE
checking for extra lib+include directory... NONE
checking for main in -lshlwapi... no
checking for main in -lpsapi... no
checking for main in -lgdi32... no
checking for main in -lAiksaurus... no
checking Aiksaurus.h usability... no
checking Aiksaurus.h presence... no
checking for Aiksaurus.h... no
checking Aiksaurus/Aiksaurus.h usability... no
checking Aiksaurus/Aiksaurus.h presence... no
checking for Aiksaurus/Aiksaurus.h... no
checking whether to use boost included library... yes
checking for wchar_t... yes
checking size of wchar_t... 4
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared 
libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared 

Re: LyX 1.6.4.1 and Snow Leopard

2009-09-23 Thread Jean-Marc Lasgouttes
Christian Liesen christian.lie...@hfh.ch writes:
 I hope you're not holding your breath. We really don't have any LyX
 developers on Mac, and we'd welcome anyone with expertise who could
 help out here. (I'm able to package up the binaries, but that's far
 from being a developer.)


 What exactly would a LyX developer on Mac need to know? I'm just curious.

How to do a fork() properly.

JMarc


Re: lyx make error on ubuntu feisty 7.04

2009-09-23 Thread Manveru
2009/9/23 BuZZ-dEE buzz-...@jabjab.de

 Hello, I want to install lyx-1.6.4.1 from source but i get an error during
 make. configure before was successfull. i want to install lyx in a
 non-standard directory. further i have the newest qt version installed from
 source in a non-standard directory.

 what can i do now?

 schla...@64pc27:~/Programme/src/lyx-1.6.4.1  ./configure
 --prefix=/home/schlatow/Programme/
 [...]

 schla...@64pc27:~/Programme/src/lyx-1.6.4.1  make
 [...]
 In file included from SignalSlotPrivate.cpp:15:
 SignalSlotPrivate_moc.cpp:14:2: error: #error This file was generated
 using the moc from 4.2.3. It
 SignalSlotPrivate_moc.cpp:15:2: error: #error cannot be used with the
 include files from this version of Qt.
 SignalSlotPrivate_moc.cpp:16:2: error: #error (The moc has changed too
 much.)
 [...]



Too new QT?

-- 
Manveru
jabber: manv...@manveru.pl
gg: 1624001
  http://www.manveru.pl


RE: lyx make error on ubuntu feisty 7.04

2009-09-23 Thread Vincent van Ravesteijn - TNW
 
Hello, I want to install lyx-1.6.4.1 from source but i get
an error during make. configure before was successfull. I
want to install lyx in a non-standard directory. further i
have the newest qt version installed from source in a non-
standard directory.

what can i do now?



In file included from SignalSlotPrivate.cpp:15:
SignalSlotPrivate_moc.cpp:14:2: error: #error This file was generated
using the moc from 4.2.3. It
SignalSlotPrivate_moc.cpp:15:2: error: #error cannot be used with the
include files from this version of Qt.
SignalSlotPrivate_moc.cpp:16:2: error: #error (The moc has changed too
much.)


The files that are named *_moc.cpp are deprecated. They are now called
moc_*. So, it seems that you have compiled LyX some while ago using
Qt4.2.3.

I think that if you remove the *_moc.cpp files, it will compile.

Vincent


Re: LyX 1.6.4.1 and Snow Leopard

2009-09-23 Thread Julio Rojas
Not properly, but according to Snow Leopard standards!!! :P
-
Julio Rojas
jcredbe...@gmail.com



On Wed, Sep 23, 2009 at 10:11 AM, Jean-Marc Lasgouttes
lasgout...@lyx.org wrote:
 Christian Liesen christian.lie...@hfh.ch writes:
 I hope you're not holding your breath. We really don't have any LyX
 developers on Mac, and we'd welcome anyone with expertise who could
 help out here. (I'm able to package up the binaries, but that's far
 from being a developer.)


 What exactly would a LyX developer on Mac need to know? I'm just curious.

 How to do a fork() properly.

 JMarc



Re: lyx make error on ubuntu feisty 7.04

2009-09-23 Thread BuZZ-dEE

I have removed the *_moc.cpp but it does not work.  :(

Vincent van Ravesteijn - TNW schrieb:
 
  

Hello, I want to install lyx-1.6.4.1 from source but i get
an error during make. configure before was successfull. I
want to install lyx in a non-standard directory. further i
have the newest qt version installed from source in a non-
standard directory.

what can i do now?





In file included from SignalSlotPrivate.cpp:15:
SignalSlotPrivate_moc.cpp:14:2: error: #error This file was generated
using the moc from 4.2.3. It
SignalSlotPrivate_moc.cpp:15:2: error: #error cannot be used with the
include files from this version of Qt.
SignalSlotPrivate_moc.cpp:16:2: error: #error (The moc has changed too
much.)


The files that are named *_moc.cpp are deprecated. They are now called
moc_*. So, it seems that you have compiled LyX some while ago using
Qt4.2.3.

I think that if you remove the *_moc.cpp files, it will compile.

Vincent
  


Re: No address in koma-letter

2009-09-23 Thread M-L
On Tue, 22 Sep 2009 13:51:10 +0200 Nicolas Ferré
nicolas.fe...@univ-provence.fr shared this with is all on the Lyx
users list:

Hi,

I just wrote a generic recommendation letter using the Koma-v2 letter 
class. In this letter, I don't put any address field, however the 
produced output shows a large blank spacing between the from address 
field and the date. How can I reduce this spacing?

Regards,
-- 
Nicolas Ferre'

This might help? Add in preamble:

%% Load an *.lco style file (see KOMA documentation)
%%\LoadLetterOption{DIN}%  

% vertical position of the address field
\...@addtoplength{toaddrvpos}{5mm}
% space between ref line and letter text
\...@setplength{refaftervskip}{1cm}

Also set Document settings - Page Margin - Foot skip to -2

Play around with it to make it suit your needs.

HTH
Charlie

-- 
Registered Linux User:- 329524
***
Behave so the aroma of your actions may enhance the general sweetness
of the atmosphere. ...Henry David
Thoreau

***
Debian GNU/Linux - just the best way to create magic
___


Forced floats to stay in their subsection in my Results section?

2009-09-23 Thread NanoPete

Hello, I'm writing my masterthesis in lyx and are having problems in my
results section. 
In this section I have a lot of figures (float figures) and I really want
them to stay within their subsection here eventhough there's not much text
compared to amount of floats.

Is there any good solution to handle floats in such a results
section/chapter?
I've tried setting floats to here definitely but those little bandits
still just jump aheard into the next section...

Thank you for any help

Best regards

Peter Jakobsen
-- 
View this message in context: 
http://n2.nabble.com/Forced-floats-to-stay-in-their-subsection-in-my-Results-section-tp3699321p3699321.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: Forced floats to stay in their subsection in my Results section?

2009-09-23 Thread Florian Rubach

 
[snip]

 I have a lot of figures (float figures) and I really want
 them to stay within their subsection here eventhough there's not much 
 text
 compared to amount of floats.
 
 Is there any good solution to handle floats in such a results
 section/chapter?
There is a LaTeX-package called placeins 
(http://www.ctan.org/tex-archive/help/Catalogue/entries/placeins.html), 
which provides the command \FloatBarrier, so that floats entered between 
two of those commands do appear between them. If you need more specific 
help, please say so.

 Best regards
 
 Peter Jakobsen
Likewise,

Florian


 
-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01


Re: LyX 1.6. ~ LaTex2RTF

2009-09-23 Thread rgheck

On 09/22/2009 10:14 PM, 0 wrote:

I've used the two links below to start using LaTeX 2 RTF:
http://wiki.lyx.org/Tips/ExportingRichTextFormatWithLaTeX2rtf#toc2
http://latex2rtf.sourceforge.net/

Rich Text Format appeared in export list. But it does not work, and says
LyX: Cannot convert file
An error occurred whilst running latex2rt -p -S -o newfile2.rtf
newfile2.tex

What can I do?

--
OS: Windows XP
LyX: 1.6.4


   
Can someone on Windows explain to O here how to run latex2rt from a 
terminal? We need more error messages.


rh






Re: lyx make error on ubuntu feisty 7.04

2009-09-23 Thread rgheck

On 09/23/2009 05:27 AM, Vincent van Ravesteijn - TNW wrote:


   

Hello, I want to install lyx-1.6.4.1 from source but i get
an error during make. configure before was successfull. I
want to install lyx in a non-standard directory. further i
have the newest qt version installed from source in a non-
standard directory.

what can i do now?

 


In file included from SignalSlotPrivate.cpp:15:
SignalSlotPrivate_moc.cpp:14:2: error: #error This file was generated
using the moc from 4.2.3. It
SignalSlotPrivate_moc.cpp:15:2: error: #error cannot be used with the
include files from this version of Qt.
SignalSlotPrivate_moc.cpp:16:2: error: #error (The moc has changed too
much.)


The files that are named *_moc.cpp are deprecated. They are now called
moc_*. So, it seems that you have compiled LyX some while ago using
Qt4.2.3.

I think that if you remove the *_moc.cpp files, it will compile.

   

I've seen this error myself. make clean  make distclean, then start over.

rh



Re: Forced floats to stay in their subsection in my Results section?

2009-09-23 Thread NanoPete

I'll just post the answear I got on mail from Florian, so that if others come
to this page they will also find the answer. 
Thank you Florian, very much helpfull.

Florian:
There is a LaTeX-package called placeins
(http://www.ctan.org/tex-archive/help/Catalogue/entries/placeins.html),
which provides the command \FloatBarrier, so that floats entered between two
of those commands do appear between them.

In case you don't know, you can add \usepackage{placeins} to your 
document preamble and insert \FloatBarrier at any point you want in 
TeX-Code (crtl+L or cmd+L)



(last part is actually an earliere answer also from Florian, which I also
found useful:)


NanoPete wrote:
 
 Hello, I'm writing my masterthesis in lyx and are having problems in my
 results section. 
 In this section I have a lot of figures (float figures) and I really want
 them to stay within their subsection here eventhough there's not much text
 compared to amount of floats.
 
 Is there any good solution to handle floats in such a results
 section/chapter?
 I've tried setting floats to here definitely but those little bandits
 still just jump aheard into the next section...
 
 Thank you for any help
 
 Best regards
 
 Peter Jakobsen
 

-- 
View this message in context: 
http://n2.nabble.com/Forced-floats-to-stay-in-their-subsection-in-my-Results-section-tp3699321p3699686.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Import noweb file into LyX - How to make it work in Debian/GNU Linux?

2009-09-23 Thread Arto
Dear LyX Experts,

I am stuck with a problem that seems to have been sorted out a few years
ago (ticket 3004). The case was about lyx not being able to import a .nw 
(noweb) file, previously exported by lyx from a respective .lyx file (to test 
the noweb import function). 

The result of the import test was reported to be a garbled .lyx file, and 
that's just what I have encountered.
The ticket mentions that a particular user preferences were the culprit, but 
the details have been lost in the mists of time.

I am currently running Debian (Squeeze) and Lyx 1.6.4, installed from .deb 
packages, in two machines. They both share this feature.

I have tried out e.g. /usr/share/lyx/examples/Literate.lyx, converted it to .nw 
with lyx, then back with $tex2lyx -n -f Literate.nw (using lyx and straight 
from the command line, also with option -c literate-article). No luck...
I checked that the tex2lyx binary was replaced when updating to 1.6.4 (it has 
not worked properly in earlier lyx versions either).

I did not notice anything amiss with the .nw file with emacs. When I looked at 
the imported .lyx file it seemed that tex2lyx did not 
recognise chunkname=, signalling the start of the code chunk, and act 
accordingly (=apply scrap style to the code chunks). That kind of code seems to 
be in place, however, in
http://www.lyx.org/trac/browser/lyx-devel/branches/BRANCH_1_6_X/src/tex2
lyx/text.cpp.

To my knowledge I have not fooled around with the literate format preferences, 
and when I checked them they were defaults (peeked also 
in /usr/share/lyx/preferences, no funny lines there).

http://wiki.lyx.org/Tools/Noweb discusses many tricky issues but not this one.

The solution evades me. Please tell what the cure could be,

Thanks in advance,

Arto





exported latex source code

2009-09-23 Thread David Wang
Hello,


I'm fairly new to Lyx.

I found exported latex source (by File-Export-LaTex(plain)) is not
terribly clean. Specifically, \begin{equation} and \end{equation} in general
don't start at the first column and occupy one line each like, for example,

\begin{equation}
\mathbf{y} = \mathbf{A} \cdot \mathbf{x}
\end{equation}

Instead they are embedded in plain text and can appear anywhere within a
line. This reduces the code readability when I need to modify latex source
directly.

So my question is, how to make Lyx export latex source of clearer format?
Did I miss anything simple?

Thanks,
David

-- 
turn and live.


Re: Forced floats to stay in their subsection in my Results section?

2009-09-23 Thread James C. Sutherland


On Sep 23, 2009, at 6:42 AM, NanoPete wrote:



Hello, I'm writing my masterthesis in lyx and are having problems in  
my

results section.
In this section I have a lot of figures (float figures) and I really  
want
them to stay within their subsection here eventhough there's not  
much text

compared to amount of floats.

Is there any good solution to handle floats in such a results
section/chapter?
I've tried setting floats to here definitely but those little  
bandits

still just jump aheard into the next section...


You could also try
 Insert - Formatting - Clear Page
This will force all remaining floats to be placed before the  
subsequent text.


Re: LyX 1.6.4.1 and Snow Leopard

2009-09-23 Thread Stefano Baroni
Hi All. It seems that having a version of LyX working poperly on OS X  
10.6 may require some time.


Do you confirm that the only feature not working properly is autosave?

Do you confirm that by disabling autosave LyX 1.6.4.1 works all right  
on MAC OS X 10.6?


If so, would you please remind us how to disable autosave?

Thansk to all,
SB

On Sep 23, 2009, at 12:09 PM, Julio Rojas wrote:


Not properly, but according to Snow Leopard standards!!! :P
-
Julio Rojas
jcredbe...@gmail.com



On Wed, Sep 23, 2009 at 10:11 AM, Jean-Marc Lasgouttes
lasgout...@lyx.org wrote:

Christian Liesen christian.lie...@hfh.ch writes:

I hope you're not holding your breath. We really don't have any LyX
developers on Mac, and we'd welcome anyone with expertise who could
help out here. (I'm able to package up the binaries, but that's far
from being a developer.)



What exactly would a LyX developer on Mac need to know? I'm just  
curious.


How to do a fork() properly.

JMarc



---
Stefano Baroni - SISSADEMOCRITOS National Simulation Center -  
Trieste
http://stefano.baroni.me [+39] 040 3787 406 (tel) -528 (fax) /  
stefanobaroni (skype)


La morale est une logique de l'action comme la logique est une morale  
de la pensée - Jean Piaget


Please, if possible, don't  send me MS Word or PowerPoint attachments
Why? See:  http://www.gnu.org/philosophy/no-word-attachments.html









Re: LyX 1.6.4.1 and Snow Leopard

2009-09-23 Thread James C. Sutherland


On Sep 23, 2009, at 8:50 AM, Stefano Baroni wrote:

Hi All. It seems that having a version of LyX working poperly on OS  
X 10.6 may require some time.


Do you confirm that the only feature not working properly is autosave?


That has been my observation.


Do you confirm that by disabling autosave LyX 1.6.4.1 works all  
right on MAC OS X 10.6?


No.  It seems that even by disabling autosave, LyX still attempts to  
perform autosaving and the crash still occurs.  However, this is  
little more than an annoyance since the app doesn't actually crash and  
no work is lost.


If so, would you please remind us how to disable autosave?

LyX - Preferences - Look  Feel - User Interface - Backup  
Documents every XXX Minutes


Re: LyX 1.6.4.1 and Snow Leopard

2009-09-23 Thread Johannes Knaus

Am 23.09.2009 um 16:57 schrieb James C. Sutherland:

On Sep 23, 2009, at 8:50 AM, Stefano Baroni wrote:

Hi All. It seems that having a version of LyX working poperly on OS  
X 10.6 may require some time.


Do you confirm that the only feature not working properly is  
autosave?



That has been my observation.


So was mine.



Do you confirm that by disabling autosave LyX 1.6.4.1 works all  
right on MAC OS X 10.6?


No.  It seems that even by disabling autosave, LyX still attempts to  
perform autosaving and the crash still occurs.  However, this is  
little more than an annoyance since the app doesn't actually crash  
and no work is lost.


IMHO it is a little more than annoyance, as the crash notification  
window always pops up having focus.
That is, it is selected and in front of the text I'm writing on. So  
that's really a heavy interruption during writing.




If so, would you please remind us how to disable autosave?

LyX - Preferences - Look  Feel - User Interface - Backup  
Documents every XXX Minutes


As said, you can't really disable autosave. No matter which number you  
type here, LyX does automatic saving.
I don't know if this is only a Mac specific issue or happens on all  
platforms. If so, what is the use of this preference?

What do others say?

Would it be possible --as an intermediate workaround solution-- to  
make some code changes to autosave completely disable autosave and  
release this as a MacOSX-10.6-only Lyx-version?


Johannes







Re: LyX 1.6.4.1 and Snow Leopard

2009-09-23 Thread Stefano Baroni


On Sep 23, 2009, at 4:57 PM, James C. Sutherland wrote:



On Sep 23, 2009, at 8:50 AM, Stefano Baroni wrote:

Hi All. It seems that having a version of LyX working poperly on OS  
X 10.6 may require some time.


Do you confirm that the only feature not working properly is  
autosave?



That has been my observation.


Thanks

Do you confirm that by disabling autosave LyX 1.6.4.1 works all  
right on MAC OS X 10.6?


No.  It seems that even by disabling autosave, LyX still attempts to  
perform autosaving and the crash still occurs.  However, this is  
little more than an annoyance since the app doesn't actually crash  
and no work is lost.


I understand, but this sounds like an annoyance that I am not ready to  
accept. I will delay for a while the upgrade to OS X 10.6. If this  
problem is not solved in a few weeks, I am afraid I will have then  to  
choose between LyX and Snow Leopard. Personally, I have the impression  
that many mac os x users will consider this a serious annoyance. Let's  
wait and see ...


Can any of the developers find a way of completely disabling autosave?  
This would seem to me an acceptable compromise. I am ready to manually  
save my own work, but not to be notified at random times that  
something is going wrong, even if (almost) everything is going all  
right ...


Thanks to all again
SB

---
Stefano Baroni - SISSADEMOCRITOS National Simulation Center -  
Trieste
http://stefano.baroni.me [+39] 040 3787 406 (tel) -528 (fax) /  
stefanobaroni (skype)


La morale est une logique de l'action comme la logique est une morale  
de la pensée - Jean Piaget


Please, if possible, don't  send me MS Word or PowerPoint attachments
Why? See:  http://www.gnu.org/philosophy/no-word-attachments.html









Re: exported latex source code

2009-09-23 Thread rgheck

On 09/23/2009 10:19 AM, David Wang wrote:

I found exported latex source (by File-Export-LaTex(plain)) is not
terribly clean. Specifically, \begin{equation} and \end{equation} in general
don't start at the first column and occupy one line each like, for example,

\begin{equation}
\mathbf{y} = \mathbf{A} \cdot \mathbf{x}
\end{equation}

Instead they are embedded in plain text and can appear anywhere within a
line. This reduces the code readability when I need to modify latex source
directly.

So my question is, how to make Lyx export latex source of clearer format?
Did I miss anything simple?

   
This is probably a bug. The exported code is meant to be clean, in 
this sense, and we do our best e.g. to break the lines at 80 characters, 
etc, etc. So you should report this on the bug tracker. It's probably an 
easy fix. I'm not sure, though, because there is a need here to make 
sure we don't out output too many newlines. I.e., this is OK:

blah blah blah
\begin{equation}
...
but we do not want:
blah blah blah

\begin{equation}
...
At least, we do not want that, unless the user specifically requests it. 
So it may be that this is a kind of safety valve.


Anyway, report it on trac (http://www.lyx.org/trac), and someone can 
have a look.


Until then, you might write use a trivial perl script to clean this up:

while () {
if (/(.+)(\\begin{equation}.*)/) { print $1\n$2; }
else { print; }
}

Obviously, sed can work here, too, etc. Perl works for me.

Richard



Re: LyX 1.6.4.1 and Snow Leopard

2009-09-23 Thread James C. Sutherland




Do you confirm that by disabling autosave LyX 1.6.4.1 works all  
right on MAC OS X 10.6?


No.  It seems that even by disabling autosave, LyX still attempts  
to perform autosaving and the crash still occurs.  However, this  
is little more than an annoyance since the app doesn't actually  
crash and no work is lost.


I understand, but this sounds like an annoyance that I am not ready  
to accept. I will delay for a while the upgrade to OS X 10.6. If  
this problem is not solved in a few weeks, I am afraid I will have  
then  to choose between LyX and Snow Leopard. Personally, I have the  
impression that many mac os x users will consider this a serious  
annoyance. Let's wait and see ...


Can any of the developers find a way of completely disabling  
autosave? This would seem to me an acceptable compromise. I am ready  
to manually save my own work, but not to be notified at random times  
that something is going wrong, even if (almost) everything is going  
all right ...


I should also point out that the crash only happens when you have  
unsaved work for a period of time.  If you are constantly saving your  
document as you type, then you will rarely experience this annoyance.


Re: LyX 1.6.4.1 and Snow Leopard

2009-09-23 Thread rgheck

On 09/23/2009 11:48 AM, Johannes Knaus wrote:

Am 23.09.2009 um 16:57 schrieb James C. Sutherland:
On Sep 23, 2009, at 8:50 AM, Stefano Baroni wrote: 


If so, would you please remind us how to disable autosave?

LyX - Preferences - Look  Feel - User Interface - Backup 
Documents every XXX Minutes


As said, you can't really disable autosave. No matter which number you 
type here, LyX does automatic saving.
I don't know if this is only a Mac specific issue or happens on all 
platforms. If so, what is the use of this preference?

What do others say?

The fix for this was committed to trunk and branch a few days ago, so 
autosave can be disabled in current 1.6.5svn. The problem was that a 
confusion between saving automatic backups and saving a backup for the 
original document had crept into the dialog somehow. So disabling 
autosave was actually disabling backups on saving.


Two suggestions to people on Snow Leopard, then. First, have people 
tried just setting the autosave time to 300? That's five hours between 
attempts and so crashes. Not perfect, but better.


Second, if you want the real fix, download and compile current branch from:
svn://svn.lyx.org/lyx/lyx-devel/branch/BRANCH_1_6_X/
I posted a longish message about how to do this a couple weeks back, and 
there's info on the wiki tool.


Third, perhaps it's worth a plea for some kind of emergency release on 
Mac OSX, as there was an emergency release (1.6.4.1) on Windows. I'll 
float that idea on devel.


Richard



\sideset command supported?

2009-09-23 Thread Manoj Rajagopalan
Hi,

  LaTeX allows the \sideset command to position superscripts and subscripts on 
the left side also. For example,

   \sideset{_a^b}{_c^d} M prints 'M' with 'a' at its lower-left, 'b' at is 
upper-left, and with 'c' and 'd' at normal subscript and superscript 
positions.

  Can this effect be invoked in LyX?

thanks,
Manoj


Re: LyX 1.6.4.1 and Snow Leopard

2009-09-23 Thread William Bray


On Sep 23, 2009, at 12:13 PM, rgheck wrote:


On 09/23/2009 11:48 AM, Johannes Knaus wrote:

Am 23.09.2009 um 16:57 schrieb James C. Sutherland:

On Sep 23, 2009, at 8:50 AM, Stefano Baroni wrote:


If so, would you please remind us how to disable autosave?

LyX - Preferences - Look  Feel - User Interface - Backup  
Documents every XXX Minutes


As said, you can't really disable autosave. No matter which number  
you type here, LyX does automatic saving.
I don't know if this is only a Mac specific issue or happens on all  
platforms. If so, what is the use of this preference?

What do others say?

The fix for this was committed to trunk and branch a few days ago,  
so autosave can be disabled in current 1.6.5svn. The problem was  
that a confusion between saving automatic backups and saving a  
backup for the original document had crept into the dialog somehow.  
So disabling autosave was actually disabling backups on saving.


Two suggestions to people on Snow Leopard, then. First, have people  
tried just setting the autosave time to 300? That's five hours  
between attempts and so crashes. Not perfect, but better.


Have tried this and it does not work. Lyx still crashes about every 5  
minutes.


Second, if you want the real fix, download and compile current  
branch from:

svn://svn.lyx.org/lyx/lyx-devel/branch/BRANCH_1_6_X/
I posted a longish message about how to do this a couple weeks back,  
and there's info on the wiki tool.


Can you explain further what you mean by real fix? Just would like  
to know before I go through the compile process.


The fix for me of late has simply to hit CMD+S  about every three  
minutes. No false crashes occur at all if I am consistent.


Third, perhaps it's worth a plea for some kind of emergency release  
on Mac OSX, as there was an emergency release (1.6.4.1) on Windows.  
I'll float that idea on devel.


Richard




Re: LyX 1.6.4.1 and Snow Leopard

2009-09-23 Thread Manveru
2009/9/23 Johannes Knaus knausli...@freenet.de

 Am 23.09.2009 um 16:57 schrieb James C. Sutherland:
 [...]

 Would it be possible --as an intermediate workaround solution-- to make
 some code changes to autosave completely disable autosave and release this
 as a MacOSX-10.6-only Lyx-version?



I would consider moving to threads instead of fork(). This may additionally
be an performance improvement on Windows, where threading is known to be
faster than splitting process into two.

I understand that could be a lot of work - I do not have time now to look at
the lyx code for fork() occurences, but for now the task could be simplified
by writing some threading code used as close as possible to fork(). It may
need moving some stuff to separate functions, and call them from thread
instead of conditional execution on fork() result.

-- 
Manveru
jabber: manv...@manveru.pl
gg: 1624001
  http://www.manveru.pl


Where to get an overview over possible key-binding commands which is not pre-defined?

2009-09-23 Thread Bjørn Liene Gundersen
Hi,

I wish to get an overview over parameters to key-bindings to all
functions in LyX, where can I find that? For instance, if I want to
make a key-binding to Insert figure float I need to search up the
key-binding float-insert and modify it to float-insert figure and
give it a short cut. What if I want to make a short-cut for Insert
Vertical Space? I tried to modify the key-binding space-insert to
space-insert vertical but it didn't work for me, how to do that, how
can I get an overview on how to do it in similar situations? Does it
exist a map of possible key-bindings commands?

Thanks and best regards
Bjørn Liene Gundersen


Re: \sideset command supported?

2009-09-23 Thread Paul A. Rubin

Manoj Rajagopalan wrote:

Hi,

  LaTeX allows the \sideset command to position superscripts and subscripts on 
the left side also. For example,


   \sideset{_a^b}{_c^d} M prints 'M' with 'a' at its lower-left, 'b' at is 
upper-left, and with 'c' and 'd' at normal subscript and superscript 
positions.


  Can this effect be invoked in LyX?



\sideset wants to be followed by an operator -- do you have a way to 
convince LaTeX 'M' is an operator?  I get an error message when I try 
the above.


That said, \sideset{_a^b}{_c^d}\prod works in LyX -- the formula does 
not look right in the GUI (meaning that LyX will not translate \sideset 
into the appropriate visual effects) but the DVI/PDF output will be 
correct.  (If you turn on instant preview for formulas, it will show up 
in the GUI as well.)  Entering it is a bit finicky, but not too hard. 
Starting inside a math inset, the keystrokes are as follows (` indicates 
a space):


1. \sideset`  (appears verbatim in the math inset -- should change font 
after the space is entered)

2. \{  (creates both opening and closing braces)
3. _a`^b`
4. (cursor out of the braces but stay inside the inset)
5. \{
6. _c`^d`
7. (cursor out of the braces but stay inside the inset)
8. \prod`

/Paul



Re: \sideset command supported?

2009-09-23 Thread Manoj Rajagopalan

Hi Paul,

  Thanks, I understand now. Earlier, I didn't know that \sideset works only 
for mathematical operators and I used 'M' just as an example. My question was 
whether there is a LyX function that supports similar rendering and if either 
this or \sideset would show up on the DVI/PDF. You've answered the latter and 
helped me understand better.

thanks,
Manoj


On Wednesday 23 September 2009 02:17:38 pm Paul A. Rubin wrote:
 Manoj Rajagopalan wrote:
  Hi,
 
LaTeX allows the \sideset command to position superscripts and
  subscripts on the left side also. For example,
 
 \sideset{_a^b}{_c^d} M prints 'M' with 'a' at its lower-left, 'b' at
  is upper-left, and with 'c' and 'd' at normal subscript and superscript
  positions.
 
Can this effect be invoked in LyX?

 \sideset wants to be followed by an operator -- do you have a way to
 convince LaTeX 'M' is an operator?  I get an error message when I try
 the above.

 That said, \sideset{_a^b}{_c^d}\prod works in LyX -- the formula does
 not look right in the GUI (meaning that LyX will not translate \sideset
 into the appropriate visual effects) but the DVI/PDF output will be
 correct.  (If you turn on instant preview for formulas, it will show up
 in the GUI as well.)  Entering it is a bit finicky, but not too hard.
 Starting inside a math inset, the keystrokes are as follows (` indicates
 a space):

 1. \sideset`  (appears verbatim in the math inset -- should change font
 after the space is entered)
 2. \{  (creates both opening and closing braces)
 3. _a`^b`
 4. (cursor out of the braces but stay inside the inset)
 5. \{
 6. _c`^d`
 7. (cursor out of the braces but stay inside the inset)
 8. \prod`

 /Paul



Re: Where to get an overview over possible key-binding commands which is not pre-defined?

2009-09-23 Thread Vincent van Ravesteijn

Bjørn Liene Gundersen schreef:

Hi,

I wish to get an overview over parameters to key-bindings to all
functions in LyX, where can I find that? For instance, if I want to
make a key-binding to Insert figure float I need to search up the
key-binding float-insert and modify it to float-insert figure and
give it a short cut. What if I want to make a short-cut for Insert
Vertical Space? I tried to modify the key-binding space-insert to
space-insert vertical but it didn't work for me, how to do that, how
can I get an overview on how to do it in similar situations? Does it
exist a map of possible key-bindings commands?

Thanks and best regards
Bjørn Liene Gundersen
  

Have a look at the LFUNs document in the menu Help-LyX Functions.

(For a vertical space enter inset-insert vspace)

Vincent


Re: LyX 1.6. ~ LaTex2RTF

2009-09-23 Thread Wilfried
rgheck rgh...@bobjweil.com wrote:

 On 09/22/2009 10:14 PM, 0 wrote:
  I've used the two links below to start using LaTeX 2 RTF:
  http://wiki.lyx.org/Tips/ExportingRichTextFormatWithLaTeX2rtf#toc2
  http://latex2rtf.sourceforge.net/
 
  Rich Text Format appeared in export list. But it does not work, and says
  LyX: Cannot convert file
  An error occurred whilst running latex2rt -p -S -o newfile2.rtf
  newfile2.tex
 
  What can I do?
 
  --
  OS: Windows XP
  LyX: 1.6.4
 
 
 
 Can someone on Windows explain to O here how to run latex2rt from a 
 terminal? We need more error messages.

OK, here we go. 
I start pointing to problems which had already hit other users.

1. You (0) wrote that you used the links given.
But the first link contains several alternative descriptions how to
install latex2rtf. So: How and in which folder did you actually install
latex2rtf? 

2. How long (number of characters) is the full path to the folder where
your newfile2.tex is stored? Because latex2rt.exe uses a dos prompt,
the maximum length (including newfile2.tex) is about 256 characters,
and there also is a limitation on the number of folder nesting depth
(which I can't remember just now).

3. Which version of latex2rtf? Open a command prompt and type the
command (use the folder in which you installed it, and if the path
contains blanks as below, include it in double quotes as shown):
C:\Program Files\latex2rtf\latex2rt -version
latex2rtf should display the version info. If not, something is wrong
with the installation. 

4. If (3) displayed the version info correctly, add 
-P C:/Progra~1/latex2rtf
to the latex2rtf options in LyX. 
Does it work now?

Wilfried



No PDF preview in LyX: Error converting to loadable format

2009-09-23 Thread Bjørn Liene Gundersen
Hi,

I allow myself to ask the lyx user list one more question before I
become an expert :-) I am using LyX 1.6.4, the Complete Alternative
Windows installation. When I insert PDF document in a figure float,
LyX gives me the message Error converting to loadable format. I have
entered the Tools-Preferences
dialog and the Converters pane, but no luck here. Is there a way to
get around this problem or is it simply a bug?

Best regards Bjørn Liene Gundersen


Some words in Hebrew

2009-09-23 Thread jbutzu

Hi there.  I am typing an article for a blog and need to insert a couple of
words in Hebrew.  What is the easiest process to do this?  I have fonts that
I have used in other programs already installed om my computer.  Also I
selected Hebrew in the install package... I forget whether this was for a
dictionary though or something else.  Responses would be greatly
appreciated!

Thank you in advance.
John
-- 
View this message in context: 
http://n2.nabble.com/Some-words-in-Hebrew-tp3702768p3702768.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: lyx make error on ubuntu feisty 7.04

2009-09-23 Thread Enrico Forestieri
BuZZ-dEE writes:

 Hello, I want to install lyx-1.6.4.1 from source but i get an error 
 during make. configure before was successfull. i want to install lyx in 
 a non-standard directory. further i have the newest qt version installed 
 from source in a non-standard directory.
 
 what can i do now?
[...]
 checking for QT4_CORE... yes
 checking for QT4_FRONTEND... yes
 checking for moc-qt4... /usr/bin/moc-qt4
 checking for uic-qt4... /usr/bin/uic-qt4
 checking for rcc-qt4... no
 checking for rcc... /home/schlatow/Programme/bin/rcc

The configure script is using the system moc and uic. This is because
moc-qt4 and uic-qt4 are tried first and I bet they are the Qt 4.2 versions.
In the /home/schlatow/Programme/bin directory you should have moc and uic,
so try renaming them as moc-qt4 and uic-qt4 and reconfigure. If that does
not help, try using --with-qt4-dir=/home/schlatow/Programme with the
configure command. If it still fails, rename /usr/bin/moc-qt4 and
/usr/bin/uic-qt4 as /usr/bin/moc-qt4.old and /usr/bin/uic-qt4.old,
for example. Now it should definitely work.

-- 
Enrico



Re: Some words in Hebrew

2009-09-23 Thread Daniel Owens

John,

I use XeTeX instead of LaTeX for Hebrew because it allows me to use any 
font installed on my system. If you type in unicode (utf8) and use a 
unicode font, this works well. I don't know about legacy fonts. I know 
there is some support for Hebrew aside from what I have mentioned, but I 
am unfamiliar with it.


In your preamble put this:

\usepackage{fontspec}

\usepackage{xltxtra}

\usepackage{bidi}

\newfontfamily\hebrewfont[Script=Hebrew]{your font installed on your 
system}


\newenvironment{hebrew}{\setRL\hebrewfont}{\setLR}

\newcommand{\he}[1]{\RL{\hebrewfont #1}}


To include Hebrew, type:

\he{Hebrew text}

or

\begin{hebrew}

Hebrew text

\end{hebrew}

Since I am mainly dealing with biblical Hebrew, I use SBL Hebrew for my 
font, but you can choose any font on your system when you compile with 
XeTeX. Google for how to set up LyX to use XeTeX. It's not that complicated.


Daniel

jbutzu wrote:

Hi there.  I am typing an article for a blog and need to insert a couple of
words in Hebrew.  What is the easiest process to do this?  I have fonts that
I have used in other programs already installed om my computer.  Also I
selected Hebrew in the install package... I forget whether this was for a
dictionary though or something else.  Responses would be greatly
appreciated!

Thank you in advance.
John
  


lyx make error on ubuntu feisty 7.04

2009-09-23 Thread BuZZ-dEE
Hello, I want to install lyx-1.6.4.1 from source but i get an error 
during make. configure before was successfull. i want to install lyx in 
a non-standard directory. further i have the newest qt version installed 
from source in a non-standard directory.


what can i do now?
schla...@64pc27:~/Programme/src/lyx-1.6.4.1 > ./configure 
--prefix=/home/schlatow/Programme/
configuring LyX version 1.6.4.1
checking for build type... release
checking for version suffix... 
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking what packaging should be used... posix
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for a Python interpreter with version >= 2.3.4... python
checking for python... /usr/bin/python
checking for python version... 2.5
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.5/site-packages
checking for python extension module directory... 
${exec_prefix}/lib/python2.5/site-packages
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for AIX... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether byte ordering is bigendian... no
checking what frontend should be used for the GUI... qt4
checking for a good enough C++ compiler... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for gcc... gcc
checking whether we are using the GNU Objective C compiler... yes
checking whether gcc accepts -g... yes
checking dependency style of gcc... gcc3
checking dependency style of gcc... (cached) gcc3
checking for extra library directory... NONE
checking for extra include directory... NONE
checking for extra lib+include directory... NONE
checking for main in -lshlwapi... no
checking for main in -lpsapi... no
checking for main in -lgdi32... no
checking for main in -lAiksaurus... no
checking Aiksaurus.h usability... no
checking Aiksaurus.h presence... no
checking for Aiksaurus.h... no
checking Aiksaurus/Aiksaurus.h usability... no
checking Aiksaurus/Aiksaurus.h presence... no
checking for Aiksaurus/Aiksaurus.h... no
checking whether to use boost included library... yes
checking for wchar_t... yes
checking size of wchar_t... 4
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared 
libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared 

Re: LyX 1.6.4.1 and Snow Leopard

2009-09-23 Thread Jean-Marc Lasgouttes
Christian Liesen  writes:
>> I hope you're not holding your breath. We really don't have any LyX
>> developers on Mac, and we'd welcome anyone with expertise who could
>> help out here. (I'm able to package up the binaries, but that's far
>> from being a developer.)
>>
>
> What exactly would a LyX developer on Mac need to know? I'm just curious.

How to do a fork() properly.

JMarc


Re: lyx make error on ubuntu feisty 7.04

2009-09-23 Thread Manveru
2009/9/23 BuZZ-dEE 

> Hello, I want to install lyx-1.6.4.1 from source but i get an error during
> make. configure before was successfull. i want to install lyx in a
> non-standard directory. further i have the newest qt version installed from
> source in a non-standard directory.
>
> what can i do now?
>
> schla...@64pc27:~/Programme/src/lyx-1.6.4.1 > ./configure
> --prefix=/home/schlatow/Programme/
> [...]
>
> schla...@64pc27:~/Programme/src/lyx-1.6.4.1 > make
> [...]
> In file included from SignalSlotPrivate.cpp:15:
> SignalSlotPrivate_moc.cpp:14:2: error: #error "This file was generated
> using the moc from 4.2.3. It"
> SignalSlotPrivate_moc.cpp:15:2: error: #error "cannot be used with the
> include files from this version of Qt."
> SignalSlotPrivate_moc.cpp:16:2: error: #error "(The moc has changed too
> much.)"
> [...]
>
>
>
Too new QT?

-- 
Manveru
jabber: manv...@manveru.pl
gg: 1624001
  http://www.manveru.pl


RE: lyx make error on ubuntu feisty 7.04

2009-09-23 Thread Vincent van Ravesteijn - TNW
 
>Hello, I want to install lyx-1.6.4.1 from source but i get
>an error during make. configure before was successfull. I
>want to install lyx in a non-standard directory. further i
>have the newest qt version installed from source in a non-
>standard directory.
>
>what can i do now?
>


In file included from SignalSlotPrivate.cpp:15:
SignalSlotPrivate_moc.cpp:14:2: error: #error "This file was generated
using the moc from 4.2.3. It"
SignalSlotPrivate_moc.cpp:15:2: error: #error "cannot be used with the
include files from this version of Qt."
SignalSlotPrivate_moc.cpp:16:2: error: #error "(The moc has changed too
much.)"


The files that are named *_moc.cpp are deprecated. They are now called
moc_*. So, it seems that you have compiled LyX some while ago using
Qt4.2.3.

I think that if you remove the *_moc.cpp files, it will compile.

Vincent


Re: LyX 1.6.4.1 and Snow Leopard

2009-09-23 Thread Julio Rojas
Not properly, but according to Snow Leopard standards!!! :P
-
Julio Rojas
jcredbe...@gmail.com



On Wed, Sep 23, 2009 at 10:11 AM, Jean-Marc Lasgouttes
 wrote:
> Christian Liesen  writes:
>>> I hope you're not holding your breath. We really don't have any LyX
>>> developers on Mac, and we'd welcome anyone with expertise who could
>>> help out here. (I'm able to package up the binaries, but that's far
>>> from being a developer.)
>>>
>>
>> What exactly would a LyX developer on Mac need to know? I'm just curious.
>
> How to do a fork() properly.
>
> JMarc
>


Re: lyx make error on ubuntu feisty 7.04

2009-09-23 Thread BuZZ-dEE

I have removed the *_moc.cpp but it does not work.  :(

Vincent van Ravesteijn - TNW schrieb:
 
  

Hello, I want to install lyx-1.6.4.1 from source but i get
an error during make. configure before was successfull. I
want to install lyx in a non-standard directory. further i
have the newest qt version installed from source in a non-
standard directory.

what can i do now?





In file included from SignalSlotPrivate.cpp:15:
SignalSlotPrivate_moc.cpp:14:2: error: #error "This file was generated
using the moc from 4.2.3. It"
SignalSlotPrivate_moc.cpp:15:2: error: #error "cannot be used with the
include files from this version of Qt."
SignalSlotPrivate_moc.cpp:16:2: error: #error "(The moc has changed too
much.)"


The files that are named *_moc.cpp are deprecated. They are now called
moc_*. So, it seems that you have compiled LyX some while ago using
Qt4.2.3.

I think that if you remove the *_moc.cpp files, it will compile.

Vincent
  


Re: No address in koma-letter

2009-09-23 Thread M-L
On Tue, 22 Sep 2009 13:51:10 +0200 Nicolas Ferré
 shared this with is all on the Lyx
users list:

>Hi,
>
>I just wrote a generic recommendation letter using the Koma-v2 letter 
>class. In this letter, I don't put any address field, however the 
>produced output shows a large blank spacing between the "from address" 
>field and the date. How can I reduce this spacing?
>
>Regards,
>-- 
>Nicolas Ferre'

This might help? Add in preamble:

%% Load an *.lco style file (see KOMA documentation)
%%\LoadLetterOption{DIN}%  

% vertical position of the address field
\...@addtoplength{toaddrvpos}{5mm}
% space between ref line and letter text
\...@setplength{refaftervskip}{1cm}

Also set Document settings -> Page Margin -> Foot skip to -2

Play around with it to make it suit your needs.

HTH
Charlie

-- 
Registered Linux User:- 329524
***
Behave so the aroma of your actions may enhance the general sweetness
of the atmosphere. ...Henry David
Thoreau

***
Debian GNU/Linux - just the best way to create magic
___


Forced floats to stay in their subsection in my "Results section"?

2009-09-23 Thread NanoPete

Hello, I'm writing my masterthesis in lyx and are having problems in my
results section. 
In this section I have a lot of figures (float figures) and I really want
them to stay within their subsection here eventhough there's not much text
compared to amount of floats.

Is there any good solution to handle floats in such a results
section/chapter?
I've tried setting floats to "here definitely" but those little bandits
still just jump aheard into the next section...

Thank you for any help

Best regards

Peter Jakobsen
-- 
View this message in context: 
http://n2.nabble.com/Forced-floats-to-stay-in-their-subsection-in-my-Results-section-tp3699321p3699321.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: Forced floats to stay in their subsection in my "Results section"?

2009-09-23 Thread Florian Rubach

> 
[snip]

> I have a lot of figures (float figures) and I really want
> them to stay within their subsection here eventhough there's not much 
> text
> compared to amount of floats.
> 
> Is there any good solution to handle floats in such a results
> section/chapter?
There is a LaTeX-package called placeins 
(http://www.ctan.org/tex-archive/help/Catalogue/entries/placeins.html), 
which provides the command \FloatBarrier, so that floats entered between 
two of those commands do appear between them. If you need more specific 
help, please say so.

> Best regards
> 
> Peter Jakobsen
Likewise,

Florian


> 
-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01


Re: LyX 1.6. ~ LaTex2RTF

2009-09-23 Thread rgheck

On 09/22/2009 10:14 PM, 0 wrote:

I've used the two links below to start using LaTeX 2 RTF:
http://wiki.lyx.org/Tips/ExportingRichTextFormatWithLaTeX2rtf#toc2
http://latex2rtf.sourceforge.net/

"Rich Text Format" appeared in export list. But it does not work, and says
LyX: Cannot convert file
An error occurred whilst running latex2rt -p -S -o "newfile2.rtf"
"newfile2.tex"

What can I do?

--
OS: Windows XP
LyX: 1.6.4


   
Can someone on Windows explain to O here how to run latex2rt from a 
terminal? We need more error messages.


rh






Re: lyx make error on ubuntu feisty 7.04

2009-09-23 Thread rgheck

On 09/23/2009 05:27 AM, Vincent van Ravesteijn - TNW wrote:


   

Hello, I want to install lyx-1.6.4.1 from source but i get
an error during make. configure before was successfull. I
want to install lyx in a non-standard directory. further i
have the newest qt version installed from source in a non-
standard directory.

what can i do now?

 


In file included from SignalSlotPrivate.cpp:15:
SignalSlotPrivate_moc.cpp:14:2: error: #error "This file was generated
using the moc from 4.2.3. It"
SignalSlotPrivate_moc.cpp:15:2: error: #error "cannot be used with the
include files from this version of Qt."
SignalSlotPrivate_moc.cpp:16:2: error: #error "(The moc has changed too
much.)"


The files that are named *_moc.cpp are deprecated. They are now called
moc_*. So, it seems that you have compiled LyX some while ago using
Qt4.2.3.

I think that if you remove the *_moc.cpp files, it will compile.

   

I've seen this error myself. make clean && make distclean, then start over.

rh



Re: Forced floats to stay in their subsection in my "Results section"?

2009-09-23 Thread NanoPete

I'll just post the answear I got on mail from Florian, so that if others come
to this page they will also find the answer. 
Thank you Florian, very much helpfull.

Florian:
There is a LaTeX-package called placeins
(http://www.ctan.org/tex-archive/help/Catalogue/entries/placeins.html),
which provides the command \FloatBarrier, so that floats entered between two
of those commands do appear between them.

In case you don't know, you can add \usepackage{placeins} to your 
document preamble and insert \FloatBarrier at any point you want in 
TeX-Code (crtl+L or cmd+L)



(last part is actually an earliere answer also from Florian, which I also
found useful:)


NanoPete wrote:
> 
> Hello, I'm writing my masterthesis in lyx and are having problems in my
> results section. 
> In this section I have a lot of figures (float figures) and I really want
> them to stay within their subsection here eventhough there's not much text
> compared to amount of floats.
> 
> Is there any good solution to handle floats in such a results
> section/chapter?
> I've tried setting floats to "here definitely" but those little bandits
> still just jump aheard into the next section...
> 
> Thank you for any help
> 
> Best regards
> 
> Peter Jakobsen
> 

-- 
View this message in context: 
http://n2.nabble.com/Forced-floats-to-stay-in-their-subsection-in-my-Results-section-tp3699321p3699686.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Import noweb file into LyX - How to make it work in Debian/GNU Linux?

2009-09-23 Thread Arto
Dear LyX Experts,

I am stuck with a problem that seems to have been sorted out a few years
ago (ticket 3004). The case was about lyx not being able to import a .nw 
(noweb) file, previously exported by lyx from a respective .lyx file (to test 
the noweb import function). 

The result of the import test was reported to be a garbled .lyx file, and 
that's just what I have encountered.
The ticket mentions that a particular user preferences were the culprit, but 
the details have been lost in the mists of time.

I am currently running Debian (Squeeze) and Lyx 1.6.4, installed from .deb 
packages, in two machines. They both share this "feature".

I have tried out e.g. /usr/share/lyx/examples/Literate.lyx, converted it to .nw 
with lyx, then back with $tex2lyx -n -f Literate.nw (using lyx and straight 
from the command line, also with option -c "literate-article"). No luck...
I checked that the tex2lyx binary was replaced when updating to 1.6.4 (it has 
not worked properly in earlier lyx versions either).

I did not notice anything amiss with the .nw file with emacs. When I looked at 
the imported .lyx file it seemed that tex2lyx did not 
recognise "<>=", signalling the start of the code chunk, and act 
accordingly (=apply scrap style to the code chunks). That kind of code seems to 
be in place, however, in
http://www.lyx.org/trac/browser/lyx-devel/branches/BRANCH_1_6_X/src/tex2
lyx/text.cpp.

To my knowledge I have not fooled around with the literate format preferences, 
and when I checked them they were defaults (peeked also 
in /usr/share/lyx/preferences, no funny lines there).

http://wiki.lyx.org/Tools/Noweb discusses many tricky issues but not this one.

The solution evades me. Please tell what the cure could be,

Thanks in advance,

Arto





exported latex source code

2009-09-23 Thread David Wang
Hello,


I'm fairly new to Lyx.

I found exported latex source (by File->Export->LaTex(plain)) is not
terribly clean. Specifically, \begin{equation} and \end{equation} in general
don't start at the first column and occupy one line each like, for example,

\begin{equation}
\mathbf{y} = \mathbf{A} \cdot \mathbf{x}
\end{equation}

Instead they are embedded in plain text and can appear anywhere within a
line. This reduces the code readability when I need to modify latex source
directly.

So my question is, how to make Lyx export latex source of clearer format?
Did I miss anything simple?

Thanks,
David

-- 
turn and live.


Re: Forced floats to stay in their subsection in my "Results section"?

2009-09-23 Thread James C. Sutherland


On Sep 23, 2009, at 6:42 AM, NanoPete wrote:



Hello, I'm writing my masterthesis in lyx and are having problems in  
my

results section.
In this section I have a lot of figures (float figures) and I really  
want
them to stay within their subsection here eventhough there's not  
much text

compared to amount of floats.

Is there any good solution to handle floats in such a results
section/chapter?
I've tried setting floats to "here definitely" but those little  
bandits

still just jump aheard into the next section...


You could also try
 Insert -> Formatting -> Clear Page
This will force all remaining floats to be placed before the  
subsequent text.


Re: LyX 1.6.4.1 and Snow Leopard

2009-09-23 Thread Stefano Baroni
Hi All. It seems that having a version of LyX working poperly on OS X  
10.6 may require some time.


Do you confirm that the only feature not working properly is autosave?

Do you confirm that by disabling autosave LyX 1.6.4.1 works all right  
on MAC OS X 10.6?


If so, would you please remind us how to disable autosave?

Thansk to all,
SB

On Sep 23, 2009, at 12:09 PM, Julio Rojas wrote:


Not properly, but according to Snow Leopard standards!!! :P
-
Julio Rojas
jcredbe...@gmail.com



On Wed, Sep 23, 2009 at 10:11 AM, Jean-Marc Lasgouttes
 wrote:

Christian Liesen  writes:

I hope you're not holding your breath. We really don't have any LyX
developers on Mac, and we'd welcome anyone with expertise who could
help out here. (I'm able to package up the binaries, but that's far
from being a developer.)



What exactly would a LyX developer on Mac need to know? I'm just  
curious.


How to do a fork() properly.

JMarc



---
Stefano Baroni - SISSA  &  DEMOCRITOS National Simulation Center -  
Trieste
http://stefano.baroni.me [+39] 040 3787 406 (tel) -528 (fax) /  
stefanobaroni (skype)


La morale est une logique de l'action comme la logique est une morale  
de la pensée - Jean Piaget


Please, if possible, don't  send me MS Word or PowerPoint attachments
Why? See:  http://www.gnu.org/philosophy/no-word-attachments.html









Re: LyX 1.6.4.1 and Snow Leopard

2009-09-23 Thread James C. Sutherland


On Sep 23, 2009, at 8:50 AM, Stefano Baroni wrote:

Hi All. It seems that having a version of LyX working poperly on OS  
X 10.6 may require some time.


Do you confirm that the only feature not working properly is autosave?


That has been my observation.


Do you confirm that by disabling autosave LyX 1.6.4.1 works all  
right on MAC OS X 10.6?


No.  It seems that even by disabling autosave, LyX still attempts to  
perform autosaving and the "crash" still occurs.  However, this is  
little more than an annoyance since the app doesn't actually crash and  
no work is lost.


If so, would you please remind us how to disable autosave?

LyX -> Preferences -> Look & Feel -> User Interface -> "Backup  
Documents every XXX Minutes"


Re: LyX 1.6.4.1 and Snow Leopard

2009-09-23 Thread Johannes Knaus

Am 23.09.2009 um 16:57 schrieb James C. Sutherland:

On Sep 23, 2009, at 8:50 AM, Stefano Baroni wrote:

Hi All. It seems that having a version of LyX working poperly on OS  
X 10.6 may require some time.


Do you confirm that the only feature not working properly is  
autosave?



That has been my observation.


So was mine.



Do you confirm that by disabling autosave LyX 1.6.4.1 works all  
right on MAC OS X 10.6?


No.  It seems that even by disabling autosave, LyX still attempts to  
perform autosaving and the "crash" still occurs.  However, this is  
little more than an annoyance since the app doesn't actually crash  
and no work is lost.


IMHO it is a little more than annoyance, as the crash notification  
window always pops up having focus.
That is, it is selected and in front of the text I'm writing on. So  
that's really a heavy interruption during writing.




If so, would you please remind us how to disable autosave?

LyX -> Preferences -> Look & Feel -> User Interface -> "Backup  
Documents every XXX Minutes"


As said, you can't really disable autosave. No matter which number you  
type here, LyX does automatic saving.
I don't know if this is only a Mac specific issue or happens on all  
platforms. If so, what is the use of this preference?

What do others say?

Would it be possible --as an intermediate workaround solution-- to  
make some code changes to autosave completely disable autosave and  
release this as a MacOSX-10.6-only Lyx-version?


Johannes







Re: LyX 1.6.4.1 and Snow Leopard

2009-09-23 Thread Stefano Baroni


On Sep 23, 2009, at 4:57 PM, James C. Sutherland wrote:



On Sep 23, 2009, at 8:50 AM, Stefano Baroni wrote:

Hi All. It seems that having a version of LyX working poperly on OS  
X 10.6 may require some time.


Do you confirm that the only feature not working properly is  
autosave?



That has been my observation.


Thanks

Do you confirm that by disabling autosave LyX 1.6.4.1 works all  
right on MAC OS X 10.6?


No.  It seems that even by disabling autosave, LyX still attempts to  
perform autosaving and the "crash" still occurs.  However, this is  
little more than an annoyance since the app doesn't actually crash  
and no work is lost.


I understand, but this sounds like an annoyance that I am not ready to  
accept. I will delay for a while the upgrade to OS X 10.6. If this  
problem is not solved in a few weeks, I am afraid I will have then  to  
choose between LyX and Snow Leopard. Personally, I have the impression  
that many mac os x users will consider this a serious annoyance. Let's  
wait and see ...


Can any of the developers find a way of completely disabling autosave?  
This would seem to me an acceptable compromise. I am ready to manually  
save my own work, but not to be notified at random times that  
something is going wrong, even if (almost) everything is going all  
right ...


Thanks to all again
SB

---
Stefano Baroni - SISSA  &  DEMOCRITOS National Simulation Center -  
Trieste
http://stefano.baroni.me [+39] 040 3787 406 (tel) -528 (fax) /  
stefanobaroni (skype)


La morale est une logique de l'action comme la logique est une morale  
de la pensée - Jean Piaget


Please, if possible, don't  send me MS Word or PowerPoint attachments
Why? See:  http://www.gnu.org/philosophy/no-word-attachments.html









Re: exported latex source code

2009-09-23 Thread rgheck

On 09/23/2009 10:19 AM, David Wang wrote:

I found exported latex source (by File->Export->LaTex(plain)) is not
terribly clean. Specifically, \begin{equation} and \end{equation} in general
don't start at the first column and occupy one line each like, for example,

\begin{equation}
\mathbf{y} = \mathbf{A} \cdot \mathbf{x}
\end{equation}

Instead they are embedded in plain text and can appear anywhere within a
line. This reduces the code readability when I need to modify latex source
directly.

So my question is, how to make Lyx export latex source of clearer format?
Did I miss anything simple?

   
This is probably a bug. The exported code is meant to be "clean", in 
this sense, and we do our best e.g. to break the lines at 80 characters, 
etc, etc. So you should report this on the bug tracker. It's probably an 
easy fix. I'm not sure, though, because there is a need here to make 
sure we don't out output too many newlines. I.e., this is OK:

blah blah blah
\begin{equation}
...
but we do not want:
blah blah blah

\begin{equation}
...
At least, we do not want that, unless the user specifically requests it. 
So it may be that this is a kind of safety valve.


Anyway, report it on trac (http://www.lyx.org/trac), and someone can 
have a look.


Until then, you might write use a trivial perl script to clean this up:

while (<>) {
if (/(.+)(\\begin{equation}.*)/) { print "$1\n$2; }
else { print; }
}

Obviously, sed can work here, too, etc. Perl works for me.

Richard



Re: LyX 1.6.4.1 and Snow Leopard

2009-09-23 Thread James C. Sutherland




Do you confirm that by disabling autosave LyX 1.6.4.1 works all  
right on MAC OS X 10.6?


No.  It seems that even by disabling autosave, LyX still attempts  
to perform autosaving and the "crash" still occurs.  However, this  
is little more than an annoyance since the app doesn't actually  
crash and no work is lost.


I understand, but this sounds like an annoyance that I am not ready  
to accept. I will delay for a while the upgrade to OS X 10.6. If  
this problem is not solved in a few weeks, I am afraid I will have  
then  to choose between LyX and Snow Leopard. Personally, I have the  
impression that many mac os x users will consider this a serious  
annoyance. Let's wait and see ...


Can any of the developers find a way of completely disabling  
autosave? This would seem to me an acceptable compromise. I am ready  
to manually save my own work, but not to be notified at random times  
that something is going wrong, even if (almost) everything is going  
all right ...


I should also point out that the "crash" only happens when you have  
unsaved work for a period of time.  If you are constantly saving your  
document as you type, then you will rarely experience this annoyance.


Re: LyX 1.6.4.1 and Snow Leopard

2009-09-23 Thread rgheck

On 09/23/2009 11:48 AM, Johannes Knaus wrote:

Am 23.09.2009 um 16:57 schrieb James C. Sutherland:
On Sep 23, 2009, at 8:50 AM, Stefano Baroni wrote: 


If so, would you please remind us how to disable autosave?

LyX -> Preferences -> Look & Feel -> User Interface -> "Backup 
Documents every XXX Minutes"


As said, you can't really disable autosave. No matter which number you 
type here, LyX does automatic saving.
I don't know if this is only a Mac specific issue or happens on all 
platforms. If so, what is the use of this preference?

What do others say?

The fix for this was committed to trunk and branch a few days ago, so 
autosave can be disabled in current 1.6.5svn. The problem was that a 
confusion between saving automatic backups and saving a backup for the 
original document had crept into the dialog somehow. So "disabling 
autosave" was actually disabling backups on saving.


Two suggestions to people on Snow Leopard, then. First, have people 
tried just setting the autosave time to 300? That's five hours between 
attempts and so "crashes". Not perfect, but better.


Second, if you want the real fix, download and compile current branch from:
svn://svn.lyx.org/lyx/lyx-devel/branch/BRANCH_1_6_X/
I posted a longish message about how to do this a couple weeks back, and 
there's info on the wiki tool.


Third, perhaps it's worth a plea for some kind of emergency release on 
Mac OSX, as there was an emergency release (1.6.4.1) on Windows. I'll 
float that idea on devel.


Richard



\sideset command supported?

2009-09-23 Thread Manoj Rajagopalan
Hi,

  LaTeX allows the \sideset command to position superscripts and subscripts on 
the left side also. For example,

   \sideset{_a^b}{_c^d} M prints 'M' with 'a' at its lower-left, 'b' at is 
upper-left, and with 'c' and 'd' at normal subscript and superscript 
positions.

  Can this effect be invoked in LyX?

thanks,
Manoj


Re: LyX 1.6.4.1 and Snow Leopard

2009-09-23 Thread William Bray


On Sep 23, 2009, at 12:13 PM, rgheck wrote:


On 09/23/2009 11:48 AM, Johannes Knaus wrote:

Am 23.09.2009 um 16:57 schrieb James C. Sutherland:

On Sep 23, 2009, at 8:50 AM, Stefano Baroni wrote:


If so, would you please remind us how to disable autosave?

LyX -> Preferences -> Look & Feel -> User Interface -> "Backup  
Documents every XXX Minutes"


As said, you can't really disable autosave. No matter which number  
you type here, LyX does automatic saving.
I don't know if this is only a Mac specific issue or happens on all  
platforms. If so, what is the use of this preference?

What do others say?

The fix for this was committed to trunk and branch a few days ago,  
so autosave can be disabled in current 1.6.5svn. The problem was  
that a confusion between saving automatic backups and saving a  
backup for the original document had crept into the dialog somehow.  
So "disabling autosave" was actually disabling backups on saving.


Two suggestions to people on Snow Leopard, then. First, have people  
tried just setting the autosave time to 300? That's five hours  
between attempts and so "crashes". Not perfect, but better.


Have tried this and it does not work. Lyx still crashes about every 5  
minutes.


Second, if you want the real fix, download and compile current  
branch from:

svn://svn.lyx.org/lyx/lyx-devel/branch/BRANCH_1_6_X/
I posted a longish message about how to do this a couple weeks back,  
and there's info on the wiki tool.


Can you explain further what you mean by "real fix"? Just would like  
to know before I go through the compile process.


The fix for me of late has simply to hit CMD+S  about every three  
minutes. No false crashes occur at all if I am consistent.


Third, perhaps it's worth a plea for some kind of emergency release  
on Mac OSX, as there was an emergency release (1.6.4.1) on Windows.  
I'll float that idea on devel.


Richard




Re: LyX 1.6.4.1 and Snow Leopard

2009-09-23 Thread Manveru
2009/9/23 Johannes Knaus 

> Am 23.09.2009 um 16:57 schrieb James C. Sutherland:
> [...]
>
> Would it be possible --as an intermediate workaround solution-- to make
> some code changes to autosave completely disable autosave and release this
> as a MacOSX-10.6-only Lyx-version?
>
>
>
I would consider moving to threads instead of fork(). This may additionally
be an performance improvement on Windows, where threading is known to be
faster than splitting process into two.

I understand that could be a lot of work - I do not have time now to look at
the lyx code for fork() occurences, but for now the task could be simplified
by writing some threading code used as close as possible to fork(). It may
need moving some stuff to separate functions, and call them from thread
instead of conditional execution on fork() result.

-- 
Manveru
jabber: manv...@manveru.pl
gg: 1624001
  http://www.manveru.pl


Where to get an overview over possible key-binding commands which is not pre-defined?

2009-09-23 Thread Bjørn Liene Gundersen
Hi,

I wish to get an overview over parameters to key-bindings to all
functions in LyX, where can I find that? For instance, if I want to
make a key-binding to "Insert figure float" I need to search up the
key-binding "float-insert" and modify it to "float-insert figure" and
give it a short cut. What if I want to make a short-cut for Insert
Vertical Space? I tried to modify the key-binding "space-insert" to
"space-insert vertical" but it didn't work for me, how to do that, how
can I get an overview on how to do it in similar situations? Does it
exist a map of possible key-bindings commands?

Thanks and best regards
Bjørn Liene Gundersen


Re: \sideset command supported?

2009-09-23 Thread Paul A. Rubin

Manoj Rajagopalan wrote:

Hi,

  LaTeX allows the \sideset command to position superscripts and subscripts on 
the left side also. For example,


   \sideset{_a^b}{_c^d} M prints 'M' with 'a' at its lower-left, 'b' at is 
upper-left, and with 'c' and 'd' at normal subscript and superscript 
positions.


  Can this effect be invoked in LyX?



\sideset wants to be followed by an operator -- do you have a way to 
convince LaTeX 'M' is an operator?  I get an error message when I try 
the above.


That said, \sideset{_a^b}{_c^d}\prod works in LyX -- the formula does 
not look right in the GUI (meaning that LyX will not translate \sideset 
into the appropriate visual effects) but the DVI/PDF output will be 
correct.  (If you turn on instant preview for formulas, it will show up 
in the GUI as well.)  Entering it is a bit finicky, but not too hard. 
Starting inside a math inset, the keystrokes are as follows (` indicates 
a space):


1. \sideset`  (appears verbatim in the math inset -- should change font 
after the space is entered)

2. \{  (creates both opening and closing braces)
3. _a`^b`
4. (cursor out of the braces but stay inside the inset)
5. \{
6. _c`^d`
7. (cursor out of the braces but stay inside the inset)
8. \prod`

/Paul



Re: \sideset command supported?

2009-09-23 Thread Manoj Rajagopalan

Hi Paul,

  Thanks, I understand now. Earlier, I didn't know that \sideset works only 
for mathematical operators and I used 'M' just as an example. My question was 
whether there is a LyX function that supports similar rendering and if either 
this or \sideset would show up on the DVI/PDF. You've answered the latter and 
helped me understand better.

thanks,
Manoj


On Wednesday 23 September 2009 02:17:38 pm Paul A. Rubin wrote:
> Manoj Rajagopalan wrote:
> > Hi,
> >
> >   LaTeX allows the \sideset command to position superscripts and
> > subscripts on the left side also. For example,
> >
> >\sideset{_a^b}{_c^d} M prints 'M' with 'a' at its lower-left, 'b' at
> > is upper-left, and with 'c' and 'd' at normal subscript and superscript
> > positions.
> >
> >   Can this effect be invoked in LyX?
>
> \sideset wants to be followed by an operator -- do you have a way to
> convince LaTeX 'M' is an operator?  I get an error message when I try
> the above.
>
> That said, \sideset{_a^b}{_c^d}\prod works in LyX -- the formula does
> not look right in the GUI (meaning that LyX will not translate \sideset
> into the appropriate visual effects) but the DVI/PDF output will be
> correct.  (If you turn on instant preview for formulas, it will show up
> in the GUI as well.)  Entering it is a bit finicky, but not too hard.
> Starting inside a math inset, the keystrokes are as follows (` indicates
> a space):
>
> 1. \sideset`  (appears verbatim in the math inset -- should change font
> after the space is entered)
> 2. \{  (creates both opening and closing braces)
> 3. _a`^b`
> 4. (cursor out of the braces but stay inside the inset)
> 5. \{
> 6. _c`^d`
> 7. (cursor out of the braces but stay inside the inset)
> 8. \prod`
>
> /Paul



Re: Where to get an overview over possible key-binding commands which is not pre-defined?

2009-09-23 Thread Vincent van Ravesteijn

Bjørn Liene Gundersen schreef:

Hi,

I wish to get an overview over parameters to key-bindings to all
functions in LyX, where can I find that? For instance, if I want to
make a key-binding to "Insert figure float" I need to search up the
key-binding "float-insert" and modify it to "float-insert figure" and
give it a short cut. What if I want to make a short-cut for Insert
Vertical Space? I tried to modify the key-binding "space-insert" to
"space-insert vertical" but it didn't work for me, how to do that, how
can I get an overview on how to do it in similar situations? Does it
exist a map of possible key-bindings commands?

Thanks and best regards
Bjørn Liene Gundersen
  

Have a look at the LFUNs document in the menu Help->LyX Functions.

(For a vertical space enter "inset-insert vspace")

Vincent


Re: LyX 1.6. ~ LaTex2RTF

2009-09-23 Thread Wilfried
rgheck  wrote:

> On 09/22/2009 10:14 PM, 0 wrote:
> > I've used the two links below to start using LaTeX 2 RTF:
> > http://wiki.lyx.org/Tips/ExportingRichTextFormatWithLaTeX2rtf#toc2
> > http://latex2rtf.sourceforge.net/
> >
> > "Rich Text Format" appeared in export list. But it does not work, and says
> > LyX: Cannot convert file
> > An error occurred whilst running latex2rt -p -S -o "newfile2.rtf"
> > "newfile2.tex"
> >
> > What can I do?
> >
> > --
> > OS: Windows XP
> > LyX: 1.6.4
> >
> >
> >
> Can someone on Windows explain to O here how to run latex2rt from a 
> terminal? We need more error messages.

OK, here we go. 
I start pointing to problems which had already hit other users.

1. You ("0") wrote that you "used" the links given.
But the first link contains several alternative descriptions how to
install latex2rtf. So: How and in which folder did you actually install
latex2rtf? 

2. How long (number of characters) is the full path to the folder where
your "newfile2.tex" is stored? Because latex2rt.exe uses a dos prompt,
the maximum length (including "newfile2.tex") is about 256 characters,
and there also is a limitation on the number of folder nesting depth
(which I can't remember just now).

3. Which version of latex2rtf? Open a command prompt and type the
command (use the folder in which you installed it, and if the path
contains blanks as below, include it in double quotes as shown):
"C:\Program Files\latex2rtf\latex2rt" -version
latex2rtf should display the version info. If not, something is wrong
with the installation. 

4. If (3) displayed the version info correctly, add 
-P C:/Progra~1/latex2rtf
to the latex2rtf options in LyX. 
Does it work now?

Wilfried



No PDF preview in LyX: "Error converting to loadable format"

2009-09-23 Thread Bjørn Liene Gundersen
Hi,

I allow myself to ask the lyx user list one more question before I
become an expert :-) I am using LyX 1.6.4, the Complete Alternative
Windows installation. When I insert PDF document in a figure float,
LyX gives me the message "Error converting to loadable format". I have
entered the Tools->Preferences
dialog and the Converters pane, but no luck here. Is there a way to
get around this problem or is it simply a bug?

Best regards Bjørn Liene Gundersen


Some words in Hebrew

2009-09-23 Thread jbutzu

Hi there.  I am typing an article for a blog and need to insert a couple of
words in Hebrew.  What is the easiest process to do this?  I have fonts that
I have used in other programs already installed om my computer.  Also I
selected Hebrew in the install package... I forget whether this was for a
dictionary though or something else.  Responses would be greatly
appreciated!

Thank you in advance.
John
-- 
View this message in context: 
http://n2.nabble.com/Some-words-in-Hebrew-tp3702768p3702768.html
Sent from the LyX - Users mailing list archive at Nabble.com.


  1   2   >