Re: Import noweb file into LyX - bug under Debian/GNU Linux?

2006-11-26 Thread Gregor Gorjanc
Gregor Gorjanc [EMAIL PROTECTED] writes:
 Is anyone able to import the following noweb file into LyX? It was generated
 with LyX export function to Noweb from article noweb type. In my case LyX
 imports the file, but the text is mangled (bla bla \nwfilename{noweb.nw}
 \nwbegincode{1} ...). I have LyX 1.4.2. on Debian.

I got offline report that LyX 1.4.3 on Mac properly imports noweb file. I also
tried with 1.4.3 (1.4.3-2 version of debian package) under Debian and I again
got mangled lyx file. Bellow is the content fo that file. I have searched a bit
and found at http://www.lyx.org/announce/1_4_3.txt the following line

- Reenable import of noweb files (bug 2289).

Is it possible that this bug is still present under Linux (only Debian/GNU). Can
anyone please try the following: 

1. create new article(Noweb) file in lyx with at least on scrap environment or
look at previous post

2. export that file to noweb file or look at previous

3. import noweb file to LyX

Thank you!

Gregor

And mangled LyX file after import from simple noweb file that was created via
above described route:

#LyX file created by  tex2lyx 0.1.2
\lyxformat 245
\begin_document
\begin_header
\textclass article
\begin_preamble
%% LyX 1.4.2 created this file.  For more info, see http://www.lyx.org/.% ===
this file was generated automatically by noweave --- better not edit it
%% Do not edit unless you really know what you are doing.




\makeatletter
%% Textclass specific LaTeX commands.
\usepackage{noweb}



\makeatother

\end_preamble
\language english
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize default
\spacing single
\papersize default
\use_geometry false
\use_amsmath 0
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\end_header

\begin_body

\begin_layout Standard

bla bla
\end_layout

\begin_layout Standard


\begin_inset ERT
status collapsed

\begin_layout Standard


\backslash
nwfilename
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard

{
\end_layout

\end_inset

noweb.nw
\begin_inset ERT
status collapsed

\begin_layout Standard

}
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard


\backslash
nwbegincode
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard

{
\end_layout

\end_inset

1
\begin_inset ERT
status collapsed

\begin_layout Standard

}
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard


\backslash
sublabel
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard

{
\end_layout

\end_inset

NW32PBe0-3FFRQf-1
\begin_inset ERT
status collapsed

\begin_layout Standard

}
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard


\backslash
nwmargintag
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard

{
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard

{
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard


\backslash
nwtagstyle
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard

{}
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard


\backslash
subpageref
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard

{
\end_layout

\end_inset

NW32PBe0-3FFRQf-1
\begin_inset ERT
status collapsed

\begin_layout Standard

}
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard

}
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard

}
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard


\backslash
moddef
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard

{
\end_layout

\end_inset

chunk1\InsetSpace ~

\begin_inset ERT
status collapsed

\begin_layout Standard

{
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard


\backslash
nwtagstyle
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard

{}
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard


\backslash
subpageref
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard

{
\end_layout

\end_inset

NW32PBe0-3FFRQf-1
\begin_inset ERT
status collapsed

\begin_layout Standard

}
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard

}
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard

}
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard


\backslash
endmoddef
\end_layout

\end_inset


\begin_inset 

Re: document class svmono.cls

2006-11-26 Thread Vaclav Smidl
Hi Mark, 
you also need to have a svmono.layout file in your personal 
$HOME/.lyx/layouts/ directory. (This is on linux, probably somewhere in 
Documents and Settings in windows...).

That file does not come with default instalation. You can easily create one by 
copying e.g. book.layout with the new name and then extend it to your liking.

The svmono.layout file I have used with lyx 1.3.6. is attached.
You may need to do some changes to adapt it for 1.4.x. 

Best,
Vasek


On Sunday 26 November 2006 2:08 am, Mark Kortink wrote:
 Hi

 I have installed document class svmono.cls for Springer Verlag monographs
 in MikTex and it works OK. How do I get LyX to let me use it, it does not
 show up in the LyX drop down list of document classes, and also will svmono
 actually work with LyX?

 Thanks
 Mark Kortink

-- 
-
Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420
AS department,  Institute   web: http://staff.utia.cz/smidl/
of Information Theory and Automation,   fax: +420 26605 2068
Prague, Czech Republic
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[svmono]{Springer Monograph}
# KOMA scrbook textclass definition file.
# Bernd Rellermeyer [EMAIL PROTECTED], 1998/7/11.

# General textclass parameters
Input stdclass.inc

Sides   2
PageStyle   Headings
NoStyle Abstract

# Modify bibliography
Style Bibliography
  TopSep4
  LabelString   Bibliography

  LabelFont
Series  Bold
SizeLargest
  EndFont
End


#
# First cut at theorem environment support.
# What other theorem-like environments are needed?
# How many of these should be discarded?
# I got this list from amsmaths*.inc but I haven't
# found an official list of theorem environments for
# IEEE Transactions.
# OH!  and all theorems are numbered.  Is that a problem?
# Tell me:  [EMAIL PROTECTED]
#
# Theorem-numbered style *Template* declaration
Style TheoremTemplate
  MarginFirst_Dynamic
  LatexType Environment
  LabelSep  M
  ParIndent MM
  ParSep0.4
  Align Block
  AlignPossible Block, Left
  LabelType Static

  # label font definition
  LabelFont
Shape   Italic
  EndFont
End

# Proof style declaration
Style Proof
  CopyStyle TheoremTemplate
  LatexName proof
  LabelString   Proof:
  EndLabelType  Filled_Box
End

# Theorem-numbered style declaration
Style Theorem
  CopyStyle TheoremTemplate
  LatexName theorem
  LabelString   Theorem #:

End

# Lemma-numbered style declaration
Style Lemma
  CopyStyle TheoremTemplate
  LatexName lemma
  LabelString   Lemma #:

End

# Corollary-numbered style declaration
Style Corollary
  CopyStyle TheoremTemplate
  LatexName corollary
  LabelString   Corollary #:

End

# Proposition-numbered style declaration
Style Proposition
  CopyStyle TheoremTemplate
  LatexName proposition
  LabelString   Proposition #:
End

# Conjecture-numbered style declaration
Style Conjecture
  CopyStyle TheoremTemplate
  LatexName conjecture
  LabelString   Conjecture #:
End


# Definition-numbered style declaration
Style Definition
  CopyStyle TheoremTemplate
  LatexName definition
  LabelString   Definition #:
End

# Example-numbered style declaration
Style Example
  CopyStyle TheoremTemplate
  LatexName example
  LabelString   Example #:
End

# Condition-numbered style declaration
Style Condition
  CopyStyle TheoremTemplate
  LatexName condition
  LabelString   Condition #:

End

# Problem-numbered style declaration
Style Problem
  CopyStyle TheoremTemplate
  LatexName problem
  LabelString   Problem #:
End


# Remark-numbered style declaration
Style Remark
  CopyStyle TheoremTemplate
  LatexName remark
  LabelString   Remark #:
End

# Claim-numbered style declaration
Style Claim
  CopyStyle TheoremTemplate
  LatexName claim
  LabelString   Claim #:
End

# Note-numbered style declaration
Style Note
  CopyStyle TheoremTemplate
  LatexName note
  LabelString   Note #:
End

# Notation-numbered style declaration
Style Notation
  CopyStyle TheoremTemplate
  LatexName notation
  LabelString   Notation #:
End

# Case-numbered style declaration
Style Case
  CopyStyle TheoremTemplate
  LatexName case
  LabelString   Case #:
End

# Algorithm style declaration
Style Algorithm
  CopyStyle TheoremTemplate
  LatexName 

keyboard

2006-11-26 Thread Stefano Baroni
Hi everybody. I am an occasional LyX user, and I am starting to use  
it again after quite a long break. I may have already asked the  
question in the past, but I am afraid I did not receive an answer,  
and I was not able to find a hint in the documentation nor in the  
mailing list archive.


I have LyX 1.4.3 installed on a Mac g4, running Mac OS X 10.4.8. I  
would simply like to use my keyboard (standard mac US ascii, I  
believe) the way I am used to (i.e. punctuation symbols written right  
away, accented character composed by the standard Mac sequence, such  
as, e.g. opt-e-e = é). With my present LyX configuration (which I  
may have inadvertedly altered from the default one), accented  
characters are obtained by the sequence punctuation symbol-letter,  
e.g. ,+c=ç. Regular punctuation symbols are obtained by  
striking the punctuation key twice. I find it annoying that I have to  
use a non-standard key-stroke sequence to obtain accented characters,  
and even more annoying that I have to strike punctuation keys twice  
in order to obtain a plain punctuation symbol.


Can anybody help?

Many thanks in advance
Stefano

---
Stefano Baroni - SISSADEMOCRITOS National Simulation Center -  
Trieste

[+39] 040 3787 406 (tel) -528 (fax) / stefanobaroni (skype)

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





Re: Import noweb file into LyX - bug under Debian/GNU Linux?

2006-11-26 Thread Georg Baum
Am Sonntag, 26. November 2006 14:54 schrieb Gregor Gorjanc:
 Is it possible that this bug is still present under Linux (only 
Debian/GNU).

Unlikely. I fixed that bug, and I use Debian, so if there is a bug it is 
probably platform independant.

 Can 
 anyone please try the following: 
 
 1. create new article(Noweb) file in lyx with at least on scrap 
environment or
 look at previous post
 
 2. export that file to noweb file or look at previous
 
 3. import noweb file to LyX

I could reproduce the problem. Please file a bug report at bugzilla.lyx.org 
and attach a LyX test file.


Georg



Re: keyboard

2006-11-26 Thread Jens Noeckel


On Nov 26, 2006, at 9:04 AM, Stefano Baroni wrote:

Hi everybody. I am an occasional LyX user, and I am starting to use  
it again after quite a long break. I may have already asked the  
question in the past, but I am afraid I did not receive an answer,  
and I was not able to find a hint in the documentation nor in the  
mailing list archive.


I have LyX 1.4.3 installed on a Mac g4, running Mac OS X 10.4.8. I  
would simply like to use my keyboard (standard mac US ascii, I  
believe) the way I am used to (i.e. punctuation symbols written  
right away, accented character composed by the standard Mac  
sequence, such as, e.g. opt-e-e = é). With my present LyX  
configuration (which I may have inadvertedly altered from the  
default one), accented characters are obtained by the sequence  
punctuation symbol-letter, e.g. ,+c=ç. Regular punctuation  
symbols are obtained by striking the punctuation key twice. I find  
it annoying that I have to use a non-standard key-stroke sequence  
to obtain accented characters, and even more annoying that I have  
to strike punctuation keys twice in order to obtain a plain  
punctuation symbol.


Can anybody help?

Many thanks in advance
Stefano

---
Stefano Baroni - SISSADEMOCRITOS National Simulation Center -  
Trieste

[+39] 040 3787 406 (tel) -528 (fax) / stefanobaroni (skype)

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






Hi,
this appears to be related to one of the many bugs in LyX 1.4.x. In  
LyX 1.3.x, it used to work fine with the xforms and Qt frontends. I  
found the following bug report:


http://bugzilla.lyx.org/show_bug.cgi?id=845

and the following related thread on this list:

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

Do you find that you can enter your accents normally in a GUI dialog  
in LyX (e.g., open DocumentSettingsPreamble and type something with  
accents there)? In my case, that works as it should, whereas it  
doesn't always work in the main LyX window.


My keyboard problems only concern some accents and umlauts, and I  
don't see exactly what you're describing: e.g., when I press option- 
c I get the ç. Depending on the way your QT is compiled, you may have  
to press apple-c instead of option-c to get this to work. Maybe  
you have a keymap file in ~/Library/Application Support/LyX-1.4/kbd/  
that is causing your particular problem. Then you could try to remove  
or re-write that .kmap file. In LyX Preferences, under Keyboard, you  
can choose alternative keymap files, e.g. by copying from the  
collection in

/Applications/LyX.app/Contents/Resources/kbd/

Regards,
Jens

 

Re: Image eps

2006-11-26 Thread Georg Baum
Am Samstag, 25. November 2006 03:09 schrieb Uwe Stöhr:
 icebna schrieb:
 
   In the preamble I have included an image in format eps as logo. The
   image can see in the visor dvi, but  does not print her because says
   that  does not find her, nevertheless finds all the other images.
 
 I assume that you mean with print to print it to PDF. The reason is, that 
the PDF-format can only embed images in JPEG, PNG, or PDF-format. DVI 
 can only include EPS-images. Normally LyX takes care about this and 
transform it automatically, but LyX is not able to do this for images 
 included in the document preamble.

Exactly.

 (For more information about possible image formats, have a look in the 
appendix of the Extended-Insets manual:
 http://wiki.lyx.org/LyX/DocumentationDevelopment#Extended-Insets )
 
  That is the preamble to my logo :
  
  \newsavebox{\mylogo}
  \savebox{\mylogo}{\includegraphics[width=1cm]{/home/miguel/ant}}
  \rhead{La Escuela de las hormigas\usebox{\mylogo}}
 
 To have the needed image format, use this instead in the document 
preamble:
 
 \newsavebox{\mylogo}
 
 \usepackage{ifpdf}
 \ifpdf % if document is converted to PDF
   \savebox{\mylogo}{\includegraphics[width=1cm]{/home/miguel/ant.jpg}}
 \else % if document is converted to DVI
   \savebox{\mylogo}{\includegraphics[width=1cm]{/home/miguel/ant.eps}}
 \fi
 
 \lhead{}
 \rhead{La Escuela de las hormigas \usebox{\mylogo}}


Why? The original version should work, provided that both ant.jpg and 
and.eps exists. And I would recommend to store the logo as ant.pdf in 
vector format btw, that looks better if the original logo is not bitmapped.
I suspect that the problem is something else.


Georg



Re: keyboard

2006-11-26 Thread Stefano Baroni

On Nov 26, 2006, at 8:11 PM, Jens Noeckel wrote:

Hi,
this appears to be related to one of the many bugs in LyX 1.4.x. In  
LyX 1.3.x, it used to work fine with the xforms and Qt frontends. I  
found the following bug report:


http://bugzilla.lyx.org/show_bug.cgi?id=845

and the following related thread on this list:

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


Thank you, Jens.




Do you find that you can enter your accents normally in a GUI  
dialog in LyX (e.g., open DocumentSettingsPreamble and type  
something with accents there)?


Yes, I do ...

In my case, that works as it should, whereas it doesn't always work  
in the main LyX window.





My keyboard problems only concern some accents and umlauts, and I  
don't see exactly what you're describing: e.g., when I press  
option-c I get the ç.


I didn't. By deselecting use keyboard map in Preferences (see  
below), I do ...


Depending on the way your QT is compiled, you may have to press  
apple-c instead of option-c to get this to work. Maybe you have  
a keymap file in ~/Library/Application Support/LyX-1.4/kbd/ that is  
causing your particular problem. Then you could try to remove or re- 
write that .kmap file. In LyX Preferences, under Keyboard, you can  
choose alternative keymap files, e.g. by copying from the  
collection in

/Applications/LyX.app/Contents/Resources/kbd/


the behavior that I described in my previous posting applies to the  
american keyboard in Lyx prefernces. If I deselct use keyboard  
map therein, punctuation symbols are correctly written upon single  
key-stroke, but still I cannot obtain accented character by typing  
the standard mac option+char sequence. (with a few exceptions:  
opt+c does give ç, for instance, opt+`+a does not give à,  
though).


Stefano

---
Stefano Baroni - SISSADEMOCRITOS National Simulation Center -  
Trieste

[+39] 040 3787 406 (tel) -528 (fax) / stefanobaroni (skype)

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





Re: Parting line in table float with multicol

2006-11-26 Thread Uwe Stöhr

Detlev Humann schrieb:

Maybe I have to give more details: I 've put a mixture of text and 
tables into the 3 columns in my table float. So I am not able to use 
only the vertical lines of the table(s) to separate the 3 columns. (And 
multicol's advantage is to balance the 3 columns perfectly).


Please send a small LyX example file with your table. I can then try to find a 
solution.

regards Uwe


Re: Parting line in table float with multicol

2006-11-26 Thread Detlev Humann

Hi Uwe,

I already did yesterday. Maybe it didn't come through the mailing-list? 
I try again.


Thanks in advance
Detlev


Uwe Stöhr schrieb:

Detlev Humann schrieb:

Maybe I have to give more details: I 've put a mixture of text and 
tables into the 3 columns in my table float. So I am not able to use 
only the vertical lines of the table(s) to separate the 3 columns. 
(And multicol's advantage is to balance the 3 columns perfectly).


Please send a small LyX example file with your table. I can then try 
to find a solution.


regards Uwe



example7.lyx
Description: application/lyx


Re: Parting line in table float with multicol

2006-11-26 Thread Uwe Stöhr

Detlev Humann schrieb:


I appended an example to show the problem...


Thanks,
attached is a solution for the problem as I understood it.

regards Uwe


example7.lyx
Description: application/lyx


Re: Image eps

2006-11-26 Thread Uwe Stöhr

Georg Baum schrieb:


That is the preamble to my logo :

\newsavebox{\mylogo}
\savebox{\mylogo}{\includegraphics[width=1cm]{/home/miguel/ant}}
\rhead{La Escuela de las hormigas\usebox{\mylogo}}


This version should work, provided that both ant.jpg and 
and.eps exists.


Yes it works, you can omit my more complex solution and use your original code. Just assure that you have an EPS- and a JPEG- or PNG- or 
PDF-version of the ant image avialable.


regards Uwe


Document clases in Lyx 1.4.3

2006-11-26 Thread Pierre van der Laat Ulate
I have just installed Lyx 1.4.3 *.rpm under Mandriva 2007 from the lyx ftp 
site, the problem is that it didn't install any document clases with it, and 
the documentation doesn't include where to find them (CTAN directory).

Help welcomed.

Pierre


Re: making a table with no borders and fits page width - as well as bonus ert question

2006-11-26 Thread Paul A. Rubin

Stacia Hartleben wrote:

If you try to select a type other than inches on the drop down menu
before you have chosen a size, it won't let you change. It will only
let you change after you've typed in a number, and if it's a large
number in inches at least, LyX will slow down.



Keep in mind that LyX dialogs don't always remember changes if you 
enter/edit an entry and then click out.  When changing column width, for 
instance, if I'm changing units I can enter (or change) the width value 
and then click on the units drop down and select a new choice; but if 
I'm just changing the width (keeping the same units), I have to hit 
enter after the change to convince LyX I wasn't kidding.


Still wondering about the width, though. When I try the same method
trying to set equal widths to each column, it only sets the width of
the last column. Setting them manually is not terrible, but not ideal.



Column-by-column is the only way I know to do this (which is fine by me 
-- discourages excessive use of columns :). Also (and I suspect this is 
a LaTeX limitation), I have to guess column widths that add up to an 
appropriate value  100% of text width, to allow for inter-column 
spacing.  (This is particularly true if, horror of horrors, I use 
vertical lines, but I think it's true even in line-free tables.)


/Paul



Re: Parting line in table float with multicol

2006-11-26 Thread Detlev Humann

Thank you, Uwe.
Probably I made my example not clear enough. The problem remains: the 
columns are not balanced without multicol.
I need all 3 columns to begin and end on one horizontal line. In each 
column the space between the entries should be the same.


So I would be very happy to have a solution with multicol (and parting 
lines in a float). Is there any?


Regards
Detlev


example9.lyx
Description: application/lyx


Re: Import noweb file into LyX - bug under Debian/GNU Linux?

2006-11-26 Thread Gregor Gorjanc
Georg Baum [EMAIL PROTECTED] writes:
 Am Sonntag, 26. November 2006 14:54 schrieb Gregor Gorjanc:
  Is it possible that this bug is still present under Linux (only 
 Debian/GNU).
 
 Unlikely. I fixed that bug, and I use Debian, so if there is a bug it is 
 probably platform independant.
...
 I could reproduce the problem. Please file a bug report at bugzilla.lyx.org 
 and attach a LyX test file.

Just did that. This is also present in LyX devel i.e. 1.5. I think that this
must be platform *dependent* as I did not encounter problems with 1.4.3-5 under
Windows.

Thank you!

Gregor





Re: Import noweb file into LyX - bug under Debian/GNU Linux?

2006-11-26 Thread Gregor Gorjanc
Gregor Gorjanc [EMAIL PROTECTED] writes:
 Is anyone able to import the following noweb file into LyX? It was generated
 with LyX export function to Noweb from article noweb type. In my case LyX
 imports the file, but the text is mangled (bla bla \nwfilename{noweb.nw}
 \nwbegincode{1} ...). I have LyX 1.4.2. on Debian.

I got offline report that LyX 1.4.3 on Mac properly imports noweb file. I also
tried with 1.4.3 (1.4.3-2 version of debian package) under Debian and I again
got mangled lyx file. Bellow is the content fo that file. I have searched a bit
and found at http://www.lyx.org/announce/1_4_3.txt the following line

- Reenable import of noweb files (bug 2289).

Is it possible that this bug is still present under Linux (only Debian/GNU). Can
anyone please try the following: 

1. create new article(Noweb) file in lyx with at least on scrap environment or
look at previous post

2. export that file to noweb file or look at previous

3. import noweb file to LyX

Thank you!

Gregor

And mangled LyX file after import from simple noweb file that was created via
above described route:

#LyX file created by  tex2lyx 0.1.2
\lyxformat 245
\begin_document
\begin_header
\textclass article
\begin_preamble
%% LyX 1.4.2 created this file.  For more info, see http://www.lyx.org/.% ===
this file was generated automatically by noweave --- better not edit it
%% Do not edit unless you really know what you are doing.




\makeatletter
%% Textclass specific LaTeX commands.
\usepackage{noweb}



\makeatother

\end_preamble
\language english
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize default
\spacing single
\papersize default
\use_geometry false
\use_amsmath 0
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\end_header

\begin_body

\begin_layout Standard

bla bla
\end_layout

\begin_layout Standard


\begin_inset ERT
status collapsed

\begin_layout Standard


\backslash
nwfilename
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard

{
\end_layout

\end_inset

noweb.nw
\begin_inset ERT
status collapsed

\begin_layout Standard

}
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard


\backslash
nwbegincode
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard

{
\end_layout

\end_inset

1
\begin_inset ERT
status collapsed

\begin_layout Standard

}
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard


\backslash
sublabel
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard

{
\end_layout

\end_inset

NW32PBe0-3FFRQf-1
\begin_inset ERT
status collapsed

\begin_layout Standard

}
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard


\backslash
nwmargintag
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard

{
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard

{
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard


\backslash
nwtagstyle
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard

{}
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard


\backslash
subpageref
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard

{
\end_layout

\end_inset

NW32PBe0-3FFRQf-1
\begin_inset ERT
status collapsed

\begin_layout Standard

}
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard

}
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard

}
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard


\backslash
moddef
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard

{
\end_layout

\end_inset

chunk1\InsetSpace ~

\begin_inset ERT
status collapsed

\begin_layout Standard

{
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard


\backslash
nwtagstyle
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard

{}
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard


\backslash
subpageref
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard

{
\end_layout

\end_inset

NW32PBe0-3FFRQf-1
\begin_inset ERT
status collapsed

\begin_layout Standard

}
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard

}
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard

}
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard


\backslash
endmoddef
\end_layout

\end_inset


\begin_inset 

Re: document class svmono.cls

2006-11-26 Thread Vaclav Smidl
Hi Mark, 
you also need to have a svmono.layout file in your personal 
$HOME/.lyx/layouts/ directory. (This is on linux, probably somewhere in 
Documents and Settings in windows...).

That file does not come with default instalation. You can easily create one by 
copying e.g. book.layout with the new name and then extend it to your liking.

The svmono.layout file I have used with lyx 1.3.6. is attached.
You may need to do some changes to adapt it for 1.4.x. 

Best,
Vasek


On Sunday 26 November 2006 2:08 am, Mark Kortink wrote:
 Hi

 I have installed document class svmono.cls for Springer Verlag monographs
 in MikTex and it works OK. How do I get LyX to let me use it, it does not
 show up in the LyX drop down list of document classes, and also will svmono
 actually work with LyX?

 Thanks
 Mark Kortink

-- 
-
Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420
AS department,  Institute   web: http://staff.utia.cz/smidl/
of Information Theory and Automation,   fax: +420 26605 2068
Prague, Czech Republic
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[svmono]{Springer Monograph}
# KOMA scrbook textclass definition file.
# Bernd Rellermeyer [EMAIL PROTECTED], 1998/7/11.

# General textclass parameters
Input stdclass.inc

Sides   2
PageStyle   Headings
NoStyle Abstract

# Modify bibliography
Style Bibliography
  TopSep4
  LabelString   Bibliography

  LabelFont
Series  Bold
SizeLargest
  EndFont
End


#
# First cut at theorem environment support.
# What other theorem-like environments are needed?
# How many of these should be discarded?
# I got this list from amsmaths*.inc but I haven't
# found an official list of theorem environments for
# IEEE Transactions.
# OH!  and all theorems are numbered.  Is that a problem?
# Tell me:  [EMAIL PROTECTED]
#
# Theorem-numbered style *Template* declaration
Style TheoremTemplate
  MarginFirst_Dynamic
  LatexType Environment
  LabelSep  M
  ParIndent MM
  ParSep0.4
  Align Block
  AlignPossible Block, Left
  LabelType Static

  # label font definition
  LabelFont
Shape   Italic
  EndFont
End

# Proof style declaration
Style Proof
  CopyStyle TheoremTemplate
  LatexName proof
  LabelString   Proof:
  EndLabelType  Filled_Box
End

# Theorem-numbered style declaration
Style Theorem
  CopyStyle TheoremTemplate
  LatexName theorem
  LabelString   Theorem #:

End

# Lemma-numbered style declaration
Style Lemma
  CopyStyle TheoremTemplate
  LatexName lemma
  LabelString   Lemma #:

End

# Corollary-numbered style declaration
Style Corollary
  CopyStyle TheoremTemplate
  LatexName corollary
  LabelString   Corollary #:

End

# Proposition-numbered style declaration
Style Proposition
  CopyStyle TheoremTemplate
  LatexName proposition
  LabelString   Proposition #:
End

# Conjecture-numbered style declaration
Style Conjecture
  CopyStyle TheoremTemplate
  LatexName conjecture
  LabelString   Conjecture #:
End


# Definition-numbered style declaration
Style Definition
  CopyStyle TheoremTemplate
  LatexName definition
  LabelString   Definition #:
End

# Example-numbered style declaration
Style Example
  CopyStyle TheoremTemplate
  LatexName example
  LabelString   Example #:
End

# Condition-numbered style declaration
Style Condition
  CopyStyle TheoremTemplate
  LatexName condition
  LabelString   Condition #:

End

# Problem-numbered style declaration
Style Problem
  CopyStyle TheoremTemplate
  LatexName problem
  LabelString   Problem #:
End


# Remark-numbered style declaration
Style Remark
  CopyStyle TheoremTemplate
  LatexName remark
  LabelString   Remark #:
End

# Claim-numbered style declaration
Style Claim
  CopyStyle TheoremTemplate
  LatexName claim
  LabelString   Claim #:
End

# Note-numbered style declaration
Style Note
  CopyStyle TheoremTemplate
  LatexName note
  LabelString   Note #:
End

# Notation-numbered style declaration
Style Notation
  CopyStyle TheoremTemplate
  LatexName notation
  LabelString   Notation #:
End

# Case-numbered style declaration
Style Case
  CopyStyle TheoremTemplate
  LatexName case
  LabelString   Case #:
End

# Algorithm style declaration
Style Algorithm
  CopyStyle TheoremTemplate
  LatexName 

keyboard

2006-11-26 Thread Stefano Baroni
Hi everybody. I am an occasional LyX user, and I am starting to use  
it again after quite a long break. I may have already asked the  
question in the past, but I am afraid I did not receive an answer,  
and I was not able to find a hint in the documentation nor in the  
mailing list archive.


I have LyX 1.4.3 installed on a Mac g4, running Mac OS X 10.4.8. I  
would simply like to use my keyboard (standard mac US ascii, I  
believe) the way I am used to (i.e. punctuation symbols written right  
away, accented character composed by the standard Mac sequence, such  
as, e.g. opt-e-e = é). With my present LyX configuration (which I  
may have inadvertedly altered from the default one), accented  
characters are obtained by the sequence punctuation symbol-letter,  
e.g. ,+c=ç. Regular punctuation symbols are obtained by  
striking the punctuation key twice. I find it annoying that I have to  
use a non-standard key-stroke sequence to obtain accented characters,  
and even more annoying that I have to strike punctuation keys twice  
in order to obtain a plain punctuation symbol.


Can anybody help?

Many thanks in advance
Stefano

---
Stefano Baroni - SISSADEMOCRITOS National Simulation Center -  
Trieste

[+39] 040 3787 406 (tel) -528 (fax) / stefanobaroni (skype)

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





Re: Import noweb file into LyX - bug under Debian/GNU Linux?

2006-11-26 Thread Georg Baum
Am Sonntag, 26. November 2006 14:54 schrieb Gregor Gorjanc:
 Is it possible that this bug is still present under Linux (only 
Debian/GNU).

Unlikely. I fixed that bug, and I use Debian, so if there is a bug it is 
probably platform independant.

 Can 
 anyone please try the following: 
 
 1. create new article(Noweb) file in lyx with at least on scrap 
environment or
 look at previous post
 
 2. export that file to noweb file or look at previous
 
 3. import noweb file to LyX

I could reproduce the problem. Please file a bug report at bugzilla.lyx.org 
and attach a LyX test file.


Georg



Re: keyboard

2006-11-26 Thread Jens Noeckel


On Nov 26, 2006, at 9:04 AM, Stefano Baroni wrote:

Hi everybody. I am an occasional LyX user, and I am starting to use  
it again after quite a long break. I may have already asked the  
question in the past, but I am afraid I did not receive an answer,  
and I was not able to find a hint in the documentation nor in the  
mailing list archive.


I have LyX 1.4.3 installed on a Mac g4, running Mac OS X 10.4.8. I  
would simply like to use my keyboard (standard mac US ascii, I  
believe) the way I am used to (i.e. punctuation symbols written  
right away, accented character composed by the standard Mac  
sequence, such as, e.g. opt-e-e = é). With my present LyX  
configuration (which I may have inadvertedly altered from the  
default one), accented characters are obtained by the sequence  
punctuation symbol-letter, e.g. ,+c=ç. Regular punctuation  
symbols are obtained by striking the punctuation key twice. I find  
it annoying that I have to use a non-standard key-stroke sequence  
to obtain accented characters, and even more annoying that I have  
to strike punctuation keys twice in order to obtain a plain  
punctuation symbol.


Can anybody help?

Many thanks in advance
Stefano

---
Stefano Baroni - SISSADEMOCRITOS National Simulation Center -  
Trieste

[+39] 040 3787 406 (tel) -528 (fax) / stefanobaroni (skype)

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






Hi,
this appears to be related to one of the many bugs in LyX 1.4.x. In  
LyX 1.3.x, it used to work fine with the xforms and Qt frontends. I  
found the following bug report:


http://bugzilla.lyx.org/show_bug.cgi?id=845

and the following related thread on this list:

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

Do you find that you can enter your accents normally in a GUI dialog  
in LyX (e.g., open DocumentSettingsPreamble and type something with  
accents there)? In my case, that works as it should, whereas it  
doesn't always work in the main LyX window.


My keyboard problems only concern some accents and umlauts, and I  
don't see exactly what you're describing: e.g., when I press option- 
c I get the ç. Depending on the way your QT is compiled, you may have  
to press apple-c instead of option-c to get this to work. Maybe  
you have a keymap file in ~/Library/Application Support/LyX-1.4/kbd/  
that is causing your particular problem. Then you could try to remove  
or re-write that .kmap file. In LyX Preferences, under Keyboard, you  
can choose alternative keymap files, e.g. by copying from the  
collection in

/Applications/LyX.app/Contents/Resources/kbd/

Regards,
Jens

 

Re: Image eps

2006-11-26 Thread Georg Baum
Am Samstag, 25. November 2006 03:09 schrieb Uwe Stöhr:
 icebna schrieb:
 
   In the preamble I have included an image in format eps as logo. The
   image can see in the visor dvi, but  does not print her because says
   that  does not find her, nevertheless finds all the other images.
 
 I assume that you mean with print to print it to PDF. The reason is, that 
the PDF-format can only embed images in JPEG, PNG, or PDF-format. DVI 
 can only include EPS-images. Normally LyX takes care about this and 
transform it automatically, but LyX is not able to do this for images 
 included in the document preamble.

Exactly.

 (For more information about possible image formats, have a look in the 
appendix of the Extended-Insets manual:
 http://wiki.lyx.org/LyX/DocumentationDevelopment#Extended-Insets )
 
  That is the preamble to my logo :
  
  \newsavebox{\mylogo}
  \savebox{\mylogo}{\includegraphics[width=1cm]{/home/miguel/ant}}
  \rhead{La Escuela de las hormigas\usebox{\mylogo}}
 
 To have the needed image format, use this instead in the document 
preamble:
 
 \newsavebox{\mylogo}
 
 \usepackage{ifpdf}
 \ifpdf % if document is converted to PDF
   \savebox{\mylogo}{\includegraphics[width=1cm]{/home/miguel/ant.jpg}}
 \else % if document is converted to DVI
   \savebox{\mylogo}{\includegraphics[width=1cm]{/home/miguel/ant.eps}}
 \fi
 
 \lhead{}
 \rhead{La Escuela de las hormigas \usebox{\mylogo}}


Why? The original version should work, provided that both ant.jpg and 
and.eps exists. And I would recommend to store the logo as ant.pdf in 
vector format btw, that looks better if the original logo is not bitmapped.
I suspect that the problem is something else.


Georg



Re: keyboard

2006-11-26 Thread Stefano Baroni

On Nov 26, 2006, at 8:11 PM, Jens Noeckel wrote:

Hi,
this appears to be related to one of the many bugs in LyX 1.4.x. In  
LyX 1.3.x, it used to work fine with the xforms and Qt frontends. I  
found the following bug report:


http://bugzilla.lyx.org/show_bug.cgi?id=845

and the following related thread on this list:

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


Thank you, Jens.




Do you find that you can enter your accents normally in a GUI  
dialog in LyX (e.g., open DocumentSettingsPreamble and type  
something with accents there)?


Yes, I do ...

In my case, that works as it should, whereas it doesn't always work  
in the main LyX window.





My keyboard problems only concern some accents and umlauts, and I  
don't see exactly what you're describing: e.g., when I press  
option-c I get the ç.


I didn't. By deselecting use keyboard map in Preferences (see  
below), I do ...


Depending on the way your QT is compiled, you may have to press  
apple-c instead of option-c to get this to work. Maybe you have  
a keymap file in ~/Library/Application Support/LyX-1.4/kbd/ that is  
causing your particular problem. Then you could try to remove or re- 
write that .kmap file. In LyX Preferences, under Keyboard, you can  
choose alternative keymap files, e.g. by copying from the  
collection in

/Applications/LyX.app/Contents/Resources/kbd/


the behavior that I described in my previous posting applies to the  
american keyboard in Lyx prefernces. If I deselct use keyboard  
map therein, punctuation symbols are correctly written upon single  
key-stroke, but still I cannot obtain accented character by typing  
the standard mac option+char sequence. (with a few exceptions:  
opt+c does give ç, for instance, opt+`+a does not give à,  
though).


Stefano

---
Stefano Baroni - SISSADEMOCRITOS National Simulation Center -  
Trieste

[+39] 040 3787 406 (tel) -528 (fax) / stefanobaroni (skype)

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





Re: Parting line in table float with multicol

2006-11-26 Thread Uwe Stöhr

Detlev Humann schrieb:

Maybe I have to give more details: I 've put a mixture of text and 
tables into the 3 columns in my table float. So I am not able to use 
only the vertical lines of the table(s) to separate the 3 columns. (And 
multicol's advantage is to balance the 3 columns perfectly).


Please send a small LyX example file with your table. I can then try to find a 
solution.

regards Uwe


Re: Parting line in table float with multicol

2006-11-26 Thread Detlev Humann

Hi Uwe,

I already did yesterday. Maybe it didn't come through the mailing-list? 
I try again.


Thanks in advance
Detlev


Uwe Stöhr schrieb:

Detlev Humann schrieb:

Maybe I have to give more details: I 've put a mixture of text and 
tables into the 3 columns in my table float. So I am not able to use 
only the vertical lines of the table(s) to separate the 3 columns. 
(And multicol's advantage is to balance the 3 columns perfectly).


Please send a small LyX example file with your table. I can then try 
to find a solution.


regards Uwe



example7.lyx
Description: application/lyx


Re: Parting line in table float with multicol

2006-11-26 Thread Uwe Stöhr

Detlev Humann schrieb:


I appended an example to show the problem...


Thanks,
attached is a solution for the problem as I understood it.

regards Uwe


example7.lyx
Description: application/lyx


Re: Image eps

2006-11-26 Thread Uwe Stöhr

Georg Baum schrieb:


That is the preamble to my logo :

\newsavebox{\mylogo}
\savebox{\mylogo}{\includegraphics[width=1cm]{/home/miguel/ant}}
\rhead{La Escuela de las hormigas\usebox{\mylogo}}


This version should work, provided that both ant.jpg and 
and.eps exists.


Yes it works, you can omit my more complex solution and use your original code. Just assure that you have an EPS- and a JPEG- or PNG- or 
PDF-version of the ant image avialable.


regards Uwe


Document clases in Lyx 1.4.3

2006-11-26 Thread Pierre van der Laat Ulate
I have just installed Lyx 1.4.3 *.rpm under Mandriva 2007 from the lyx ftp 
site, the problem is that it didn't install any document clases with it, and 
the documentation doesn't include where to find them (CTAN directory).

Help welcomed.

Pierre


Re: making a table with no borders and fits page width - as well as bonus ert question

2006-11-26 Thread Paul A. Rubin

Stacia Hartleben wrote:

If you try to select a type other than inches on the drop down menu
before you have chosen a size, it won't let you change. It will only
let you change after you've typed in a number, and if it's a large
number in inches at least, LyX will slow down.



Keep in mind that LyX dialogs don't always remember changes if you 
enter/edit an entry and then click out.  When changing column width, for 
instance, if I'm changing units I can enter (or change) the width value 
and then click on the units drop down and select a new choice; but if 
I'm just changing the width (keeping the same units), I have to hit 
enter after the change to convince LyX I wasn't kidding.


Still wondering about the width, though. When I try the same method
trying to set equal widths to each column, it only sets the width of
the last column. Setting them manually is not terrible, but not ideal.



Column-by-column is the only way I know to do this (which is fine by me 
-- discourages excessive use of columns :). Also (and I suspect this is 
a LaTeX limitation), I have to guess column widths that add up to an 
appropriate value  100% of text width, to allow for inter-column 
spacing.  (This is particularly true if, horror of horrors, I use 
vertical lines, but I think it's true even in line-free tables.)


/Paul



Re: Parting line in table float with multicol

2006-11-26 Thread Detlev Humann

Thank you, Uwe.
Probably I made my example not clear enough. The problem remains: the 
columns are not balanced without multicol.
I need all 3 columns to begin and end on one horizontal line. In each 
column the space between the entries should be the same.


So I would be very happy to have a solution with multicol (and parting 
lines in a float). Is there any?


Regards
Detlev


example9.lyx
Description: application/lyx


Re: Import noweb file into LyX - bug under Debian/GNU Linux?

2006-11-26 Thread Gregor Gorjanc
Georg Baum [EMAIL PROTECTED] writes:
 Am Sonntag, 26. November 2006 14:54 schrieb Gregor Gorjanc:
  Is it possible that this bug is still present under Linux (only 
 Debian/GNU).
 
 Unlikely. I fixed that bug, and I use Debian, so if there is a bug it is 
 probably platform independant.
...
 I could reproduce the problem. Please file a bug report at bugzilla.lyx.org 
 and attach a LyX test file.

Just did that. This is also present in LyX devel i.e. 1.5. I think that this
must be platform *dependent* as I did not encounter problems with 1.4.3-5 under
Windows.

Thank you!

Gregor





Re: Import noweb file into LyX - bug under Debian/GNU Linux?

2006-11-26 Thread Gregor Gorjanc
Gregor Gorjanc <[EMAIL PROTECTED]> writes:
> Is anyone able to import the following noweb file into LyX? It was generated
> with LyX export function to Noweb from article noweb type. In my case LyX
> imports the file, but the text is mangled (bla bla \nwfilename{noweb.nw}
> \nwbegincode{1} ...). I have LyX 1.4.2. on Debian.

I got offline report that LyX 1.4.3 on Mac properly imports noweb file. I also
tried with 1.4.3 (1.4.3-2 version of debian package) under Debian and I again
got mangled lyx file. Bellow is the content fo that file. I have searched a bit
and found at http://www.lyx.org/announce/1_4_3.txt the following line

- Reenable import of noweb files (bug 2289).

Is it possible that this bug is still present under Linux (only Debian/GNU). Can
anyone please try the following: 

1. create new article(Noweb) file in lyx with at least on scrap environment or
look at previous post

2. export that file to noweb file or look at previous

3. import noweb file to LyX

Thank you!

Gregor

And mangled LyX file after import from simple noweb file that was created via
above described route:

#LyX file created by  tex2lyx 0.1.2
\lyxformat 245
\begin_document
\begin_header
\textclass article
\begin_preamble
%% LyX 1.4.2 created this file.  For more info, see http://www.lyx.org/.% ===>
this file was generated automatically by noweave --- better not edit it
%% Do not edit unless you really know what you are doing.




\makeatletter
%% Textclass specific LaTeX commands.
\usepackage{noweb}



\makeatother

\end_preamble
\language english
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize default
\spacing single
\papersize default
\use_geometry false
\use_amsmath 0
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\end_header

\begin_body

\begin_layout Standard

bla bla
\end_layout

\begin_layout Standard


\begin_inset ERT
status collapsed

\begin_layout Standard


\backslash
nwfilename
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard

{
\end_layout

\end_inset

noweb.nw
\begin_inset ERT
status collapsed

\begin_layout Standard

}
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard


\backslash
nwbegincode
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard

{
\end_layout

\end_inset

1
\begin_inset ERT
status collapsed

\begin_layout Standard

}
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard


\backslash
sublabel
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard

{
\end_layout

\end_inset

NW32PBe0-3FFRQf-1
\begin_inset ERT
status collapsed

\begin_layout Standard

}
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard


\backslash
nwmargintag
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard

{
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard

{
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard


\backslash
nwtagstyle
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard

{}
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard


\backslash
subpageref
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard

{
\end_layout

\end_inset

NW32PBe0-3FFRQf-1
\begin_inset ERT
status collapsed

\begin_layout Standard

}
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard

}
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard

}
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard


\backslash
moddef
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard

{
\end_layout

\end_inset

chunk1\InsetSpace ~

\begin_inset ERT
status collapsed

\begin_layout Standard

{
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard


\backslash
nwtagstyle
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard

{}
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard


\backslash
subpageref
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard

{
\end_layout

\end_inset

NW32PBe0-3FFRQf-1
\begin_inset ERT
status collapsed

\begin_layout Standard

}
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard

}
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard

}
\end_layout

\end_inset


\begin_inset ERT
status collapsed

\begin_layout Standard


\backslash
endmoddef
\end_layout

\end_inset



Re: document class svmono.cls

2006-11-26 Thread Vaclav Smidl
Hi Mark, 
you also need to have a svmono.layout file in your personal 
$HOME/.lyx/layouts/ directory. (This is on linux, probably somewhere in 
Documents and Settings in windows...).

That file does not come with default instalation. You can easily create one by 
copying e.g. book.layout with the new name and then extend it to your liking.

The svmono.layout file I have used with lyx 1.3.6. is attached.
You may need to do some changes to adapt it for 1.4.x. 

Best,
Vasek


On Sunday 26 November 2006 2:08 am, Mark Kortink wrote:
> Hi
>
> I have installed document class svmono.cls for Springer Verlag monographs
> in MikTex and it works OK. How do I get LyX to let me use it, it does not
> show up in the LyX drop down list of document classes, and also will svmono
> actually work with LyX?
>
> Thanks
> Mark Kortink

-- 
-
Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420
AS department,  Institute   web: http://staff.utia.cz/smidl/
of Information Theory and Automation,   fax: +420 26605 2068
Prague, Czech Republic
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[svmono]{Springer Monograph}
# KOMA scrbook textclass definition file.
# Bernd Rellermeyer <[EMAIL PROTECTED]>, 1998/7/11.

# General textclass parameters
Input stdclass.inc

Sides   2
PageStyle   Headings
NoStyle Abstract

# Modify bibliography
Style Bibliography
  TopSep4
  LabelString   Bibliography

  LabelFont
Series  Bold
SizeLargest
  EndFont
End


#
# First cut at theorem environment support.
# What other theorem-like environments are needed?
# How many of these should be discarded?
# I got this list from amsmaths*.inc but I haven't
# found an official list of theorem environments for
# IEEE Transactions.
# OH!  and all theorems are numbered.  Is that a problem?
# Tell me:  [EMAIL PROTECTED]
#
# Theorem-numbered style *Template* declaration
Style TheoremTemplate
  MarginFirst_Dynamic
  LatexType Environment
  LabelSep  M
  ParIndent MM
  ParSep0.4
  Align Block
  AlignPossible Block, Left
  LabelType Static

  # label font definition
  LabelFont
Shape   Italic
  EndFont
End

# Proof style declaration
Style Proof
  CopyStyle TheoremTemplate
  LatexName proof
  LabelString   "Proof:"
  EndLabelType  Filled_Box
End

# Theorem-numbered style declaration
Style Theorem
  CopyStyle TheoremTemplate
  LatexName theorem
  LabelString   "Theorem #:"

End

# Lemma-numbered style declaration
Style Lemma
  CopyStyle TheoremTemplate
  LatexName lemma
  LabelString   "Lemma #:"

End

# Corollary-numbered style declaration
Style Corollary
  CopyStyle TheoremTemplate
  LatexName corollary
  LabelString   "Corollary #:"

End

# Proposition-numbered style declaration
Style Proposition
  CopyStyle TheoremTemplate
  LatexName proposition
  LabelString   "Proposition #:"
End

# Conjecture-numbered style declaration
Style Conjecture
  CopyStyle TheoremTemplate
  LatexName conjecture
  LabelString   "Conjecture #:"
End


# Definition-numbered style declaration
Style Definition
  CopyStyle TheoremTemplate
  LatexName definition
  LabelString   "Definition #:"
End

# Example-numbered style declaration
Style Example
  CopyStyle TheoremTemplate
  LatexName example
  LabelString   "Example #:"
End

# Condition-numbered style declaration
Style Condition
  CopyStyle TheoremTemplate
  LatexName condition
  LabelString   "Condition #:"

End

# Problem-numbered style declaration
Style Problem
  CopyStyle TheoremTemplate
  LatexName problem
  LabelString   "Problem #:"
End


# Remark-numbered style declaration
Style Remark
  CopyStyle TheoremTemplate
  LatexName remark
  LabelString   "Remark #:"
End

# Claim-numbered style declaration
Style Claim
  CopyStyle TheoremTemplate
  LatexName claim
  LabelString   "Claim #:"
End

# Note-numbered style declaration
Style Note
  CopyStyle TheoremTemplate
  LatexName note
  LabelString   "Note #:"
End

# Notation-numbered style declaration
Style Notation
  CopyStyle TheoremTemplate
  LatexName notation
  LabelString   "Notation #:"
End

# Case-numbered style declaration
Style Case
  CopyStyle TheoremTemplate
  LatexName case
  LabelString   "Case #:"
End

# Algorithm style declaration
Style Algorithm
  CopyStyle 

keyboard

2006-11-26 Thread Stefano Baroni
Hi everybody. I am an occasional LyX user, and I am starting to use  
it again after quite a long break. I may have already asked the  
question in the past, but I am afraid I did not receive an answer,  
and I was not able to find a hint in the documentation nor in the  
mailing list archive.


I have LyX 1.4.3 installed on a Mac g4, running Mac OS X 10.4.8. I  
would simply like to use my keyboard (standard mac US ascii, I  
believe) the way I am used to (i.e. punctuation symbols written right  
away, accented character composed by the standard Mac sequence, such  
as, e.g. -e-e = "é"). With my present LyX configuration (which I  
may have inadvertedly altered from the default one), accented  
characters are obtained by the sequence -letter,  
e.g. ","+"c"="ç". Regular punctuation symbols are obtained by  
striking the punctuation key twice. I find it annoying that I have to  
use a non-standard key-stroke sequence to obtain accented characters,  
and even more annoying that I have to strike punctuation keys twice  
in order to obtain a plain punctuation symbol.


Can anybody help?

Many thanks in advance
Stefano

---
Stefano Baroni - SISSA  &  DEMOCRITOS National Simulation Center -  
Trieste

[+39] 040 3787 406 (tel) -528 (fax) / stefanobaroni (skype)

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





Re: Import noweb file into LyX - bug under Debian/GNU Linux?

2006-11-26 Thread Georg Baum
Am Sonntag, 26. November 2006 14:54 schrieb Gregor Gorjanc:
> Is it possible that this bug is still present under Linux (only 
Debian/GNU).

Unlikely. I fixed that bug, and I use Debian, so if there is a bug it is 
probably platform independant.

> Can 
> anyone please try the following: 
> 
> 1. create new article(Noweb) file in lyx with at least on scrap 
environment or
> look at previous post
> 
> 2. export that file to noweb file or look at previous
> 
> 3. import noweb file to LyX

I could reproduce the problem. Please file a bug report at bugzilla.lyx.org 
and attach a LyX test file.


Georg



Re: keyboard

2006-11-26 Thread Jens Noeckel


On Nov 26, 2006, at 9:04 AM, Stefano Baroni wrote:

Hi everybody. I am an occasional LyX user, and I am starting to use  
it again after quite a long break. I may have already asked the  
question in the past, but I am afraid I did not receive an answer,  
and I was not able to find a hint in the documentation nor in the  
mailing list archive.


I have LyX 1.4.3 installed on a Mac g4, running Mac OS X 10.4.8. I  
would simply like to use my keyboard (standard mac US ascii, I  
believe) the way I am used to (i.e. punctuation symbols written  
right away, accented character composed by the standard Mac  
sequence, such as, e.g. -e-e = "é"). With my present LyX  
configuration (which I may have inadvertedly altered from the  
default one), accented characters are obtained by the sequence  
-letter, e.g. ","+"c"="ç". Regular punctuation  
symbols are obtained by striking the punctuation key twice. I find  
it annoying that I have to use a non-standard key-stroke sequence  
to obtain accented characters, and even more annoying that I have  
to strike punctuation keys twice in order to obtain a plain  
punctuation symbol.


Can anybody help?

Many thanks in advance
Stefano

---
Stefano Baroni - SISSA  &  DEMOCRITOS National Simulation Center -  
Trieste

[+39] 040 3787 406 (tel) -528 (fax) / stefanobaroni (skype)

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






Hi,
this appears to be related to one of the many bugs in LyX 1.4.x. In  
LyX 1.3.x, it used to work fine with the xforms and Qt frontends. I  
found the following bug report:


http://bugzilla.lyx.org/show_bug.cgi?id=845

and the following related thread on this list:

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

Do you find that you can enter your accents normally in a GUI dialog  
in LyX (e.g., open Document>Settings>Preamble and type something with  
accents there)? In my case, that works as it should, whereas it  
doesn't always work in the main LyX window.


My keyboard problems only concern some accents and umlauts, and I  
don't see exactly what you're describing: e.g., when I press - 
c I get the ç. Depending on the way your QT is compiled, you may have  
to press -c instead of -c to get this to work. Maybe  
you have a keymap file in ~/Library/Application Support/LyX-1.4/kbd/  
that is causing your particular problem. Then you could try to remove  
or re-write that .kmap file. In LyX Preferences, under Keyboard, you  
can choose alternative keymap files, e.g. by copying from the  
collection in

/Applications/LyX.app/Contents/Resources/kbd/

Regards,
Jens

 

Re: Image eps

2006-11-26 Thread Georg Baum
Am Samstag, 25. November 2006 03:09 schrieb Uwe Stöhr:
> icebna schrieb:
> 
>  > In the preamble I have included an image in format eps as logo. The
>  > image can see in the visor dvi, but  does not print her because says
>  > that  does not find her, nevertheless finds all the other images.
> 
> I assume that you mean with print to print it to PDF. The reason is, that 
the PDF-format can only embed images in JPEG, PNG, or PDF-format. DVI 
> can only include EPS-images. Normally LyX takes care about this and 
transform it automatically, but LyX is not able to do this for images 
> included in the document preamble.

Exactly.

> (For more information about possible image formats, have a look in the 
appendix of the Extended-Insets manual:
> http://wiki.lyx.org/LyX/DocumentationDevelopment#Extended-Insets )
> 
> > That is the preamble to my logo :
> > 
> > \newsavebox{\mylogo}
> > \savebox{\mylogo}{\includegraphics[width=1cm]{/home/miguel/ant}}
> > \rhead{La Escuela de las hormigas\usebox{\mylogo}}
> 
> To have the needed image format, use this instead in the document 
preamble:
> 
> \newsavebox{\mylogo}
> 
> \usepackage{ifpdf}
> \ifpdf % if document is converted to PDF
>   \savebox{\mylogo}{\includegraphics[width=1cm]{/home/miguel/ant.jpg}}
> \else % if document is converted to DVI
>   \savebox{\mylogo}{\includegraphics[width=1cm]{/home/miguel/ant.eps}}
> \fi
> 
> \lhead{}
> \rhead{La Escuela de las hormigas \usebox{\mylogo}}


Why? The original version should work, provided that both ant.jpg and 
and.eps exists. And I would recommend to store the logo as ant.pdf in 
vector format btw, that looks better if the original logo is not bitmapped.
I suspect that the problem is something else.


Georg



Re: keyboard

2006-11-26 Thread Stefano Baroni

On Nov 26, 2006, at 8:11 PM, Jens Noeckel wrote:

Hi,
this appears to be related to one of the many bugs in LyX 1.4.x. In  
LyX 1.3.x, it used to work fine with the xforms and Qt frontends. I  
found the following bug report:


http://bugzilla.lyx.org/show_bug.cgi?id=845

and the following related thread on this list:

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


Thank you, Jens.




Do you find that you can enter your accents normally in a GUI  
dialog in LyX (e.g., open Document>Settings>Preamble and type  
something with accents there)?


Yes, I do ...

In my case, that works as it should, whereas it doesn't always work  
in the main LyX window.





My keyboard problems only concern some accents and umlauts, and I  
don't see exactly what you're describing: e.g., when I press  
-c I get the ç.


I didn't. By deselecting "use keyboard map" in Preferences (see  
below), I do ...


Depending on the way your QT is compiled, you may have to press  
-c instead of -c to get this to work. Maybe you have  
a keymap file in ~/Library/Application Support/LyX-1.4/kbd/ that is  
causing your particular problem. Then you could try to remove or re- 
write that .kmap file. In LyX Preferences, under Keyboard, you can  
choose alternative keymap files, e.g. by copying from the  
collection in

/Applications/LyX.app/Contents/Resources/kbd/


the behavior that I described in my previous posting applies to the  
"american" keyboard in Lyx prefernces. If I deselct "use keyboard  
map" therein, punctuation symbols are correctly written upon single  
key-stroke, but still I cannot obtain accented character by typing  
the standard mac +char sequence. (with a few exceptions:  
"+c" does give ç, for instance, "+`+a" does not give "à",  
though).


Stefano

---
Stefano Baroni - SISSA  &  DEMOCRITOS National Simulation Center -  
Trieste

[+39] 040 3787 406 (tel) -528 (fax) / stefanobaroni (skype)

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





Re: Parting line in table float with multicol

2006-11-26 Thread Uwe Stöhr

Detlev Humann schrieb:

Maybe I have to give more details: I 've put a mixture of text and 
tables into the 3 columns in my table float. So I am not able to use 
only the vertical lines of the table(s) to separate the 3 columns. (And 
multicol's advantage is to balance the 3 columns perfectly).


Please send a small LyX example file with your table. I can then try to find a 
solution.

regards Uwe


Re: Parting line in table float with multicol

2006-11-26 Thread Detlev Humann

Hi Uwe,

I already did yesterday. Maybe it didn't come through the mailing-list? 
I try again.


Thanks in advance
Detlev


Uwe Stöhr schrieb:

Detlev Humann schrieb:

Maybe I have to give more details: I 've put a mixture of text and 
tables into the 3 columns in my table float. So I am not able to use 
only the vertical lines of the table(s) to separate the 3 columns. 
(And multicol's advantage is to balance the 3 columns perfectly).


Please send a small LyX example file with your table. I can then try 
to find a solution.


regards Uwe



example7.lyx
Description: application/lyx


Re: Parting line in table float with multicol

2006-11-26 Thread Uwe Stöhr

Detlev Humann schrieb:


I appended an example to show the problem...


Thanks,
attached is a solution for the problem as I understood it.

regards Uwe


example7.lyx
Description: application/lyx


Re: Image eps

2006-11-26 Thread Uwe Stöhr

Georg Baum schrieb:


That is the preamble to my logo :

\newsavebox{\mylogo}
\savebox{\mylogo}{\includegraphics[width=1cm]{/home/miguel/ant}}
\rhead{La Escuela de las hormigas\usebox{\mylogo}}


This version should work, provided that both ant.jpg and 
and.eps exists.


Yes it works, you can omit my more complex solution and use your original code. Just assure that you have an EPS- and a JPEG- or PNG- or 
PDF-version of the ant image avialable.


regards Uwe


Document clases in Lyx 1.4.3

2006-11-26 Thread Pierre van der Laat Ulate
I have just installed Lyx 1.4.3 *.rpm under Mandriva 2007 from the lyx ftp 
site, the problem is that it didn't install any document clases with it, and 
the documentation doesn't include where to find them (CTAN directory).

Help welcomed.

Pierre


Re: making a table with no borders and fits page width - as well as bonus ert question

2006-11-26 Thread Paul A. Rubin

Stacia Hartleben wrote:

If you try to select a type other than inches on the drop down menu
before you have chosen a size, it won't let you change. It will only
let you change after you've typed in a number, and if it's a large
number in inches at least, LyX will slow down.



Keep in mind that LyX dialogs don't always remember changes if you 
enter/edit an entry and then click out.  When changing column width, for 
instance, if I'm changing units I can enter (or change) the width value 
and then click on the units drop down and select a new choice; but if 
I'm just changing the width (keeping the same units), I have to hit 
enter after the change to convince LyX I wasn't kidding.


Still wondering about the width, though. When I try the same method
trying to set equal widths to each column, it only sets the width of
the last column. Setting them manually is not terrible, but not ideal.



Column-by-column is the only way I know to do this (which is fine by me 
-- discourages excessive use of columns :). Also (and I suspect this is 
a LaTeX limitation), I have to guess column widths that add up to an 
appropriate value < 100% of text width, to allow for inter-column 
spacing.  (This is particularly true if, horror of horrors, I use 
vertical lines, but I think it's true even in line-free tables.)


/Paul



Re: Parting line in table float with multicol

2006-11-26 Thread Detlev Humann

Thank you, Uwe.
Probably I made my example not clear enough. The problem remains: the 
columns are not balanced without multicol.
I need all 3 columns to begin and end on one horizontal line. In each 
column the space between the entries should be the same.


So I would be very happy to have a solution with multicol (and parting 
lines in a float). Is there any?


Regards
Detlev


example9.lyx
Description: application/lyx


Re: Import noweb file into LyX - bug under Debian/GNU Linux?

2006-11-26 Thread Gregor Gorjanc
Georg Baum <[EMAIL PROTECTED]> writes:
> Am Sonntag, 26. November 2006 14:54 schrieb Gregor Gorjanc:
> > Is it possible that this bug is still present under Linux (only 
> Debian/GNU).
> 
> Unlikely. I fixed that bug, and I use Debian, so if there is a bug it is 
> probably platform independant.
...
> I could reproduce the problem. Please file a bug report at bugzilla.lyx.org 
> and attach a LyX test file.

Just did that. This is also present in LyX devel i.e. 1.5. I think that this
must be platform *dependent* as I did not encounter problems with 1.4.3-5 under
Windows.

Thank you!

Gregor