Re: LyX and references

2009-09-03 Thread Ignacio García
Pierfranco Minsenti pierfranco.minse...@... writes:

 
 Hi all,
 
 since I am in a very similar situation as Alessio, that is I am an Italian
 user working with an Italian version of LyX (i.e. menues etc are translated
 in Italian), and writing in English, I confirm that the normal LyX is
 behaviour consists in showing in these cases (and other similar cases as
 well, e.g. Indice instead of Table of contents; Bibliografia instead of
 Bibliography) an Italian expression (e.g. the Italian conjunction e instead
 of the English conjunction and). However the output (the PDF) is perfectly
 correct showing in these cases and (not e).

I agree. I use LyX with a Spanish interface writing documents in Spanish and
English languages.
But I need sometimes LyX with English (or other) interface, i.e. menues, insets
labels (foot, float, TOC...), etc, in English (or other). I do it setting in a
command line terminal the variable LANG to, e.g. en_GB.utf8, and running LyX in
that terminal. 

Regards
Ignacio 








Setting paragraph style in fullscreen mode

2009-09-03 Thread Luca Carlon
Hi! Is it possible when in fullscreen mode to set the paragraph style (Chapter,
Section, Standard etc...)? I can't find how to do it and it is bothering to exit
fullscreen mode every time I have to do it.
Thanks!

Luca



Re: Setting paragraph style in fullscreen mode

2009-09-03 Thread Abdelrazak Younes

Luca Carlon wrote:

Hi! Is it possible when in fullscreen mode to set the paragraph style (Chapter,
Section, Standard etc...)? I can't find how to do it and it is bothering to exit
fullscreen mode every time I have to do it.


Try:
Alt-P 1/2/3/4 for Chapter/Section/Subsection/Paragraph
Alt-P S for Standard

Abdel.



Re : [Lyx] explicit mail subject

2009-09-03 Thread Delta moins
Hello,
Sorry if the subject was already and recurrently treated in the list. As I 
said, I'm new so I didn't know.
In fact, I filter by the To field and it works perfectly with Yahoo webmail 
so my problem is solved. Once again I should have think a bit before sending my 
request on the list...
Thanks for the responses.

Yves




 Hello everybody, I'm registred to this mailing list for few weeks and I'm 
 very surprised about one thing : there is no keyword in the mail subject 
 that tell people this comes from the Lyx users list.

 If you look at the details in the email you will find list information which 
 you should be able to your mail client to use.

  As long as I've subscribed to this mail list, all messages have the
subject line prefixed with [Lyx]. Perhaps that's because all I've used is
procmail and (al)pine as my MUA, but it's always been there.

Rich

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



  

Re: Setting paragraph style in fullscreen mode

2009-09-03 Thread Luca Carlon
Abdelrazak Younes you...@... writes:
 Try:
 Alt-P 1/2/3/4 for Chapter/Section/Subsection/Paragraph
 Alt-P S for Standard
 
 Abdel.

Exactly what I needed! Thanks!



RE: Re: Setting paragraph style in fullscreen mode

2009-09-03 Thread Vincent van Ravesteijn - TNW
 
 Try:
 Alt-P 1/2/3/4 for Chapter/Section/Subsection/Paragraph
 Alt-P S for Standard
 
 Abdel.

Exactly what I needed! Thanks!


Also, 

Alt-P space should popup the combo box too (even in full-screen).

Vincent


Re: Setting paragraph style in fullscreen mode

2009-09-03 Thread Abdelrazak Younes

Vincent van Ravesteijn - TNW wrote:
 

Try:
Alt-P 1/2/3/4 for Chapter/Section/Subsection/Paragraph
Alt-P S for Standard

Abdel.

Exactly what I needed! Thanks!



Also, 


Alt-P space should popup the combo box too (even in full-screen).


In branch?

Abdel.



Re: Setting paragraph style in fullscreen mode

2009-09-03 Thread Luca Carlon
Abdelrazak Younes you...@... writes:
  Also, 
  
  Alt-P space should popup the combo box too (even in full-screen).
 
 In branch?
 
 Abdel.

I have 1.6.4.1 and here the combo appears.
Thanks!

Luca



RE: Re: Setting paragraph style in fullscreen mode

2009-09-03 Thread Vincent van Ravesteijn - TNW
 
 
 Try:
 Alt-P 1/2/3/4 for Chapter/Section/Subsection/Paragraph
 Alt-P S for Standard

 Abdel.
 Exactly what I needed! Thanks!

 
 Also,
 
 Alt-P space should popup the combo box too (even in full-screen).

In branch?


Yes, also in branch. The things I changed in trunk were only necessary
in case the toolbar was turned off (before LyX was started) and thus was
never initialized.

When you hide the toolbar or when you switch to fullscreen, the combo
box still appears.

Abdel.

Vincent



[Fwd: Re: \...@ifundefined{showcaptionsetup}{}{%.............inserted automatically by Lyx]

2009-09-03 Thread Tariq Abdullah

Hi all,

Can some help me in solving a Lyx problem described in the forwarded email?

Regards,
Tariq Abdullah


---BeginMessage---

Hi Vincent,

\...@ifundefined{showcaptionsetup}{}{%
\PassOptionsToPackage{caption=false}{subfig}}
\usepackage{subfig}
\makeatother
\usepackage{babel}

I get the following 4 errors due to above Lyx inserted code into my tex 
file:


Error-1:
you can't use \spacefactor in vertical mode
Error-1 Description:
\@

ifundefined{showcaptionsetup}{}{%

Sorry, but I'm not programmed to handle this case;

I'll just pretend that you didn't ask for it.

If you're in the wrong mode, you might be able to

return to the right one by typing `I}' or `I$' or `I\par'.


Error-2:
Missing $ inserted
Error-2 Description:
\@

ifundefined{showcaptionsetup}{}{%

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

you left one out. Proceed, with fingers crossed.


Error-3:
Latex error: Missing \begin{document}.

Error-3 Description:
\@

ifundefined{showcaptionsetup}{}{%

You're in trouble here. Try typing return to proceed.

If that doesn't work, type X return to quit.


Error-4:
Missing $ inserted
Error-4 Description:

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

you left one out. Proceed, with fingers crossed.


When I comment the tex code, as shown in the following lines, in WinEdt, 
my file is compiled and I obtain the correct PDF file


%...@ifundefined{showcaptionsetup}{}{%
% \PassOptionsToPackage{caption=false}{subfig}}
\usepackage{subfig}
%\makeatother
\usepackage{babel}

Regards,
Tariq Abdullah



Vincent van Ravesteijn - TNW wrote:

Lyx inserts the following tex code when using the subfig package.
The code prompts Lyx to generate an error and I can't create the 
DVI--PDF file from Lyx.



\...@ifundefined{showcaptionsetup}{}{%

\PassOptionsToPackage{caption=false}{subfig}}

\usepackage{subfig}

\makeatother

\usepackage{babel}


Does anybody know how to solve this error OR how to
restrict Lyx to not insert this piece of tex code?




This line is added to guard against a user that has manually included
the caption package in the preamble.

What's the error then ? It shouldn't give an error.

Vincent



---End Message---


RE: [Fwd: Re: \...@ifundefined{showcaptionsetup}{}{%.............inserted automatically by Lyx]

2009-09-03 Thread Vincent van Ravesteijn - TNW
 
Can some help me in solving a Lyx problem described
in the forwarded email?

It seems you're missing a \makeatletter before this piece of code. Did
you add this yourself in the preamble ?

Regards,
Tariq Abdullah

Vincent




Re: [Fwd: Re: \...@ifundefined{showcaptionsetup}{}{%.............inserted automatically by Lyx]

2009-09-03 Thread Tariq Abdullah

Hi Vincent,

As I explained in my previous email, that this piece of code is inserted 
by Lyx itself.
I tried adding \makeletter before this piece of code, the problem 
remains the smae.

Is there a way to restrict Lyx from inserting this piece of code?

Regards,
Tariq Abdullah

P.S: I copied the automatically inserted code and the Lyx errors at the 
bottom of this email.



Vincent van Ravesteijn - TNW wrote:
 
  

Can some help me in solving a Lyx problem described
in the forwarded email?



It seems you're missing a \makeatletter before this piece of code. Did
you add this yourself in the preamble ?

  

Regards,
Tariq Abdullah



Vincent


  


\...@ifundefined{showcaptionsetup}{}{%

\PassOptionsToPackage{caption=false}{subfig}}

\usepackage{subfig}

\makeatother

\usepackage{babel}



I get the following 4 errors due to above Lyx inserted code into my tex 
file:




Error-1:

you can't use \spacefactor in vertical mode

Error-1 Description:

\@



ifundefined{showcaptionsetup}{}{%



Sorry, but I'm not programmed to handle this case;



I'll just pretend that you didn't ask for it.



If you're in the wrong mode, you might be able to



return to the right one by typing `I}' or `I$' or `I\par'.





Error-2:

Missing $ inserted

Error-2 Description:

\@



ifundefined{showcaptionsetup}{}{%



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



you left one out. Proceed, with fingers crossed.





Error-3:

Latex error: Missing \begin{document}.



Error-3 Description:

\@



ifundefined{showcaptionsetup}{}{%



You're in trouble here. Try typing return to proceed.



If that doesn't work, type X return to quit.





Error-4:

Missing $ inserted

Error-4 Description:



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



you left one out. Proceed, with fingers crossed.





When I comment the tex code, as shown in the following lines, in WinEdt, 
my file is compiled and I obtain the correct PDF file




%...@ifundefined{showcaptionsetup}{}{%

% \PassOptionsToPackage{caption=false}{subfig}}

\usepackage{subfig}

%\makeatother

\usepackage{babel}



Regards,

Tariq Abdullah







RE: [Fwd: Re: \...@ifundefined{showcaptionsetup}{}{%.............inserted automatically by Lyx]

2009-09-03 Thread Vincent van Ravesteijn - TNW
As I explained in my previous email, that this piece
of code is inserted by Lyx itself. I tried adding
\makeletter before this piece of code, the problem
remains the smae. Is there a way to restrict Lyx from
inserting this piece of code?

No, there isn't. 

Can you send the whole LaTeX code of a minimal example ?

Vincent


LyX 1.6.3 + Mac OS 10.6 + Revision Control

2009-09-03 Thread Alessio Maria Braccini

Hi to all,
I did upgrade to Mac OS X Snow Leopard (10.6) yesterday night, and  
today, when I started to work again with LyX, I found myself in  
troubles. I am using revision control with my document and I wanted to  
check the document out to continue working on it. But when I do so, I  
get the wollowing error:


There was an error executing the command:
'co -q -l 'xx''.

No commands from the control revision seems to work. If I want to see  
the log of all the modifications I get a similar error (of course with  
a different text, but it is always linked to a failure in command  
execution) and after that an empty revision control register.


I have looked the console up and it says that the co command has not  
been found. Do you know whether I need to reinstall it? If so, how?


Thank you very much.
Alessio

PS: of course everything was working fine before the upgrade to Snow  
Leopard






Re: LyX 1.6.3 + Mac OS 10.6 + Revision Control [solved]

2009-09-03 Thread Alessio Maria Braccini

Sorry, I have solved it.
If anyone else has this problem I write down what I've done to solve it.

I have realized that both rlog and co are outside the $PATH and are  
put into /Developer/usr/bin/rlog. So, to fix it I've just run these  
commands:


 cd /usr/local/bin
 sudo ln -s /Developer/usr/bin/co
 sudo ln -s /Developer/usr/bin/rlog

After that LyX revision control started to work as usual.
Thanks anyhow.
Alessio

Il giorno 03/set/2009, alle ore 15.06, Alessio Maria Braccini ha  
scritto:



Hi to all,
I did upgrade to Mac OS X Snow Leopard (10.6) yesterday night, and  
today, when I started to work again with LyX, I found myself in  
troubles. I am using revision control with my document and I wanted  
to check the document out to continue working on it. But when I do  
so, I get the wollowing error:


There was an error executing the command:
'co -q -l 'xx''.

No commands from the control revision seems to work. If I want to  
see the log of all the modifications I get a similar error (of  
course with a different text, but it is always linked to a failure  
in command execution) and after that an empty revision control  
register.


I have looked the console up and it says that the co command has  
not been found. Do you know whether I need to reinstall it? If so,  
how?


Thank you very much.
Alessio

PS: of course everything was working fine before the upgrade to Snow  
Leopard






CeRSI - Centro di Ricerche sui Sistemi Informativi - LUISS Guido Carli
Via G. Alberoni, 7 00198 Roma
TEL.: +39-06-85225760
Mobile: +39 338 4614502
abracc...@luiss.it
http://www.cersi.it/abraccini





Re: LyX 1.6.3 + Mac OS 10.6 + Revision Control [solved]

2009-09-03 Thread Julio Rojas
Alessio, one question, how is Lyx 1.6.3 working with Snow Leopard? Do
you have the problem that was reported here, about OS X periodically
reporting Lyx has crashed, when it's not true?
-
Julio Rojas
jcredbe...@gmail.com



On Thu, Sep 3, 2009 at 3:17 PM, Alessio Maria
Bracciniabracc...@luiss.it wrote:
 Sorry, I have solved it.
 If anyone else has this problem I write down what I've done to solve it.

 I have realized that both rlog and co are outside the $PATH and are put into
 /Developer/usr/bin/rlog. So, to fix it I've just run these commands:

 cd /usr/local/bin
 sudo ln -s /Developer/usr/bin/co
 sudo ln -s /Developer/usr/bin/rlog

 After that LyX revision control started to work as usual.
 Thanks anyhow.
 Alessio

 Il giorno 03/set/2009, alle ore 15.06, Alessio Maria Braccini ha scritto:

 Hi to all,
 I did upgrade to Mac OS X Snow Leopard (10.6) yesterday night, and today,
 when I started to work again with LyX, I found myself in troubles. I am
 using revision control with my document and I wanted to check the document
 out to continue working on it. But when I do so, I get the wollowing error:

 There was an error executing the command:
 'co -q -l 'xx''.

 No commands from the control revision seems to work. If I want to see the
 log of all the modifications I get a similar error (of course with a
 different text, but it is always linked to a failure in command execution)
 and after that an empty revision control register.

 I have looked the console up and it says that the co command has not
 been found. Do you know whether I need to reinstall it? If so, how?

 Thank you very much.
 Alessio

 PS: of course everything was working fine before the upgrade to Snow
 Leopard




 CeRSI - Centro di Ricerche sui Sistemi Informativi - LUISS Guido Carli
 Via G. Alberoni, 7 00198 Roma
 TEL.: +39-06-85225760
 Mobile: +39 338 4614502
 abracc...@luiss.it
 http://www.cersi.it/abraccini






Re: Will Lyx run on Mac OS X 10.6?

2009-09-03 Thread Johannes Knaus
I have 1.6.3 and Snow Leopard on my Mac. Unfortunately the same  
problems appear as reported for 1.6.4.


Johannes

Am 03.09.2009 um 16:15 schrieb Julio Rojas:


Is this problem specifically linked to 1.6.4? Or will 1.6.3 present
it? I have Snow Leopard in my hand and 1.6.3 installed on my wife's
computer. Haven't installed the OS waiting for this problem to solve.
-
Julio Rojas
jcredbe...@gmail.com



On Sun, Aug 30, 2009 at 2:16 AM, William Brayb...@math.umemat.maine.edu 
 wrote:
I am currently testing Lyx 1.6.4 under Snow Leopard, the official  
release.
(I got the binary from the Lyx server before it was taken off; it  
does have
the problem that Preferences is grayed out as a menu choice, but  
can be
opened using keys CMD + , . I have not noticed any other problems  
with Lyx

1.6.4?)
I created a generic Lyx file, typed a bunch of stuff and let it  
sit. After
about 5 minutes, a pop up window appeared reporting that Lyx  
crashed. My
console report looks alot like the one in the bug report (link  
below).
However, Lyx did not actually crash. After choosing Ignore, Lyx was  
still

running and I could continue to type, save, edit, etc, the file.
The crash reoccurs about every 5 minutes, which does correspond to  
the

autosave time set in preferences.
I turned off autosave and Lyx has not sent up another crash pop up  
as yet

(we are about 15 minutes in at this point.

This is just a follow up to the question of Knaus. I am going to  
continue to

use Lyx under Snow Leopard and see where it takes me.

Bill

On Aug 27, 2009, at 8:30 AM, Vincent van Ravesteijn - TNW wrote:


Hello,

I ordered the new Mac OS Snowleopard this week and I wonder
if any of the Lyx-(Mac)-Developers has already tested Lyx
under a Developer- Version of Snowleopard?

Will the Lyx-Binary run on Snowleopard?
Anyway, I'll test it and post it here.

Johannes.



We are a bit short on Mac developers, so I doubt that you'll get an
authorative answer.

But, the good news is that I've heard of someone running LyX on
Snowleopard, the bad news is that I heard this by means of a bug  
report:


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

So, it'll be interesting whether this crash actually has to do  
something

with Snowleopard or not.

Vincent





--

Sometimes I lie awake at night, and ask, Where have I gone wrong?
Then a voice says to me, This is going to take more than one  
night. (Charlie Brown)





Re: Will Lyx run on Mac OS X 10.6?

2009-09-03 Thread Julio Rojas
Is this problem specifically linked to 1.6.4? Or will 1.6.3 present
it? I have Snow Leopard in my hand and 1.6.3 installed on my wife's
computer. Haven't installed the OS waiting for this problem to solve.
-
Julio Rojas
jcredbe...@gmail.com



On Sun, Aug 30, 2009 at 2:16 AM, William Brayb...@math.umemat.maine.edu wrote:
 I am currently testing Lyx 1.6.4 under Snow Leopard, the official release.
 (I got the binary from the Lyx server before it was taken off; it does have
 the problem that Preferences is grayed out as a menu choice, but can be
 opened using keys CMD + , . I have not noticed any other problems with Lyx
 1.6.4?)
 I created a generic Lyx file, typed a bunch of stuff and let it sit. After
 about 5 minutes, a pop up window appeared reporting that Lyx crashed. My
 console report looks alot like the one in the bug report (link below).
 However, Lyx did not actually crash. After choosing Ignore, Lyx was still
 running and I could continue to type, save, edit, etc, the file.
 The crash reoccurs about every 5 minutes, which does correspond to the
 autosave time set in preferences.
 I turned off autosave and Lyx has not sent up another crash pop up as yet
 (we are about 15 minutes in at this point.

 This is just a follow up to the question of Knaus. I am going to continue to
 use Lyx under Snow Leopard and see where it takes me.

 Bill

 On Aug 27, 2009, at 8:30 AM, Vincent van Ravesteijn - TNW wrote:

 Hello,

 I ordered the new Mac OS Snowleopard this week and I wonder
 if any of the Lyx-(Mac)-Developers has already tested Lyx
 under a Developer- Version of Snowleopard?

 Will the Lyx-Binary run on Snowleopard?
 Anyway, I'll test it and post it here.

 Johannes.


 We are a bit short on Mac developers, so I doubt that you'll get an
 authorative answer.

 But, the good news is that I've heard of someone running LyX on
 Snowleopard, the bad news is that I heard this by means of a bug report:

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

 So, it'll be interesting whether this crash actually has to do something
 with Snowleopard or not.

 Vincent




Re: Will Lyx run on Mac OS X 10.6?

2009-09-03 Thread Johannes Knaus

Now I found time to install Snow Leopard on my Mac.
I can confirm the behaviour reported here:

Lyx (1.6.3) starts up and as long as I just watch my document it keeps  
running without any errors.
When I type something and wait for the autosave to come into action, a  
pop up window appears with an error message that LyX crashed.
However if I simply click on ignore, I can work with my LyX document,  
as LyX itself still is running. So it might only be some subprocess  
which is crashed.
I can save changes via the save button. Although after pressing the  
button the pop up telling my that LyX crashed appears again.
When I insert a table, the mentioned popup window appears, too. So it  
seems that as soon as you start something which calls up a new menubar  
this process crashes, too.


All these crashes seem to have to with the fork() without exit() thing  
reported on trac, see the crashlog-excerpts below.


So is it useful if I try to compile Lyx on my own on 10.6? Or would  
this end up in the same crashing behaviour?
There are some changes/workarounds to do in the source code first,  
right?


Johannes

1)

Process: lyx [850]
Path:/Applications/LyX.app/Contents/MacOS/lyx
Identifier:  lyx
Version: ??? (???)
Code Type:   X86 (Native)
Parent Process:  lyx [800]

Date/Time:   2009-08-31 23:28:16.111 +0200
OS Version:  Mac OS X 10.6 (10A432)
Report Version:  6

Interval Since Last Report:  2022 sec
Crashes Since Last Report:   2
Per-App Crashes Since Last Report:   2
Anonymous UUID:  D124E21E- 
F546-47A6-9182-5346BDAEE239


Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x, 0x
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Application Specific Information:
USING_FORK_WITHOUT_EXEC_IS_NOT_SUPPORTED_BY_FILE_MANAGER
abort() called

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib   0x92a14972 __kill + 10
1   libSystem.B.dylib   0x92a14964 kill$UNIX2003 + 32
2   libSystem.B.dylib   0x92aa7ba5 raise + 26
3   libSystem.B.dylib   0x92abdc5c abort + 93
…


2)

Process: lyx [904]
Path:/Applications/LyX.app/Contents/MacOS/lyx
Identifier:  lyx
Version: ??? (???)
Code Type:   X86 (Native)
Parent Process:  lyx [800]

Date/Time:   2009-08-31 23:52:05.910 +0200
OS Version:  Mac OS X 10.6 (10A432)
Report Version:  6

Interval Since Last Report:  1329 sec
Crashes Since Last Report:   1
Per-App Crashes Since Last Report:   1
Anonymous UUID:  D124E21E- 
F546-47A6-9182-5346BDAEE239


Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x, 0x
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Application Specific Information:
USING_FORK_WITHOUT_EXEC_IS_NOT_SUPPORTED_BY_FILE_MANAGER
abort() called

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib   0x92a14972 __kill + 10
1   libSystem.B.dylib   0x92a14964 kill$UNIX2003 + 32
2   libSystem.B.dylib   0x92aa7ba5 raise + 26
3   libSystem.B.dylib   0x92abdc5c abort + 93
…

Re: Multiple Bib - Koma

2009-09-03 Thread Yannick Wurm

Hello Pierfranco,
thank you very much for the rapid and exhaustive reply!

After setting things up the way you outlined, I could only get  
your .tex document to create the references correctly if I replaced  
the refsegment with refsection as is it found in the 10- 
references-per-section.tex file.


Bringing things into lyx worked as planned which is a very pleasant  
surprise.
I haven't yet tried combining it all into my thesis chapters (which  
are separate documents), but will look into that after a good cup of  
coffee.


Thanks again and kind regards,

Yannick


On 2 Sep 2009, at 18:39, Pierfranco Minsenti wrote:


Hi Yannick,

I have very recently tested a solution to your problem using the  
biblatex package. Even if biblatex is still beta I can assure you  
that it is a very effective and easy solution, very flexible and  
adaptable to different needs. Read the instruction on the LyX wiki  
dedicated to the use of biblatex at http://wiki.lyx.org/BibTeX/Biblatex 
.
It is indispensable in your case to install the biblatex package  
downloadable from http://www.ctan.org/tex-archive/help/Catalogue/entries/biblatex.html 
. Also you will have to install the Perl script bibtexall into an  
executable path so that LyX will be able to compile all the files  
produced.
Herewith enclosed I add  an exemple I have developed modifying an  
original file found in the exemples directory of the biblatex  
package downloaded from http://www.ctan.org/tex-archive/help/Catalogue/entries/biblatex.html
The code is pure LateX but it has also been tested with LyX and the  
KOMAscript report class, so it perflectly works. You just need to  
import this file in LyX and make adjustements following the specific  
instructions at http://wiki.lyx.org/BibTeX/Biblatex for using  
biblatex with LyX.
I can also add that I haven't still used in conjunction with the LyX  
port of the ClassicThesis style which I am also using, but I plan to  
do it very soon and I think I will only have to modify the original  
files related to the LyX port of the ClassicThesis style by  
commenting out fthe packages and options related to:

1) natbib

2) backref package (you will use the specific functions provided by  
biblatex)


besides it is absolutely important to put the biblatex package  
before the hyperref package.


Herewith you can see the exemple I have obtained using pure LaTex  
code for producing lists of references printed at the end of each  
chapter. Obviously this example can only work in conjunction with  
the examples.bib file put in the exemples directory of the biblatex  
package.


\documentclass[english,a4paper,twoside]{scrreprt}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\usepackage{babel}
%
\usepackage[babel]{csquotes}

\usepackage[style=authoryear,
natbib=true,
hyperref=auto,
backref=true,
date=long,
urldate=long,
block=space,
]{biblatex}
%
%HYPERREF
\usepackage 
[pdftex 
,a4paper 
,plainpages 
= 
false 
,pdfpagelabels 
,bookmarks 
= 
true 
,colorlinks 
,breaklinks 
,bookmarks 
=true,bookmarksopen=true,bookmarksnumbered=true,pageanchor=true,

hyperfootnotes=false,
pdfstartview=FitV]
{hyperref}
%
%HYPERSETUP
\hypersetup{colorlinks=true,linkcolor=red,citecolor=red,urlcolor=blue}
%
\bibliography{examples}
%
\defbibheading{references}{\section*{References}} % heading for the  
various References sections put in each chapter

%
%
% added more vertical space among records because default space in  
authorcite style is =0

%
\makeatletter

\AtEveryBibitem{%
\iffieldequals{namehash}{\...@prevhash}
{}
{\addvspace{0.8\baselineskip}}% 0.8\baselineskip o altra misura
\savefield{namehash}{\...@prevhash}}

\AtBeginBibliography{%
\let\...@prevhash\undefined}

\makeatother
%
\title{My Dissertation}
\author{Firstname Lastname}
\date{}
%
%__
\begin{document}

\maketitle

\tableofcontents


\chapter{Title of first chapter}

\begin{refsegment}

This is just filler text \parencite{massa}.
This is just filler text \parencite{augustine}. This is just filler
text \parencite{cotton}. This is just filler text \parencite{hammond}.
%
\printbibliography[heading=references]
\end{refsegment}

\chapter{Title of second chapter}

\begin{refsegment}

This is just filler text \parencite{hammond}. This is just filler
text \parencite{massa}. This is just filler text \parencite{cotton}.
This is just filler text \parencite{murray}.
%
\printbibliography[heading=references]
\end{refsegment}

\chapter{Title of third chapter}

\begin{refsegment}

This is just filler text \parencite{murray}. This is just filler
text \parencite{augustine}. This is just filler text  
\parencite{cotton}.

This is just filler text \parencite{bertram}.
%
\printbibliography[heading=references]
\end{refsegment}
%
%__
\end{document}

Best wishes

Pierfranco


2009/9/2 Yannick Wurm 

Re: Will Lyx run on Mac OS X 10.6?

2009-09-03 Thread Manveru
2009/9/3 Johannes Knaus knausli...@freenet.de:
[...]
 Application Specific Information:
 USING_FORK_WITHOUT_EXEC_IS_NOT_SUPPORTED_BY_FILE_MANAGER
 abort() called
[...]
 Exception Type:  EXC_CRASH (SIGABRT)
 Exception Codes: 0x, 0x
 Crashed Thread:  0  Dispatch queue: com.apple.main-thread

 Application Specific Information:
 USING_FORK_WITHOUT_EXEC_IS_NOT_SUPPORTED_BY_FILE_MANAGER
 abort() called
[...]

For me it seems Apple has changed a security policy about calling
fork(). I cant find any article about that on Google yet.

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


RE: Will Lyx run on Mac OS X 10.6?

2009-09-03 Thread Vincent van Ravesteijn - TNW
 So is it useful if I try to compile Lyx on my own on
 10.6? Or would this end up in the same crashing behaviour?

I think it is useful, but I think you'll see the same crashing
behaviour.


There are some changes/workarounds to do in the source
code first, right?


The first thing you might try is to adapt the following code:

194--...@forkedcalls.cpp:

pid_t ForkedProcess::fork() {
#if !defined (HAVE_FORK)
return -1;
#else
pid_t pid = ::fork();
if (pid == 0)
IAmAChild = true;
return pid;
#endif
}


If you undefine HAVE_FORK (or just always return -1), you can see
whether (all) crashes disappear. If so, we have at least a workaround. 

Everything should still work, but you might be interrupted in your
typing when LyX saves the autosave file using the same thread.

Vincent


Classic Thesis and LyX

2009-09-03 Thread Manolo Martí­nez

Hello,

I'm trying to get Nick Mariette's port of André Miede's Classic Thesis 
style for LyX to work. I'm talking about this: 
http://www.soundsorange.net/resources/classic-thesis-for-lyx/ in case 
you are not familiar with it.


I'm getting several Math formula deleted: Insufficient symbol fonts. 
errors every time I try to run pdflatex. The description of the error is:


Sorry, but I can't typeset math unless \textfont 2

and \scriptfont 2 and \scriptscriptfont 2 have all

the \fontdimen values needed in math symbol fonts.


I get this error with as simple a file as the one I am attaching 
(test.lyx), using report (KOMA-Script) as class, and adding in the 
preamble:  \usepackage{preamble}


I also attach Mariette's preamble.sty, so that you can easily replicate 
the problem.



After some googling I've come to think that this has to do with my 
having some fonts installed which supersede the order to escale some 
other fonts. But beyond that, I do not really know where to look.



I hope you can help me with this. Thanks,
Manolo




test.lyx
Description: application/lyx
% **
%  A LyX port of:
%  A Classic Thesis Style by André Miede
%  LyX port by: Nick Mariette. March, 2009.
%  http://soundsorange.net/resources/classic-thesis-for-lyx/
%
%  Nick Mariette: If you appreciate my LyX port of André Miede's style
%  please visit my homepage and consider making a donation.
%  Also, please consider sending a postcard to André who wrote the original LaTeX (see details below)
% 
%  Note: nm_classicthesis.sty is adapted from classicthesis.sty version 2.5 by André Miede
%  [2008/10/01 v2.5 Typographic Style for a classic-looking thesis]
%
%  All modifications are in the new preamble.sty, the nm_classicthesis.sty, and the .lyx files.
%
% **
%
% A Classic Thesis Style 
% An Homage to The Elements of Typographic Style
% 
% Copyright (C) 2008 André Miede http://www.miede.de
%
% If you like the style then I would appreciate a postcard. My address 
% can be found in the file ClassicThesis.pdf. A collection of the 
% postcards I received so far is available online at 
% http://postcards.miede.de
%
%
% License:
% This program is free software; you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation; either version 2 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with this program; see the file COPYING.  If not, write to
% the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
% Boston, MA 02111-1307, USA.
%
% **
% Note:
%* You must not use u etc. in strings/commands that will be spaced out (use \u or real umlauts instead)
%* Chapters must be marked with the \myChapter{Foo} command (sorry for the inconvenience at this point)
%* New enumeration (small caps): \begin{aenumerate} \end{aenumerate}
%* For margin notes: \graffito{}
%* Do not use bold fonts in this style, it is designed around them
%* Use tables as in the examples
%* See classicthesis-ldpkg.sty for useful commands
% **
% To Do:
%* support a List of Listings that looks like the other lists
%* mathbb in section-titles/chapter-titles = disappears somehow in headlines!!!
%* think about processing a4paper, a5paper, 10pt, 11pt, 12pt etc. options for typearea layout
%  (store values in internal variables and handle by \AtEndOfPackage{\areaset...})
% **

% 
% KOMA-Script setup http://www.komascript.de/betaKOMAoptions
% 
%\KOMAoptions{%
%paper=a4,%
%fontsize=10pt,%
%cleardoublepage=empty,%
%footinclude=true,%
%%abstract=false%
%}
% 
% Development Stuff
% 
\listfiles
%\usepackage[l2tabu, orthodox, abort]{nag}
%\usepackage[warning, all]{onlyamsmath}
% 
% Re-usable information
% 

Re: Multiple Bib - Koma

2009-09-03 Thread Yannick Wurm

H,
so getting things working with ClassicThesis is harder than I thought.

I've resolved most of the conflicts between the classicthesis.sty,  
preamble.sty and the preable that you gave in your example. (like you  
said, those were related to natbib, hyperref, backref). So I feel I'm  
90% there! However, as soon as I add the code below to my  
ClassicThesis.lyx preamble, things fail.


But I cannot make sense of the errors, nor locate where they are  
coming from (is there any way to get more verbose error messages from  
lyx?). What follows is the first error out of many:

Error: You can't use '\spacefactor' in vertical mode.
Description:  \@
ifundefined{showcaptionsetup}{}{%
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.


Do you have any ideas where I should look?

Thanks!!
yannick



%  responsible for converting the citekeys to pretty citations
\makeatletter
\AtEveryBibitem{%
\iffieldequals{namehash}{\...@prevhash}
{}
{\addvspace{0.8\baselineskip}}% 0.8\baselineskip o altra misura
\savefield{namehash}{\...@prevhash}}
\AtBeginBibliography{%
\let\...@prevhash\undefined}
\makeatother

On 3 Sep 2009, at 16:18, Yannick Wurm wrote:


Hello Pierfranco,
thank you very much for the rapid and exhaustive reply!

After setting things up the way you outlined, I could only get  
your .tex document to create the references correctly if I replaced  
the refsegment with refsection as is it found in the 10- 
references-per-section.tex file.


Bringing things into lyx worked as planned which is a very pleasant  
surprise.
I haven't yet tried combining it all into my thesis chapters (which  
are separate documents), but will look into that after a good cup of  
coffee.


Thanks again and kind regards,

Yannick


On 2 Sep 2009, at 18:39, Pierfranco Minsenti wrote:


Hi Yannick,

I have very recently tested a solution to your problem using the  
biblatex package. Even if biblatex is still beta I can assure you  
that it is a very effective and easy solution, very flexible and  
adaptable to different needs. Read the instruction on the LyX wiki  
dedicated to the use of biblatex at http://wiki.lyx.org/BibTeX/Biblatex 
.
It is indispensable in your case to install the biblatex package  
downloadable from http://www.ctan.org/tex-archive/help/Catalogue/entries/biblatex.html 
. Also you will have to install the Perl script bibtexall into an  
executable path so that LyX will be able to compile all the files  
produced.
Herewith enclosed I add  an exemple I have developed modifying an  
original file found in the exemples directory of the biblatex  
package downloaded from http://www.ctan.org/tex-archive/help/Catalogue/entries/biblatex.html
The code is pure LateX but it has also been tested with LyX and the  
KOMAscript report class, so it perflectly works. You just need to  
import this file in LyX and make adjustements following the  
specific instructions at http://wiki.lyx.org/BibTeX/Biblatex for  
using biblatex with LyX.
I can also add that I haven't still used in conjunction with the  
LyX port of the ClassicThesis style which I am also using, but I  
plan to do it very soon and I think I will only have to modify the  
original files related to the LyX port of the ClassicThesis style  
by commenting out fthe packages and options related to:

1) natbib

2) backref package (you will use the specific functions provided by  
biblatex)


besides it is absolutely important to put the biblatex package  
before the hyperref package.


Herewith you can see the exemple I have obtained using pure LaTex  
code for producing lists of references printed at the end of each  
chapter. Obviously this example can only work in conjunction with  
the examples.bib file put in the exemples directory of the biblatex  
package.


\documentclass[english,a4paper,twoside]{scrreprt}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\usepackage{babel}
%
\usepackage[babel]{csquotes}

\usepackage[style=authoryear,
   natbib=true,
   hyperref=auto,
   backref=true,
   date=long,
   urldate=long,
   block=space,
]{biblatex}
%
%HYPERREF
\usepackage 
[pdftex 
,a4paper 
,plainpages 
= 
false 
,pdfpagelabels 
,bookmarks 
= 
true 
,colorlinks 
,breaklinks 
,bookmarks 
=true,bookmarksopen=true,bookmarksnumbered=true,pageanchor=true,

hyperfootnotes=false,
pdfstartview=FitV]
{hyperref}
%
%HYPERSETUP
\hypersetup 
{colorlinks=true,linkcolor=red,citecolor=red,urlcolor=blue}

%
\bibliography{examples}
%
\defbibheading{references}{\section*{References}} % heading for the  
various References sections put in each chapter

%
%
% added more vertical space among records because default space in  
authorcite style is =0

%
\makeatletter

\AtEveryBibitem{%
\iffieldequals{namehash}{\...@prevhash}
{}

Re: [Lyx] explicit mail subject

2009-09-03 Thread Andre Poenitz
On Wed, Sep 02, 2009 at 04:13:14PM +0200, Manveru wrote:
 2009/9/2 Murray Eisenberg mur...@math.umass.edu:
  I agree with the O.P. on this. This is something that, surely, is easily
  fixed at the server end, so that each message going out from the server has,
  say, [LyX] prepended to the subject.
 
 There is many voices in favour of such feature. But not a lot of
 people vote against.

I my case mainly because I don't want to waste time to re-iterate
old discussions, twice a year...

I have 42 characters for the subject, given that most messages are
marked with (at least one) 'Re: ', a '[LyX] ' prefix eats 15% of
the available space, for useless 'information'.

Andre'


Re: LyX 1.6.3 + Mac OS 10.6 + Revision Control [solved]

2009-09-03 Thread Anders Host-Madsen
Yes, I'm also curious about the experiences with Snow Leopard. 
I want to upgrade, but as LyX has become 
the main program I use (yes, it's that great), 
I won't upgrade until I'm sure LyX works fairly well.



LNCS page numbers

2009-09-03 Thread Niko Schwarz
Hi, how can I turn ON the page numbers using the LLNCS (lecture notes  
on computer science or something) layout?


thanks in advance,

niko


Re: LNCS page numbers

2009-09-03 Thread Julio Rojas
Isn't that an option for the editor of the volume? Normally the
authors don't use it. Anyway, maybe this would help:
http://stackoverflow.com/questions/1366833/page-numbers-in-llncs-style
-
Julio Rojas
jcredbe...@gmail.com



On Thu, Sep 3, 2009 at 9:24 PM, Niko Schwarzniko.schw...@googlemail.com wrote:
 Hi, how can I turn ON the page numbers using the LLNCS (lecture notes on
 computer science or something) layout?

 thanks in advance,

 niko



Re: [Lyx] explicit mail subject

2009-09-03 Thread Jean-Marc Lasgouttes

Le 03/09/2009 19:46, Andre Poenitz a écrit :

I have 42 characters for the subject, given that most messages are
marked with (at least one) 'Re: ', a '[LyX] ' prefix eats 15% of
the available space, for useless 'information'.


Especially since we need [LyX Devel], [LyX Users], etc.

JMarc


Re: Bug in article (Springer svjour3/global) layout

2009-09-03 Thread Uwe Stöhr

Rainer M Krug schrieb:


There is a bug in the article (Springer svjour3/global) layout: it
uses the default option, which produces an error message. Changing (in
the layout file) global to smallcondensed (the default option),
fixes this.


Can you please pen a bug report:
http://www.lyx.org/trac/wiki/BugTrackerHome
I'm currently too busy to fix it right now. Having a bug report assures that it won't be forgotten 
and that every developer can fix this.


Besides this the layout is named svglobal3.layout so I think that the global was inserted 
purposely. Why do you think this is wrong? Is there anything in the svjour documentation?


thanks and regards
Uwe


Re: Classic Thesis and LyX

2009-09-03 Thread Uwe Stöhr

Manolo Martí­nez schrieb:

I'm trying to get Nick Mariette's port of André Miede's Classic Thesis 
style for LyX to work.


I don't have the time to investigate your problem in detail. But I can provide 
you a LyX thesis
template I created for my institute and that I'm using for my thesis.
You might give it a try. If so I'm interested to get some feedback.
You find it here:
http://fkurth.de/uwest/LyX/ThesisTemplate/

regards Uwe



breaking long url

2009-09-03 Thread Sharma, Vivek
I am using the memoir class, Lyx 1.6.4 and want to write the following:

Web sites: 

University Hospital Llandough, Cardiff:

\url{http://www.cardiffandvale.wales.nhs.uk/portal/page?_pageid=33,480404,33_480405_dad=portal_schema=PORTAL}

East Glamorgan General Hospital now known as to Royal Glamorgan Hospital, 
Cardiff

Ynys Maerdy, Pontyclun, Llantrisant, CF72 8XR

http://www.wales.nhs.uk/hospitals.cfm

Ysbyty Gwynedd Hospital, Bangor: 

http://www.northwestwales.org/WiSSCMS-en-308.aspx


___


I have the following in the preamble:

\usepackage{booktabs}
\usepackage{graphicx}
\usepackage{color}
%\usepackage[%
%colorlinks=true,linkcolor=black,citecolor=black,urlcolor=black,%
%pdfstartview=FitH,%
%bookmarksopen=true,bookmarksopenlevel=0,%
%plainpages=false,pdfpagelabels,%
%pagebackref=true,%
%pdftoolbar=false]{hyperref}
\usepackage{url}
%% Define a new 'leo' style for the package that will use a smaller font.
%\makeatletter
%\def\...@leostyle{%
  
\...@ifundefined{selectfont}%{\def\urlfont{\sf}}%{\def\urlfont{\small\ttfamily}}}
%\makeatother
%% Now actually use the newly defined style.
%\urlstyle{leo}
\usepackage{breakurl}


Problem despite trying the insert URL option in lyx or the above putting the 
url as ERT i have not been able to get it to break appropriately and the url 
goes beyond the text margins. I have  tried the suggestion to put it as 
\href{url}{...} as well

I would appreciate any help with this


Regards
Vivek

Re: LyX and references

2009-09-03 Thread Ignacio García
Pierfranco Minsenti pierfranco.minse...@... writes:

 
 Hi all,
 
 since I am in a very similar situation as Alessio, that is I am an Italian
 user working with an Italian version of LyX (i.e. menues etc are translated
 in Italian), and writing in English, I confirm that the normal LyX is
 behaviour consists in showing in these cases (and other similar cases as
 well, e.g. Indice instead of Table of contents; Bibliografia instead of
 Bibliography) an Italian expression (e.g. the Italian conjunction e instead
 of the English conjunction and). However the output (the PDF) is perfectly
 correct showing in these cases and (not e).

I agree. I use LyX with a Spanish interface writing documents in Spanish and
English languages.
But I need sometimes LyX with English (or other) interface, i.e. menues, insets
labels (foot, float, TOC...), etc, in English (or other). I do it setting in a
command line terminal the variable LANG to, e.g. en_GB.utf8, and running LyX in
that terminal. 

Regards
Ignacio 








Setting paragraph style in fullscreen mode

2009-09-03 Thread Luca Carlon
Hi! Is it possible when in fullscreen mode to set the paragraph style (Chapter,
Section, Standard etc...)? I can't find how to do it and it is bothering to exit
fullscreen mode every time I have to do it.
Thanks!

Luca



Re: Setting paragraph style in fullscreen mode

2009-09-03 Thread Abdelrazak Younes

Luca Carlon wrote:

Hi! Is it possible when in fullscreen mode to set the paragraph style (Chapter,
Section, Standard etc...)? I can't find how to do it and it is bothering to exit
fullscreen mode every time I have to do it.


Try:
Alt-P 1/2/3/4 for Chapter/Section/Subsection/Paragraph
Alt-P S for Standard

Abdel.



Re : [Lyx] explicit mail subject

2009-09-03 Thread Delta moins
Hello,
Sorry if the subject was already and recurrently treated in the list. As I 
said, I'm new so I didn't know.
In fact, I filter by the To field and it works perfectly with Yahoo webmail 
so my problem is solved. Once again I should have think a bit before sending my 
request on the list...
Thanks for the responses.

Yves




 Hello everybody, I'm registred to this mailing list for few weeks and I'm 
 very surprised about one thing : there is no keyword in the mail subject 
 that tell people this comes from the Lyx users list.

 If you look at the details in the email you will find list information which 
 you should be able to your mail client to use.

  As long as I've subscribed to this mail list, all messages have the
subject line prefixed with [Lyx]. Perhaps that's because all I've used is
procmail and (al)pine as my MUA, but it's always been there.

Rich

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



  

Re: Setting paragraph style in fullscreen mode

2009-09-03 Thread Luca Carlon
Abdelrazak Younes you...@... writes:
 Try:
 Alt-P 1/2/3/4 for Chapter/Section/Subsection/Paragraph
 Alt-P S for Standard
 
 Abdel.

Exactly what I needed! Thanks!



RE: Re: Setting paragraph style in fullscreen mode

2009-09-03 Thread Vincent van Ravesteijn - TNW
 
 Try:
 Alt-P 1/2/3/4 for Chapter/Section/Subsection/Paragraph
 Alt-P S for Standard
 
 Abdel.

Exactly what I needed! Thanks!


Also, 

Alt-P space should popup the combo box too (even in full-screen).

Vincent


Re: Setting paragraph style in fullscreen mode

2009-09-03 Thread Abdelrazak Younes

Vincent van Ravesteijn - TNW wrote:
 

Try:
Alt-P 1/2/3/4 for Chapter/Section/Subsection/Paragraph
Alt-P S for Standard

Abdel.

Exactly what I needed! Thanks!



Also, 


Alt-P space should popup the combo box too (even in full-screen).


In branch?

Abdel.



Re: Setting paragraph style in fullscreen mode

2009-09-03 Thread Luca Carlon
Abdelrazak Younes you...@... writes:
  Also, 
  
  Alt-P space should popup the combo box too (even in full-screen).
 
 In branch?
 
 Abdel.

I have 1.6.4.1 and here the combo appears.
Thanks!

Luca



RE: Re: Setting paragraph style in fullscreen mode

2009-09-03 Thread Vincent van Ravesteijn - TNW
 
 
 Try:
 Alt-P 1/2/3/4 for Chapter/Section/Subsection/Paragraph
 Alt-P S for Standard

 Abdel.
 Exactly what I needed! Thanks!

 
 Also,
 
 Alt-P space should popup the combo box too (even in full-screen).

In branch?


Yes, also in branch. The things I changed in trunk were only necessary
in case the toolbar was turned off (before LyX was started) and thus was
never initialized.

When you hide the toolbar or when you switch to fullscreen, the combo
box still appears.

Abdel.

Vincent



[Fwd: Re: \...@ifundefined{showcaptionsetup}{}{%.............inserted automatically by Lyx]

2009-09-03 Thread Tariq Abdullah

Hi all,

Can some help me in solving a Lyx problem described in the forwarded email?

Regards,
Tariq Abdullah


---BeginMessage---

Hi Vincent,

\...@ifundefined{showcaptionsetup}{}{%
\PassOptionsToPackage{caption=false}{subfig}}
\usepackage{subfig}
\makeatother
\usepackage{babel}

I get the following 4 errors due to above Lyx inserted code into my tex 
file:


Error-1:
you can't use \spacefactor in vertical mode
Error-1 Description:
\@

ifundefined{showcaptionsetup}{}{%

Sorry, but I'm not programmed to handle this case;

I'll just pretend that you didn't ask for it.

If you're in the wrong mode, you might be able to

return to the right one by typing `I}' or `I$' or `I\par'.


Error-2:
Missing $ inserted
Error-2 Description:
\@

ifundefined{showcaptionsetup}{}{%

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

you left one out. Proceed, with fingers crossed.


Error-3:
Latex error: Missing \begin{document}.

Error-3 Description:
\@

ifundefined{showcaptionsetup}{}{%

You're in trouble here. Try typing return to proceed.

If that doesn't work, type X return to quit.


Error-4:
Missing $ inserted
Error-4 Description:

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

you left one out. Proceed, with fingers crossed.


When I comment the tex code, as shown in the following lines, in WinEdt, 
my file is compiled and I obtain the correct PDF file


%...@ifundefined{showcaptionsetup}{}{%
% \PassOptionsToPackage{caption=false}{subfig}}
\usepackage{subfig}
%\makeatother
\usepackage{babel}

Regards,
Tariq Abdullah



Vincent van Ravesteijn - TNW wrote:

Lyx inserts the following tex code when using the subfig package.
The code prompts Lyx to generate an error and I can't create the 
DVI--PDF file from Lyx.



\...@ifundefined{showcaptionsetup}{}{%

\PassOptionsToPackage{caption=false}{subfig}}

\usepackage{subfig}

\makeatother

\usepackage{babel}


Does anybody know how to solve this error OR how to
restrict Lyx to not insert this piece of tex code?




This line is added to guard against a user that has manually included
the caption package in the preamble.

What's the error then ? It shouldn't give an error.

Vincent



---End Message---


RE: [Fwd: Re: \...@ifundefined{showcaptionsetup}{}{%.............inserted automatically by Lyx]

2009-09-03 Thread Vincent van Ravesteijn - TNW
 
Can some help me in solving a Lyx problem described
in the forwarded email?

It seems you're missing a \makeatletter before this piece of code. Did
you add this yourself in the preamble ?

Regards,
Tariq Abdullah

Vincent




Re: [Fwd: Re: \...@ifundefined{showcaptionsetup}{}{%.............inserted automatically by Lyx]

2009-09-03 Thread Tariq Abdullah

Hi Vincent,

As I explained in my previous email, that this piece of code is inserted 
by Lyx itself.
I tried adding \makeletter before this piece of code, the problem 
remains the smae.

Is there a way to restrict Lyx from inserting this piece of code?

Regards,
Tariq Abdullah

P.S: I copied the automatically inserted code and the Lyx errors at the 
bottom of this email.



Vincent van Ravesteijn - TNW wrote:
 
  

Can some help me in solving a Lyx problem described
in the forwarded email?



It seems you're missing a \makeatletter before this piece of code. Did
you add this yourself in the preamble ?

  

Regards,
Tariq Abdullah



Vincent


  


\...@ifundefined{showcaptionsetup}{}{%

\PassOptionsToPackage{caption=false}{subfig}}

\usepackage{subfig}

\makeatother

\usepackage{babel}



I get the following 4 errors due to above Lyx inserted code into my tex 
file:




Error-1:

you can't use \spacefactor in vertical mode

Error-1 Description:

\@



ifundefined{showcaptionsetup}{}{%



Sorry, but I'm not programmed to handle this case;



I'll just pretend that you didn't ask for it.



If you're in the wrong mode, you might be able to



return to the right one by typing `I}' or `I$' or `I\par'.





Error-2:

Missing $ inserted

Error-2 Description:

\@



ifundefined{showcaptionsetup}{}{%



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



you left one out. Proceed, with fingers crossed.





Error-3:

Latex error: Missing \begin{document}.



Error-3 Description:

\@



ifundefined{showcaptionsetup}{}{%



You're in trouble here. Try typing return to proceed.



If that doesn't work, type X return to quit.





Error-4:

Missing $ inserted

Error-4 Description:



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



you left one out. Proceed, with fingers crossed.





When I comment the tex code, as shown in the following lines, in WinEdt, 
my file is compiled and I obtain the correct PDF file




%...@ifundefined{showcaptionsetup}{}{%

% \PassOptionsToPackage{caption=false}{subfig}}

\usepackage{subfig}

%\makeatother

\usepackage{babel}



Regards,

Tariq Abdullah







RE: [Fwd: Re: \...@ifundefined{showcaptionsetup}{}{%.............inserted automatically by Lyx]

2009-09-03 Thread Vincent van Ravesteijn - TNW
As I explained in my previous email, that this piece
of code is inserted by Lyx itself. I tried adding
\makeletter before this piece of code, the problem
remains the smae. Is there a way to restrict Lyx from
inserting this piece of code?

No, there isn't. 

Can you send the whole LaTeX code of a minimal example ?

Vincent


LyX 1.6.3 + Mac OS 10.6 + Revision Control

2009-09-03 Thread Alessio Maria Braccini

Hi to all,
I did upgrade to Mac OS X Snow Leopard (10.6) yesterday night, and  
today, when I started to work again with LyX, I found myself in  
troubles. I am using revision control with my document and I wanted to  
check the document out to continue working on it. But when I do so, I  
get the wollowing error:


There was an error executing the command:
'co -q -l 'xx''.

No commands from the control revision seems to work. If I want to see  
the log of all the modifications I get a similar error (of course with  
a different text, but it is always linked to a failure in command  
execution) and after that an empty revision control register.


I have looked the console up and it says that the co command has not  
been found. Do you know whether I need to reinstall it? If so, how?


Thank you very much.
Alessio

PS: of course everything was working fine before the upgrade to Snow  
Leopard






Re: LyX 1.6.3 + Mac OS 10.6 + Revision Control [solved]

2009-09-03 Thread Alessio Maria Braccini

Sorry, I have solved it.
If anyone else has this problem I write down what I've done to solve it.

I have realized that both rlog and co are outside the $PATH and are  
put into /Developer/usr/bin/rlog. So, to fix it I've just run these  
commands:


 cd /usr/local/bin
 sudo ln -s /Developer/usr/bin/co
 sudo ln -s /Developer/usr/bin/rlog

After that LyX revision control started to work as usual.
Thanks anyhow.
Alessio

Il giorno 03/set/2009, alle ore 15.06, Alessio Maria Braccini ha  
scritto:



Hi to all,
I did upgrade to Mac OS X Snow Leopard (10.6) yesterday night, and  
today, when I started to work again with LyX, I found myself in  
troubles. I am using revision control with my document and I wanted  
to check the document out to continue working on it. But when I do  
so, I get the wollowing error:


There was an error executing the command:
'co -q -l 'xx''.

No commands from the control revision seems to work. If I want to  
see the log of all the modifications I get a similar error (of  
course with a different text, but it is always linked to a failure  
in command execution) and after that an empty revision control  
register.


I have looked the console up and it says that the co command has  
not been found. Do you know whether I need to reinstall it? If so,  
how?


Thank you very much.
Alessio

PS: of course everything was working fine before the upgrade to Snow  
Leopard






CeRSI - Centro di Ricerche sui Sistemi Informativi - LUISS Guido Carli
Via G. Alberoni, 7 00198 Roma
TEL.: +39-06-85225760
Mobile: +39 338 4614502
abracc...@luiss.it
http://www.cersi.it/abraccini





Re: LyX 1.6.3 + Mac OS 10.6 + Revision Control [solved]

2009-09-03 Thread Julio Rojas
Alessio, one question, how is Lyx 1.6.3 working with Snow Leopard? Do
you have the problem that was reported here, about OS X periodically
reporting Lyx has crashed, when it's not true?
-
Julio Rojas
jcredbe...@gmail.com



On Thu, Sep 3, 2009 at 3:17 PM, Alessio Maria
Bracciniabracc...@luiss.it wrote:
 Sorry, I have solved it.
 If anyone else has this problem I write down what I've done to solve it.

 I have realized that both rlog and co are outside the $PATH and are put into
 /Developer/usr/bin/rlog. So, to fix it I've just run these commands:

 cd /usr/local/bin
 sudo ln -s /Developer/usr/bin/co
 sudo ln -s /Developer/usr/bin/rlog

 After that LyX revision control started to work as usual.
 Thanks anyhow.
 Alessio

 Il giorno 03/set/2009, alle ore 15.06, Alessio Maria Braccini ha scritto:

 Hi to all,
 I did upgrade to Mac OS X Snow Leopard (10.6) yesterday night, and today,
 when I started to work again with LyX, I found myself in troubles. I am
 using revision control with my document and I wanted to check the document
 out to continue working on it. But when I do so, I get the wollowing error:

 There was an error executing the command:
 'co -q -l 'xx''.

 No commands from the control revision seems to work. If I want to see the
 log of all the modifications I get a similar error (of course with a
 different text, but it is always linked to a failure in command execution)
 and after that an empty revision control register.

 I have looked the console up and it says that the co command has not
 been found. Do you know whether I need to reinstall it? If so, how?

 Thank you very much.
 Alessio

 PS: of course everything was working fine before the upgrade to Snow
 Leopard




 CeRSI - Centro di Ricerche sui Sistemi Informativi - LUISS Guido Carli
 Via G. Alberoni, 7 00198 Roma
 TEL.: +39-06-85225760
 Mobile: +39 338 4614502
 abracc...@luiss.it
 http://www.cersi.it/abraccini






Re: Will Lyx run on Mac OS X 10.6?

2009-09-03 Thread Johannes Knaus
I have 1.6.3 and Snow Leopard on my Mac. Unfortunately the same  
problems appear as reported for 1.6.4.


Johannes

Am 03.09.2009 um 16:15 schrieb Julio Rojas:


Is this problem specifically linked to 1.6.4? Or will 1.6.3 present
it? I have Snow Leopard in my hand and 1.6.3 installed on my wife's
computer. Haven't installed the OS waiting for this problem to solve.
-
Julio Rojas
jcredbe...@gmail.com



On Sun, Aug 30, 2009 at 2:16 AM, William Brayb...@math.umemat.maine.edu 
 wrote:
I am currently testing Lyx 1.6.4 under Snow Leopard, the official  
release.
(I got the binary from the Lyx server before it was taken off; it  
does have
the problem that Preferences is grayed out as a menu choice, but  
can be
opened using keys CMD + , . I have not noticed any other problems  
with Lyx

1.6.4?)
I created a generic Lyx file, typed a bunch of stuff and let it  
sit. After
about 5 minutes, a pop up window appeared reporting that Lyx  
crashed. My
console report looks alot like the one in the bug report (link  
below).
However, Lyx did not actually crash. After choosing Ignore, Lyx was  
still

running and I could continue to type, save, edit, etc, the file.
The crash reoccurs about every 5 minutes, which does correspond to  
the

autosave time set in preferences.
I turned off autosave and Lyx has not sent up another crash pop up  
as yet

(we are about 15 minutes in at this point.

This is just a follow up to the question of Knaus. I am going to  
continue to

use Lyx under Snow Leopard and see where it takes me.

Bill

On Aug 27, 2009, at 8:30 AM, Vincent van Ravesteijn - TNW wrote:


Hello,

I ordered the new Mac OS Snowleopard this week and I wonder
if any of the Lyx-(Mac)-Developers has already tested Lyx
under a Developer- Version of Snowleopard?

Will the Lyx-Binary run on Snowleopard?
Anyway, I'll test it and post it here.

Johannes.



We are a bit short on Mac developers, so I doubt that you'll get an
authorative answer.

But, the good news is that I've heard of someone running LyX on
Snowleopard, the bad news is that I heard this by means of a bug  
report:


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

So, it'll be interesting whether this crash actually has to do  
something

with Snowleopard or not.

Vincent





--

Sometimes I lie awake at night, and ask, Where have I gone wrong?
Then a voice says to me, This is going to take more than one  
night. (Charlie Brown)





Re: Will Lyx run on Mac OS X 10.6?

2009-09-03 Thread Julio Rojas
Is this problem specifically linked to 1.6.4? Or will 1.6.3 present
it? I have Snow Leopard in my hand and 1.6.3 installed on my wife's
computer. Haven't installed the OS waiting for this problem to solve.
-
Julio Rojas
jcredbe...@gmail.com



On Sun, Aug 30, 2009 at 2:16 AM, William Brayb...@math.umemat.maine.edu wrote:
 I am currently testing Lyx 1.6.4 under Snow Leopard, the official release.
 (I got the binary from the Lyx server before it was taken off; it does have
 the problem that Preferences is grayed out as a menu choice, but can be
 opened using keys CMD + , . I have not noticed any other problems with Lyx
 1.6.4?)
 I created a generic Lyx file, typed a bunch of stuff and let it sit. After
 about 5 minutes, a pop up window appeared reporting that Lyx crashed. My
 console report looks alot like the one in the bug report (link below).
 However, Lyx did not actually crash. After choosing Ignore, Lyx was still
 running and I could continue to type, save, edit, etc, the file.
 The crash reoccurs about every 5 minutes, which does correspond to the
 autosave time set in preferences.
 I turned off autosave and Lyx has not sent up another crash pop up as yet
 (we are about 15 minutes in at this point.

 This is just a follow up to the question of Knaus. I am going to continue to
 use Lyx under Snow Leopard and see where it takes me.

 Bill

 On Aug 27, 2009, at 8:30 AM, Vincent van Ravesteijn - TNW wrote:

 Hello,

 I ordered the new Mac OS Snowleopard this week and I wonder
 if any of the Lyx-(Mac)-Developers has already tested Lyx
 under a Developer- Version of Snowleopard?

 Will the Lyx-Binary run on Snowleopard?
 Anyway, I'll test it and post it here.

 Johannes.


 We are a bit short on Mac developers, so I doubt that you'll get an
 authorative answer.

 But, the good news is that I've heard of someone running LyX on
 Snowleopard, the bad news is that I heard this by means of a bug report:

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

 So, it'll be interesting whether this crash actually has to do something
 with Snowleopard or not.

 Vincent




Re: Will Lyx run on Mac OS X 10.6?

2009-09-03 Thread Johannes Knaus

Now I found time to install Snow Leopard on my Mac.
I can confirm the behaviour reported here:

Lyx (1.6.3) starts up and as long as I just watch my document it keeps  
running without any errors.
When I type something and wait for the autosave to come into action, a  
pop up window appears with an error message that LyX crashed.
However if I simply click on ignore, I can work with my LyX document,  
as LyX itself still is running. So it might only be some subprocess  
which is crashed.
I can save changes via the save button. Although after pressing the  
button the pop up telling my that LyX crashed appears again.
When I insert a table, the mentioned popup window appears, too. So it  
seems that as soon as you start something which calls up a new menubar  
this process crashes, too.


All these crashes seem to have to with the fork() without exit() thing  
reported on trac, see the crashlog-excerpts below.


So is it useful if I try to compile Lyx on my own on 10.6? Or would  
this end up in the same crashing behaviour?
There are some changes/workarounds to do in the source code first,  
right?


Johannes

1)

Process: lyx [850]
Path:/Applications/LyX.app/Contents/MacOS/lyx
Identifier:  lyx
Version: ??? (???)
Code Type:   X86 (Native)
Parent Process:  lyx [800]

Date/Time:   2009-08-31 23:28:16.111 +0200
OS Version:  Mac OS X 10.6 (10A432)
Report Version:  6

Interval Since Last Report:  2022 sec
Crashes Since Last Report:   2
Per-App Crashes Since Last Report:   2
Anonymous UUID:  D124E21E- 
F546-47A6-9182-5346BDAEE239


Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x, 0x
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Application Specific Information:
USING_FORK_WITHOUT_EXEC_IS_NOT_SUPPORTED_BY_FILE_MANAGER
abort() called

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib   0x92a14972 __kill + 10
1   libSystem.B.dylib   0x92a14964 kill$UNIX2003 + 32
2   libSystem.B.dylib   0x92aa7ba5 raise + 26
3   libSystem.B.dylib   0x92abdc5c abort + 93
…


2)

Process: lyx [904]
Path:/Applications/LyX.app/Contents/MacOS/lyx
Identifier:  lyx
Version: ??? (???)
Code Type:   X86 (Native)
Parent Process:  lyx [800]

Date/Time:   2009-08-31 23:52:05.910 +0200
OS Version:  Mac OS X 10.6 (10A432)
Report Version:  6

Interval Since Last Report:  1329 sec
Crashes Since Last Report:   1
Per-App Crashes Since Last Report:   1
Anonymous UUID:  D124E21E- 
F546-47A6-9182-5346BDAEE239


Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x, 0x
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Application Specific Information:
USING_FORK_WITHOUT_EXEC_IS_NOT_SUPPORTED_BY_FILE_MANAGER
abort() called

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib   0x92a14972 __kill + 10
1   libSystem.B.dylib   0x92a14964 kill$UNIX2003 + 32
2   libSystem.B.dylib   0x92aa7ba5 raise + 26
3   libSystem.B.dylib   0x92abdc5c abort + 93
…

Re: Multiple Bib - Koma

2009-09-03 Thread Yannick Wurm

Hello Pierfranco,
thank you very much for the rapid and exhaustive reply!

After setting things up the way you outlined, I could only get  
your .tex document to create the references correctly if I replaced  
the refsegment with refsection as is it found in the 10- 
references-per-section.tex file.


Bringing things into lyx worked as planned which is a very pleasant  
surprise.
I haven't yet tried combining it all into my thesis chapters (which  
are separate documents), but will look into that after a good cup of  
coffee.


Thanks again and kind regards,

Yannick


On 2 Sep 2009, at 18:39, Pierfranco Minsenti wrote:


Hi Yannick,

I have very recently tested a solution to your problem using the  
biblatex package. Even if biblatex is still beta I can assure you  
that it is a very effective and easy solution, very flexible and  
adaptable to different needs. Read the instruction on the LyX wiki  
dedicated to the use of biblatex at http://wiki.lyx.org/BibTeX/Biblatex 
.
It is indispensable in your case to install the biblatex package  
downloadable from http://www.ctan.org/tex-archive/help/Catalogue/entries/biblatex.html 
. Also you will have to install the Perl script bibtexall into an  
executable path so that LyX will be able to compile all the files  
produced.
Herewith enclosed I add  an exemple I have developed modifying an  
original file found in the exemples directory of the biblatex  
package downloaded from http://www.ctan.org/tex-archive/help/Catalogue/entries/biblatex.html
The code is pure LateX but it has also been tested with LyX and the  
KOMAscript report class, so it perflectly works. You just need to  
import this file in LyX and make adjustements following the specific  
instructions at http://wiki.lyx.org/BibTeX/Biblatex for using  
biblatex with LyX.
I can also add that I haven't still used in conjunction with the LyX  
port of the ClassicThesis style which I am also using, but I plan to  
do it very soon and I think I will only have to modify the original  
files related to the LyX port of the ClassicThesis style by  
commenting out fthe packages and options related to:

1) natbib

2) backref package (you will use the specific functions provided by  
biblatex)


besides it is absolutely important to put the biblatex package  
before the hyperref package.


Herewith you can see the exemple I have obtained using pure LaTex  
code for producing lists of references printed at the end of each  
chapter. Obviously this example can only work in conjunction with  
the examples.bib file put in the exemples directory of the biblatex  
package.


\documentclass[english,a4paper,twoside]{scrreprt}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\usepackage{babel}
%
\usepackage[babel]{csquotes}

\usepackage[style=authoryear,
natbib=true,
hyperref=auto,
backref=true,
date=long,
urldate=long,
block=space,
]{biblatex}
%
%HYPERREF
\usepackage 
[pdftex 
,a4paper 
,plainpages 
= 
false 
,pdfpagelabels 
,bookmarks 
= 
true 
,colorlinks 
,breaklinks 
,bookmarks 
=true,bookmarksopen=true,bookmarksnumbered=true,pageanchor=true,

hyperfootnotes=false,
pdfstartview=FitV]
{hyperref}
%
%HYPERSETUP
\hypersetup{colorlinks=true,linkcolor=red,citecolor=red,urlcolor=blue}
%
\bibliography{examples}
%
\defbibheading{references}{\section*{References}} % heading for the  
various References sections put in each chapter

%
%
% added more vertical space among records because default space in  
authorcite style is =0

%
\makeatletter

\AtEveryBibitem{%
\iffieldequals{namehash}{\...@prevhash}
{}
{\addvspace{0.8\baselineskip}}% 0.8\baselineskip o altra misura
\savefield{namehash}{\...@prevhash}}

\AtBeginBibliography{%
\let\...@prevhash\undefined}

\makeatother
%
\title{My Dissertation}
\author{Firstname Lastname}
\date{}
%
%__
\begin{document}

\maketitle

\tableofcontents


\chapter{Title of first chapter}

\begin{refsegment}

This is just filler text \parencite{massa}.
This is just filler text \parencite{augustine}. This is just filler
text \parencite{cotton}. This is just filler text \parencite{hammond}.
%
\printbibliography[heading=references]
\end{refsegment}

\chapter{Title of second chapter}

\begin{refsegment}

This is just filler text \parencite{hammond}. This is just filler
text \parencite{massa}. This is just filler text \parencite{cotton}.
This is just filler text \parencite{murray}.
%
\printbibliography[heading=references]
\end{refsegment}

\chapter{Title of third chapter}

\begin{refsegment}

This is just filler text \parencite{murray}. This is just filler
text \parencite{augustine}. This is just filler text  
\parencite{cotton}.

This is just filler text \parencite{bertram}.
%
\printbibliography[heading=references]
\end{refsegment}
%
%__
\end{document}

Best wishes

Pierfranco


2009/9/2 Yannick Wurm 

Re: Will Lyx run on Mac OS X 10.6?

2009-09-03 Thread Manveru
2009/9/3 Johannes Knaus knausli...@freenet.de:
[...]
 Application Specific Information:
 USING_FORK_WITHOUT_EXEC_IS_NOT_SUPPORTED_BY_FILE_MANAGER
 abort() called
[...]
 Exception Type:  EXC_CRASH (SIGABRT)
 Exception Codes: 0x, 0x
 Crashed Thread:  0  Dispatch queue: com.apple.main-thread

 Application Specific Information:
 USING_FORK_WITHOUT_EXEC_IS_NOT_SUPPORTED_BY_FILE_MANAGER
 abort() called
[...]

For me it seems Apple has changed a security policy about calling
fork(). I cant find any article about that on Google yet.

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


RE: Will Lyx run on Mac OS X 10.6?

2009-09-03 Thread Vincent van Ravesteijn - TNW
 So is it useful if I try to compile Lyx on my own on
 10.6? Or would this end up in the same crashing behaviour?

I think it is useful, but I think you'll see the same crashing
behaviour.


There are some changes/workarounds to do in the source
code first, right?


The first thing you might try is to adapt the following code:

194--...@forkedcalls.cpp:

pid_t ForkedProcess::fork() {
#if !defined (HAVE_FORK)
return -1;
#else
pid_t pid = ::fork();
if (pid == 0)
IAmAChild = true;
return pid;
#endif
}


If you undefine HAVE_FORK (or just always return -1), you can see
whether (all) crashes disappear. If so, we have at least a workaround. 

Everything should still work, but you might be interrupted in your
typing when LyX saves the autosave file using the same thread.

Vincent


Classic Thesis and LyX

2009-09-03 Thread Manolo Martí­nez

Hello,

I'm trying to get Nick Mariette's port of André Miede's Classic Thesis 
style for LyX to work. I'm talking about this: 
http://www.soundsorange.net/resources/classic-thesis-for-lyx/ in case 
you are not familiar with it.


I'm getting several Math formula deleted: Insufficient symbol fonts. 
errors every time I try to run pdflatex. The description of the error is:


Sorry, but I can't typeset math unless \textfont 2

and \scriptfont 2 and \scriptscriptfont 2 have all

the \fontdimen values needed in math symbol fonts.


I get this error with as simple a file as the one I am attaching 
(test.lyx), using report (KOMA-Script) as class, and adding in the 
preamble:  \usepackage{preamble}


I also attach Mariette's preamble.sty, so that you can easily replicate 
the problem.



After some googling I've come to think that this has to do with my 
having some fonts installed which supersede the order to escale some 
other fonts. But beyond that, I do not really know where to look.



I hope you can help me with this. Thanks,
Manolo




test.lyx
Description: application/lyx
% **
%  A LyX port of:
%  A Classic Thesis Style by André Miede
%  LyX port by: Nick Mariette. March, 2009.
%  http://soundsorange.net/resources/classic-thesis-for-lyx/
%
%  Nick Mariette: If you appreciate my LyX port of André Miede's style
%  please visit my homepage and consider making a donation.
%  Also, please consider sending a postcard to André who wrote the original LaTeX (see details below)
% 
%  Note: nm_classicthesis.sty is adapted from classicthesis.sty version 2.5 by André Miede
%  [2008/10/01 v2.5 Typographic Style for a classic-looking thesis]
%
%  All modifications are in the new preamble.sty, the nm_classicthesis.sty, and the .lyx files.
%
% **
%
% A Classic Thesis Style 
% An Homage to The Elements of Typographic Style
% 
% Copyright (C) 2008 André Miede http://www.miede.de
%
% If you like the style then I would appreciate a postcard. My address 
% can be found in the file ClassicThesis.pdf. A collection of the 
% postcards I received so far is available online at 
% http://postcards.miede.de
%
%
% License:
% This program is free software; you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation; either version 2 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with this program; see the file COPYING.  If not, write to
% the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
% Boston, MA 02111-1307, USA.
%
% **
% Note:
%* You must not use u etc. in strings/commands that will be spaced out (use \u or real umlauts instead)
%* Chapters must be marked with the \myChapter{Foo} command (sorry for the inconvenience at this point)
%* New enumeration (small caps): \begin{aenumerate} \end{aenumerate}
%* For margin notes: \graffito{}
%* Do not use bold fonts in this style, it is designed around them
%* Use tables as in the examples
%* See classicthesis-ldpkg.sty for useful commands
% **
% To Do:
%* support a List of Listings that looks like the other lists
%* mathbb in section-titles/chapter-titles = disappears somehow in headlines!!!
%* think about processing a4paper, a5paper, 10pt, 11pt, 12pt etc. options for typearea layout
%  (store values in internal variables and handle by \AtEndOfPackage{\areaset...})
% **

% 
% KOMA-Script setup http://www.komascript.de/betaKOMAoptions
% 
%\KOMAoptions{%
%paper=a4,%
%fontsize=10pt,%
%cleardoublepage=empty,%
%footinclude=true,%
%%abstract=false%
%}
% 
% Development Stuff
% 
\listfiles
%\usepackage[l2tabu, orthodox, abort]{nag}
%\usepackage[warning, all]{onlyamsmath}
% 
% Re-usable information
% 

Re: Multiple Bib - Koma

2009-09-03 Thread Yannick Wurm

H,
so getting things working with ClassicThesis is harder than I thought.

I've resolved most of the conflicts between the classicthesis.sty,  
preamble.sty and the preable that you gave in your example. (like you  
said, those were related to natbib, hyperref, backref). So I feel I'm  
90% there! However, as soon as I add the code below to my  
ClassicThesis.lyx preamble, things fail.


But I cannot make sense of the errors, nor locate where they are  
coming from (is there any way to get more verbose error messages from  
lyx?). What follows is the first error out of many:

Error: You can't use '\spacefactor' in vertical mode.
Description:  \@
ifundefined{showcaptionsetup}{}{%
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.


Do you have any ideas where I should look?

Thanks!!
yannick



%  responsible for converting the citekeys to pretty citations
\makeatletter
\AtEveryBibitem{%
\iffieldequals{namehash}{\...@prevhash}
{}
{\addvspace{0.8\baselineskip}}% 0.8\baselineskip o altra misura
\savefield{namehash}{\...@prevhash}}
\AtBeginBibliography{%
\let\...@prevhash\undefined}
\makeatother

On 3 Sep 2009, at 16:18, Yannick Wurm wrote:


Hello Pierfranco,
thank you very much for the rapid and exhaustive reply!

After setting things up the way you outlined, I could only get  
your .tex document to create the references correctly if I replaced  
the refsegment with refsection as is it found in the 10- 
references-per-section.tex file.


Bringing things into lyx worked as planned which is a very pleasant  
surprise.
I haven't yet tried combining it all into my thesis chapters (which  
are separate documents), but will look into that after a good cup of  
coffee.


Thanks again and kind regards,

Yannick


On 2 Sep 2009, at 18:39, Pierfranco Minsenti wrote:


Hi Yannick,

I have very recently tested a solution to your problem using the  
biblatex package. Even if biblatex is still beta I can assure you  
that it is a very effective and easy solution, very flexible and  
adaptable to different needs. Read the instruction on the LyX wiki  
dedicated to the use of biblatex at http://wiki.lyx.org/BibTeX/Biblatex 
.
It is indispensable in your case to install the biblatex package  
downloadable from http://www.ctan.org/tex-archive/help/Catalogue/entries/biblatex.html 
. Also you will have to install the Perl script bibtexall into an  
executable path so that LyX will be able to compile all the files  
produced.
Herewith enclosed I add  an exemple I have developed modifying an  
original file found in the exemples directory of the biblatex  
package downloaded from http://www.ctan.org/tex-archive/help/Catalogue/entries/biblatex.html
The code is pure LateX but it has also been tested with LyX and the  
KOMAscript report class, so it perflectly works. You just need to  
import this file in LyX and make adjustements following the  
specific instructions at http://wiki.lyx.org/BibTeX/Biblatex for  
using biblatex with LyX.
I can also add that I haven't still used in conjunction with the  
LyX port of the ClassicThesis style which I am also using, but I  
plan to do it very soon and I think I will only have to modify the  
original files related to the LyX port of the ClassicThesis style  
by commenting out fthe packages and options related to:

1) natbib

2) backref package (you will use the specific functions provided by  
biblatex)


besides it is absolutely important to put the biblatex package  
before the hyperref package.


Herewith you can see the exemple I have obtained using pure LaTex  
code for producing lists of references printed at the end of each  
chapter. Obviously this example can only work in conjunction with  
the examples.bib file put in the exemples directory of the biblatex  
package.


\documentclass[english,a4paper,twoside]{scrreprt}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\usepackage{babel}
%
\usepackage[babel]{csquotes}

\usepackage[style=authoryear,
   natbib=true,
   hyperref=auto,
   backref=true,
   date=long,
   urldate=long,
   block=space,
]{biblatex}
%
%HYPERREF
\usepackage 
[pdftex 
,a4paper 
,plainpages 
= 
false 
,pdfpagelabels 
,bookmarks 
= 
true 
,colorlinks 
,breaklinks 
,bookmarks 
=true,bookmarksopen=true,bookmarksnumbered=true,pageanchor=true,

hyperfootnotes=false,
pdfstartview=FitV]
{hyperref}
%
%HYPERSETUP
\hypersetup 
{colorlinks=true,linkcolor=red,citecolor=red,urlcolor=blue}

%
\bibliography{examples}
%
\defbibheading{references}{\section*{References}} % heading for the  
various References sections put in each chapter

%
%
% added more vertical space among records because default space in  
authorcite style is =0

%
\makeatletter

\AtEveryBibitem{%
\iffieldequals{namehash}{\...@prevhash}
{}

Re: [Lyx] explicit mail subject

2009-09-03 Thread Andre Poenitz
On Wed, Sep 02, 2009 at 04:13:14PM +0200, Manveru wrote:
 2009/9/2 Murray Eisenberg mur...@math.umass.edu:
  I agree with the O.P. on this. This is something that, surely, is easily
  fixed at the server end, so that each message going out from the server has,
  say, [LyX] prepended to the subject.
 
 There is many voices in favour of such feature. But not a lot of
 people vote against.

I my case mainly because I don't want to waste time to re-iterate
old discussions, twice a year...

I have 42 characters for the subject, given that most messages are
marked with (at least one) 'Re: ', a '[LyX] ' prefix eats 15% of
the available space, for useless 'information'.

Andre'


Re: LyX 1.6.3 + Mac OS 10.6 + Revision Control [solved]

2009-09-03 Thread Anders Host-Madsen
Yes, I'm also curious about the experiences with Snow Leopard. 
I want to upgrade, but as LyX has become 
the main program I use (yes, it's that great), 
I won't upgrade until I'm sure LyX works fairly well.



LNCS page numbers

2009-09-03 Thread Niko Schwarz
Hi, how can I turn ON the page numbers using the LLNCS (lecture notes  
on computer science or something) layout?


thanks in advance,

niko


Re: LNCS page numbers

2009-09-03 Thread Julio Rojas
Isn't that an option for the editor of the volume? Normally the
authors don't use it. Anyway, maybe this would help:
http://stackoverflow.com/questions/1366833/page-numbers-in-llncs-style
-
Julio Rojas
jcredbe...@gmail.com



On Thu, Sep 3, 2009 at 9:24 PM, Niko Schwarzniko.schw...@googlemail.com wrote:
 Hi, how can I turn ON the page numbers using the LLNCS (lecture notes on
 computer science or something) layout?

 thanks in advance,

 niko



Re: [Lyx] explicit mail subject

2009-09-03 Thread Jean-Marc Lasgouttes

Le 03/09/2009 19:46, Andre Poenitz a écrit :

I have 42 characters for the subject, given that most messages are
marked with (at least one) 'Re: ', a '[LyX] ' prefix eats 15% of
the available space, for useless 'information'.


Especially since we need [LyX Devel], [LyX Users], etc.

JMarc


Re: Bug in article (Springer svjour3/global) layout

2009-09-03 Thread Uwe Stöhr

Rainer M Krug schrieb:


There is a bug in the article (Springer svjour3/global) layout: it
uses the default option, which produces an error message. Changing (in
the layout file) global to smallcondensed (the default option),
fixes this.


Can you please pen a bug report:
http://www.lyx.org/trac/wiki/BugTrackerHome
I'm currently too busy to fix it right now. Having a bug report assures that it won't be forgotten 
and that every developer can fix this.


Besides this the layout is named svglobal3.layout so I think that the global was inserted 
purposely. Why do you think this is wrong? Is there anything in the svjour documentation?


thanks and regards
Uwe


Re: Classic Thesis and LyX

2009-09-03 Thread Uwe Stöhr

Manolo Martí­nez schrieb:

I'm trying to get Nick Mariette's port of André Miede's Classic Thesis 
style for LyX to work.


I don't have the time to investigate your problem in detail. But I can provide 
you a LyX thesis
template I created for my institute and that I'm using for my thesis.
You might give it a try. If so I'm interested to get some feedback.
You find it here:
http://fkurth.de/uwest/LyX/ThesisTemplate/

regards Uwe



breaking long url

2009-09-03 Thread Sharma, Vivek
I am using the memoir class, Lyx 1.6.4 and want to write the following:

Web sites: 

University Hospital Llandough, Cardiff:

\url{http://www.cardiffandvale.wales.nhs.uk/portal/page?_pageid=33,480404,33_480405_dad=portal_schema=PORTAL}

East Glamorgan General Hospital now known as to Royal Glamorgan Hospital, 
Cardiff

Ynys Maerdy, Pontyclun, Llantrisant, CF72 8XR

http://www.wales.nhs.uk/hospitals.cfm

Ysbyty Gwynedd Hospital, Bangor: 

http://www.northwestwales.org/WiSSCMS-en-308.aspx


___


I have the following in the preamble:

\usepackage{booktabs}
\usepackage{graphicx}
\usepackage{color}
%\usepackage[%
%colorlinks=true,linkcolor=black,citecolor=black,urlcolor=black,%
%pdfstartview=FitH,%
%bookmarksopen=true,bookmarksopenlevel=0,%
%plainpages=false,pdfpagelabels,%
%pagebackref=true,%
%pdftoolbar=false]{hyperref}
\usepackage{url}
%% Define a new 'leo' style for the package that will use a smaller font.
%\makeatletter
%\def\...@leostyle{%
  
\...@ifundefined{selectfont}%{\def\urlfont{\sf}}%{\def\urlfont{\small\ttfamily}}}
%\makeatother
%% Now actually use the newly defined style.
%\urlstyle{leo}
\usepackage{breakurl}


Problem despite trying the insert URL option in lyx or the above putting the 
url as ERT i have not been able to get it to break appropriately and the url 
goes beyond the text margins. I have  tried the suggestion to put it as 
\href{url}{...} as well

I would appreciate any help with this


Regards
Vivek

Re: LyX and references

2009-09-03 Thread Ignacio García
Pierfranco Minsenti  writes:

> 
> Hi all,
> 
> since I am in a very similar situation as Alessio, that is I am an Italian
> user working with an Italian version of LyX (i.e. menues etc are translated
> in Italian), and writing in English, I confirm that the normal LyX is
> behaviour consists in showing in these cases (and other similar cases as
> well, e.g. Indice instead of Table of contents; Bibliografia instead of
> Bibliography) an Italian expression (e.g. the Italian conjunction e instead
> of the English conjunction and). However the output (the PDF) is perfectly
> correct showing in these cases and (not e).

I agree. I use LyX with a Spanish interface writing documents in Spanish and
English languages.
But I need sometimes LyX with English (or other) interface, i.e. menues, insets
labels (foot, float, TOC...), etc, in English (or other). I do it setting in a
command line terminal the variable LANG to, e.g. en_GB.utf8, and running LyX in
that terminal. 

Regards
Ignacio 








Setting paragraph style in fullscreen mode

2009-09-03 Thread Luca Carlon
Hi! Is it possible when in fullscreen mode to set the paragraph style (Chapter,
Section, Standard etc...)? I can't find how to do it and it is bothering to exit
fullscreen mode every time I have to do it.
Thanks!

Luca



Re: Setting paragraph style in fullscreen mode

2009-09-03 Thread Abdelrazak Younes

Luca Carlon wrote:

Hi! Is it possible when in fullscreen mode to set the paragraph style (Chapter,
Section, Standard etc...)? I can't find how to do it and it is bothering to exit
fullscreen mode every time I have to do it.


Try:
Alt-P 1/2/3/4 for Chapter/Section/Subsection/Paragraph
Alt-P S for Standard

Abdel.



Re : [Lyx] explicit mail subject

2009-09-03 Thread Delta moins
Hello,
Sorry if the subject was already and recurrently treated in the list. As I 
said, I'm new so I didn't know.
In fact, I filter by the "To" field and it works perfectly with Yahoo webmail 
so my problem is solved. Once again I should have think a bit before sending my 
request on the list...
Thanks for the responses.

Yves




>> Hello everybody, I'm registred to this mailing list for few weeks and I'm 
>> very surprised about one thing : there is no keyword in the mail subject 
>> that tell people "this comes from the Lyx users list".

> If you look at the details in the email you will find list information which 
> you should be able to your mail client to use.

  As long as I've subscribed to this mail list, all messages have the
subject line prefixed with [Lyx]. Perhaps that's because all I've used is
procmail and (al)pine as my MUA, but it's always been there.

Rich

-- Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863



  

Re: Setting paragraph style in fullscreen mode

2009-09-03 Thread Luca Carlon
Abdelrazak Younes  writes:
> Try:
> Alt-P 1/2/3/4 for Chapter/Section/Subsection/Paragraph
> Alt-P S for Standard
> 
> Abdel.

Exactly what I needed! Thanks!



RE: Re: Setting paragraph style in fullscreen mode

2009-09-03 Thread Vincent van Ravesteijn - TNW
 
>> Try:
>> Alt-P 1/2/3/4 for Chapter/Section/Subsection/Paragraph
>> Alt-P S for Standard
>> 
>> Abdel.
>
>Exactly what I needed! Thanks!
>

Also, 

"Alt-P " should popup the combo box too (even in full-screen).

Vincent


Re: Setting paragraph style in fullscreen mode

2009-09-03 Thread Abdelrazak Younes

Vincent van Ravesteijn - TNW wrote:
 

Try:
Alt-P 1/2/3/4 for Chapter/Section/Subsection/Paragraph
Alt-P S for Standard

Abdel.

Exactly what I needed! Thanks!



Also, 


"Alt-P " should popup the combo box too (even in full-screen).


In branch?

Abdel.



Re: Setting paragraph style in fullscreen mode

2009-09-03 Thread Luca Carlon
Abdelrazak Younes  writes:
> > Also, 
> > 
> > "Alt-P " should popup the combo box too (even in full-screen).
> 
> In branch?
> 
> Abdel.

I have 1.6.4.1 and here the combo appears.
Thanks!

Luca



RE: Re: Setting paragraph style in fullscreen mode

2009-09-03 Thread Vincent van Ravesteijn - TNW
 
 
 Try:
 Alt-P 1/2/3/4 for Chapter/Section/Subsection/Paragraph
 Alt-P S for Standard

 Abdel.
>>> Exactly what I needed! Thanks!
>>>
>> 
>> Also,
>> 
>> "Alt-P " should popup the combo box too (even in full-screen).
>
>In branch?
>

Yes, also in branch. The things I changed in trunk were only necessary
in case the toolbar was turned off (before LyX was started) and thus was
never initialized.

When you hide the toolbar or when you switch to fullscreen, the combo
box still appears.

>Abdel.

Vincent



[Fwd: Re: \...@ifundefined{showcaptionsetup}{}{%.............inserted automatically by Lyx]

2009-09-03 Thread Tariq Abdullah

Hi all,

Can some help me in solving a Lyx problem described in the forwarded email?

Regards,
Tariq Abdullah


--- Begin Message ---

Hi Vincent,

\...@ifundefined{showcaptionsetup}{}{%
\PassOptionsToPackage{caption=false}{subfig}}
\usepackage{subfig}
\makeatother
\usepackage{babel}

I get the following 4 errors due to above Lyx inserted code into my tex 
file:


Error-1:
you can't use \spacefactor in vertical mode
Error-1 Description:
\@

ifundefined{showcaptionsetup}{}{%

Sorry, but I'm not programmed to handle this case;

I'll just pretend that you didn't ask for it.

If you're in the wrong mode, you might be able to

return to the right one by typing `I}' or `I$' or `I\par'.


Error-2:
Missing $ inserted
Error-2 Description:
\@

ifundefined{showcaptionsetup}{}{%

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

you left one out. Proceed, with fingers crossed.


Error-3:
Latex error: Missing \begin{document}.

Error-3 Description:
\@

ifundefined{showcaptionsetup}{}{%

You're in trouble here. Try typing  to proceed.

If that doesn't work, type X  to quit.


Error-4:
Missing $ inserted
Error-4 Description:

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

you left one out. Proceed, with fingers crossed.


When I comment the tex code, as shown in the following lines, in WinEdt, 
my file is compiled and I obtain the correct PDF file


%...@ifundefined{showcaptionsetup}{}{%
% \PassOptionsToPackage{caption=false}{subfig}}
\usepackage{subfig}
%\makeatother
\usepackage{babel}

Regards,
Tariq Abdullah



Vincent van Ravesteijn - TNW wrote:

Lyx inserts the following tex code when using the subfig package.
The code prompts Lyx to generate an error and I can't create the 
DVI-->PDF file from Lyx.



\...@ifundefined{showcaptionsetup}{}{%

\PassOptionsToPackage{caption=false}{subfig}}

\usepackage{subfig}

\makeatother

\usepackage{babel}


Does anybody know how to solve this error OR how to
restrict Lyx to not insert this piece of tex code?




This line is added to guard against a user that has manually included
the caption package in the preamble.

What's the error then ? It shouldn't give an error.

Vincent



--- End Message ---


RE: [Fwd: Re: \...@ifundefined{showcaptionsetup}{}{%.............inserted automatically by Lyx]

2009-09-03 Thread Vincent van Ravesteijn - TNW
 
>Can some help me in solving a Lyx problem described
>in the forwarded email?

It seems you're missing a \makeatletter before this piece of code. Did
you add this yourself in the preamble ?

>Regards,
>Tariq Abdullah

Vincent




Re: [Fwd: Re: \...@ifundefined{showcaptionsetup}{}{%.............inserted automatically by Lyx]

2009-09-03 Thread Tariq Abdullah

Hi Vincent,

As I explained in my previous email, that this piece of code is inserted 
by Lyx itself.
I tried adding \makeletter before this piece of code, the problem 
remains the smae.

Is there a way to restrict Lyx from inserting this piece of code?

Regards,
Tariq Abdullah

P.S: I copied the automatically inserted code and the Lyx errors at the 
bottom of this email.



Vincent van Ravesteijn - TNW wrote:
 
  

Can some help me in solving a Lyx problem described
in the forwarded email?



It seems you're missing a \makeatletter before this piece of code. Did
you add this yourself in the preamble ?

  

Regards,
Tariq Abdullah



Vincent


  


\...@ifundefined{showcaptionsetup}{}{%

\PassOptionsToPackage{caption=false}{subfig}}

\usepackage{subfig}

\makeatother

\usepackage{babel}



I get the following 4 errors due to above Lyx inserted code into my tex 
file:




Error-1:

you can't use \spacefactor in vertical mode

Error-1 Description:

\@



ifundefined{showcaptionsetup}{}{%



Sorry, but I'm not programmed to handle this case;



I'll just pretend that you didn't ask for it.



If you're in the wrong mode, you might be able to



return to the right one by typing `I}' or `I$' or `I\par'.





Error-2:

Missing $ inserted

Error-2 Description:

\@



ifundefined{showcaptionsetup}{}{%



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



you left one out. Proceed, with fingers crossed.





Error-3:

Latex error: Missing \begin{document}.



Error-3 Description:

\@



ifundefined{showcaptionsetup}{}{%



You're in trouble here. Try typing  to proceed.



If that doesn't work, type X  to quit.





Error-4:

Missing $ inserted

Error-4 Description:



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



you left one out. Proceed, with fingers crossed.





When I comment the tex code, as shown in the following lines, in WinEdt, 
my file is compiled and I obtain the correct PDF file




%...@ifundefined{showcaptionsetup}{}{%

% \PassOptionsToPackage{caption=false}{subfig}}

\usepackage{subfig}

%\makeatother

\usepackage{babel}



Regards,

Tariq Abdullah







RE: [Fwd: Re: \...@ifundefined{showcaptionsetup}{}{%.............inserted automatically by Lyx]

2009-09-03 Thread Vincent van Ravesteijn - TNW
>As I explained in my previous email, that this piece
>of code is inserted by Lyx itself. I tried adding
>\makeletter before this piece of code, the problem
>remains the smae. Is there a way to restrict Lyx from
>inserting this piece of code?

No, there isn't. 

Can you send the whole LaTeX code of a minimal example ?

Vincent


LyX 1.6.3 + Mac OS 10.6 + Revision Control

2009-09-03 Thread Alessio Maria Braccini

Hi to all,
I did upgrade to Mac OS X Snow Leopard (10.6) yesterday night, and  
today, when I started to work again with LyX, I found myself in  
troubles. I am using revision control with my document and I wanted to  
check the document out to continue working on it. But when I do so, I  
get the wollowing error:


There was an error executing the command:
'co -q -l 'xx''.

No commands from the control revision seems to work. If I want to see  
the log of all the modifications I get a similar error (of course with  
a different text, but it is always linked to a failure in command  
execution) and after that an empty revision control register.


I have looked the console up and it says that the "co" command has not  
been found. Do you know whether I need to reinstall it? If so, how?


Thank you very much.
Alessio

PS: of course everything was working fine before the upgrade to Snow  
Leopard






Re: LyX 1.6.3 + Mac OS 10.6 + Revision Control [solved]

2009-09-03 Thread Alessio Maria Braccini

Sorry, I have solved it.
If anyone else has this problem I write down what I've done to solve it.

I have realized that both rlog and co are outside the $PATH and are  
put into /Developer/usr/bin/rlog. So, to fix it I've just run these  
commands:


> cd /usr/local/bin
> sudo ln -s /Developer/usr/bin/co
> sudo ln -s /Developer/usr/bin/rlog

After that LyX revision control started to work as usual.
Thanks anyhow.
Alessio

Il giorno 03/set/2009, alle ore 15.06, Alessio Maria Braccini ha  
scritto:



Hi to all,
I did upgrade to Mac OS X Snow Leopard (10.6) yesterday night, and  
today, when I started to work again with LyX, I found myself in  
troubles. I am using revision control with my document and I wanted  
to check the document out to continue working on it. But when I do  
so, I get the wollowing error:


There was an error executing the command:
'co -q -l 'xx''.

No commands from the control revision seems to work. If I want to  
see the log of all the modifications I get a similar error (of  
course with a different text, but it is always linked to a failure  
in command execution) and after that an empty revision control  
register.


I have looked the console up and it says that the "co" command has  
not been found. Do you know whether I need to reinstall it? If so,  
how?


Thank you very much.
Alessio

PS: of course everything was working fine before the upgrade to Snow  
Leopard






CeRSI - Centro di Ricerche sui Sistemi Informativi - LUISS "Guido Carli"
Via G. Alberoni, 7 00198 Roma
TEL.: +39-06-85225760
Mobile: +39 338 4614502
abracc...@luiss.it
http://www.cersi.it/abraccini





Re: LyX 1.6.3 + Mac OS 10.6 + Revision Control [solved]

2009-09-03 Thread Julio Rojas
Alessio, one question, how is Lyx 1.6.3 working with Snow Leopard? Do
you have the problem that was reported here, about OS X periodically
reporting Lyx has crashed, when it's not true?
-
Julio Rojas
jcredbe...@gmail.com



On Thu, Sep 3, 2009 at 3:17 PM, Alessio Maria
Braccini wrote:
> Sorry, I have solved it.
> If anyone else has this problem I write down what I've done to solve it.
>
> I have realized that both rlog and co are outside the $PATH and are put into
> /Developer/usr/bin/rlog. So, to fix it I've just run these commands:
>
>> cd /usr/local/bin
>> sudo ln -s /Developer/usr/bin/co
>> sudo ln -s /Developer/usr/bin/rlog
>
> After that LyX revision control started to work as usual.
> Thanks anyhow.
> Alessio
>
> Il giorno 03/set/2009, alle ore 15.06, Alessio Maria Braccini ha scritto:
>
>> Hi to all,
>> I did upgrade to Mac OS X Snow Leopard (10.6) yesterday night, and today,
>> when I started to work again with LyX, I found myself in troubles. I am
>> using revision control with my document and I wanted to check the document
>> out to continue working on it. But when I do so, I get the wollowing error:
>>
>> There was an error executing the command:
>> 'co -q -l 'xx''.
>>
>> No commands from the control revision seems to work. If I want to see the
>> log of all the modifications I get a similar error (of course with a
>> different text, but it is always linked to a failure in command execution)
>> and after that an empty revision control register.
>>
>> I have looked the console up and it says that the "co" command has not
>> been found. Do you know whether I need to reinstall it? If so, how?
>>
>> Thank you very much.
>> Alessio
>>
>> PS: of course everything was working fine before the upgrade to Snow
>> Leopard
>>
>>
>>
>
> CeRSI - Centro di Ricerche sui Sistemi Informativi - LUISS "Guido Carli"
> Via G. Alberoni, 7 00198 Roma
> TEL.: +39-06-85225760
> Mobile: +39 338 4614502
> abracc...@luiss.it
> http://www.cersi.it/abraccini
>
>
>
>


Re: Will Lyx run on Mac OS X 10.6?

2009-09-03 Thread Johannes Knaus
I have 1.6.3 and Snow Leopard on my Mac. Unfortunately the same  
problems appear as reported for 1.6.4.


Johannes

Am 03.09.2009 um 16:15 schrieb Julio Rojas:


Is this problem specifically linked to 1.6.4? Or will 1.6.3 present
it? I have Snow Leopard in my hand and 1.6.3 installed on my wife's
computer. Haven't installed the OS waiting for this problem to solve.
-
Julio Rojas
jcredbe...@gmail.com



On Sun, Aug 30, 2009 at 2:16 AM, William Bray wrote:
I am currently testing Lyx 1.6.4 under Snow Leopard, the official  
release.
(I got the binary from the Lyx server before it was taken off; it  
does have
the problem that Preferences is grayed out as a menu choice, but  
can be
opened using keys CMD + , . I have not noticed any other problems  
with Lyx

1.6.4?)
I created a generic Lyx file, typed a bunch of stuff and let it  
sit. After
about 5 minutes, a pop up window appeared reporting that Lyx  
crashed. My
console report looks alot like the one in the bug report (link  
below).
However, Lyx did not actually crash. After choosing Ignore, Lyx was  
still

running and I could continue to type, save, edit, etc, the file.
The crash reoccurs about every 5 minutes, which does correspond to  
the

autosave time set in preferences.
I turned off autosave and Lyx has not sent up another crash pop up  
as yet

(we are about 15 minutes in at this point.

This is just a follow up to the question of Knaus. I am going to  
continue to

use Lyx under Snow Leopard and see where it takes me.

Bill

On Aug 27, 2009, at 8:30 AM, Vincent van Ravesteijn - TNW wrote:


Hello,

I ordered the new Mac OS Snowleopard this week and I wonder
if any of the Lyx-(Mac)-Developers has already tested Lyx
under a Developer- Version of Snowleopard?

Will the Lyx-Binary run on Snowleopard?
Anyway, I'll test it and post it here.

Johannes.



We are a bit short on Mac developers, so I doubt that you'll get an
authorative answer.

But, the good news is that I've heard of someone running LyX on
Snowleopard, the bad news is that I heard this by means of a bug  
report:


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

So, it'll be interesting whether this crash actually has to do  
something

with Snowleopard or not.

Vincent





--

Sometimes I lie awake at night, and ask, "Where have I gone wrong?"
Then a voice says to me, "This is going to take more than one  
night." (Charlie Brown)





Re: Will Lyx run on Mac OS X 10.6?

2009-09-03 Thread Julio Rojas
Is this problem specifically linked to 1.6.4? Or will 1.6.3 present
it? I have Snow Leopard in my hand and 1.6.3 installed on my wife's
computer. Haven't installed the OS waiting for this problem to solve.
-
Julio Rojas
jcredbe...@gmail.com



On Sun, Aug 30, 2009 at 2:16 AM, William Bray wrote:
> I am currently testing Lyx 1.6.4 under Snow Leopard, the official release.
> (I got the binary from the Lyx server before it was taken off; it does have
> the problem that Preferences is grayed out as a menu choice, but can be
> opened using keys CMD + , . I have not noticed any other problems with Lyx
> 1.6.4?)
> I created a generic Lyx file, typed a bunch of stuff and let it sit. After
> about 5 minutes, a pop up window appeared reporting that Lyx crashed. My
> console report looks alot like the one in the bug report (link below).
> However, Lyx did not actually crash. After choosing Ignore, Lyx was still
> running and I could continue to type, save, edit, etc, the file.
> The crash reoccurs about every 5 minutes, which does correspond to the
> autosave time set in preferences.
> I turned off autosave and Lyx has not sent up another crash pop up as yet
> (we are about 15 minutes in at this point.
>
> This is just a follow up to the question of Knaus. I am going to continue to
> use Lyx under Snow Leopard and see where it takes me.
>
> Bill
>
> On Aug 27, 2009, at 8:30 AM, Vincent van Ravesteijn - TNW wrote:
>
>>> Hello,
>>>
>>> I ordered the new Mac OS Snowleopard this week and I wonder
>>> if any of the Lyx-(Mac)-Developers has already tested Lyx
>>> under a Developer- Version of Snowleopard?
>>>
>>> Will the Lyx-Binary run on Snowleopard?
>>> Anyway, I'll test it and post it here.
>>>
>>> Johannes.
>>>
>>
>> We are a bit short on Mac developers, so I doubt that you'll get an
>> authorative answer.
>>
>> But, the good news is that I've heard of someone running LyX on
>> Snowleopard, the bad news is that I heard this by means of a bug report:
>>
>> http://www.lyx.org/trac/ticket/6168.
>>
>> So, it'll be interesting whether this crash actually has to do something
>> with Snowleopard or not.
>>
>> Vincent
>
>


Re: Will Lyx run on Mac OS X 10.6?

2009-09-03 Thread Johannes Knaus

Now I found time to install Snow Leopard on my Mac.
I can confirm the behaviour reported here:

Lyx (1.6.3) starts up and as long as I just watch my document it keeps  
running without any errors.
When I type something and wait for the autosave to come into action, a  
pop up window appears with an error message that LyX crashed.
However if I simply click on ignore, I can work with my LyX document,  
as LyX itself still is running. So it might only be some subprocess  
which is crashed.
I can save changes via the save button. Although after pressing the  
button the pop up telling my that LyX crashed appears again.
When I insert a table, the mentioned popup window appears, too. So it  
seems that as soon as you start something which calls up a new menubar  
this process crashes, too.


All these crashes seem to have to with the fork() without exit() thing  
reported on trac, see the crashlog-excerpts below.


So is it useful if I try to compile Lyx on my own on 10.6? Or would  
this end up in the same crashing behaviour?
There are some changes/workarounds to do in the source code first,  
right?


Johannes

1)

Process: lyx [850]
Path:/Applications/LyX.app/Contents/MacOS/lyx
Identifier:  lyx
Version: ??? (???)
Code Type:   X86 (Native)
Parent Process:  lyx [800]

Date/Time:   2009-08-31 23:28:16.111 +0200
OS Version:  Mac OS X 10.6 (10A432)
Report Version:  6

Interval Since Last Report:  2022 sec
Crashes Since Last Report:   2
Per-App Crashes Since Last Report:   2
Anonymous UUID:  D124E21E- 
F546-47A6-9182-5346BDAEE239


Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x, 0x
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Application Specific Information:
USING_FORK_WITHOUT_EXEC_IS_NOT_SUPPORTED_BY_FILE_MANAGER
abort() called

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib   0x92a14972 __kill + 10
1   libSystem.B.dylib   0x92a14964 kill$UNIX2003 + 32
2   libSystem.B.dylib   0x92aa7ba5 raise + 26
3   libSystem.B.dylib   0x92abdc5c abort + 93
…


2)

Process: lyx [904]
Path:/Applications/LyX.app/Contents/MacOS/lyx
Identifier:  lyx
Version: ??? (???)
Code Type:   X86 (Native)
Parent Process:  lyx [800]

Date/Time:   2009-08-31 23:52:05.910 +0200
OS Version:  Mac OS X 10.6 (10A432)
Report Version:  6

Interval Since Last Report:  1329 sec
Crashes Since Last Report:   1
Per-App Crashes Since Last Report:   1
Anonymous UUID:  D124E21E- 
F546-47A6-9182-5346BDAEE239


Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x, 0x
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Application Specific Information:
USING_FORK_WITHOUT_EXEC_IS_NOT_SUPPORTED_BY_FILE_MANAGER
abort() called

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib   0x92a14972 __kill + 10
1   libSystem.B.dylib   0x92a14964 kill$UNIX2003 + 32
2   libSystem.B.dylib   0x92aa7ba5 raise + 26
3   libSystem.B.dylib   0x92abdc5c abort + 93
…

Re: Multiple Bib - Koma

2009-09-03 Thread Yannick Wurm

Hello Pierfranco,
thank you very much for the rapid and exhaustive reply!

After setting things up the way you outlined, I could only get  
your .tex document to create the references correctly if I replaced  
the "refsegment" with "refsection" as is it found in the "10- 
references-per-section.tex" file.


Bringing things into lyx worked as planned which is a very pleasant  
surprise.
I haven't yet tried combining it all into my thesis chapters (which  
are separate documents), but will look into that after a good cup of  
coffee.


Thanks again and kind regards,

Yannick


On 2 Sep 2009, at 18:39, Pierfranco Minsenti wrote:


Hi Yannick,

I have very recently tested a solution to your problem using the  
biblatex package. Even if biblatex is still beta I can assure you  
that it is a very effective and easy solution, very flexible and  
adaptable to different needs. Read the instruction on the LyX wiki  
dedicated to the use of biblatex at http://wiki.lyx.org/BibTeX/Biblatex 
.
It is indispensable in your case to install the biblatex package  
downloadable from http://www.ctan.org/tex-archive/help/Catalogue/entries/biblatex.html 
. Also you will have to install the Perl script bibtexall into an  
executable path so that LyX will be able to compile all the files  
produced.
Herewith enclosed I add  an exemple I have developed modifying an  
original file found in the exemples directory of the biblatex  
package downloaded from http://www.ctan.org/tex-archive/help/Catalogue/entries/biblatex.html
The code is pure LateX but it has also been tested with LyX and the  
KOMAscript report class, so it perflectly works. You just need to  
import this file in LyX and make adjustements following the specific  
instructions at http://wiki.lyx.org/BibTeX/Biblatex for using  
biblatex with LyX.
I can also add that I haven't still used in conjunction with the LyX  
port of the ClassicThesis style which I am also using, but I plan to  
do it very soon and I think I will only have to modify the original  
files related to the LyX port of the ClassicThesis style by  
commenting out fthe packages and options related to:

1) natbib

2) backref package (you will use the specific functions provided by  
biblatex)


besides it is absolutely important to put the biblatex package  
before the hyperref package.


Herewith you can see the exemple I have obtained using pure LaTex  
code for producing lists of references printed at the end of each  
chapter. Obviously this example can only work in conjunction with  
the examples.bib file put in the exemples directory of the biblatex  
package.


\documentclass[english,a4paper,twoside]{scrreprt}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\usepackage{babel}
%
\usepackage[babel]{csquotes}

\usepackage[style=authoryear,
natbib=true,
hyperref=auto,
backref=true,
date=long,
urldate=long,
block=space,
]{biblatex}
%
%HYPERREF
\usepackage 
[pdftex 
,a4paper 
,plainpages 
= 
false 
,pdfpagelabels 
,bookmarks 
= 
true 
,colorlinks 
,breaklinks 
,bookmarks 
=true,bookmarksopen=true,bookmarksnumbered=true,pageanchor=true,

hyperfootnotes=false,
pdfstartview=FitV]
{hyperref}
%
%HYPERSETUP
\hypersetup{colorlinks=true,linkcolor=red,citecolor=red,urlcolor=blue}
%
\bibliography{examples}
%
\defbibheading{references}{\section*{References}} % heading for the  
various References sections put in each chapter

%
%
% added more vertical space among records because default space in  
authorcite style is =0

%
\makeatletter

\AtEveryBibitem{%
\iffieldequals{namehash}{\...@prevhash}
{}
{\addvspace{0.8\baselineskip}}% 0.8\baselineskip o altra misura
\savefield{namehash}{\...@prevhash}}

\AtBeginBibliography{%
\let\...@prevhash\undefined}

\makeatother
%
\title{My Dissertation}
\author{Firstname Lastname}
\date{}
%
%__
\begin{document}

\maketitle

\tableofcontents


\chapter{Title of first chapter}

\begin{refsegment}

This is just filler text \parencite{massa}.
This is just filler text \parencite{augustine}. This is just filler
text \parencite{cotton}. This is just filler text \parencite{hammond}.
%
\printbibliography[heading=references]
\end{refsegment}

\chapter{Title of second chapter}

\begin{refsegment}

This is just filler text \parencite{hammond}. This is just filler
text \parencite{massa}. This is just filler text \parencite{cotton}.
This is just filler text \parencite{murray}.
%
\printbibliography[heading=references]
\end{refsegment}

\chapter{Title of third chapter}

\begin{refsegment}

This is just filler text \parencite{murray}. This is just filler
text \parencite{augustine}. This is just filler text  
\parencite{cotton}.

This is just filler text \parencite{bertram}.
%
\printbibliography[heading=references]
\end{refsegment}
%
%__
\end{document}

Best wishes

Pierfranco


2009/9/2 Yannick Wurm 

Re: Will Lyx run on Mac OS X 10.6?

2009-09-03 Thread Manveru
2009/9/3 Johannes Knaus :
[...]
> Application Specific Information:
> USING_FORK_WITHOUT_EXEC_IS_NOT_SUPPORTED_BY_FILE_MANAGER
> abort() called
[...]
> Exception Type:  EXC_CRASH (SIGABRT)
> Exception Codes: 0x, 0x
> Crashed Thread:  0  Dispatch queue: com.apple.main-thread
>
> Application Specific Information:
> USING_FORK_WITHOUT_EXEC_IS_NOT_SUPPORTED_BY_FILE_MANAGER
> abort() called
[...]

For me it seems Apple has changed a security policy about calling
fork(). I cant find any article about that on Google yet.

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


RE: Will Lyx run on Mac OS X 10.6?

2009-09-03 Thread Vincent van Ravesteijn - TNW
> So is it useful if I try to compile Lyx on my own on
> 10.6? Or would this end up in the same crashing behaviour?

I think it is useful, but I think you'll see the same crashing
behaviour.

>
>There are some changes/workarounds to do in the source
>code first, right?
>

The first thing you might try is to adapt the following code:

194--...@forkedcalls.cpp:

pid_t ForkedProcess::fork() {
#if !defined (HAVE_FORK)
return -1;
#else
pid_t pid = ::fork();
if (pid == 0)
IAmAChild = true;
return pid;
#endif
}


If you undefine HAVE_FORK (or just always return -1), you can see
whether (all) crashes disappear. If so, we have at least a workaround. 

Everything should still work, but you might be interrupted in your
typing when LyX saves the autosave file using the same thread.

Vincent


Classic Thesis and LyX

2009-09-03 Thread Manolo Martí­nez

Hello,

I'm trying to get Nick Mariette's port of André Miede's Classic Thesis 
style for LyX to work. I'm talking about this: 
http://www.soundsorange.net/resources/classic-thesis-for-lyx/ in case 
you are not familiar with it.


I'm getting several "Math formula deleted: Insufficient symbol fonts." 
errors every time I try to run pdflatex. The description of the error is:


"Sorry, but I can't typeset math unless \textfont 2

and \scriptfont 2 and \scriptscriptfont 2 have all

the \fontdimen values needed in math symbol fonts."


I get this error with as simple a file as the one I am attaching 
(test.lyx), using report (KOMA-Script) as class, and adding in the 
preamble:  \usepackage{preamble}


I also attach Mariette's preamble.sty, so that you can easily replicate 
the problem.



After some googling I've come to think that this has to do with my 
having some fonts installed which supersede the order to escale some 
other fonts. But beyond that, I do not really know where to look.



I hope you can help me with this. Thanks,
Manolo




test.lyx
Description: application/lyx
% **
%  A LyX port of:
%  "A Classic Thesis Style" by André Miede
%  LyX port by: Nick Mariette. March, 2009.
%  http://soundsorange.net/resources/classic-thesis-for-lyx/
%
%  Nick Mariette: If you appreciate my LyX port of André Miede's style
%  please visit my homepage and consider making a donation.
%  Also, please consider sending a postcard to André who wrote the original LaTeX (see details below)
% 
%  Note: nm_classicthesis.sty is adapted from classicthesis.sty version 2.5 by André Miede
%  [2008/10/01 v2.5 Typographic Style for a classic-looking thesis]
%
%  All modifications are in the new preamble.sty, the nm_classicthesis.sty, and the .lyx files.
%
% **
%
% A Classic Thesis Style 
% An Homage to The Elements of Typographic Style
% 
% Copyright (C) 2008 André Miede http://www.miede.de
%
% If you like the style then I would appreciate a postcard. My address 
% can be found in the file ClassicThesis.pdf. A collection of the 
% postcards I received so far is available online at 
% http://postcards.miede.de
%
%
% License:
% This program is free software; you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation; either version 2 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with this program; see the file COPYING.  If not, write to
% the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
% Boston, MA 02111-1307, USA.
%
% **
% Note:
%* You must not use "u etc. in strings/commands that will be spaced out (use \"u or real umlauts instead)
%* Chapters must be marked with the \myChapter{Foo} command (sorry for the inconvenience at this point)
%* New enumeration (small caps): \begin{aenumerate} \end{aenumerate}
%* For margin notes: \graffito{}
%* Do not use bold fonts in this style, it is designed around them
%* Use tables as in the examples
%* See classicthesis-ldpkg.sty for useful commands
% **
% To Do:
%* support a List of Listings that looks like the other lists
%* mathbb in section-titles/chapter-titles => disappears somehow in headlines!!!
%* think about processing a4paper, a5paper, 10pt, 11pt, 12pt etc. options for typearea layout
%  (store values in internal variables and handle by \AtEndOfPackage{\areaset...})
% **

% 
% KOMA-Script setup http://www.komascript.de/betaKOMAoptions
% 
%\KOMAoptions{%
%paper=a4,%
%fontsize=10pt,%
%cleardoublepage=empty,%
%footinclude=true,%
%%abstract=false%
%}
% 
% Development Stuff
% 
\listfiles
%\usepackage[l2tabu, orthodox, abort]{nag}
%\usepackage[warning, all]{onlyamsmath}
% 
% Re-usable information
% 

Re: Multiple Bib - Koma

2009-09-03 Thread Yannick Wurm

H,
so getting things working with ClassicThesis is harder than I thought.

I've resolved most of the conflicts between the classicthesis.sty,  
preamble.sty and the preable that you gave in your example. (like you  
said, those were related to natbib, hyperref, backref). So I feel I'm  
90% there! However, as soon as I add the code below to my  
ClassicThesis.lyx preamble, things fail.


But I cannot make sense of the errors, nor locate where they are  
coming from (is there any way to get more verbose error messages from  
lyx?). What follows is the first error out of many:

Error: "You can't use '\spacefactor' in vertical mode."
Description: " \@
ifundefined{showcaptionsetup}{}{%
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.
"

Do you have any ideas where I should look?

Thanks!!
yannick



%  responsible for converting the citekeys to pretty citations
\makeatletter
\AtEveryBibitem{%
\iffieldequals{namehash}{\...@prevhash}
{}
{\addvspace{0.8\baselineskip}}% 0.8\baselineskip o altra misura
\savefield{namehash}{\...@prevhash}}
\AtBeginBibliography{%
\let\...@prevhash\undefined}
\makeatother

On 3 Sep 2009, at 16:18, Yannick Wurm wrote:


Hello Pierfranco,
thank you very much for the rapid and exhaustive reply!

After setting things up the way you outlined, I could only get  
your .tex document to create the references correctly if I replaced  
the "refsegment" with "refsection" as is it found in the "10- 
references-per-section.tex" file.


Bringing things into lyx worked as planned which is a very pleasant  
surprise.
I haven't yet tried combining it all into my thesis chapters (which  
are separate documents), but will look into that after a good cup of  
coffee.


Thanks again and kind regards,

Yannick


On 2 Sep 2009, at 18:39, Pierfranco Minsenti wrote:


Hi Yannick,

I have very recently tested a solution to your problem using the  
biblatex package. Even if biblatex is still beta I can assure you  
that it is a very effective and easy solution, very flexible and  
adaptable to different needs. Read the instruction on the LyX wiki  
dedicated to the use of biblatex at http://wiki.lyx.org/BibTeX/Biblatex 
.
It is indispensable in your case to install the biblatex package  
downloadable from http://www.ctan.org/tex-archive/help/Catalogue/entries/biblatex.html 
. Also you will have to install the Perl script bibtexall into an  
executable path so that LyX will be able to compile all the files  
produced.
Herewith enclosed I add  an exemple I have developed modifying an  
original file found in the exemples directory of the biblatex  
package downloaded from http://www.ctan.org/tex-archive/help/Catalogue/entries/biblatex.html
The code is pure LateX but it has also been tested with LyX and the  
KOMAscript report class, so it perflectly works. You just need to  
import this file in LyX and make adjustements following the  
specific instructions at http://wiki.lyx.org/BibTeX/Biblatex for  
using biblatex with LyX.
I can also add that I haven't still used in conjunction with the  
LyX port of the ClassicThesis style which I am also using, but I  
plan to do it very soon and I think I will only have to modify the  
original files related to the LyX port of the ClassicThesis style  
by commenting out fthe packages and options related to:

1) natbib

2) backref package (you will use the specific functions provided by  
biblatex)


besides it is absolutely important to put the biblatex package  
before the hyperref package.


Herewith you can see the exemple I have obtained using pure LaTex  
code for producing lists of references printed at the end of each  
chapter. Obviously this example can only work in conjunction with  
the examples.bib file put in the exemples directory of the biblatex  
package.


\documentclass[english,a4paper,twoside]{scrreprt}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\usepackage{babel}
%
\usepackage[babel]{csquotes}

\usepackage[style=authoryear,
   natbib=true,
   hyperref=auto,
   backref=true,
   date=long,
   urldate=long,
   block=space,
]{biblatex}
%
%HYPERREF
\usepackage 
[pdftex 
,a4paper 
,plainpages 
= 
false 
,pdfpagelabels 
,bookmarks 
= 
true 
,colorlinks 
,breaklinks 
,bookmarks 
=true,bookmarksopen=true,bookmarksnumbered=true,pageanchor=true,

hyperfootnotes=false,
pdfstartview=FitV]
{hyperref}
%
%HYPERSETUP
\hypersetup 
{colorlinks=true,linkcolor=red,citecolor=red,urlcolor=blue}

%
\bibliography{examples}
%
\defbibheading{references}{\section*{References}} % heading for the  
various References sections put in each chapter

%
%
% added more vertical space among records because default space in  
authorcite style is =0

%
\makeatletter

\AtEveryBibitem{%
\iffieldequals{namehash}{\...@prevhash}
{}

Re: [Lyx] explicit mail subject

2009-09-03 Thread Andre Poenitz
On Wed, Sep 02, 2009 at 04:13:14PM +0200, Manveru wrote:
> 2009/9/2 Murray Eisenberg :
> > I agree with the O.P. on this. This is something that, surely, is easily
> > fixed at the server end, so that each message going out from the server has,
> > say, "[LyX]" prepended to the subject.
> 
> There is many voices in favour of such feature. But not a lot of
> people vote against.

I my case mainly because I don't want to waste time to re-iterate
old discussions, twice a year...

I have 42 characters for the subject, given that most messages are
marked with (at least one) 'Re: ', a '[LyX] ' prefix eats 15% of
the available space, for useless 'information'.

Andre'


Re: LyX 1.6.3 + Mac OS 10.6 + Revision Control [solved]

2009-09-03 Thread Anders Host-Madsen
Yes, I'm also curious about the experiences with Snow Leopard. 
I want to upgrade, but as LyX has become 
the main program I use (yes, it's that great), 
I won't upgrade until I'm sure LyX works fairly well.



LNCS page numbers

2009-09-03 Thread Niko Schwarz
Hi, how can I turn ON the page numbers using the LLNCS (lecture notes  
on computer science or something) layout?


thanks in advance,

niko


Re: LNCS page numbers

2009-09-03 Thread Julio Rojas
Isn't that an option for the editor of the volume? Normally the
authors don't use it. Anyway, maybe this would help:
http://stackoverflow.com/questions/1366833/page-numbers-in-llncs-style
-
Julio Rojas
jcredbe...@gmail.com



On Thu, Sep 3, 2009 at 9:24 PM, Niko Schwarz wrote:
> Hi, how can I turn ON the page numbers using the LLNCS (lecture notes on
> computer science or something) layout?
>
> thanks in advance,
>
> niko
>


Re: [Lyx] explicit mail subject

2009-09-03 Thread Jean-Marc Lasgouttes

Le 03/09/2009 19:46, Andre Poenitz a écrit :

I have 42 characters for the subject, given that most messages are
marked with (at least one) 'Re: ', a '[LyX] ' prefix eats 15% of
the available space, for useless 'information'.


Especially since we need [LyX Devel], [LyX Users], etc.

JMarc


Re: Bug in article (Springer svjour3/global) layout

2009-09-03 Thread Uwe Stöhr

Rainer M Krug schrieb:


There is a bug in the article (Springer svjour3/global) layout: it
uses the default option, which produces an error message. Changing (in
the layout file) "global" to "smallcondensed" (the default option),
fixes this.


Can you please pen a bug report:
http://www.lyx.org/trac/wiki/BugTrackerHome
I'm currently too busy to fix it right now. Having a bug report assures that it won't be forgotten 
and that every developer can fix this.


Besides this the layout is named "svglobal3.layout" so I think that the "global" was inserted 
purposely. Why do you think this is wrong? Is there anything in the svjour documentation?


thanks and regards
Uwe


Re: Classic Thesis and LyX

2009-09-03 Thread Uwe Stöhr

Manolo Martí­nez schrieb:

I'm trying to get Nick Mariette's port of André Miede's Classic Thesis 
style for LyX to work.


I don't have the time to investigate your problem in detail. But I can provide 
you a LyX thesis
template I created for my institute and that I'm using for my thesis.
You might give it a try. If so I'm interested to get some feedback.
You find it here:
http://fkurth.de/uwest/LyX/ThesisTemplate/

regards Uwe



breaking long url

2009-09-03 Thread Sharma, Vivek
I am using the memoir class, Lyx 1.6.4 and want to write the following:

Web sites: 

University Hospital Llandough, Cardiff:

\url{http://www.cardiffandvale.wales.nhs.uk/portal/page?_pageid=33,480404,33_480405&_dad=portal&_schema=PORTAL}

East Glamorgan General Hospital now known as to Royal Glamorgan Hospital, 
Cardiff

Ynys Maerdy, Pontyclun, Llantrisant, CF72 8XR

http://www.wales.nhs.uk/hospitals.cfm

Ysbyty Gwynedd Hospital, Bangor: 

http://www.northwestwales.org/WiSSCMS-en-308.aspx


___


I have the following in the preamble:

\usepackage{booktabs}
\usepackage{graphicx}
\usepackage{color}
%\usepackage[%
%colorlinks=true,linkcolor=black,citecolor=black,urlcolor=black,%
%pdfstartview=FitH,%
%bookmarksopen=true,bookmarksopenlevel=0,%
%plainpages=false,pdfpagelabels,%
%pagebackref=true,%
%pdftoolbar=false]{hyperref}
\usepackage{url}
%% Define a new 'leo' style for the package that will use a smaller font.
%\makeatletter
%\def\...@leostyle{%
  
\...@ifundefined{selectfont}%{\def\urlfont{\sf}}%{\def\urlfont{\small\ttfamily}}}
%\makeatother
%% Now actually use the newly defined style.
%\urlstyle{leo}
\usepackage{breakurl}


Problem despite trying the insert URL option in lyx or the above putting the 
url as ERT i have not been able to get it to break appropriately and the url 
goes beyond the text margins. I have  tried the suggestion to put it as 
\href{url}{...} as well

I would appreciate any help with this


Regards
Vivek