LyX 2: So far so good, except outlines

2010-02-25 Thread Steve Litt
Hi all,

So I svn'ed LyX 2, built it, and ran it. So far so good except outlines. I ran 
it against one of my existing books and its associated layout file and 
seealso.inc, and it worked. 

One fascinating thing is for the first time in my history with LyX, I got it 
to recognize a layout file first crack out of the box. All I had to do was put 
the correctly named .layout in the same directory as the document, and bang, 
it worked. I know 1.6.x was *advertised* to work that way, but it didn't. 
Later I'll do some experiments to see if 2.0.x really works that way every 
time, or whether I just got lucky the first time with 2.0.x.  In the past I've 
found layout recognition to be a hit or miss intermittent.

In August I put in a request for a couple improvements to LyX outline mode 
that would stratospherically launch productivity. See it here:

http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg154181.html

http://www.lyx.org/trac/ticket/6174

The enhancement described, or even something close, would enable authors to 
construct from scratch outlines within LyX, enhancing the organization and 
value of their documents. It would also limit mistakes as the author flips 
between outline view and document view. I see right now it's owned by 
"nobody", and it would be wonderful if it could be addressed. If the 
enhancement as I described it is too difficult to code in time for release, I 
can work with the developer to simplify the enhancement while still retaining 
its value.

Anyway, my next step will be to observe and document how all the features 
added since 1.5.x work. 1.6.x had a lot of different inserts. 1.6 has layout 
modules, which I haven't explored yet. I hear 2.0 allows you to shut off 
spellcheck in certain styles, which probably means there's LOTS of 
customization that can be done at the style level.

Anyway, thanks for the great software.

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



Re: LyX can't find CLS it has already found.

2010-02-25 Thread B. Bogart

Thanks Vincent,

I'm use Luke Simon's layout as posted on this list:

http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg75472.html

Is it no longer compatible with LyX?

After another look at -dbg debug I see:

LyX: Could not find input file: obsolete.inc [around line 515 of file 
/tmp/lyx_tmpdir.TJ5049/convert_layout.XM5049 current token: 
'obsolete.inc' context: '']
../../src/TextClass.cpp(269): Unable to convert 
/home/bbogart/.lyx/layouts/acm_proc_article-sp.layout to format 11

Error reading `~/.lyx/layouts/acm_proc_article-sp.layout'
(Check `acm_proc_article-sp')
Check your installation and try Options/Reconfigure...
Error: Could not load class

The document class acm_proc_article-sp could not be loaded.
Error: Error

Unable to set document class.

On closer inspection its clear the layout expects something called 
"obsolete.inc" which no longer exists. Everything seems to work fine 
after removing the offending line from the layout.


So the bug is invalid, it was a problem with the layout.

Thanks for your time,
B. Bogart


Vincent van Ravesteijn wrote:

B. Bogart schreef:

Hello all,

I've posted the following bug against ubuntu, in LyX 1.6.4.

https://bugs.launchpad.net/ubuntu/+source/lyx/+bug/515804

The bug report includes screenshots that illustrate the problem.

Anyone have any ideas what could be going on here?

Thanks,
B. Bogart

There is most probably an error loading the layout file, because as far 
as I know, we don't load the class file explicitly.


As you write it's a custom layout file, I think that you made an error 
in it. Can you send the layout file you made ?


Vincent



Re: What are custom insets?

2010-02-25 Thread Pavel Sanda
Rob Oakes wrote:
> And then I placed that macro in its own module.  Finally, I created a custom
> inset that would act as a float for longtables.  Here is the float

consider to contribute one such example of creating custom inset and module
to the official documentation.
pavel


raw latex commands on a lyx doc? forgotten attachment added

2010-02-25 Thread Jose Quesada
-- 
Best,
-Jose

Jose Quesada, PhD.
Max Planck Institute,
Center for Adaptive Behavior and Cognition,
Berlin
http://www.josequesada.name/
http://twitter.com/Quesada


Dx.x.tex
Description: TeX document


larkc.cls
Description: Binary data


Re: Problem using old Lyx document

2010-02-25 Thread Uwe Stöhr

Am 25.02.2010 11:03, schrieb Michael Born:


I have an 80 page lyx document from year 2000 on paper and as a .lyx
file. Now I want to create a PDF file, and have some trouble :-(
When I process the document with Lyx 1.6.4 (OpenSUSE 11.1 64bit), it is
now just 70 pages. Lyx seems to put some text outside my page format (A4).
I can imagine that there are Latex-packages missing...

Is there a HOWTO about working with 10 years old .lyx files?


LyX should handle this automatically for you, but the conversion of such an old fileformat obviously 
failed.

You could help using fixing this by creating a bug report at
http://www.lyx.org/trac/wiki/BugTrackerHome
Please attach there an old LyX example file. It would also be very helpful when you can attach the 
original PDF (created with LyX 1.1) and the current PDF output.


If your file contains confidential files, you can alternatively send me the 3 
files in a private mail.


The "latex protocol" menu entry of LyX just shows two label warnings.
How can I find out if something (and what) is missing?


Hard to say without a LyX file. The label warnings can be ignored, so the LaTeX-code seems to be OK. 
When there would be missing LaTeX-packages you would not have been able to compile the file.


regards Uwe


Re: Pre-reform Russian characters in LyX

2010-02-25 Thread Pavel Sanda
Andrey wrote:

maybe worth to add some info into lyx wiki about building under debian.

> > 1) I couldn't paste any text in LyX - neither from OpenOffice or from 
> > Character
> > map (all this was possible in version 1.6), so the only way to input a 
> > sample
> > text in LyX was to import a text file.
> > 
> > Cannot confirm this. Might be an issue with your clipboard manager
> > (I'm using xfce4-clipman). Try Edit > Paste special to see if it
> > works.
> 
> Well, I can only report what I said previously: my version of LyX2.0 can 
> neither

so dont use any clipboared manager, right?

> >  2) When I tried to make a pdf out of a Russian text containing obsolete
> >  characters, LyX returned the same error that version 2.0 did.
> >  3) However (!), when I ticked the option "use XeTeX", all the Russian text,
> >  including obsolete characters, was successfully exported to...
> >  3a) ... to an xhtml file. Now, my question is, how practical is that? How 
> > do I
> >  go about producing a nice-looking pdf?
> >
> > Maybe you selected an unintended export item? Anyways, I cannot get
> > past the black boxes with the yat character (see attached). I am not
> > sure why.
> 
> Funny, I can not even get a .pdf from your lyx file. If, however, I choose
> Document Settings > Output > Use XeTex, I can get the correct output, but only
> as an xhtml file, which is then displayed in my Firefox and which I have no 
> idea
> what to do with.

tools->reconfigure ?

pavel


raw latex commands on a lyx doc?

2010-02-25 Thread Jose Quesada
Hi list,

I'm new to LyX. I need to use a .cls file (larkc.cls attached), and have
done all the steps described in the documentation and this wiki post:

http://wiki.lyx.org/Layouts/CreatingLayouts

I have put the cls file on the standard place on ubuntu and ran texhash.
That seems to have worked because I can latex the attached .tex example
(D.x.x.tex) and the output is correct. The layout shows up in the layout
list.
Since larkc.cls is a variation of book, I just input the book layout and
changed the name of it to larkc as follows (.lyx/layouts/larkc.layout)

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[larkc, book]{larkc}
Format 11
Input book.layout

This seems to work. Now I need to be able to set values for \dueContractual,
\status etc (see d.x.x.tex, this is the example that came with the larkc.cls
file).
Since these are raw tex commands, how do I assign values to them in Lyx?
Thanks,
Jose

PS: I've tried on windows too.

-- 
Best,
-Jose

Jose Quesada, PhD.
Max Planck Institute,
Center for Adaptive Behavior and Cognition,
Berlin
http://www.josequesada.name/
http://twitter.com/Quesada


Re: Lyx 2.0

2010-02-25 Thread BH
On Thu, Feb 25, 2010 at 2:13 PM, Joachim Osnabryg  wrote:
> Am 25.02.2010, 17:00 Uhr, schrieb BH :
>>
>> Mac is not Linux and so requires different procedures. Follow the
>> INSTALL.MacOSX instructions here.
>
> Ay, Ay BH bewihelm, so according to INSTALL.MacOSX:
>
>     ./configure --prefix=/path/to/LyX.app --with-version-suffix=-1.6
> --with-qt4-dir=/path/to/QT4 --with-included-gettext
> --enable-optimization=-O2  --disable-stdlib-debug
>
> Only: which /path/to/QT4 ???
>
> Only counted the MarcPorts, I have 8 qt4 ports (see below), the path to
> which of those might be the correct one?

I'm not sure whether you need qt4-mac or qt4-mac-devel. I'd guess that
only qt4-mac is needed, so install that one first and see if it works.

In either case, the correct path to qt4 will be something like
/opt/local/. (Inside that directory you should find a "bin" directory
that has a program "moc" in it (possibly linked to another
directory).)

Also note that you'll probably want to use --with-version-suffix=-2.0.
(The "1.6" should be changed in the INSTALL.MacOSX file.)

> And is »--with-included-gettext « really part of the command string or an
> alias where to put some other path or other information?

The "--with-included-gettext" should be a part of the configure line.
(That tells LyX not to use the gettext version you have installed
elsewhere on your Mac, but to use the one that's included with the LyX
source.)

Try it, and if you have troubles, go ahead and ask on this list.

BH


Problem using old Lyx document

2010-02-25 Thread Michael Born
Hello Lyx-experts,

I have an 80 page lyx document from year 2000 on paper and as a .lyx
file. Now I want to create a PDF file, and have some trouble :-(
When I process the document with Lyx 1.6.4 (OpenSUSE 11.1 64bit), it is
now just 70 pages. Lyx seems to put some text outside my page format (A4).
I can imagine that there are Latex-packages missing...

Is there a HOWTO about working with 10 years old .lyx files?
The "latex protocol" menu entry of Lyx just shows two label warnings.
How can I find out if something (and what) is missing?

Cheers,
Michael

PS: the first lines of the .lyx

#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 2.16
\textclass article
\begin_preamble


Re: LyX can't find CLS it has already found.

2010-02-25 Thread Vincent van Ravesteijn

B. Bogart schreef:

Hello all,

I've posted the following bug against ubuntu, in LyX 1.6.4.

https://bugs.launchpad.net/ubuntu/+source/lyx/+bug/515804

The bug report includes screenshots that illustrate the problem.

Anyone have any ideas what could be going on here?

Thanks,
B. Bogart

There is most probably an error loading the layout file, because as far 
as I know, we don't load the class file explicitly.


As you write it's a custom layout file, I think that you made an error 
in it. Can you send the layout file you made ?


Vincent


LyX can't find CLS it has already found.

2010-02-25 Thread B. Bogart

Hello all,

I've posted the following bug against ubuntu, in LyX 1.6.4.

https://bugs.launchpad.net/ubuntu/+source/lyx/+bug/515804

The bug report includes screenshots that illustrate the problem.

Anyone have any ideas what could be going on here?

Thanks,
B. Bogart



Re: Pre-reform Russian characters in LyX

2010-02-25 Thread Andrey
> 1) I couldn't paste any text in LyX - neither from OpenOffice or from 
> Character
> map (all this was possible in version 1.6), so the only way to input a sample
> text in LyX was to import a text file.
> 
> Cannot confirm this. Might be an issue with your clipboard manager
> (I'm using xfce4-clipman). Try Edit > Paste special to see if it
> works.

Well, I can only report what I said previously: my version of LyX2.0 can neither
copy inside it any text from other programs, nor copy outside of it any text to
any other programs. Paste special does not work - it is greyed out.

 
>  2) When I tried to make a pdf out of a Russian text containing obsolete
>  characters, LyX returned the same error that version 2.0 did.
>  3) However (!), when I ticked the option "use XeTeX", all the Russian text,
>  including obsolete characters, was successfully exported to...
>  3a) ... to an xhtml file. Now, my question is, how practical is that? How do 
> I
>  go about producing a nice-looking pdf?
>
> Maybe you selected an unintended export item? Anyways, I cannot get
> past the black boxes with the yat character (see attached). I am not
> sure why.

Funny, I can not even get a .pdf from your lyx file. If, however, I choose
Document Settings > Output > Use XeTex, I can get the correct output, but only
as an xhtml file, which is then displayed in my Firefox and which I have no idea
what to do with.



Re: Lyx 2.0

2010-02-25 Thread Typhoon
On Wed, 24 Feb 2010 12:09:59 -0500
Steve Litt  wrote:

> On Wednesday 24 February 2010 10:08:15 curtis osterhoudt wrote:
> >I've been downloading and compiling the svn sources for 2.0
> > about once a week for, oh, several months now. It's the only



> 
> Curtis -- Is LyX 2.0 still like old ones where you can compile it as,
> let's say, lyx-20 and it will run parallel to the LyX that came with
> your distro (Ubuntu 9.10 in my case)?
> 
> Thanks

Steve and others,
For those using Linux, may I strongly recommend GNU Stow for this
purpose? It puts the compiled version in a "safe" place (ie, away from
anthing that your package manager is interested in) and puts symbolic
links to this safe place. It is a brilliant system for working outside
the normal package management system.

http://www.gnu.org/software/stow/

http://en.wikipedia.org/wiki/GNU_Stow

http://www.linux.com/archive/feature/127393

Install stow with your normal package manager.

Cheers,
Alan


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


-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206



Re: Pre-reform Russian characters in LyX

2010-02-25 Thread Liviu Andronic
On 2/25/10, Andrey  wrote:
>  1) I couldn't paste any text in LyX - neither from OpenOffice or from 
> Character
>  map (all this was possible in version 1.6), so the only way to input a sample
>  text in LyX was to import a text file.
>
Cannot confirm this. Might be an issue with your clipboard manager
(I'm using xfce4-clipman). Try Edit > Paste special to see if it
works.

>  2) When I tried to make a pdf out of a Russian text containing obsolete
>  characters, LyX returned the same error that version 2.0 did.
>  3) However (!), when I ticked the option "use XeTeX", all the Russian text,
>  including obsolete characters, was successfully exported to...
>  3a) ... to an xhtml file. Now, my question is, how practical is that? How do 
> I
>  go about producing a nice-looking pdf?
>
Maybe you selected an unintended export item? Anyways, I cannot get
past the black boxes with the yat character (see attached). I am not
sure why.
Liviu


newfile1.lyx
Description: Binary data


newfile1.pdf
Description: Adobe PDF document


Re: Is this a bug?? \underbar{\alpha} crashes...

2010-02-25 Thread Erez Yerushalmi
Thanks a lot !!   Like always, I learn something new from you every time.
:-)
I appreciate it.
Erez


On Thu, Feb 25, 2010 at 8:55 PM, Uwe Stöhr  wrote:

> Am 25.02.2010 19:53, schrieb Erez Yerushalmi:
>
>  Yes, I'm now using \underline,  instead, and problem solved!  :-)
>>
>>
>> So, the *problem* arises when I'm in math mode, and I type as usual:
>>  \underbar space, \alpha space, and I get my equation.  All seems fine.
>>
>> However, when I PDF it, LyX *crashes*.
>>
>
> It doesn't crash here, I only get a LaTeX error. The reason is that
> \underbar is a text command and thus cannot handle Greek characters and
> other math constructs. You must use \underline.
>
> regards Uwe
>



-- 
Erez Yerushalmi
PhD Student, Economics
Warwick University, UK
homepage: http://go.warwick.ac.uk/ep/pg/ecrfaw


Re: Split table?

2010-02-25 Thread Uwe Stöhr

Am 25.02.2010 19:48, schrieb Manoj Rajagopalan:


Is it possible to split a table and/or equation array from above or below
the current cell?


No. You have to create a new table and copy in there the part of the existing table you want to have 
split.


regards Uwe


Re: Is this a bug?? \underbar{\alpha} crashes...

2010-02-25 Thread Uwe Stöhr

Am 25.02.2010 19:53, schrieb Erez Yerushalmi:


Yes, I'm now using \underline,  instead, and problem solved!  :-)


So, the *problem* arises when I'm in math mode, and I type as usual:
  \underbar space, \alpha space, and I get my equation.  All seems fine.

However, when I PDF it, LyX *crashes*.


It doesn't crash here, I only get a LaTeX error. The reason is that \underbar is a text command and 
thus cannot handle Greek characters and other math constructs. You must use \underline.


regards Uwe


Re: Split table?

2010-02-25 Thread Kamran SHAFQAT

On 25/02/2010 18:48, Manoj Rajagopalan wrote:

Hi lyx users,

Is it possible to split a table and/or equation array from above or below
the current cell?

thanks,
Manoj


Hi,
One way to do this is to use long table option. You can see the examples 
in  user guid section 4.5.2 and also in  embedded object document in 
section 2.6. Hope this helps.


Regards,

Kamran



Re: Pre-reform Russian characters in LyX

2010-02-25 Thread Andrey
Dear Liviu,

Thanks to your help I downloaded and installed LyX 2.0 (man, did it take some
time to compile!), and can nowreport the results. Don't know which of them are
LyX's bugs and which are features, so I'll just fire away:

1) I couldn't paste any text in LyX - neither from OpenOffice or from Character
map (all this was possible in version 1.6), so the only way to input a sample
text in LyX was to import a text file.
2) When I tried to make a pdf out of a Russian text containing obsolete
characters, LyX returned the same error that version 2.0 did.
3) However (!), when I ticked the option "use XeTeX", all the Russian text,
including obsolete characters, was successfully exported to...
3a) ... to an xhtml file. Now, my question is, how practical is that? How do I
go about producing a nice-looking pdf?

Regards,
Andrey



Split table?

2010-02-25 Thread Manoj Rajagopalan
Hi lyx users,

   Is it possible to split a table and/or equation array from above or below 
the current cell?

thanks,
Manoj


Re: Is this a bug?? \underbar{\alpha} crashes...

2010-02-25 Thread Erez Yerushalmi
Hi Uwe

Thanks to your points!
Yes, I'm now using \underline,  instead, and problem solved!  :-)

*However*, Yes, I usually do number 1 and 2 like you said. I just used them
as an example of progression towards the bug.

So, the *problem* arises when I'm in math mode, and I type as usual:
 \underbar space, \alpha space, and I get my equation.  All seems fine.

However, when I PDF it, LyX *crashes*.

See LyX attachment like you asked for.
I'm using XP, Lyx 1.6.5

Best Regards,  Erez



On Thu, Feb 25, 2010 at 6:30 PM, Uwe Stöhr  wrote:

> Erez Yerushalmi schrieb:
>
>
>  When I use the \underbar I get an error message.  See them below.
>> In math box, I type
>> x
>> \underbar{x}
>> \underbar{\alpha}
>>
>
> You don't need the braces, just press Spacebar to finish a command. For
> more info about formulas, have a look at the Math manual that you find in
> the Help menu of LyX.
>
>
>  What I get is the following.
>> First, x is italics.
>>
>
> This is correct. Variables are italic in math. That's the common
> typesetting rule.
>
>  Second, OK, x comes with underbar, *but* pdf is not italic.
>>
>
> You need to use \underline instead of \underbar. You can alternatively use
> the corresponding math toolbar button to achieve this.
>
>  Third, crashes with the following errors:
>>
>>
>> $x$ $\underbar{x}$ $\underbar{\alpha}
>> $
>>
>> I've inserted a begin-math/end-math symbol since I think
>> you left one out. Proceed, with fingers crossed.
>>
>
> If this problem persits, please provide a _small_ LyX example file.
>
> regards Uwe
>



-- 
Erez Yerushalmi
PhD Student, Economics
Warwick University, UK
homepage: http://go.warwick.ac.uk/ep/pg/ecrfaw


underbar crash.lyx
Description: Binary data


Re: Lyx 2.0

2010-02-25 Thread Joachim Osnabryg

Am 25.02.2010, 17:00 Uhr, schrieb BH :

Mac is not Linux and so requires different procedures. Follow the
INSTALL.MacOSX instructions here.


Ay, Ay BH bewihelm, so according to INSTALL.MacOSX:

 ./configure --prefix=/path/to/LyX.app --with-version-suffix=-1.6  
--with-qt4-dir=/path/to/QT4 --with-included-gettext  
--enable-optimization=-O2  --disable-stdlib-debug


Only: which /path/to/QT4 ???

Only counted the MarcPorts, I have 8 qt4 ports (see below), the path to  
which of those might be the correct one?


And is »--with-included-gettext « really part of the command string or an  
alias where to put some other path or other information?


By $ gettext --version I got the answer:
gettext --version
gettext (GNU gettext-runtime) 0.17

Sorry for my ignorance, may I have a tip for this, too?

Anyway thankful,
joachim


port search qt4
cutecom-qt4-mac @0.20.0 (comms)
Graphical serial terminal

GLC_lib @1.1.0 (graphics)
C++ class library that enables the quick creation of an OpenGL  
application

based on QT4.

py-pyqt4 @4.4.3 (python, devel)
PyQt4 is a set of Python bindings for the Qt4 toolkit

py25-pyqt4 @4.7 (python, devel)
PyQt4 is a set of Python bindings for the Qt4 toolkit

py26-pyqt4 @4.7 (python, devel)
PyQt4 is a set of Python bindings for the Qt4 toolkit

qt4-mac @4.6.2 (aqua)
Qt Tool Kit (Native Aqua Version)

qt4-mac-devel @4.6.1 (aqua)
Qt Tool Kit (Native Aqua Version)

qt4-x11 @4.4.3 (x11)
Qt Tool Kit

Found 8 ports.


--
MacBook Pro intel OSX 10.4.11 Tiger - Aquamacs Distribution 1.9
GNU Emacs 22.3.1 (i386-apple-darwin9.8.0, Carbon Version 1.6.0)
Mac BacicTeX 2009 - LyX 1.6.5



Re: Pre-reform Russian characters in LyX

2010-02-25 Thread Andrey
Guenter Milde  writes:
> There are two ways to "get the old cyrillic letters into LyX":
> 
> a) enhance the "unicodesymbols" file that defines LaTeX replacements, or
> 
> b) use XeTeX with a Unicode font that contains the required characters.
> 
> For a)
>   we need to know the LaTeX replacement code, i.e. a working LaTeX file
>   that can serve as example and/or documentation about writing
>   old orthography/church slavonic with LaTeX.
> 
>   Most probably the symbols are already present and easily accessible
>   in LaTeX and only need to be added to the unicodesymbols file.
>   Look in the font encodings guide (encguide.pdf) for the symbol and in
>   cyoutenc.pdf for the corresponding LaTeX command.
>   In this case you can even do this in your local configuration: copy
>   "unicodesymbols" from the system LYXDIR to your personal LYXDIR
>   (~/.lyx on unix) and add the definitions.
> 
>   A similar job has been done for old (polytonic) Greek recently.
> 
> For b)
>   there are many suitable Unicode fonts (Gentium, Libertine,
>   OldStandard come to my mind). Using XeTeX with LyX is described in
>   the wiki (search for XeTeX at http://wiki.lyx.org). The next LyX
>   release comes with greatly improved XeTeX support.


Dear Guenter,

Thank you very much for your suggestions!

It seems that XeTeX is indeed a feasible way to print some old-orthography
Russian letters. And this is great!

However, a more ambitious task, which is similar to enabling Greek polytonic,
would be to enable the true Church Slavonic in LyX, which would be amazingly
useful. Church Slavonic looks quite different to ordinary Russian (a sample of
Church Slavonic can bee seen on Wikipedia, at
http://en.wikipedia.org/wiki/File:Csl-luke20.png), and is rich in diacritics, so
it requires its own fonts, such as Irmologion or Triodion (can be seen here -
http://www.irmologion.ru/fonts.html).

I am not sure Church Slavonic characters are included in Unicode. What I know,
however, is that attempts have been made to create TeX packages that make it
possible to typeset in Church Slavonic - one such package is HipTeX
(http://www.sobor.org/hip/); another (and supposedly better one, since it is
more recent and avoids certain drawbacks of HipTeX) is CSLTeX
(http://sites.google.com/site/csltex/). They can be downloaded by clicking the
zip files, but, unfortunately, documentation to both of them is in Russian. Can
these developments be somehow incorporated in LyX?

Andrey



Re: [help] impossible to use Lyx with miktex 2.8?

2010-02-25 Thread Uwe Stöhr

franck.me...@orange-ftgroup.com schrieb:


It seems impossible to use Lyx 1.6 with miktex 2.8 on my laptop on
windows XP.
Each time lyx doesn't recognize the document classes, saying that the
layout are not available (article, scrbook,...)


Hmm, and you are sure that you have only one LaTeX system installed?
Try a last time to uninstall LyX and MiKTeX _completely_. Then check the 
registry that there is no leftover regarding MiKTeX and LyX.
Finally also check if there is no file named "latex.exe" on your PC. 
Also assure that all paths in Windows environment variable PATH are valid.


Now reinstall LyX using the complete version of my alternative Windows 
installer.



More than that I have on another windows XP PC (desktop) an old mikex
2.7 with Lyx 1.6 working perfectly well...
But miktex 2.7 is now not available.


It is available:
http://www.cnet.de/downloads/windows/81788/miktex.htm

But before using this, please test out what I wrote.


I'am going to test Texlive if it is possible.


This might fail because you have to set the path to the latex.exe and 
other settings manually when using TeXLive. I therefore recommend MiKTeX.


regards Uwe


Re: Pre-reform Russian characters in LyX

2010-02-25 Thread Andrey
Jürgen Spitzmüller  writes:

> 
> Andrey wrote:
> > Just an update, though not a very helpful one. When the encoding in LyX is
> > set to Unicode utf8x, and printing to pdf is attempted, Lyx returns an
> > error:
> > 
> > The control sequence at the end of the top line
> > of your error message was never \def'ed. If you have
> > misspelled it (e.g., `\hobx'), type `I' and the correct
> > spelling (e.g., `I\hbox'). Otherwise just continue,
> > and I'll forget about whatever was undefined.
> 
> Can you post an example file that triggers this error?
> 
> Jürgen

Oh, anything with a letter "yat". Let's see if GMane will let a sample through
without messing it up. Let's try the word "Cвѣтаетъ".

If this word doesn't get through, try a few passages from here:
http://feb-web.ru/feb/zagovory/texts/vin-325-.htm



Preamble lyx 1.6 revtex4

2010-02-25 Thread Scott, Robert
I am attempting to use revtex 4 as a template to write a paper. The problem is 
that I need to alter some of the latex code in the 'preamble' but there seems 
to be no method for accessing this in later versions of Lyx. Earlier version 
refer to a menu called layout which allowed you to access this but aside from 
exporting to latex and then re-importing I cant see anyway of doing what I need 
to do. Any ideas?


Re: Is this a bug?? \underbar{\alpha} crashes...

2010-02-25 Thread Uwe Stöhr

Erez Yerushalmi schrieb:


When I use the \underbar I get an error message.  See them below.
In math box, I type
x
\underbar{x}
\underbar{\alpha}


You don't need the braces, just press Spacebar to finish a command. For 
more info about formulas, have a look at the Math manual that you find 
in the Help menu of LyX.



What I get is the following.
First, x is italics.


This is correct. Variables are italic in math. That's the common 
typesetting rule.



Second, OK, x comes with underbar, *but* pdf is not italic.


You need to use \underline instead of \underbar. You can alternatively 
use the corresponding math toolbar button to achieve this.



Third, crashes with the following errors:

$x$ $\underbar{x}$ $\underbar{\alpha}
$

I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.


If this problem persits, please provide a _small_ LyX example file.

regards Uwe


Re: Pre-reform Russian characters in LyX

2010-02-25 Thread Andrey
Jürgen Spitzmüller  writes:

> 
> Andrey wrote:
> > Just an update, though not a very helpful one. When the encoding in LyX is
> > set to Unicode utf8x, and printing to pdf is attempted, Lyx returns an
> > error:
> > 
> > The control sequence at the end of the top line
> > of your error message was never \def'ed. If you have
> > misspelled it (e.g., `\hobx'), type `I' and the correct
> > spelling (e.g., `I\hbox'). Otherwise just continue,
> > and I'll forget about whatever was undefined.
> 
> Can you post an example file that triggers this error?
> 
> Jürgen

Oh, you can reproduce the error yourself if you try to make a pdf of a lyx file
containing a word with, for instance, a letter "yat". Let's see if GMane will
let a sample through without messing it up. Let's try the word "Cвѣтаетъ".

If this word doesn't get through, try a few passages from here:
http://feb-web.ru/feb/zagovory/texts/vin-325-.htm



Re: Sideways table using Memoir

2010-02-25 Thread George Fairbanks
Thanks Uwe.  I'm using Ubuntu 9.10 Karmic and thanks to your tip I've 
learned that their TeXLive packages are rather old (TeXLive 2007, no 
package manager yet).  I was able to manually download and install these 
newer packages from CTAN in my local texmf directory, and my problem is 
solved, thanks!  For the benefit of anyone else reading this later, I 
used this guide:  https://help.ubuntu.com/community/LaTeX.


Regards,

-George


...
(/usr/share/texmf-texlive/tex/latex/memoir/memoir.cls
Document Class: memoir 2005/09/25 v1.618 configurable document class

That might be your problem. The versions of memoir your are using is outdated 
and you probably suffer from a bug in memoir. I'm using memoir 2009/11/17 
v1.61803398c which works fine.

I therefore recommend to update memoir. (The easiest way to do this is by using 
the TeXLive package manager that is available since TeXLive 2008.)

(/usr/share/texmf-texlive/tex/latex/rotating/rotating.sty
Package: rotating 1997/09/26, v2.13 Rotation package

Same problem; I'm using rotating 2009/03/28 v2.16a and strongly recommend to update to this version since it fixes many bugs. 




RE: Mystified by \selectlanguage [modified]

2010-02-25 Thread Vincent van Ravesteijn - TNW
>How does the "british" language enter my document - the default is
>probably just "English" on my system. Even my \documentclass
>command (on latex export) shows the british option!

Document->Settings->Language is set to English (UK) ?

Vincent


Re: text-mode macros?

2010-02-25 Thread rgheck
On 02/25/2010 10:13 AM, Manoj Rajagopalan wrote:
> Hi users,
>
> I use math-macros in lyx but I was wondering if there is any way to 
> achieve macros in text-mode. 
>
>   
There's a bug about this, an enhancement request. So no.

> A use-case that I frequently encounter is to use 
> either "Eqn." or "equation" in front of equation-reference numbers when 
> cross-referencing depending on which journal I am submitting my paper to. 
> Right now, I am achieving this with branches for each journal that modify ERT 
> definitions of a new latex command (eg. \newcommand{\eq}{Eqn.})
>
>   
In this case, you can use the "formatted ref" feature and then use the
facilities provided by prettyref to do this.

rh



Re: Mystified by \selectlanguage [modified]

2010-02-25 Thread Manoj Rajagopalan

Hi users,

   I've traced this to the use of the babel package - it seems to be 
automatically set for use in Tools->Preferences...->Language 
settings->Language dialog.

   What I find strange is that LyX seems to be introducing the \selectlanguage 
and \foreignlanguage commands in what appears to be a random fashion. When I 
create a new equation-reference, I get something like:

  \eqref{\selectlanguage{british}eq:myequation\selectlanguage{english}}

Does anyone know why these show up? In the language settings dialog I see 
options for Auto begin and Auto end which are checked in my case. Also, in 
the "Command start:" line-edit, I see "\selectlanguage{$$language}". I am 
guessing it it these settings that are responsible for the spurious language 
switchings inside my \eqref. But if these are defaults for new documents, is 
there a reason why I may not have seen this before? How does the "british" 
language enter my document - the default is probably just "English" on my 
system. Even my \documentclass command (on latex export) shows the british 
option!

Thanks,
Manoj


On Thursday 25 February 2010 10:46:20 am Manoj Rajagopalan wrote:
> Hi users,
>
>I find \selectlanguage{british} and \selectlanguage{english}
> automatically springing up in my exported latex code (I am not able to
> generate DVI from within lyx for this reason).
>
>My document is a simple one with "article" document class. The only
> module I am using is TODO notes (and that is where the \selectlanguage
> causes problems - it begins to show up within the text for the todo-note).
>
>I haven't messed with any other document setting.
>
>Does anyone know how and why this command shows up at all?
>
> thanks,
> Manoj



Re: Ninja mode

2010-02-25 Thread Niko Schwarz
Well, yea. So what? It doesn't need to work all the time. If the Lyx
compile button doesn't work anymore, but the make script still runs,
that's good enough for me.

By the way, the lyx importer is great. I imported several docuents
which I consider quite complex,  and sometimes after a few
adaptations, often right away, they compile in lyx. Export is great,
too. So what's the problem? :)

Niko

On Thu, Feb 25, 2010 at 1:16 PM, Manveru  wrote:
>
>
> 2010/2/22 Jose Quesada 
>>
>> +1, definitely the most important thing for me is good latex integration.
>> That use case (cols use plain latex, you use lyx) is very common
>>
> But LyX was not designed to "reverse engineer" LaTeX documents, so lot of
> sophisticated solutions are problematic for LyX import.
>
> --
> Manveru
> jabber: manv...@manveru.pl
>     gg: 1624001
>   http://www.manveru.pl
>



-- 
http://scg.unibe.ch/staff/Schwarz
twitter.com/nes1983
Tel: +41 076 235 8683


Re: What are custom insets?

2010-02-25 Thread Manoj Rajagopalan

Thanks, Vincent. I understand better now. I was trying to use the Todo-notes 
module but no custom TODO inset was showing up in the menu. Hence the (more 
general) question.

It turned out that the todonotes.module file was not available in my 
distribution (2.0.0svn) though it was a listed module so I had to download 
this file from the LyX wiki.

-- Manoj


On Thursday 25 February 2010 10:25:33 am Vincent van Ravesteijn - TNW wrote:
> > I see the Insert->Custom insets> in LyX but the submenu is always
>
> empty?
>
> > Why is this so? What are custom insets and how are they meant to be
>
> used
>
> >(if they can be created)?
> >
> >From the User Guide sec. A.4.8: "Custom Insets: The section Flex insets
>
> and InsetLayout of the Customization manual explains how custom insets
> are defined."
>
> Vincent



Re: Is this a bug?? \underbar{\alpha} crashes...

2010-02-25 Thread Paul A. Rubin

Erez Yerushalmi wrote:

Dear all,

I wonder if this is a bug??

When I use the \underbar I get an error message.  See them below.

In math box, I type
x
\underbar{x}
\underbar{\alpha}

What I get is the following. First x is italics.  Ok. Second x comes with
underbar, but pdf is not italic.  Final equation crashes with the following
errors:

$x$ $\underbar{x}$ $\underbar{\alpha}

$

I've inserted a begin-math/end-math symbol since I think

you left one out. Proceed, with fingers crossed.



and


$x$ $\underbar{x}$ $\underbar{\alpha}

$

I've deleted a group-closing symbol because it seems to be

spurious, as in `$x}$'. But perhaps the } is legitimate and

you forgot something else, as in `\hbox{$x}'. In such cases

the way to recover is to insert both the forgotten and the

deleted material, e.g., by typing `I$}'.

Am I missing something



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

/Paul



Re: Lyx 2.0

2010-02-25 Thread BH
On Thu, Feb 25, 2010 at 9:43 AM, Joachim Osnabryg  wrote:
> Am 25.02.2010, 13:27 Uhr, schrieb BH :
>>
>> Follow the instructions in INSTALL.MacOSX. (It's somewhat more
>> involved than the above.)
>
> Thank you Wilhelm, good tip (perhaps I overlooked it last time).
>
> But I have 2 additional questions:
>
> 1.
> INSTALL.MacOSX says:
> (after the preconditions and) after having run:
>     ./autogen.sh
>
> the following for ./configure:
>
>     ./configure --prefix=/path/to/LyX.app --with-version-suffix=-1.6
> --with-qt4-dir=/path/to/QT4 --with-included-gettext
> --enable-optimization=-O2  --disable-stdlib-debug
>
> Meanwhile Guenter Milde wrote in this thread on Thu, 25 Feb 2010 08:52:56
> +0100
> URL: news://
> in reply to 2010-02-24, Rob Oakes, who had written:
>>
>> Lyx2 -sysdir "/path/to/sys/directory" -userdir "/path/to/user/directory"
>
> the following:
>
>> However, this is done automatically, if you configure with e.g.
>>   ./configure --with-version-suffix=-svn --enable-build-type=release
>>
>> now, the sysdir is /usr/local/share/lyx-svn and the userdir is ~/.lyx-svn.
>> Günter
>
> which me seems more simple and very practical, if this will go well on
> MacOSX, too.
>
> => Will this go on MacOSX?

Mac is not Linux and so requires different procedures. Follow the
INSTALL.MacOSX instructions here.

>
> 2.
> Of course, in each case followed then by,
>
>     make
>     make install-strip
>
> i. e. "$ sudo make install-strip" instead of "$ sudo make install", as Julio
> Rojas wrote.
>
> => Which one is correct on MacOSX?

On Linux, you're installing into system directories, not user
directories, and so you need to install as root; that's not true on
Mac, so you don't need the "sudo" part. If you're installing a
pre-release version of LyX (as you would be with the devel tree) and
are able to send in backtraces with bug reports, then use "make
install" instead of "make install-strip".

You should also be aware that the devel tree doesn't work as well on
Mac as on other platforms. I have not yet used it for production work
and wouldn't recommend doing so right now. But please feel free to
test it and submit bug reports.

BH


Mystified by \selectlanguage

2010-02-25 Thread Manoj Rajagopalan
Hi users,

   I find \selectlanguage{british} and \selectlanguage{english} automatically 
springing up in my exported latex code (I am not able to generate DVI from 
within lyx for this reason).

   My document is a simple one with "article" document class. The only module 
I am using is TODO notes (and that is where the \selectlanguage causes 
problems - it begins to show up within the text for the todo-note).

   I haven't messed with any other document setting.

   Does anyone know how and why this command shows up at all?

thanks,
Manoj


RE: Is this a bug?? \underbar{\alpha} crashes...

2010-02-25 Thread Vincent van Ravesteijn - TNW

>Am I missing something

I guess you should use \underline instead of \underbar (which is used
when pressing Ctrl+U).

Vincent


RE: What are custom insets?

2010-02-25 Thread Rob Oakes
Hi Manoj,

In LyX, most of the specialized commands are housed inside of "insets".  All
of the floats and many of the commands in LyX make use of them.  The
provide, in essence, a convenient container for LaTeX commands.

A custom inset is just an inset that you have defined yourself.  As an
example, about a month ago this list was talking about ways to create a
float environment for longtables.  Someone suggested that using the
following command might work: 

\afterpage{\clearpage tablecontent}

So, I spent a while testing this out, and it works great.  However, I
greatly dislike the use of evil red text (ERT) in LyX.  The entire reason
that I use LaTeX (and by extension LyX) is to get away from "finger painting
my documents", and providing pages and pages of personal macro definitions I
the *epitome* of finger painting.  Thus, I greatly prefer to define personal
macros (either in module files or in layouts) and make use of those,
instead.  For this reason, I transformed \afterpage{clearpage tablecontent}
into a new macro:

\usepackage{afterpage}
\newcommand{\longtablepage}[1]{%
\afterpage{\clearpage #1}}

And then I placed that macro in its own module.  Finally, I created a custom
inset that would act as a float for longtables.  Here is the float
definition:

InsetLayout Custom:Longtable
LyXType custom
Labelstring longtable
Decoration  classic
LabelFont
Color   collapsable
SizeSmall
EndFont
MultiPartrue
LatexName   longtablepage
LatexType   command
Requiresafterpage
Preamble
\usepackage{afterpage}
\newcommand{\longtablepage}[1]{%
\afterpage{\clearpage #1}}
EndPreamble
End

Here is a brief description of the parameters.  The LyXType defines it as a
custom float with a lable of "longtable".  It uses the "classic" decoration
(which happens to be a little red box, similar to the label for "figure" or
table").  The float is collapsible and the font-size is small.  MultiPar =
true allows me to enter multiple paragraphs into the environment. 

The next few commands define the LaTeX options.  LatexName is the name of
the command, "longtable" (see the definition above).  LatexType tells LyX
that this inset is a command (for other types, see the Advanced User
Manual).  It requires the "afterpage" package.  Finally, the preamble
command defines what should be placed in the document's preamble for the
command to work.

Like I said above, this information can be placed in a module, which makes
it conveniently available in any document.  It also returns LyX to a "What
You See is What You Mean" writing environment.

Hope that helps.

Cheers,

Rob Oakes

PS, the module for this particular command is attached in case it is of
interest to anyone.  To use it, just place it in the "layouts" folder of
your user directory.


longtablepage.module
Description: Binary data


Re: Is this a bug?? \underbar{\alpha} crashes...

2010-02-25 Thread Erez Yerushalmi
Let me add to this email that I'm using window-XP, Lyx 1.6.5.

Dear All,

I wonder if this is a bug??

When I use the \underbar I get an error message.  See them below.

In math box, I type
x
\underbar{x}
\underbar{\alpha}

What I get is the following.
First, x is italics.
Second, OK, x comes with underbar, *but* pdf is not italic.   Strange.
Third, crashes with the following errors:

$x$ $\underbar{x}$ $\underbar{\alpha}

$

I've inserted a begin-math/end-math symbol since I think

you left one out. Proceed, with fingers crossed.



and


$x$ $\underbar{x}$ $\underbar{\alpha}

$

I've deleted a group-closing symbol because it seems to be

spurious, as in `$x}$'. But perhaps the } is legitimate and

you forgot something else, as in `\hbox{$x}'. In such cases

the way to recover is to insert both the forgotten and the

deleted material, e.g., by typing `I$}'.

Am I missing something

Thanks a lot,  Erez



-- 
Erez Yerushalmi
PhD Student, Economics
Warwick University, UK
homepage: http://go.warwick.ac.uk/ep/pg/ecrfaw


Is this a bug?? \underbar{\alpha} crashes...

2010-02-25 Thread Erez Yerushalmi
Dear all,

I wonder if this is a bug??

When I use the \underbar I get an error message.  See them below.

In math box, I type
x
\underbar{x}
\underbar{\alpha}

What I get is the following. First x is italics.  Ok. Second x comes with
underbar, but pdf is not italic.  Final equation crashes with the following
errors:

$x$ $\underbar{x}$ $\underbar{\alpha}

$

I've inserted a begin-math/end-math symbol since I think

you left one out. Proceed, with fingers crossed.



and


$x$ $\underbar{x}$ $\underbar{\alpha}

$

I've deleted a group-closing symbol because it seems to be

spurious, as in `$x}$'. But perhaps the } is legitimate and

you forgot something else, as in `\hbox{$x}'. In such cases

the way to recover is to insert both the forgotten and the

deleted material, e.g., by typing `I$}'.

Am I missing something

Thanks a lot,  Erez

-- 
Erez Yerushalmi
PhD Student, Economics
Warwick University, UK
homepage: http://go.warwick.ac.uk/ep/pg/ecrfaw


RE: What are custom insets?

2010-02-25 Thread Vincent van Ravesteijn - TNW
> I see the Insert->Custom insets> in LyX but the submenu is always
empty?
> Why is this so? What are custom insets and how are they meant to be
used
>(if they can be created)?

>From the User Guide sec. A.4.8: "Custom Insets: The section Flex insets
and InsetLayout of the Customization manual explains how custom insets
are defined."

Vincent


Re: executing a lyx file

2010-02-25 Thread Manveru
2010/2/24 John Kane 

>
> [...]
>
> Ack. I,m a Windows user. We are not allowed to know any of these mysterious
> command line thingies.
> [...]
>

That is bad strategy. Windows' CMD.EXE is quite powerful... :-)

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


What are custom insets?

2010-02-25 Thread Manoj Rajagopalan
Hi users,

   I see the Insert->Custom insets> in LyX but the submenu is always empty? 
Why is this so? What are custom insets and how are they meant to be used (if 
they can be created)?

thanks,
Manoj


text-mode macros?

2010-02-25 Thread Manoj Rajagopalan
Hi users,

I use math-macros in lyx but I was wondering if there is any way to 
achieve macros in text-mode. A use-case that I frequently encounter is to use 
either "Eqn." or "equation" in front of equation-reference numbers when 
cross-referencing depending on which journal I am submitting my paper to. 
Right now, I am achieving this with branches for each journal that modify ERT 
definitions of a new latex command (eg. \newcommand{\eq}{Eqn.})

   Is there a text-mode macro feature in LyX, or is there a hack to achieve 
the same effect?

  The above use-case can be achieved through the hyperref package but that, at 
many times, opens another can of worms (spurious errors about extra '}', 
improper DVI generation etc.)

thanks,
Manoj


Re: Lyx 2.0

2010-02-25 Thread curtis osterhoudt
Thank you, Manveru. If I remember correctly, this was pretty much my 
conclusion, too. Anyway, after working at it, I got used to my ssh -> svn -> 
rsync routine, and it works well enough for me. 

  Thanks again, 
   C.O.

 /
Down with categorical imperative!
flutz...@yahoo.com
/





From: Manveru 
To: curtis osterhoudt 
Cc: LyX User 
Sent: Thu, February 25, 2010 7:58:19 AM
Subject: Re: Lyx 2.0




2010/2/25 curtis osterhoudt 

>  I would like to mention that the server which hosts the LyX svn development 
> trunk is configured in such a way that some places may have problems pulling 
> in the code. For example, from home, I have no problems downloading LyX using 
> svn. From work (a very security-conscious place), the same commands will 
> fail, giving virtually no clues as to why, and yet svn checkouts and updates 
> work from *other servers* when used from my workplace. What I have to do 
> there is ssh into yet another computer on the "outside", svn update from 
> there, and then snag the results to my work computer. Despite the hassle, 2.0 
> has been worth it.
>
>>   I have no idea why this happens, despite several concerted days of trying 
>> different things, emailing both the LyX server maintainer and our security 
>> people, etc., who all had good suggestions but no definitive answers. My 
>> best guess at this point is that our work firewall/proxy system was somehow 
>> hung up on particular configuration flags from the svn server.
>
>>   So, fellow LyXers, if your svn commands fail somehow (some recent messages 
>> have indicated that they might), it might just not be your fault!
>> 
>
>
>>  
Well known issue - svn protocol itself does not support (and probably will not) 
proxying of any kind. This causes problems in offices where your PC is behind 
proxied firewall (as in my case). Only solution to that is to host svn+http or 
svn+https or svn+ssh (if your SSH may work through your proxy; in my case not 
currently). Generally it is not non-standard to host svn protocol alone as the 
LyX project do.

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



  

Re: Lyx 2.0

2010-02-25 Thread Manveru
2010/2/25 curtis osterhoudt 

>  I would like to mention that the server which hosts the LyX svn
> development trunk is configured in such a way that some places may have
> problems pulling in the code. For example, from home, I have no problems
> downloading LyX using svn. From work (a very security-conscious place), the
> same commands will fail, giving virtually no clues as to why, and yet svn
> checkouts and updates work from *other servers* when used from my workplace.
> What I have to do there is ssh into yet another computer on the "outside",
> svn update from there, and then snag the results to my work computer.
> Despite the hassle, 2.0 has been worth it.
>
>   I have no idea why this happens, despite several concerted days of trying
> different things, emailing both the LyX server maintainer and our security
> people, etc., who all had good suggestions but no definitive answers. My
> best guess at this point is that our work firewall/proxy system was somehow
> hung up on particular configuration flags from the svn server.
>
>   So, fellow LyXers, if your svn commands fail somehow (some recent
> messages have indicated that they might), it might just not be your fault!
>
>
>
>

Well known issue - svn protocol itself does not support (and probably will
not) proxying of any kind. This causes problems in offices where your PC is
behind proxied firewall (as in my case). Only solution to that is to host
svn+http or svn+https or svn+ssh (if your SSH may work through your proxy;
in my case not currently). Generally it is not non-standard to host svn
protocol alone as the LyX project do.

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


Re: Lyx 2.0

2010-02-25 Thread curtis osterhoudt
  I would like to mention that the server which hosts the LyX svn development 
trunk is configured in such a way that some places may have problems pulling in 
the code. For example, from home, I have no problems downloading LyX using svn. 
From work (a very security-conscious place), the same commands will fail, 
giving virtually no clues as to why, and yet svn checkouts and updates work 
from *other servers* when used from my workplace. What I have to do there is 
ssh into yet another computer on the "outside", svn update from there, and then 
snag the results to my work computer. Despite the hassle, 2.0 has been worth it.

   I have no idea why this happens, despite several concerted days of trying 
different things, emailing both the LyX server maintainer and our security 
people, etc., who all had good suggestions but no definitive answers. My best 
guess at this point is that our work firewall/proxy system was somehow hung up 
on particular configuration flags from the svn server.

   So, fellow LyXers, if your svn commands fail somehow (some recent messages 
have indicated that they might), it might just not be your fault!

 Regards, 
C.O.

 /
Down with categorical imperative!
flutz...@yahoo.com
/





From: Julio Rojas 
To: Dotan Cohen 
Cc: EK ; LyX User 
Sent: Thu, February 25, 2010 3:17:33 AM
Subject: Re: Lyx 2.0

Get the trunk from:
svn co svn://svn.lyx.org/lyx/lyx-devel/trunk lyx-devel

Configure with:
./autogen.sh
./configure --with-version-suffix=-svn --enable-build-type=release

And the the usual:
make
sudo make install

Good luck.

-
Julio Rojas
jcredbe...@gmail.com



On Thu, Feb 25, 2010 at 10:36 AM, Dotan Cohen  wrote:
> Where can I download the current 2.0-testing tarball? I'd love to help
> test and report issues with BiDi and RTL issues.
>
>
>
> --
> Dotan Cohen
>
> http://bido.com
> http://what-is-what.com
>
> Please CC me if you want to be sure that I read your message. I do not
> read all list mail.
>



  

Re: Lyx 2.0

2010-02-25 Thread Joachim Osnabryg

Am 25.02.2010, 13:27 Uhr, schrieb BH :

Follow the instructions in INSTALL.MacOSX. (It's somewhat more
involved than the above.)


Thank you Wilhelm, good tip (perhaps I overlooked it last time).

But I have 2 additional questions:

1.
INSTALL.MacOSX says:
(after the preconditions and) after having run:
 ./autogen.sh

the following for ./configure:

 ./configure --prefix=/path/to/LyX.app --with-version-suffix=-1.6  
--with-qt4-dir=/path/to/QT4 --with-included-gettext  
--enable-optimization=-O2  --disable-stdlib-debug


Meanwhile Guenter Milde wrote in this thread on Thu, 25 Feb 2010 08:52:56  
+0100

URL: news://
in reply to 2010-02-24, Rob Oakes, who had written:

Lyx2 -sysdir "/path/to/sys/directory" -userdir "/path/to/user/directory"


the following:


However, this is done automatically, if you configure with e.g.
   ./configure --with-version-suffix=-svn --enable-build-type=release

now, the sysdir is /usr/local/share/lyx-svn and the userdir is  
~/.lyx-svn.

Günter


which me seems more simple and very practical, if this will go well on  
MacOSX, too.


=> Will this go on MacOSX?

2.
Of course, in each case followed then by,

 make
 make install-strip

i. e. "$ sudo make install-strip" instead of "$ sudo make install", as  
Julio Rojas wrote.


=> Which one is correct on MacOSX?

Quite after an answer to this "last questions" I'll go to compile and give  
notice about the result, here and on the devel list.


Hopful waiting,
joachim
--
MacBook Pro intel OSX 10.4.11 Tiger - Aquamacs Distribution 1.9
GNU Emacs 22.3.1 (i386-apple-darwin9.8.0, Carbon Version 1.6.0)
Mac BacicTeX 2009 - LyX 1.6.5



Re: Lyx 2.0

2010-02-25 Thread Dotan Cohen
On 25 February 2010 12:17, Julio Rojas  wrote:
> Get the trunk from:
> svn co svn://svn.lyx.org/lyx/lyx-devel/trunk lyx-devel
>
> Configure with:
> ./autogen.sh
> ./configure --with-version-suffix=-svn --enable-build-type=release
>
> And the the usual:
> make
> sudo make install
>

Thank you Julio Rojas!


-- 
Dotan Cohen

http://bido.com
http://what-is-what.com

Please CC me if you want to be sure that I read your message. I do not
read all list mail.


Re: Sideways table using Memoir

2010-02-25 Thread Uwe Stöhr

George Fairbanks schrieb:

I'm writing a book with LyX using the Memoir class and I'd like to 
rotate a table. I can select the table float properties and set it to 
be a sideways table, but then I get the following errors. I've tried to 
shorten the LaTeX output to just the relevant parts, but let me know if 
I've left out something important. To get the output below, I created a 
blank document, set its class to Memoir, and inserted a table float with 
table and rotated it (sidewaystable).


This works fine for me, see the attached LyX file.


...
(/usr/share/texmf-texlive/tex/latex/memoir/memoir.cls
Document Class: memoir 2005/09/25 v1.618 configurable document class


That might be your problem. The versions of memoir your are using is 
outdated and you probably suffer from a bug in memoir. I'm using memoir 
2009/11/17 v1.61803398c which works fine.


I therefore recommend to update memoir. (The easiest way to do this is 
by using the TeXLive package manager that is available since TeXLive 2008.)



(/usr/share/texmf-texlive/tex/latex/rotating/rotating.sty
Package: rotating 1997/09/26, v2.13 Rotation package


Same problem; I'm using rotating 2009/03/28 v2.16a and strongly 
recommend to update to this version since it fixes many bugs.


regards Uwe


newfile1.lyx
Description: application/lyx


Re: renumber figure

2010-02-25 Thread Uwe Stöhr

Sajjad schrieb:

 > When i add float figure the it is automatically numbered as Figure: 2.2


What do do if would like to have it as Figure: 2.2(a) instead?


So you want to have two subfigures 2.2(a) and 2.2(b)?
This is described in sec. 3.7 "Subfloats" of the EmbeddedObjects manual 
that you find in the Help menu of LyX.


regards Uwe


renumber figure

2010-02-25 Thread Sajjad
Hello forum,

When i add float figure the it is automatically numbered as Figure: 2.2

What do do if would like to have it as Figure: 2.2(a) instead?


Regards
Sajjad


Re: Lyx 2.0

2010-02-25 Thread BH
On Thu, Feb 25, 2010 at 7:10 AM, Joachim Osnabryg  wrote:
> I enter here hoping to a receipt like that of Julio above for MacOSX
> (Tiger). Some month ago I already tried to compile the lyx-devel version
> without success, probably because I made mistakes.
>
> So I ask, especially those who have compiled the lyx-devel on MacOSX, will
> it go with the above commands or not?
>
> Which is the right way to get it compiled on MacOSX?

Follow the instructions in INSTALL.MacOSX. (It's somewhat more
involved than the above.) If that doesn't work, we need to rewrite it,
so report your problems on the devel list.

BH


Re: By what command do I download LyX 2.0?

2010-02-25 Thread Ignacio García
Steve Litt  writes:

>
> I have no idea what command to use to get LyX 2. Could someone please give me
> the exact command?
>
> When I build it, is there anything more to be done than:
>
> ./configure --with-version-suffix=-svn20100225 --enable-build-type=release &&
> make && make install
>
> ?

I'm used to compile the stable lyx sources (tar.bz) in Ubuntu, but
yesterday I have installed for the first time a svn LyX version.
It's working fine, by now.

You can follow the directions in
http://www.lyx.org/HowToUseSVN  items 4, 5, 6.
and the INSTALL and INSTALL.autoconf files included in sources.

In short, you get the sources with
1. svn co svn://svn.lyx.org/lyx/lyx-devel/trunk lyx-devel
and then, in the lyx-devel directory
2. ./autoconf.sh
3. ./configure --with-version-suffix #this allows several independent versions
4. make
5. sudo make install

If ever you have compiled lyx.tar.gz/bz sources your system should be right.
If not, probably you need install a bunch of devel packages.

Regards
Ignacio


Re: Ninja mode

2010-02-25 Thread Manveru
2010/2/22 Jose Quesada 

> +1, definitely the most important thing for me is good latex integration.
> That use case (cols use plain latex, you use lyx) is very common
>
> But LyX was not designed to "reverse engineer" LaTeX documents, so lot of
sophisticated solutions are problematic for LyX import.

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


Re: [help] impossible to use Lyx with miktex 2.8?

2010-02-25 Thread Manveru
2010/2/25 

> Hi,
>
> It seems impossible to use Lyx 1.6 with miktex 2.8 on my laptop on
> windows XP.
>

Possible - two PCs having MikTex 2.8 and Lyx 1.6.4 - working, one migrated
from 2.7 to 2.8


> Each time lyx doesn't recognize the document classes, saying that the
> layout are not available (article, scrbook,...)
>

First: Did you removed you personalized LyX folder where some setting are
stored? They are not removed when you uninstall LyX... I think similar issue
is with MikTeX, but this does seem to break anything.


> I 've tried 5 installations / desintallations of all miktex and Lyx.
>

Above comment still valid.


> I'am administrator on my laptop
>

Very good.


> I've downloaded all the available latex packages
>

What for?


> I' ve tried to use the standard lyx installer and the alt one.
>

Does the second one is able to install MikTex itself?


> I've used each time the reconfigure options of lyx..
> Some people said it is a known issue in the mailing list archive, OK but
> what is the solution?, I can't find it.
> I 'am on this issue for one week, I am becoming a little bit
> desperate...
>
> More than that I have on another windows XP PC (desktop) an old mikex
> 2.7 with Lyx 1.6 working perfectly well...
> But miktex 2.7 is now not available.
>
> I'am going to test Texlive if it is possible.
>
>
Usage on Texlive on window is deprecated. Please concentrate on MikTeX. You
problem is probably cause by fact you previously have MikTex 2.7 on your
computer and your personal LyX setting points to wrong directories. I had
that issue once. Sometime manual running of configuration script is helpful
as it drops error messages what could not be find.

Try to:
A. Chek you paths in LyX settings.
or
B. Remove you personalized lyx directory from your users profile directory

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


Re: Lyx 2.0

2010-02-25 Thread Joachim Osnabryg

Am 25.02.2010, 11:17 Uhr, schrieb Julio Rojas:

Get the trunk from:
svn co svn://svn.lyx.org/lyx/lyx-devel/trunk lyx-devel
Configure with:
./autogen.sh
./configure --with-version-suffix=-svn --enable-build-type=release
And the the usual:
make
sudo make install


Hi, friends,

I enter here hoping to a receipt like that of Julio above for MacOSX  
(Tiger). Some month ago I already tried to compile the lyx-devel version  
without success, probably because I made mistakes.


So I ask, especially those who have compiled the lyx-devel on MacOSX, will  
it go with the above commands or not?


Which is the right way to get it compiled on MacOSX?

hoping, joachim
--
MacBook Pro intel OSX 10.4.11 Tiger - Aquamacs Distribution 1.9
GNU Emacs 22.3.1 (i386-apple-darwin9.8.0, Carbon Version 1.6.0)
Mac BacicTeX 2009 - LyX 1.6.5



[help] impossible to use Lyx with miktex 2.8?

2010-02-25 Thread franck.meyer
Hi,

It seems impossible to use Lyx 1.6 with miktex 2.8 on my laptop on
windows XP.
Each time lyx doesn't recognize the document classes, saying that the
layout are not available (article, scrbook,...)
I 've tried 5 installations / desintallations of all miktex and Lyx.
I'am administrator on my laptop
I've downloaded all the available latex packages 
I' ve tried to use the standard lyx installer and the alt one.
I've used each time the reconfigure options of lyx..
Some people said it is a known issue in the mailing list archive, OK but
what is the solution?, I can't find it.
I 'am on this issue for one week, I am becoming a little bit
desperate...

More than that I have on another windows XP PC (desktop) an old mikex
2.7 with Lyx 1.6 working perfectly well...
But miktex 2.7 is now not available.

I'am going to test Texlive if it is possible.

Regards,
Frank Meyer.


Frank Meyer
France Telecom R&D/TECH/ASAP(LD128)
2 avenue Pierre Marzin 22307 Lannion Cedex 
E-mail : franck.me...@orange-ftgroup.com
Telephone : +33 (0)2 96 05 28 89
http://www.francetelecom.com/rd



*
This message and any attachments (the "message") are confidential and intended 
solely for the addressees. 
Any unauthorised use or dissemination is prohibited.
Messages are susceptible to alteration. 
France Telecom Group shall not be liable for the message if altered, changed or 
falsified.
If you are not the intended addressee of this message, please cancel it 
immediately and inform the sender.




Re: Lyx 2.0

2010-02-25 Thread Julio Rojas
Get the trunk from:
svn co svn://svn.lyx.org/lyx/lyx-devel/trunk lyx-devel

Configure with:
./autogen.sh
./configure --with-version-suffix=-svn --enable-build-type=release

And the the usual:
make
sudo make install

Good luck.

-
Julio Rojas
jcredbe...@gmail.com



On Thu, Feb 25, 2010 at 10:36 AM, Dotan Cohen  wrote:
> Where can I download the current 2.0-testing tarball? I'd love to help
> test and report issues with BiDi and RTL issues.
>
>
>
> --
> Dotan Cohen
>
> http://bido.com
> http://what-is-what.com
>
> Please CC me if you want to be sure that I read your message. I do not
> read all list mail.
>


Re: By what command do I download LyX 2.0?

2010-02-25 Thread Kornel Benko
Am Thursday 25 February 2010 schrieb Steve Litt:
> Hi all,
> 
> Well this is embarrassing:
> 
> sl...@mydesk:~$ ls /usr/bin/svn*
> /usr/bin/svn 
...
> I have no idea what command to use to get LyX 2. Could someone please give me 
> the exact command?

To get the sources into directory lyx2.0source:
# svn co svn://svn.lyx.org/lyx/lyx-devel/trunk lyx2.0source
# cd  lyx2.0source
and then proceede with

> ./configure --with-version-suffix=-svn20100225 --enable-build-type=release && 
> make && make install
> 
> ?
> 
> Thanks
> 
> SteveT
> 
Kornel

-- 
Kornel Benko
kornel.be...@berlin.de


signature.asc
Description: This is a digitally signed message part.


Re: By what command do I download LyX 2.0?

2010-02-25 Thread Sven Hoexter
On Thu, Feb 25, 2010 at 04:50:03AM -0500, Steve Litt wrote:
> Hi all,
> 
> Well this is embarrassing:

All you need is this: http://svnbook.red-bean.com/

Sven runs ;)
-- 
If God passed a mic to me to speak
I'd say stay in bed, world
Sleep in peace
   [The Cardigans - 03:45: No sleep]


By what command do I download LyX 2.0?

2010-02-25 Thread Steve Litt
Hi all,

Well this is embarrassing:

sl...@mydesk:~$ ls /usr/bin/svn*
/usr/bin/svn  /usr/bin/svn-backup-dumps  /usr/bin/svn-load  
   
/usr/bin/svnshell
/usr/bin/svn2cl   /usr/bin/svn-bisect/usr/bin/svnlook   
   
/usr/bin/svnsync
/usr/bin/svn2revisioninc  /usr/bin/svn-clean /usr/bin/svnmerge  
   
/usr/bin/svnversion
/usr/bin/svnadmin /usr/bin/svndumpfilter /usr/bin/svnmucc   
   
/usr/bin/svnwrap
/usr/bin/svn_apply_autoprops  /usr/bin/svn-fast-backup   /usr/bin/svn-
populate-node-origins-index
/usr/bin/svnauthz-validate/usr/bin/svn-hot-backup/usr/bin/svnserve
sl...@mydesk:~$ 

I have no idea what command to use to get LyX 2. Could someone please give me 
the exact command?

When I build it, is there anything more to be done than:

./configure --with-version-suffix=-svn20100225 --enable-build-type=release && 
make && make install

?

Thanks

SteveT

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



Re: Lyx 2.0

2010-02-25 Thread Dotan Cohen
Where can I download the current 2.0-testing tarball? I'd love to help
test and report issues with BiDi and RTL issues.



-- 
Dotan Cohen

http://bido.com
http://what-is-what.com

Please CC me if you want to be sure that I read your message. I do not
read all list mail.


Re: Lyx 2.0

2010-02-25 Thread Julio Rojas
Already doing it. Sorry for the problems.
-
Julio Rojas
jcredbe...@gmail.com



On Thu, Feb 25, 2010 at 9:38 AM, Julio Rojas  wrote:
> And how can I download the correct branch? Thanks in advance.
> -
> Julio Rojas
> jcredbe...@gmail.com
>
>
>
> On Thu, Feb 25, 2010 at 8:52 AM, Guenter Milde  wrote:
>> On 2010-02-24, Rob Oakes wrote:
>>
>> I am running a LyX from Debian/testing (1.6.5) and a home-compliled svn
>> version in parallel without problems.
>>
>>> I'd recommend that after compiling that you manually specify a differ user
>>> and system directory, though.  This will ensure that you don't have problems
>>> with the system installed version of LyX.
>>
>>> Lyx2 -sysdir "/path/to/sys/directory" -userdir "/path/to/user/directory"
>>
>> However, this is done automatically, if you configure with e.g.
>>
>>    ./configure --with-version-suffix=-svn --enable-build-type=release
>>
>> now, the sysdir is /usr/local/share/lyx-svn and the userdir is ~/.lyx-svn.
>>
>> Günter
>>
>>
>


Re: Pre-reform Russian characters in LyX

2010-02-25 Thread Guenter Milde
On 2010-02-24, Vincent van Ravesteijn - TNW wrote:
>>The problem arouse when I needed to insert some obsolete Russian
>>characters that were used before the 20th century. Namely, the letters
>>yat (http://en.wikipedia.org/wiki/Yat), fita
>>(http://en.wikipedia.org/wiki/Fita) or izhitsa
>>(http://en.wikipedia.org/wiki/Izhitsa)

> One possible solution is the following:

> 1. Try to locate the unicodesymbols file (it's in the LyX's lib/resource
> directory, but I'm not sure where this is on Ubuntu).

The path of system dir and user dir are shown in the info you get with
the menu entry Help>About LyX.

> 2. 

  Copy the file from system dir to the user dir and ...

  Add the lines

  0x0462 "\\textcyr{\\char147}" "textcyr" "" # CYRILLIC CAPITAL LETTER YAT
  0x0463 "\\textcyr{\\char176}" "textcyr" "" # CYRILLIC SMALL LETTER YAT

> to this file after the line:

> 0x045f "\\textcyr{\\char182}" "textcyr" "" # CYRILLIC SMALL LETTER
> DZHE

Unfortunately, it is not that easy, because the letter Yat requires the
font encoding T2C (or X2), while the \textcyr feature selects font
encoding T2A!

Hence, you can try:

  0x0462 "\\fontencoding{X2}\\selectfont\\char88"  
"\\DeclareFontEncoding{X2}{}{}" "" # CYRILLIC CAPITAL LETTER YAT
  0x0463 "\\fontencoding{X2}\\selectfont\\char120" 
"\\DeclareFontEncoding{X2}{}{}" "" # CYRILLIC SMALL LETTER YAT



> 3. In LyX:

> Insert->Special Character->Symbols, Category=Cyrillic.

> At the end of the list of symbols shown, there will be a square. 

(if the screen font does not support old cyrillic characters)

> This is your Yat character. If you insert this character in your
> document it will be outputted correctly as the yat (although it will
> look like a square in LyX).

If it looks like a square in LyX, you can change the screen font (which
is a different font than the one used in the printout) via
Tools>Preferences>Screen fonts

I use DejaVu serif and the yats are visible in the buffer after inserting
with 

 unicode-insert 462
 unicode-insert 463

Günter



Re: Lyx 2.0

2010-02-25 Thread Julio Rojas
And how can I download the correct branch? Thanks in advance.
-
Julio Rojas
jcredbe...@gmail.com



On Thu, Feb 25, 2010 at 8:52 AM, Guenter Milde  wrote:
> On 2010-02-24, Rob Oakes wrote:
>
> I am running a LyX from Debian/testing (1.6.5) and a home-compliled svn
> version in parallel without problems.
>
>> I'd recommend that after compiling that you manually specify a differ user
>> and system directory, though.  This will ensure that you don't have problems
>> with the system installed version of LyX.
>
>> Lyx2 -sysdir "/path/to/sys/directory" -userdir "/path/to/user/directory"
>
> However, this is done automatically, if you configure with e.g.
>
>    ./configure --with-version-suffix=-svn --enable-build-type=release
>
> now, the sysdir is /usr/local/share/lyx-svn and the userdir is ~/.lyx-svn.
>
> Günter
>
>


Re: Pre-reform Russian characters in LyX

2010-02-25 Thread Guenter Milde
On 2010-02-24, Liviu Andronic wrote:
> On 2/24/10, Andrey  wrote:
>> Downloaded the trunk through svn, successfully ran autogen.sh, then
>> when I did ./configure and got the following errors:
...

>>  ** Cannot find zlib.h. Please check that the zlib library
>>is correctly installed on your system.
...

>>  What do I do now?

> If I am not mistaken, you're on Ubuntu. You will need to install a
> bunch of development packages: zlib1g-dev, liqt4-dev, etc. 

If it is Ubunto or Debian, try

  apt-get build-dep lyx

to install the dependencies needed to build lyx.

Günter