\left command very fragile

2005-05-17 Thread Bahram HOUCHMANDZADEH
Hello all,
I have a problem to use directly \left command in math formula.
1- If inside lyx, I push  Ctrl-M and type something like 
\left[x+y\right] every thing is fine, two nice red brackets delimit my 
formula. But if I use \left{ x+y \right} then I make havoc of my 
document with unlimited and unremovable errors. Apparently, inside math 
display, \left{ has a special meaning and one has to go through the math 
panel-delimiters to do the job.

Any body knows the source of the problem ?
Thanks,
--
Bahram  Houchmandzadeh
CNRS,Lab. Spectrometrie Physique,
BP87, 38402 St-Martin d'Heres Cedex, France.
Tel. (+33) 476 514812
Fax. (+33) 476 635495
web : http://www-lsp.ujf-grenoble.fr/recherche/a3t2/a3t2a2/bahram/index.htm


Re: \left command very fragile

2005-05-17 Thread Matthew Low
On 5/16/05, Bahram HOUCHMANDZADEH [EMAIL PROTECTED] wrote:
 But if I use \left{ x+y \right} then I make havoc of my
 document with unlimited and unremovable errors.

I think you want to use \left\{ and \right\} instead of \left{ and \right}.

Matt


PDF viewing in full-page mode

2005-05-17 Thread Ekkehart Schlicht
Hi,
this is just to notify that I have added a small section to the WiKi 
LyXWin page

http://wiki.lyx.org/LyX/WindowsSetup
that describes how to modify the PDF viewer such that the PDF (pdflatex)
viewing command opens the PDF in full-page view together with bookmarks
of the sections. This is rather trival but may be useful to 
inexperienced users
like me.

Ekkehart


Re: Container inconsistencies (1.3.5)

2005-05-17 Thread Angus Leeming
Kevin Pfeiffer wrote:

 Selecting a section of text and choosing to emphasize it also emphasizes
 the footnote text of any footnote containers (even those that are closed)
 that might have been caught up within the selection.

Hi, Kevin.

If you want anybody to remember these reports and to 'fix' them at some
time in the future, I recommend that you add them to bugzilla.lyx.org.
Otherwise, they'll just get lost.

-- 
Angus



Re: Hi at all -- Amatex with BibEdt in LyxWin

2005-05-17 Thread Ekkehart Schlicht
Amatex is great. Thank you for the hint.
If you are using Windows, you can copy the Bibtex
information obtained through Amatex and insert
it into your bib file by opening it with Bibedt and
select Record - Insert
Ekkehart



Re: focus-stealing prevention in KDE desktop?

2005-05-17 Thread Georg Baum
Kevin Pfeiffer wrote:

 Hi all,
 
 I've noticed that if I set the focus-stealing prevention level for windows
 in the KDE environment to anything higher than 'none', that notification
 messages such as Do you want to save your document before closing? open
 _behind_ the main application window in Lyx. I've also noticed this using
 a Perl/GTK application, but with no other applications so far.
 
 The KDE setting is found under Desktop - Window Behavior - Advanced
 (fourth tab) in the Control Center. Default setting for focus-stealing
 behavior is low. Perhaps someone can test and verify/disprove this?

I had similar problems with another app, but not with LyX. I don't
understand at all when this focus stealing prevention is helpful, but it
includes a lot of guesswork. I guess that the hidden dialogs have no proper
parent window. Until somebody takes the time to fix that it is probably
best to disable focus stealing prevention.


Georg



Re: focus-stealing prevention in KDE desktop?

2005-05-17 Thread Charles de Miramon
Georg Baum wrote:

 Kevin Pfeiffer wrote:
 
 Hi all,
 
 I've noticed that if I set the focus-stealing prevention level for
 windows in the KDE environment to anything higher than 'none', that
 notification messages such as Do you want to save your document before
 closing? open _behind_ the main application window in Lyx. I've also
 noticed this using a Perl/GTK application, but with no other applications
 so far.

There is a kcm module in KControl to create special rules for particular
applications windows. You should play with it to solve your problem.

Cheers,
Charles 

-- 
http://www.kde-france.org



Re: focus-stealing prevention in KDE desktop?

2005-05-17 Thread Helge Hafting
On Tue, May 17, 2005 at 10:08:08AM +0200, Georg Baum wrote:
 
 I had similar problems with another app, but not with LyX. I don't
 understand at all when this focus stealing prevention is helpful, but it

If you ever use broken apps like openoffice (perhaps with the wrong
window manager) then you'll learn why focus stealing prevention is good.

I rarely use OO, so it tend to be uncached and therefore start
slowly on those occations I need to read a word or OO document.
(Which is the only cases I use OO).  
Therefore, I do other work like typing while OO slowly loads in the background.
And then OO suddenly grabs focus.  Not just once, but something like 5 times
over a 30-second period.  I loose some typing everytime, and get
junk into that word/oo document I only meant to _read_.

This is an occation where focus stealing prevention could've been a good thing.
I don't run KDE though.

Helge Hafting


Re: Another beamer question

2005-05-17 Thread Sven Schreiber
[EMAIL PROTECTED] wrote:

 
 As a temporary measure, maybe you could add this information to the wiki,
 e.g. on this page
 
   http://wiki.lyx.org/FAQ/ERT

 /Christian


Ok thanks to your continuing efforts to get people to collaborate on the
wiki I did that. Hopefully I described the problem correctly.
-sven



Font used in LyX ERT boxes

2005-05-17 Thread Andrei Popov
Hello All.

Can anyone tell me which font LyX uses in the ERT boxes? I'm unable to
see proper Russian chars in it, instead I see iso-8859-1 (latin1)
chars.

The ERT insets compile into DVI and are displayed OK, but my Cyrillic
ERTs still look horrible in LyX =\

Is the ERT font selectable in LyX? Can one specify a proper font in my
situation?

I checked with Google and LyX docs, and there seem to be smth like
popup font, in lyxrc, which IS selectable. Is this what I need (I
can't check right now)?

-- 
WBR,
Andrei Popov

Using LyX 1.3.4 on Linux



Re: Container inconsistencies (1.3.5)

2005-05-17 Thread G. Milde
On 17.05.05, Kevin Pfeiffer wrote:
 Selecting a section of text and choosing to emphasize it also emphasizes 
 the footnote text of any footnote containers (even those that are closed) 
 that might have been caught up within the selection. 

This seems consistent to me. (As I know, that the latex equivalent of
emphasizing a region is put \emph{ in front and } behind the selected
text.)
 
 At the same time, there doesn't seem to be any way to select all 
 footnotes and/or make global changes to the footnotes (except via 
 package commands?). Or have I overlooked something?

This is an interesting feature wish.

GM

-- 
G.Milde web.de


Re: Container inconsistencies (1.3.5)

2005-05-17 Thread Kevin Pfeiffer
G. Milde writes:
 On 17.05.05, Kevin Pfeiffer wrote:
  Selecting a section of text and choosing to emphasize it also
  emphasizes the footnote text of any footnote containers (even those
  that are closed) that might have been caught up within the selection.

 This seems consistent to me. (As I know, that the latex equivalent of
 emphasizing a region is put \emph{ in front and } behind the
 selected text.)

I agree. From a strictly procedural, 
container/environment/programmer-oriented point of view this does make 
sense. But footnotes are not embedded in the main text body, but follow 
at the bottom of each page (or wherever else they are placed). Only the 
footnote numbers or references are contained in the body text 
(structurally and typographically).

-Kevin


-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


clearing bookmarks?

2005-05-17 Thread Kevin Pfeiffer
Since LyX doesn't want to remember where I was when I close a document, I 
tried using a bookmark for this. This worked fine, except now I can't see 
how to delete this bookmark. And I looked at all three user guides. Did I 
miss something?

-Kevin


-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


[Fwd: Re: Metapost problems]

2005-05-17 Thread marc
 Message transféré 
De: marc [EMAIL PROTECTED]
À: [EMAIL PROTECTED]
Objet: Re: Metapost problems
Date: Mon, 16 May 2005 18:42:02 +0200
Prologues:=1 
is not always a good thing as far as I remember.
I create a little quick and dirty perl's script who
- always compile my metapost file
- make it a latex document (so that I can use some Latex command
inside) 
- make it a eps file with  dvips
- open a viewer who show me the eps file
Here is the script
It can be rewritten when there is more then one fig in the mp file
Of course if you use windows it should be rewritten...

Marc

--
#!/usr/bin/perl

#fabrication avec mpost
$fichiermp='YOUR MP FILE HERE';
$mpostname=$fichiermp;
$mpostname=$mpostname.'.1';
print mpost  --jobname $mpostname $fichiermp\n;
`mpost --jobname  $fichiermp $fichiermp`;


#compilation avec Latex
$text1='
\documentclass[10pt]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\pagestyle{empty}
\begin{document}
';
$text2='\end{document}';
$latexfile=$text1.\\includegraphics[scale=1]\{$mpostname\}\n.$text2;
$texfile=$fichiermp;
$texfile=~s/(.*?\.)mp/$1tex/gs;
$dvifile=$fichiermp;
$dvifile=~s/(.*?)\.mp/$1/gs;


open(FICHIERVAR,'', $texfile) or die Impossible ouvrir  \n;
print FICHIERVAR $latexfile;
close(FICHIERVAR);
print latex  $texfile\n;
`latex  $texfile`;
#traitement dvi et affichage
$dvifile=$fichiermp;
$dvifile=~s/(.*?\.)mp/$1dvi/gs;
$epsfile=$fichiermp;
$epsfile=~s/(.*?\.)mp/$1eps/gs;
print dvips -E -o $epsfile $dvifile\n;
`dvips -E -o $epsfile $dvifile`;
#nettoyage du répertoire
@ext=('aux','dvi','log','mpx','mp.1','tex','mp.log');
$noextfile=$fichiermp;
$noextfile=~s/(.*?\.)mp/$1/gs;
foreach $ligne (@ext) {
unlink($noextfile.$ligne);
}
`gv $epsfile`;

-


, especially if you use   Le vendredi 13 mai 2005 à 15:08 -0400, Paul A.
Rubin a écrit :
 Hi all,
 
 As the subject indicates, this is not really a LyX problem, but the last 
 time I had a LaTeX-related question I had more luck here than on 
 comp.text.tex.
 
 I'm creating a Beamer presentation on Win XP (using MiKTeX and, of 
 course, LyX), and I'm trying to embed some graphics.  I created them in 
 Dia and exported them as Metapost (.mp) files.  I had to manually edit 
 the line latex out of each .mp file, presumably because I'm using 
 Windoze and not *nix.
 
 Now comes the first problem.  I run mpost (the MiKTeX Metapost 
 executable) against pic.mp, and it gives me pic.1, pic.mpx and pic.log. 
   To my untrained eye, pic.1 looks like a valid Postscript file, but if 
 I try to open it with Ghostview, I get the error /undefined in phvr8r. 
   Same thing happens if I run ps2ps against pic.1.  Now phvr8r is an 
 Adobe Helvetica font, and I have phvr8r.pk in my local texmf tree and 
 phvr8r.tfm in my regular texmf tree, so the font is installed.  Does 
 anyone know what the error means and what I might do about it?
 
 The second error (which may be related to the first) is that I can't 
 seem to get LyX/Beamer to believe that pic.1 is in an appropriate 
 graphic format.  I followed the suggestion in the Beamer manual to 
 include \DeclareGraphicsRule{*}{mps}{*}{}, so that pic.1 should be 
 interpreted as a .mps file, but all that bought me was a message that 
 the graphics conversion script didn't know what to do with an MPS file. 
   So I tried \DeclareGraphicsRule{*}{eps}{*}{}, my thinking being that 
 MPS is a special dialect (?) of EPS.  That didn't work, either, nor did 
 renaming pic.1 to pic.eps.  (Failure of this last could tie back to the 
 previous problem.)
 
 So, for the moment, I'm stumped, and would be grateful for any advice.
 
 TIA,
 
 Paul
 
 
-- 
marc [EMAIL PROTECTED]



new .bst files

2005-05-17 Thread Geoffrey Lloyd
Hi

I have updated a .bst file and rather than saving over the original i have 
saved it as a new file.  How do I get lyx to include it in the drop down menu 
in the bibtex dialogue box.

I have tried reconfig but it still doesnt seem to update the list.

In a similar vein is there a reason why the list isn't alphabetical!

Any help much appreciated

Re: clearing bookmarks?

2005-05-17 Thread Uwe Stöhr
Kevin Pfeiffer schrieb:
Since LyX doesn't want to remember where I was when I close a document, I 
tried using a bookmark for this. This worked fine, except now I can't see 
how to delete this bookmark. And I looked at all three user guides. Did I 
miss something?
As I know, you can't delete the bookmark. I overwrite it in this cases 
with the first position in the document.

But if I close and reopen the document and the bookmark are deleted. so 
how does it work for you?

thanks and regards uwe


Re: new .bst files

2005-05-17 Thread Uwe Stöhr
Geoffrey Lloyd wrote:
I have updated a .bst file and rather than saving over the original i have saved it as a new file.
 How do I get lyx to include it in the drop down menu in the bibtex 
dialogue box.

The bibtex dialog asks you in the field Style for a style. Doesn't it 
works for you to use the Browse button of the dialog to select a .bst file?

regards Uwe


Latex import problem

2005-05-17 Thread TGreiner
Hello,
I tried the German Win32 version on Lyx 1.3.5. Buy importing a Latex
document, I got the following error:
Der Befehl ...lyx1.3.5/lyx/share/lyx/lyx2lyx/lyx2lyx ist entweder
falsch
geschrieben oder konnte nicht gefunden werden.
Please can you give me advice.
Thanks.
T. Greiner



Re: Latex import problem

2005-05-17 Thread Uwe Stöhr
TGreiner schrieb:
I tried the German Win32 version on Lyx 1.3.5. By importing a Latex
document, I got the following error:
Der Befehl ...lyx1.3.5/lyx/share/lyx/lyx2lyx/lyx2lyx ist entweder
falsch
geschrieben oder konnte nicht gefunden werden.
LyXWin is still a bit buggy in including/converting documents. You can 
have a look at

http://wiki.lyx.org/LyX/WindowsSetup
if someone published a solution.
But lyx2lyx is a converter for different LyX file versions. If you want 
to convert LaTeX to LyX, you should check out the new program tex2lyx:

http://wiki.lyx.org/LaTeX/LatexToLyx
regards Uwe


Re: More Greek tribulations--help with font installation

2005-05-17 Thread Luis Rivera
Stefano Franchi [EMAIL PROTECTED] writes:

 
 Thank to Matej and Herbert I solved the problem with Greek letters in 
 BibTeX title. I am now facing another problem: how to get LyX/LaTex to 
 produce the 'slanted' Greek  fonts needed for emphasis.
 
 I installed the cbgreek package by Claudio Beccari and it seems to be 
 working fine with Babel with the \selectlanguage{greek} option. That 
 is, I can get the regular font shape with all the needed accents, 
 spirits, etc. and the font size is correctly scaled down from main text 
 to footnote text. So far so good. But I cannot produce the slanted 
 shape which, according to cbgreek's documentation, does indeed exist.  
 But I cannot see any difference between, e.g, the two following lines:
 
 \selectlanguage{greek}pajhtik'on\selectlanguage{english}
 
 \emph \selectlanguage{greek}pajhtik'on\selectlanguage{english}
 
 The problem lies with the installation of cbgreek, I suppose, since I 
 get the following warnings when I try to compile directly from LaTeX;
 

You did something wrong. In fact, the problem is the use of \emph.  First of 
all, I seem to recall this is one of the taboos in moving from old LaTeX209 to 
new LaTeX2e.  you should use \emph{text} (delimiters required).

Second, if you are typesetting short sentences or words, you better use 
\foreignlanguage{greek}{pajetik'on}.  You skip the selectlangs, and your source 
code is less verbose.

If you want to do something *really* cool, try adding 

\renewcommand{\textsf}[#1]{\foreignlanguage{greek}{#1}} 

to the preamble in Layout/Document/Preamble.  This command assigns Greek to the 
sans-serifed fonts (if you, like me, you don't have a use for those), so every 
time you want to add something in Greek you simply type \textsf{pajhtik'os}.  
The font mechanism adds cursive, slanted, boldface, whatever, automagically.  
On LyX you see a sans-serifed font (Arial, I think, by default).  I suggest you 
to stick to the italic font.  It's better, to my taste...

Trust me: I'm writing my dissertation too ;)

Luis.



Re: new .bst files

2005-05-17 Thread Geoffrey Lloyd
Many thanks
I apologise - a complete oversight on my part.
- Original Message - 
From: Uwe Stöhr [EMAIL PROTECTED]
To: Geoffrey Lloyd [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Sent: Tuesday, May 17, 2005 6:38 PM
Subject: Re: new .bst files


Geoffrey Lloyd wrote:
I have updated a .bst file and rather than saving over the original i 
have saved it as a new file.
 How do I get lyx to include it in the drop down menu in the bibtex
dialogue box.
The bibtex dialog asks you in the field Style for a style. Doesn't it 
works for you to use the Browse button of the dialog to select a .bst 
file?

regards Uwe



Re: clearing bookmarks?

2005-05-17 Thread Kevin Pfeiffer
Uwe Stöhr writes:
 Kevin Pfeiffer schrieb:
  Since LyX doesn't want to remember where I was when I close a
  document, I tried using a bookmark for this. This worked fine, except
  now I can't see how to delete this bookmark. And I looked at all
  three user guides. Did I miss something?

 As I know, you can't delete the bookmark. I overwrite it in this cases
 with the first position in the document.

 But if I close and reopen the document and the bookmark are deleted. so
 how does it work for you?

You're right! So much for my thorough testing. I only placed the bookmark, 
scrolled to the top of the document and then tried navigating back via 
bookmark to where I was. I never dreamed that the bookmark is not saved 
with the document (must be a bug, isn't it?). I was only concerned 
because as far as I could see, the bookmark is invisible, making it 
difficult to delete. Well, now I know how to do that. :-)

-K

-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


Re: Latex import problem

2005-05-17 Thread Luis Rivera
Uwe Sthr [EMAIL PROTECTED] writes:

 
 TGreiner schrieb:
 
  I tried the German Win32 version on Lyx 1.3.5. By importing a Latex
  document, I got the following error:
  Der Befehl ...lyx1.3.5/lyx/share/lyx/lyx2lyx/lyx2lyx ist entweder
  falsch
  geschrieben oder konnte nicht gefunden werden.
 
 LyXWin is still a bit buggy in including/converting documents. You can 
 have a look at
 
 http://wiki.lyx.org/LyX/WindowsSetup
 
 if someone published a solution.
 
 But lyx2lyx is a converter for different LyX file versions. If you want 
 to convert LaTeX to LyX, you should check out the new program tex2lyx:
 
 http://wiki.lyx.org/LaTeX/LatexToLyx
 
 regards Uwe
 
 

AFAIK, LaTeX import occurs in two phases: first reLyX/tex2lyx translates LaTeX 
to some version of LyX, and then lyx2lyx converts it to the right version of 
LyX format you may be using: 221, for LyX 1.3.5

I still use the `old' reLyX script, for tex2lyx, in its current incarnation, is 
too bloated to my taste, and I have to reconvert the output to LyX 221 anyway.  
So simply use the lyx2lyx.cmd suggested in the wiki page, and you may be all 
set.

If that fails, you may cook a tex2lyx.cmd file calling both reLyX and lyx2lyx, 
in fact faking the behavior of the new tex2lyx...

Luis.




Re: Latex import problem

2005-05-17 Thread Angus Leeming
TGreiner wrote:

 Hello,
 I tried the German Win32 version on Lyx 1.3.5. Buy importing a Latex
 document, I got the following error:
 Der Befehl ...lyx1.3.5/lyx/share/lyx/lyx2lyx/lyx2lyx ist entweder
 falsch
 geschrieben oder konnte nicht gefunden werden.
 Please can you give me advice.
 Thanks.
 T. Greiner

Please don't reply to mails when you wish to start an entirely new thread.
I'm likely to miss your post as it appears in my reader as
  - [Fwd: Re: Metapost problems]marc
|_ Latex import problem TGreiner

Anyway, to reply to your question. There is a bug in LyX/Win 1.3.5 in that
lyx2lyx is invoked as lyx2lyx foo bar. Unfortunately, lyx2lyx is a
python script and Windows isn't smart enough to work this out. LyX 1.3.6
will invoke the script as python path to/lyx2lyx foo bar, but that
isn't much help to you.

I suggest that you add a lyx2lyx.bat file to the directory containing
lyx2lyx and call the real lyx2lyx file from there.

-- 
Angus



Re: Latex import problem

2005-05-17 Thread Angus Leeming
Luis Rivera wrote:
 AFAIK, LaTeX import occurs in two phases: first reLyX/tex2lyx translates
 LaTeX to some version of LyX, and then lyx2lyx converts it to the right
 version of LyX format you may be using: 221, for LyX 1.3.5

That's essentially correct. However, reLyX generates a horrible mish-mash
of different file formats that must somehow be deciphered by lyx2lyx. 

tex2lyx generates a completely consistent lyx file, version 241, which must
then be converted back to version 221 so that LyX 1.3.5 can understand it.

 I still use the `old' reLyX script, for tex2lyx, in its current
 incarnation, is too bloated to my taste, and I have to reconvert the
 output to LyX 221 anyway.

 tex2lyx is bloated? For what definition of bloated? Two things that it
does do, which reLyX does not, is understand most 'reasonable' LaTeX and
generate a consistent .lyx file.

If you have any substantive problems with tex2lyx, then PLEASE bring them
forward. We rely on your feedback to improve it. However, please do not
suggest to people on this list that they use reLyX in preference to
tex2lyx. reLyX is a broken hack and unsupported nightmare.

-- 
Angus



Re: More Greek tribulations--help with font installation

2005-05-17 Thread Stefano Franchi
Hi Luis,
thanks for the help and the suggestions. Unfortunately the problem is 
not with \emph. I tried using the new \emph{}, but I still get the same 
problem. LaTeX cannot find the proper font for rendering italicized 
Greek. In fact, in the log file I get:

LaTeX Font Info:Try loading font information for LGR+ptm on input 
line 96.
LaTeX Font Info:No file LGRptm.fd. on input line 96.

LaTeX Font Warning: Font shape `LGR/ptm/m/it' undefined
(Font)  using `LGR/cmr/m/n' instead on input line 96.
LaTeX Font Warning: Font shape `LGR/ptm/m/n' undefined
(Font)  using `LGR/cmr/m/n' instead on input line 96.
[1
{/Users/stefano/.texmf-var/fonts/map/pdftex/updmap/pdftex.map}] 
(./newfile2.aux
)

LaTeX Font Warning: Some font shapes were not available, defaults 
substituted.

 )

From what I've (recently) read that means that LaTex is looking for the 
font Adobe Times (ptm) in the LGR encoding, in italic shape (i), cannot 
find it, and substitutes cmr (computer modern?) normal shape in LGR 
encoding. So the problems has to do with font installation and/or 
mappings, because the typesetting of Greek should use the cbgreek 
fonts. Which, I believe, all star with a g in their 
filename/description. So there is something wrong in how LaTeX selects 
the fonts, but I know too little about LaTeX/TeX to fix the problem...

Cheers,
S.

__
Stefano Franchi
Department of Philosophy  Ph:  (64) 9 373-7599 x83940
University Of Auckland  Fax: (64) 9 373-7408
Private Bag 92019   [EMAIL PROTECTED]
Auckland
New Zealand 


\left command very fragile

2005-05-17 Thread Bahram HOUCHMANDZADEH
Hello all,
I have a problem to use directly \left command in math formula.
1- If inside lyx, I push  Ctrl-M and type something like 
\left[x+y\right] every thing is fine, two nice red brackets delimit my 
formula. But if I use \left{ x+y \right} then I make havoc of my 
document with unlimited and unremovable errors. Apparently, inside math 
display, \left{ has a special meaning and one has to go through the math 
panel-delimiters to do the job.

Any body knows the source of the problem ?
Thanks,
--
Bahram  Houchmandzadeh
CNRS,Lab. Spectrometrie Physique,
BP87, 38402 St-Martin d'Heres Cedex, France.
Tel. (+33) 476 514812
Fax. (+33) 476 635495
web : http://www-lsp.ujf-grenoble.fr/recherche/a3t2/a3t2a2/bahram/index.htm


Re: \left command very fragile

2005-05-17 Thread Matthew Low
On 5/16/05, Bahram HOUCHMANDZADEH [EMAIL PROTECTED] wrote:
 But if I use \left{ x+y \right} then I make havoc of my
 document with unlimited and unremovable errors.

I think you want to use \left\{ and \right\} instead of \left{ and \right}.

Matt


PDF viewing in full-page mode

2005-05-17 Thread Ekkehart Schlicht
Hi,
this is just to notify that I have added a small section to the WiKi 
LyXWin page

http://wiki.lyx.org/LyX/WindowsSetup
that describes how to modify the PDF viewer such that the PDF (pdflatex)
viewing command opens the PDF in full-page view together with bookmarks
of the sections. This is rather trival but may be useful to 
inexperienced users
like me.

Ekkehart


Re: Container inconsistencies (1.3.5)

2005-05-17 Thread Angus Leeming
Kevin Pfeiffer wrote:

 Selecting a section of text and choosing to emphasize it also emphasizes
 the footnote text of any footnote containers (even those that are closed)
 that might have been caught up within the selection.

Hi, Kevin.

If you want anybody to remember these reports and to 'fix' them at some
time in the future, I recommend that you add them to bugzilla.lyx.org.
Otherwise, they'll just get lost.

-- 
Angus



Re: Hi at all -- Amatex with BibEdt in LyxWin

2005-05-17 Thread Ekkehart Schlicht
Amatex is great. Thank you for the hint.
If you are using Windows, you can copy the Bibtex
information obtained through Amatex and insert
it into your bib file by opening it with Bibedt and
select Record - Insert
Ekkehart



Re: focus-stealing prevention in KDE desktop?

2005-05-17 Thread Georg Baum
Kevin Pfeiffer wrote:

 Hi all,
 
 I've noticed that if I set the focus-stealing prevention level for windows
 in the KDE environment to anything higher than 'none', that notification
 messages such as Do you want to save your document before closing? open
 _behind_ the main application window in Lyx. I've also noticed this using
 a Perl/GTK application, but with no other applications so far.
 
 The KDE setting is found under Desktop - Window Behavior - Advanced
 (fourth tab) in the Control Center. Default setting for focus-stealing
 behavior is low. Perhaps someone can test and verify/disprove this?

I had similar problems with another app, but not with LyX. I don't
understand at all when this focus stealing prevention is helpful, but it
includes a lot of guesswork. I guess that the hidden dialogs have no proper
parent window. Until somebody takes the time to fix that it is probably
best to disable focus stealing prevention.


Georg



Re: focus-stealing prevention in KDE desktop?

2005-05-17 Thread Charles de Miramon
Georg Baum wrote:

 Kevin Pfeiffer wrote:
 
 Hi all,
 
 I've noticed that if I set the focus-stealing prevention level for
 windows in the KDE environment to anything higher than 'none', that
 notification messages such as Do you want to save your document before
 closing? open _behind_ the main application window in Lyx. I've also
 noticed this using a Perl/GTK application, but with no other applications
 so far.

There is a kcm module in KControl to create special rules for particular
applications windows. You should play with it to solve your problem.

Cheers,
Charles 

-- 
http://www.kde-france.org



Re: focus-stealing prevention in KDE desktop?

2005-05-17 Thread Helge Hafting
On Tue, May 17, 2005 at 10:08:08AM +0200, Georg Baum wrote:
 
 I had similar problems with another app, but not with LyX. I don't
 understand at all when this focus stealing prevention is helpful, but it

If you ever use broken apps like openoffice (perhaps with the wrong
window manager) then you'll learn why focus stealing prevention is good.

I rarely use OO, so it tend to be uncached and therefore start
slowly on those occations I need to read a word or OO document.
(Which is the only cases I use OO).  
Therefore, I do other work like typing while OO slowly loads in the background.
And then OO suddenly grabs focus.  Not just once, but something like 5 times
over a 30-second period.  I loose some typing everytime, and get
junk into that word/oo document I only meant to _read_.

This is an occation where focus stealing prevention could've been a good thing.
I don't run KDE though.

Helge Hafting


Re: Another beamer question

2005-05-17 Thread Sven Schreiber
[EMAIL PROTECTED] wrote:

 
 As a temporary measure, maybe you could add this information to the wiki,
 e.g. on this page
 
   http://wiki.lyx.org/FAQ/ERT

 /Christian


Ok thanks to your continuing efforts to get people to collaborate on the
wiki I did that. Hopefully I described the problem correctly.
-sven



Font used in LyX ERT boxes

2005-05-17 Thread Andrei Popov
Hello All.

Can anyone tell me which font LyX uses in the ERT boxes? I'm unable to
see proper Russian chars in it, instead I see iso-8859-1 (latin1)
chars.

The ERT insets compile into DVI and are displayed OK, but my Cyrillic
ERTs still look horrible in LyX =\

Is the ERT font selectable in LyX? Can one specify a proper font in my
situation?

I checked with Google and LyX docs, and there seem to be smth like
popup font, in lyxrc, which IS selectable. Is this what I need (I
can't check right now)?

-- 
WBR,
Andrei Popov

Using LyX 1.3.4 on Linux



Re: Container inconsistencies (1.3.5)

2005-05-17 Thread G. Milde
On 17.05.05, Kevin Pfeiffer wrote:
 Selecting a section of text and choosing to emphasize it also emphasizes 
 the footnote text of any footnote containers (even those that are closed) 
 that might have been caught up within the selection. 

This seems consistent to me. (As I know, that the latex equivalent of
emphasizing a region is put \emph{ in front and } behind the selected
text.)
 
 At the same time, there doesn't seem to be any way to select all 
 footnotes and/or make global changes to the footnotes (except via 
 package commands?). Or have I overlooked something?

This is an interesting feature wish.

GM

-- 
G.Milde web.de


Re: Container inconsistencies (1.3.5)

2005-05-17 Thread Kevin Pfeiffer
G. Milde writes:
 On 17.05.05, Kevin Pfeiffer wrote:
  Selecting a section of text and choosing to emphasize it also
  emphasizes the footnote text of any footnote containers (even those
  that are closed) that might have been caught up within the selection.

 This seems consistent to me. (As I know, that the latex equivalent of
 emphasizing a region is put \emph{ in front and } behind the
 selected text.)

I agree. From a strictly procedural, 
container/environment/programmer-oriented point of view this does make 
sense. But footnotes are not embedded in the main text body, but follow 
at the bottom of each page (or wherever else they are placed). Only the 
footnote numbers or references are contained in the body text 
(structurally and typographically).

-Kevin


-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


clearing bookmarks?

2005-05-17 Thread Kevin Pfeiffer
Since LyX doesn't want to remember where I was when I close a document, I 
tried using a bookmark for this. This worked fine, except now I can't see 
how to delete this bookmark. And I looked at all three user guides. Did I 
miss something?

-Kevin


-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


[Fwd: Re: Metapost problems]

2005-05-17 Thread marc
 Message transféré 
De: marc [EMAIL PROTECTED]
À: [EMAIL PROTECTED]
Objet: Re: Metapost problems
Date: Mon, 16 May 2005 18:42:02 +0200
Prologues:=1 
is not always a good thing as far as I remember.
I create a little quick and dirty perl's script who
- always compile my metapost file
- make it a latex document (so that I can use some Latex command
inside) 
- make it a eps file with  dvips
- open a viewer who show me the eps file
Here is the script
It can be rewritten when there is more then one fig in the mp file
Of course if you use windows it should be rewritten...

Marc

--
#!/usr/bin/perl

#fabrication avec mpost
$fichiermp='YOUR MP FILE HERE';
$mpostname=$fichiermp;
$mpostname=$mpostname.'.1';
print mpost  --jobname $mpostname $fichiermp\n;
`mpost --jobname  $fichiermp $fichiermp`;


#compilation avec Latex
$text1='
\documentclass[10pt]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\pagestyle{empty}
\begin{document}
';
$text2='\end{document}';
$latexfile=$text1.\\includegraphics[scale=1]\{$mpostname\}\n.$text2;
$texfile=$fichiermp;
$texfile=~s/(.*?\.)mp/$1tex/gs;
$dvifile=$fichiermp;
$dvifile=~s/(.*?)\.mp/$1/gs;


open(FICHIERVAR,'', $texfile) or die Impossible ouvrir  \n;
print FICHIERVAR $latexfile;
close(FICHIERVAR);
print latex  $texfile\n;
`latex  $texfile`;
#traitement dvi et affichage
$dvifile=$fichiermp;
$dvifile=~s/(.*?\.)mp/$1dvi/gs;
$epsfile=$fichiermp;
$epsfile=~s/(.*?\.)mp/$1eps/gs;
print dvips -E -o $epsfile $dvifile\n;
`dvips -E -o $epsfile $dvifile`;
#nettoyage du répertoire
@ext=('aux','dvi','log','mpx','mp.1','tex','mp.log');
$noextfile=$fichiermp;
$noextfile=~s/(.*?\.)mp/$1/gs;
foreach $ligne (@ext) {
unlink($noextfile.$ligne);
}
`gv $epsfile`;

-


, especially if you use   Le vendredi 13 mai 2005 à 15:08 -0400, Paul A.
Rubin a écrit :
 Hi all,
 
 As the subject indicates, this is not really a LyX problem, but the last 
 time I had a LaTeX-related question I had more luck here than on 
 comp.text.tex.
 
 I'm creating a Beamer presentation on Win XP (using MiKTeX and, of 
 course, LyX), and I'm trying to embed some graphics.  I created them in 
 Dia and exported them as Metapost (.mp) files.  I had to manually edit 
 the line latex out of each .mp file, presumably because I'm using 
 Windoze and not *nix.
 
 Now comes the first problem.  I run mpost (the MiKTeX Metapost 
 executable) against pic.mp, and it gives me pic.1, pic.mpx and pic.log. 
   To my untrained eye, pic.1 looks like a valid Postscript file, but if 
 I try to open it with Ghostview, I get the error /undefined in phvr8r. 
   Same thing happens if I run ps2ps against pic.1.  Now phvr8r is an 
 Adobe Helvetica font, and I have phvr8r.pk in my local texmf tree and 
 phvr8r.tfm in my regular texmf tree, so the font is installed.  Does 
 anyone know what the error means and what I might do about it?
 
 The second error (which may be related to the first) is that I can't 
 seem to get LyX/Beamer to believe that pic.1 is in an appropriate 
 graphic format.  I followed the suggestion in the Beamer manual to 
 include \DeclareGraphicsRule{*}{mps}{*}{}, so that pic.1 should be 
 interpreted as a .mps file, but all that bought me was a message that 
 the graphics conversion script didn't know what to do with an MPS file. 
   So I tried \DeclareGraphicsRule{*}{eps}{*}{}, my thinking being that 
 MPS is a special dialect (?) of EPS.  That didn't work, either, nor did 
 renaming pic.1 to pic.eps.  (Failure of this last could tie back to the 
 previous problem.)
 
 So, for the moment, I'm stumped, and would be grateful for any advice.
 
 TIA,
 
 Paul
 
 
-- 
marc [EMAIL PROTECTED]



new .bst files

2005-05-17 Thread Geoffrey Lloyd
Hi

I have updated a .bst file and rather than saving over the original i have 
saved it as a new file.  How do I get lyx to include it in the drop down menu 
in the bibtex dialogue box.

I have tried reconfig but it still doesnt seem to update the list.

In a similar vein is there a reason why the list isn't alphabetical!

Any help much appreciated

Re: clearing bookmarks?

2005-05-17 Thread Uwe Stöhr
Kevin Pfeiffer schrieb:
Since LyX doesn't want to remember where I was when I close a document, I 
tried using a bookmark for this. This worked fine, except now I can't see 
how to delete this bookmark. And I looked at all three user guides. Did I 
miss something?
As I know, you can't delete the bookmark. I overwrite it in this cases 
with the first position in the document.

But if I close and reopen the document and the bookmark are deleted. so 
how does it work for you?

thanks and regards uwe


Re: new .bst files

2005-05-17 Thread Uwe Stöhr
Geoffrey Lloyd wrote:
I have updated a .bst file and rather than saving over the original i have saved it as a new file.
 How do I get lyx to include it in the drop down menu in the bibtex 
dialogue box.

The bibtex dialog asks you in the field Style for a style. Doesn't it 
works for you to use the Browse button of the dialog to select a .bst file?

regards Uwe


Latex import problem

2005-05-17 Thread TGreiner
Hello,
I tried the German Win32 version on Lyx 1.3.5. Buy importing a Latex
document, I got the following error:
Der Befehl ...lyx1.3.5/lyx/share/lyx/lyx2lyx/lyx2lyx ist entweder
falsch
geschrieben oder konnte nicht gefunden werden.
Please can you give me advice.
Thanks.
T. Greiner



Re: Latex import problem

2005-05-17 Thread Uwe Stöhr
TGreiner schrieb:
I tried the German Win32 version on Lyx 1.3.5. By importing a Latex
document, I got the following error:
Der Befehl ...lyx1.3.5/lyx/share/lyx/lyx2lyx/lyx2lyx ist entweder
falsch
geschrieben oder konnte nicht gefunden werden.
LyXWin is still a bit buggy in including/converting documents. You can 
have a look at

http://wiki.lyx.org/LyX/WindowsSetup
if someone published a solution.
But lyx2lyx is a converter for different LyX file versions. If you want 
to convert LaTeX to LyX, you should check out the new program tex2lyx:

http://wiki.lyx.org/LaTeX/LatexToLyx
regards Uwe


Re: More Greek tribulations--help with font installation

2005-05-17 Thread Luis Rivera
Stefano Franchi [EMAIL PROTECTED] writes:

 
 Thank to Matej and Herbert I solved the problem with Greek letters in 
 BibTeX title. I am now facing another problem: how to get LyX/LaTex to 
 produce the 'slanted' Greek  fonts needed for emphasis.
 
 I installed the cbgreek package by Claudio Beccari and it seems to be 
 working fine with Babel with the \selectlanguage{greek} option. That 
 is, I can get the regular font shape with all the needed accents, 
 spirits, etc. and the font size is correctly scaled down from main text 
 to footnote text. So far so good. But I cannot produce the slanted 
 shape which, according to cbgreek's documentation, does indeed exist.  
 But I cannot see any difference between, e.g, the two following lines:
 
 \selectlanguage{greek}pajhtik'on\selectlanguage{english}
 
 \emph \selectlanguage{greek}pajhtik'on\selectlanguage{english}
 
 The problem lies with the installation of cbgreek, I suppose, since I 
 get the following warnings when I try to compile directly from LaTeX;
 

You did something wrong. In fact, the problem is the use of \emph.  First of 
all, I seem to recall this is one of the taboos in moving from old LaTeX209 to 
new LaTeX2e.  you should use \emph{text} (delimiters required).

Second, if you are typesetting short sentences or words, you better use 
\foreignlanguage{greek}{pajetik'on}.  You skip the selectlangs, and your source 
code is less verbose.

If you want to do something *really* cool, try adding 

\renewcommand{\textsf}[#1]{\foreignlanguage{greek}{#1}} 

to the preamble in Layout/Document/Preamble.  This command assigns Greek to the 
sans-serifed fonts (if you, like me, you don't have a use for those), so every 
time you want to add something in Greek you simply type \textsf{pajhtik'os}.  
The font mechanism adds cursive, slanted, boldface, whatever, automagically.  
On LyX you see a sans-serifed font (Arial, I think, by default).  I suggest you 
to stick to the italic font.  It's better, to my taste...

Trust me: I'm writing my dissertation too ;)

Luis.



Re: new .bst files

2005-05-17 Thread Geoffrey Lloyd
Many thanks
I apologise - a complete oversight on my part.
- Original Message - 
From: Uwe Stöhr [EMAIL PROTECTED]
To: Geoffrey Lloyd [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Sent: Tuesday, May 17, 2005 6:38 PM
Subject: Re: new .bst files


Geoffrey Lloyd wrote:
I have updated a .bst file and rather than saving over the original i 
have saved it as a new file.
 How do I get lyx to include it in the drop down menu in the bibtex
dialogue box.
The bibtex dialog asks you in the field Style for a style. Doesn't it 
works for you to use the Browse button of the dialog to select a .bst 
file?

regards Uwe



Re: clearing bookmarks?

2005-05-17 Thread Kevin Pfeiffer
Uwe Stöhr writes:
 Kevin Pfeiffer schrieb:
  Since LyX doesn't want to remember where I was when I close a
  document, I tried using a bookmark for this. This worked fine, except
  now I can't see how to delete this bookmark. And I looked at all
  three user guides. Did I miss something?

 As I know, you can't delete the bookmark. I overwrite it in this cases
 with the first position in the document.

 But if I close and reopen the document and the bookmark are deleted. so
 how does it work for you?

You're right! So much for my thorough testing. I only placed the bookmark, 
scrolled to the top of the document and then tried navigating back via 
bookmark to where I was. I never dreamed that the bookmark is not saved 
with the document (must be a bug, isn't it?). I was only concerned 
because as far as I could see, the bookmark is invisible, making it 
difficult to delete. Well, now I know how to do that. :-)

-K

-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


Re: Latex import problem

2005-05-17 Thread Luis Rivera
Uwe Sthr [EMAIL PROTECTED] writes:

 
 TGreiner schrieb:
 
  I tried the German Win32 version on Lyx 1.3.5. By importing a Latex
  document, I got the following error:
  Der Befehl ...lyx1.3.5/lyx/share/lyx/lyx2lyx/lyx2lyx ist entweder
  falsch
  geschrieben oder konnte nicht gefunden werden.
 
 LyXWin is still a bit buggy in including/converting documents. You can 
 have a look at
 
 http://wiki.lyx.org/LyX/WindowsSetup
 
 if someone published a solution.
 
 But lyx2lyx is a converter for different LyX file versions. If you want 
 to convert LaTeX to LyX, you should check out the new program tex2lyx:
 
 http://wiki.lyx.org/LaTeX/LatexToLyx
 
 regards Uwe
 
 

AFAIK, LaTeX import occurs in two phases: first reLyX/tex2lyx translates LaTeX 
to some version of LyX, and then lyx2lyx converts it to the right version of 
LyX format you may be using: 221, for LyX 1.3.5

I still use the `old' reLyX script, for tex2lyx, in its current incarnation, is 
too bloated to my taste, and I have to reconvert the output to LyX 221 anyway.  
So simply use the lyx2lyx.cmd suggested in the wiki page, and you may be all 
set.

If that fails, you may cook a tex2lyx.cmd file calling both reLyX and lyx2lyx, 
in fact faking the behavior of the new tex2lyx...

Luis.




Re: Latex import problem

2005-05-17 Thread Angus Leeming
TGreiner wrote:

 Hello,
 I tried the German Win32 version on Lyx 1.3.5. Buy importing a Latex
 document, I got the following error:
 Der Befehl ...lyx1.3.5/lyx/share/lyx/lyx2lyx/lyx2lyx ist entweder
 falsch
 geschrieben oder konnte nicht gefunden werden.
 Please can you give me advice.
 Thanks.
 T. Greiner

Please don't reply to mails when you wish to start an entirely new thread.
I'm likely to miss your post as it appears in my reader as
  - [Fwd: Re: Metapost problems]marc
|_ Latex import problem TGreiner

Anyway, to reply to your question. There is a bug in LyX/Win 1.3.5 in that
lyx2lyx is invoked as lyx2lyx foo bar. Unfortunately, lyx2lyx is a
python script and Windows isn't smart enough to work this out. LyX 1.3.6
will invoke the script as python path to/lyx2lyx foo bar, but that
isn't much help to you.

I suggest that you add a lyx2lyx.bat file to the directory containing
lyx2lyx and call the real lyx2lyx file from there.

-- 
Angus



Re: Latex import problem

2005-05-17 Thread Angus Leeming
Luis Rivera wrote:
 AFAIK, LaTeX import occurs in two phases: first reLyX/tex2lyx translates
 LaTeX to some version of LyX, and then lyx2lyx converts it to the right
 version of LyX format you may be using: 221, for LyX 1.3.5

That's essentially correct. However, reLyX generates a horrible mish-mash
of different file formats that must somehow be deciphered by lyx2lyx. 

tex2lyx generates a completely consistent lyx file, version 241, which must
then be converted back to version 221 so that LyX 1.3.5 can understand it.

 I still use the `old' reLyX script, for tex2lyx, in its current
 incarnation, is too bloated to my taste, and I have to reconvert the
 output to LyX 221 anyway.

 tex2lyx is bloated? For what definition of bloated? Two things that it
does do, which reLyX does not, is understand most 'reasonable' LaTeX and
generate a consistent .lyx file.

If you have any substantive problems with tex2lyx, then PLEASE bring them
forward. We rely on your feedback to improve it. However, please do not
suggest to people on this list that they use reLyX in preference to
tex2lyx. reLyX is a broken hack and unsupported nightmare.

-- 
Angus



Re: More Greek tribulations--help with font installation

2005-05-17 Thread Stefano Franchi
Hi Luis,
thanks for the help and the suggestions. Unfortunately the problem is 
not with \emph. I tried using the new \emph{}, but I still get the same 
problem. LaTeX cannot find the proper font for rendering italicized 
Greek. In fact, in the log file I get:

LaTeX Font Info:Try loading font information for LGR+ptm on input 
line 96.
LaTeX Font Info:No file LGRptm.fd. on input line 96.

LaTeX Font Warning: Font shape `LGR/ptm/m/it' undefined
(Font)  using `LGR/cmr/m/n' instead on input line 96.
LaTeX Font Warning: Font shape `LGR/ptm/m/n' undefined
(Font)  using `LGR/cmr/m/n' instead on input line 96.
[1
{/Users/stefano/.texmf-var/fonts/map/pdftex/updmap/pdftex.map}] 
(./newfile2.aux
)

LaTeX Font Warning: Some font shapes were not available, defaults 
substituted.

 )

From what I've (recently) read that means that LaTex is looking for the 
font Adobe Times (ptm) in the LGR encoding, in italic shape (i), cannot 
find it, and substitutes cmr (computer modern?) normal shape in LGR 
encoding. So the problems has to do with font installation and/or 
mappings, because the typesetting of Greek should use the cbgreek 
fonts. Which, I believe, all star with a g in their 
filename/description. So there is something wrong in how LaTeX selects 
the fonts, but I know too little about LaTeX/TeX to fix the problem...

Cheers,
S.

__
Stefano Franchi
Department of Philosophy  Ph:  (64) 9 373-7599 x83940
University Of Auckland  Fax: (64) 9 373-7408
Private Bag 92019   [EMAIL PROTECTED]
Auckland
New Zealand 


\left command very fragile

2005-05-17 Thread Bahram HOUCHMANDZADEH
Hello all,
I have a problem to use directly \left command in math formula.
1- If inside lyx, I push  Ctrl-M and type something like 
\left[x+y\right] every thing is fine, two nice red brackets delimit my 
formula. But if I use \left{ x+y \right} then I make havoc of my 
document with unlimited and unremovable errors. Apparently, inside math 
display, \left{ has a special meaning and one has to go through the math 
panel->delimiters to do the job.

Any body knows the source of the problem ?
Thanks,
--
Bahram  Houchmandzadeh
CNRS,Lab. Spectrometrie Physique,
BP87, 38402 St-Martin d'Heres Cedex, France.
Tel. (+33) 476 514812
Fax. (+33) 476 635495
web : http://www-lsp.ujf-grenoble.fr/recherche/a3t2/a3t2a2/bahram/index.htm


Re: \left command very fragile

2005-05-17 Thread Matthew Low
On 5/16/05, Bahram HOUCHMANDZADEH <[EMAIL PROTECTED]> wrote:
> But if I use \left{ x+y \right} then I make havoc of my
> document with unlimited and unremovable errors.

I think you want to use \left\{ and \right\} instead of \left{ and \right}.

Matt


PDF viewing in full-page mode

2005-05-17 Thread Ekkehart Schlicht
Hi,
this is just to notify that I have added a small section to the WiKi 
LyXWin page

http://wiki.lyx.org/LyX/WindowsSetup
that describes how to modify the PDF viewer such that the PDF (pdflatex)
viewing command opens the PDF in full-page view together with bookmarks
of the sections. This is rather trival but may be useful to 
inexperienced users
like me.

Ekkehart


Re: Container inconsistencies (1.3.5)

2005-05-17 Thread Angus Leeming
Kevin Pfeiffer wrote:

> Selecting a section of text and choosing to emphasize it also emphasizes
> the footnote text of any footnote containers (even those that are closed)
> that might have been caught up within the selection.

Hi, Kevin.

If you want anybody to remember these reports and to 'fix' them at some
time in the future, I recommend that you add them to bugzilla.lyx.org.
Otherwise, they'll just get lost.

-- 
Angus



Re: Hi at all -- Amatex with BibEdt in LyxWin

2005-05-17 Thread Ekkehart Schlicht
Amatex is great. Thank you for the hint.
If you are using Windows, you can copy the Bibtex
information obtained through Amatex and insert
it into your bib file by opening it with Bibedt and
select Record -> Insert
Ekkehart



Re: focus-stealing prevention in KDE desktop?

2005-05-17 Thread Georg Baum
Kevin Pfeiffer wrote:

> Hi all,
> 
> I've noticed that if I set the focus-stealing prevention level for windows
> in the KDE environment to anything higher than 'none', that notification
> messages such as "Do you want to save your document before closing?" open
> _behind_ the main application window in Lyx. I've also noticed this using
> a Perl/GTK application, but with no other applications so far.
 
> The KDE setting is found under Desktop -> Window Behavior -> Advanced
> (fourth tab) in the Control Center. Default setting for focus-stealing
> behavior is "low". Perhaps someone can test and verify/disprove this?

I had similar problems with another app, but not with LyX. I don't
understand at all when this focus stealing prevention is helpful, but it
includes a lot of guesswork. I guess that the hidden dialogs have no proper
"parent" window. Until somebody takes the time to fix that it is probably
best to disable focus stealing prevention.


Georg



Re: focus-stealing prevention in KDE desktop?

2005-05-17 Thread Charles de Miramon
Georg Baum wrote:

> Kevin Pfeiffer wrote:
> 
>> Hi all,
>> 
>> I've noticed that if I set the focus-stealing prevention level for
>> windows in the KDE environment to anything higher than 'none', that
>> notification messages such as "Do you want to save your document before
>> closing?" open _behind_ the main application window in Lyx. I've also
>> noticed this using a Perl/GTK application, but with no other applications
>> so far.

There is a kcm module in KControl to create special rules for particular
applications windows. You should play with it to solve your problem.

Cheers,
Charles 

-- 
http://www.kde-france.org



Re: focus-stealing prevention in KDE desktop?

2005-05-17 Thread Helge Hafting
On Tue, May 17, 2005 at 10:08:08AM +0200, Georg Baum wrote:
> 
> I had similar problems with another app, but not with LyX. I don't
> understand at all when this focus stealing prevention is helpful, but it

If you ever use "broken" apps like openoffice (perhaps with the "wrong"
window manager) then you'll learn why focus stealing prevention is good.

I rarely use OO, so it tend to be uncached and therefore start
slowly on those occations I need to read a word or OO document.
(Which is the only cases I use OO).  
Therefore, I do other work like typing while OO slowly loads in the background.
And then OO suddenly grabs focus.  Not just once, but something like 5 times
over a 30-second period.  I loose some typing everytime, and get
junk into that word/oo document I only meant to _read_.

This is an occation where focus stealing prevention could've been a good thing.
I don't run KDE though.

Helge Hafting


Re: Another beamer question

2005-05-17 Thread Sven Schreiber
[EMAIL PROTECTED] wrote:

> 
> As a temporary measure, maybe you could add this information to the wiki,
> e.g. on this page
> 
>   http://wiki.lyx.org/FAQ/ERT

> /Christian


Ok thanks to your continuing efforts to get people to collaborate on the
wiki I did that. Hopefully I described the problem correctly.
-sven



Font used in LyX ERT boxes

2005-05-17 Thread Andrei Popov
Hello All.

Can anyone tell me which font LyX uses in the ERT boxes? I'm unable to
see proper Russian chars in it, instead I see iso-8859-1 (latin1)
chars.

The ERT insets compile into DVI and are displayed OK, but my Cyrillic
ERTs still look horrible in LyX =\

Is the ERT font selectable in LyX? Can one specify a proper font in my
situation?

I checked with Google and LyX docs, and there seem to be smth like
"popup" font, in lyxrc, which IS selectable. Is this what I need (I
can't check right now)?

-- 
WBR,
Andrei Popov

Using LyX 1.3.4 on Linux



Re: Container inconsistencies (1.3.5)

2005-05-17 Thread G. Milde
On 17.05.05, Kevin Pfeiffer wrote:
> Selecting a section of text and choosing to emphasize it also emphasizes 
> the footnote text of any footnote containers (even those that are closed) 
> that might have been caught up within the selection. 

This seems consistent to me. (As I know, that the latex equivalent of
emphasizing a region is "put "\emph{" in front and "}" behind the selected
text.)
 
> At the same time, there doesn't seem to be any way to select "all 
> footnotes" and/or make global changes to the footnotes (except via 
> package commands?). Or have I overlooked something?

This is an interesting feature wish.

GM

-- 
G.Milde web.de


Re: Container inconsistencies (1.3.5)

2005-05-17 Thread Kevin Pfeiffer
G. Milde writes:
> On 17.05.05, Kevin Pfeiffer wrote:
> > Selecting a section of text and choosing to emphasize it also
> > emphasizes the footnote text of any footnote containers (even those
> > that are closed) that might have been caught up within the selection.
>
> This seems consistent to me. (As I know, that the latex equivalent of
> emphasizing a region is "put "\emph{" in front and "}" behind the
> selected text.)

I agree. From a strictly procedural, 
container/environment/programmer-oriented point of view this does make 
sense. But footnotes are not embedded in the main text body, but follow 
at the bottom of each page (or wherever else they are placed). Only the 
footnote numbers or references are contained in the body text 
(structurally and typographically).

-Kevin


-- 
Kevin Pfeiffer <[EMAIL PROTECTED]>
Tiros-Translations


clearing bookmarks?

2005-05-17 Thread Kevin Pfeiffer
Since LyX doesn't want to remember where I was when I close a document, I 
tried using a bookmark for this. This worked fine, except now I can't see 
how to delete this bookmark. And I looked at all three user guides. Did I 
miss something?

-Kevin


-- 
Kevin Pfeiffer <[EMAIL PROTECTED]>
Tiros-Translations


[Fwd: Re: Metapost problems]

2005-05-17 Thread marc
 Message transféré 
De: marc <[EMAIL PROTECTED]>
À: [EMAIL PROTECTED]
Objet: Re: Metapost problems
Date: Mon, 16 May 2005 18:42:02 +0200
Prologues:=1 
is not always a good thing as far as I remember.
I create a little quick and dirty perl's script who
- always compile my metapost file
- make it a latex document (so that I can use some Latex command
inside) 
- make it a eps file with  dvips
- open a viewer who show me the eps file
Here is the script
It can be rewritten when there is more then one fig in the mp file
Of course if you use windows it should be rewritten...

Marc

--
#!/usr/bin/perl

#fabrication avec mpost
$fichiermp='YOUR MP FILE HERE';
$mpostname=$fichiermp;
$mpostname=$mpostname.'.1';
print "mpost  --jobname $mpostname $fichiermp\n";
`mpost --jobname  $fichiermp $fichiermp`;


#compilation avec Latex
$text1='
\documentclass[10pt]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\pagestyle{empty}
\begin{document}
';
$text2='\end{document}';
$latexfile=$text1."\\includegraphics[scale=1]\{$mpostname\}\n".$text2;
$texfile=$fichiermp;
$texfile=~s/(.*?\.)mp/$1tex/gs;
$dvifile=$fichiermp;
$dvifile=~s/(.*?)\.mp/$1/gs;


open(FICHIERVAR,'>', $texfile) or die "Impossible ouvrir  \n";
print FICHIERVAR $latexfile;
close(FICHIERVAR);
print "latex  $texfile\n";
`latex  $texfile`;
#traitement dvi et affichage
$dvifile=$fichiermp;
$dvifile=~s/(.*?\.)mp/$1dvi/gs;
$epsfile=$fichiermp;
$epsfile=~s/(.*?\.)mp/$1eps/gs;
print "dvips -E -o $epsfile $dvifile\n";
`dvips -E -o $epsfile $dvifile`;
#nettoyage du répertoire
@ext=('aux','dvi','log','mpx','mp.1','tex','mp.log');
$noextfile=$fichiermp;
$noextfile=~s/(.*?\.)mp/$1/gs;
foreach $ligne (@ext) {
unlink("$noextfile"."$ligne");
}
`gv $epsfile`;

-


, especially if you use   Le vendredi 13 mai 2005 à 15:08 -0400, Paul A.
Rubin a écrit :
> Hi all,
> 
> As the subject indicates, this is not really a LyX problem, but the last 
> time I had a LaTeX-related question I had more luck here than on 
> comp.text.tex.
> 
> I'm creating a Beamer presentation on Win XP (using MiKTeX and, of 
> course, LyX), and I'm trying to embed some graphics.  I created them in 
> Dia and exported them as Metapost (.mp) files.  I had to manually edit 
> the line "" out of each .mp file, presumably because I'm using 
> Windoze and not *nix.
> 
> Now comes the first problem.  I run mpost (the MiKTeX Metapost 
> executable) against pic.mp, and it gives me pic.1, pic.mpx and pic.log. 
>   To my untrained eye, pic.1 looks like a valid Postscript file, but if 
> I try to open it with Ghostview, I get the error "/undefined in phvr8r". 
>   Same thing happens if I run ps2ps against pic.1.  Now phvr8r is an 
> Adobe Helvetica font, and I have phvr8r.pk in my local texmf tree and 
> phvr8r.tfm in my regular texmf tree, so the font is installed.  Does 
> anyone know what the error means and what I might do about it?
> 
> The second error (which may be related to the first) is that I can't 
> seem to get LyX/Beamer to believe that pic.1 is in an appropriate 
> graphic format.  I followed the suggestion in the Beamer manual to 
> include \DeclareGraphicsRule{*}{mps}{*}{}, so that pic.1 should be 
> interpreted as a .mps file, but all that bought me was a message that 
> the graphics conversion script didn't know what to do with an MPS file. 
>   So I tried \DeclareGraphicsRule{*}{eps}{*}{}, my thinking being that 
> MPS is a special dialect (?) of EPS.  That didn't work, either, nor did 
> renaming pic.1 to pic.eps.  (Failure of this last could tie back to the 
> previous problem.)
> 
> So, for the moment, I'm stumped, and would be grateful for any advice.
> 
> TIA,
> 
> Paul
> 
> 
-- 
marc <[EMAIL PROTECTED]>



new .bst files

2005-05-17 Thread Geoffrey Lloyd
Hi

I have updated a .bst file and rather than saving over the original i have 
saved it as a new file.  How do I get lyx to include it in the drop down menu 
in the bibtex dialogue box.

I have tried reconfig but it still doesnt seem to update the list.

In a similar vein is there a reason why the list isn't alphabetical!

Any help much appreciated

Re: clearing bookmarks?

2005-05-17 Thread Uwe Stöhr
Kevin Pfeiffer schrieb:
Since LyX doesn't want to remember where I was when I close a document, I 
tried using a bookmark for this. This worked fine, except now I can't see 
how to delete this bookmark. And I looked at all three user guides. Did I 
miss something?
As I know, you can't delete the bookmark. I overwrite it in this cases 
with the first position in the document.

But if I close and reopen the document and the bookmark are deleted. so 
how does it work for you?

thanks and regards uwe


Re: new .bst files

2005-05-17 Thread Uwe Stöhr
Geoffrey Lloyd wrote:
I have updated a .bst file and rather than saving over the original i have saved it as a new file.
> How do I get lyx to include it in the drop down menu in the bibtex 
dialogue box.

The bibtex dialog asks you in the field "Style" for a style. Doesn't it 
works for you to use the Browse button of the dialog to select a .bst file?

regards Uwe


Latex import problem

2005-05-17 Thread TGreiner
Hello,
I tried the German Win32 version on Lyx 1.3.5. Buy importing a Latex
document, I got the following error:
"Der Befehl "...lyx1.3.5/lyx/share/lyx/lyx2lyx/lyx2lyx" ist entweder
falsch
geschrieben oder konnte nicht gefunden werden."
Please can you give me advice.
Thanks.
T. Greiner



Re: Latex import problem

2005-05-17 Thread Uwe Stöhr
TGreiner schrieb:
I tried the German Win32 version on Lyx 1.3.5. By importing a Latex
document, I got the following error:
"Der Befehl "...lyx1.3.5/lyx/share/lyx/lyx2lyx/lyx2lyx" ist entweder
falsch
geschrieben oder konnte nicht gefunden werden."
LyXWin is still a bit buggy in including/converting documents. You can 
have a look at

http://wiki.lyx.org/LyX/WindowsSetup
if someone published a solution.
But lyx2lyx is a converter for different LyX file versions. If you want 
to convert LaTeX to LyX, you should check out the new program tex2lyx:

http://wiki.lyx.org/LaTeX/LatexToLyx
regards Uwe


Re: More Greek tribulations--help with font installation

2005-05-17 Thread Luis Rivera
Stefano Franchi <[EMAIL PROTECTED]> writes:

> 
> Thank to Matej and Herbert I solved the problem with Greek letters in 
> BibTeX title. I am now facing another problem: how to get LyX/LaTex to 
> produce the 'slanted' Greek  fonts needed for emphasis.
> 
> I installed the cbgreek package by Claudio Beccari and it seems to be 
> working fine with Babel with the \selectlanguage{greek} option. That 
> is, I can get the regular font shape with all the needed accents, 
> spirits, etc. and the font size is correctly scaled down from main text 
> to footnote text. So far so good. But I cannot produce the slanted 
> shape which, according to cbgreek's documentation, does indeed exist.  
> But I cannot see any difference between, e.g, the two following lines:
> 
> \selectlanguage{greek}pajhtik'on\selectlanguage{english}
> 
> \emph \selectlanguage{greek}pajhtik'on\selectlanguage{english}
> 
> The problem lies with the installation of cbgreek, I suppose, since I 
> get the following warnings when I try to compile directly from LaTeX;
> 

You did something wrong. In fact, the problem is the use of \emph.  First of 
all, I seem to recall this is one of the taboos in moving from old LaTeX209 to 
new LaTeX2e.  you should use \emph{} (delimiters required).

Second, if you are typesetting short sentences or words, you better use 
\foreignlanguage{greek}{pajetik'on}.  You skip the selectlangs, and your source 
code is less verbose.

If you want to do something *really* cool, try adding 

\renewcommand{\textsf}[#1]{\foreignlanguage{greek}{#1}} 

to the preamble in Layout/Document/Preamble.  This command assigns Greek to the 
sans-serifed fonts (if you, like me, you don't have a use for those), so every 
time you want to add something in Greek you simply type \textsf{pajhtik'os}.  
The font mechanism adds cursive, slanted, boldface, whatever, automagically.  
On LyX you see a sans-serifed font (Arial, I think, by default).  I suggest you 
to stick to the italic font.  It's better, to my taste...

Trust me: I'm writing my dissertation too ;)

Luis.



Re: new .bst files

2005-05-17 Thread Geoffrey Lloyd
Many thanks
I apologise - a complete oversight on my part.
- Original Message - 
From: "Uwe Stöhr" <[EMAIL PROTECTED]>
To: "Geoffrey Lloyd" <[EMAIL PROTECTED]>
Cc: 
Sent: Tuesday, May 17, 2005 6:38 PM
Subject: Re: new .bst files


Geoffrey Lloyd wrote:
I have updated a .bst file and rather than saving over the original i 
have saved it as a new file.
> How do I get lyx to include it in the drop down menu in the bibtex
dialogue box.
The bibtex dialog asks you in the field "Style" for a style. Doesn't it 
works for you to use the Browse button of the dialog to select a .bst 
file?

regards Uwe



Re: clearing bookmarks?

2005-05-17 Thread Kevin Pfeiffer
Uwe Stöhr writes:
> Kevin Pfeiffer schrieb:
> > Since LyX doesn't want to remember where I was when I close a
> > document, I tried using a bookmark for this. This worked fine, except
> > now I can't see how to delete this bookmark. And I looked at all
> > three user guides. Did I miss something?
>
> As I know, you can't delete the bookmark. I overwrite it in this cases
> with the first position in the document.
>
> But if I close and reopen the document and the bookmark are deleted. so
> how does it work for you?

You're right! So much for my thorough testing. I only placed the bookmark, 
scrolled to the top of the document and then tried navigating back via 
bookmark to where I was. I never dreamed that the bookmark is not saved 
with the document (must be a bug, isn't it?). I was only concerned 
because as far as I could see, the bookmark is invisible, making it 
difficult to delete. Well, now I know how to do that. :-)

-K

-- 
Kevin Pfeiffer <[EMAIL PROTECTED]>
Tiros-Translations


Re: Latex import problem

2005-05-17 Thread Luis Rivera
Uwe StÃhr <[EMAIL PROTECTED]> writes:

> 
> TGreiner schrieb:
> 
> > I tried the German Win32 version on Lyx 1.3.5. By importing a Latex
> > document, I got the following error:
> > "Der Befehl "...lyx1.3.5/lyx/share/lyx/lyx2lyx/lyx2lyx" ist entweder
> > falsch
> > geschrieben oder konnte nicht gefunden werden."
> 
> LyXWin is still a bit buggy in including/converting documents. You can 
> have a look at
> 
> http://wiki.lyx.org/LyX/WindowsSetup
> 
> if someone published a solution.
> 
> But lyx2lyx is a converter for different LyX file versions. If you want 
> to convert LaTeX to LyX, you should check out the new program tex2lyx:
> 
> http://wiki.lyx.org/LaTeX/LatexToLyx
> 
> regards Uwe
> 
> 

AFAIK, LaTeX import occurs in two phases: first reLyX/tex2lyx translates LaTeX 
to some version of LyX, and then lyx2lyx converts it to the right version of 
LyX format you may be using: 221, for LyX 1.3.5

I still use the `old' reLyX script, for tex2lyx, in its current incarnation, is 
too bloated to my taste, and I have to reconvert the output to LyX 221 anyway.  
So simply use the lyx2lyx.cmd suggested in the wiki page, and you may be all 
set.

If that fails, you may cook a tex2lyx.cmd file calling both reLyX and lyx2lyx, 
in fact faking the behavior of the new tex2lyx...

Luis.




Re: Latex import problem

2005-05-17 Thread Angus Leeming
TGreiner wrote:

> Hello,
> I tried the German Win32 version on Lyx 1.3.5. Buy importing a Latex
> document, I got the following error:
> "Der Befehl "...lyx1.3.5/lyx/share/lyx/lyx2lyx/lyx2lyx" ist entweder
> falsch
> geschrieben oder konnte nicht gefunden werden."
> Please can you give me advice.
> Thanks.
> T. Greiner

Please don't reply to mails when you wish to start an entirely new thread.
I'm likely to miss your post as it appears in my reader as
  - [Fwd: Re: Metapost problems]marc
|_ Latex import problem TGreiner

Anyway, to reply to your question. There is a bug in LyX/Win 1.3.5 in that
lyx2lyx is invoked as "lyx2lyx foo bar". Unfortunately, lyx2lyx is a
python script and Windows isn't smart enough to work this out. LyX 1.3.6
will invoke the script as "python /lyx2lyx foo bar", but that
isn't much help to you.

I suggest that you add a lyx2lyx.bat file to the directory containing
lyx2lyx and call the real lyx2lyx file from there.

-- 
Angus



Re: Latex import problem

2005-05-17 Thread Angus Leeming
Luis Rivera wrote:
> AFAIK, LaTeX import occurs in two phases: first reLyX/tex2lyx translates
> LaTeX to some version of LyX, and then lyx2lyx converts it to the right
> version of LyX format you may be using: 221, for LyX 1.3.5

That's essentially correct. However, reLyX generates a horrible mish-mash
of different file formats that must "somehow" be deciphered by lyx2lyx. 

tex2lyx generates a completely consistent lyx file, version 241, which must
then be converted back to version 221 so that LyX 1.3.5 can understand it.

> I still use the `old' reLyX script, for tex2lyx, in its current
> incarnation, is too bloated to my taste, and I have to reconvert the
> output to LyX 221 anyway.

 tex2lyx is bloated? For what definition of bloated? Two things that it
does do, which reLyX does not, is understand most 'reasonable' LaTeX and
generate a consistent .lyx file.

If you have any substantive problems with tex2lyx, then PLEASE bring them
forward. We rely on your feedback to improve it. However, please do not
suggest to people on this list that they use reLyX in preference to
tex2lyx. reLyX is a broken hack and unsupported nightmare.

-- 
Angus



Re: More Greek tribulations--help with font installation

2005-05-17 Thread Stefano Franchi
Hi Luis,
thanks for the help and the suggestions. Unfortunately the problem is 
not with \emph. I tried using the new \emph{}, but I still get the same 
problem. LaTeX cannot find the proper font for rendering italicized 
Greek. In fact, in the log file I get:

LaTeX Font Info:Try loading font information for LGR+ptm on input 
line 96.
LaTeX Font Info:No file LGRptm.fd. on input line 96.

LaTeX Font Warning: Font shape `LGR/ptm/m/it' undefined
(Font)  using `LGR/cmr/m/n' instead on input line 96.
LaTeX Font Warning: Font shape `LGR/ptm/m/n' undefined
(Font)  using `LGR/cmr/m/n' instead on input line 96.
[1
{/Users/stefano/.texmf-var/fonts/map/pdftex/updmap/pdftex.map}] 
(./newfile2.aux
)

LaTeX Font Warning: Some font shapes were not available, defaults 
substituted.

 )

From what I've (recently) read that means that LaTex is looking for the 
font Adobe Times (ptm) in the LGR encoding, in italic shape (i), cannot 
find it, and substitutes cmr (computer modern?) normal shape in LGR 
encoding. So the problems has to do with font installation and/or 
mappings, because the typesetting of Greek should use the cbgreek 
fonts. Which, I believe, all star with a "g" in their 
filename/description. So there is something wrong in how LaTeX selects 
the fonts, but I know too little about LaTeX/TeX to fix the problem...

Cheers,
S.

__
Stefano Franchi
Department of Philosophy  Ph:  (64) 9 373-7599 x83940
University Of Auckland  Fax: (64) 9 373-7408
Private Bag 92019   [EMAIL PROTECTED]
Auckland
New Zealand