Re: Debian 12 and Lyx 2.3.7-1

2023-11-07 Thread Peter
Isaac Oskar,

Thanks a million!  The script ran perfectly, and now Lyx, this beta version, 
starts and runs perfectly!  What a relief!  Back to work and spared from Libre 
Office!  

I'll uninstall 2.3.7 and wait for 2.4 to find its way into Bookworm, and 
meanwhile use this one.

Peter

On Tue, 7 Nov 2023 05:32:47 +
Isaac Oscar Gariano  wrote:

> Dear Peter and Folsk,
> Although I was able to reproduce the issue with LyX 2.3.7 (the version on the 
> debian repos), I was unable to reproduce the issue with the current LyX 2.4 
> beta.
> My guess is this is because LyX 2.3.7 uses Qt5 but LyX 2.4 uses Qt6.
> As there's no issue with the current development version and it only seems to 
> be happening on fluxbox, I don't think this problem is a top priority for the 
> developers.
> 
> To use LyX 2.4, it seems you will need to compile it yourself, but I wrote a 
> simple sh script that should do everything for and install lyx to 
> /usr/local/bin/lyx (v 2.3.7 will still be accesable at /usr/bin/lyx):
> 
> su -c 'apt-get install libhunspell-dev libenchant-2-dev libaspell-dev bc 
> gettext libmagic-dev make qt6-base-private-dev qt6-base-dev qt6-svg-dev g++'
> wget https://lyx.mirror.garr.it/devel/lyx-2.4/lyx-2.4.0~beta5.tar.xz
> tar -xvf 'lyx-2.4.0~beta5.tar.xz'
> cd 'lyx-2.4.0~beta5'
> mkdir build
> cd build
> export CXXFLAGS='-Wno-deprecated-declarations -Wno-c++20-compat -Wall -O2  
> -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong 
> -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection 
> -flto=auto'
> export LDFLAGS='-flto=auto'
> ../configure --enable-qt6 --without-included-boost --with-aspell 
> --with-hunspell --with-enchant --enable-build-type=rel
> make
> make install
> 
> — Isaac Oscar Gariano​
> 
> From: lyx-users  on behalf of Peter 
> 
> Sent: Tuesday, 7 November 2023 9:04 AM
> To: lyx-users@lists.lyx.org 
> Subject: Re: Debian 12 and Lyx 2.3.7-1
> 
> OK, created a new Virtual Box VM, Debian 12.2.  Installed none of the 
> desktops or WMs or display managers, just the base system.  Then installed 
> xorg, fluxbox and lyx. Started xorg with startx and this entered fluxbox 
> which seemed to be behaving normally.  Then started lyx from a terminal. Same 
> thing, it doesn't manage to start, similar long scrolling list of error 
> messages.
> 
> Then installed ICEWM into this VM, just to make sure, started it with 'startx 
> icewm' and lyx started fine from a terminal.
> 
> So that's it for me now.  I'll try contacting the developers list.
> 
> Peter
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Debian 12 and Lyx 2.3.7-1

2023-11-06 Thread Peter
OK, created a new Virtual Box VM, Debian 12.2.  Installed none of the desktops 
or WMs or display managers, just the base system.  Then installed xorg, fluxbox 
and lyx. Started xorg with startx and this entered fluxbox which seemed to be 
behaving normally.  Then started lyx from a terminal. Same thing, it doesn't 
manage to start, similar long scrolling list of error messages.

Then installed ICEWM into this VM, just to make sure, started it with 'startx 
icewm' and lyx started fine from a terminal.

So that's it for me now.  I'll try contacting the developers list.

Peter
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Debian 12 and Lyx 2.3.7-1

2023-11-05 Thread Peter
Thanks for all the suggestions.  I have tried lots of window managers now and 
come to the end of time and energy. Need to get on with the work and stop 
tinkering.  I've created a new user and tried with that - didn't help.  I 
haven't found a different window manager I can live with that will run Lyx. 
ICEWM is the closest. I'll make one more effort, create a VM and try a clean 
Debian install, and if it works, use that.  And if that doesn't work, go back 
to Open Office.  Not great, but it can be made to do the job.

I'm starting to suspect it may have something to do with Wayland.  Or it could 
be NVidia as Steve suggests, at this point its beyond me. I have looked at Kile 
and Texworks but they both (esp Texworks) are a project in themselves to learn. 
 That was so nice about Lyx, I could just write, structure and then export.  It 
was great while it lasted.  

Just to reply on FLWM, I had tried the crystal version. So next tried the base 
version.  The base version does load but with lots of error messages which 
makes me nervous.  But I can't do with FLWM as my WM.

The second time I've been snookered by using a rather specialist authoring 
tool. The other was Scrivener, which was great - until they dropped Linux!

I'll give a new Debian VM a try and then have to give up.

Peter
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Debian 12 and Lyx 2.3.7-1

2023-11-02 Thread Peter
Steve -

Yes, I do indeed have an NVidia card!  But I'm changing out machines shortly, 
to one using Intel integrated graphics, so will see if that is the problem.  
Thanks for the idea about xinit too, I will try that.  And thanks for the 
suggestions about other WMs.

Found your site very helpful a couple of years back when I had audio problems.  
Really helped to fix it.

Peter
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Debian 12 and Lyx 2.3.7-1

2023-11-02 Thread Peter
OK, tried installing LXQT, and Lyx still has problems.  As it does on Fluxbox 
even after LXQT is installed.  I also tried FVWM and that doesn't work properly 
either.  But ICEWM and MATE both are fine.  So it seems to be something in Lyx 
and its definitely not just Fluxbox.

Its very easy to go to another WM in Fluxbox, its just a menu item and it 
switches on the fly, so I shall make do with that for now, switch to ICE when 
using Lyx, and hope the next release fixes it.  I don't want to move as a 
regular thing from Fluxbox, its so easy and uncluttered, I've customized it to 
my taste, and its been interesting trying the other WMs because of this, I 
don't like any of them compared to Fluxbox.  Maybe I3. 

I wondered could it be the display manager, but it works with ICE using the 
current one which seems to exclude that.

Peter

> Today's Topics:
> 
>1. Re: Debian 12 and Lyx 2.3.7-1 (Eckhard H?ffner)
> 
> 
> --
> 
> Message: 1
> Date: Wed, 1 Nov 2023 17:00:28 +0100
> From: Eckhard H?ffner 
> To: LyX Users 
> Subject: Re: Debian 12 and Lyx 2.3.7-1
> Message-ID:
>   
> Content-Type: text/plain; charset="utf-8"
> 
> You can install several window manager and choose which one you want to
> use. So you may add LXQT minimal and then try it again with fluxbox. If it
> does not work, you can use LXQT, which should run without any problems.
> 
> 
> Peter  schrieb am Mi., 1. Nov. 2023, 12:08:
> 
> > Its Fluxbox!
> >
> > I couldn't bring myself to install KDE, you can imagine that for a Fluxbox
> > user that might be a step too far!  So I installed MATE, and Lyx appears to
> > start up quite normally, all the recently opened files are there, and it
> > looks like it will work.  That's a relief, at least its going to be
> > possible to run it.  The next step will be to try and find a Fluxbox
> > alternative, maybe a tiling WM, and see if that works.  Also it gives
> > something definite to go on, and I can take it to the Fluxbox list.  A pity
> > because I've found Fluxbox just about perfect.  Obviously its not for
> > everyone.
> >
> > Thanks again for the suggestions.
> >
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Debian 12 and Lyx 2.3.7-1

2023-11-01 Thread Peter
Its Fluxbox!

I couldn't bring myself to install KDE, you can imagine that for a Fluxbox user 
that might be a step too far!  So I installed MATE, and Lyx appears to start up 
quite normally, all the recently opened files are there, and it looks like it 
will work.  That's a relief, at least its going to be possible to run it.  The 
next step will be to try and find a Fluxbox alternative, maybe a tiling WM, and 
see if that works.  Also it gives something definite to go on, and I can take 
it to the Fluxbox list.  A pity because I've found Fluxbox just about perfect.  
Obviously its not for everyone.

Thanks again for the suggestions.

Peter


On Wed, 01 Nov 2023 09:52:08 +
lyx-users-requ...@lists.lyx.org wrote:

> Send lyx-users mailing list submissions to
>   lyx-users@lists.lyx.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>   http://lists.lyx.org/mailman/listinfo/lyx-users
> or, via email, send a message with subject or body 'help' to
>   lyx-users-requ...@lists.lyx.org
> 
> You can reach the person managing the list at
>   lyx-users-ow...@lists.lyx.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of lyx-users digest..."
> 
> 
> Today's Topics:
> 
>1. Re: Debian 12 and Lyx 2.3.7-1 (Folsk Pratima)
>2. Re: Debian 12 and Lyx 2.3.7-1 (Folsk Pratima)
>3. Re: Debian 12 and Lyx 2.3.7-1 (Peter)
>4. Re: Debian 12 and Lyx 2.3.7-1 (Folsk Pratima)
> 
> 
> --
> 
> Message: 1
> Date: Wed, 1 Nov 2023 10:22:54 +0200
> From: Folsk Pratima 
> To: lyx-users@lists.lyx.org
> Subject: Re: Debian 12 and Lyx 2.3.7-1
> Message-ID: <20231101102254.69039...@void.wired-node-303707.moe>
> Content-Type: text/plain; charset=US-ASCII
> 
> See here:
> http://lists.lyx.org/pipermail/lyx-users/2023-November/005981.html
> 
> Something went wrong and I created a new thread...
> 
> 
> --
> 
> Message: 2
> Date: Wed, 1 Nov 2023 10:23:48 +0200
> From: Folsk Pratima 
> To: lyx-users@lists.lyx.org
> Subject: Re: Debian 12 and Lyx 2.3.7-1
> Message-ID: <20231101102348.022a8...@void.wired-node-303707.moe>
> Content-Type: text/plain; charset=US-ASCII
> 
> :'(
> 
> 
> --
> 
> Message: 3
> Date: Wed, 1 Nov 2023 08:47:18 +
> From: Peter 
> To: "lyx-users@lists.lyx.org" 
> Subject: Re: Debian 12 and Lyx 2.3.7-1
> Message-ID: <20231101084718.64a4bde4@silverstone>
> Content-Type: text/plain; charset=US-ASCII
> 
> Thanks so much for the suggestions!
> 
> I ran (as myself) QT-DEBUG, and the same thing happened.  Blank screen, but 
> lyx was showing in the bottom fluxbox menu bar, so I quickly closed the app 
> and managed to avoid the crash, and thus was able to copy the terminal 
> output.  It was as follows.  Sorry, its very long.  It means nothing to me.  
> I'm a long time Debian user, but no sort of serious programming background.
> 
> I'll have a go with some of the other suggestions next.  I guess one obvious 
> one is to install KDE andtry it with that, since someone reports having no 
> problems with that on Debian 12.  Can always take it out afterwards.  Or 
> maybe beta 2.4.
> 
> Peter
> 
> [regular user]~$ QT_DEBUG_PLUGINS=1 lyx
> QFactoryLoader::QFactoryLoader() checking directory path 
> "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms" ...
> QFactoryLoader::QFactoryLoader() looking at 
> "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqeglfs.so"
> Found metadata in lib 
> /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqeglfs.so, metadata=
> {
> "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
> "MetaData": {
> "Keys": [
> "eglfs"
> ]
> },
> "archreq": 0,
> "className": "QEglFSIntegrationPlugin",
> "debug": false,
> "version": 331520
> }
> 
> 
> Got keys from plugin meta data ("eglfs")
> QFactoryLoader::QFactoryLoader() looking at 
> "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqlinuxfb.so"
> Found metadata in lib 
> /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqlinuxfb.so, metadata=
> {
> "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
> "MetaData": {
> "Keys": [
> "linuxfb"
> ]
> },
> "archreq": 0,
> "className"

Re: Debian 12 and Lyx 2.3.7-1

2023-11-01 Thread Peter
Thanks so much for the suggestions!

I ran (as myself) QT-DEBUG, and the same thing happened.  Blank screen, but lyx 
was showing in the bottom fluxbox menu bar, so I quickly closed the app and 
managed to avoid the crash, and thus was able to copy the terminal output.  It 
was as follows.  Sorry, its very long.  It means nothing to me.  I'm a long 
time Debian user, but no sort of serious programming background.

I'll have a go with some of the other suggestions next.  I guess one obvious 
one is to install KDE andtry it with that, since someone reports having no 
problems with that on Debian 12.  Can always take it out afterwards.  Or maybe 
beta 2.4.

Peter

[regular user]~$ QT_DEBUG_PLUGINS=1 lyx
QFactoryLoader::QFactoryLoader() checking directory path 
"/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at 
"/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqeglfs.so"
Found metadata in lib 
/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqeglfs.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"eglfs"
]
},
"archreq": 0,
"className": "QEglFSIntegrationPlugin",
"debug": false,
"version": 331520
}


Got keys from plugin meta data ("eglfs")
QFactoryLoader::QFactoryLoader() looking at 
"/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqlinuxfb.so"
Found metadata in lib 
/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqlinuxfb.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"linuxfb"
]
},
"archreq": 0,
"className": "QLinuxFbIntegrationPlugin",
"debug": false,
"version": 331520
}


Got keys from plugin meta data ("linuxfb")
QFactoryLoader::QFactoryLoader() looking at 
"/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqminimal.so"
Found metadata in lib 
/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqminimal.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"minimal"
]
},
"archreq": 0,
"className": "QMinimalIntegrationPlugin",
"debug": false,
"version": 331520
}


Got keys from plugin meta data ("minimal")
QFactoryLoader::QFactoryLoader() looking at 
"/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqminimalegl.so"
Found metadata in lib 
/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqminimalegl.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"minimalegl"
]
},
"archreq": 0,
"className": "QMinimalEglIntegrationPlugin",
"debug": false,
"version": 331520
}


Got keys from plugin meta data ("minimalegl")
QFactoryLoader::QFactoryLoader() looking at 
"/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqoffscreen.so"
Found metadata in lib 
/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqoffscreen.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"offscreen"
]
},
"archreq": 0,
"className": "QOffscreenIntegrationPlugin",
"debug": false,
"version": 331520
}


Got keys from plugin meta data ("offscreen")
QFactoryLoader::QFactoryLoader() looking at 
"/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqvnc.so"
Found metadata in lib 
/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqvnc.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"vnc"
]
},
"archreq": 0,
"className": "QVncIntegrationPlugin",
"debug": false,
"version": 331520
}


Got keys from plugin meta data ("vnc")
QFactoryLoader::QFactoryLoader() looking at 
"/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqwayland-egl.so"
Found metadata in lib 
/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqwayland-egl.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData&quo

Debian 12 and Lyx 2.3.7-1

2023-10-31 Thread Peter
Hi, I have just upgraded to Debian 12 and find Lyx will not load.  In addition, 
trying to load it seems to crash xorg, so the only way out is to reboot.  I was 
going to post the slew of error messages from the terminal, but as soon as I 
opened Claws the display became unusable.  Moving the cursor led to a broad 
black line across the display, and clicking no longer worked.

I have tried starting Lyx from the terminal as a different user, and I get this:

[different user]:~$ lyx
qt.qpa.xcb: could not connect to display 
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even
though it was found. This application failed to start because no Qt
platform plugin could be initialized. Reinstalling the application may
fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl,
offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl,
wayland-xcomposite-glx, xcb.

I have checked, and xcb is installed.

Any suggestions?  Should I try to revert to an earlier version, which worked 
just fine under Debian 11, and if so how would one do that?  I have tried 
reinstalling as suggested above, but it makes no difference.

What happens on launch is that a large window with no borders comes up.  The 
Lyx starting logo is in the middle.  But there is no toolbar, neither right nor 
left clicks work either.

This is Debian 12 with fluxbox. 

Any help gratefully received.  I can try running debug if anyone knows what 
flags to use and what to look for.

Peter
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


convert Word/Writer docs into Lyx

2023-06-02 Thread Peter Malaise
As a Linux Mint user I got the request to translate and publish an A5 
book of some 180 pages I wrote in 2020, from my native Dutch into 
English and French. I could do it manually as I'm fluent in both, but 
there's quite some research on correct terminology to be done for each 
language and a lot of adaptations to the respective market habits; any 
time gain is welcome.


The book was written in Lyx, which I use since many years. I decided for 
machine translation and a manual correction afterwards. After some tests 
I decided to choose DeepL (I'm a subscriber). You can import long and 
complex docs there as PDF, DOCX or PPTX. As I work with LibreOffice 
Writer the export from Lyx to Writer is a piece of cake and you can save 
as DOCX directly. The return from DeepL (translation took some 2 
minutes) was quite complete, but you have to get it in Lyx again, and as 
intact as possible, to limit the time for redoing the layout of the 
whole document.


I didn't manage to do that satisfactorily, until I read the mail by 
Eberhard Lisse in this list, referring to LibreOffice and the 
Writer2Latex plugin. The plugin saved the Word text as TEX, I imported 
this in Lyx and was astonished by the result: everything was there and 
on its right place, even the Index, Table of contents and List of 
figures, even the 'blank spaces' ('big jump' vertical spacing in Lyx) 
Mathias Schmidt wrote about. The only flaw, if you like, is that Notes 
and Foot notes are all there, but within the text body, not in the footer.


Now, this was only text and the odd conventional photos and drawings, I 
can imagine that a scientific or math document might be far more 
complex. Anyway, I can't but stress how fluent the processing went, 
leaving me ample time for the corrections and adaptions.


Peter Malaise

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Useful to know how many branch insets are used?

2022-02-12 Thread Peter GAAL via lyx-users
For me, the main use of branches is to separate the single language 
versions of a document needing to be translated into multiple 
languages. In this specific use case, it is extremely important that 
all languages have the /same/ number of branch insets, but this holds 
in my opinion even for the exemplary question-answer branches described 
in the LyX docs.


So yes, I think it’s a /very/ good idea to show the number of branch 
insets in the dialog.


PG

/What you see is what you get—it's ALL you get./

On Fri, Feb 11, 2022 at 8:48 PM, Scott Kostyshak via lyx-users 
 wrote:

I use a lot of branches in my documents. I don't think many others do,
so I'm not sure how relevant this will be. But occasionally I find I
want to remove unused branches. Does anyone else come across this?

It would be pretty easy to write a Python script that does this
externally. That's my current plan.

However, I wonder if it would be useful more generally to display in
Document > Settings > Branches how many times each branch is used 
(i.e.,

how many insets of each branch there are). It would be a column, along
with the current columns "Activated", "Color", and "Filename Suffix".
For example, one could sort the branches by clicking on the column
header.

Would others find this useful? I'm guessing it's just me and maybe one
or two others, in which case it might be best not to propose this
feature on lyx-devel and just take the easy approach of writing the
Python script. Nonetheless I thought I would ask for feedback since
branches are such a flexible tool I'm not sure how others use them.

Scott
--
lyx-users mailing list
lyx-users@lists.lyx.org 



-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


RE: you say install latest version of MiKTeX before installing LyX -what is the minimal version needed?

2018-09-10 Thread Peter Taylor
Thanks for your responses – I remember having some problem with a MiKTeX 
upgrade recently so I can understand that you might have had a problem.

I will wait before trying to install LyX – I will keep an eye on the 
installation page to see if anything changes.

Regards,
Peter

From: Richard Kimberly Heck
Sent: 09 September 2018 17:35
To: Daniel
Cc: pptayl...@gmail.com; lyx-users
Subject: Re: you say install latest version of MiKTeX before installing LyX 
-what is the minimal version needed?

On 09/09/2018 11:12 AM, Daniel wrote:
> On 09/09/2018 03:15, Peter Taylor wrote:
>> Hi,
>>
>> I have upgraded MiKTeX relatively recently – I don’t want to upgrade
>> again if I don’t have to upgrade – so please could you update your
>> webpage which says:
>>
>> (start quote)
>>
>> Due to a bug in MiKTeX, installation of LyX 2.3.0 can sometimes cause
>> the MiKTeX installation to be corrupted. (See
>> https://github.com/MiKTeX/miktex/issues/82.) If you run into
>> problems, the solution will be to uninstall MiKTeX and then re-install.
>>
>> We highly recommend that MiKTeX users update to the latest version
>> *before* installing LyX 2.3.0. If you have any questions about how to
>> update MiKTeX, you can email lyx-users@lists.lyx.org for help. (You
>> do not need to be subscribed to the mailing list to do so, but you
>> may wish to do that anyway. See this page
>> <https://www.lyx.org/MailingLists#toc2> for information on subscribing.)
>>
>> (end quote)
>>
>> This information does not mention specific versions – just says
>> “latest version of MiKTeX”. My MiKTeX console window tells me it is
>> version 2.9.6751.
>>
>> I am actually using another TeX editor which works fine for me but I
>> want to collaborate with a colleague and I heard that LyX might be an
>> easier editor for him to use on shared documents. Before doing that I
>> want to check that LyX is something I can recommend to him.
>>
>> However seeing this message on your website has made me reluctant to
>> try out LyX in case my MiKTeX installation gets corrupted.
>>
>> Regards,
>>
>> Peter
>>
>> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
>> Windows 10
>>
>
> I might be wrong, but I think that from official installer 2.3.0
> onwards LyX is not making any upgrades to MiKTeX on its own any more.
> So, in the worst case LyX will not work but everything else should
> still do. So, you could just give it a shot without upgrading MiKTeX
> and see whether it works.

For some reason, Uwe had the installer run something like:

    mpm.exe --verbose --update-db

just prior to LyX configuration and then install a bunch of packages,
all without asking or even informing the user. I'm still working on
undoing that and will probably release an updated installer, which is a
bit more streamlined, before too long. So Peter, you may want to wait
for that.

Riki




you say install latest version of MiKTeX before installing LyX - what is the minimal version needed?

2018-09-08 Thread Peter Taylor
Hi,

I have upgraded MiKTeX relatively recently – I don’t want to upgrade again if I 
don’t have to upgrade – so please could you update your webpage which says:

(start quote)
Due to a bug in MiKTeX, installation of LyX 2.3.0 can sometimes cause the 
MiKTeX installation to be corrupted. (See 
https://github.com/MiKTeX/miktex/issues/82.) If you run into problems, the 
solution will be to uninstall MiKTeX and then re-install. 
We highly recommend that MiKTeX users update to the latest version before 
installing LyX 2.3.0. If you have any questions about how to update MiKTeX, you 
can email lyx-users@lists.lyx.org for help. (You do not need to be subscribed 
to the mailing list to do so, but you may wish to do that anyway. See this page 
for information on subscribing.) 
(end quote)

This information does not mention specific versions – just says “latest version 
of MiKTeX”. My MiKTeX console window tells me it is version 2.9.6751.

I am actually using another TeX editor which works fine for me but I want to 
collaborate with a colleague and I heard that LyX might be an easier editor for 
him to use on shared documents. Before doing that I want to check that LyX is 
something I can recommend to him.

However seeing this message on your website has made me reluctant to try out 
LyX in case my MiKTeX installation gets corrupted.

Regards,
Peter


Sent from Mail for Windows 10



Lyx Babel issue

2017-09-21 Thread Peter Drummond
I get the following problem running


LyX Version 2.2.3 on a Mac with OSX El Capitan 10.11.6.


If I simply open the Lyx program with a new file, type in 'test', and try
to view the results, I get an error message in the log panel that opens:

`Package babel Error: Unknown language `english'. Either you have'

In the next pane, I have:

`\selectlanguage{english}

You may proceed, but expect unexpected results'


In the Document Settings, I  find the Language package is always set to
'Automatic'. If I then reset this to 'Always Babel', the error goes away. I
discovered this by trial and error. It is certainly not remotely obvious.
Why would a babel package error go away when one sets the language package
to 'babel'? I would have expected that if the language package was set to
'Automatic', then it would either choose 'babel' or some other package. If
it chose 'babel', I might get 'babel' errors, but they would surely remain
if I set the option to 'Always Babel'!


The documentation in the Help file gives no hint as to why a babel error
would occur with automatic settings, but not with the 'Always Babel'
setting.


A related problem is that if I type in an incorrectly spelled word like
'testx', it will be flagged by the spell-checker, but no alternative is
suggested. Note that these errors occur in a completely new Lyx file, just
created, with only one word in it, and only default settings.


Similar spellcheck/babel errors occur in almost every other Lyx file I try.
Many are more serious than this, and don't allow me to proceed. This
creates problems with files shared with other researchers, who create Lyx
files that I edit.


I do not get this problem on other Macs I have access to, with the same
version of Lyx. However, there is no obvious clue to what is causing it.
Presumably a language setting either in Lyx or the Mac is incorrect, but I
have no idea what it could be. Whatever it is, the error message is not
very useful.


Hope someone can help -


Peter Drummond


Lyx winbuilds

2015-01-01 Thread Peter Johansson
Hello Lyx-users,

  Just by chance compiled Lyx on a winBox with to a part locally compiled Msys
GccMINGW32 according to below

 
LyX 2.1.2 (2014-09-16)
Built on Jan 1 2015, 01:07:51
Configuration
Host type: i686-pc-mingw32
Special build flags: build=release use-hunspell
C++ Compiler: g++ (4.8.1)
C++ Compiler LyX flags: 
C++ Compiler flags: -IC:/Program/CodeBlocks/MinGW/msys/1.0/local/include -O3 
-fno-gcse -fno-guess-branch-probability -mtune=generic
Linker flags: 
Linker user flags: -s -LC:/Program/CodeBlocks/MinGW/msys/1.0/local/lib -lmagic
Qt 4 Frontend:
Qt 4 version: 4.8.4
Packaging: windows
LyX binary dir: /h/lyx-2.1.2/installprefix/bin
LyX files dir: /h/lyx-2.1.2/installprefix/Resources

It runs as it been deployed on a MacOsx.

Only issues you can see as automake failed to analyze my latest version of magic
and I had to add the common win libs manually, in this, my first "Lyx build run"
containing three interrupts, made those directly in the makefiles.

MINGW of 4.6 and up is "rocket science" compared to MSVC, where  in several 
cases
of MSVC corrupted Win versions that fails to build with gcc MINGW, I replaced 
all
c api component dll's in OpenOffice, Scribus, Abi Word, to mention a few, with 
gcc 4.8.(1?) builds,
and it increases the handling speed during import/export with hundreds of 
percents !
That without any stalling or freezing during execution.

As is the case with MINGW builds of Octave, Paraview, R, Maxima, and some two 
hundred + other quite heavy 
scientific analysis apps, where Octave on openblas executes flawlessly, over 
300% faster than any
prebuilt downloadable versions, while not having any execution problems on the 
close to
ten other Winboxes of all varieties tested.
My remaining winboxes have been made usable due to this.
All started when a QT/MINGW built cmake decreased the building time on complex 
Win apps with some 10%+
about one and a half year ago.

The only issue with this particular Lyx build was that I had to install a MSVC 
poisoned python.
One positive development for Lyx, would be to abandon python setups and deploy 
QT setting dialogs as
of Texmaker and Texstudio.

Well it's quite simple as I've chosen all work computerss not operated by me 
personally to be UX ones.

But still, why not scrap MSVC altogether on Winbox distros ??.
 gcc is under revolutionary development due to it's deployment on android and 
most of todays supercomputers.

Many thanks for the great src package to all of you developers, donations will 
be due
if Lyx becomes productively deployed on any project associated to me. 

-- 
Best regards,
 Peter  mailto:searconsult...@gmail.com @xmeshman

FRAGE: Zeilenabstand

2014-08-25 Thread Peter Pattis
Sehr geehrtes LyX-Team

Ich habe eine Frage zum Zeilenabstand.

Ich habe für das ganze Dokument den Zeilenabstand 1.5 angegeben. Nun
erstellt LyX aber auch das Inhaltsverzeichnis und das Abbildungsverzeichnis
mit 1.5 Zeilenabstand.

Ist es möglich, dass ich den Zeilenabstand für diese Bereiche auf den
normalen Zeilenabstand stelle? Kann ich das mit TeX-Code irgendwie einbauen.

Herzlichen Dank für die Information.

Beste Grüsse
Peter Pattis


Insert 2 empty pages at the very beginning of book(KOMA-Script)

2013-03-27 Thread Hans-Peter Wolf
Dear experts,

I use Lyx Version 2.0.5.1,Windows 7,64 Bit.

I use the book(KOMA-Script)-document.

My probleme: How can I add 2 aditional, empty pages ( in German the so
called “Schmutztitel”) at the very beginning of the book-document?

Which code is to add and on which place(präampel ore text body)?

I am a beginner with Lyx and LaTex, and I would be glad, if you could help
me!

Best wishes

Hans-Peter Wolf



Re: Please confirm your message

2012-10-07 Thread Peter Morrison
Sent from my BlackBerry® from Optus

-Original Message-
From: lyx-users@lists.lyx.org
Date: Sun, 7 Oct 2012 10:01:35 
To: 
Subject: Please confirm your message


This message was created automatically by mail delivery software (TMDA).

Your message attached below is being held because the address
 has not been verified.

To release your message for delivery, please send an empty message
to the following address, or use your mailer's "Reply" feature.

   lyx-users-confirm-1349604094.27942.f66...@lists.lyx.org

This confirmation verifies that your message is legitimate and not
junk-mail. You should only have to confirm your address once.

If you do not respond to this confirmation request within 14 days,
your message will not be delivered.


LyX and AEA manuscripts

2012-09-17 Thread Peter Coles
Hi All -- 

I am preparing a manuscript according to AEA specs following  
http://wiki.lyx.org/Examples/AEA and using the aea.lyx template.  

I hope to ask a few rudimentary questions 
here, and perhaps ultimately we can improve the wiki.  Here's the first:


1) In aea.lyx, the documentation reads: 

Also, choose typesetting mode as the class option. Available options are:

finalmode to typeset the manuscript for submission for publication
reviewmode to typeset a blind review copy
draftmode to typeset a draft copy with 1.5-line spacing (or your own choice of 
spacing).



Draftmode is listed by default.  I cannot edit this to finalmode, even upon 
unchecking the box "predefined."  Does anyone know how to change to finalmode?


Thank you!
Peter

Specs:  Windows 7, LyX 2.0.4, Miktex 2.9



Re: Help with paragraph breaks on LyX 2.0.4 (Mac)

2012-07-14 Thread Peter Novak
Hello Daisuke,

> I would like to know whether there is a way LyX won't break up
> paragraphs between pages.
> 
> A cursory web search showed that older versions of LyX had a window to
> specify paragraph breaks, but I can't seem to find it in the current
> version.

Perhaps something like this can help a bit:
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=nopagebrk

In the case you need it just once, you can try to set penalty at the
particular place sufficiently high. For more info check Knuth's TeX
book, stuff on penalty (google term: tex book pdf).

Best,

Peter.

-- 
Peter Novak, p...@aronde.net, http://peter.aronde.net/



signature.asc
Description: Digital signature


Re: Layouts vs cls file definition (was: Lyx .layout language for nagauth.cls)

2012-07-13 Thread Peter Novak
Hello Alex,

> I propose one of two
> solutions: isn't a way to get layout files automatically from cls
> file definitions, if this is too overwhelming I can handle with just
> the basics and then add manually the rest for the first glance (a
> python script would be nice, suggested name "cls2layout.py"); second
> solution could be that lyx can actually read the cls file as an
> option to the layout file, this is not in lyx philosophy but why
> not? It would be helpful in some specific cases like this which is
> used a lot. Probably this is solved someway or someone has already
> found a solution so it would be nice if it is published here, I'm
> open at suggestions.

This would be extremely difficult to do. Realize that most non-trivial
packages do not rely on plain LaTeX, but rather implement large amounts
of their functionality in plain TeX and things are much messier down
there. 

Just consider:
1.- it simply is not the case that you can just parse out
\newcommand, \renewcommand and newenvironmennt definitions and you
are fine. In fact, most of the time you are not. What you need to
consider are all the \def definitions, but that's not the way to do
it. Perhaps for the default LaTeX packages yes, but not the custom
ones of journals and various publishers. In fact, many of those I
saw so far were implemented so that they work for the publisher,
they are not meant to tinker with too much.
2.- TeX (and hence LaTeX) does not facilitate specification of a public
interface of a package. In fact everything (i.e., every symbol
defined in any package) is public - hence all the issues with
namespace clashes between packages. So there's no easy way to say
what should be articulated in the resulting layout.
3.- for many non-trivial packages, the parsing of arguments (e.g.,
starred environments) is done dynamically. Without interpreting the
underlying TeX code you wouldn't be able to find out what the
arguments of a command, nor their semantics and layout ([] vs. {})
should be.
... and we did not dive yet into all the options, and configuration
directives various packages enable (e.g., KOMA packages are very
rich and complex in this respect).

All this could be helped by having package implementors annotated
commands, but well, it's already too late (30+ years too late?) to
complain about that one, right? We have thousands of packages existing
already. Another idea might me to parse the cls file and then decide
what is important and how it is used by searching the web for tex files
with that document class and automatically extract/learn from those what
is the package interface. Well, good luck with that one...

So to sum up: in my opinion, manual layout file creation is the
easiest and most reliable method to rely upon.

My 2 cents.

Best,

Peter.

-- 
Peter Novak, p...@aronde.net, http://peter.aronde.net/



signature.asc
Description: Digital signature


Re: inability to compile from bio.cls

2012-07-04 Thread Peter Novak
Hello Jim,

On Wed, Jul 04, 2012 at 11:29:29AM +0100, Jim Maas wrote:

> Another small issue.  When I run lyx from terminal it compiles and
> then shows me the pdf just fine.  When I run lyx directly from icon
> on ubuntu linux screen, it compiles ok but gives a "file not found"
> error when I try to view the pdf.  Any suggestions on how to
> fix/correct this?  Must be something to do with the paths where lyx
> stores the pdf?

When you are running from the terminal, your .bashrc (or the resource
file of whatever other shell you use) was loaded and your environment is
set accordingly. E.g., your localtexmf tree can be found. Unlike that,
when you run LyX from an X session, your .bashrc where you possibly set
LOCALTEXMF, or alike was not loaded and therefore often your files won't
compile properly resulting in errors like you describe. To tackle that,
I put this into my ~/.xsessionrc:

# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi

That takes into the scope all the settings you might have set locally,
such as $TEXMFLOCAL and related settings.

Hopefully this helps a bit.

Peter.

-- 
Peter Novak, p...@aronde.net, http://peter.aronde.net/



signature.asc
Description: Digital signature


Theorists labbook package - comments and help solicitation

2012-06-28 Thread Peter Novak
Hello LyX users and developers,
my name is Peter Novak and since around 2001 I am a (passionate) user of
LyX (as also documented by my bug reports and feature requests at
http://www.lyx.org/trac/search?q=walkmanyi), though I did not read the
LyX-users mailing lists till now.

To scratch one of many itches of my professional life, I created an
unpolished quick-hack LaTeX/LyX package aimed at creation and
manipulation of lab books for theorists. I include a motivation for
writing the package below and discuss it in the accompanying notes to
the package accessible from here:
http://www.aronde.net/theolabbook.tar.gz (readme.pdf/lyx) file.

Hereby I would like to solicit comments from the LyX users community,
which includes also many research professionals, especially in applied
mathematics and computer science, which is what I care for myself. The
best outcome of this announcement for me would be getting help with
improvements of the package - these are also briefly discussed in the
readme notes to the package.

Below, I am including the motivation for writing the package, which
(hopefully) illuminates the problem I want to solve. In the case
somebody finds this kind of work useful, I would be happy to give back
something to the LyX community as I am definitely grateful to the LyX
team for providing this great tool I rely on in my every-day work since
many years.

Best regards,

Peter.



*** Motivation
Keeping a research lab-book is a daily bread for many researchers, such
as experimental physicists. It helps them to keep track of their
experiments, equipment, results, as well as capture their ideas about
the stuff they work on. Typically a researcher, or a team, keeps one
lab-book per project. This suits the typical workflow of experimental
research, where the evolution of a project can be captured as a (more,
or less) linear stream of notes in a lab book.

Scientists in more theoretical disciplines, such as (applied)
mathematics, or in computer science often deal with several intertwined
and related, yet distinct topics at once. In a consequence the evolution
of their thoughts from inception to a finished paper is often rather
non-linear, rather meandering stream of ideas and notes, which are
difficult to order linearly before the idea/project is ripe enough and
finally “clicks in”. Yet, due to this non-linearity, researchers in
theoretical fields are perhaps even more in a need to capture their
research notes so that they do not get lost. There is definitely a need
for flexible tools and workflows to help theorists capture, organize and
expose their ideas and research notes.

Theolabbook is an attempt to solve this problem for users which center
their daily life around TeX related tools, which are especially useful
when one deals with mathematics. The central requirements driving the
development of the theolabbook package are the following:

1.- notes should be media-rich in terms to the extent TeX allows. That is,
should easily include math, pictures, figures, etc.;
2.- notes can be scribbled in a linear fashion, their order should be
irrelevant;
3.- the package should provide tools for rapid and simple organization
and re-organization of the set of notes, result of which is primarily a
document, the lab-book instance;
4.- the editing of the notes should be as simple as possible, yet as good
as possible. This is a no-brainer, LyX is the editor of choice;
5.- the package should facilitate also publishing of the notes on the web
to support the open notebook research
(https://en.wikipedia.org/wiki/Open_notebook_science).

As of publishing this document, the package implements requirements 1-3
(supported only in Unix environments, for reasons, see the internal
philosophy of the package in the readme document), to a large extent
also 4 and completely lacks support for 5.

By publishing the package as is together with the readme ntroductory
text, my hope is to firstly, receive comments, suggestions, and
criticism from interested LyX users; and secondly, solicit help with
improvements, improving upon the implementation of the requirement 4 and
working out 5.

The rest of the readme document is structured as follows: after a brief
discussion of related work and existing tools for the problem of
capturing and organization of a non-linear stream of notes, I explain
the guts of the theolabbook package, provide a step-by-step installation
instructions, explain included examples and finally discuss its
shortcomings and points where I need help from others.


*** Related work
The observation of non-linearity of research notes in many disciplines
is of course a well known issue. Some of the popular solutions to the
problem is the use of wikis and blogs (see
https://en.wikipedia.org/wiki/Open_research,
https://en.wikipedia.org/wiki/Open_notebook_science). While blogs
facilitate publication and open discussion of research

Re: hanging indentation in bibiography (using lyx & bibtex)

2012-04-26 Thread Peter Coles
stefano franchi  gmail.com> writes:

> 
> On Tue, Apr 24, 2012 at 9:01 PM, Peter Coles  gmail.com> 
wrote:
> >> Richard Heck  comcast.net> writes:
> > Thank you. Could you shed some light on where I should be making these 
edits?
> > Am I to insert \renewenvironment{thebibliography}[1]{} as ERT somewhere 
in
> > the main .lyx document? Or is there some other file I need to edit?  I'm 
using
> > LyX for Windows.
> >
> 
> Peter,
> 
> you should copy the whole block of code and paste it into your
> preamble (Document>>Settings>>Latex Preamble)
> 
> Then, change the first line to read
> 
> \renewenvironment{thebibliography}[1]
> 
> ("renew" instead of "new")
> 
> Now you are ready to play with the parameters as Richard suggested.
> 
> Cheers,
> 
> Stefano

Stefano, Richard thanks.  After some toying, the following worked:

1) I added to the preamble the full block Richard described, replacing the 
's with at symbols (this replacement was probably obvious to everyone 
except 
me.) I also changed the first line as you suggested.

2) I added   \setlength\itemindent{-.5in} to the block, and changed 
\leftmargin\labelwidth to \setlength\leftmargin{.5in}

The bibliography style I am using, aea.bst, seems to use empty labels rather 
than, for example, numbers to enumerate bibliography items. Hence, rather than 
playing with the labelwidth, which had no effect for me, I indented by a 
negative amount and then shoved the whole list back to the right the same 
amount. 

A pain, but it's done!  Thanks, all.




Re: LyX on iPad (or other Tablet devices)

2012-04-24 Thread Peter Kelly
On 12/04/2012, at 2:13 PM, am...@bath.ac.uk wrote:

> Dear LyX,
> 
> Is it possible to run LyX software on an Apple iPad or other Tablet  
> devices such as Android etc.? (I assume it can run on Windows 7 tablet  
> devices?)

Although LyX itself doesn't run on the iPad, I'm currently working a similar 
app called UX Write which follows the same basic authoring philosophy but is 
designed specifically for the iPad. It uses HTML as its native file format (and 
WebKit for on-screen layout & PDF output) but in a future release it will 
support import & export of LaTeX documents. It's a commercial product but will 
be priced fairly cheaply, at a similar cost to Pages/Documents to go etc.

The first release isn't out yet but is currently in private beta testing. I'm 
looking for feedback from as many people as possible so I'm happy to send you a 
copy of the beta to try if you're interested.

Some more info is available at:

http://www.uxproductivity.com/blog/
http://ffeathers.wordpress.com/2012/04/20/new-text-processor-for-ios-ux-write-looking-for-beta-testers/

> Many thanks in advance,
> 
> Andrew Smith (Year 1 - Mathematical Sciences)

--
Dr. Peter M. Kelly
kelly...@gmail.com
http://www.kellypmk.net/



Re: hanging indentation in bibiography (using lyx & bibtex)

2012-04-24 Thread Peter Coles
> Richard Heck  comcast.net> writes:
>
> ...
>
>
>See e.g.
>     http://www.troubleshooters.com/linux/lyx/ownlists.htm
> for a description of what you might try changing. Ultimately, you'd
> need to do:
>     \renewenvironment{thebibliography}[1]{}
> Richard
> 

Thank you. Could you shed some light on where I should be making these edits?  
Am I to insert \renewenvironment{thebibliography}[1]{} as ERT somewhere in 
the main .lyx document? Or is there some other file I need to edit?  I'm using 
LyX for Windows.



Re: hanging indentation in bibiography (using lyx & bibtex)

2012-04-24 Thread Peter Coles
On Tue, Apr 24, 2012 at 12:43 PM, Manolo Martínez
wrote:

> On 04/24/12 at 04:19pm, Peter Coles wrote:
> > Hi all --
> >
> > A journal has requested that the hanging indent in my bibliography be
> exactly .5
> > inches.  Is there an easy way to do this using lyx?
> >
> > I am using lyx 2.0, bibtex, article class, natbib, and aea.bst.
> >
> > Many thanks!
> > Peter
> >
> > (I tried searching the forum on this topic, and could only find outdated
> or
> > inapplicable responses.)
> >
>
> Hi, Peter,
>
> Just out of curiosity: this journal asks you to typeset your paper
> yourself?
>
> Manolo
>

Yes -- the journal is the online-only BE Journal of Theoretical Economics,
which was recently purchased by De Gruyter. They were initially a
non-profit entity, and offered free access to their journals. Presumably
self-typesetting was one way to keep costs low, and the online-only nature
made perfect standardization of type less critical.  Seems like they would
be well-served to offer some lyx/latex templates, huh?

They do have strict typesetting requirements, however -- hence my question!


hanging indentation in bibiography (using lyx & bibtex)

2012-04-24 Thread Peter Coles
Hi all --

A journal has requested that the hanging indent in my bibliography be exactly 
.5 
inches.  Is there an easy way to do this using lyx?

I am using lyx 2.0, bibtex, article class, natbib, and aea.bst.

Many thanks! 
Peter

(I tried searching the forum on this topic, and could only find outdated or 
inapplicable responses.)



Re: Possible Bug in Export to HTML

2012-04-10 Thread Peter Contor
On 10/04/2012, Richard Heck  wrote:
> On 04/10/2012 04:13 AM, Peter Contor wrote:
>> On 09/04/2012, Richard Heck  wrote:
>>> On 04/09/2012 01:07 AM, Peter Contor wrote:
>>>> On 09/04/2012, Richard Heck   wrote:
>>>>> On 04/08/2012 06:57 PM, Peter Contor wrote:
>>>>>> Hi all. This is my first posting to this mailing list, so apologies if
>>>>>> I'm doing something wrong.
>>>>>>
>>>>>> My system:
>>>>>>
>>>>>> Windows Vista Home Premium Version 6.0.6002 Service Pack 2 Build 6002
>>>>>> LyX 2.0.3
>>>>>> MIKTeX 2.8
>>>>>>
>>>>>> Description of alleged bug:
>>>>>>
>>>>>> I open a new file in LyX, open a display style formula box (with
>>>>>> Ctrl-Shift-m), type in an M, save the file and export it to HTML (with
>>>>>> File>Export>HTML). The PNG file containing the image of the M
>>>>>> has
>>>>>> it unrecognizably blurred.
>>>>>>
>>>>>> If put to M's in the display box (MM) and repeat the export, the PNG
>>>>>> file is considerably less garbled. Even less so with three M's. From
>>>>>> about 6 M's onwards, the image is clear.
>>>>>>
>>>>>> I used M's to fix ideas: the same happens with any single character.
>>>>>> If I export to LaTeX and use TeX4ht (htlatex) to convert to HTML,
>>>>>> nothing of the above happens on my system.
>>>>>>
>>>>> Is tex4ht being used by LyX here? or what?
>>>>>
>>>>> Richard
>>>>>
>>>>>
>>>> My understanding is that it's not; i.e., thay LyX uses it's own
>>>> scripts/whatever to export to HTML. It is I who used TeX4ht to see if
>>>> it would act differently than LyX. It did.
>>>>
>>> If you want to export using LyX's internal export, then you have to
>>> export to the LyXHTML format. If you export to "HTML", then what you get
>>> depends upon how your converters are configured and could be lots of
>>> things.
>>>
>>> I doubt you are using LyXHTML here, because we produce PNGs only under
>>> the most difficult conditions (unless it is explicitly requested).
>>>
>>> Richard
>>>
>>>
>> No Richard, I wasn't using LyXHTML. Just the 'plain' HTML export
>> option. Just tried LyXHTML. What happens here is that the export
>> contains NO pictures whatsoever: it uses only text with unicode
>> characters. For example, if I try exporting the displayed formula
>> \int\frac{dx}{\sqrt{1-x^2}}, all I get in the exported HTML file is
>> ∫ dx 1- x 2.
>>
>
> I think what you're getting is MathML, since that is what we export by
> default. This can be controlled a bit under Document> Settings> Output.
> If you want PNGs, we can give you that instead.
>
> So the question remains: What is LyX using to do the export when you
> export the HTML format? You can find out either (a) by looking to see
> what converters are defined under Tools> Preferences, or else (b) by
> running LyX from a terminal and seeing what goes by.
>
> Richard
>
> PS Remember to cc the list in case someone else has ideas.
>
>

I will check these, not least because I'm using LyX more and more
lately and getting interested in how it works. It does make sense to
me that the trouble is to do with the converters. As it happens, I
also have Debian (in VirtualBox), so a bit earlier I installed LyX in
it. First thing to say is that it looks MUCH better in there, second
is that the HTML export work perfectly 'out of the box'. So it's to do
with my Windows system. Not surprised (especially with Vista...)


Coloured Sidebar to highlight text passage?

2012-03-29 Thread Peter Baumgartner
Hello LyX-Community,

Is there a LaTeX/TeX command or package to produce a text sidebar which
could be changed in colour and width? I would need this to highlight text
passages (e.g. Definitions) for a textbook.

At the moment the only way I can think of to produce a sidebar would be a
tabular environment. I wonder if there is no other possibility, a feature
where I could define a new paragraph style or a similar easy usage.

Thanks in advance,
Peter




Re: SV: Many huge pictures - Memory problems?

2012-02-11 Thread Peter Baumgartner
Ingar,

Thanks for your answer.

You mentioned that you had no problems with very huge pictures. Perhaps it
has to do with the kind of compilation? I compile with pdflatex. Maybe I
should use another compilation but I'm afraid of (small) changes in
hyphenation or in the very critical positions of my pictures on the page
layout. 

***

In the meanwhile I have reorganised my file structure so that I've got less
but larger files. -- No change.

Than I grouped pictures (in these larger files) and set the latex option
"draft mode" of all pictures in one of these large files. -- This helped!!

I can now produce all my material in two runs where I set alternatively
pictures of two different large files to draft mode and combine the two pdf
files of these two different runs of compilations with Adobe Professional to
one book file. -- Not very comfortable but I hope it will work for the
publisher.

I think this change with pictures in draft mode is another clue that I ran
in memory problems because of my problems.

Peter




Many huge pictures - Memory problems?

2012-02-10 Thread Peter Baumgartner
Dear LyX-Community,

I'm finalising a textbook with about 120 figures, half of them screenshots.
The publisher told me to deliver the screenshots with better resolutions.
But now my book does not compile any more and LyX generates wired errors I
can't track: 

(./000-sdl-buch.out
! Undefined control sequence.
l.47 \BOOKM

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.

["000-sdl-buch" is the name of my master file]


My assumption is that there is a memory problem:

1. I can compile every part of the book as long as I'm not compiling the
whole book at once.
2. I can compile the whole book without problems in draft modus e.g. without
integrating the pictures
3. To compile just a part but to tell LyX it should include counter and
references results in the same error.

I have not idea how to proceed: If I compile the book in two independent
parts what about the int-text references, bibliography and other automatic
generated lists (table of contents, table of figures etc.)?

Could a new organisation of the files helpful? (At the moment I have one
master file with 53 subfiles.)

Another possibility I'm thinking of are the pictures itself. In my first
version the pictures had about 80 to 300 kB. After shooting the screenshots
again half of them have now 200 kB to 700 kB (still bad resolution but maybe
sufficient?) the other half is between 2 to 4 MB. All the pictures are in
PNGs. Perhaps it would help to size the biggest pictures a little bit down?
But here the problem is: To some of the websites I have no access anymore
and all the pictures have overlaid graphics in it (to highlight some part of
the screenshot).  

I'm at a loss and don't know how to proceed. Any hint would be *very*
appreciated...

Peter


 




Photo's and graphics #2?

2012-01-26 Thread Peter Patten


Hi to all lyx-Users



I am new to publishing in general and specifically LYX, and hope to create a
couple of books re our family tree, containing lots of charts and photos.



Another question that I know will have a simple answer but for the life of
me I cannot work out: After inserting a Photo or Graphics I have found the
method of sizing by % but,,



I can’t find the method of centring the photo or graphics and or its
underline caption, on the page?

Any clues?



Regards Peter P

…


Photo's and graphics? -- Australian English? -- Page Dimensions?

2012-01-22 Thread Peter Patten
Hi to all lyx-Users

I am brand new to publishing in general and specifically LYX, [as of
yesterday] and hope to create a couple of books re our family tree,
containing lots of charts and photos.

After down loading LYX, I note the system went into an auto download of
TeX/LaTeX. I understand in book publishing I ignore this facility?

*   I opened up a New page and “cut and pasted” a MS document into it, it 
came
across without it’s photo’s and graphics, is there any easier way to
reinsert these than to go through individually reinserting each one?

*   After pasting in the text of the document I noted that the spell check 
was
using English, on running a spell check it wanted to replace all my
Australia English with what appears to be US English, is there a way to load
an Australian English correction file?

*   It is my intention to create a book size 17 X 24 cm, how do I resize the
page & pdf format?

*   Where do I find definitions of (ps?pdf), (pdflatex), etc, etc?

Cheers Peter Patten Melbourne Australia…


Re: Strange biblatex error on a different machine

2012-01-05 Thread Peter Baumgartner
Dominik,

You were right! The installation of my coauthor is using an older version,
which was uploaded manually to a place in the tex path which has precedence
over the new installation.

I'm a little embarrassed as I should have checked the versions first of all.
Thanks for your help!

Peter 




Strange biblatex error on a different machine

2012-01-04 Thread Peter Baumgartner
Hello,

I'm working on a book with a coauthor. I copied all my files (including
preamble and .bib database) to his machine. We are calling biblatex with the
following options:

\usepackage[style=authoryear-icomp,natbib=true,block=space,hyperref=true,abb
reviate=true,sorting=nyt,backend=bibtex8,isbn=false]{biblatex}

Compiling it generates two errors:

(1)

(/usr/local/texlive/2011/texmf-dist/tex/latex/biblatex/cbx/authoryear-icomp.
cbx
File: authoryear-icomp.cbx 2011/06/08 v1.5 biblatex citation style

! Package xkeyval Error: `uniquelist' undefined in families `blx@opt@pre'.

See the xkeyval package documentation for explanation.

2)
(/usr/local/texlive/2011/../texmf-local/tex/latex/biblatex/biblatex.cfg
File: biblatex.cfg 
)

! Package xkeyval Error: `isbn' undefined in families `blx@opt@pre'.

See the xkeyval package documentation for explanation.

But if I delete "isbn=false" and change to style=authoryear than compiling
goes fine and no error occurs.
So with the following call we get no error:
\usepackage[style=authoryear,natbib=true,block=space,hyperref=true,abbreviat
e=true,sorting=nyt,backend=bibtex8]{biblatex}

As far as I can say we have exactly the same the same files. We both have
the TexLive 2011 and we are both working with LyX 2.0.2. The only difference
seems to be the machine: He is working on a MacBook4.1 with OS X 10.5.8 and
I have a MacBookPro5,1 with OS X 10.6.8 running.

What could be the reason for this weir error?

Peter






Biblatex-biber citation problem

2012-01-01 Thread Peter Baumgartner
Hello,

I'm not sure if this is the right place for my question. In that case please
either ignore my mail or give me a hint where to place the following
problem:

I'm using biblatex with backend=bibtex8 and wanted to change to
backend=biber. The change went fine but the output of the some of the
in-text citation references is now different:

I'm using Natbib author/year style. In cases of electronic references (entry
type "online") where no author and year are provided (but title, url and
urldate) backend=bibtex8 produces the in-text citation (correctly) just with
the title. But biber now adds the year of the urldate.

I think this is wrong because the date of the url - producing "visited on
.." - has nothing to do with the (unknown) time the page was written.

Any suggestion? - In the meanwhile I stick to bibtex8 ;-)

Peter





Re: Crash with language change in combination with utf8 & float tableau

2012-01-01 Thread Peter Baumgartner
Thanks for investigating and (I guess) solving the problem.
Sorry, but I don't know how to compile the source myself. I will wait for
the new LyX release. In the meanwhile I have found a (provisional?)
solution: I converted the bib file so I don't need utf8 anymore.

Peter
PS.: I'm using OS 10.6.8.






Re: Crash with language change in combination with utf8 & float tableau

2011-12-29 Thread Peter Baumgartner
Here is the minimal example file.

Peter



test-utf8-crash.lyx
Description: video/flv


Crash with language change in combination with utf8 & float tableau

2011-12-29 Thread Peter Baumgartner
Hello,

Using LyX 2.0.2 I experienced reproducible crashes with the following
combination:

-> encoding: utf8
-> module: linguistics with tableau environment
-> language change inside text (command: \foreignlanguage)

The system crashes during pdflatex compilation with a tableau environment in
*combination* with a \foreignlanguage command *and* utf8 encoding.

(I was using language ngerman and changed a word to
\foreignlanguage{english}.)

Peter







utf8 and dingbats

2011-12-22 Thread Peter Baumgartner
Hello,

I'm using language naustrian with unicode (utf8) to include biblatex-entries
(backend=bibtex8) with German umlauts. So far so good.

But now I wanted to add special characters into my text from the dingbats
category. I got error messages of the following type:

! Package inputenc Error: Unicode char \u8:① not set up for use with LaTeX.

What is wrong?

Peter






Entering Fullscreen

2011-08-29 Thread Peter Nisbet
How do I get into fullscreen mode?
I'm using Lyx 1.6.9 on a mac running Lion.

Reading the Lyx wiki implies that F11 should enter full screen, this however 
has an system wide binding to "view desktop", even if you remove this I don't 
get a fullscreen view.
The second method that I've seen mentioned is from the view menu there should 
be a full screen option.  All I see are the dvi/html/pdf typesetting options.

Sorry for the spam if it's a stupid question but I'm confused….

thanks,
P




Re: Problem with the combination of LyX and Bibliographix

2011-07-23 Thread Peter Kohlert

It sounds to me like a bug in that software, something like a bad
regular expression that is catching too much text. FYI, I'm guessing the
"functional characters" are something like the "[=" and "=]" that seem
to surround these citations.

FWIW, as well, this sounds like a needlessly complicated system. Why not
just use a BibTeX editor, or have this program export a BibTeX file, and
use that for the references? If you ultimately need a file that has just
those references, then you can use the aux2bib program to make one.

Richard


Thank you for your reply, Richard. But switching to a different 
bibliography software isn't really an option since I would have to 
replace over 340 references in the text.


I'm now closer to understanding the problem. When I viewed the source 
code in LyX (the LaTeX code) I couldn't see that something in the way 
the files were coded had changed. I used Windows Editor to open the two 
.lyx files, the one before and the one after the compilation, and I 
noticed that the umlauts (I'm writing my paper in German) looked normal 
in the original file (e.g. "ö" and "ü") but in the new file they had 
been transformed into codes (e.g. "ö" and "ü"). Now LyX didn't seem to 
have any problems with the coded umlauts although they were different 
from the original file. But the ordinary looking ones that appeared in 
some of the references generated by Bibliographix caused the 
corresponding text passages to disappear in LyX.
I googled "ö" and found out that it's UTF-8 code. But I don't know what 
to do with that information.
Obviously, I can use the replace-function of the Editor to transform the 
umlauts into UTF-8 and I suspect that that's as close to a solution as I 
will get with this problem. But I wonder what caused it.


Peter


Problem with the combination of LyX and Bibliographix

2011-07-22 Thread Peter Kohlert

Hello,

does anyone else use the bibliography software Bibliographix 8?
It creates temporary "keys" for each source (in the form of [=238 - 
Ehring 2008 Characteristics of e...=]) that you place in your text where 
you want to cite the source. Later, when you want Bibliographix to 
generate the list of references, it reads the .lyx file and searches the 
document for the keys which it then replaces with formatted sources (and 
also creates a separate .tex file containing all references). The 
document with the replaced keys is saved as a new .lyx file.


My problem is that for a small percentage of my sources not only the 
keys but also some of the text around them (one or multiple words) gets 
deleted. Those keys also just get deleted and not replaced with the 
formatted source. Of my >300 sources in the document this concerns more 
than 15 sources in different places. Of course, I can correct them 
manually but that takes time and I might overlook something. There must 
be something special about the affected keys themselves or their 
positions in the document but I don't know what.


I already wrote the Bibliographix people but they didn't have a solution 
for me, just the suggestion to view the LyX source code for "Bx" 
functional characters which may be causing the problem. But I don't know 
what those are.


When I gave the affected keys a color the text around them didn't get 
deleted anymore but the keys still weren't replaced, just removed.


Does anyone have an idea what may be causing the problem?

Thanks,
Peter


Re: lyx 1.4.1 and branches

2011-06-22 Thread Peter Čendula
On Wed, Jun 22, 2011 at 11:06 AM, Jean-Marc Lasgouttes
wrote:

> Le 22/06/2011 10:40, Peter Čendula a écrit :
>
>  From: Jean-Marc Lasgouttes Date: 2006-04-25 14:52:28 GMT
>>
>>  Don't you have Insert>Branch??
>>> JMarc
>>>
>>
>> I also don't have it.
>>
>> my configuration:
>>
> [...]
>
> I do not remember much about the 2006 discussion, but if you
> do not have an Insert>Branch, I suspect that you are using the so-called
> "classic" menus, which have not been updated a lot these days, and have been
> removed in 2.0.
>
> I advise to go to the preference dialog and change "user interface" from
> classic to default.
>
> JMarc
>


Bingo!
Since I've only upgraded my ubuntu 8.10 to 9.10 (current), I didn't knew
there was change in the user interface setup.

Thanks
Peter


Re: Re: lyx 1.4.1 and branches

2011-06-22 Thread Peter Čendula
From: Jean-Marc Lasgouttes Date: 2006-04-25 14:52:28 GMT

>Don't you have Insert>Branch??
>JMarc



I also don't have it.

my configuration:

LyX 1.6.4 (2009-08-22)

Built on Sep 23 2009, 00:00:08
Configuration
  Host type:x86_64-pc-linux-gnu
  Special build flags:  aiksaurus warnings  use-aspell use-ispell
  C   Compiler: gcc
  C   Compiler LyX flags:
  C   Compiler flags:-g -O2
  C++ Compiler: g++ (4.4.1)
  C++ Compiler LyX flags:
  C++ Compiler flags:-g -O2
  Linker flags:
  Linker user flags:-Wl,-Bsymbolic-functions -Wl,-z,defs
-Wl,--as-needed -Wl,-z,defs -Wl,--as-needed
  Qt 4 Frontend:
  Qt 4 version: 4.5.2
  Packaging:posix
  LyX binary dir:   /usr/bin
  LyX files dir:    /usr/share/lyx


Peter
-- 
skype:cendp1am
+49-176-63326870
+421-907-431671
http://cendo.skialpfest.sk
http://www.ifw-dresden.de/institutes/iin/


Re: Implementing a new environment in a LyX .layout

2011-06-07 Thread Peter Flynn

On 07/06/11 13:59, Richard Heck wrote:

On 06/07/2011 02:48 AM, Guenter Milde wrote:

What is the trick that permits (for example) a Frame environment to
contain other environments without the need to "increase the depth" of
the inserted environment?

Using an Inset instead of a Style.

Section 5 of the doc doesn't seem to have anything on what an Inset is
and why one would want to use one. I can see the section on FlexInsets
but not on Insets.

He meant Flex Insets. These could as well be called "user definable insets".

I don't know about "Flex", seems to be a new name. In LyX 1.6 the
definition in a layout file can be done by e.g.::

InsetLayout LandscapeSlide
LyXType custom
LatexType   Environment
LatexName   slide
Decoration classic
LabelFont
  Size  Small
EndFont
MultiPar true
LabelString "Landscape Slide"
End

instead of (or in addition to)::

Style LandscapeSlide
CopyStyle   --Separator--
LatexType   Environment
LatexName   slide
NextNoIndent1
Margin  Static
LeftMargin  N
ParIndent   ""
TopSep  0.4
LabelType   Top_Environment
LabelString "Landscape Slide:"
End

(There are 134 "InsetLayout" definitions in/layouts/ in LyX 2 (svn)
130 of them have "Flex:" in the name.)


There have been some changes to this for 2.0, mostly for consistency.
The "Flex:" prefix is now more or less required. But the rest is the same.

Let me add, for the OP, that once defined these turn up at Insert>Custom
Inset.


That's very useful, thanks. Can Insets be made to appear in the normal 
drop-down of structural styles? Or are they still functionally 
character-level markup, even though one may e declared as an environment?


///Peter


Re: Implementing a new environment in a LyX .layout

2011-06-06 Thread Peter Flynn

On 04/06/11 23:12, Guenter Milde wrote:
[...]

For this kind of environments, you use an Inset instead of a Style:


I thought an Inset was for character-level markup. I may have 
misunderstood something here.



it shows as a box in the LyX buffer,
it is only leaved when you tell it, and
it allows two subsequent instances without the
"--- Environment Separator ---" hack.

Unfortunately, beamer.layout (and some others) are older than the
customizable Inset, so that it contains this "End..." hacks or uglier
things.


What is the trick that permits (for example) a Frame environment to
contain other environments without the need to "increase the depth" of
the inserted environment?


Using an Inset instead of a Style.


Section 5 of the doc doesn't seem to have anything on what an Inset is 
and why one would want to use one. I can see the section on FlexInsets 
but not on Insets.


///Peter



Re: Implementing a new environment in a LyX .layout

2011-06-04 Thread Peter Flynn

On 03/06/11 23:14, Richard Heck wrote:

On 06/03/2011 05:48 PM, Peter Flynn wrote:

[...]

Hmmm. That's what I did: insert a list. But there's nothing in the
Edit menu related to lists at that point. This is using a Beamer
layout file: does that disable some of this stuff?


No, it shouldn't. Here, it is at the very bottom of that menu. Try
Alt-Shift-Right Arrow


On 03/06/11 23:20, Julien Rioux wrote:
[...]

I don't think Beamer disallows it. Try to put two environments (that
are different from "Standard" environment) one after the other. Place
your cursor in the second. You will have the action "Increase List
Depth" available and using it will wrap the second environment by the
first.


I found it eventually, thank you both very much.

I think I need to create an EndFoo style so that I can get LyX to 
display something that shows the end-boundary of the environment, 
otherwise the user will have no idea if the cursor is still within the 
Foo environment when inserting the list...I have been spoiled by so many 
years of using XML and LaTeX where you can see the boundaries.


My problem was in not expecting a function like Increase List Depth to 
be needed: I had assumed it was the default that a new environment would 
go inside the current one. If I invoke a LyX style which is defined as a 
LaTeX environment, I thought everything I typed or invoked from there on 
would go inside the environment until I did something to exit the 
environment.


(This problem isn't unique to LyX, but most systems do it the other way 
round, allowing arbitrarily anything inside a style and providing no way 
to get outside the environment; see my comment in [1].)


What is the trick that permits (for example) a Frame environment to 
contain other environments without the need to "increase the depth" of 
the inserted environment?


///Peter
--
[1] 
http://balisage.net/Proceedings/vol3/html/Flynn01/BalisageVol3-Flynn01.html, 
footnote [3].


Re: Implementing a new environment in a LyX .layout

2011-06-03 Thread Peter Flynn

On 03/06/11 13:25, Richard Heck wrote:

On 06/02/2011 07:35 PM, Peter Flynn wrote:

On 01/06/11 13:57, Richard Heck wrote:

How do I tell LyX that lists (for example; and much other stuff) is
permitted inside a Foo environment? Is there a setting or switch that
tells LyX to allow nested environments globally, or does it have to be
done on an environment by environment basis?


This is normal LyX behavior. If you want the list inside, then you need
to do Edit>Increase List Depth on the list items. You can do this when
you insert the list, and the rest will be correct. Think of this as a
nesting system.


There isn't an "Insert List Depth" item in my Edit menu, or anywhere
else that I can see (2.0.0rc3 under Ubuntu 11.4). Is this a plugin or
something I am missing?


You'll only have it after you insert a list of some sort, i.e., when
it's available to be used.


Hmmm. That's what I did: insert a list. But there's nothing in the Edit 
menu related to lists at that point. This is using a Beamer layout file: 
does that disable some of this stuff?


///Peter



Re: Implementing a new environment in a LyX .layout

2011-06-02 Thread Peter Flynn

On 01/06/11 13:57, Richard Heck wrote:

How do I tell LyX that lists (for example; and much other stuff) is
permitted inside a Foo environment? Is there a setting or switch that
tells LyX to allow nested environments globally, or does it have to be
done on an environment by environment basis?


This is normal LyX behavior. If you want the list inside, then you need
to do Edit>Increase List Depth on the list items. You can do this when
you insert the list, and the rest will be correct. Think of this as a
nesting system.


There isn't an "Insert List Depth" item in my Edit menu, or anywhere 
else that I can see (2.0.0rc3 under Ubuntu 11.4). Is this a plugin or 
something I am missing?


///Peter


Re: Implementing a new environment in a LyX .layout

2011-06-01 Thread Peter Flynn

On 01/06/11 13:57, Richard Heck wrote:
[...]

How do I tell LyX that lists (for example; and much other stuff) is
permitted inside a Foo environment? Is there a setting or switch that
tells LyX to allow nested environments globally, or does it have to be
done on an environment by environment basis?


This is normal LyX behavior. If you want the list inside, then you need
to do Edit>Increase List Depth on the list items. You can do this when
you insert the list, and the rest will be correct. Think of this as a
nesting system.


Aha. Excellent, thank you very much. I'll try this out.


[...] but how do I tell LyX that the environment has two arguments?


RequiredArgs 2


I failed to spot that, thanks. Probably because I was more anxious to 
ensure that prompts for them popped up when the environment was inserted.



I can see that an Inset affords the option to add tokens or values,
but I can't see how to make one compulsory, so that it pops up the
moment you add a Foo from the menu.


There's no system for automatic popup, etc. You add the arguments via
the poorly named Insert>Short Title, just as for optional arguments. The
UI here definitely could be better.


Ah, even though that prompts only with [opt]? OK. I can probably add a 
few words to the label so that the user can see that arguments are needed.


It would certainly be nice if RequiredArgs automatically added n 
inset-type boxes after the style label; even nicer if there was a way to 
attach a prompt label to each of the arguments :-)



[...] formal list of all the keywords for a .layout file


As Bennett mentioned, all of these are documented in Chapter 5 of the
Customization manual.


I found them, many thanks. I'm not used to LyX terminology yet, so I 
wasn't reading the ToC properly. And thank you Bennett for pointing this 
out.


///Peter


Implementing a new environment in a LyX .layout

2011-05-31 Thread Peter Flynn
I am having some trouble understanding how to implement a new 
environment in an existing .layout file. The documentation covers the 
principle, but not the detail, especially about how to enable other 
environments (like lists) *inside* the one I am implementing, and how to 
get LyX to prompt for any arguments required in my environment.


I have defined and tested the environment in LaTeX, and I then add to 
the .layout file:



Style Foo
  LatexType Environment
  LatexName foo
  ParSep0.5

  Font
SizeSmall

> Series  Normal

  EndFont

  Preamble
\newenvironment{foo}
  {\begin{quotation}\small\raggedright\noindent\ignorespaces}

>   {\par\end{quotation}}

  EndPreamble
End


When I open a .lyx file, the entry for a Foo is there in the menu, and I 
can add a few words and paragraphs and it correctly exports:



\begin{foo}
a few words

and paragraphs\end{foo}


All well so far.

But an environment should be able to contain all kinds of other 
environment, like lists. If I try to add an itemized list between the 
two paragraphs above, the exported LaTeX shows that LyX has terminated 
the foo environment prematurely, inserted the list *outside* the 
environment, and then created a new instance of the foo environment to 
hold the second paragraph:


> \begin{foo}
> a few words\end{panel}
> \begin{itemize}
> \item blort\end{itemize}
> \begin{panel}
> and paragraphs\end{foo}

How do I tell LyX that lists (for example; and much other stuff) is 
permitted inside a Foo environment? Is there a setting or switch that 
tells LyX to allow nested environments globally, or does it have to be 
done on an environment by environment basis?


Bonus question: I will eventually want to extend the environment to add 
a box and shaded background, allowing the user to specify width and 
color in mandatory arguments to the Foo environment. Writing the LaTeX 
definition for the Preamble is easy; but how do I tell LyX that the 
environment has two arguments? I can see that an Inset affords the 
option to add tokens or values, but I can't see how to make one 
compulsory, so that it pops up the moment you add a Foo from the menu.


Final plea: I have been unable to find a formal list of all the keywords 
for a .layout file, with their syntax and application. Does such a list 
exist yet?


///Peter


Can't sync LyX 2.0.0.rc2 with Skim

2011-04-29 Thread Peter Baumgartner
Hello,

Does backward sync work with LyX Version 2.0?

With LyX 1.6.8 I used the command
\usepackage[novbox]{pdfsync}

With Version 2.0.0.rc2 I tried the hint in the LyX Wiki
http://wiki.lyx.org/LyX/SyncTeX
But also the slightly different version of the "Aditional LyX Feature"
manual, but to no avail.

Using cmd-shift-click brings LyX to the front, but the cursor stays at the
same position where I left LyX the last time.

The problem shouldn't be Skim 1.3.13 (64) as it works with LyX 1.6.8.

I read the 
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg82556.html but using
the terminal and applying the reverse search command does from Skim does not
bring any change in the terminal. After starting Skim the last terminal line
says
SyncTeX written on .synctex/

Does anybody know what's here wrong?
Kind regards
Peter





Zoom "in" in LyX 2.0

2011-03-21 Thread Peter Ganong
Hi,

I love the new release, but working on a Mac, I don't know how to zoom in
using keyboard shortcuts (and my laptop doesn't have a scroll wheel for
zooming). Zooming out still works as CTRL + "-", but what's the binding for
zooming in?

Thanks,

Peter

--


Re: Index cross referencing with "see"

2011-03-07 Thread Peter Baumgartner
Jürgen,

I've got an error message on missing hyperref. I have switched it off in
order to get a super minimal file. But after turning hyperref on again, it
works now!

I'm really confused. I worked on this minimal file to find the error for
several hours. Now it works, even with all my modules, splitindex etc. - But
I do not know what happened and what was the problem...

Sorry for stealing your time.
Peter




Re: Index cross referencing with "see"

2011-03-07 Thread Peter Baumgartner
> I just noticed that the cross reference mechanism does not work with LyX
> Beta4.
>> You should probably post a complete (minimal) example file.

See attachment. It is possible that the problem exists in earlier beta
versions as well. I haven't yet time to test it.

Peter



test-index.lyx
Description: video/flv


Index cross referencing with "see"

2011-03-07 Thread Peter Baumgartner
Hello,

I just noticed that the cross reference mechanism does not work with LyX
Beta4. Or I'm doing something wrong? See the following code:

Frontalunterricht\index{Modell!Frontalunterricht}
\index{Frontalunterricht|see{Modell}}
\printindex{}

The index entry does appear but there is not cross reference with "see",
respectively the German equivalent with "siehe". (I have tried different
languages, but that didn't help.)

Any ideas what is wrong here?

Peter






Re: Class Switch Error with Character Styles in layout modules

2011-01-15 Thread Peter Baumgartner
Richard Heck  comcast.net> writes:


> Similar to: http://www.lyx.org/trac/ticket/7080?
> 
Yes, it is the same error, because linguistics.module and
logicalmkup.module are providing character style formats as the example in the
ticket. Sorry I didn't know of this ticket.
Peter





Framed boxes and pagebreaks

2011-01-14 Thread Peter Baumgartner
Hello,
 
It seems to me that boxes with simple rectangular frame does not allow for
page break within the box. Instead the box moves with all text inside  to
the next page.

A box with more text than can fit on a page results an error:

> ! TeX capacity exceeded, sorry [input stack size=5000].
> 
> \font@name ->
> 
>  \T1/cmr/m/n/10.95
> 
> l.94 \end{minipage}\end{framed}

LyX 2.0.0beta3, OS X 10.6.6

Peter




Class Switch Error with Character Styles in layout modules

2011-01-14 Thread Peter Baumgartner
Changing for example the document from draft to the final version via the
option field of class option in the tools->document preferences window
results into an error and raises the class switch error box:

> Class Switch-Fehler:


> Fehler: Undefinierter Zeichenstil


> Beschreibung: Der Zeichenstil Code ist aufgrund einer Klassenkonvertierung von
> scrartcl nach scrartcl undefiniert

The error occurs with character styles set with linguistics.module and
logicalmkup.module in all KOMA-script classes. The error occurs with many
document wide commands like changing fonts etc.

I have tested it with a minmal file to prevent other possible error causes.

Peter





LyX 2.0.beta2: Strange Crash when moving outline or other tool window

2011-01-09 Thread Peter Baumgartner
If I moved the outline window in a position where LyX tries to adapt for a
docking position on the *right* side of the document a crash occurred all
the time. 

I know of an old ticket (http://www.lyx.org/trac/ticket/7029) that was
closed because the crash could not reproduced. I could reproduce this
behavior the last few days all the time ;-) not only with the outline window
but also with the extended find window for example.

But now comes the strange thing: If you dock the window *once* successfully
(e.g. the left side of the document) then LyX does not crash anymore even if
you are docking on the right side of the document window.

I'm happy now but I thought I should report this problem as other people
might experience the same problem.

(I'm using Mac OS 1.6.5 and LyX2.0.0beta2.)

Peter




Mini lists of own floats?

2011-01-08 Thread Peter Baumgartner
Hello,

In my book I use different lists of floats I've created myself. I would need
in front of each chapter mini lists of these floats. I've looked into the
package "minitoc" but it works only with tocs, lofs and lots.

The package tocstyle needs at least the generation of one complete list,
from where it draws the copy for the mini list. But I would like to
distribute the chapters separately without the overhead of a complete
version of  

Is there a easy way to produce lists of own floats for each chapter?

Peter 




Re: Sectioned bibliography with biblatex?

2011-01-04 Thread Peter Baumgartner
Peter Baumgartner  donau-uni.ac.at> writes:

> I noticed that my final \printbibliography printed out all the references
> without marks for refsections but not the bibliography cited in the marked
> sections. Is there a way - besides of the sectioned bibliographies - to get a
> complete bibliography of *all* mentioned references at the end of the book?

Ah - the solution is to use the command refsegment instead of refsetion. RTFM of
biblatex... 






Re: Sectioned bibliography with biblatex?

2011-01-04 Thread Peter Baumgartner
Stephan Witt  gmx.net> writes:

> 
> Am 04.01.2011 um 16:26 schrieb Jürgen Spitzmüller:
> 
> > Peter Baumgartner wrote:
> >> Maybe I put bibtexall in a wrong directory? It is in a folder in my path of
> >> the TeX installation and I have also done 'sudo texhash' from the
> >> terminal.
> > 
> > The script must be in an executable path, unrelated to TeX. Don't know 
> > where 
> > this is on the Mac.
> 
> It's the PATH environment like on any other Unix.
> Here I have e.g. /usr/texbin in path for latex et al.

Great! That was the solution!!! I didn't understand what it meant to be an
executable path. I confused it with a LyX or a TeX path. After the hint from
Stephan I found a link to a directory I never have been seen
(/usr/local/texlive/2010/bin/X86_64-darwin), where I have found a lot of other
executable programs like bibtex, bixtex8 etc. I assume biber is to install in
this directory as well?

I noticed that my final \printbibliography printed out all the references
without marks for refsections but not the bibliography cited in the marked
sections. Is there a way - besides of the sectioned bibliographies - to get a
complete bibliography of *all* mentioned references at the end of the book?

Peter





Re: Sectioned bibliography with biblatex?

2011-01-04 Thread Peter Baumgartner
Jürgen Spitzmüller  lyx.org> writes:

> Did you change the preferences accordignly, so that bibtexall is called 
> instead of bibtex?
> 
Yes, I did. 

I'm using LyX 2.0.0beta2 on a Mac:

I changed under LyX -> Preferences… -> Output -> LaTeX  the menu for the
processor for bibliography generation to "Custom" and put "bibtexall" without
quotes into the command field.

And under Document -> Settings -> bibliography the processor menu to "Default"
and left the field "Options" empty. (Choosing "Default" I couldn't write into
this field anymore.)

I tried it with the check mark "Sectioned bibliography" on and off. But I assume
this has no effect at all as it works together bibtex and not biblatex. Is that
right?

The problem seems to me that for the sectioned parts marked with
\begin{refsection) and \end{refsection) LyX couldn't find the bibliography
entries anymore as these text parts have nit replaced the code of the bibtexkey.

Maybe I put bibtexall in a wrong directory? It is in a folder in my path of the
TeX installation and I have also done 'sudo texhash' from the terminal.

Peter







Re: Thesaurus for similar languages like Austrian?

2011-01-04 Thread Peter Baumgartner
Sorry, I forgot that the English version of the manual is more up to date.
Thanks everybody, it works!

Peter 






Re: Thesaurus for similar languages like Austrian?

2011-01-04 Thread Peter Baumgartner
Jürgen Spitzmüller  lyx.org> writes:


> There exist even two Austrian German thesaurus variants:
> http://extensions.services.openoffice.org/de/project/dict-de-AT_igerman98
> http://extensions.services.openoffice.org/de/project/dict-de_AT_frami
> 
> No, it's better to install the respective dictionaries.

Thanks Jürgen, I didn't know that. But how to install. After downloading the
file and unzipping it I get a file with the name:
dict-de_AT-frami_2010-12-04.oxt

There is a description how to install for OO but I couldn't find any for LyX. I
looked on my Mac into /Applications/LyX.app/Contents/Resources/dict but I
couldn't get any clue what to do.

Peter







Thesaurus for similar languages like Austrian?

2011-01-01 Thread Peter Baumgartner
Hi,

With "naustrian" as basic text language I have to switch after a call to the
thesaurus (Shift F7) the drop down menu of the thesaurus window always
manually to German as there exists no thesaurus for the "German (Austria)"
language variant.

It would be fine if one could use the thesaurus for a general language like
German for similar languages like Austrian as well. I assume that the same
problem exists with English in the Canadian and UK variant as well.

Peter




Re: Sectioned bibliography with biblatex?

2010-12-27 Thread Peter Baumgartner
> Peter Baumgartner wrote:
> > What is the problem? What did I wrong?
> 
> http://www.lyx.org/trac/ticket/6430

Thanks, Jürgen. But as I understood bibtexall is a workaround to process all of
biblatex's auxiliary files. So in my understanding the final output from LyX
should be correct. It seems to me that LyX is not calling bibtexall. Or I'm
completely wrong and should I call the aux-file manually via the Mac OS?

Peter






Re: LyX 2.0.0beta2: Colored Text not displayed correctly on Mac

2010-12-26 Thread Peter Baumgartner
Stephan Witt  gmx.net> writes:

> Can you try to make a minimal example LyX file, please?
> I cannot reproduce this...

The problem is: reloading the file solves the problem (many times). I'm working
on a MacBook Pro under Max OSX 10.6.5 with TexLive-2010-64 distribution. 

I sent a test file - which didn't work for me - directly to you.
Peter






Sectioned bibliography with biblatex?

2010-12-26 Thread Peter Baumgartner
In a book project I would need bibliographies after each section. I'm using
biblatex and tried the tips of http://wiki.lyx.org/BibTeX/Tips#secbib but it
didn't work: 

It generates all bibliography references outside of biblatex refsections but
could not find the references inside of the \begin{refsection}. The logfile
says that biblatex can't find the blx-bbl files #1, #2 etc for the reference
sections higher than 0:

> \openout4 = `epm-000-buch-blx.bib'.
> 
> Package biblatex Info: Trying to load bibliographic data...
> Package biblatex Info: ... file 'epm-000-buch.bbl' found.
> (./epm-000-buch.bbl)
> Package biblatex Info: ... file 'epm-000-buch1-blx.bbl' not found.
> No file epm-000-buch1-blx.bbl.
> Package biblatex Info: ... file 'epm-000-buch2-blx.bbl' not found.
> No file epm-000-buch2-blx.bbl.
> Package biblatex Info: Reference section=0 on input line 42.
> Package biblatex Info: Reference segment=0 on input line 42.

Later on biblatex generates corresponding .aux files:
'epm-000-buch1-blx.aux', 'epm-000-buch2-blx.aux' as one can see in the
following snippet of the log file:

> Kapitel 2.
> Package biblatex Info: Reference section=1 on input line 106.
> \openout4 = `epm-000-buch1-blx.aux'.
> 
> Package biblatex Info: Setting label 'refsection:1' on input line 106.
> REQ:2:bibtex:
> binary=bibtex
> option=-min-crossrefs=2
> infile=epm-000-buch1-blx
> :REQ
> 
> LaTeX Warning: Citation 'Wittgenstein_1984' on page 9 undefined on input line
> 1
> 08.
> 
> REQ:1:latex:REQ
> 
> LaTeX Warning: Citation 'Zetterberg_1973a' on page 9 undefined on input line
> 11
> 0.

At the end of the log file biblatex wants a new run of
> Package biblatex Warning: Please (re)run BibTeX on the file(s):
> (biblatex)epm-000-buch1-blx.aux
> (biblatex)epm-000-buch2-blx.aux
> (biblatex)and rerun LaTeX afterwards.

What is the problem? What did I wrong?
I took the following steps:

(1st step)
After preparing the sectioned bibliographies with
\begin{refsection}
..
\printbibliography
\end{refsection}

(2nd step)
I downloaded bibtexall, put it into the path and made it via terminal
executable

(3rd step)
I went to the menu Lyx->→Preferences→Output→LaTeX and changed the processor
for bibliography generation to "custom" and filled in "bibtexall" (without
quotes) as command name.

In Document->Settings...->Bibliography I tried "Sectioned Bibliography"
checked and unchecked (as I suppose this checkmark works only for "normal"
bibtex) and I have chosen as processor "biblatex" leaving the options field
empty.

I', out of any idea what to do or where to look: Every form of help would be
very appreciated!
Peter






LyX 2.0.0beta2: Colored Text not displayed correctly on Mac

2010-12-25 Thread Peter Baumgartner
If some part of the text is colored using the text style customized...
command the text color is not displayed correctly in LyX (cf. attached
picture). Most of the time the new text color is not displayed at all. This
does not change if the file is saved and loaded again.

But by using the switch of the new "Use system color" feature the text color
of the text changes immediately and the text will be displayed with the
right color.

Peter 



text color.png
Description: video/flv


Hyperref, breaklinks & default driver?

2010-12-23 Thread Peter Baumgartner
Hello,

I get the following warning using hyperref with 'breaklings" on and as
default driver hdvips.

> * hyperref using default driver hdvips *
> (/usr/local/texlive/2010/texmf-dist/tex/latex/hyperref/hdvips.def
> File: hdvips.def 2010/06/18 v6.81g Hyperref driver for dvips
> (/usr/local/texlive/2010/texmf-dist/tex/latex/hyperref/pdfmark.def
> File: pdfmark.def 2010/06/18 v6.81g Hyperref definitions for pdfmark specials
> 
> Package hyperref Warning: You have enabled option `breaklinks'.
> (hyperref)But driver `hdvips.def' does not suppport this.
> (hyperref)Expect trouble with the link areas of broken links.

But if I change hyperref.cfg with
\providecommand*{...@defaultdriver}{hypertex}
I got a lot of error messages with biblatex.

Should I ignore the warning and continue using hdvips? Or did I something
wrong?

Peter 





Problems with Biblatex newer than 0.8e

2010-12-22 Thread Peter Baumgartner
Hi,

After the installation of LyX 2.0.0Beta2 my command
\usepackage[style=authoryear-comp,natbib=true]{biblatex}
did not produce author and year anymore but wrote the title into the text
instead.

After I fiddled around quite a while (I suspected problems with my LyX 2.0
installation/configuration) it turned out that the problem is linked with
the newer versions of biblatex. (I tested 09a and 1.0) My "old" biblatex
0.8e version still works under 1.6.8 and 2.0 as well.

What happened with the newer biblatex version? Maybe I did something wrong
with the configuration with the newer versions? (I used as processor bibtex
as I still have no experience with bibtex8 or biber. But maybe these are
required with newer version?)

If it is problem with the biblatex package: Is there a fix? I any case I
reported it at http://sourceforge.net/projects/biblatex/

Peter




Re: LyX 2.0.0beta2 - Two question on the Mac Version

2010-12-20 Thread Peter Baumgartner
> 1.) I couldn't find the menu entry "Compare" under the "Tools" menu as I have
> seen it on a Windows installation of a friend of mine and as it is described
> under http://wiki.lyx.org/LyX/NewInLyX20#document-compare.

Stephan Witt asked me in a mail if I have copied the preferences from my
previous 1.6 version to the 2.0 version. And this reminded me that I had
changed some of the settings in ~/Library/Application
Support/LyX-1.6/ui/stdmenus.inc file!

Sorry for creating trouble about a problem which was no problem at all, just
caused by my own stupidity.

Peter




Re: LyX 2.0.0beta2 - Two question on the Mac Version

2010-12-19 Thread Peter Baumgartner
> 2.) I couldn't bring to work the new spell-checking on the fly feature ...
I solved this problem: In previous versions I used to use Aspell; so I had
now to change the spellchecker engine from Aspell to Native.




Re: LyX 2.0.0beta2: UI issues

2010-12-19 Thread Peter Baumgartner
3.) Long loading time:
 
> I just tried opening a largish collection of documents of my own, and it
> was pretty quick, but I do not have images, tables, etc, so maybe there
> is something slow somewhere that is specific to certain documents.

My book has actually about 50 images and more than 40 tables, some of them
are in landscape format and long tables. Maybe these files causes the long
loading time? I will take the different files and will move it for testing
purposes to see what happens and if I can detect what is responsible for the
long loading time.
> 
>>>> 4.) In the enhancend outliner appear index insets on the same line as well.
>>>> 
>>> What do you mean?
>> In the headlines of the outliner appears not only the text of the headline
>> but all the text in the index insets as well. (see screenshot)
>> 
> Oh, I see. A patch I'm working on should take care of this.

Thanks,
Peter




Re: LyX 2.0.0beta2: UI issues

2010-12-19 Thread Peter Baumgartner
Hi Marc,

> But the child documents have not been rewritten, have they?

Yes, I loaded every child document and rewrote them all with "Save asŠ"

Peter




Re: LyX 2.0.0beta2: UI issues

2010-12-18 Thread Peter Baumgartner
Thanks Richard for the fast reply. I wrote between the text snippets.

>> 1.) Working with tables very often has the effect that table inset changes
>> from "Gleitobjekt: Table" to "Gleitobjekt: tabular. The numbering of the
>> legend disappears and LyX loses the type of the floating object (cf.
>> Screenshot "table-ui-problem").
>> 
> This is a good one to report on trac. It would be especially helpful if
> you knew how reliably to cause this.

Sorry, it happened several times but I can't produce it voluntarily. I will
observe and when it happened again I will try to repeat the last command so
I could see if I can reproduce it.

I suspect it has to do with some setting of the tabular window as this
window in German should have another name ("Tabelle"). In certain changes of
settings of these complex window the inset refreshes with the (wrong)
English name "tabular" and the systems can't match anymore the floating type
"Tabelle" with the inset name.
 
>> 3.) A master file for a book with 25 chapters using the "Include" feature
>> for all chapters takes 65 seconds for loading. It loads just a few seconds
>> in version 1.6.8.
>> 
> This is probably due to the conversion from 1.6 format to current
> format. That would take a while.

Good idea: I opened every file and saved it with the "save asŠ" menu command
so that I could force the file to store in the 2.0 format. Then I quit and
after that I opened LyX with the master file - but again: I took more than a
minute to load.

> 
>> 4.) In the enhancend outliner appear index insets on the same line as well.
>> 
> What do you mean?

In the headlines of the outliner appears not only the text of the headline
but all the text in the index insets as well. (see screenshot)

Peter



oultiner-ui-problem.png
Description: video/flv


Re: LyX 2.0.0beta2 - Two question on the Mac Version

2010-12-18 Thread Peter Baumgartner
> Are you sure you're looking at a LyX-2.0 beta?

Yes, see screenshot.
Peter



lyx2.0.0beta2.png
Description: video/flv


LyX 2.0.0beta2: UI issues

2010-12-18 Thread Peter Baumgartner
Hi,

I would like to report some UI issues which I came over in the German
localisation: (BTW: Is this the right place/mailing list for it?)

1.) Working with tables very often has the effect that table inset changes
from "Gleitobjekt: Table" to "Gleitobjekt: tabular. The numbering of the
legend disappears and LyX loses the type of the floating object (cf.
Screenshot "table-ui-problem").

2.) The menu-entries "reconfigure", "dissolve inset", "Split View into Upper
and Lower Half" are not translated into German.

3.) A master file for a book with 25 chapters using the "Include" feature
for all chapters takes 65 seconds for loading. It loads just a few seconds
in version 1.6.8.

4.) In the enhancend outliner appear index insets on the same line as well.

Peter



table-ui-problem.png
Description: video/flv


LyX 2.0.0beta2 - Two question on the Mac Version

2010-12-18 Thread Peter Baumgartner
Hello,

1.) I couldn't find the menu entry "Compare" under the "Tools" menu as I
have seen it on a Windows installation of a friend of mine and as it is
described under http://wiki.lyx.org/LyX/NewInLyX20#document-compare.

2.) I couldn't bring to work the new spell-checking on the fly feature as it
is described under http://wiki.lyx.org/LyX/NewInLyX20#toc2. There is no red
underline as I have seen on a windows machine. If I'm using the menu entry
"SpellcheckerŠ F7" under the "Tools" menu then appears no window for
spellchecking, even if there wrongs words. Instead LyX opens a window saying
how many words were checked.

Is there something wrong with my installation or are these features in the
beta2 version still not available on the Mac?

I'm using Mac OSX 10.6.5 with a TexLive-2010-64 distribution.

Thank you in advance
Peter




Re: LyX 2.0 - Problems with Tables

2010-12-13 Thread Peter Baumgartner
Stephan,

Sorry, my second description it was essentially the same problem but badly
described. After a refresh the text appears. The refresh could be forced
(tabbing into a new cell) or is done after some time automatically. So at least
I understood it reading ticke +7164.

Peter 





LyX 2.0 - Problems with Tables

2010-12-13 Thread Peter Baumgartner
Hi,

I'm noticed problems with tables using LyX 2.0.0beta2:

I've created a table with fixed column widths: a wide column (14cm) and two
small column (1,1cm). The entered text in these columns does only appear
when I leave the column. I have to enter the text blindly.

My figure setup for the width in the tabular dialog does not appear if I
call the dialog or disappears if I have entered the figure. So the tabular
dialog comes mostly empty (so I have to remember the value I've entered) or
sometimes with the figure of another cell I have recently setup. But this
has no effect on the table itself.

In another experiment with 3 columns without fixed columns the text appears
sometimes after a delay of about 1 sec., sometimes I have to leave the cell.

I'm using a MacBook Pro with OS X Snow Leopard, Version 10.6.5 und
TexLive-2010-64.

Peter




Re: Nomenclature: Option clash, &amp; localisation issue

2010-09-08 Thread Peter Baumgartner
No, no, it is not the string, that worries me. Sorry for my bad explanation: I
just used this example to demonstrate that there is no reaction of passing this
parameter to nomencl. 

If you put "german" in the document class options than all works fine: it
changes the name of "Nomenclature" to "Symbolverzeichnis" (I use also
Nomenklatur like you in your example, but the official translations seems to be
"Symbolverzeichnis") and if you are passing the pageref option it also changes
"page" to the German "Seite". 

But this works *only* passing the options via the document class option and this
destroys my language setting naustrian to german as well. If you pass the option
via  \PassOptionsToPackage{german}{nomencl} there is no reaction at all. No
German heading but more importantly no change of "page" to "Seite".

Peter





Re: Nomenclature: Option clash, & localisation issue

2010-09-07 Thread Peter Baumgartner
Peter Baumgartner  donau-uni.ac.at> writes:

> Add this to your document preamble:

> \PassOptionsToPackage{german}{nomencl}

I have tried this but there is no reaction. It results still to "Nomenclature"
instead of the German "Symbolverzeichnis".

Peter






Nomenclature: Option clash, & localisation issue

2010-09-05 Thread Peter Baumgartner
I would like to use the refpage option of the nomenclature package in the
German localisation. I'm using KOMA scrbook with the naustrian language
option.

I don't know how to pass the option "german" to the package "nomencl"
without destroying my option setting in scrbook. Calling the package again
with my options does not work either and results in an option clash.

Maybe there is no way and I should use the German localisation? But then I
would loose some special Austrian words, for instance in the date ("Jänner"
for "Januar"). I seems to me that people using the new German spelling
"ngerman" would have a similar problem.

I can change the name of the glossary manually with
\renewcommand{\nomname}{Glossar} for example, but I don't now how to do this
kind of localisation with refpage.

Peter




Re: Shorttoc tight problem

2010-09-04 Thread Peter Baumgartner
Peter Baumgartner  donau-uni.ac.at> writes:

In the meanwhile I found the solution in an German TeX forum. 
<http://mrunix.de/forums/showthread.php?t=65804>
I will share it here if someone else has the same problem:

The tight option of the package shorttoc does not work if \parskip is set. 

There are several option to solve the problem:
1.) use the package tocstyle from the KOMA-Script package
\usepackage{tocstyle}
...

\cleardoublepage
\addchap*{Table of Contents (Summary)}
\showtoc [\value {tocdepth}=0]{toc} %adapt this value to your needs

be aware that tocstyle is still experimental (alpha version).

2.) Without tocstyle: Generate once a .toc file with \tableofcontents{} and than
put the following code into your page where the short version of your table of
contents should appear:

\cleardoublepage
\addchap{Table of Contents (Summary)}
\begingroup   
\makeatletter
\...@tocdepth=0 %adapt this value to your needs
\setlength{\parskip}...@}%
\setlength{\parindent}...@}%
\setlength{\parfillskip}...@\@plus 1fil}%
\csname tocbasic@@bef...@hook\endcsname
\csname t...@toc@bef...@hook\endcsname
\input{\jobname.toc}%
\csname t...@toc@af...@hook\endcsname
\csname tocbasic@@af...@hook\endcsname
\endgroup 

3.) I used the occurrence of this problem to learn more about typographical
reasons why paragraph indentation is much better than separation. So I could
stick with shorttoc ...




Re: Shorttoc tight problem

2010-09-01 Thread Peter Baumgartner
Thanks Steve for your suggestion. But  I wanted a second - but shorter - table
of contents, i.e. a short summary of my table of contents whichs spans several
pages. 

The shorttoc packages promises to provide exactly such thing. And it really
does. The "only" problem I have with shorttoc: There is a option in this package
to tight this second table of contents, but this option does not work for me. 

The resulting table summary looks ugly as for each section (and I wanted only
chapter and section to be included in this second table of contents) there is an
empty line between.

And I'm not sure if I could use your code snippets as they refer to the standard
table of contents.

Peter



Shorttoc tight problem

2010-08-31 Thread Peter Baumgartner
I would need a short version of the table of contents. With the package
shorttoc I could generate this condensed version of the table of contents
but with too much vertical space between the entries. Therefore I added the
option "tight" 

\usepackage[tight]{shorttoc}

But there was no difference in the output. There is one line space between
every entry of the section level with the effect that even this short toc
version spans several pages. I can't see any difference between the options
"loose" or "tight".

Maybe it is important to say that I'm using the KOMA-Script class scrbook. I
looked into the manuals of both packages but I couldn't find any clue.

Any suggestions what I did wrong?

Peter





UI - enumerate lists

2010-08-13 Thread Peter Baumgartner
Is there a way in the LyX user interface to label enumerate lists besides
the standard (arabic)? Using package and module enumitem I've written some
list formats I'm using very often but can't display in LyX their different
labels.

I've tried to define counters at paragraph style and text class level but
the LabelString parameter does not work for me. There is a cryptic footnote
in the manual saying "any numbertype other than those described below will
produce arabic numerals", but than the text goes on and describes all
relevant types like alph, roman etc.

I've seen that other people in their modules have used in similar situations
blue font to warn that there is no WYSIWYG. So what: Is this a bug or I'm
doing something wrong?

Using LyX 1.6.7 on a Mac.

Peter
Ps.: I very appreciate the module "customizable list" by Guenter Milde.
Thanks! But IMHO it lacks appropriate documentation. Also the name for the
inset "Short Title" is misleading and should - as long as is not provided as
standard with LyX - go into the Custom insets menu.




UI - Mac: select and drag text

2010-08-08 Thread Peter Baumgartner
Is there a possibility in LyX to select text and drag it with the mouse to
another position? Some shortcut I'm missing?

This is maybe a very silly question and people may answer with RTFM but I
honestly couldn't find anything in the documentation.

Peter




Counter with leading zero?

2010-08-06 Thread Peter Baumgartner
Is there a way to create a counter with a leading zero until it reaches 10?
Like the following: 01, 02, 03 ... 09, 10, 11




Re: Index Problem with see

2010-08-06 Thread Peter Baumgartner
> This must be
> 
> \index{Examination|see{Test}}
> 
> In other words: but the braces in ERT.
> 
> Jürgen

Thanks! I should have figured out myself <>.
Peter




Index Problem with see

2010-08-05 Thread Peter Baumgartner
If I generate an index like

>test\index{Test} and examination\index{Examination|see\{Test\}}
>\printindex{}

Then the test enty is ok but the examination part appears as

>Eximination. Siehe{est}1

The first character is disappeared, but curly braces and number do appear.
(I'm using LyX 1.6.7 on a Mac, German localisation)

At another Mac with LyX 1.6.5 the entry wit the see-statement does not
appear at all.

Any suggestions? Is there something wrong with code or maybe with my
installation?

Peter




Managing Theoremes in Theoreme Module

2010-07-31 Thread Peter Baumgartner
I'm using LyX 1.6.7 and would like to change some of the names and styles of
theorems of the theoreme module. Is there a way to do it via the preamble or
do I have to do it the "hard way" and have to change the file
"theorems.inc"? Couldn't find any help file.

Thanks,
Peter




Re: DocBook and Graphics

2010-07-14 Thread Peter Lipp
Regarding my previous question:

I now tried to execute some commands by hand, and when doing

sgmltools -b pdf filename.sgml

I get the following errors (and many more)

/usr/bin/openjade:0:3:0:E: prolog can't be omitted unless CONCUR
NO and LINK EXPLICIT NO and either IMPLYDEF ELEMENT YES or IMPLYDEF
DOCTYPE YES
/usr/bin/openjade:0:3:0:E: no document type declaration; will
parse without validation
/usr/bin/openjade:0:7:28:W: cannot generate system identifier for
general entity "ldquo"

Seems to be some mismatch in tool versioning. Maybe this helps you to
help me ... :-)
Peter



smime.p7s
Description: S/MIME Cryptographic Signature


DocBook and Graphics

2010-07-12 Thread Peter Lipp
Hi,

as a newbie I started writing a document using the docbook/chapter
class. I can perfectly embed images, I do see them in lyx but not when I
preview.

Just to test, I changed the class to "book" (non-docbook), and there
preview works perfectly.

Any hints on what might be wrong and also how I could have found out
myself are very much appreciated!

Thanks
Peter



smime.p7s
Description: S/MIME Cryptographic Signature


Spellcheck: alternative language

2010-03-17 Thread Peter
Hi, 

I tried to install the spellcheck function in lyx on my Windows VISTA and got 
it working for the English language. But it just won't work for other languages 
although the dictionaries are installed. 
I went to Tools - Preferences - Spellchecker and I typed in the Alternative 
language field: de (for german)
Lyx found my de-common.multi file - that is for sure, since I once changed it 
to de-comm.multi and Lyx gave me an error message (as expected). 
So, typing "de" in the alternative language DOES have the effect that Lyx needs 
my German dictionary, but it DOES NOT have the effect that it also uses it. 
That is the problem. Lyx always uses the English dictionary no matter what I 
type in as a alternative language (I also tried it out with French and 
Spanish). 
After hours of uninstalling, installing and googling I am really frustrated. 
Could you please help me? 

Best regards

Peter



Automatically open child documents when loading master

2010-02-18 Thread Heiner Peter Jansen
Hello fellow LyX users,

I think in an older version of LyX (running on Kubuntu 08.04, I think) I could
use Ctrl+PgDown to cycle through child documents after loading a master
document. It would automatically open the child documents in new tabs.

This behavior seems to have changed (currently using LyX 1.6.4 on Kubuntu 9.10).
Using Ctrl+PgDown only switches opened (as in "visible") tabs. Is there a way to
have LyX show/open all referenced child documents upon loading the master? Using
the View-menu to open them all individually is very cumbersome and I have more
then 8 child documents (so I can't use Alt+V + NUM to access them quickly).

Heiner



  1   2   3   4   5   6   7   >