Re: Toolbar bug?

2008-11-25 Thread Jürgen Spitzmüller
Max Bian wrote:
 I am using LyX 1.6 on Windows Vista. If I have the three toolbar panels
 on three separate rows, it works fine. If I put two of them on one line,
 LyX will not be able to restore them correctly when I start it next
 time: the second one on the row will go all the way to the right and I
 cannot see any icons.

 Anyone else seeing this?

A bug in recente Qt versions. This is supposed to be fixed in forthcoming Qt 
4.4.4.

Jürgen


Re: Lyx and BibDesk connection

2008-11-25 Thread Konrad Hofbauer

Bennett Helm wrote:

The problem is that the SendToLyx script has not been updated for
LyX-1.6, and so it's not finding your .lyxpipe. I've send a note to
Mark Reid, author of the script, to see if he'll post an updated
version on his website.


But doesn't the latest Bibdesk have now its own and better Send To Lyx 
support, and no need for the Script anymore?


The Script would need updating also in the sense that it should use 
lyxclient (because now the script makes bibdesk freeze when the pipe is 
a stalled pipe).



/Konrad



Re: Subfig(ure) in class Memoir

2008-11-25 Thread Johan Tegin


24 nov 2008 kl. 17.05 skrev Jean-Marc Lasgouttes:

Johan Tegin [EMAIL PROTECTED] writes:

One of the suggested solution is using the subfig package instead.
However, LyX automatically adds \usepackage{subfig} to the latex
preamble when a subfigure caption is added to a figure via the GUI.
This result in the above error. Can adding subfigure be avoided?  
Can I

force LyX to use subfig instead? Or is there perhaps any other
solution to this dilemma without resorting to ERT?


LyX 1.6.0 has switched to using subfig instead of subfigure. Maybe an
incentive to upgrade ?

JMarc


Indeed. Thanks for the info. Unfortunately I cannot upgrade to qt4 for  
other reasons and there is yet no binary for debian. Will install  
first thing when available though.


24 nov 2008 kl. 16.36 skrev Les Denham:


Johan,

I ran into exactly this problem a few months ago when I decided to  
convert a
rather large document from book(KOMA-script) to memoir, to take  
advantage of

some of the neat features in memoir.

My solution (after trying various mechanisms to get subfigures to  
work) was to
replace the figures containing subfigures with a single figure  
float, putting
more than one image in one float.  The only disadvantage I found is  
the lack
of separate captions, which I overcame by using phrases such as on  
the left

in the single caption referring to multiple images.



Thanks for the advise, however it is the subfigure captions that I  
desire. I guess I should've made that point more clear.


/johan

Re: Subfig(ure) in class Memoir

2008-11-25 Thread Jean-Marc Lasgouttes
Indeed. Thanks for the info. Unfortunately I cannot upgrade to qt4  
for other reasons and there is yet no binary for debian. Will  
install first thing when available though.


If you run LyX 1.5.3, you already have qt4...

JMarc


Cross-reference after changing enumerate

2008-11-25 Thread Peter Smith
I have changed the numbering of the enumerate environment by inserting the
following into the LaTeX preamble:
\renewcommand{\labelenumi}{\Roman{enumi}.}

\renewcommand{\labelenumii}{\Alph{enumii}.}

\renewcommand{\labelenumiii}{\arabic{enumiii}.}

\renewcommand{\labelenumiv}{\alph{enumiv}.)}

(This is the example from the Additional Features Manual)

The enumerated list looks great, but when I want to cross-reference one of
the points, the label does not coincide with the new numbering scheme.  Can
anyone help me fix this?  I have attached an example LyX file and pdf
output.

I am using Lyx 1.6.0 on Windows XP, with MiKTeX 2.5.

Pete


Mail list example.lyx
Description: application/lyx


Mail list example.pdf
Description: Adobe PDF document


LyX 1.6.0 freezes

2008-11-25 Thread Pascal Francq
Hi,
I am using Lyx 1.6.0 with KUbuntu 8.10 (KDE 4.1.3) on a 64 bit architecture. 
When I am working, sometimes Lyx freezes, at least the GUI. I a send a TERM 
signal to the application, when I restart LyX it tries to recover the unsaved 
files which confirms that it is probably a GUI problem.
Anyone an idea ?
-- 

Prof. Pascal Francq
Université Libre de Bruxelles
Avenue F.D. Roosevelt 50, CP 165/14
B-1050 Brussels
BELGIUM



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


Re: Flex insets

2008-11-25 Thread Abdelrazak Younes

rgheck wrote:
You can define shortcuts for them if you like, or even arrange for it to 
be on your menu. What it would do is insert an InsetInfo object into 
your file, which is used e.g. to show which shortcut is associated with 
font-emph. InsetInfo isn't on the menu because it was never intended 
for ordinary users. I'm not sure why you'd want to use it, unless you're 
writing docs for LyX.


Well, the document type is quite useful to the end user. And I reckon 
that once we add some more features (date, etc), this inset could reveal 
very useful.


Abdel.



Equation array and two column layout

2008-11-25 Thread Julio Rojas
Dear all, I'm finishing a paper with the two columned article class. I
have a problem with some equation arrays that are two big for this
format. They span over the other column or over the margins, even with
an smaller font (\scriptstyle). What can I do to solve this problem?
Should I use an even smaller font (\scriptscriptstyle)? How can I
break the line in an equation array and put the right hand of the
array under the first part, but slightly to the right?

The kind of equation array I'm using is conditional:

d= a+b, if a1
 a-b, if a1
 0,if a=1

Hope you can help me.
-
Julio Rojas
[EMAIL PROTECTED]


Re: Springer Style in Lyx

2008-11-25 Thread Nicolás

The lecture notes style is given by the llncs.cls class. If that is the one you 
want to use, then LyX includes already a layout.
The svjour3.cls class is for journals. The layout that you created should work (if I am not wrong). Be sure that you reconfigure LyX to 
have the layout available.


Cheers,
Nicolás

bluegreengrassnow bluegreengrassnow wrote:

I'm trying to use lyx to write a document in springer lecture notes style. I 
created the following layout file, however it doesn't create output documents 
in the correct style:

#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[svjour3]{article (svjour3)}
# Input general definitions
Input stdclass.inc


The svglov3.clo and svjour3.cls files provided by springer are installed in 
tex\latex\sv-journ3.  Springer also provides a template latex file that renders 
correctly in TeXnicCenter but not in Lyx when imported.

Can someone help with this?



  




Re: Helper function/shortcut

2008-11-25 Thread rgheck

Frank Grimm wrote:

I tried the following command sequence

command-sequence font-ital; self-insert i.e.; font-ital

where I replaced font-emph in your suggestion with font-ital since I 
don't want the i.e. the be emphasized, but just in italic shape. But 
when I use the shortcut for this command LyX tells me that the command 
is disabled. Are there any restrictions for the font-ital command that 
the font-emph command doesn't have?


Apparently, yes. This seems like a bug. In fact, from what I can tell, 
font-ital never does anything in the current code.


I'll forward this to the devel list.

Any reason not to apply something like the attached? Or was the plan to 
get rid of font-ital?


rh

Index: Text3.cpp
===
--- Text3.cpp	(revision 27700)
+++ Text3.cpp	(working copy)
@@ -1582,6 +1582,13 @@
 		break;
 	}
 
+	case LFUN_FONT_ITAL: {
+		Font font(ignore_font, ignore_language);
+		font.fontInfo().setShape(ITALIC_SHAPE);
+		toggleAndShow(cur, this, font);
+		break;
+	}
+
 	case LFUN_FONT_BOLD:
 	case LFUN_FONT_BOLDSYMBOL: {
 		Font font(ignore_font, ignore_language);
@@ -2104,6 +2111,10 @@
 		flag.setOnOff(fontinfo.emph() == FONT_ON);
 		break;
 
+	case LFUN_FONT_ITAL:
+		flag.setOnOff(fontinfo.shape() == ITALIC_SHAPE);
+		break;
+
 	case LFUN_FONT_NOUN:
 		flag.setOnOff(fontinfo.noun() == FONT_ON);
 		break;


underlining in a matrix

2008-11-25 Thread Robert Neumann
Hello,
I'm looking vor a way to unterline one line of a matrix. 
I use the matrix for an equation and the last line should be underlined.
\underline works only for the single entries but not for the whole line
(Lyx 13.7 on SuSE Linux)
Thanks
Robert



Re: euro-symbol in math-mode

2008-11-25 Thread Robert Neumann
works with text in math... thanks



Re: Equation array and two column layout

2008-11-25 Thread Vittorio Zuccala'
Hello Julio,
i do not know if i've understood your question.
Anyway, probably you can be interested one of this...

First solution:
press CTRL+L entering in ERT mode and then:
\begin{eqnarray}
d = a + b, if a1 \nonumber \\
= a-b, if a1 \nonumber \\
=0, if a=1 \nonumber
\end{eqnarray}

Second solution (i think better for you):
press CTRL+L entering in ERT mode and then:
$$ d = \left\{
\begin{array}{rl}  a+b \mbox{ if a1} \\
a-b \mbox{ if a1} \\
0 \mbox{ if a=1} \\
\end{array}
\right. $$


I hope it'll be usefull for you.
Bye,
   Vittorio


On Tue, Nov 25, 2008 at 1:01 PM, Julio Rojas [EMAIL PROTECTED] wrote:

 Dear all, I'm finishing a paper with the two columned article class. I
 have a problem with some equation arrays that are two big for this
 format. They span over the other column or over the margins, even with
 an smaller font (\scriptstyle). What can I do to solve this problem?
 Should I use an even smaller font (\scriptscriptstyle)? How can I
 break the line in an equation array and put the right hand of the
 array under the first part, but slightly to the right?

 The kind of equation array I'm using is conditional:

 d= a+b, if a1
 a-b, if a1
 0,if a=1

 Hope you can help me.
 -
 Julio Rojas
 [EMAIL PROTECTED]




-- 
Vittorio Zuccalà


Re: Helper function/shortcut

2008-11-25 Thread Frank Grimm

On 25/11/2008 14:33, rgheck wrote:

Frank Grimm wrote:

I tried the following command sequence

command-sequence font-ital; self-insert i.e.; font-ital

where I replaced font-emph in your suggestion with font-ital since I 
don't want the i.e. the be emphasized, but just in italic shape. But 
when I use the shortcut for this command LyX tells me that the command 
is disabled. Are there any restrictions for the font-ital command that 
the font-emph command doesn't have?


Apparently, yes. This seems like a bug. In fact, from what I can tell, 
font-ital never does anything in the current code.


I'm using font-emph for now, as you suggested.

But I'm not sure whether font-ital and font-emph have the same meaning. 
It doesn't matter to me since both font styles result in the text being 
set in the same italic font when using pdflatex output, but maybe for 
other output formats different fonts are used.


Thanks again,
Frank


Re: The index numbers overlap with the titles

2008-11-25 Thread Laser Yuan
Hi,

As you know, book{ams} layout can automatically general Content, List of
Figure etc. But sometimes List of Figures has the index numbers overlap
on the titles of those figures. I exact one page pdf(below link) to show
this phenomenon. Can I fix it?
http://www.yousendit.com/download/TTZuRFFSZ1A5eFZFQlE9PQ

Thanks in advance


page numbering

2008-11-25 Thread chilly009

hey

Anyone have a command that gives the possibilty of numbering pages like   4
of 87 or 4/87??

kevin
-- 
View this message in context: 
http://n2.nabble.com/page-numbering-tp1576477p1576477.html
Sent from the LyX - Users mailing list archive at Nabble.com.



version control under osx, lyx 1.6.0 crashes

2008-11-25 Thread Niko Schwarz
Hello!
So, when I check in, lyx crashes (after checking in), on checkout, it
crashes, too.
I can send my file through PM; it is my unfinished thesis, so i'd like it to
be somewhat confidential.

Best regards,

niko


Re: Equation array and two column layout

2008-11-25 Thread Julio Rojas
Thank you Vittorio. What I would like with this matrix is that the
right column can overfill the left one and viceversa. That way I can
have the long equations and the cases in two lines (eq. on the left
column, cases on the right column) every other line.

d= a+b+c+d+e+f+g
if a,b,c,d,e,f,g 1
 a-b-c-d-e-f-g
if a,b,c,d,e,f,g1

With this arrangement I can include the equations in just one column
of the two column paper. Is this something usual to do? What is the
regular way of handling the case of a series of long equations in
two columned papers?

Thanks in advance.
-
Julio Rojas
[EMAIL PROTECTED]



On Tue, Nov 25, 2008 at 2:50 PM, Vittorio Zuccala'
[EMAIL PROTECTED] wrote:
 Hello Julio,
 i do not know if i've understood your question.
 Anyway, probably you can be interested one of this...

 First solution:
 press CTRL+L entering in ERT mode and then:
 \begin{eqnarray}
 d = a + b, if a1 \nonumber \\
 = a-b, if a1 \nonumber \\
 =0, if a=1 \nonumber
 \end{eqnarray}

 Second solution (i think better for you):
 press CTRL+L entering in ERT mode and then:
 $$ d = \left\{
 \begin{array}{rl}  a+b \mbox{ if a1} \\
 a-b \mbox{ if a1} \\
 0 \mbox{ if a=1} \\
 \end{array}
 \right. $$


 I hope it'll be usefull for you.
 Bye,
Vittorio


 On Tue, Nov 25, 2008 at 1:01 PM, Julio Rojas [EMAIL PROTECTED] wrote:

 Dear all, I'm finishing a paper with the two columned article class. I
 have a problem with some equation arrays that are two big for this
 format. They span over the other column or over the margins, even with
 an smaller font (\scriptstyle). What can I do to solve this problem?
 Should I use an even smaller font (\scriptscriptstyle)? How can I
 break the line in an equation array and put the right hand of the
 array under the first part, but slightly to the right?

 The kind of equation array I'm using is conditional:

 d= a+b, if a1
 a-b, if a1
 0,if a=1

 Hope you can help me.
 -
 Julio Rojas
 [EMAIL PROTECTED]



 --
 Vittorio Zuccalà



Re: version control under osx, lyx 1.6.0 crashes

2008-11-25 Thread Jürgen Spitzmüller
Niko Schwarz wrote:
 So, when I check in, lyx crashes (after checking in), on checkout, it
 crashes, too.
 I can send my file through PM; it is my unfinished thesis, so i'd like it
 to be somewhat confidential.

This is bug 5389:
http://bugzilla.lyx.org/show_bug.cgi?id=5389

We're working on it, but you're invited to provide further input.

Jürgen


Re: Equation array and two column layout

2008-11-25 Thread Julio Rojas
Thanks Vittorio, but this solution is not the one I'm looking for. I
would like the right column to be right aligned and the left column to
be left aligned. When I do that with your solution (changing the rl
to lr) this turns our to be the original matrix I started with. As I
said, I need the right column to overfill the left one in order to
make the equation fit inside one column of the document.

Anyways, thank you very much.
-
Julio Rojas
[EMAIL PROTECTED]



On Tue, Nov 25, 2008 at 4:48 PM, Vittorio Zuccala'
[EMAIL PROTECTED] wrote:
 If you have to go to another line, you may use \\ in ERT
 and you may use \: to have additional space.
 In this way un can use in ERT mode:

 $$ d = \left\{
 \begin{array}{rl}
 a+b+c+d+e+f+g \\ \: \mbox{ if a,b,c,d,e,f,g 1} \\
 a-b-c-d-e-f-g \\ \: \mbox{ if a,b,c,d,e,f,g1} \\
 0 \mbox{ if a=1} \\ \: \end{array}
 \right. $$

 I hope this will be usefull.
 Bye,
 Vittorio


 On Tue, Nov 25, 2008 at 4:18 PM, Julio Rojas [EMAIL PROTECTED] wrote:

 Thank you Vittorio. What I would like with this matrix is that the
 right column can overfill the left one and viceversa. That way I can
 have the long equations and the cases in two lines (eq. on the left
 column, cases on the right column) every other line.

 d= a+b+c+d+e+f+g
if a,b,c,d,e,f,g 1
 a-b-c-d-e-f-g
if a,b,c,d,e,f,g1

 With this arrangement I can include the equations in just one column
 of the two column paper. Is this something usual to do? What is the
 regular way of handling the case of a series of long equations in
 two columned papers?

 Thanks in advance.
 -
 Julio Rojas
 [EMAIL PROTECTED]



 On Tue, Nov 25, 2008 at 2:50 PM, Vittorio Zuccala'
 [EMAIL PROTECTED] wrote:
  Hello Julio,
  i do not know if i've understood your question.
  Anyway, probably you can be interested one of this...
 
  First solution:
  press CTRL+L entering in ERT mode and then:
  \begin{eqnarray}
  d = a + b, if a1 \nonumber \\
  = a-b, if a1 \nonumber \\
  =0, if a=1 \nonumber
  \end{eqnarray}
 
  Second solution (i think better for you):
  press CTRL+L entering in ERT mode and then:
  $$ d = \left\{
  \begin{array}{rl}  a+b \mbox{ if a1} \\
  a-b \mbox{ if a1} \\
  0 \mbox{ if a=1} \\
  \end{array}
  \right. $$
 
 
  I hope it'll be usefull for you.
  Bye,
 Vittorio
 
 
  On Tue, Nov 25, 2008 at 1:01 PM, Julio Rojas [EMAIL PROTECTED]
  wrote:
 
  Dear all, I'm finishing a paper with the two columned article class. I
  have a problem with some equation arrays that are two big for this
  format. They span over the other column or over the margins, even with
  an smaller font (\scriptstyle). What can I do to solve this problem?
  Should I use an even smaller font (\scriptscriptstyle)? How can I
  break the line in an equation array and put the right hand of the
  array under the first part, but slightly to the right?
 
  The kind of equation array I'm using is conditional:
 
  d= a+b, if a1
  a-b, if a1
  0,if a=1
 
  Hope you can help me.
  -
  Julio Rojas
  [EMAIL PROTECTED]
 
 
 
  --
  Vittorio Zuccalà
 



 --
 Vittorio Zuccalà



Re: PDF Update fails, LyX 1.5.7 (WinXP)

2008-11-25 Thread David Hewitt
 I upgraded to LyX 1.5.7 on WinXP with MikTeX 2.7 (updated). Everything
 is fine except that update PDF does not work. When I try to update an
 open PDF, which always worked fine before, I get an error from LaTeX:
 ---
 I can't write on file `test.pdf'
 ---

 The snippet of the Log file is here:

 LaTeX Info: Redefining \ref on input line 49.
 LaTeX Info: Redefining \pageref on input line 49.
 (test.out) (test.out
 ! I can't write on file `test.pdf'.
 Please type another file name for output
 ! Emergency stop.
 [EMAIL PROTECTED] ...utline goto name{#2}count#3{#4}

 l.1 \BOOKMARK [1][-]{section.1}{Introduction}{}

 Any help is appreciated. For the record, I updated MikTeX, refreshed
 it, and re-created the format files, and also ran Reconfigure in LyX.

 I suspect you're using Acrobat Reader, which locks the file while it's open.
 Check in the LyX bin directory and see if you have pdfview.exe installed.
 If yes, go to Tools - Preferences... - File formats, highlight in turn each
 PDF format you use, such as PDF (pdflatex), change the Viewer from 'auto'
 to 'pdfview' and click Modify and then Save. Then I think you'll need to 
 restart
 LyX (but not reconfigure).

As usual, Paul points the way to the promised land.

A couple things:

(1) I hope that the process of changing the formats in 1.6.0 is
changed so that you don't have to type, then click 'Modify', then
Save. This is not very intuitive. Why not click 'Modify', enter new
value, click 'OK'?

(2) I have always used Adobe Reader in many past versions and never
had this issue. AND, even with the format viewer changed to 'pdfview',
Adobe Reader is the viewer that is started, but DOES allow me to
update. Huh?? Basically everything just operates the way it used to,
so I presume that with the upgrade something changed the viewer from
'pdfview' to 'auto' for me, which then broke my ability to update the
PDF displayed in Adobe Reader. Overall, I am confused as to what
'pdfview' does, particularly because when I double-click the
pdfview.exe file from explorer I get an error that no PDF viewer is
installed, with a subsequent abort.

(3) For the record, you don't even have to restart (or reconfigure) to
make this work.

Thanks Paul!
- Dave


two bibtex runs necessary (biblatex)

2008-11-25 Thread Dominik Waßenhoven
Dear list,

I have a problem regarding the biblatex package, especially my package
which builds on top of biblatex.[1] Attached is a .lyx file which shows
the problem. If I run this with LyX 1.6.0, I get an incomplete entry,
because the @collection entry is cited by the @incollection internally
and to resolve that @collection entry, a second bibtex run would be
possible. However, LyX does not provide a second bibtex run, even though
biblatex states in the log file that a second bibtex run is needed:

,--[ from the logfile ]
¦ LaTeX Warning: There were undefined references.
¦ 
¦ Package biblatex Warning: Please (re)run BibTeX on the file(s):
¦ (biblatex)lyx-biblatex-xref.aux
¦ (biblatex)and rerun LaTeX afterwards.
`

If I alter the .lyx file (e.g. add a space) and compile once more,
everything is fine. But I hope there is a solution which does not need
to have to compilation runs from inside LyX...

Any help is appreciated. 

Regards,
Dominik.-
  
==
[1] biblatex-dw, which is available from CTAN or from
http://biblatex.dominik-wassenhoven.de/biblatex-dw.shtml?en
-- 

lyx-biblatex-xref.lyx
Description: Attached file: lyx-biblatex-xref.lyx


Re: two bibtex runs necessary (biblatex)

2008-11-25 Thread Dominik Waßenhoven
Dominik Waßenhoven wrote:

 If I run this with LyX 1.6.0, I get an incomplete entry,
 because the @collection entry is cited by the @incollection internally
 and to resolve that @collection entry, a second bibtex run would be
 possible. 
  
Read: would be necessary.

 If I alter the .lyx file (e.g. add a space) and compile once more,
 everything is fine. But I hope there is a solution which does not need
 to have to compilation runs from inside LyX...
  ^^
Read: to have two compilation runs.

Regards,
Dominik.-




Re: PDF Update fails, LyX 1.5.7 (WinXP)

2008-11-25 Thread Joost Verburg

David Hewitt wrote:

(2) I have always used Adobe Reader in many past versions and never
had this issue. AND, even with the format viewer changed to 'pdfview',
Adobe Reader is the viewer that is started, but DOES allow me to
update. Huh?? Basically everything just operates the way it used to,
so I presume that with the upgrade something changed the viewer from
'pdfview' to 'auto' for me, which then broke my ability to update the
PDF displayed in Adobe Reader. Overall, I am confused as to what
'pdfview' does, particularly because when I double-click the
pdfview.exe file from explorer I get an error that no PDF viewer is
installed, with a subsequent abort.


pdfview allows you to use Adobe Reader without the file locking issue. 
The error is normal because pdfview requires a valid PDF file as parameter.


Joost



Re: middle button pasting

2008-11-25 Thread camus . philippe
I hope the joined file will help !
Of course, the braces don't matter with text-only ERT.
It's just annoying with commands.

Phil

Selon Jean-Marc Lasgouttes [EMAIL PROTECTED]:

 Le 21 nov. 08 � 21:48, [EMAIL PROTECTED] a �crit :
  Within ERT, there seems to be something strange with the lang
  wich leads to
  some extra brace in the tex file and to some errors or unexpected
  result.
  Here's an example :
  The first line is the original one,
  the second, a pasted one, without modification, and the third one,
  pasted with
  mouse and with modifications. The extra braces came from nowhere !
 
  \psline[linewidth=0.8pt,linecolor=gray,linestyle=dotted]{-}
  (6.0625,6.0625)(6.0625,8.59375)
  \psline[linewidth=0.8pt,linecolor=gray,linestyle=dotted]{-}
  (6.0625,6.0625)(6.0625,8.59375)
  \psline[linewidth=0.8pt,linecolor=gray,linestyle=d{ash}ed]{-}({7}.
  0625,{7}.0625)({8}.0625,{9}.59375)

 Could you give a simple recipe. This is very weird.

 JMarc


%% LyX 1.6.0 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[oneside,twocolumn,french]{amsart}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{geometry}
\geometry{verbose,landscape,a4paper,tmargin=1cm,bmargin=1cm,lmargin=1cm,rmargin=1cm,headheight=0in,headsep=0in,footskip=0in}
\pagestyle{empty}
\usepackage{amsmath}
\usepackage{amssymb}

%% User specified LaTeX commands.


\usepackage{eurosym}
%\renewcommand{\texteuro}{\euro}
\usepackage{pst-plot,pst-tree,pst-eucl,pst-math,pstricks-add}
\setlength{\columnsep}{1cm}
\usepackage{fourier}
\newcommand{\R}{\mathbb{R}}
\newcommand{\N}{\mathbb{N}}
\newcommand{\D}{\mathbb{D}}
\newcommand{\Z}{\mathbb{Z}}
\newcommand{\Q}{\mathbb{Q}}
\newcommand{\C}{\mathbb{C}}
%\setlength{\textheight}{23,5cm}
\newcommand{\vect}[1]{\mathchoice%
{\overrightarrow{\displaystyle\mathstrut#1\,\,}}%
{\overrightarrow{\textstyle\mathstrut#1\,\,}}%
{\overrightarrow{\scriptstyle\mathstrut#1\,\,}}%
{\overrightarrow{\scriptscriptstyle\mathstrut#1\,\,}}}
\renewcommand{\theenumi}{\textbf{\arabic{enumi}}}
\renewcommand{\labelenumi}{\textbf{\theenumi.}}
\renewcommand{\theenumii}{\textbf{\alph{enumii}}}
\renewcommand{\labelenumii}{\textbf{\theenumii.}}
\def\Oij{$\left(\text{O},~\vect{\imath},~\vect{\jmath}\right)$}
\def\Oijk{$\left(\text{O},~\vect{\imath},~ \vect{\jmath},~ \vect{k}\right)$}
\def\Ouv{$\left(\text{O},~\vect{u},~\vect{v}\right)$}
%\setlength{\voffset}{-1,5cm}
\def\Arc#1{\buildrel\hbox{$\frown$}\over{#1}}
\def\arc#1{\setbox1=\hbox{#1}\vbox{\hbox to \wd1{\hfill$\frown$\hfill}\nointerlineskip\box1}}
\usepackage[colorlinks=true,pdfstartview=FitV,linkcolor=blue,citecolor=blue,urlcolor=blue]{hyperref}

\usepackage{babel}
\addto\extrasfrench{\providecommand{\og}{\leavevmode\flqq~}\providecommand{\fg}{\ifdim\lastskip[EMAIL PROTECTED]

\begin{document}
This is a simple recipe !
This is a simple recipe !{ Pasted with the middle button.}
This is a simple recipe ! Pasted with the middle button.{ Did you see the braces ?}
\end{document}


Re: two bibtex runs necessary (biblatex)

2008-11-25 Thread Jürgen Spitzmüller
Dominik Waßenhoven wrote:
 Any help is appreciated.

A change in the source is needed in order to trigger this additional run. This 
is something that is doable for 1.6.1. Could you bugzilla it, please?

Jürgen


Re: PDF Update fails, LyX 1.5.7 (WinXP)

2008-11-25 Thread Paul A. Rubin

David Hewitt wrote:



As usual, Paul points the way to the promised land.


I think you're confusing me with my (much) older brother Moses.  ;-)


(2) I have always used Adobe Reader in many past versions and never
had this issue.


You probably were using pdfview in earlier versions; I know I was.  I'm 
not positive (about anything, in fact), but I think Uwe's installer 
might have made pdfview the default.



AND, even with the format viewer changed to 'pdfview',
Adobe Reader is the viewer that is started, but DOES allow me to
update. Huh?? Basically everything just operates the way it used to,
so I presume that with the upgrade something changed the viewer from
'pdfview' to 'auto' for me,


Seems likely.


which then broke my ability to update the
PDF displayed in Adobe Reader. Overall, I am confused as to what
'pdfview' does,


It runs pdfclose.exe (also in your LyX\bin directory) to close the 
existing Acroread window, then runs pdfopen.exe (yep, bin directory 
again) to open the modified file in Acroread.


If you contrast this with Update - DVI, the difference is that Yap (the 
DVI viewer) doesn't lock the DVI file.  So LaTeX can overwrite the DVI 
file even while Yap is open, and then either LaTeX gooses Yap or Yap 
figures out on its own that the file has changed (not sure which) and 
updates its display.  I think this also works with some off brand PDF 
viewers.  Acroread, however, puts a lock on the PDF file while it's 
open, so when pdflatex goes to output the revised version, the OS won't 
let it overwrite the file, and pdflatex crabs about it and bails out. 
Hence the need for pdfview to close the initial window (and thus break 
the file lock) in a timely manner.



particularly because when I double-click the
pdfview.exe file from explorer I get an error that no PDF viewer is
installed, with a subsequent abort.


As Joost pointed out, pdfview requires a file as an argument (which LyX 
supplies).




Re: page numbering

2008-11-25 Thread Yago
You need the packages fancyhdr and lastpage in your preamble. And add this 
command also in the preamble:


\cfoot{\thepage of \pageref{LastPage}}
- Original Message - 
From: chilly009 [EMAIL PROTECTED]

To: lyx-users@lists.lyx.org
Sent: Tuesday, November 25, 2008 3:15 PM
Subject: page numbering




hey

Anyone have a command that gives the possibilty of numbering pages like 
4

of 87 or 4/87??

kevin
--
View this message in context: 
http://n2.nabble.com/page-numbering-tp1576477p1576477.html

Sent from the LyX - Users mailing list archive at Nabble.com.


__ Information from ESET NOD32 Antivirus, version of virus 
signature database 3636 (20081124) __


The message was checked by ESET NOD32 Antivirus.

http://www.eset.com






How to reference LyX ?

2008-11-25 Thread Ernesto Jardim

Hi,

I want to refernce LyX in a paper I'm writing, do you have a 
bibliographic reference ?


Best

EJ



Re: How to reference LyX ?

2008-11-25 Thread Nikos Alexandris
On Tue, 2008-11-25 at 23:59 +, Ernesto Jardim wrote:
 Hi,
 
 I want to refernce LyX in a paper I'm writing, do you have a 
 bibliographic reference ?
 
 Best
 
 EJ

Dear Ernesto,
this has been discussed before. I don't think there is. You can check
the archive [1] of the mailing list for the relevant discussion (sorry,
I can't trace it for the moment).

Regards, Nikos

[1] For example here: http://n2.nabble.com/LyX---Users-f475767.html



Re: How to reference LyX ?

2008-11-25 Thread Nikos Alexandris
On Wed, 2008-11-26 at 01:32 +0100, Nikos Alexandris wrote:
 On Tue, 2008-11-25 at 23:59 +, Ernesto Jardim wrote:
  Hi,
  
  I want to refernce LyX in a paper I'm writing, do you have a 
  bibliographic reference ?
  
  Best
  
  EJ
 
 Dear Ernesto,
 this has been discussed before. I don't think there is. You can check
 the archive [1] of the mailing list for the relevant discussion (sorry,
 I can't trace it for the moment).

(Sorry... kind of uncomplete answer)

I wrote in a document if mine this document was prepared using LyX...
etc..

Hopefully I am wrong and somebody will point out to the *right way to do
it*. I also want to cite LyX.


 
 Regards, Nikos
 
 [1] For example here: http://n2.nabble.com/LyX---Users-f475767.html
 



Re: The index numbers overlap with the titles

2008-11-25 Thread Les Denham
On Tuesday 25 November 2008 07:59:37 am Laser Yuan wrote:
 Hi,

 As you know, book{ams} layout can automatically general Content, List of
 Figure etc. But sometimes List of Figures has the index numbers overlap
 on the titles of those figures. I exact one page pdf(below link) to show
 this phenomenon. Can I fix it?
 http://www.yousendit.com/download/TTZuRFFSZ1A5eFZFQlE9PQ

 Thanks in advance

I see your problem, but I haven't been able to duplicate it.  Can you post a 
minimal example LyX file which generates a PDF with the problem?

Les


LyX 1.6 crash

2008-11-25 Thread Max Bian

Hi.

I am seeing lots of crashes with LyX 1.6 on Windows Vista. I think it 
happens when it cannot delete the temp files during exit. This can 
happen when I browse the files in the temp file directory or I do not 
close Adobe PDF Reader.


Max




Re: LyX 1.6 crash

2008-11-25 Thread Jürgen Spitzmüller
Max Bian wrote:
 I am seeing lots of crashes with LyX 1.6 on Windows Vista. I think it
 happens when it cannot delete the temp files during exit. This can
 happen when I browse the files in the temp file directory or I do not
 close Adobe PDF Reader.

This looks like a known problem. Could you post the console output?

Jürgen


displaying long division of polynomials in lyx

2008-11-25 Thread Jamesdaff

I'm writing an Algebra textbook and I need to show division of polynomials
(both long division and synthetic division / Horner's method).  I am new to
LyX, and have just kind of been stumbling my way through what I need to know
to get by.  I see there is a cool package on CTAN (polynom) which would be
cool to use, but I have absolutely no idea how I would use that in LyX.  Is
it even possible?

The description of the polynom package is here:
http://sunsite.utk.edu/ftp/pub/software/CTAN/macros/latex/contrib/polynom/polynom.pdf
http://sunsite.utk.edu/ftp/pub/software/CTAN/macros/latex/contrib/polynom/polynom.pdf
 

Alternatively, if someone can suggest a simpler way to display long division
of polynomials without installing something extra, that might work, too, but
I kind of want to understand things well enough to know how to install this
package, if that is possible.

Help?

Jeff
-- 
View this message in context: 
http://n2.nabble.com/displaying-long-division-of-polynomials-in-lyx-tp1579774p1579774.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Toolbar bug?

2008-11-25 Thread asm23

Max Bian wrote:
I am using LyX 1.6 on Windows Vista. If I have the three toolbar panels 
on three separate rows, it works fine. If I put two of them on one line, 
LyX will not be able to restore them correctly when I start it next 
time: the second one on the row will go all the way to the right and I 
cannot see any icons.


Anyone else seeing this?

Max

I have reported this bug. So, you can search the achieve. This bug is on 
QT, not caused by Lyx. A workaround is the let the bar be float, but 
near the original position. Then it will restore it's position, ^_^.




Re: Toolbar bug?

2008-11-25 Thread Jürgen Spitzmüller
Max Bian wrote:
 I am using LyX 1.6 on Windows Vista. If I have the three toolbar panels
 on three separate rows, it works fine. If I put two of them on one line,
 LyX will not be able to restore them correctly when I start it next
 time: the second one on the row will go all the way to the right and I
 cannot see any icons.

 Anyone else seeing this?

A bug in recente Qt versions. This is supposed to be fixed in forthcoming Qt 
4.4.4.

Jürgen


Re: Lyx and BibDesk connection

2008-11-25 Thread Konrad Hofbauer

Bennett Helm wrote:

The problem is that the SendToLyx script has not been updated for
LyX-1.6, and so it's not finding your .lyxpipe. I've send a note to
Mark Reid, author of the script, to see if he'll post an updated
version on his website.


But doesn't the latest Bibdesk have now its own and better Send To Lyx 
support, and no need for the Script anymore?


The Script would need updating also in the sense that it should use 
lyxclient (because now the script makes bibdesk freeze when the pipe is 
a stalled pipe).



/Konrad



Re: Subfig(ure) in class Memoir

2008-11-25 Thread Johan Tegin


24 nov 2008 kl. 17.05 skrev Jean-Marc Lasgouttes:

Johan Tegin [EMAIL PROTECTED] writes:

One of the suggested solution is using the subfig package instead.
However, LyX automatically adds \usepackage{subfig} to the latex
preamble when a subfigure caption is added to a figure via the GUI.
This result in the above error. Can adding subfigure be avoided?  
Can I

force LyX to use subfig instead? Or is there perhaps any other
solution to this dilemma without resorting to ERT?


LyX 1.6.0 has switched to using subfig instead of subfigure. Maybe an
incentive to upgrade ?

JMarc


Indeed. Thanks for the info. Unfortunately I cannot upgrade to qt4 for  
other reasons and there is yet no binary for debian. Will install  
first thing when available though.


24 nov 2008 kl. 16.36 skrev Les Denham:


Johan,

I ran into exactly this problem a few months ago when I decided to  
convert a
rather large document from book(KOMA-script) to memoir, to take  
advantage of

some of the neat features in memoir.

My solution (after trying various mechanisms to get subfigures to  
work) was to
replace the figures containing subfigures with a single figure  
float, putting
more than one image in one float.  The only disadvantage I found is  
the lack
of separate captions, which I overcame by using phrases such as on  
the left

in the single caption referring to multiple images.



Thanks for the advise, however it is the subfigure captions that I  
desire. I guess I should've made that point more clear.


/johan

Re: Subfig(ure) in class Memoir

2008-11-25 Thread Jean-Marc Lasgouttes
Indeed. Thanks for the info. Unfortunately I cannot upgrade to qt4  
for other reasons and there is yet no binary for debian. Will  
install first thing when available though.


If you run LyX 1.5.3, you already have qt4...

JMarc


Cross-reference after changing enumerate

2008-11-25 Thread Peter Smith
I have changed the numbering of the enumerate environment by inserting the
following into the LaTeX preamble:
\renewcommand{\labelenumi}{\Roman{enumi}.}

\renewcommand{\labelenumii}{\Alph{enumii}.}

\renewcommand{\labelenumiii}{\arabic{enumiii}.}

\renewcommand{\labelenumiv}{\alph{enumiv}.)}

(This is the example from the Additional Features Manual)

The enumerated list looks great, but when I want to cross-reference one of
the points, the label does not coincide with the new numbering scheme.  Can
anyone help me fix this?  I have attached an example LyX file and pdf
output.

I am using Lyx 1.6.0 on Windows XP, with MiKTeX 2.5.

Pete


Mail list example.lyx
Description: application/lyx


Mail list example.pdf
Description: Adobe PDF document


LyX 1.6.0 freezes

2008-11-25 Thread Pascal Francq
Hi,
I am using Lyx 1.6.0 with KUbuntu 8.10 (KDE 4.1.3) on a 64 bit architecture. 
When I am working, sometimes Lyx freezes, at least the GUI. I a send a TERM 
signal to the application, when I restart LyX it tries to recover the unsaved 
files which confirms that it is probably a GUI problem.
Anyone an idea ?
-- 

Prof. Pascal Francq
Université Libre de Bruxelles
Avenue F.D. Roosevelt 50, CP 165/14
B-1050 Brussels
BELGIUM



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


Re: Flex insets

2008-11-25 Thread Abdelrazak Younes

rgheck wrote:
You can define shortcuts for them if you like, or even arrange for it to 
be on your menu. What it would do is insert an InsetInfo object into 
your file, which is used e.g. to show which shortcut is associated with 
font-emph. InsetInfo isn't on the menu because it was never intended 
for ordinary users. I'm not sure why you'd want to use it, unless you're 
writing docs for LyX.


Well, the document type is quite useful to the end user. And I reckon 
that once we add some more features (date, etc), this inset could reveal 
very useful.


Abdel.



Equation array and two column layout

2008-11-25 Thread Julio Rojas
Dear all, I'm finishing a paper with the two columned article class. I
have a problem with some equation arrays that are two big for this
format. They span over the other column or over the margins, even with
an smaller font (\scriptstyle). What can I do to solve this problem?
Should I use an even smaller font (\scriptscriptstyle)? How can I
break the line in an equation array and put the right hand of the
array under the first part, but slightly to the right?

The kind of equation array I'm using is conditional:

d= a+b, if a1
 a-b, if a1
 0,if a=1

Hope you can help me.
-
Julio Rojas
[EMAIL PROTECTED]


Re: Springer Style in Lyx

2008-11-25 Thread Nicolás

The lecture notes style is given by the llncs.cls class. If that is the one you 
want to use, then LyX includes already a layout.
The svjour3.cls class is for journals. The layout that you created should work (if I am not wrong). Be sure that you reconfigure LyX to 
have the layout available.


Cheers,
Nicolás

bluegreengrassnow bluegreengrassnow wrote:

I'm trying to use lyx to write a document in springer lecture notes style. I 
created the following layout file, however it doesn't create output documents 
in the correct style:

#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[svjour3]{article (svjour3)}
# Input general definitions
Input stdclass.inc


The svglov3.clo and svjour3.cls files provided by springer are installed in 
tex\latex\sv-journ3.  Springer also provides a template latex file that renders 
correctly in TeXnicCenter but not in Lyx when imported.

Can someone help with this?



  




Re: Helper function/shortcut

2008-11-25 Thread rgheck

Frank Grimm wrote:

I tried the following command sequence

command-sequence font-ital; self-insert i.e.; font-ital

where I replaced font-emph in your suggestion with font-ital since I 
don't want the i.e. the be emphasized, but just in italic shape. But 
when I use the shortcut for this command LyX tells me that the command 
is disabled. Are there any restrictions for the font-ital command that 
the font-emph command doesn't have?


Apparently, yes. This seems like a bug. In fact, from what I can tell, 
font-ital never does anything in the current code.


I'll forward this to the devel list.

Any reason not to apply something like the attached? Or was the plan to 
get rid of font-ital?


rh

Index: Text3.cpp
===
--- Text3.cpp	(revision 27700)
+++ Text3.cpp	(working copy)
@@ -1582,6 +1582,13 @@
 		break;
 	}
 
+	case LFUN_FONT_ITAL: {
+		Font font(ignore_font, ignore_language);
+		font.fontInfo().setShape(ITALIC_SHAPE);
+		toggleAndShow(cur, this, font);
+		break;
+	}
+
 	case LFUN_FONT_BOLD:
 	case LFUN_FONT_BOLDSYMBOL: {
 		Font font(ignore_font, ignore_language);
@@ -2104,6 +2111,10 @@
 		flag.setOnOff(fontinfo.emph() == FONT_ON);
 		break;
 
+	case LFUN_FONT_ITAL:
+		flag.setOnOff(fontinfo.shape() == ITALIC_SHAPE);
+		break;
+
 	case LFUN_FONT_NOUN:
 		flag.setOnOff(fontinfo.noun() == FONT_ON);
 		break;


underlining in a matrix

2008-11-25 Thread Robert Neumann
Hello,
I'm looking vor a way to unterline one line of a matrix. 
I use the matrix for an equation and the last line should be underlined.
\underline works only for the single entries but not for the whole line
(Lyx 13.7 on SuSE Linux)
Thanks
Robert



Re: euro-symbol in math-mode

2008-11-25 Thread Robert Neumann
works with text in math... thanks



Re: Equation array and two column layout

2008-11-25 Thread Vittorio Zuccala'
Hello Julio,
i do not know if i've understood your question.
Anyway, probably you can be interested one of this...

First solution:
press CTRL+L entering in ERT mode and then:
\begin{eqnarray}
d = a + b, if a1 \nonumber \\
= a-b, if a1 \nonumber \\
=0, if a=1 \nonumber
\end{eqnarray}

Second solution (i think better for you):
press CTRL+L entering in ERT mode and then:
$$ d = \left\{
\begin{array}{rl}  a+b \mbox{ if a1} \\
a-b \mbox{ if a1} \\
0 \mbox{ if a=1} \\
\end{array}
\right. $$


I hope it'll be usefull for you.
Bye,
   Vittorio


On Tue, Nov 25, 2008 at 1:01 PM, Julio Rojas [EMAIL PROTECTED] wrote:

 Dear all, I'm finishing a paper with the two columned article class. I
 have a problem with some equation arrays that are two big for this
 format. They span over the other column or over the margins, even with
 an smaller font (\scriptstyle). What can I do to solve this problem?
 Should I use an even smaller font (\scriptscriptstyle)? How can I
 break the line in an equation array and put the right hand of the
 array under the first part, but slightly to the right?

 The kind of equation array I'm using is conditional:

 d= a+b, if a1
 a-b, if a1
 0,if a=1

 Hope you can help me.
 -
 Julio Rojas
 [EMAIL PROTECTED]




-- 
Vittorio Zuccalà


Re: Helper function/shortcut

2008-11-25 Thread Frank Grimm

On 25/11/2008 14:33, rgheck wrote:

Frank Grimm wrote:

I tried the following command sequence

command-sequence font-ital; self-insert i.e.; font-ital

where I replaced font-emph in your suggestion with font-ital since I 
don't want the i.e. the be emphasized, but just in italic shape. But 
when I use the shortcut for this command LyX tells me that the command 
is disabled. Are there any restrictions for the font-ital command that 
the font-emph command doesn't have?


Apparently, yes. This seems like a bug. In fact, from what I can tell, 
font-ital never does anything in the current code.


I'm using font-emph for now, as you suggested.

But I'm not sure whether font-ital and font-emph have the same meaning. 
It doesn't matter to me since both font styles result in the text being 
set in the same italic font when using pdflatex output, but maybe for 
other output formats different fonts are used.


Thanks again,
Frank


Re: The index numbers overlap with the titles

2008-11-25 Thread Laser Yuan
Hi,

As you know, book{ams} layout can automatically general Content, List of
Figure etc. But sometimes List of Figures has the index numbers overlap
on the titles of those figures. I exact one page pdf(below link) to show
this phenomenon. Can I fix it?
http://www.yousendit.com/download/TTZuRFFSZ1A5eFZFQlE9PQ

Thanks in advance


page numbering

2008-11-25 Thread chilly009

hey

Anyone have a command that gives the possibilty of numbering pages like   4
of 87 or 4/87??

kevin
-- 
View this message in context: 
http://n2.nabble.com/page-numbering-tp1576477p1576477.html
Sent from the LyX - Users mailing list archive at Nabble.com.



version control under osx, lyx 1.6.0 crashes

2008-11-25 Thread Niko Schwarz
Hello!
So, when I check in, lyx crashes (after checking in), on checkout, it
crashes, too.
I can send my file through PM; it is my unfinished thesis, so i'd like it to
be somewhat confidential.

Best regards,

niko


Re: Equation array and two column layout

2008-11-25 Thread Julio Rojas
Thank you Vittorio. What I would like with this matrix is that the
right column can overfill the left one and viceversa. That way I can
have the long equations and the cases in two lines (eq. on the left
column, cases on the right column) every other line.

d= a+b+c+d+e+f+g
if a,b,c,d,e,f,g 1
 a-b-c-d-e-f-g
if a,b,c,d,e,f,g1

With this arrangement I can include the equations in just one column
of the two column paper. Is this something usual to do? What is the
regular way of handling the case of a series of long equations in
two columned papers?

Thanks in advance.
-
Julio Rojas
[EMAIL PROTECTED]



On Tue, Nov 25, 2008 at 2:50 PM, Vittorio Zuccala'
[EMAIL PROTECTED] wrote:
 Hello Julio,
 i do not know if i've understood your question.
 Anyway, probably you can be interested one of this...

 First solution:
 press CTRL+L entering in ERT mode and then:
 \begin{eqnarray}
 d = a + b, if a1 \nonumber \\
 = a-b, if a1 \nonumber \\
 =0, if a=1 \nonumber
 \end{eqnarray}

 Second solution (i think better for you):
 press CTRL+L entering in ERT mode and then:
 $$ d = \left\{
 \begin{array}{rl}  a+b \mbox{ if a1} \\
 a-b \mbox{ if a1} \\
 0 \mbox{ if a=1} \\
 \end{array}
 \right. $$


 I hope it'll be usefull for you.
 Bye,
Vittorio


 On Tue, Nov 25, 2008 at 1:01 PM, Julio Rojas [EMAIL PROTECTED] wrote:

 Dear all, I'm finishing a paper with the two columned article class. I
 have a problem with some equation arrays that are two big for this
 format. They span over the other column or over the margins, even with
 an smaller font (\scriptstyle). What can I do to solve this problem?
 Should I use an even smaller font (\scriptscriptstyle)? How can I
 break the line in an equation array and put the right hand of the
 array under the first part, but slightly to the right?

 The kind of equation array I'm using is conditional:

 d= a+b, if a1
 a-b, if a1
 0,if a=1

 Hope you can help me.
 -
 Julio Rojas
 [EMAIL PROTECTED]



 --
 Vittorio Zuccalà



Re: version control under osx, lyx 1.6.0 crashes

2008-11-25 Thread Jürgen Spitzmüller
Niko Schwarz wrote:
 So, when I check in, lyx crashes (after checking in), on checkout, it
 crashes, too.
 I can send my file through PM; it is my unfinished thesis, so i'd like it
 to be somewhat confidential.

This is bug 5389:
http://bugzilla.lyx.org/show_bug.cgi?id=5389

We're working on it, but you're invited to provide further input.

Jürgen


Re: Equation array and two column layout

2008-11-25 Thread Julio Rojas
Thanks Vittorio, but this solution is not the one I'm looking for. I
would like the right column to be right aligned and the left column to
be left aligned. When I do that with your solution (changing the rl
to lr) this turns our to be the original matrix I started with. As I
said, I need the right column to overfill the left one in order to
make the equation fit inside one column of the document.

Anyways, thank you very much.
-
Julio Rojas
[EMAIL PROTECTED]



On Tue, Nov 25, 2008 at 4:48 PM, Vittorio Zuccala'
[EMAIL PROTECTED] wrote:
 If you have to go to another line, you may use \\ in ERT
 and you may use \: to have additional space.
 In this way un can use in ERT mode:

 $$ d = \left\{
 \begin{array}{rl}
 a+b+c+d+e+f+g \\ \: \mbox{ if a,b,c,d,e,f,g 1} \\
 a-b-c-d-e-f-g \\ \: \mbox{ if a,b,c,d,e,f,g1} \\
 0 \mbox{ if a=1} \\ \: \end{array}
 \right. $$

 I hope this will be usefull.
 Bye,
 Vittorio


 On Tue, Nov 25, 2008 at 4:18 PM, Julio Rojas [EMAIL PROTECTED] wrote:

 Thank you Vittorio. What I would like with this matrix is that the
 right column can overfill the left one and viceversa. That way I can
 have the long equations and the cases in two lines (eq. on the left
 column, cases on the right column) every other line.

 d= a+b+c+d+e+f+g
if a,b,c,d,e,f,g 1
 a-b-c-d-e-f-g
if a,b,c,d,e,f,g1

 With this arrangement I can include the equations in just one column
 of the two column paper. Is this something usual to do? What is the
 regular way of handling the case of a series of long equations in
 two columned papers?

 Thanks in advance.
 -
 Julio Rojas
 [EMAIL PROTECTED]



 On Tue, Nov 25, 2008 at 2:50 PM, Vittorio Zuccala'
 [EMAIL PROTECTED] wrote:
  Hello Julio,
  i do not know if i've understood your question.
  Anyway, probably you can be interested one of this...
 
  First solution:
  press CTRL+L entering in ERT mode and then:
  \begin{eqnarray}
  d = a + b, if a1 \nonumber \\
  = a-b, if a1 \nonumber \\
  =0, if a=1 \nonumber
  \end{eqnarray}
 
  Second solution (i think better for you):
  press CTRL+L entering in ERT mode and then:
  $$ d = \left\{
  \begin{array}{rl}  a+b \mbox{ if a1} \\
  a-b \mbox{ if a1} \\
  0 \mbox{ if a=1} \\
  \end{array}
  \right. $$
 
 
  I hope it'll be usefull for you.
  Bye,
 Vittorio
 
 
  On Tue, Nov 25, 2008 at 1:01 PM, Julio Rojas [EMAIL PROTECTED]
  wrote:
 
  Dear all, I'm finishing a paper with the two columned article class. I
  have a problem with some equation arrays that are two big for this
  format. They span over the other column or over the margins, even with
  an smaller font (\scriptstyle). What can I do to solve this problem?
  Should I use an even smaller font (\scriptscriptstyle)? How can I
  break the line in an equation array and put the right hand of the
  array under the first part, but slightly to the right?
 
  The kind of equation array I'm using is conditional:
 
  d= a+b, if a1
  a-b, if a1
  0,if a=1
 
  Hope you can help me.
  -
  Julio Rojas
  [EMAIL PROTECTED]
 
 
 
  --
  Vittorio Zuccalà
 



 --
 Vittorio Zuccalà



Re: PDF Update fails, LyX 1.5.7 (WinXP)

2008-11-25 Thread David Hewitt
 I upgraded to LyX 1.5.7 on WinXP with MikTeX 2.7 (updated). Everything
 is fine except that update PDF does not work. When I try to update an
 open PDF, which always worked fine before, I get an error from LaTeX:
 ---
 I can't write on file `test.pdf'
 ---

 The snippet of the Log file is here:

 LaTeX Info: Redefining \ref on input line 49.
 LaTeX Info: Redefining \pageref on input line 49.
 (test.out) (test.out
 ! I can't write on file `test.pdf'.
 Please type another file name for output
 ! Emergency stop.
 [EMAIL PROTECTED] ...utline goto name{#2}count#3{#4}

 l.1 \BOOKMARK [1][-]{section.1}{Introduction}{}

 Any help is appreciated. For the record, I updated MikTeX, refreshed
 it, and re-created the format files, and also ran Reconfigure in LyX.

 I suspect you're using Acrobat Reader, which locks the file while it's open.
 Check in the LyX bin directory and see if you have pdfview.exe installed.
 If yes, go to Tools - Preferences... - File formats, highlight in turn each
 PDF format you use, such as PDF (pdflatex), change the Viewer from 'auto'
 to 'pdfview' and click Modify and then Save. Then I think you'll need to 
 restart
 LyX (but not reconfigure).

As usual, Paul points the way to the promised land.

A couple things:

(1) I hope that the process of changing the formats in 1.6.0 is
changed so that you don't have to type, then click 'Modify', then
Save. This is not very intuitive. Why not click 'Modify', enter new
value, click 'OK'?

(2) I have always used Adobe Reader in many past versions and never
had this issue. AND, even with the format viewer changed to 'pdfview',
Adobe Reader is the viewer that is started, but DOES allow me to
update. Huh?? Basically everything just operates the way it used to,
so I presume that with the upgrade something changed the viewer from
'pdfview' to 'auto' for me, which then broke my ability to update the
PDF displayed in Adobe Reader. Overall, I am confused as to what
'pdfview' does, particularly because when I double-click the
pdfview.exe file from explorer I get an error that no PDF viewer is
installed, with a subsequent abort.

(3) For the record, you don't even have to restart (or reconfigure) to
make this work.

Thanks Paul!
- Dave


two bibtex runs necessary (biblatex)

2008-11-25 Thread Dominik Waßenhoven
Dear list,

I have a problem regarding the biblatex package, especially my package
which builds on top of biblatex.[1] Attached is a .lyx file which shows
the problem. If I run this with LyX 1.6.0, I get an incomplete entry,
because the @collection entry is cited by the @incollection internally
and to resolve that @collection entry, a second bibtex run would be
possible. However, LyX does not provide a second bibtex run, even though
biblatex states in the log file that a second bibtex run is needed:

,--[ from the logfile ]
¦ LaTeX Warning: There were undefined references.
¦ 
¦ Package biblatex Warning: Please (re)run BibTeX on the file(s):
¦ (biblatex)lyx-biblatex-xref.aux
¦ (biblatex)and rerun LaTeX afterwards.
`

If I alter the .lyx file (e.g. add a space) and compile once more,
everything is fine. But I hope there is a solution which does not need
to have to compilation runs from inside LyX...

Any help is appreciated. 

Regards,
Dominik.-
  
==
[1] biblatex-dw, which is available from CTAN or from
http://biblatex.dominik-wassenhoven.de/biblatex-dw.shtml?en
-- 

lyx-biblatex-xref.lyx
Description: Attached file: lyx-biblatex-xref.lyx


Re: two bibtex runs necessary (biblatex)

2008-11-25 Thread Dominik Waßenhoven
Dominik Waßenhoven wrote:

 If I run this with LyX 1.6.0, I get an incomplete entry,
 because the @collection entry is cited by the @incollection internally
 and to resolve that @collection entry, a second bibtex run would be
 possible. 
  
Read: would be necessary.

 If I alter the .lyx file (e.g. add a space) and compile once more,
 everything is fine. But I hope there is a solution which does not need
 to have to compilation runs from inside LyX...
  ^^
Read: to have two compilation runs.

Regards,
Dominik.-




Re: PDF Update fails, LyX 1.5.7 (WinXP)

2008-11-25 Thread Joost Verburg

David Hewitt wrote:

(2) I have always used Adobe Reader in many past versions and never
had this issue. AND, even with the format viewer changed to 'pdfview',
Adobe Reader is the viewer that is started, but DOES allow me to
update. Huh?? Basically everything just operates the way it used to,
so I presume that with the upgrade something changed the viewer from
'pdfview' to 'auto' for me, which then broke my ability to update the
PDF displayed in Adobe Reader. Overall, I am confused as to what
'pdfview' does, particularly because when I double-click the
pdfview.exe file from explorer I get an error that no PDF viewer is
installed, with a subsequent abort.


pdfview allows you to use Adobe Reader without the file locking issue. 
The error is normal because pdfview requires a valid PDF file as parameter.


Joost



Re: middle button pasting

2008-11-25 Thread camus . philippe
I hope the joined file will help !
Of course, the braces don't matter with text-only ERT.
It's just annoying with commands.

Phil

Selon Jean-Marc Lasgouttes [EMAIL PROTECTED]:

 Le 21 nov. 08 � 21:48, [EMAIL PROTECTED] a �crit :
  Within ERT, there seems to be something strange with the lang
  wich leads to
  some extra brace in the tex file and to some errors or unexpected
  result.
  Here's an example :
  The first line is the original one,
  the second, a pasted one, without modification, and the third one,
  pasted with
  mouse and with modifications. The extra braces came from nowhere !
 
  \psline[linewidth=0.8pt,linecolor=gray,linestyle=dotted]{-}
  (6.0625,6.0625)(6.0625,8.59375)
  \psline[linewidth=0.8pt,linecolor=gray,linestyle=dotted]{-}
  (6.0625,6.0625)(6.0625,8.59375)
  \psline[linewidth=0.8pt,linecolor=gray,linestyle=d{ash}ed]{-}({7}.
  0625,{7}.0625)({8}.0625,{9}.59375)

 Could you give a simple recipe. This is very weird.

 JMarc


%% LyX 1.6.0 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[oneside,twocolumn,french]{amsart}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{geometry}
\geometry{verbose,landscape,a4paper,tmargin=1cm,bmargin=1cm,lmargin=1cm,rmargin=1cm,headheight=0in,headsep=0in,footskip=0in}
\pagestyle{empty}
\usepackage{amsmath}
\usepackage{amssymb}

%% User specified LaTeX commands.


\usepackage{eurosym}
%\renewcommand{\texteuro}{\euro}
\usepackage{pst-plot,pst-tree,pst-eucl,pst-math,pstricks-add}
\setlength{\columnsep}{1cm}
\usepackage{fourier}
\newcommand{\R}{\mathbb{R}}
\newcommand{\N}{\mathbb{N}}
\newcommand{\D}{\mathbb{D}}
\newcommand{\Z}{\mathbb{Z}}
\newcommand{\Q}{\mathbb{Q}}
\newcommand{\C}{\mathbb{C}}
%\setlength{\textheight}{23,5cm}
\newcommand{\vect}[1]{\mathchoice%
{\overrightarrow{\displaystyle\mathstrut#1\,\,}}%
{\overrightarrow{\textstyle\mathstrut#1\,\,}}%
{\overrightarrow{\scriptstyle\mathstrut#1\,\,}}%
{\overrightarrow{\scriptscriptstyle\mathstrut#1\,\,}}}
\renewcommand{\theenumi}{\textbf{\arabic{enumi}}}
\renewcommand{\labelenumi}{\textbf{\theenumi.}}
\renewcommand{\theenumii}{\textbf{\alph{enumii}}}
\renewcommand{\labelenumii}{\textbf{\theenumii.}}
\def\Oij{$\left(\text{O},~\vect{\imath},~\vect{\jmath}\right)$}
\def\Oijk{$\left(\text{O},~\vect{\imath},~ \vect{\jmath},~ \vect{k}\right)$}
\def\Ouv{$\left(\text{O},~\vect{u},~\vect{v}\right)$}
%\setlength{\voffset}{-1,5cm}
\def\Arc#1{\buildrel\hbox{$\frown$}\over{#1}}
\def\arc#1{\setbox1=\hbox{#1}\vbox{\hbox to \wd1{\hfill$\frown$\hfill}\nointerlineskip\box1}}
\usepackage[colorlinks=true,pdfstartview=FitV,linkcolor=blue,citecolor=blue,urlcolor=blue]{hyperref}

\usepackage{babel}
\addto\extrasfrench{\providecommand{\og}{\leavevmode\flqq~}\providecommand{\fg}{\ifdim\lastskip[EMAIL PROTECTED]

\begin{document}
This is a simple recipe !
This is a simple recipe !{ Pasted with the middle button.}
This is a simple recipe ! Pasted with the middle button.{ Did you see the braces ?}
\end{document}


Re: two bibtex runs necessary (biblatex)

2008-11-25 Thread Jürgen Spitzmüller
Dominik Waßenhoven wrote:
 Any help is appreciated.

A change in the source is needed in order to trigger this additional run. This 
is something that is doable for 1.6.1. Could you bugzilla it, please?

Jürgen


Re: PDF Update fails, LyX 1.5.7 (WinXP)

2008-11-25 Thread Paul A. Rubin

David Hewitt wrote:



As usual, Paul points the way to the promised land.


I think you're confusing me with my (much) older brother Moses.  ;-)


(2) I have always used Adobe Reader in many past versions and never
had this issue.


You probably were using pdfview in earlier versions; I know I was.  I'm 
not positive (about anything, in fact), but I think Uwe's installer 
might have made pdfview the default.



AND, even with the format viewer changed to 'pdfview',
Adobe Reader is the viewer that is started, but DOES allow me to
update. Huh?? Basically everything just operates the way it used to,
so I presume that with the upgrade something changed the viewer from
'pdfview' to 'auto' for me,


Seems likely.


which then broke my ability to update the
PDF displayed in Adobe Reader. Overall, I am confused as to what
'pdfview' does,


It runs pdfclose.exe (also in your LyX\bin directory) to close the 
existing Acroread window, then runs pdfopen.exe (yep, bin directory 
again) to open the modified file in Acroread.


If you contrast this with Update - DVI, the difference is that Yap (the 
DVI viewer) doesn't lock the DVI file.  So LaTeX can overwrite the DVI 
file even while Yap is open, and then either LaTeX gooses Yap or Yap 
figures out on its own that the file has changed (not sure which) and 
updates its display.  I think this also works with some off brand PDF 
viewers.  Acroread, however, puts a lock on the PDF file while it's 
open, so when pdflatex goes to output the revised version, the OS won't 
let it overwrite the file, and pdflatex crabs about it and bails out. 
Hence the need for pdfview to close the initial window (and thus break 
the file lock) in a timely manner.



particularly because when I double-click the
pdfview.exe file from explorer I get an error that no PDF viewer is
installed, with a subsequent abort.


As Joost pointed out, pdfview requires a file as an argument (which LyX 
supplies).




Re: page numbering

2008-11-25 Thread Yago
You need the packages fancyhdr and lastpage in your preamble. And add this 
command also in the preamble:


\cfoot{\thepage of \pageref{LastPage}}
- Original Message - 
From: chilly009 [EMAIL PROTECTED]

To: lyx-users@lists.lyx.org
Sent: Tuesday, November 25, 2008 3:15 PM
Subject: page numbering




hey

Anyone have a command that gives the possibilty of numbering pages like 
4

of 87 or 4/87??

kevin
--
View this message in context: 
http://n2.nabble.com/page-numbering-tp1576477p1576477.html

Sent from the LyX - Users mailing list archive at Nabble.com.


__ Information from ESET NOD32 Antivirus, version of virus 
signature database 3636 (20081124) __


The message was checked by ESET NOD32 Antivirus.

http://www.eset.com






How to reference LyX ?

2008-11-25 Thread Ernesto Jardim

Hi,

I want to refernce LyX in a paper I'm writing, do you have a 
bibliographic reference ?


Best

EJ



Re: How to reference LyX ?

2008-11-25 Thread Nikos Alexandris
On Tue, 2008-11-25 at 23:59 +, Ernesto Jardim wrote:
 Hi,
 
 I want to refernce LyX in a paper I'm writing, do you have a 
 bibliographic reference ?
 
 Best
 
 EJ

Dear Ernesto,
this has been discussed before. I don't think there is. You can check
the archive [1] of the mailing list for the relevant discussion (sorry,
I can't trace it for the moment).

Regards, Nikos

[1] For example here: http://n2.nabble.com/LyX---Users-f475767.html



Re: How to reference LyX ?

2008-11-25 Thread Nikos Alexandris
On Wed, 2008-11-26 at 01:32 +0100, Nikos Alexandris wrote:
 On Tue, 2008-11-25 at 23:59 +, Ernesto Jardim wrote:
  Hi,
  
  I want to refernce LyX in a paper I'm writing, do you have a 
  bibliographic reference ?
  
  Best
  
  EJ
 
 Dear Ernesto,
 this has been discussed before. I don't think there is. You can check
 the archive [1] of the mailing list for the relevant discussion (sorry,
 I can't trace it for the moment).

(Sorry... kind of uncomplete answer)

I wrote in a document if mine this document was prepared using LyX...
etc..

Hopefully I am wrong and somebody will point out to the *right way to do
it*. I also want to cite LyX.


 
 Regards, Nikos
 
 [1] For example here: http://n2.nabble.com/LyX---Users-f475767.html
 



Re: The index numbers overlap with the titles

2008-11-25 Thread Les Denham
On Tuesday 25 November 2008 07:59:37 am Laser Yuan wrote:
 Hi,

 As you know, book{ams} layout can automatically general Content, List of
 Figure etc. But sometimes List of Figures has the index numbers overlap
 on the titles of those figures. I exact one page pdf(below link) to show
 this phenomenon. Can I fix it?
 http://www.yousendit.com/download/TTZuRFFSZ1A5eFZFQlE9PQ

 Thanks in advance

I see your problem, but I haven't been able to duplicate it.  Can you post a 
minimal example LyX file which generates a PDF with the problem?

Les


LyX 1.6 crash

2008-11-25 Thread Max Bian

Hi.

I am seeing lots of crashes with LyX 1.6 on Windows Vista. I think it 
happens when it cannot delete the temp files during exit. This can 
happen when I browse the files in the temp file directory or I do not 
close Adobe PDF Reader.


Max




Re: LyX 1.6 crash

2008-11-25 Thread Jürgen Spitzmüller
Max Bian wrote:
 I am seeing lots of crashes with LyX 1.6 on Windows Vista. I think it
 happens when it cannot delete the temp files during exit. This can
 happen when I browse the files in the temp file directory or I do not
 close Adobe PDF Reader.

This looks like a known problem. Could you post the console output?

Jürgen


displaying long division of polynomials in lyx

2008-11-25 Thread Jamesdaff

I'm writing an Algebra textbook and I need to show division of polynomials
(both long division and synthetic division / Horner's method).  I am new to
LyX, and have just kind of been stumbling my way through what I need to know
to get by.  I see there is a cool package on CTAN (polynom) which would be
cool to use, but I have absolutely no idea how I would use that in LyX.  Is
it even possible?

The description of the polynom package is here:
http://sunsite.utk.edu/ftp/pub/software/CTAN/macros/latex/contrib/polynom/polynom.pdf
http://sunsite.utk.edu/ftp/pub/software/CTAN/macros/latex/contrib/polynom/polynom.pdf
 

Alternatively, if someone can suggest a simpler way to display long division
of polynomials without installing something extra, that might work, too, but
I kind of want to understand things well enough to know how to install this
package, if that is possible.

Help?

Jeff
-- 
View this message in context: 
http://n2.nabble.com/displaying-long-division-of-polynomials-in-lyx-tp1579774p1579774.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Toolbar bug?

2008-11-25 Thread asm23

Max Bian wrote:
I am using LyX 1.6 on Windows Vista. If I have the three toolbar panels 
on three separate rows, it works fine. If I put two of them on one line, 
LyX will not be able to restore them correctly when I start it next 
time: the second one on the row will go all the way to the right and I 
cannot see any icons.


Anyone else seeing this?

Max

I have reported this bug. So, you can search the achieve. This bug is on 
QT, not caused by Lyx. A workaround is the let the bar be float, but 
near the original position. Then it will restore it's position, ^_^.




Re: Toolbar bug?

2008-11-25 Thread Jürgen Spitzmüller
Max Bian wrote:
> I am using LyX 1.6 on Windows Vista. If I have the three toolbar panels
> on three separate rows, it works fine. If I put two of them on one line,
> LyX will not be able to restore them correctly when I start it next
> time: the second one on the row will go all the way to the right and I
> cannot see any icons.
>
> Anyone else seeing this?

A bug in recente Qt versions. This is supposed to be fixed in forthcoming Qt 
4.4.4.

Jürgen


Re: Lyx and BibDesk connection

2008-11-25 Thread Konrad Hofbauer

Bennett Helm wrote:

The problem is that the SendToLyx script has not been updated for
LyX-1.6, and so it's not finding your .lyxpipe. I've send a note to
Mark Reid, author of the script, to see if he'll post an updated
version on his website.


But doesn't the latest Bibdesk have now its own and better "Send To Lyx" 
support, and no need for the Script anymore?


The Script would need updating also in the sense that it should use 
lyxclient (because now the script makes bibdesk freeze when the pipe is 
a stalled pipe).



/Konrad



Re: Subfig(ure) in class Memoir

2008-11-25 Thread Johan Tegin


24 nov 2008 kl. 17.05 skrev Jean-Marc Lasgouttes:

Johan Tegin <[EMAIL PROTECTED]> writes:

One of the suggested solution is using the subfig package instead.
However, LyX automatically adds \usepackage{subfig} to the latex
preamble when a subfigure caption is added to a figure via the GUI.
This result in the above error. Can adding subfigure be avoided?  
Can I

force LyX to use subfig instead? Or is there perhaps any other
solution to this dilemma without resorting to ERT?


LyX 1.6.0 has switched to using subfig instead of subfigure. Maybe an
incentive to upgrade ?

JMarc


Indeed. Thanks for the info. Unfortunately I cannot upgrade to qt4 for  
other reasons and there is yet no binary for debian. Will install  
first thing when available though.


24 nov 2008 kl. 16.36 skrev Les Denham:


Johan,

I ran into exactly this problem a few months ago when I decided to  
convert a
rather large document from book(KOMA-script) to memoir, to take  
advantage of

some of the neat features in memoir.

My solution (after trying various mechanisms to get subfigures to  
work) was to
replace the figures containing subfigures with a single figure  
float, putting
more than one image in one float.  The only disadvantage I found is  
the lack
of separate captions, which I overcame by using phrases such as "on  
the left"

in the single caption referring to multiple images.



Thanks for the advise, however it is the subfigure captions that I  
desire. I guess I should've made that point more clear.


/johan

Re: Subfig(ure) in class Memoir

2008-11-25 Thread Jean-Marc Lasgouttes
Indeed. Thanks for the info. Unfortunately I cannot upgrade to qt4  
for other reasons and there is yet no binary for debian. Will  
install first thing when available though.


If you run LyX 1.5.3, you already have qt4...

JMarc


Cross-reference after changing enumerate

2008-11-25 Thread Peter Smith
I have changed the numbering of the enumerate environment by inserting the
following into the LaTeX preamble:
\renewcommand{\labelenumi}{\Roman{enumi}.}

\renewcommand{\labelenumii}{\Alph{enumii}.}

\renewcommand{\labelenumiii}{\arabic{enumiii}.}

\renewcommand{\labelenumiv}{\alph{enumiv}.)}

(This is the example from the Additional Features Manual)

The enumerated list looks great, but when I want to cross-reference one of
the points, the label does not coincide with the new numbering scheme.  Can
anyone help me fix this?  I have attached an example LyX file and pdf
output.

I am using Lyx 1.6.0 on Windows XP, with MiKTeX 2.5.

Pete


Mail list example.lyx
Description: application/lyx


Mail list example.pdf
Description: Adobe PDF document


LyX 1.6.0 freezes

2008-11-25 Thread Pascal Francq
Hi,
I am using Lyx 1.6.0 with KUbuntu 8.10 (KDE 4.1.3) on a 64 bit architecture. 
When I am working, sometimes Lyx freezes, at least the GUI. I a send a "TERM" 
signal to the application, when I restart LyX it tries to recover the unsaved 
files which confirms that it is probably a GUI problem.
Anyone an idea ?
-- 

Prof. Pascal Francq
Université Libre de Bruxelles
Avenue F.D. Roosevelt 50, CP 165/14
B-1050 Brussels
BELGIUM



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


Re: Flex insets

2008-11-25 Thread Abdelrazak Younes

rgheck wrote:
You can define shortcuts for them if you like, or even arrange for it to 
be on your menu. What it would do is insert an InsetInfo object into 
your file, which is used e.g. to show which shortcut is associated with 
"font-emph". InsetInfo isn't on the menu because it was never intended 
for ordinary users. I'm not sure why you'd want to use it, unless you're 
writing docs for LyX.


Well, the document type is quite useful to the end user. And I reckon 
that once we add some more features (date, etc), this inset could reveal 
very useful.


Abdel.



Equation array and two column layout

2008-11-25 Thread Julio Rojas
Dear all, I'm finishing a paper with the two columned article class. I
have a problem with some equation arrays that are two big for this
format. They span over the other column or over the margins, even with
an smaller font (\scriptstyle). What can I do to solve this problem?
Should I use an even smaller font (\scriptscriptstyle)? How can I
break the line in an equation array and put the right hand of the
array under the first part, but slightly to the right?

The kind of equation array I'm using is conditional:

d= a+b, if a>1
 a-b, if a<1
 0,if a=1

Hope you can help me.
-
Julio Rojas
[EMAIL PROTECTED]


Re: Springer Style in Lyx

2008-11-25 Thread Nicolás

The lecture notes style is given by the llncs.cls class. If that is the one you 
want to use, then LyX includes already a layout.
The svjour3.cls class is for journals. The layout that you created should work (if I am not wrong). Be sure that you reconfigure LyX to 
have the layout available.


Cheers,
Nicolás

bluegreengrassnow bluegreengrassnow wrote:

I'm trying to use lyx to write a document in springer lecture notes style. I 
created the following layout file, however it doesn't create output documents 
in the correct style:

#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[svjour3]{article (svjour3)}
# Input general definitions
Input stdclass.inc


The svglov3.clo and svjour3.cls files provided by springer are installed in 
tex\latex\sv-journ3.  Springer also provides a template latex file that renders 
correctly in TeXnicCenter but not in Lyx when imported.

Can someone help with this?



  




Re: Helper function/shortcut

2008-11-25 Thread rgheck

Frank Grimm wrote:

I tried the following command sequence

command-sequence font-ital; self-insert i.e.; font-ital

where I replaced font-emph in your suggestion with font-ital since I 
don't want the i.e. the be emphasized, but just in italic shape. But 
when I use the shortcut for this command LyX tells me that the command 
is disabled. Are there any restrictions for the font-ital command that 
the font-emph command doesn't have?


Apparently, yes. This seems like a bug. In fact, from what I can tell, 
font-ital never does anything in the current code.


I'll forward this to the devel list.

Any reason not to apply something like the attached? Or was the plan to 
get rid of font-ital?


rh

Index: Text3.cpp
===
--- Text3.cpp	(revision 27700)
+++ Text3.cpp	(working copy)
@@ -1582,6 +1582,13 @@
 		break;
 	}
 
+	case LFUN_FONT_ITAL: {
+		Font font(ignore_font, ignore_language);
+		font.fontInfo().setShape(ITALIC_SHAPE);
+		toggleAndShow(cur, this, font);
+		break;
+	}
+
 	case LFUN_FONT_BOLD:
 	case LFUN_FONT_BOLDSYMBOL: {
 		Font font(ignore_font, ignore_language);
@@ -2104,6 +2111,10 @@
 		flag.setOnOff(fontinfo.emph() == FONT_ON);
 		break;
 
+	case LFUN_FONT_ITAL:
+		flag.setOnOff(fontinfo.shape() == ITALIC_SHAPE);
+		break;
+
 	case LFUN_FONT_NOUN:
 		flag.setOnOff(fontinfo.noun() == FONT_ON);
 		break;


underlining in a matrix

2008-11-25 Thread Robert Neumann
Hello,
I'm looking vor a way to unterline one line of a matrix. 
I use the matrix for an equation and the last line should be underlined.
\underline works only for the single entries but not for the whole line
(Lyx 13.7 on SuSE Linux)
Thanks
Robert



Re: euro-symbol in math-mode

2008-11-25 Thread Robert Neumann
works with text in math... thanks



Re: Equation array and two column layout

2008-11-25 Thread Vittorio Zuccala'
Hello Julio,
i do not know if i've understood your question.
Anyway, probably you can be interested one of this...

First solution:
press CTRL+L entering in ERT mode and then:
\begin{eqnarray}
d &=& a + b, if a>1 \nonumber \\
&=& a-b, if a<1 \nonumber \\
&=&0, if a=1 \nonumber
\end{eqnarray}

Second solution (i think better for you):
press CTRL+L entering in ERT mode and then:
$$ d = \left\{
\begin{array}{rl}  a+b &\mbox{ if a>1} \\
a-b &\mbox{ if a<1} \\
0 &\mbox{ if a=1} \\
\end{array}
\right. $$


I hope it'll be usefull for you.
Bye,
   Vittorio


On Tue, Nov 25, 2008 at 1:01 PM, Julio Rojas <[EMAIL PROTECTED]> wrote:

> Dear all, I'm finishing a paper with the two columned article class. I
> have a problem with some equation arrays that are two big for this
> format. They span over the other column or over the margins, even with
> an smaller font (\scriptstyle). What can I do to solve this problem?
> Should I use an even smaller font (\scriptscriptstyle)? How can I
> break the line in an equation array and put the right hand of the
> array under the first part, but slightly to the right?
>
> The kind of equation array I'm using is conditional:
>
> d= a+b, if a>1
> a-b, if a<1
> 0,if a=1
>
> Hope you can help me.
> -
> Julio Rojas
> [EMAIL PROTECTED]
>



-- 
Vittorio Zuccalà


Re: Helper function/shortcut

2008-11-25 Thread Frank Grimm

On 25/11/2008 14:33, rgheck wrote:

Frank Grimm wrote:

I tried the following command sequence

command-sequence font-ital; self-insert i.e.; font-ital

where I replaced font-emph in your suggestion with font-ital since I 
don't want the i.e. the be emphasized, but just in italic shape. But 
when I use the shortcut for this command LyX tells me that the command 
is disabled. Are there any restrictions for the font-ital command that 
the font-emph command doesn't have?


Apparently, yes. This seems like a bug. In fact, from what I can tell, 
font-ital never does anything in the current code.


I'm using font-emph for now, as you suggested.

But I'm not sure whether font-ital and font-emph have the same meaning. 
It doesn't matter to me since both font styles result in the text being 
set in the same italic font when using pdflatex output, but maybe for 
other output formats different fonts are used.


Thanks again,
Frank


Re: The index numbers overlap with the titles

2008-11-25 Thread Laser Yuan
Hi,

As you know, book{ams} layout can automatically general "Content", "List of
Figure" etc. But sometimes "List of Figures" has the index numbers overlap
on the titles of those figures. I exact one page pdf(below link) to show
this phenomenon. Can I fix it?
http://www.yousendit.com/download/TTZuRFFSZ1A5eFZFQlE9PQ

Thanks in advance


page numbering

2008-11-25 Thread chilly009

hey

Anyone have a command that gives the possibilty of numbering pages like   4
of 87 or 4/87??

kevin
-- 
View this message in context: 
http://n2.nabble.com/page-numbering-tp1576477p1576477.html
Sent from the LyX - Users mailing list archive at Nabble.com.



version control under osx, lyx 1.6.0 crashes

2008-11-25 Thread Niko Schwarz
Hello!
So, when I check in, lyx crashes (after checking in), on checkout, it
crashes, too.
I can send my file through PM; it is my unfinished thesis, so i'd like it to
be somewhat confidential.

Best regards,

niko


Re: Equation array and two column layout

2008-11-25 Thread Julio Rojas
Thank you Vittorio. What I would like with this matrix is that the
right column can overfill the left one and viceversa. That way I can
have the long equations and the cases in two lines (eq. on the left
column, cases on the right column) every other line.

d= a+b+c+d+e+f+g
if a,b,c,d,e,f,g >1
 a-b-c-d-e-f-g
if a,b,c,d,e,f,g<1

With this arrangement I can include the equations in just one column
of the two column paper. Is this something usual to do? What is the
"regular" way of handling the case of a series of long equations in
two columned papers?

Thanks in advance.
-
Julio Rojas
[EMAIL PROTECTED]



On Tue, Nov 25, 2008 at 2:50 PM, Vittorio Zuccala'
<[EMAIL PROTECTED]> wrote:
> Hello Julio,
> i do not know if i've understood your question.
> Anyway, probably you can be interested one of this...
>
> First solution:
> press CTRL+L entering in ERT mode and then:
> \begin{eqnarray}
> d &=& a + b, if a>1 \nonumber \\
> &=& a-b, if a<1 \nonumber \\
> &=&0, if a=1 \nonumber
> \end{eqnarray}
>
> Second solution (i think better for you):
> press CTRL+L entering in ERT mode and then:
> $$ d = \left\{
> \begin{array}{rl}  a+b &\mbox{ if a>1} \\
> a-b &\mbox{ if a<1} \\
> 0 &\mbox{ if a=1} \\
> \end{array}
> \right. $$
>
>
> I hope it'll be usefull for you.
> Bye,
>Vittorio
>
>
> On Tue, Nov 25, 2008 at 1:01 PM, Julio Rojas <[EMAIL PROTECTED]> wrote:
>>
>> Dear all, I'm finishing a paper with the two columned article class. I
>> have a problem with some equation arrays that are two big for this
>> format. They span over the other column or over the margins, even with
>> an smaller font (\scriptstyle). What can I do to solve this problem?
>> Should I use an even smaller font (\scriptscriptstyle)? How can I
>> break the line in an equation array and put the right hand of the
>> array under the first part, but slightly to the right?
>>
>> The kind of equation array I'm using is conditional:
>>
>> d= a+b, if a>1
>> a-b, if a<1
>> 0,if a=1
>>
>> Hope you can help me.
>> -
>> Julio Rojas
>> [EMAIL PROTECTED]
>
>
>
> --
> Vittorio Zuccalà
>


Re: version control under osx, lyx 1.6.0 crashes

2008-11-25 Thread Jürgen Spitzmüller
Niko Schwarz wrote:
> So, when I check in, lyx crashes (after checking in), on checkout, it
> crashes, too.
> I can send my file through PM; it is my unfinished thesis, so i'd like it
> to be somewhat confidential.

This is bug 5389:
http://bugzilla.lyx.org/show_bug.cgi?id=5389

We're working on it, but you're invited to provide further input.

Jürgen


Re: Equation array and two column layout

2008-11-25 Thread Julio Rojas
Thanks Vittorio, but this solution is not the one I'm looking for. I
would like the right column to be right aligned and the left column to
be left aligned. When I do that with your solution (changing the "rl"
to "lr") this turns our to be the original matrix I started with. As I
said, I need the right column to overfill the left one in order to
make the equation fit inside one column of the document.

Anyways, thank you very much.
-
Julio Rojas
[EMAIL PROTECTED]



On Tue, Nov 25, 2008 at 4:48 PM, Vittorio Zuccala'
<[EMAIL PROTECTED]> wrote:
> If you have to go to another line, you may use \\ in ERT
> and you may use \: to have additional space.
> In this way un can use in ERT mode:
>
> $$ d = \left\{
> \begin{array}{rl}
> a+b+c+d+e+f+g &\\ \: \mbox{ if a,b,c,d,e,f,g >1} \\
> a-b-c-d-e-f-g &\\ \: \mbox{ if a,b,c,d,e,f,g<1} \\
> 0 &\mbox{ if a=1} \\ \: \end{array}
> \right. $$
>
> I hope this will be usefull.
> Bye,
> Vittorio
>
>
> On Tue, Nov 25, 2008 at 4:18 PM, Julio Rojas <[EMAIL PROTECTED]> wrote:
>>
>> Thank you Vittorio. What I would like with this matrix is that the
>> right column can overfill the left one and viceversa. That way I can
>> have the long equations and the cases in two lines (eq. on the left
>> column, cases on the right column) every other line.
>>
>> d= a+b+c+d+e+f+g
>>if a,b,c,d,e,f,g >1
>> a-b-c-d-e-f-g
>>if a,b,c,d,e,f,g<1
>>
>> With this arrangement I can include the equations in just one column
>> of the two column paper. Is this something usual to do? What is the
>> "regular" way of handling the case of a series of long equations in
>> two columned papers?
>>
>> Thanks in advance.
>> -
>> Julio Rojas
>> [EMAIL PROTECTED]
>>
>>
>>
>> On Tue, Nov 25, 2008 at 2:50 PM, Vittorio Zuccala'
>> <[EMAIL PROTECTED]> wrote:
>> > Hello Julio,
>> > i do not know if i've understood your question.
>> > Anyway, probably you can be interested one of this...
>> >
>> > First solution:
>> > press CTRL+L entering in ERT mode and then:
>> > \begin{eqnarray}
>> > d &=& a + b, if a>1 \nonumber \\
>> > &=& a-b, if a<1 \nonumber \\
>> > &=&0, if a=1 \nonumber
>> > \end{eqnarray}
>> >
>> > Second solution (i think better for you):
>> > press CTRL+L entering in ERT mode and then:
>> > $$ d = \left\{
>> > \begin{array}{rl}  a+b &\mbox{ if a>1} \\
>> > a-b &\mbox{ if a<1} \\
>> > 0 &\mbox{ if a=1} \\
>> > \end{array}
>> > \right. $$
>> >
>> >
>> > I hope it'll be usefull for you.
>> > Bye,
>> >Vittorio
>> >
>> >
>> > On Tue, Nov 25, 2008 at 1:01 PM, Julio Rojas <[EMAIL PROTECTED]>
>> > wrote:
>> >>
>> >> Dear all, I'm finishing a paper with the two columned article class. I
>> >> have a problem with some equation arrays that are two big for this
>> >> format. They span over the other column or over the margins, even with
>> >> an smaller font (\scriptstyle). What can I do to solve this problem?
>> >> Should I use an even smaller font (\scriptscriptstyle)? How can I
>> >> break the line in an equation array and put the right hand of the
>> >> array under the first part, but slightly to the right?
>> >>
>> >> The kind of equation array I'm using is conditional:
>> >>
>> >> d= a+b, if a>1
>> >> a-b, if a<1
>> >> 0,if a=1
>> >>
>> >> Hope you can help me.
>> >> -
>> >> Julio Rojas
>> >> [EMAIL PROTECTED]
>> >
>> >
>> >
>> > --
>> > Vittorio Zuccalà
>> >
>
>
>
> --
> Vittorio Zuccalà
>


Re: PDF Update fails, LyX 1.5.7 (WinXP)

2008-11-25 Thread David Hewitt
>> I upgraded to LyX 1.5.7 on WinXP with MikTeX 2.7 (updated). Everything
>> is fine except that update PDF does not work. When I try to update an
>> open PDF, which always worked fine before, I get an error from LaTeX:
>> ---
>> I can't write on file `test.pdf'
>> ---
>>
>> The snippet of the Log file is here:
>>
>> LaTeX Info: Redefining \ref on input line 49.
>> LaTeX Info: Redefining \pageref on input line 49.
>> (test.out) (test.out
>> ! I can't write on file `test.pdf'.
>> Please type another file name for output
>> ! Emergency stop.
>> [EMAIL PROTECTED] ...utline goto name{#2}count#3{#4}
>>
>> l.1 \BOOKMARK [1][-]{section.1}{Introduction}{}
>>
>> Any help is appreciated. For the record, I updated MikTeX, refreshed
>> it, and re-created the format files, and also ran Reconfigure in LyX.
>
> I suspect you're using Acrobat Reader, which locks the file while it's open.
> Check in the LyX bin directory and see if you have pdfview.exe installed.
> If yes, go to Tools -> Preferences... -> File formats, highlight in turn each
> PDF format you use, such as PDF (pdflatex), change the Viewer from 'auto'
> to 'pdfview' and click Modify and then Save. Then I think you'll need to 
> restart
> LyX (but not reconfigure).

As usual, Paul points the way to the promised land.

A couple things:

(1) I hope that the process of changing the formats in 1.6.0 is
changed so that you don't have to type, then click 'Modify', then
Save. This is not very intuitive. Why not click 'Modify', enter new
value, click 'OK'?

(2) I have always used Adobe Reader in many past versions and never
had this issue. AND, even with the format viewer changed to 'pdfview',
Adobe Reader is the viewer that is started, but DOES allow me to
update. Huh?? Basically everything just operates the way it used to,
so I presume that with the upgrade something changed the viewer from
'pdfview' to 'auto' for me, which then broke my ability to update the
PDF displayed in Adobe Reader. Overall, I am confused as to what
'pdfview' does, particularly because when I double-click the
pdfview.exe file from explorer I get an error that no PDF viewer is
installed, with a subsequent abort.

(3) For the record, you don't even have to restart (or reconfigure) to
make this work.

Thanks Paul!
- Dave


two bibtex runs necessary (biblatex)

2008-11-25 Thread Dominik Waßenhoven
Dear list,

I have a problem regarding the biblatex package, especially my package
which builds on top of biblatex.[1] Attached is a .lyx file which shows
the problem. If I run this with LyX 1.6.0, I get an incomplete entry,
because the @collection entry is cited by the @incollection internally
and to resolve that @collection entry, a second bibtex run would be
possible. However, LyX does not provide a second bibtex run, even though
biblatex states in the log file that a second bibtex run is needed:

,--[ from the logfile ]
¦ LaTeX Warning: There were undefined references.
¦ 
¦ Package biblatex Warning: Please (re)run BibTeX on the file(s):
¦ (biblatex)lyx-biblatex-xref.aux
¦ (biblatex)and rerun LaTeX afterwards.
`

If I alter the .lyx file (e.g. add a space) and compile once more,
everything is fine. But I hope there is a solution which does not need
to have to compilation runs from inside LyX...

Any help is appreciated. 

Regards,
Dominik.-
  
==
[1] biblatex-dw, which is available from CTAN or from
http://biblatex.dominik-wassenhoven.de/biblatex-dw.shtml?en
-- 

lyx-biblatex-xref.lyx
Description: Attached file: lyx-biblatex-xref.lyx


Re: two bibtex runs necessary (biblatex)

2008-11-25 Thread Dominik Waßenhoven
Dominik Waßenhoven wrote:

> If I run this with LyX 1.6.0, I get an incomplete entry,
> because the @collection entry is cited by the @incollection internally
> and to resolve that @collection entry, a second bibtex run would be
> possible. 
  
Read: would be necessary.

> If I alter the .lyx file (e.g. add a space) and compile once more,
> everything is fine. But I hope there is a solution which does not need
> to have to compilation runs from inside LyX...
  ^^
Read: to have two compilation runs.

Regards,
Dominik.-




Re: PDF Update fails, LyX 1.5.7 (WinXP)

2008-11-25 Thread Joost Verburg

David Hewitt wrote:

(2) I have always used Adobe Reader in many past versions and never
had this issue. AND, even with the format viewer changed to 'pdfview',
Adobe Reader is the viewer that is started, but DOES allow me to
update. Huh?? Basically everything just operates the way it used to,
so I presume that with the upgrade something changed the viewer from
'pdfview' to 'auto' for me, which then broke my ability to update the
PDF displayed in Adobe Reader. Overall, I am confused as to what
'pdfview' does, particularly because when I double-click the
pdfview.exe file from explorer I get an error that no PDF viewer is
installed, with a subsequent abort.


pdfview allows you to use Adobe Reader without the file locking issue. 
The error is normal because pdfview requires a valid PDF file as parameter.


Joost



Re: middle button pasting

2008-11-25 Thread camus . philippe
I hope the joined file will help !
Of course, the braces don't matter with text-only ERT.
It's just annoying with commands.

Phil

Selon Jean-Marc Lasgouttes <[EMAIL PROTECTED]>:

> Le 21 nov. 08 � 21:48, [EMAIL PROTECTED] a �crit :
> > Within ERT, there seems to be something strange with the "lang"
> > wich leads to
> > some extra brace in the tex file and to some errors or unexpected
> > result.
> > Here's an example :
> > The first line is the original one,
> > the second, a pasted one, without modification, and the third one,
> > pasted with
> > mouse and with modifications. The extra braces came from nowhere !
> >
> > \psline[linewidth=0.8pt,linecolor=gray,linestyle=dotted]{-}
> > (6.0625,6.0625)(6.0625,8.59375)
> > \psline[linewidth=0.8pt,linecolor=gray,linestyle=dotted]{-}
> > (6.0625,6.0625)(6.0625,8.59375)
> > \psline[linewidth=0.8pt,linecolor=gray,linestyle=d{ash}ed]{-}({7}.
> > 0625,{7}.0625)({8}.0625,{9}.59375)
>
> Could you give a simple recipe. This is very weird.
>
> JMarc


%% LyX 1.6.0 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[oneside,twocolumn,french]{amsart}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{geometry}
\geometry{verbose,landscape,a4paper,tmargin=1cm,bmargin=1cm,lmargin=1cm,rmargin=1cm,headheight=0in,headsep=0in,footskip=0in}
\pagestyle{empty}
\usepackage{amsmath}
\usepackage{amssymb}

%% User specified LaTeX commands.


\usepackage{eurosym}
%\renewcommand{\texteuro}{\euro}
\usepackage{pst-plot,pst-tree,pst-eucl,pst-math,pstricks-add}
\setlength{\columnsep}{1cm}
\usepackage{fourier}
\newcommand{\R}{\mathbb{R}}
\newcommand{\N}{\mathbb{N}}
\newcommand{\D}{\mathbb{D}}
\newcommand{\Z}{\mathbb{Z}}
\newcommand{\Q}{\mathbb{Q}}
\newcommand{\C}{\mathbb{C}}
%\setlength{\textheight}{23,5cm}
\newcommand{\vect}[1]{\mathchoice%
{\overrightarrow{\displaystyle\mathstrut#1\,\,}}%
{\overrightarrow{\textstyle\mathstrut#1\,\,}}%
{\overrightarrow{\scriptstyle\mathstrut#1\,\,}}%
{\overrightarrow{\scriptscriptstyle\mathstrut#1\,\,}}}
\renewcommand{\theenumi}{\textbf{\arabic{enumi}}}
\renewcommand{\labelenumi}{\textbf{\theenumi.}}
\renewcommand{\theenumii}{\textbf{\alph{enumii}}}
\renewcommand{\labelenumii}{\textbf{\theenumii.}}
\def\Oij{$\left(\text{O},~\vect{\imath},~\vect{\jmath}\right)$}
\def\Oijk{$\left(\text{O},~\vect{\imath},~ \vect{\jmath},~ \vect{k}\right)$}
\def\Ouv{$\left(\text{O},~\vect{u},~\vect{v}\right)$}
%\setlength{\voffset}{-1,5cm}
\def\Arc#1{\buildrel\hbox{$\frown$}\over{#1}}
\def\arc#1{\setbox1=\hbox{#1}\vbox{\hbox to \wd1{\hfill$\frown$\hfill}\nointerlineskip\box1}}
\usepackage[colorlinks=true,pdfstartview=FitV,linkcolor=blue,citecolor=blue,urlcolor=blue]{hyperref}

\usepackage{babel}
\addto\extrasfrench{\providecommand{\og}{\leavevmode\flqq~}\providecommand{\fg}{\ifdim\lastskip>[EMAIL PROTECTED]

\begin{document}
This is a simple recipe !
This is a simple recipe !{ Pasted with the middle button.}
This is a simple recipe ! Pasted with the middle button.{ Did you see the braces ?}
\end{document}


Re: two bibtex runs necessary (biblatex)

2008-11-25 Thread Jürgen Spitzmüller
Dominik Waßenhoven wrote:
> Any help is appreciated.

A change in the source is needed in order to trigger this additional run. This 
is something that is doable for 1.6.1. Could you bugzilla it, please?

Jürgen


Re: PDF Update fails, LyX 1.5.7 (WinXP)

2008-11-25 Thread Paul A. Rubin

David Hewitt wrote:



As usual, Paul points the way to the promised land.


I think you're confusing me with my (much) older brother Moses.  ;-)


(2) I have always used Adobe Reader in many past versions and never
had this issue.


You probably were using pdfview in earlier versions; I know I was.  I'm 
not positive (about anything, in fact), but I think Uwe's installer 
might have made pdfview the default.



AND, even with the format viewer changed to 'pdfview',
Adobe Reader is the viewer that is started, but DOES allow me to
update. Huh?? Basically everything just operates the way it used to,
so I presume that with the upgrade something changed the viewer from
'pdfview' to 'auto' for me,


Seems likely.


which then broke my ability to update the
PDF displayed in Adobe Reader. Overall, I am confused as to what
'pdfview' does,


It runs pdfclose.exe (also in your LyX\bin directory) to close the 
existing Acroread window, then runs pdfopen.exe (yep, bin directory 
again) to open the modified file in Acroread.


If you contrast this with Update -> DVI, the difference is that Yap (the 
DVI viewer) doesn't lock the DVI file.  So LaTeX can overwrite the DVI 
file even while Yap is open, and then either LaTeX gooses Yap or Yap 
figures out on its own that the file has changed (not sure which) and 
updates its display.  I think this also works with some "off brand" PDF 
viewers.  Acroread, however, puts a lock on the PDF file while it's 
open, so when pdflatex goes to output the revised version, the OS won't 
let it overwrite the file, and pdflatex crabs about it and bails out. 
Hence the need for pdfview to close the initial window (and thus break 
the file lock) in a timely manner.



particularly because when I double-click the
pdfview.exe file from explorer I get an error that no PDF viewer is
installed, with a subsequent abort.


As Joost pointed out, pdfview requires a file as an argument (which LyX 
supplies).




Re: page numbering

2008-11-25 Thread Yago
You need the packages fancyhdr and lastpage in your preamble. And add this 
command also in the preamble:


\cfoot{\thepage of \pageref{LastPage}}
- Original Message - 
From: "chilly009" <[EMAIL PROTECTED]>

To: 
Sent: Tuesday, November 25, 2008 3:15 PM
Subject: page numbering




hey

Anyone have a command that gives the possibilty of numbering pages like 
4

of 87 or 4/87??

kevin
--
View this message in context: 
http://n2.nabble.com/page-numbering-tp1576477p1576477.html

Sent from the LyX - Users mailing list archive at Nabble.com.


__ Information from ESET NOD32 Antivirus, version of virus 
signature database 3636 (20081124) __


The message was checked by ESET NOD32 Antivirus.

http://www.eset.com






  1   2   >