Re: Borders around figures

2005-03-22 Thread Miki Dovrat
Thanks for the solutions,

Andre's solution doesn't work (I actually tried it before posting), but 
Angus's solution works for all figures.

If you (I) wanted to frame just one figure, I found out you can put
\usepackage{framed} in the preamble but instead of redefining the figure 
environment, you can put \begin{framed} and \end{framed} inside the lyx 
float before and after the graphics.

Thanks again.

Miki

Miki Dovrat [EMAIL PROTECTED] wrote in 
message news:[EMAIL PROTECTED]
 Hi,

 Is there a way in lyx (or in ERT) to have a black line - border around a 
 figure?

 In LaTeX I would enclose the figure in a \fbox{...} but I don't know how 
 to work that around the figure floats in lyx.

 Does anyone know?


 Thanks

 Miki Dovrat
 The Racah Institute of Physics
 The Hebrew University of Jerusalem, Israel



 





Re: different behavior betwen screen and output with indentation

2005-03-22 Thread Charles de Miramon
Marcelo Acuÿf1a wrote:

 Hi,
 (newly, excuse me for my english)
 In User Guide  3.2.1 Introduction I can read:
 LyX uses the same convention you find among typographer.
 The first paragraph of a section, or after a figure, an equation,
 a table, a list, etc., is not indented. Only a paragraph following
 another paragraph gets indented.
 I like it. I want that my book look in this way.
 But in my book, koma-script, this behavior only appears in screen.
 In output only first paragraph after tables, list, etc., appears without
 indentation. But first paragraph after every title of section appears with
 indent. Yes, I know. I can look for each paragraph after a title and
 marked and selected Layout  Paragraph and applied No indent :( But if Lyx
 can help me I be happy :)

If you write a paper in Spanish, LaTeX follows the Spanish typographical
rules where you always indent the first line of a paragraph. Why subvert
secular Spanish rules with alien English typographical conventions. I think
the User Manual should be modified on this topic.

Marcelo, be a proud indenting Spaniard  ;-)

Cheers,
Charles
-- 
http://www.kde-france.org



View-PDF actions interchanged?

2005-03-22 Thread Marcus Beyer
Hello list!
I have the impression that the two menu entries
View : PDF (pdflatex)
View : PDF (ps to pdf)
are intechanged, i.e. the first does what the second should and vice 
versa.

One of the many symptoms: if I have \usepackage[pdfborder=0]{hyperref} 
in my preamble and choose View : PDF (pdflatex) I get an error Error 
while executing ps2pdf...

I am using LyX 1.3.5 on Mac OS X.
BTW: Is there a bug reporting system (e.g. Bugzilla) for LyX?
Grüße,
Marcus
http://www.Stormlight.de
Der Transhumanismus hat das Streben
 nach Transzendenz vom Kopf auf die Füße gestellt. -- Torsten Nahm


Re: View-PDF actions interchanged?

2005-03-22 Thread Angus Leeming
Marcus Beyer wrote:
 I have the impression that the two menu entries
 
 View : PDF (pdflatex)
 View : PDF (ps to pdf)
 
 are intechanged, i.e. the first does what the second should and vice
 versa.
 
 One of the many symptoms: if I have \usepackage[pdfborder=0]{hyperref}
 in my preamble and choose View : PDF (pdflatex) I get an error Error
 while executing ps2pdf...

 I am using LyX 1.3.5 on Mac OS X.

Hmmm. You can check by examining the contents of lyxrc.defaults (find it in
the $PREFIX/Resources/lyx directory on OSX I think). Here I have

\Format pdf   pdf   PDF P
\Format pdf2  pdf  PDF (pdflatex) F
\Format pdf3  pdf  PDF (dvipdfm)  m

\converter latex dvi latex $$i latex
\converter latex pdf2 pdflatex $$i latex
\converter literate latex none 
\converter dvi pdf3 dvipdfm $$i 
\converter dvi ps dvips -o $$o $$i 
\converter ps pdf ps2pdf -dCompatibilityLevel=1.3 $$i 

 BTW: Is there a bug reporting system (e.g. Bugzilla) for LyX?

bugzilla.lyx.org

-- 
Angus



Re: Paths concerning Lyx/ispell(french) and Fink hierarchy

2005-03-22 Thread Jean-Pierre Chretien

Date: Mon, 21 Mar 2005 14:49:37 +0100
From: Guillaume Yziquel [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Paths concerning Lyx/ispell(french) and Fink hierarchy

Hello,

When one installs ispell-french with Fink, it creates the file
/sw/lib/francais.hash, whereas Lyx looks for /sw/lib/french.hash.

What about aspell ?
there is an alias mechanism which avoids symbolic links.

-- 
Jean-Pierre



sed garbled

2005-03-22 Thread Jean-Pierre Chretien

Just for your info, here is what I get when I use Solaris sed instead of GNU sed
with make_tex2lyx_dist.sh

Making all in libs
Making all in filesystem
Making all in src
Making all in regex
Making all in src
Making all in signals
Making all in src
sed: command garbled: s,%LYX_DIR%,/usr/local/Packages/lyx-devel/LyX/share/lyx, 
;
s,%LOCALEDIR%,/usr/local/Packages/lyx-devel/LyX/share/locale, ; 
s,%TOP_SRCDIR%,/usr/local/Packages/lyx-devel,

What exactly wrong with this:

#sh make_tex2lyx_dist.sh `pwd`
Using automake (GNU automake) 1.9.5
Using autoconf (GNU Autoconf) 2.59
-n Locating GNU m4... 
/usr/local/bin/gm4
-n Generate acinclude.m4... 
done.
Building macros...
.
/usr/local/share/aclocal/pkg.m4:5: warning: underquoted definition of 
PKG_CHECK_MODULES
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/local/share/aclocal/imlib.m4:9: warning: underquoted definition of 
AM_PATH_IMLIB
/usr/local/share/aclocal/imlib.m4:167: warning: underquoted definition of 
AM_PATH_GDK_IMLIB
/usr/local/share/aclocal/gtk.m4:7: warning: underquoted definition of 
AM_PATH_GTK
...

Coul this explain why I can't get multipart conversion to work ?

-- 
Jean-Pierre




Insert graphics

2005-03-22 Thread Geoffrey Lloyd
Hi
I am having problems with some but not all my eps images.  In some cases 
lyx gives the following in the graphics box

'Error converting to loadable format'
This tends to happen with figures that I have drawn in another package, 
say Illustrator, and then exported as eps.  It doesnt always happen 
though!

Anyone else had a simialr problem or know a fix
Geoff


Re: Superscript with ^ key does not work

2005-03-22 Thread Rex Dieter
It's probably a qt-immodule issue.  See
http://bugzilla.lyx.org/show_bug.cgi?id=1830
-- Rex
Johan Ingvast wrote:
Hi
I had this question on the users list some time ago but did not get any
response. Now I hope to get some help from here instead.
/johan
On Fri, 11 Mar 2005, Johan Ingvast wrote:

Hi
I have a mysterious problem in math mode.
When I type ^ to get the superscript a hat sign is put into the mathbox
instead. 
I know there is a bind M-m-e that I can use, and it works, but I'm used
to the hat so I'd really like to get it working.

A comparison of the output from lyx -dbg lyxrc with  the output from
another mashine where it works yields identical result.
Running lyx remote on another machine works as it should, so the reason
should not be my X installation.
Also running lyx as another user on a fresh account gives the same error.
Therefore I don't think the error is in my personal configuration.
One thing that I don't understand is that my hat is normally a dead key,
but when in lyx it is not.
Here is the output from running lyx -dbg keyboard typing a^b.
I hope it gan give any hints.
   
   Press key 65 text a, ascii 97
   Setting key to 65, a
   KeySym is a
   isOK is 1
   isMod is 0
   encoding is iso8859-1
   Using codec ISO 8859-1
   ISOEncoded returning value 97
   action first set to [88]
   action now set to [88]
   Key [action=88][a]
   SelfInsert arg[`']
   Press key 4128 text none, ascii 0   -- pressing shift
   Setting key to 4128, 
   KeySym is Shift_L
   isOK is 1
   isMod is 1
   isModifier true
   Press key 4690 text ^, ascii 94-- pressing ^
   Setting key to 4690, ^
   KeySym is ^
   isOK is 1
   isMod is 0
   encoding is iso8859-1
   Using codec ISO 8859-1
   ISOEncoded returning value 94
   action first set to [-1]
   action now set to [-1]
   Key [action=-1][S-^]
   Trying without shift
   Action now -1
   isText for key 4690 isPrint is 1
   isText() is true, inserting.
   SelfInsert arg[`']
   Press key 66 text b, ascii 98
   Setting key to 66, b
   KeySym is b
   isOK is 1
   isMod is 0
   encoding is iso8859-1
   Using codec ISO 8859-1
   ISOEncoded returning value 98
   action first set to [88]
   action now set to [88]
   Key [action=88][b]
   SelfInsert arg[`']

I'm running Fedora core 3 with lyx 1.3.5 compiled on the machine.
Funny thing is that it worked earlier with the same os-installation and
lyx. 

Thanks in advance
/johan





Re: Insert graphics

2005-03-22 Thread Stephen Buonopane
On Mar 22, 2005, at 1:21 PM, Geoffrey Lloyd wrote:
Hi
I am having problems with some but not all my eps images.  In some 
cases lyx gives the following in the graphics box

'Error converting to loadable format'
This tends to happen with figures that I have drawn in another 
package, say Illustrator, and then exported as eps.  It doesnt always 
happen though!

Anyone else had a simialr problem or know a fix
Geoff

Sounds like some of your eps files have embedded tiff previews. 
Illustrator does this by default, but it can be turned off.
Latex cannot use files with embedded previews.



Re: Superscript with ^ key does not work

2005-03-22 Thread Jose' Matos
On Tuesday 22 March 2005 18:21, Rex Dieter wrote:
 It's probably a qt-immodule issue.  See
 http://bugzilla.lyx.org/show_bug.cgi?id=1830

 -- Rex

  You are right. :-(

-- 
José Abílio


Re: Insert graphics

2005-03-22 Thread Geoffrey Lloyd
Ok well removing the previews didnt work.  Is it bad practice to just use 
the .pdf versions of all the graphics?

Are there any scaling or printing issues with this
Geoff


Re: Insert graphics

2005-03-22 Thread Angus Leeming
Geoffrey Lloyd wrote:
 I am having problems with some but not all my eps images.  In some cases
 lyx gives the following in the graphics box
 
 'Error converting to loadable format'
 
 This tends to happen with figures that I have drawn in another package,
 say Illustrator, and then exported as eps.  It doesnt always happen
 though!
 
 Anyone else had a simialr problem or know a fix

This problem is symptomatic of files that are not conformant to the
PostScript standards. ImageMagick's convert utility (which you're
probably using to generate the bitmap file that is displayed on the LyX
screen) tends to barf when it encounters such nastiness. Hence the error
message.

Try using the ps2eps command line utility
http://www.telematik.informatik.uni-karlsruhe.de/~bless/ps2eps.html

It's a perl script, so you'll need to have Perl http://www.perl.org/
installed.

I've found that it sanitises dodgy PS and EPS files well and it has the
added advantage of preserving a vector graphics image as a vector graphics
image, unlike GhostScript's eps2eps and ps2ps utilites which turn your
nice vector graphic into a bitmap.

-- 
Angus



Re: pybliographer

2005-03-22 Thread Simon Bock
Martijn Brouwer wrote:
On Mon, 2005-03-21 at 10:09 +0100, Wolfgang Engelmann wrote:
I was asked by a colleague how to handle a MedLine search in order to insert 
selected references into pybliographer before piping them into lyx. 
I do not know much about Medline searches, but pybliographer can handle
medline databases. Pybliographer is really great software, especially
Sure, I did searches and they come back as expected. That's cool.
But since I don't manage to get only one result back, I'm confronted 
with e.g. 10 entries cluttering my database.

the graphical citation manager pybliographic (pybliographer also
includes some nice commandline tools).
That is what I use, but I did not manage to have multiple windows / 
reference databases in it.
What I know from the M$ world is one window to do your searches in, one 
window with your reference database, and you drag the relevant article 
out of the search results into your database.
Can this be achieved with pybliographic?

I have a 150+ article database (bibtex format) for my PhD thesis and
with pybliographic I can conveniently manage it, search articles and
Maybe I am just stupid - but isn't your bitex database cluttered with 
search results after a search?

Thank you for your opinion.
Best Regards
Simon


Re: Superscript with ^ key does not work

2005-03-22 Thread Johan Ingvast
On Tue, 22 Mar 2005, Jose' Matos wrote:

 On Tuesday 22 March 2005 18:21, Rex Dieter wrote:
  It's probably a qt-immodule issue.  See
  http://bugzilla.lyx.org/show_bug.cgi?id=1830
 
  -- Rex
 
   You are right. :-(

Thanks for the answers.
I guess I accidentially posted to both lists.
I'll answer only here where I think it belongs.

I had seen the discussion on the list about this bug. However, if I don't
remember wrong their problem was that the  ^ (or similar characters)
doesn't show up at all, by my does/did. So I did not understand it was the
same bug.
I updated my qt into qt-3.3.4-0.fc3.0  (using yum install) but after that
I could not write hats at all, just like I remembered from the maillists.
Right now I am compiling the latest version from trolltech hoping that
will solve the problem.
If that does not work I guess I should go for 
ftp://apt.kde-redhat.org/apt/kde-redhat/fedora/3/stable/RPMS/qt-3.3.3-16.3.3.kde.i386.rpm
like is proposed on lyx bugzilla.
/johan

-- 
Johan Ingvast, PhD student http://www.md.kth.se/~ingvast
Department of Machine Design, Royal Institute of Technology, Sweden
http://www.md.kth.se, http://www.md.kth.se/~cas --- Walking robot proj
tel +46 (0)8 790 95 36  mob. +46 (0)70 34 34 498



Re: Superscript with ^ key does not work

2005-03-22 Thread Rex Dieter
Johan Ingvast wrote:
I updated my qt into qt-3.3.4-0.fc3.0  (using yum install) but after that
I could not write hats at all, just like I remembered from the maillists.
Right now I am compiling the latest version from trolltech hoping that
will solve the problem.
It will solve *this* problem, but most likely cause others, as redhat's 
qt has bugfixes/patches not in the original source.

If that does not work I guess I should go for 
ftp://apt.kde-redhat.org/apt/kde-redhat/fedora/3/stable/RPMS/qt-3.3.3-16.3.3.kde.i386.rpm
like is proposed on lyx bugzilla.
That version of qt will likely go away soon, as kde-redhat has upgraded 
to qt-3.3.4, and the latest build (qt-3.3.4-5.0) includes immodule.

-- Rex


More graphics problems!

2005-03-22 Thread Geoffrey Lloyd
I have solved the previous problem to a certain extent but it seems to 
have generated another more serious one.

The initial fix was to ensure that the colour graphics were in RGB not 
CMYK.  THis appears to mean that lyx can deal with the image conversion.

If i view in dvi then the file and graphics are processed correctly.
If however i choose any of the view pdf options including dvipdfm then i 
get a page error telling me thats the file cannot be displayed.  In 
pdflatex it doesnt give an error, just doesnt display any graphics at all.

Any advice.  This document is being sent off to a publisher who may or 
may not need the pdf files.  I cant assume that dvi will be fine for them.

Geoff


Re: RE : bibliography

2005-03-22 Thread John O'Gorman
Josep Roca wrote:
A Divendres 18 Març 2005 11:16, Renard Francois va escriure:
Hum,  JabREF, tkbibtex, sixpack, ...  How to choose ?
Pybliographic (http://www.pybliographer.org/)
Pybliographer is supplied with SuSE 9.1 but does not work (missing 
_recode ).

On SuSE 9.2 is it not supplied, and I cannot find anything on the 
suse.com website.
Does anyone know where to find a SuSE RPM for Pybliographer?

John O'Gorman






Re: More graphics problems!

2005-03-22 Thread Angus Leeming
Geoffrey Lloyd wrote:

 I have solved the previous problem to a certain extent but it seems to
 have generated another more serious one.
 
 The initial fix was to ensure that the colour graphics were in RGB not
 CMYK.  THis appears to mean that lyx can deal with the image conversion.

google on 'PostScript CMYK to RGB'. See all those mentions of
ImageMagick...

-- 
Angus



Re: View-PDF actions interchanged?

2005-03-22 Thread Marcus Beyer
Am 22.03.2005 um 13:03 schrieb Angus Leeming:
Marcus Beyer wrote:
I have the impression that the two menu entries
View : PDF (pdflatex)
View : PDF (ps to pdf)
are intechanged, i.e. the first does what the second should and vice
versa.
One of the many symptoms: if I have \usepackage[pdfborder=0]{hyperref}
in my preamble and choose View : PDF (pdflatex) I get an error 
Error
while executing ps2pdf...

I am using LyX 1.3.5 on Mac OS X.
Hmmm. You can check by examining the contents of lyxrc.defaults (find 
it in
the $PREFIX/Resources/lyx directory on OSX I think). Here I have

\Format pdf   pdf   PDF P
\Format pdf2  pdf  PDF (pdflatex) F
\Format pdf3  pdf  PDF (dvipdfm)  m
\converter latex dvi latex $$i latex
\converter latex pdf2 pdflatex $$i latex
\converter literate latex none 
\converter dvi pdf3 dvipdfm $$i 
\converter dvi ps dvips -o $$o $$i 
\converter ps pdf ps2pdf -dCompatibilityLevel=1.3 $$i 
$ grep pdf /Applications/LyX.app/Contents/Resources/lyx/lyxrc.defaults
\Format pdf   pdf   PDF P
\Format pdf2  pdf  PDF (pdflatex) F
\Format pdf3  pdf  PDF (dvipdfm)  m
\converter latex pdf2 pdflatex $$i latex
\converter dvi pdf3 dvipdfm $$i 
\converter ps pdf ps2pdf -dCompatibilityLevel=1.3 $$i 
\viewer pdf none
\converter eps pdf epstopdf --outfile=$$o $$i 
Well, looks right, does it?

BTW: Is there a bug reporting system (e.g. Bugzilla) for LyX?
bugzilla.lyx.org
Ah, yes. Found the bug:
http://bugzilla.lyx.org/show_bug.cgi?id=1763
I would like to set it to confirmed, but don't have enough rights to 
do it. Can you change it, please?

thanx!
Marcus


Re: bibliography

2005-03-22 Thread Michael-E. Voges
Hey John,
Am Dienstag, 22. März 2005 22:03 schrieb John O'Gorman:
 Josep Roca wrote:
  Pybliographic (http://www.pybliographer.org/)

 Pybliographer is supplied with SuSE 9.1 but does not work (missing
 _recode ).

 On SuSE 9.2 is it not supplied, and I cannot find anything on the
 suse.com website.
 Does anyone know where to find a SuSE RPM for Pybliographer?

 John O'Gorman

I use Pybliographic as well with SuSE 9.1 as with SuSE 9.2. In both cases it 
comes with the distribution.
Take care to call pybliographic for X11 and pybliographer for the 
terminal.

Regards,

Micha-E.


umlaut problem

2005-03-22 Thread fuchst
Hi,

I am a pretty new user of lyx (with little idea of latex) and have run into 
two problems, both relating to using German umlauts in lyx (1.3.5). Basically 
(I type them, dvi/pdf displays them)  they work fine, but spell checker and 
bibliography cause some problems (also with the sz-ligature): 

The spell checker stops with an error (Spell checking failed) whenever I 
want to add a new word to the dictionary that contains an umlaut or an 
sz-ligature. 

The bibliography displays umlauts, but can't cope with the sz-ligatures 
(converting them to ss in the author names - not in the book title) . Also, 
the sorting algorithm puts umlauts as the last letters of the alphabet, e.g. 
sorting in faa after foo. As far as I know, an umlaut (e.g. o) can be 
treated as oe or simply as o, while the sz-ligature is indeed treated 
(but not spelt) as ss for sorting.
I am using a customised bibtex style created with the makebst tool; in the 
document settings, natbib-use is enabled. I use tkbibtex to enter my 
bibliographic data. 

I found a number of things on the web on umlaut problems, but haven't seen 
anything that covers the sorting and the lyx-specific spell checking issue. 
But perhaps somebody has already cracked these particular nuts.

Thanks for any ideas!

Tilo



greek letters

2005-03-22 Thread jonellis
Hi,

When I add a special character, like a greek letter, into a document it prints,
say, 'mu', instead of a mu in lyx. The output to dvi or whatever is great, but
I'd like to see the equations as I type them appear.

I'm running lyx 1.3.5 under fedora core 3.

Thanks.

Rob Ellis
UWM




Re: umlaut problem

2005-03-22 Thread G. Milde
On 23.03.05, fuchst wrote:
 
 The spell checker stops with an error (Spell checking failed) whenever I 
 want to add a new word to the dictionary that contains an umlaut or an 
 sz-ligature. 

Make sure you have ticked the input encoding (Eingabekodierung
verwenden) box in EditPreferencesLanguagesSpell-Check ==
BearbeitenEinstellungenSprach-EinstellungenRechtschreibprüfung.
 
 The bibliography displays umlauts, but can't cope with the sz-ligatures
 (converting them to ss in the author names - not in the book title).

Are you using bibtex? You might need to tex-encode the umlauts as {\a}
... {\s} there (depending on bibtex version and -style).

 Also, the sorting algorithm puts umlauts as the last letters of the
 alphabet, e.g.  sorting in faa after foo. As far as I know, an umlaut
 (e.g. o) can be treated as oe or simply as o, while the
 sz-ligature is indeed treated (but not spelt) as ss for sorting. I am
 using a customised bibtex style created with the makebst tool; in the 
 document settings, natbib-use is enabled. I use tkbibtex to enter my 
 bibliographic data. 

Bibtex comes with detailed documentation (including umlauts and
sorting) in btxdoc.dvi. 


Günter

-- 
G.Milde web.de


Re: greek letters

2005-03-22 Thread G. Milde
On 22.03.05, [EMAIL PROTECTED] wrote:
 Hi,
 
 When I add a special character, like a greek letter, into a document it 
 prints,
 say, 'mu', instead of a mu in lyx. The output to dvi or whatever is great, but
 I'd like to see the equations as I type them appear.
 
 I'm running lyx 1.3.5 under fedora core 3.

Looks like the qt math fonts problem. If you are using lyx-qt, looking at
the wiki Qt Tips might help.

Günter


-- 
G.Milde web.de


Re: putting a frame strictly around one graphic (figure) only

2005-03-22 Thread G. Milde
On 22.03.05, EXT / TEAMLOG MELLERIN Pierrick wrote:
 Hello,
 
 I would like to know what is the code for putting a frame strictly around
 one graphic (figure) only ? 

 I know that the following code is OK :
 
 \usepackage{framed}
 \renewenvironment{figure}[1][tbph]
   [EMAIL PROTECTED]
   [EMAIL PROTECTED]
 
 But it applies to all the figures of the document ...

So try to mimick this in your float: Insert the float via InsertFloatsFigure
and in the float use ERT for \begin{framed} and \end{framed}.

See also the attached example.

Guenter


-- 
G.Milde web.de
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\begin_preamble
\usepackage{framed}
\end_preamble
\language english
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\leftmargin 2cm
\topmargin 1cm
\rightmargin 2cm
\bottommargin 2cm
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language german
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
v Skoda 
\end_inset 

oder
\begin_inset ERT
status Collapsed

\layout Standard
 
\backslash 
v{S}koda
\end_inset 


\layout Standard


\begin_inset Float figure
wide false
collapsed false

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
begin{framed}
\end_inset 


\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
centerline{
\end_inset 

[Place a figure here with InsertGraphic]
\begin_inset ERT
status Collapsed

\layout Standard
}
\end_inset 


\layout Caption

Frame picture and caption
\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
end{framed}
\end_inset 


\end_inset 


\begin_inset Float figure
wide false
collapsed false

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
begin{framed}
\end_inset 


\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
centerline{
\end_inset 

[Place a figure here with InsertGraphic]
\begin_inset ERT
status Collapsed

\layout Standard
}
\end_inset 


\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
end{framed}
\end_inset 


\layout Caption

Frame picture and caption
\end_inset 


\the_end


Re: putting a frame strictly around one graphic (figure) only

2005-03-22 Thread Herbert Voss
G. Milde wrote:
On 22.03.05, EXT / TEAMLOG MELLERIN Pierrick wrote:
Hello,
I would like to know what is the code for putting a frame strictly around
one graphic (figure) only ? 

I know that the following code is OK :
\usepackage{framed}
\renewenvironment{figure}[1][tbph]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
But it applies to all the figures of the document ...

So try to mimick this in your float: Insert the float via InsertFloatsFigure
and in the float use ERT for \begin{framed} and \end{framed}.
this is a frame around the whole float and a width of the textwidth,
but not a frame around the image. For this write into the
preamble
\let\grfxinput\includegraphics
\renewcommand\includegraphics[2][]{%
  \fbox{\grfxinput[#1]{#2}}}
or alternative for a single image
\fbox{ ... insert the graphic as uaual ... }
Herbert
--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes


Re: Borders around figures

2005-03-22 Thread Miki Dovrat
Thanks for the solutions,

Andre's solution doesn't work (I actually tried it before posting), but 
Angus's solution works for all figures.

If you (I) wanted to frame just one figure, I found out you can put
\usepackage{framed} in the preamble but instead of redefining the figure 
environment, you can put \begin{framed} and \end{framed} inside the lyx 
float before and after the graphics.

Thanks again.

Miki

Miki Dovrat [EMAIL PROTECTED] wrote in 
message news:[EMAIL PROTECTED]
 Hi,

 Is there a way in lyx (or in ERT) to have a black line - border around a 
 figure?

 In LaTeX I would enclose the figure in a \fbox{...} but I don't know how 
 to work that around the figure floats in lyx.

 Does anyone know?


 Thanks

 Miki Dovrat
 The Racah Institute of Physics
 The Hebrew University of Jerusalem, Israel



 





Re: different behavior betwen screen and output with indentation

2005-03-22 Thread Charles de Miramon
Marcelo Acuÿf1a wrote:

 Hi,
 (newly, excuse me for my english)
 In User Guide  3.2.1 Introduction I can read:
 LyX uses the same convention you find among typographer.
 The first paragraph of a section, or after a figure, an equation,
 a table, a list, etc., is not indented. Only a paragraph following
 another paragraph gets indented.
 I like it. I want that my book look in this way.
 But in my book, koma-script, this behavior only appears in screen.
 In output only first paragraph after tables, list, etc., appears without
 indentation. But first paragraph after every title of section appears with
 indent. Yes, I know. I can look for each paragraph after a title and
 marked and selected Layout  Paragraph and applied No indent :( But if Lyx
 can help me I be happy :)

If you write a paper in Spanish, LaTeX follows the Spanish typographical
rules where you always indent the first line of a paragraph. Why subvert
secular Spanish rules with alien English typographical conventions. I think
the User Manual should be modified on this topic.

Marcelo, be a proud indenting Spaniard  ;-)

Cheers,
Charles
-- 
http://www.kde-france.org



View-PDF actions interchanged?

2005-03-22 Thread Marcus Beyer
Hello list!
I have the impression that the two menu entries
View : PDF (pdflatex)
View : PDF (ps to pdf)
are intechanged, i.e. the first does what the second should and vice 
versa.

One of the many symptoms: if I have \usepackage[pdfborder=0]{hyperref} 
in my preamble and choose View : PDF (pdflatex) I get an error Error 
while executing ps2pdf...

I am using LyX 1.3.5 on Mac OS X.
BTW: Is there a bug reporting system (e.g. Bugzilla) for LyX?
Grüße,
Marcus
http://www.Stormlight.de
Der Transhumanismus hat das Streben
 nach Transzendenz vom Kopf auf die Füße gestellt. -- Torsten Nahm


Re: View-PDF actions interchanged?

2005-03-22 Thread Angus Leeming
Marcus Beyer wrote:
 I have the impression that the two menu entries
 
 View : PDF (pdflatex)
 View : PDF (ps to pdf)
 
 are intechanged, i.e. the first does what the second should and vice
 versa.
 
 One of the many symptoms: if I have \usepackage[pdfborder=0]{hyperref}
 in my preamble and choose View : PDF (pdflatex) I get an error Error
 while executing ps2pdf...

 I am using LyX 1.3.5 on Mac OS X.

Hmmm. You can check by examining the contents of lyxrc.defaults (find it in
the $PREFIX/Resources/lyx directory on OSX I think). Here I have

\Format pdf   pdf   PDF P
\Format pdf2  pdf  PDF (pdflatex) F
\Format pdf3  pdf  PDF (dvipdfm)  m

\converter latex dvi latex $$i latex
\converter latex pdf2 pdflatex $$i latex
\converter literate latex none 
\converter dvi pdf3 dvipdfm $$i 
\converter dvi ps dvips -o $$o $$i 
\converter ps pdf ps2pdf -dCompatibilityLevel=1.3 $$i 

 BTW: Is there a bug reporting system (e.g. Bugzilla) for LyX?

bugzilla.lyx.org

-- 
Angus



Re: Paths concerning Lyx/ispell(french) and Fink hierarchy

2005-03-22 Thread Jean-Pierre Chretien

Date: Mon, 21 Mar 2005 14:49:37 +0100
From: Guillaume Yziquel [EMAIL PROTECTED]
To: lyx-users@lists.lyx.org
Subject: Paths concerning Lyx/ispell(french) and Fink hierarchy

Hello,

When one installs ispell-french with Fink, it creates the file
/sw/lib/francais.hash, whereas Lyx looks for /sw/lib/french.hash.

What about aspell ?
there is an alias mechanism which avoids symbolic links.

-- 
Jean-Pierre



sed garbled

2005-03-22 Thread Jean-Pierre Chretien

Just for your info, here is what I get when I use Solaris sed instead of GNU sed
with make_tex2lyx_dist.sh

Making all in libs
Making all in filesystem
Making all in src
Making all in regex
Making all in src
Making all in signals
Making all in src
sed: command garbled: s,%LYX_DIR%,/usr/local/Packages/lyx-devel/LyX/share/lyx, 
;
s,%LOCALEDIR%,/usr/local/Packages/lyx-devel/LyX/share/locale, ; 
s,%TOP_SRCDIR%,/usr/local/Packages/lyx-devel,

What exactly wrong with this:

#sh make_tex2lyx_dist.sh `pwd`
Using automake (GNU automake) 1.9.5
Using autoconf (GNU Autoconf) 2.59
-n Locating GNU m4... 
/usr/local/bin/gm4
-n Generate acinclude.m4... 
done.
Building macros...
.
/usr/local/share/aclocal/pkg.m4:5: warning: underquoted definition of 
PKG_CHECK_MODULES
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/local/share/aclocal/imlib.m4:9: warning: underquoted definition of 
AM_PATH_IMLIB
/usr/local/share/aclocal/imlib.m4:167: warning: underquoted definition of 
AM_PATH_GDK_IMLIB
/usr/local/share/aclocal/gtk.m4:7: warning: underquoted definition of 
AM_PATH_GTK
...

Coul this explain why I can't get multipart conversion to work ?

-- 
Jean-Pierre




Insert graphics

2005-03-22 Thread Geoffrey Lloyd
Hi
I am having problems with some but not all my eps images.  In some cases 
lyx gives the following in the graphics box

'Error converting to loadable format'
This tends to happen with figures that I have drawn in another package, 
say Illustrator, and then exported as eps.  It doesnt always happen 
though!

Anyone else had a simialr problem or know a fix
Geoff


Re: Superscript with ^ key does not work

2005-03-22 Thread Rex Dieter
It's probably a qt-immodule issue.  See
http://bugzilla.lyx.org/show_bug.cgi?id=1830
-- Rex
Johan Ingvast wrote:
Hi
I had this question on the users list some time ago but did not get any
response. Now I hope to get some help from here instead.
/johan
On Fri, 11 Mar 2005, Johan Ingvast wrote:

Hi
I have a mysterious problem in math mode.
When I type ^ to get the superscript a hat sign is put into the mathbox
instead. 
I know there is a bind M-m-e that I can use, and it works, but I'm used
to the hat so I'd really like to get it working.

A comparison of the output from lyx -dbg lyxrc with  the output from
another mashine where it works yields identical result.
Running lyx remote on another machine works as it should, so the reason
should not be my X installation.
Also running lyx as another user on a fresh account gives the same error.
Therefore I don't think the error is in my personal configuration.
One thing that I don't understand is that my hat is normally a dead key,
but when in lyx it is not.
Here is the output from running lyx -dbg keyboard typing a^b.
I hope it gan give any hints.
   
   Press key 65 text a, ascii 97
   Setting key to 65, a
   KeySym is a
   isOK is 1
   isMod is 0
   encoding is iso8859-1
   Using codec ISO 8859-1
   ISOEncoded returning value 97
   action first set to [88]
   action now set to [88]
   Key [action=88][a]
   SelfInsert arg[`']
   Press key 4128 text none, ascii 0   -- pressing shift
   Setting key to 4128, 
   KeySym is Shift_L
   isOK is 1
   isMod is 1
   isModifier true
   Press key 4690 text ^, ascii 94-- pressing ^
   Setting key to 4690, ^
   KeySym is ^
   isOK is 1
   isMod is 0
   encoding is iso8859-1
   Using codec ISO 8859-1
   ISOEncoded returning value 94
   action first set to [-1]
   action now set to [-1]
   Key [action=-1][S-^]
   Trying without shift
   Action now -1
   isText for key 4690 isPrint is 1
   isText() is true, inserting.
   SelfInsert arg[`']
   Press key 66 text b, ascii 98
   Setting key to 66, b
   KeySym is b
   isOK is 1
   isMod is 0
   encoding is iso8859-1
   Using codec ISO 8859-1
   ISOEncoded returning value 98
   action first set to [88]
   action now set to [88]
   Key [action=88][b]
   SelfInsert arg[`']

I'm running Fedora core 3 with lyx 1.3.5 compiled on the machine.
Funny thing is that it worked earlier with the same os-installation and
lyx. 

Thanks in advance
/johan





Re: Insert graphics

2005-03-22 Thread Stephen Buonopane
On Mar 22, 2005, at 1:21 PM, Geoffrey Lloyd wrote:
Hi
I am having problems with some but not all my eps images.  In some 
cases lyx gives the following in the graphics box

'Error converting to loadable format'
This tends to happen with figures that I have drawn in another 
package, say Illustrator, and then exported as eps.  It doesnt always 
happen though!

Anyone else had a simialr problem or know a fix
Geoff

Sounds like some of your eps files have embedded tiff previews. 
Illustrator does this by default, but it can be turned off.
Latex cannot use files with embedded previews.



Re: Superscript with ^ key does not work

2005-03-22 Thread Jose' Matos
On Tuesday 22 March 2005 18:21, Rex Dieter wrote:
 It's probably a qt-immodule issue.  See
 http://bugzilla.lyx.org/show_bug.cgi?id=1830

 -- Rex

  You are right. :-(

-- 
José Abílio


Re: Insert graphics

2005-03-22 Thread Geoffrey Lloyd
Ok well removing the previews didnt work.  Is it bad practice to just use 
the .pdf versions of all the graphics?

Are there any scaling or printing issues with this
Geoff


Re: Insert graphics

2005-03-22 Thread Angus Leeming
Geoffrey Lloyd wrote:
 I am having problems with some but not all my eps images.  In some cases
 lyx gives the following in the graphics box
 
 'Error converting to loadable format'
 
 This tends to happen with figures that I have drawn in another package,
 say Illustrator, and then exported as eps.  It doesnt always happen
 though!
 
 Anyone else had a simialr problem or know a fix

This problem is symptomatic of files that are not conformant to the
PostScript standards. ImageMagick's convert utility (which you're
probably using to generate the bitmap file that is displayed on the LyX
screen) tends to barf when it encounters such nastiness. Hence the error
message.

Try using the ps2eps command line utility
http://www.telematik.informatik.uni-karlsruhe.de/~bless/ps2eps.html

It's a perl script, so you'll need to have Perl http://www.perl.org/
installed.

I've found that it sanitises dodgy PS and EPS files well and it has the
added advantage of preserving a vector graphics image as a vector graphics
image, unlike GhostScript's eps2eps and ps2ps utilites which turn your
nice vector graphic into a bitmap.

-- 
Angus



Re: pybliographer

2005-03-22 Thread Simon Bock
Martijn Brouwer wrote:
On Mon, 2005-03-21 at 10:09 +0100, Wolfgang Engelmann wrote:
I was asked by a colleague how to handle a MedLine search in order to insert 
selected references into pybliographer before piping them into lyx. 
I do not know much about Medline searches, but pybliographer can handle
medline databases. Pybliographer is really great software, especially
Sure, I did searches and they come back as expected. That's cool.
But since I don't manage to get only one result back, I'm confronted 
with e.g. 10 entries cluttering my database.

the graphical citation manager pybliographic (pybliographer also
includes some nice commandline tools).
That is what I use, but I did not manage to have multiple windows / 
reference databases in it.
What I know from the M$ world is one window to do your searches in, one 
window with your reference database, and you drag the relevant article 
out of the search results into your database.
Can this be achieved with pybliographic?

I have a 150+ article database (bibtex format) for my PhD thesis and
with pybliographic I can conveniently manage it, search articles and
Maybe I am just stupid - but isn't your bitex database cluttered with 
search results after a search?

Thank you for your opinion.
Best Regards
Simon


Re: Superscript with ^ key does not work

2005-03-22 Thread Johan Ingvast
On Tue, 22 Mar 2005, Jose' Matos wrote:

 On Tuesday 22 March 2005 18:21, Rex Dieter wrote:
  It's probably a qt-immodule issue.  See
  http://bugzilla.lyx.org/show_bug.cgi?id=1830
 
  -- Rex
 
   You are right. :-(

Thanks for the answers.
I guess I accidentially posted to both lists.
I'll answer only here where I think it belongs.

I had seen the discussion on the list about this bug. However, if I don't
remember wrong their problem was that the  ^ (or similar characters)
doesn't show up at all, by my does/did. So I did not understand it was the
same bug.
I updated my qt into qt-3.3.4-0.fc3.0  (using yum install) but after that
I could not write hats at all, just like I remembered from the maillists.
Right now I am compiling the latest version from trolltech hoping that
will solve the problem.
If that does not work I guess I should go for 
ftp://apt.kde-redhat.org/apt/kde-redhat/fedora/3/stable/RPMS/qt-3.3.3-16.3.3.kde.i386.rpm
like is proposed on lyx bugzilla.
/johan

-- 
Johan Ingvast, PhD student http://www.md.kth.se/~ingvast
Department of Machine Design, Royal Institute of Technology, Sweden
http://www.md.kth.se, http://www.md.kth.se/~cas --- Walking robot proj
tel +46 (0)8 790 95 36  mob. +46 (0)70 34 34 498



Re: Superscript with ^ key does not work

2005-03-22 Thread Rex Dieter
Johan Ingvast wrote:
I updated my qt into qt-3.3.4-0.fc3.0  (using yum install) but after that
I could not write hats at all, just like I remembered from the maillists.
Right now I am compiling the latest version from trolltech hoping that
will solve the problem.
It will solve *this* problem, but most likely cause others, as redhat's 
qt has bugfixes/patches not in the original source.

If that does not work I guess I should go for 
ftp://apt.kde-redhat.org/apt/kde-redhat/fedora/3/stable/RPMS/qt-3.3.3-16.3.3.kde.i386.rpm
like is proposed on lyx bugzilla.
That version of qt will likely go away soon, as kde-redhat has upgraded 
to qt-3.3.4, and the latest build (qt-3.3.4-5.0) includes immodule.

-- Rex


More graphics problems!

2005-03-22 Thread Geoffrey Lloyd
I have solved the previous problem to a certain extent but it seems to 
have generated another more serious one.

The initial fix was to ensure that the colour graphics were in RGB not 
CMYK.  THis appears to mean that lyx can deal with the image conversion.

If i view in dvi then the file and graphics are processed correctly.
If however i choose any of the view pdf options including dvipdfm then i 
get a page error telling me thats the file cannot be displayed.  In 
pdflatex it doesnt give an error, just doesnt display any graphics at all.

Any advice.  This document is being sent off to a publisher who may or 
may not need the pdf files.  I cant assume that dvi will be fine for them.

Geoff


Re: RE : bibliography

2005-03-22 Thread John O'Gorman
Josep Roca wrote:
A Divendres 18 Març 2005 11:16, Renard Francois va escriure:
Hum,  JabREF, tkbibtex, sixpack, ...  How to choose ?
Pybliographic (http://www.pybliographer.org/)
Pybliographer is supplied with SuSE 9.1 but does not work (missing 
_recode ).

On SuSE 9.2 is it not supplied, and I cannot find anything on the 
suse.com website.
Does anyone know where to find a SuSE RPM for Pybliographer?

John O'Gorman






Re: More graphics problems!

2005-03-22 Thread Angus Leeming
Geoffrey Lloyd wrote:

 I have solved the previous problem to a certain extent but it seems to
 have generated another more serious one.
 
 The initial fix was to ensure that the colour graphics were in RGB not
 CMYK.  THis appears to mean that lyx can deal with the image conversion.

google on 'PostScript CMYK to RGB'. See all those mentions of
ImageMagick...

-- 
Angus



Re: View-PDF actions interchanged?

2005-03-22 Thread Marcus Beyer
Am 22.03.2005 um 13:03 schrieb Angus Leeming:
Marcus Beyer wrote:
I have the impression that the two menu entries
View : PDF (pdflatex)
View : PDF (ps to pdf)
are intechanged, i.e. the first does what the second should and vice
versa.
One of the many symptoms: if I have \usepackage[pdfborder=0]{hyperref}
in my preamble and choose View : PDF (pdflatex) I get an error 
Error
while executing ps2pdf...

I am using LyX 1.3.5 on Mac OS X.
Hmmm. You can check by examining the contents of lyxrc.defaults (find 
it in
the $PREFIX/Resources/lyx directory on OSX I think). Here I have

\Format pdf   pdf   PDF P
\Format pdf2  pdf  PDF (pdflatex) F
\Format pdf3  pdf  PDF (dvipdfm)  m
\converter latex dvi latex $$i latex
\converter latex pdf2 pdflatex $$i latex
\converter literate latex none 
\converter dvi pdf3 dvipdfm $$i 
\converter dvi ps dvips -o $$o $$i 
\converter ps pdf ps2pdf -dCompatibilityLevel=1.3 $$i 
$ grep pdf /Applications/LyX.app/Contents/Resources/lyx/lyxrc.defaults
\Format pdf   pdf   PDF P
\Format pdf2  pdf  PDF (pdflatex) F
\Format pdf3  pdf  PDF (dvipdfm)  m
\converter latex pdf2 pdflatex $$i latex
\converter dvi pdf3 dvipdfm $$i 
\converter ps pdf ps2pdf -dCompatibilityLevel=1.3 $$i 
\viewer pdf none
\converter eps pdf epstopdf --outfile=$$o $$i 
Well, looks right, does it?

BTW: Is there a bug reporting system (e.g. Bugzilla) for LyX?
bugzilla.lyx.org
Ah, yes. Found the bug:
http://bugzilla.lyx.org/show_bug.cgi?id=1763
I would like to set it to confirmed, but don't have enough rights to 
do it. Can you change it, please?

thanx!
Marcus


Re: bibliography

2005-03-22 Thread Michael-E. Voges
Hey John,
Am Dienstag, 22. März 2005 22:03 schrieb John O'Gorman:
 Josep Roca wrote:
  Pybliographic (http://www.pybliographer.org/)

 Pybliographer is supplied with SuSE 9.1 but does not work (missing
 _recode ).

 On SuSE 9.2 is it not supplied, and I cannot find anything on the
 suse.com website.
 Does anyone know where to find a SuSE RPM for Pybliographer?

 John O'Gorman

I use Pybliographic as well with SuSE 9.1 as with SuSE 9.2. In both cases it 
comes with the distribution.
Take care to call pybliographic for X11 and pybliographer for the 
terminal.

Regards,

Micha-E.


umlaut problem

2005-03-22 Thread fuchst
Hi,

I am a pretty new user of lyx (with little idea of latex) and have run into 
two problems, both relating to using German umlauts in lyx (1.3.5). Basically 
(I type them, dvi/pdf displays them)  they work fine, but spell checker and 
bibliography cause some problems (also with the sz-ligature): 

The spell checker stops with an error (Spell checking failed) whenever I 
want to add a new word to the dictionary that contains an umlaut or an 
sz-ligature. 

The bibliography displays umlauts, but can't cope with the sz-ligatures 
(converting them to ss in the author names - not in the book title) . Also, 
the sorting algorithm puts umlauts as the last letters of the alphabet, e.g. 
sorting in faa after foo. As far as I know, an umlaut (e.g. o) can be 
treated as oe or simply as o, while the sz-ligature is indeed treated 
(but not spelt) as ss for sorting.
I am using a customised bibtex style created with the makebst tool; in the 
document settings, natbib-use is enabled. I use tkbibtex to enter my 
bibliographic data. 

I found a number of things on the web on umlaut problems, but haven't seen 
anything that covers the sorting and the lyx-specific spell checking issue. 
But perhaps somebody has already cracked these particular nuts.

Thanks for any ideas!

Tilo



greek letters

2005-03-22 Thread jonellis
Hi,

When I add a special character, like a greek letter, into a document it prints,
say, 'mu', instead of a mu in lyx. The output to dvi or whatever is great, but
I'd like to see the equations as I type them appear.

I'm running lyx 1.3.5 under fedora core 3.

Thanks.

Rob Ellis
UWM




Re: umlaut problem

2005-03-22 Thread G. Milde
On 23.03.05, fuchst wrote:
 
 The spell checker stops with an error (Spell checking failed) whenever I 
 want to add a new word to the dictionary that contains an umlaut or an 
 sz-ligature. 

Make sure you have ticked the input encoding (Eingabekodierung
verwenden) box in EditPreferencesLanguagesSpell-Check ==
BearbeitenEinstellungenSprach-EinstellungenRechtschreibprüfung.
 
 The bibliography displays umlauts, but can't cope with the sz-ligatures
 (converting them to ss in the author names - not in the book title).

Are you using bibtex? You might need to tex-encode the umlauts as {\a}
... {\s} there (depending on bibtex version and -style).

 Also, the sorting algorithm puts umlauts as the last letters of the
 alphabet, e.g.  sorting in faa after foo. As far as I know, an umlaut
 (e.g. o) can be treated as oe or simply as o, while the
 sz-ligature is indeed treated (but not spelt) as ss for sorting. I am
 using a customised bibtex style created with the makebst tool; in the 
 document settings, natbib-use is enabled. I use tkbibtex to enter my 
 bibliographic data. 

Bibtex comes with detailed documentation (including umlauts and
sorting) in btxdoc.dvi. 


Günter

-- 
G.Milde web.de


Re: greek letters

2005-03-22 Thread G. Milde
On 22.03.05, [EMAIL PROTECTED] wrote:
 Hi,
 
 When I add a special character, like a greek letter, into a document it 
 prints,
 say, 'mu', instead of a mu in lyx. The output to dvi or whatever is great, but
 I'd like to see the equations as I type them appear.
 
 I'm running lyx 1.3.5 under fedora core 3.

Looks like the qt math fonts problem. If you are using lyx-qt, looking at
the wiki Qt Tips might help.

Günter


-- 
G.Milde web.de


Re: putting a frame strictly around one graphic (figure) only

2005-03-22 Thread G. Milde
On 22.03.05, EXT / TEAMLOG MELLERIN Pierrick wrote:
 Hello,
 
 I would like to know what is the code for putting a frame strictly around
 one graphic (figure) only ? 

 I know that the following code is OK :
 
 \usepackage{framed}
 \renewenvironment{figure}[1][tbph]
   [EMAIL PROTECTED]
   [EMAIL PROTECTED]
 
 But it applies to all the figures of the document ...

So try to mimick this in your float: Insert the float via InsertFloatsFigure
and in the float use ERT for \begin{framed} and \end{framed}.

See also the attached example.

Guenter


-- 
G.Milde web.de
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\begin_preamble
\usepackage{framed}
\end_preamble
\language english
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\leftmargin 2cm
\topmargin 1cm
\rightmargin 2cm
\bottommargin 2cm
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language german
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
v Skoda 
\end_inset 

oder
\begin_inset ERT
status Collapsed

\layout Standard
 
\backslash 
v{S}koda
\end_inset 


\layout Standard


\begin_inset Float figure
wide false
collapsed false

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
begin{framed}
\end_inset 


\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
centerline{
\end_inset 

[Place a figure here with InsertGraphic]
\begin_inset ERT
status Collapsed

\layout Standard
}
\end_inset 


\layout Caption

Frame picture and caption
\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
end{framed}
\end_inset 


\end_inset 


\begin_inset Float figure
wide false
collapsed false

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
begin{framed}
\end_inset 


\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
centerline{
\end_inset 

[Place a figure here with InsertGraphic]
\begin_inset ERT
status Collapsed

\layout Standard
}
\end_inset 


\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
end{framed}
\end_inset 


\layout Caption

Frame picture and caption
\end_inset 


\the_end


Re: putting a frame strictly around one graphic (figure) only

2005-03-22 Thread Herbert Voss
G. Milde wrote:
On 22.03.05, EXT / TEAMLOG MELLERIN Pierrick wrote:
Hello,
I would like to know what is the code for putting a frame strictly around
one graphic (figure) only ? 

I know that the following code is OK :
\usepackage{framed}
\renewenvironment{figure}[1][tbph]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
But it applies to all the figures of the document ...

So try to mimick this in your float: Insert the float via InsertFloatsFigure
and in the float use ERT for \begin{framed} and \end{framed}.
this is a frame around the whole float and a width of the textwidth,
but not a frame around the image. For this write into the
preamble
\let\grfxinput\includegraphics
\renewcommand\includegraphics[2][]{%
  \fbox{\grfxinput[#1]{#2}}}
or alternative for a single image
\fbox{ ... insert the graphic as uaual ... }
Herbert
--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes


Re: Borders around figures

2005-03-22 Thread Miki Dovrat
Thanks for the solutions,

Andre's solution doesn't work (I actually tried it before posting), but 
Angus's solution works for all figures.

If you (I) wanted to frame just one figure, I found out you can put
\usepackage{framed} in the preamble but instead of redefining the figure 
environment, you can put \begin{framed} and \end{framed} inside the lyx 
float before and after the graphics.

Thanks again.

Miki

"Miki Dovrat" <[EMAIL PROTECTED]> wrote in 
message news:[EMAIL PROTECTED]
> Hi,
>
> Is there a way in lyx (or in ERT) to have a black line - border around a 
> figure?
>
> In LaTeX I would enclose the figure in a \fbox{...} but I don't know how 
> to work that around the figure floats in lyx.
>
> Does anyone know?
>
>
> Thanks
>
> Miki Dovrat
> The Racah Institute of Physics
> The Hebrew University of Jerusalem, Israel
>
>
>
> 





Re: different behavior betwen screen and output with indentation

2005-03-22 Thread Charles de Miramon
Marcelo Acuÿf1a wrote:

> Hi,
> (newly, excuse me for my english)
> In User Guide > 3.2.1 Introduction I can read:
> "LyX uses the same convention you find among typographer.
> The first paragraph of a section, or after a figure, an equation,
> a table, a list, etc., is not indented. Only a paragraph following
> another paragraph gets indented."
> I like it. I want that my book look in this way.
> But in my book, koma-script, this behavior only appears in screen.
> In output only first paragraph after tables, list, etc., appears without
> indentation. But first paragraph after every title of section appears with
> indent. Yes, I know. I can look for each paragraph after a title and
> marked and selected Layout > Paragraph and applied No indent :( But if Lyx
> can help me I be happy :)

If you write a paper in Spanish, LaTeX follows the Spanish typographical
rules where you always indent the first line of a paragraph. Why subvert
secular Spanish rules with alien English typographical conventions. I think
the User Manual should be modified on this topic.

Marcelo, be a proud indenting Spaniard  ;-)

Cheers,
Charles
-- 
http://www.kde-france.org



View-PDF actions interchanged?

2005-03-22 Thread Marcus Beyer
Hello list!
I have the impression that the two menu entries
View : PDF (pdflatex)
View : PDF (ps to pdf)
are intechanged, i.e. the first does what the second should and vice 
versa.

One of the many symptoms: if I have \usepackage[pdfborder=0]{hyperref} 
in my preamble and choose "View : PDF (pdflatex)" I get an error "Error 
while executing ps2pdf"...

I am using LyX 1.3.5 on Mac OS X.
BTW: Is there a bug reporting system (e.g. Bugzilla) for LyX?
Grüße,
Marcus

"Der Transhumanismus hat das Streben
 nach Transzendenz vom Kopf auf die Füße gestellt." -- Torsten Nahm


Re: View-PDF actions interchanged?

2005-03-22 Thread Angus Leeming
Marcus Beyer wrote:
> I have the impression that the two menu entries
> 
> View : PDF (pdflatex)
> View : PDF (ps to pdf)
> 
> are intechanged, i.e. the first does what the second should and vice
> versa.
> 
> One of the many symptoms: if I have \usepackage[pdfborder=0]{hyperref}
> in my preamble and choose "View : PDF (pdflatex)" I get an error "Error
> while executing ps2pdf"...
>
> I am using LyX 1.3.5 on Mac OS X.

Hmmm. You can check by examining the contents of lyxrc.defaults (find it in
the $PREFIX/Resources/lyx directory on OSX I think). Here I have

\Format pdf   pdf   PDF P
\Format pdf2  pdf  "PDF (pdflatex)" F
\Format pdf3  pdf  "PDF (dvipdfm)"  m

\converter latex dvi "latex $$i" "latex"
\converter latex pdf2 "pdflatex $$i" "latex"
\converter literate latex "none" ""
\converter dvi pdf3 "dvipdfm $$i" ""
\converter dvi ps "dvips -o $$o $$i" ""
\converter ps pdf "ps2pdf -dCompatibilityLevel=1.3 $$i" ""

> BTW: Is there a bug reporting system (e.g. Bugzilla) for LyX?

bugzilla.lyx.org

-- 
Angus



Re: Paths concerning Lyx/ispell(french) and Fink hierarchy

2005-03-22 Thread Jean-Pierre Chretien

>>Date: Mon, 21 Mar 2005 14:49:37 +0100
>>From: Guillaume Yziquel <[EMAIL PROTECTED]>
>>To: lyx-users@lists.lyx.org
>>Subject: Paths concerning Lyx/ispell(french) and Fink hierarchy
>>
>>Hello,
>>
>>When one installs ispell-french with Fink, it creates the file
>>/sw/lib/francais.hash, whereas Lyx looks for /sw/lib/french.hash.

What about aspell ?
there is an alias mechanism which avoids symbolic links.

-- 
Jean-Pierre



sed garbled

2005-03-22 Thread Jean-Pierre Chretien

Just for your info, here is what I get when I use Solaris sed instead of GNU sed
with make_tex2lyx_dist.sh

Making all in libs
Making all in filesystem
Making all in src
Making all in regex
Making all in src
Making all in signals
Making all in src
sed: command garbled: s,%LYX_DIR%,/usr/local/Packages/lyx-devel/LyX/share/lyx, 
;
s,%LOCALEDIR%,/usr/local/Packages/lyx-devel/LyX/share/locale, ; 
s,%TOP_SRCDIR%,/usr/local/Packages/lyx-devel,

What exactly wrong with this:

#sh make_tex2lyx_dist.sh `pwd`
Using automake (GNU automake) 1.9.5
Using autoconf (GNU Autoconf) 2.59
-n Locating GNU m4... 
/usr/local/bin/gm4
-n Generate acinclude.m4... 
done.
Building macros...
.
/usr/local/share/aclocal/pkg.m4:5: warning: underquoted definition of 
PKG_CHECK_MODULES
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/local/share/aclocal/imlib.m4:9: warning: underquoted definition of 
AM_PATH_IMLIB
/usr/local/share/aclocal/imlib.m4:167: warning: underquoted definition of 
AM_PATH_GDK_IMLIB
/usr/local/share/aclocal/gtk.m4:7: warning: underquoted definition of 
AM_PATH_GTK
...

Coul this explain why I can't get multipart conversion to work ?

-- 
Jean-Pierre




Insert graphics

2005-03-22 Thread Geoffrey Lloyd
Hi
I am having problems with some but not all my eps images.  In some cases 
lyx gives the following in the graphics box

'Error converting to loadable format'
This tends to happen with figures that I have drawn in another package, 
say Illustrator, and then exported as eps.  It doesnt always happen 
though!

Anyone else had a simialr problem or know a fix
Geoff


Re: Superscript with ^ key does not work

2005-03-22 Thread Rex Dieter
It's probably a qt-immodule issue.  See
http://bugzilla.lyx.org/show_bug.cgi?id=1830
-- Rex
Johan Ingvast wrote:
Hi
I had this question on the users list some time ago but did not get any
response. Now I hope to get some help from here instead.
/johan
On Fri, 11 Mar 2005, Johan Ingvast wrote:

Hi
I have a mysterious problem in math mode.
When I type "^" to get the superscript a hat sign is put into the mathbox
instead. 
I know there is a bind "M-m-e" that I can use, and it works, but I'm used
to the hat so I'd really like to get it working.

A comparison of the output from "lyx -dbg lyxrc" with  the output from
another mashine where it works yields identical result.
Running lyx remote on another machine works as it should, so the reason
should not be my X installation.
Also running lyx as another user on a fresh account gives the same error.
Therefore I don't think the error is in my personal configuration.
One thing that I don't understand is that my hat is normally a dead key,
but when in lyx it is not.
Here is the output from running "lyx -dbg keyboard" typing "a^b".
I hope it gan give any hints.
   
   Press key 65 text "a", ascii "97"
   Setting key to 65, a
   KeySym is a
   isOK is 1
   isMod is 0
   encoding is iso8859-1
   Using codec ISO 8859-1
   ISOEncoded returning value 97
   action first set to [88]
   action now set to [88]
   Key [action=88][a]
   SelfInsert arg[`']
   Press key 4128 text "none", ascii "0"   <-- pressing shift
   Setting key to 4128, 
   KeySym is Shift_L
   isOK is 1
   isMod is 1
   isModifier true
   Press key 4690 text "^", ascii "94"<-- pressing "^"
   Setting key to 4690, ^
   KeySym is ^
   isOK is 1
   isMod is 0
   encoding is iso8859-1
   Using codec ISO 8859-1
   ISOEncoded returning value 94
   action first set to [-1]
   action now set to [-1]
   Key [action=-1][S-^]
   Trying without shift
   Action now -1
   isText for key 4690 isPrint is 1
   isText() is true, inserting.
   SelfInsert arg[`']
   Press key 66 text "b", ascii "98"
   Setting key to 66, b
   KeySym is b
   isOK is 1
   isMod is 0
   encoding is iso8859-1
   Using codec ISO 8859-1
   ISOEncoded returning value 98
   action first set to [88]
   action now set to [88]
   Key [action=88][b]
   SelfInsert arg[`']

I'm running Fedora core 3 with lyx 1.3.5 compiled on the machine.
Funny thing is that it worked earlier with the same os-installation and
lyx. 

Thanks in advance
/johan





Re: Insert graphics

2005-03-22 Thread Stephen Buonopane
On Mar 22, 2005, at 1:21 PM, Geoffrey Lloyd wrote:
Hi
I am having problems with some but not all my eps images.  In some 
cases lyx gives the following in the graphics box

'Error converting to loadable format'
This tends to happen with figures that I have drawn in another 
package, say Illustrator, and then exported as eps.  It doesnt always 
happen though!

Anyone else had a simialr problem or know a fix
Geoff

Sounds like some of your eps files have embedded tiff previews. 
Illustrator does this by default, but it can be turned off.
Latex cannot use files with embedded previews.



Re: Superscript with ^ key does not work

2005-03-22 Thread Jose' Matos
On Tuesday 22 March 2005 18:21, Rex Dieter wrote:
> It's probably a qt-immodule issue.  See
> http://bugzilla.lyx.org/show_bug.cgi?id=1830
>
> -- Rex

  You are right. :-(

-- 
José Abílio


Re: Insert graphics

2005-03-22 Thread Geoffrey Lloyd
Ok well removing the previews didnt work.  Is it bad practice to just use 
the .pdf versions of all the graphics?

Are there any scaling or printing issues with this
Geoff


Re: Insert graphics

2005-03-22 Thread Angus Leeming
Geoffrey Lloyd wrote:
> I am having problems with some but not all my eps images.  In some cases
> lyx gives the following in the graphics box
> 
> 'Error converting to loadable format'
> 
> This tends to happen with figures that I have drawn in another package,
> say Illustrator, and then exported as eps.  It doesnt always happen
> though!
> 
> Anyone else had a simialr problem or know a fix

This problem is symptomatic of files that are not conformant to the
PostScript standards. ImageMagick's "convert" utility (which you're
probably using to generate the bitmap file that is displayed on the LyX
screen) tends to barf when it encounters such nastiness. Hence the error
message.

Try using the ps2eps command line utility
http://www.telematik.informatik.uni-karlsruhe.de/~bless/ps2eps.html

It's a perl script, so you'll need to have Perl http://www.perl.org/
installed.

I've found that it sanitises dodgy PS and EPS files well and it has the
added advantage of preserving a vector graphics image as a vector graphics
image, unlike GhostScript's eps2eps and ps2ps utilites which turn your
nice vector graphic into a bitmap.

-- 
Angus



Re: pybliographer

2005-03-22 Thread Simon Bock
Martijn Brouwer wrote:
On Mon, 2005-03-21 at 10:09 +0100, Wolfgang Engelmann wrote:
I was asked by a colleague how to handle a MedLine search in order to insert 
selected references into pybliographer before piping them into lyx. 
I do not know much about Medline searches, but pybliographer can handle
medline databases. Pybliographer is really great software, especially
Sure, I did searches and they come back as expected. That's cool.
But since I don't manage to get only one result back, I'm confronted 
with e.g. 10 entries cluttering my database.

the graphical citation manager pybliographic (pybliographer also
includes some nice commandline tools).
That is what I use, but I did not manage to have multiple windows / 
reference databases in it.
What I know from the M$ world is one window to do your searches in, one 
window with your reference database, and you drag the relevant article 
out of the search results into your database.
Can this be achieved with pybliographic?

I have a 150+ article database (bibtex format) for my PhD thesis and
with pybliographic I can conveniently manage it, search articles and
Maybe I am just stupid - but isn't your bitex database cluttered with 
search results after a search?

Thank you for your opinion.
Best Regards
Simon


Re: Superscript with ^ key does not work

2005-03-22 Thread Johan Ingvast
On Tue, 22 Mar 2005, Jose' Matos wrote:

> On Tuesday 22 March 2005 18:21, Rex Dieter wrote:
> > It's probably a qt-immodule issue.  See
> > http://bugzilla.lyx.org/show_bug.cgi?id=1830
> >
> > -- Rex
> 
>   You are right. :-(

Thanks for the answers.
I guess I accidentially posted to both lists.
I'll answer only here where I think it belongs.

I had seen the discussion on the list about this bug. However, if I don't
remember wrong their problem was that the  ^ (or similar characters)
doesn't show up at all, by my does/did. So I did not understand it was the
same bug.
I updated my qt into qt-3.3.4-0.fc3.0  (using yum install) but after that
I could not write hats at all, just like I remembered from the maillists.
Right now I am compiling the latest version from trolltech hoping that
will solve the problem.
If that does not work I guess I should go for 
ftp://apt.kde-redhat.org/apt/kde-redhat/fedora/3/stable/RPMS/qt-3.3.3-16.3.3.kde.i386.rpm
like is proposed on lyx bugzilla.
/johan

-- 
Johan Ingvast, PhD student http://www.md.kth.se/~ingvast
Department of Machine Design, Royal Institute of Technology, Sweden
http://www.md.kth.se, http://www.md.kth.se/~cas <--- Walking robot proj
tel +46 (0)8 790 95 36  mob. +46 (0)70 34 34 498



Re: Superscript with ^ key does not work

2005-03-22 Thread Rex Dieter
Johan Ingvast wrote:
I updated my qt into qt-3.3.4-0.fc3.0  (using yum install) but after that
I could not write hats at all, just like I remembered from the maillists.
Right now I am compiling the latest version from trolltech hoping that
will solve the problem.
It will solve *this* problem, but most likely cause others, as redhat's 
qt has bugfixes/patches not in the original source.

If that does not work I guess I should go for 
ftp://apt.kde-redhat.org/apt/kde-redhat/fedora/3/stable/RPMS/qt-3.3.3-16.3.3.kde.i386.rpm
like is proposed on lyx bugzilla.
That version of qt will likely go away soon, as kde-redhat has upgraded 
to qt-3.3.4, and the latest build (qt-3.3.4-5.0) includes immodule.

-- Rex


More graphics problems!

2005-03-22 Thread Geoffrey Lloyd
I have solved the previous problem to a certain extent but it seems to 
have generated another more serious one.

The initial fix was to ensure that the colour graphics were in RGB not 
CMYK.  THis appears to mean that lyx can deal with the image conversion.

If i view in dvi then the file and graphics are processed correctly.
If however i choose any of the view pdf options including dvipdfm then i 
get a page error telling me thats the file cannot be displayed.  In 
pdflatex it doesnt give an error, just doesnt display any graphics at all.

Any advice.  This document is being sent off to a publisher who may or 
may not need the pdf files.  I cant assume that dvi will be fine for them.

Geoff


Re: RE : bibliography

2005-03-22 Thread John O'Gorman
Josep Roca wrote:
A Divendres 18 Març 2005 11:16, Renard Francois va escriure:
Hum,  JabREF, tkbibtex, sixpack, ...  How to choose ?
Pybliographic (http://www.pybliographer.org/)
Pybliographer is supplied with SuSE 9.1 but does not work (missing 
_recode ).

On SuSE 9.2 is it not supplied, and I cannot find anything on the 
suse.com website.
Does anyone know where to find a SuSE RPM for Pybliographer?

John O'Gorman






Re: More graphics problems!

2005-03-22 Thread Angus Leeming
Geoffrey Lloyd wrote:

> I have solved the previous problem to a certain extent but it seems to
> have generated another more serious one.
> 
> The initial fix was to ensure that the colour graphics were in RGB not
> CMYK.  THis appears to mean that lyx can deal with the image conversion.

google on 'PostScript "CMYK to RGB"'. See all those mentions of
ImageMagick...

-- 
Angus



Re: View-PDF actions interchanged?

2005-03-22 Thread Marcus Beyer
Am 22.03.2005 um 13:03 schrieb Angus Leeming:
Marcus Beyer wrote:
I have the impression that the two menu entries
View : PDF (pdflatex)
View : PDF (ps to pdf)
are intechanged, i.e. the first does what the second should and vice
versa.
One of the many symptoms: if I have \usepackage[pdfborder=0]{hyperref}
in my preamble and choose "View : PDF (pdflatex)" I get an error 
"Error
while executing ps2pdf"...

I am using LyX 1.3.5 on Mac OS X.
Hmmm. You can check by examining the contents of lyxrc.defaults (find 
it in
the $PREFIX/Resources/lyx directory on OSX I think). Here I have

\Format pdf   pdf   PDF P
\Format pdf2  pdf  "PDF (pdflatex)" F
\Format pdf3  pdf  "PDF (dvipdfm)"  m
\converter latex dvi "latex $$i" "latex"
\converter latex pdf2 "pdflatex $$i" "latex"
\converter literate latex "none" ""
\converter dvi pdf3 "dvipdfm $$i" ""
\converter dvi ps "dvips -o $$o $$i" ""
\converter ps pdf "ps2pdf -dCompatibilityLevel=1.3 $$i" ""
$ grep pdf /Applications/LyX.app/Contents/Resources/lyx/lyxrc.defaults
\Format pdf   pdf   PDF P
\Format pdf2  pdf  "PDF (pdflatex)" F
\Format pdf3  pdf  "PDF (dvipdfm)"  m
\converter latex pdf2 "pdflatex $$i" "latex"
\converter dvi pdf3 "dvipdfm $$i" ""
\converter ps pdf "ps2pdf -dCompatibilityLevel=1.3 $$i" ""
\viewer pdf "none"
\converter eps pdf "epstopdf --outfile=$$o $$i" ""
Well, looks right, does it?

BTW: Is there a bug reporting system (e.g. Bugzilla) for LyX?
bugzilla.lyx.org
Ah, yes. Found the bug:
http://bugzilla.lyx.org/show_bug.cgi?id=1763
I would like to set it to "confirmed", but don't have enough rights to 
do it. Can you change it, please?

thanx!
Marcus


Re: bibliography

2005-03-22 Thread Michael-E. Voges
Hey John,
Am Dienstag, 22. März 2005 22:03 schrieb John O'Gorman:
> Josep Roca wrote:
> > Pybliographic (http://www.pybliographer.org/)
>
> Pybliographer is supplied with SuSE 9.1 but does not work (missing
> _recode ).
>
> On SuSE 9.2 is it not supplied, and I cannot find anything on the
> suse.com website.
> Does anyone know where to find a SuSE RPM for Pybliographer?
>
> John O'Gorman

I use Pybliographic as well with SuSE 9.1 as with SuSE 9.2. In both cases it 
comes with the distribution.
Take care to call "pybliographic" for X11 and "pybliographer" for the 
terminal.

Regards,

Micha-E.


umlaut problem

2005-03-22 Thread fuchst
Hi,

I am a pretty new user of lyx (with little idea of latex) and have run into 
two problems, both relating to using German umlauts in lyx (1.3.5). Basically 
(I type them, dvi/pdf displays them)  they work fine, but spell checker and 
bibliography cause some problems (also with the sz-ligature): 

The spell checker stops with an error ("Spell checking failed") whenever I 
want to add a new word to the dictionary that contains an umlaut or an 
sz-ligature. 

The bibliography displays umlauts, but can't cope with the sz-ligatures 
(converting them to "ss" in the author names - not in the book title) . Also, 
the sorting algorithm puts umlauts as the last letters of the alphabet, e.g. 
sorting in f"aa after foo. As far as I know, an umlaut (e.g. "o) can be 
treated as "oe" or simply as "o", while the sz-ligature is indeed treated 
(but not spelt) as "ss" for sorting.
I am using a customised bibtex style created with the makebst tool; in the 
document settings, natbib-use is enabled. I use tkbibtex to enter my 
bibliographic data. 

I found a number of things on the web on umlaut problems, but haven't seen 
anything that covers the sorting and the lyx-specific spell checking issue. 
But perhaps somebody has already cracked these particular nuts.

Thanks for any ideas!

Tilo



greek letters

2005-03-22 Thread jonellis
Hi,

When I add a special character, like a greek letter, into a document it prints,
say, 'mu', instead of a mu in lyx. The output to dvi or whatever is great, but
I'd like to see the equations as I type them appear.

I'm running lyx 1.3.5 under fedora core 3.

Thanks.

Rob Ellis
UWM




Re: umlaut problem

2005-03-22 Thread G. Milde
On 23.03.05, fuchst wrote:
 
> The spell checker stops with an error ("Spell checking failed") whenever I 
> want to add a new word to the dictionary that contains an umlaut or an 
> sz-ligature. 

Make sure you have ticked the "input encoding" ("Eingabekodierung
verwenden") box in Edit>Preferences>Languages>Spell-Check ==
Bearbeiten>Einstellungen>Sprach-Einstellungen>Rechtschreibprüfung.
 
> The bibliography displays umlauts, but can't cope with the sz-ligatures
> (converting them to "ss" in the author names - not in the book title).

Are you using bibtex? You might need to "tex-encode" the umlauts as {\"a}
... {\"s} there (depending on bibtex version and -style).

> Also, the sorting algorithm puts umlauts as the last letters of the
> alphabet, e.g.  sorting in f"aa after foo. As far as I know, an umlaut
> (e.g. "o) can be treated as "oe" or simply as "o", while the
> sz-ligature is indeed treated (but not spelt) as "ss" for sorting. I am
> using a customised bibtex style created with the makebst tool; in the 
> document settings, natbib-use is enabled. I use tkbibtex to enter my 
> bibliographic data. 

Bibtex comes with detailed documentation (including umlauts and
sorting) in btxdoc.dvi. 


Günter

-- 
G.Milde web.de


Re: greek letters

2005-03-22 Thread G. Milde
On 22.03.05, [EMAIL PROTECTED] wrote:
> Hi,
> 
> When I add a special character, like a greek letter, into a document it 
> prints,
> say, 'mu', instead of a mu in lyx. The output to dvi or whatever is great, but
> I'd like to see the equations as I type them appear.
> 
> I'm running lyx 1.3.5 under fedora core 3.

Looks like the qt math fonts problem. If you are using lyx-qt, looking at
the wiki Qt Tips might help.

Günter


-- 
G.Milde web.de


Re: putting a frame strictly around one graphic (figure) only

2005-03-22 Thread G. Milde
On 22.03.05, EXT / TEAMLOG MELLERIN Pierrick wrote:
> Hello,
> 
> I would like to know what is the code for putting a frame strictly around
> one graphic (figure) only ? 

> I know that the following code is OK :
> 
> \usepackage{framed}
> \renewenvironment{figure}[1][tbph]
>   [EMAIL PROTECTED]
>   [EMAIL PROTECTED]
> 
> But it applies to all the figures of the document ...

So try to mimick this in your float: Insert the float via Insert>Floats>Figure
and in the float use ERT for \begin{framed} and \end{framed}.

See also the attached example.

Guenter


-- 
G.Milde web.de
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\begin_preamble
\usepackage{framed}
\end_preamble
\language english
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\leftmargin 2cm
\topmargin 1cm
\rightmargin 2cm
\bottommargin 2cm
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language german
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
v Skoda 
\end_inset 

oder
\begin_inset ERT
status Collapsed

\layout Standard
 
\backslash 
v{S}koda
\end_inset 


\layout Standard


\begin_inset Float figure
wide false
collapsed false

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
begin{framed}
\end_inset 


\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
centerline{
\end_inset 

[Place a figure here with Insert>Graphic]
\begin_inset ERT
status Collapsed

\layout Standard
}
\end_inset 


\layout Caption

Frame picture and caption
\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
end{framed}
\end_inset 


\end_inset 


\begin_inset Float figure
wide false
collapsed false

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
begin{framed}
\end_inset 


\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
centerline{
\end_inset 

[Place a figure here with Insert>Graphic]
\begin_inset ERT
status Collapsed

\layout Standard
}
\end_inset 


\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
end{framed}
\end_inset 


\layout Caption

Frame picture and caption
\end_inset 


\the_end


Re: putting a frame strictly around one graphic (figure) only

2005-03-22 Thread Herbert Voss
G. Milde wrote:
On 22.03.05, EXT / TEAMLOG MELLERIN Pierrick wrote:
Hello,
I would like to know what is the code for putting a frame strictly around
one graphic (figure) only ? 

I know that the following code is OK :
\usepackage{framed}
\renewenvironment{figure}[1][tbph]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
But it applies to all the figures of the document ...

So try to mimick this in your float: Insert the float via Insert>Floats>Figure
and in the float use ERT for \begin{framed} and \end{framed}.
this is a frame around the whole float and a width of the textwidth,
but not a frame around the image. For this write into the
preamble
\let\grfxinput\includegraphics
\renewcommand\includegraphics[2][]{%
  \fbox{\grfxinput[#1]{#2}}}
or alternative for a single image
\fbox{ ... insert the graphic as uaual ... }
Herbert
--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes