Re:jbibtexmanager and lyx on cygwin

2003-10-01 Thread vsharma
It may be an issue. fifo pipes are a unix speciality. Nonetheless, first
see if the pipes are working in LyX. See
http://article.gmane.org/gmane.editors.lyx.general/11454http://article.gmane.org/gmane.editors.lyx.general/11454
--
Angus
I tried the directions on the said page.
When using cmd prompt It doesnot recognise lyx as a programme or a batchfile.
When using Cygwin bash shell it cannot open a lyx file and says could not 
access x windows
when trying to debug I get the message
$ lyx -dbg lyxserver
Setting debug level to lyxserver
Debugging 'lyxserver' External control interface
lyx:can't open display
Lyx:unable to access X display,exiting

what should I do?
I use startlyx.bat provided by the cygwin port to run lyx.
regards
vivek


Re: qt-style

2003-10-01 Thread Momes
The qt libs are Debian provided, as well as kde.

Thank you,

Momes


Re: Sorting of literature automatically?

2003-10-01 Thread Michael Logies
At 07:02 01.10.2003 +0200, Herbert Voß wrote:

I attached the file. It is working with
%\usepackage{cite}
and not working with
\usepackage{cite}
do not use spaces inside the keywords!
Herbert,

thanks. When I replace spaces by _ in my example file, {cite} is working. 
I consider this a real bug within Lyx. It should warn when using spaces if 
this is not an appropiate syntax for some Latex-macros.
I think it will be a lot of work replacing all spaces with an editor in my 
lyx-file.

Interesting is that hyperref for example has no problem with these spaces. 
Is there a general rule, that newer macros or packages can handle spaces?

Though {cite} would work now, it is stopped from working by hyperref, as I 
see in my example file.
Juergen pointed to http://www.dante.de/faq/de-tex-faq/html/makros3.html#47
Perhaps natbib with hypernat would work better? Has anyone an idea, whether 
this will work with spaces in the keywords of my references or not?

Thanks

Michael
--
http://www.logies.de/ (u. a. _die_ Mailingliste für die Dentalbranche)
PGP-key (RSA/IDEA) kommt mit angeforderter Empfangsbestätigung (return receipt)


Re: LyX 1.3.3 Compiles cleanly with Qt 3.2.1 on Debian Unstable

2003-10-01 Thread Angus Leeming
Marc Jeffrey Driftmeyer wrote:
 During compilation there were several verbose warnings about update(),
 repaint() as Qt was trying to interpret the request.  I'm guessing the
 dev Team hasn't truly ported LyX to Qt 3.2.1 just yet.

No, it is ported. These messages are warnings we put in to remind us that 
maybe, just maybe some of the logic in the lyx kernel is incorrect. Both 
frontends suffer from this.

 Setting controller ro: 1
 Transition from state 0 to state 0 after input 7
 Calling BC refresh()
 ./lyx: relocation error: ./lyx: undefined symbol: _ZN7QWidget7repaintEb

I suspect that this is related directly to your rebuilding problems of the 
kde/qt libraries. Not the answer you wanted to hear I suspect.

-- 
Angus



Re:jbibtexmanager and lyx on cygwin

2003-10-01 Thread Angus Leeming
vsharma wrote:
 I tried the directions on the said page.
 When using cmd prompt It doesnot recognise lyx as a programme or a
 batchfile. When using Cygwin bash shell it cannot open a lyx file and
 says could not access x windows

Start your x server first? I have no idea about the murky windows world, so 
I'm not the right person to ask.

-- 
Angus



Re: Sorting of literature automatically?

2003-10-01 Thread Andre Poenitz
On Wed, Oct 01, 2003 at 09:46:58AM +0200, Michael Logies wrote:
 At 07:02 01.10.2003 +0200, Herbert Voß wrote:
 
 I attached the file. It is working with
 %\usepackage{cite}
 and not working with
 \usepackage{cite}
 
 do not use spaces inside the keywords!
 
 Herbert,
 
 thanks. When I replace spaces by _ in my example file, {cite} is working.

You should even use '-' instead of '_' or ' ' to be really on the safe
side. '_' has usually a special meaning for TeX and there are rare
circumstances where it can be used with the 'ordinary meaning'.
Although \cite should be one of these places, not all TeX related
software is aware of that. So better don't use it.

 I consider this a real bug within Lyx.

It is really hard to 'fix' as TeX is far too complex to come up with a
rule 'char x is forbidden in place y'. 

 It should warn when using spaces if this is not an appropiate syntax
 for some Latex-macros.  I think it will be a lot of work replacing all
 spaces with an editor in my lyx-file.
 
 Interesting is that hyperref for example has no problem with these
 spaces.  Is there a general rule, that newer macros or packages can
 handle spaces?

Sort of, yes. Building robust (La)TeX macros is an art (a dark one, if
you ask me), so the casual package writer tends to miss a few corner
cases in the first fourhundred releases or so.

Andre'


Problem installing LyX for Win32

2003-10-01 Thread Guido Milanese
I tried to install Ruurd Reitsma's LyX for Win32. The extractor starts but suddenly 
complain it is not able to find the first additional fine (the one with extension r00) 
that is in fact present in the temporary directory as well as the main exe file. Is 
this a knows problem? The installation program hangs and I found no way to persuade it 
to go any further.

Thanks!

gm




Guido Milanese   - [EMAIL PROTECTED]
Vocal Ensemble Ars Antiqua - http://www.arsantiqua.org
Salita del Passero 11, I-16126 Genova GE, Italy
** GAUDETE IN DOMINO SEMPER *






RE: Problem installing LyX for Win32

2003-10-01 Thread Rob Saunders

Hi Guido,

 
 I tried to install Ruurd Reitsma's LyX for Win32. The extractor starts
but
 suddenly complain it is not able to find the first additional fine
(the
 one with extension r00) that is in fact present in the temporary
directory
 as well as the main exe file. Is this a knows problem? The
installation
 program hangs and I found no way to persuade it to go any further.

I've downloaded and installed this version on 4 windows pc's without a
problem.

I suggest you remove all 3 files and start again, you may have had an
error when you downloaded.

 
 Thanks!
 
 gm
 

Rob S



Re: Sorting of literature automatically?

2003-10-01 Thread Herbert Voß
Andre Poenitz schrieb:

I consider this a real bug within Lyx.


It is really hard to 'fix' as TeX is far too complex to come up with a
rule 'char x is forbidden in place y'. 
no, not for keywords and labels, where LyX controls the
user input.
Herbert




Re: Sorting of literature automatically?

2003-10-01 Thread Andre Poenitz
On Wed, Oct 01, 2003 at 04:19:28PM +0200, Herbert Voß wrote:
 Andre Poenitz schrieb:
 
 I consider this a real bug within Lyx.
 
 
 It is really hard to 'fix' as TeX is far too complex to come up with a
 rule 'char x is forbidden in place y'. 
 
 no, not for keywords and labels, where LyX controls the
 user input.

LyX controls the user input, but after ERT, a non-empty preamble or any
non-standard style, all control is gone:


fancycite.sty:

\let\oldcite\cite
\def\cite{\catcode`z=1\oldcite}


Now use

\usepackage{fancycite}

and enter a citation containing the letter 'z'.

How should LyX know that this is 'forbidden'?

Andre' 


Re: Sorting of literature automatically?

2003-10-01 Thread Herbert Voß
Andre Poenitz schrieb:
On Wed, Oct 01, 2003 at 04:19:28PM +0200, Herbert Voß wrote:

Andre Poenitz schrieb:


I consider this a real bug within Lyx.


It is really hard to 'fix' as TeX is far too complex to come up with a
rule 'char x is forbidden in place y'. 
no, not for keywords and labels, where LyX controls the
user input.


LyX controls the user input, but after ERT, a non-empty preamble or any
non-standard style, all control is gone:
sure, that is significant to _all_ kinds programming
languages.
fancycite.sty:

\let\oldcite\cite
\def\cite{\catcode`z=1\oldcite}
Now use

\usepackage{fancycite}

and enter a citation containing the letter 'z'.

How should LyX know that this is 'forbidden'?
we are talking about (La)TeX and not some packages
and not ERT. In _LaTeX_ it is not a good idea to have spaces and/or
control characters in filesnames/labels/keywords.
Everything in this way is on users risk! If it works, fine
if not, c'est la vie ...
Herbert




Graphics output difficulties

2003-10-01 Thread Dan Nedelko
Hi everyone,

I am having problems with graphics output in Lyx 1.3.2 on Redhat 9 with
the QT frontend. I have been working on numerous documents with no
problems at all. When my document was complete I inserted numerous
'figures' ie graphics into the document. 

As suggested I created a figure float and inserted my image into the
float. The images display perfectly within LyX however when I attempt
any form of output my figure is completely ignored.

In an attempt to cover all bases, I ran 

lyx -dbg graphics

and I was presented with:

Setting debug level to graphics
Debugging `graphics' (Graphics conversion and loading)
Recognised Fileformat: ppm
[GrahicsCacheItem::convertToDisplayFormat]
Attempting to convert image file:
/usr/share/lyx/images/banner.ppm
with displayed filename: /usr/share/lyx/images/banner.ppm
Recognised Fileformat: ppm

The file contains ppm format data.

The image loader can load the following directly:
BMP
GIF
JPEG
MNG
PBM
PGM
PNG
PPM
XBM
XPM

Of these, LyX recognises the following formats:
bmp, gif, jpg, pbm, pgm, png, ppm, xbm, xpm

No conversion needed (from == to)!
Loading image.
just Loaded.
pixmap isNull 0 xformed_pixmap_ isNull 0
Image loading succeeded.
GraphicsImage::getScaledDImensions()
params.scale   : 100
width  : 425
height : 290
pixmap isNull 0 xformed_pixmap_ isNull 0
setPixmap()

which would appear to be correct, ie I have all filter support. When I
attempt to export-PDF(latex) I receive the following output:

The font scaling factor is 125.55
insetgraphics::latex: Filename =
/home/danny/Documents/nID/DigiQLite/Chart1.xpm
Message = 
Opts =
Before = \includegraphics
after =
[InsetGraphics::prepareFile] orig_file =
/home/danny/Documents/nID/DigiQLite/Chart1.xpm
with path: /home/danny/Documents/nID/DigiQLite/Chart1.xpm
Recognised Fileformat: xpm
Recognised Fileformat: xpm
findTargetFormat: PDF mode
 we have: from xpm to png
the orig file is: /home/danny/Documents/nID/DigiQLite/Chart1.xpm
changed to:
/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.xpm
copying from /home/danny/Documents/nID/DigiQLite/Chart1.xpm to
/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.xpm 
succeeded
The original file is
/home/danny/Documents/nID/DigiQLite/Chart1.xpm
A copy has been made and convert is to be called with:
file to convert =
/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.xpm
outfile_base =
/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1
 from xpm to png
No converter defined! I use convertDefault.sh:
/usr/share/lyx/scripts/convertDefault.sh
xpm:/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.xpm
 
png:/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.png
Recognised Fileformat: xpm
[GrahicsCacheItem::convertToDisplayFormat]
Attempting to convert image file:
/home/danny/Documents/nID/DigiQLite/Chart1.xpm
with displayed filename: ~/Documents/nID/DigiQLite/Chart1.xpm
Recognised Fileformat: xpm

The file contains xpm format data.
No conversion needed (from == to)!
Loading image.
just Loaded.
pixmap isNull 0 xformed_pixmap_ isNull 0
Image loading succeeded.
GraphicsImage::getScaledDImensions()
params.scale   : 100
width  : 769
height : 568
pixmap isNull 0 xformed_pixmap_ isNull 0
setPixmap()
Recognised Fileformat: xpm
Recognised Fileformat: xpm
[readBB_from_PSFile] no(e)ps-format

The resulting output is excellent except for the missing image. The
current output is based on an XPM version, however I have the same
results with PNG and EPS. 

Any help with my issue would be greatly appreciated!

Cheers,
-- 
Dan Nedelko, BSc. CS/Math
Lead Systems Developer
nID Solutions Inc.
519-744-9221 ext 220519-581-1062 fax
[EMAIL PROTECTED]www.nIDsolutions.com

Suite 810, 101 Frederick Street,
Kitchener, Ontario
N2L 5R9





Re: Graphics output difficulties

2003-10-01 Thread Angus Leeming
Dan Nedelko wrote:
 I am having problems with graphics output in Lyx 1.3.2 on Redhat 9 with
 the QT frontend. I have been working on numerous documents with no
 problems at all. When my document was complete I inserted numerous
 'figures' ie graphics into the document.

 In an attempt to cover all bases, I ran
 lyx -dbg graphics

Good man!

 The font scaling factor is 125.55
 insetgraphics::latex: Filename =
 /home/danny/Documents/nID/DigiQLite/Chart1.xpm
 Message = 
 Opts =
 Before = \includegraphics
 after =
 [InsetGraphics::prepareFile] orig_file =
 /home/danny/Documents/nID/DigiQLite/Chart1.xpm

xpm:/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.xpm
png:/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.png

I wonder. Does this png image exist?

 The resulting output is excellent except for the missing image. The
 current output is based on an XPM version, however I have the same
 results with PNG and EPS.

I'm very suspicious I'm afraid. Here's why:
LyX thinks that it has converted the image just fine and so will be running 
latex on your exported document with the latex snippet
\includegraphics[your_options]{your_file}
where your_file is _home_danny_Documents_nID_DigiQLite_Chart1

If the file does not exist after all, latex will complain and produce no 
output at all.

If, however, LyX could not convert your image then it would instead export 
the latex snippet
\includegraphics[your_options, draft]{your_file}

latex would be quite happy with the non-existence of the file, producing a 
little box in the document along the lines
your_file not found!

So, the fact that latex is happy yet there appears to be no image is very 
suspicious.

You have placed the image in a float you say.

Have you checked that the image is not at the very end of the document?

What happens if you move the image out of the float so it appears Right 
Here?

-- 
Angus



Re: Graphics output difficulties

2003-10-01 Thread Rich Shepard
On Wed, 1 Oct 2003, Dan Nedelko wrote:

 I am having problems with graphics output in Lyx 1.3.2 on Redhat 9 with
 the QT frontend. I have been working on numerous documents with no
 problems at all. When my document was complete I inserted numerous
 'figures' ie graphics into the document.

Dan,

  I cannot provide either a solution or intelligent suggestion to your
immediate problem, but I can offer that I've had no problems with .eps
figures when exporting to pdflatex (or viewing the .dvi output). I've had
figures in earlier versions of LyX (with the xforms GUI and RH 6.2) and now
in my book with -1.3.2 on RH 7.3.

  When I did have problems recently, it was with illustrations generated by
xfig. The ones I've done with tgif show up nicely on screen and on paper.
This may not solve your immediate problem, but I hope it encourages you that
good graphic output can be achieved.

Rich

Dr. Richard B. Shepard, President

   Applied Ecosystem Services, Inc. (TM)
2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
 + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard#64;appl-ecosys.com
 http://www.appl-ecosys.com/


LyX and package teubner

2003-10-01 Thread Tobias Hilbricht
Dear readers of this list,
I would like to use LyX in conjunction with the latex package teubner for 
(old) greek philological typesetting. I have a working installation of the 
package teubner, however, I cannot use it with LyX. I think it is because it 
uses a language attribute in the preamble (an example is attached at the 
end). I tried to change the settings under edit/preferences/language, and 
also I tried with entries into format/document/LaTeX preamble, but no 
success.

Grateful for any helpful hints

Yours sincerely

Tobias Hilbricht

snip

\documentclass[12pt]{article}
\usepackage[greek,german]{babel}
\languageattribute{greek}{polutoniko} -- here is the attribute
\usepackage{teubner}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}

\pagestyle{empty}

\makeatletter

\makeatother

\begin{document}

\section*{\selectlanguage{greek}SAPFOUS MELH --- 
\selectlanguage{german}{Sapphos Lieder}}

\begin{large}
\selectlanguage{greek}

\begin{Versi}[1]

\longa \brevis \longa \ubarbrevis{} orr'a|nojen \Ladd{\brevis \longa 
\barbrevis}\\
\Ladd{---} kat'ioisa \\ [1ex]

de~uru m\lladd{m} e\d{s} \d{K}\d{r}ht\d{a}s .p\ladd{\Dots[5]}na~uon\\
'agnon 'op \lbrk pai d`h\rbrk q'arien m`en 'alos\\
mal'i\ladd{an}, b~wmoi d 'evi jumi'ame-\\
noi \Ladd{lib}an'wtw\\ [1ex]

en \Ladd{d}'udwr y~uqron kel'adei di 'us\Ladd{d}wn \\
mal'i\Ladd{nw}, br'odoisi d'e pa~is o q~wros \\
\dots

\end{Versi}
\end{large}
\end{document}

-snap--






Re: LyX and package teubner

2003-10-01 Thread Matej Cepl
On 2003-10-01, 16:51 GMT, Tobias Hilbricht wrote:
 I tried to change the settings under edit/preferences/language, and 
 also I tried with entries into format/document/LaTeX preamble, but no 
 success.

What exactly happens, when you copy (VERBATIM!) this into
Layout/Document/Preamble?

 \usepackage[greek,german]{babel}
 \languageattribute{greek}{polutoniko} -- here is the attribute
 \usepackage{teubner}
 \usepackage[T1]{fontenc}
 \usepackage[latin1]{inputenc}
 
 \pagestyle{empty}

Best,

   Matej

-- 
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488



Re: LyX and package teubner

2003-10-01 Thread Angus Leeming
Tobias Hilbricht wrote:

 Dear readers of this list,
 I would like to use LyX in conjunction with the latex package teubner for
 (old) greek philological typesetting. I have a working installation of
 the package teubner, however, I cannot use it with LyX. I think it is
 because it uses a language attribute in the preamble (an example is
 attached at the end). I tried to change the settings under
 edit/preferences/language, and also I tried with entries into
 format/document/LaTeX preamble, but no success.
 
 Grateful for any helpful hints
 
 Yours sincerely
 
 Tobias Hilbricht

Is this not equivalent? (LyX file and tex file exported from it). I can't 
test it as I have neither the package nor iso-8859-7.def installed.

-- 
Angus

tobias2.lyx
Description: application/lyx
%% LyX 1.3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[greek,german]{article}
\usepackage[T1]{fontenc}
\usepackage[iso-8859-7,latin1]{inputenc}

\makeatletter
%% User specified LaTeX commands.
\languageattribute{greek}{polutoniko}
\usepackage{teubner}
\usepackage{babel}
\makeatother
\begin{document}

\selectlanguage{greek}
\inputencoding{iso-8859-7}
\section*{SAPFOUS MELH}

\selectlanguage{german}
\inputencoding{latin1}
Sapphos Lieder
\end{document}


Re: Aspell and LyX: a difficult matrimony?

2003-10-01 Thread Paul Smith
 I've got LyX 1.3.2 (old=only version from Reitsma) working fine with
Aspell
 on winnt4/sp5. Which windows version are you using?

I am using Windows2000 Professional.

Andre Poenitz has kindly suggested me that I could run Aspell on the command
line (DOS console)and it brilliantly works with TeX files. (He mentioned
that it is also possible to use this strategy with LyX files.) Of course, it
would be better to have Aspell working inside LyX... But, even so, I prefer
to use LyX, instead of SWP, as I consider the former clearly superior to the
latter.


Re: Sorting of literature automatically?

2003-10-01 Thread Michael Logies
At 16:52 01.10.2003 +0200, Herbert Voß wrote:

we are talking about (La)TeX and not some packages
and not ERT. In _LaTeX_ it is not a good idea to have spaces and/or
control characters in filesnames/labels/keywords.
Herbert,

it is even worse. It seems as if {natbib} doesn`t accept a german Umlaut in 
keywords.
What about a Umlaut in labels and filenames?

Thanks

Michael
--
http://www.logies.de/ (u. a. _die_ Mailingliste für die Dentalbranche)
PGP-key (RSA/IDEA) kommt mit angeforderter Empfangsbestätigung (return receipt)


Re: Sorting of literature automatically?

2003-10-01 Thread Michael Logies
At 02:03 29.09.2003 +0200, Michael Logies wrote:

Is there a way to sort these hints to the literature automatically 
ascending (Lyx 1.3.2 for Qt)?
After eliminating spaces and german umlaute from the keywords of the 
bibliographic entries, sorting is now working well with {cite} or {natbib}, 
{hypernat}.
{cite} tolerates Umlaute (but does not work with hyperref), {natbib} does 
not tolerate Umlaute, but works with hyperref.

Regards

M.

From my preamble:
%%% Sortiert die Literaturstellen aufsteigend im Text:
%% Erste Möglichkeit, geht nicht zusammen mit hyperref
%\usepackage{cite}
%% Zweite Möglichkeit, geht zusammen mit hyperref:
% Entweder so:
%\usepackage[numbers,sort]{natbib}
% Oder so:
\usepackage[numbers,sortcompress]{natbib}
\usepackage{hypernat}
--
http://www.logies.de/ (u. a. _die_ Mailingliste für die Dentalbranche)
PGP-key (RSA/IDEA) kommt mit angeforderter Empfangsbestätigung (return receipt)


Re: Sorting of literature automatically?

2003-10-01 Thread Herbert Voß
Michael Logies schrieb:
At 16:52 01.10.2003 +0200, Herbert Voß wrote:

we are talking about (La)TeX and not some packages
and not ERT. In _LaTeX_ it is not a good idea to have spaces and/or
control characters in filesnames/labels/keywords.


Herbert,

it is even worse. It seems as if {natbib} doesn`t accept a german Umlaut 
in keywords.
What about a Umlaut in labels and filenames?
yes, maybe problematic too. I have no working 1.3.X
here, but in 1.4 the problem is LyX, not LaTeX. I get
blah see section schön\ref{sec:sch=F6n}. and see schön
\citet{schn:1918}
both were inserted as schön

Herbert




Re: foot to end notes

2003-10-01 Thread Michael Logies
At 14:46 30.09.2003 -0400, /var/spool/mail/robinson wrote:

the second wants all my foot notes turned into end
notes.  is there an easy way to do this?
For me this works:
preamble:
\usepackage{endnotes}
\let\footnote=\endnote
\renewcommand\notesname{Anmerkungen}
somewhere in the text:
 \newpage
 \begingroup
 \parindent 0pt
 \parskip 2ex
 \def\enotesize{\normalsize}
 \theendnotes
 \endgroup
--
http://www.logies.de/ (u. a. _die_ Mailingliste für die Dentalbranche)
PGP-key (RSA/IDEA) kommt mit angeforderter Empfangsbestätigung (return receipt)


Re:jbibtexmanager and lyx on cygwin

2003-10-01 Thread vsharma
It may be an issue. fifo pipes are a unix speciality. Nonetheless, first
see if the pipes are working in LyX. See
http://article.gmane.org/gmane.editors.lyx.general/11454http://article.gmane.org/gmane.editors.lyx.general/11454
--
Angus
I tried the directions on the said page.
When using cmd prompt It doesnot recognise lyx as a programme or a batchfile.
When using Cygwin bash shell it cannot open a lyx file and says could not 
access x windows
when trying to debug I get the message
$ lyx -dbg lyxserver
Setting debug level to lyxserver
Debugging 'lyxserver' External control interface
lyx:can't open display
Lyx:unable to access X display,exiting

what should I do?
I use startlyx.bat provided by the cygwin port to run lyx.
regards
vivek


Re: qt-style

2003-10-01 Thread Momes
The qt libs are Debian provided, as well as kde.

Thank you,

Momes


Re: Sorting of literature automatically?

2003-10-01 Thread Michael Logies
At 07:02 01.10.2003 +0200, Herbert Voß wrote:

I attached the file. It is working with
%\usepackage{cite}
and not working with
\usepackage{cite}
do not use spaces inside the keywords!
Herbert,

thanks. When I replace spaces by _ in my example file, {cite} is working. 
I consider this a real bug within Lyx. It should warn when using spaces if 
this is not an appropiate syntax for some Latex-macros.
I think it will be a lot of work replacing all spaces with an editor in my 
lyx-file.

Interesting is that hyperref for example has no problem with these spaces. 
Is there a general rule, that newer macros or packages can handle spaces?

Though {cite} would work now, it is stopped from working by hyperref, as I 
see in my example file.
Juergen pointed to http://www.dante.de/faq/de-tex-faq/html/makros3.html#47
Perhaps natbib with hypernat would work better? Has anyone an idea, whether 
this will work with spaces in the keywords of my references or not?

Thanks

Michael
--
http://www.logies.de/ (u. a. _die_ Mailingliste für die Dentalbranche)
PGP-key (RSA/IDEA) kommt mit angeforderter Empfangsbestätigung (return receipt)


Re: LyX 1.3.3 Compiles cleanly with Qt 3.2.1 on Debian Unstable

2003-10-01 Thread Angus Leeming
Marc Jeffrey Driftmeyer wrote:
 During compilation there were several verbose warnings about update(),
 repaint() as Qt was trying to interpret the request.  I'm guessing the
 dev Team hasn't truly ported LyX to Qt 3.2.1 just yet.

No, it is ported. These messages are warnings we put in to remind us that 
maybe, just maybe some of the logic in the lyx kernel is incorrect. Both 
frontends suffer from this.

 Setting controller ro: 1
 Transition from state 0 to state 0 after input 7
 Calling BC refresh()
 ./lyx: relocation error: ./lyx: undefined symbol: _ZN7QWidget7repaintEb

I suspect that this is related directly to your rebuilding problems of the 
kde/qt libraries. Not the answer you wanted to hear I suspect.

-- 
Angus



Re:jbibtexmanager and lyx on cygwin

2003-10-01 Thread Angus Leeming
vsharma wrote:
 I tried the directions on the said page.
 When using cmd prompt It doesnot recognise lyx as a programme or a
 batchfile. When using Cygwin bash shell it cannot open a lyx file and
 says could not access x windows

Start your x server first? I have no idea about the murky windows world, so 
I'm not the right person to ask.

-- 
Angus



Re: Sorting of literature automatically?

2003-10-01 Thread Andre Poenitz
On Wed, Oct 01, 2003 at 09:46:58AM +0200, Michael Logies wrote:
 At 07:02 01.10.2003 +0200, Herbert Voß wrote:
 
 I attached the file. It is working with
 %\usepackage{cite}
 and not working with
 \usepackage{cite}
 
 do not use spaces inside the keywords!
 
 Herbert,
 
 thanks. When I replace spaces by _ in my example file, {cite} is working.

You should even use '-' instead of '_' or ' ' to be really on the safe
side. '_' has usually a special meaning for TeX and there are rare
circumstances where it can be used with the 'ordinary meaning'.
Although \cite should be one of these places, not all TeX related
software is aware of that. So better don't use it.

 I consider this a real bug within Lyx.

It is really hard to 'fix' as TeX is far too complex to come up with a
rule 'char x is forbidden in place y'. 

 It should warn when using spaces if this is not an appropiate syntax
 for some Latex-macros.  I think it will be a lot of work replacing all
 spaces with an editor in my lyx-file.
 
 Interesting is that hyperref for example has no problem with these
 spaces.  Is there a general rule, that newer macros or packages can
 handle spaces?

Sort of, yes. Building robust (La)TeX macros is an art (a dark one, if
you ask me), so the casual package writer tends to miss a few corner
cases in the first fourhundred releases or so.

Andre'


Problem installing LyX for Win32

2003-10-01 Thread Guido Milanese
I tried to install Ruurd Reitsma's LyX for Win32. The extractor starts but suddenly 
complain it is not able to find the first additional fine (the one with extension r00) 
that is in fact present in the temporary directory as well as the main exe file. Is 
this a knows problem? The installation program hangs and I found no way to persuade it 
to go any further.

Thanks!

gm




Guido Milanese   - [EMAIL PROTECTED]
Vocal Ensemble Ars Antiqua - http://www.arsantiqua.org
Salita del Passero 11, I-16126 Genova GE, Italy
** GAUDETE IN DOMINO SEMPER *






RE: Problem installing LyX for Win32

2003-10-01 Thread Rob Saunders

Hi Guido,

 
 I tried to install Ruurd Reitsma's LyX for Win32. The extractor starts
but
 suddenly complain it is not able to find the first additional fine
(the
 one with extension r00) that is in fact present in the temporary
directory
 as well as the main exe file. Is this a knows problem? The
installation
 program hangs and I found no way to persuade it to go any further.

I've downloaded and installed this version on 4 windows pc's without a
problem.

I suggest you remove all 3 files and start again, you may have had an
error when you downloaded.

 
 Thanks!
 
 gm
 

Rob S



Re: Sorting of literature automatically?

2003-10-01 Thread Herbert Voß
Andre Poenitz schrieb:

I consider this a real bug within Lyx.


It is really hard to 'fix' as TeX is far too complex to come up with a
rule 'char x is forbidden in place y'. 
no, not for keywords and labels, where LyX controls the
user input.
Herbert




Re: Sorting of literature automatically?

2003-10-01 Thread Andre Poenitz
On Wed, Oct 01, 2003 at 04:19:28PM +0200, Herbert Voß wrote:
 Andre Poenitz schrieb:
 
 I consider this a real bug within Lyx.
 
 
 It is really hard to 'fix' as TeX is far too complex to come up with a
 rule 'char x is forbidden in place y'. 
 
 no, not for keywords and labels, where LyX controls the
 user input.

LyX controls the user input, but after ERT, a non-empty preamble or any
non-standard style, all control is gone:


fancycite.sty:

\let\oldcite\cite
\def\cite{\catcode`z=1\oldcite}


Now use

\usepackage{fancycite}

and enter a citation containing the letter 'z'.

How should LyX know that this is 'forbidden'?

Andre' 


Re: Sorting of literature automatically?

2003-10-01 Thread Herbert Voß
Andre Poenitz schrieb:
On Wed, Oct 01, 2003 at 04:19:28PM +0200, Herbert Voß wrote:

Andre Poenitz schrieb:


I consider this a real bug within Lyx.


It is really hard to 'fix' as TeX is far too complex to come up with a
rule 'char x is forbidden in place y'. 
no, not for keywords and labels, where LyX controls the
user input.


LyX controls the user input, but after ERT, a non-empty preamble or any
non-standard style, all control is gone:
sure, that is significant to _all_ kinds programming
languages.
fancycite.sty:

\let\oldcite\cite
\def\cite{\catcode`z=1\oldcite}
Now use

\usepackage{fancycite}

and enter a citation containing the letter 'z'.

How should LyX know that this is 'forbidden'?
we are talking about (La)TeX and not some packages
and not ERT. In _LaTeX_ it is not a good idea to have spaces and/or
control characters in filesnames/labels/keywords.
Everything in this way is on users risk! If it works, fine
if not, c'est la vie ...
Herbert




Graphics output difficulties

2003-10-01 Thread Dan Nedelko
Hi everyone,

I am having problems with graphics output in Lyx 1.3.2 on Redhat 9 with
the QT frontend. I have been working on numerous documents with no
problems at all. When my document was complete I inserted numerous
'figures' ie graphics into the document. 

As suggested I created a figure float and inserted my image into the
float. The images display perfectly within LyX however when I attempt
any form of output my figure is completely ignored.

In an attempt to cover all bases, I ran 

lyx -dbg graphics

and I was presented with:

Setting debug level to graphics
Debugging `graphics' (Graphics conversion and loading)
Recognised Fileformat: ppm
[GrahicsCacheItem::convertToDisplayFormat]
Attempting to convert image file:
/usr/share/lyx/images/banner.ppm
with displayed filename: /usr/share/lyx/images/banner.ppm
Recognised Fileformat: ppm

The file contains ppm format data.

The image loader can load the following directly:
BMP
GIF
JPEG
MNG
PBM
PGM
PNG
PPM
XBM
XPM

Of these, LyX recognises the following formats:
bmp, gif, jpg, pbm, pgm, png, ppm, xbm, xpm

No conversion needed (from == to)!
Loading image.
just Loaded.
pixmap isNull 0 xformed_pixmap_ isNull 0
Image loading succeeded.
GraphicsImage::getScaledDImensions()
params.scale   : 100
width  : 425
height : 290
pixmap isNull 0 xformed_pixmap_ isNull 0
setPixmap()

which would appear to be correct, ie I have all filter support. When I
attempt to export-PDF(latex) I receive the following output:

The font scaling factor is 125.55
insetgraphics::latex: Filename =
/home/danny/Documents/nID/DigiQLite/Chart1.xpm
Message = 
Opts =
Before = \includegraphics
after =
[InsetGraphics::prepareFile] orig_file =
/home/danny/Documents/nID/DigiQLite/Chart1.xpm
with path: /home/danny/Documents/nID/DigiQLite/Chart1.xpm
Recognised Fileformat: xpm
Recognised Fileformat: xpm
findTargetFormat: PDF mode
 we have: from xpm to png
the orig file is: /home/danny/Documents/nID/DigiQLite/Chart1.xpm
changed to:
/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.xpm
copying from /home/danny/Documents/nID/DigiQLite/Chart1.xpm to
/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.xpm 
succeeded
The original file is
/home/danny/Documents/nID/DigiQLite/Chart1.xpm
A copy has been made and convert is to be called with:
file to convert =
/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.xpm
outfile_base =
/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1
 from xpm to png
No converter defined! I use convertDefault.sh:
/usr/share/lyx/scripts/convertDefault.sh
xpm:/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.xpm
 
png:/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.png
Recognised Fileformat: xpm
[GrahicsCacheItem::convertToDisplayFormat]
Attempting to convert image file:
/home/danny/Documents/nID/DigiQLite/Chart1.xpm
with displayed filename: ~/Documents/nID/DigiQLite/Chart1.xpm
Recognised Fileformat: xpm

The file contains xpm format data.
No conversion needed (from == to)!
Loading image.
just Loaded.
pixmap isNull 0 xformed_pixmap_ isNull 0
Image loading succeeded.
GraphicsImage::getScaledDImensions()
params.scale   : 100
width  : 769
height : 568
pixmap isNull 0 xformed_pixmap_ isNull 0
setPixmap()
Recognised Fileformat: xpm
Recognised Fileformat: xpm
[readBB_from_PSFile] no(e)ps-format

The resulting output is excellent except for the missing image. The
current output is based on an XPM version, however I have the same
results with PNG and EPS. 

Any help with my issue would be greatly appreciated!

Cheers,
-- 
Dan Nedelko, BSc. CS/Math
Lead Systems Developer
nID Solutions Inc.
519-744-9221 ext 220519-581-1062 fax
[EMAIL PROTECTED]www.nIDsolutions.com

Suite 810, 101 Frederick Street,
Kitchener, Ontario
N2L 5R9





Re: Graphics output difficulties

2003-10-01 Thread Angus Leeming
Dan Nedelko wrote:
 I am having problems with graphics output in Lyx 1.3.2 on Redhat 9 with
 the QT frontend. I have been working on numerous documents with no
 problems at all. When my document was complete I inserted numerous
 'figures' ie graphics into the document.

 In an attempt to cover all bases, I ran
 lyx -dbg graphics

Good man!

 The font scaling factor is 125.55
 insetgraphics::latex: Filename =
 /home/danny/Documents/nID/DigiQLite/Chart1.xpm
 Message = 
 Opts =
 Before = \includegraphics
 after =
 [InsetGraphics::prepareFile] orig_file =
 /home/danny/Documents/nID/DigiQLite/Chart1.xpm

xpm:/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.xpm
png:/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.png

I wonder. Does this png image exist?

 The resulting output is excellent except for the missing image. The
 current output is based on an XPM version, however I have the same
 results with PNG and EPS.

I'm very suspicious I'm afraid. Here's why:
LyX thinks that it has converted the image just fine and so will be running 
latex on your exported document with the latex snippet
\includegraphics[your_options]{your_file}
where your_file is _home_danny_Documents_nID_DigiQLite_Chart1

If the file does not exist after all, latex will complain and produce no 
output at all.

If, however, LyX could not convert your image then it would instead export 
the latex snippet
\includegraphics[your_options, draft]{your_file}

latex would be quite happy with the non-existence of the file, producing a 
little box in the document along the lines
your_file not found!

So, the fact that latex is happy yet there appears to be no image is very 
suspicious.

You have placed the image in a float you say.

Have you checked that the image is not at the very end of the document?

What happens if you move the image out of the float so it appears Right 
Here?

-- 
Angus



Re: Graphics output difficulties

2003-10-01 Thread Rich Shepard
On Wed, 1 Oct 2003, Dan Nedelko wrote:

 I am having problems with graphics output in Lyx 1.3.2 on Redhat 9 with
 the QT frontend. I have been working on numerous documents with no
 problems at all. When my document was complete I inserted numerous
 'figures' ie graphics into the document.

Dan,

  I cannot provide either a solution or intelligent suggestion to your
immediate problem, but I can offer that I've had no problems with .eps
figures when exporting to pdflatex (or viewing the .dvi output). I've had
figures in earlier versions of LyX (with the xforms GUI and RH 6.2) and now
in my book with -1.3.2 on RH 7.3.

  When I did have problems recently, it was with illustrations generated by
xfig. The ones I've done with tgif show up nicely on screen and on paper.
This may not solve your immediate problem, but I hope it encourages you that
good graphic output can be achieved.

Rich

Dr. Richard B. Shepard, President

   Applied Ecosystem Services, Inc. (TM)
2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
 + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard#64;appl-ecosys.com
 http://www.appl-ecosys.com/


LyX and package teubner

2003-10-01 Thread Tobias Hilbricht
Dear readers of this list,
I would like to use LyX in conjunction with the latex package teubner for 
(old) greek philological typesetting. I have a working installation of the 
package teubner, however, I cannot use it with LyX. I think it is because it 
uses a language attribute in the preamble (an example is attached at the 
end). I tried to change the settings under edit/preferences/language, and 
also I tried with entries into format/document/LaTeX preamble, but no 
success.

Grateful for any helpful hints

Yours sincerely

Tobias Hilbricht

snip

\documentclass[12pt]{article}
\usepackage[greek,german]{babel}
\languageattribute{greek}{polutoniko} -- here is the attribute
\usepackage{teubner}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}

\pagestyle{empty}

\makeatletter

\makeatother

\begin{document}

\section*{\selectlanguage{greek}SAPFOUS MELH --- 
\selectlanguage{german}{Sapphos Lieder}}

\begin{large}
\selectlanguage{greek}

\begin{Versi}[1]

\longa \brevis \longa \ubarbrevis{} orr'a|nojen \Ladd{\brevis \longa 
\barbrevis}\\
\Ladd{---} kat'ioisa \\ [1ex]

de~uru m\lladd{m} e\d{s} \d{K}\d{r}ht\d{a}s .p\ladd{\Dots[5]}na~uon\\
'agnon 'op \lbrk pai d`h\rbrk q'arien m`en 'alos\\
mal'i\ladd{an}, b~wmoi d 'evi jumi'ame-\\
noi \Ladd{lib}an'wtw\\ [1ex]

en \Ladd{d}'udwr y~uqron kel'adei di 'us\Ladd{d}wn \\
mal'i\Ladd{nw}, br'odoisi d'e pa~is o q~wros \\
\dots

\end{Versi}
\end{large}
\end{document}

-snap--






Re: LyX and package teubner

2003-10-01 Thread Matej Cepl
On 2003-10-01, 16:51 GMT, Tobias Hilbricht wrote:
 I tried to change the settings under edit/preferences/language, and 
 also I tried with entries into format/document/LaTeX preamble, but no 
 success.

What exactly happens, when you copy (VERBATIM!) this into
Layout/Document/Preamble?

 \usepackage[greek,german]{babel}
 \languageattribute{greek}{polutoniko} -- here is the attribute
 \usepackage{teubner}
 \usepackage[T1]{fontenc}
 \usepackage[latin1]{inputenc}
 
 \pagestyle{empty}

Best,

   Matej

-- 
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488



Re: LyX and package teubner

2003-10-01 Thread Angus Leeming
Tobias Hilbricht wrote:

 Dear readers of this list,
 I would like to use LyX in conjunction with the latex package teubner for
 (old) greek philological typesetting. I have a working installation of
 the package teubner, however, I cannot use it with LyX. I think it is
 because it uses a language attribute in the preamble (an example is
 attached at the end). I tried to change the settings under
 edit/preferences/language, and also I tried with entries into
 format/document/LaTeX preamble, but no success.
 
 Grateful for any helpful hints
 
 Yours sincerely
 
 Tobias Hilbricht

Is this not equivalent? (LyX file and tex file exported from it). I can't 
test it as I have neither the package nor iso-8859-7.def installed.

-- 
Angus

tobias2.lyx
Description: application/lyx
%% LyX 1.3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[greek,german]{article}
\usepackage[T1]{fontenc}
\usepackage[iso-8859-7,latin1]{inputenc}

\makeatletter
%% User specified LaTeX commands.
\languageattribute{greek}{polutoniko}
\usepackage{teubner}
\usepackage{babel}
\makeatother
\begin{document}

\selectlanguage{greek}
\inputencoding{iso-8859-7}
\section*{SAPFOUS MELH}

\selectlanguage{german}
\inputencoding{latin1}
Sapphos Lieder
\end{document}


Re: Aspell and LyX: a difficult matrimony?

2003-10-01 Thread Paul Smith
 I've got LyX 1.3.2 (old=only version from Reitsma) working fine with
Aspell
 on winnt4/sp5. Which windows version are you using?

I am using Windows2000 Professional.

Andre Poenitz has kindly suggested me that I could run Aspell on the command
line (DOS console)and it brilliantly works with TeX files. (He mentioned
that it is also possible to use this strategy with LyX files.) Of course, it
would be better to have Aspell working inside LyX... But, even so, I prefer
to use LyX, instead of SWP, as I consider the former clearly superior to the
latter.


Re: Sorting of literature automatically?

2003-10-01 Thread Michael Logies
At 16:52 01.10.2003 +0200, Herbert Voß wrote:

we are talking about (La)TeX and not some packages
and not ERT. In _LaTeX_ it is not a good idea to have spaces and/or
control characters in filesnames/labels/keywords.
Herbert,

it is even worse. It seems as if {natbib} doesn`t accept a german Umlaut in 
keywords.
What about a Umlaut in labels and filenames?

Thanks

Michael
--
http://www.logies.de/ (u. a. _die_ Mailingliste für die Dentalbranche)
PGP-key (RSA/IDEA) kommt mit angeforderter Empfangsbestätigung (return receipt)


Re: Sorting of literature automatically?

2003-10-01 Thread Michael Logies
At 02:03 29.09.2003 +0200, Michael Logies wrote:

Is there a way to sort these hints to the literature automatically 
ascending (Lyx 1.3.2 for Qt)?
After eliminating spaces and german umlaute from the keywords of the 
bibliographic entries, sorting is now working well with {cite} or {natbib}, 
{hypernat}.
{cite} tolerates Umlaute (but does not work with hyperref), {natbib} does 
not tolerate Umlaute, but works with hyperref.

Regards

M.

From my preamble:
%%% Sortiert die Literaturstellen aufsteigend im Text:
%% Erste Möglichkeit, geht nicht zusammen mit hyperref
%\usepackage{cite}
%% Zweite Möglichkeit, geht zusammen mit hyperref:
% Entweder so:
%\usepackage[numbers,sort]{natbib}
% Oder so:
\usepackage[numbers,sortcompress]{natbib}
\usepackage{hypernat}
--
http://www.logies.de/ (u. a. _die_ Mailingliste für die Dentalbranche)
PGP-key (RSA/IDEA) kommt mit angeforderter Empfangsbestätigung (return receipt)


Re: Sorting of literature automatically?

2003-10-01 Thread Herbert Voß
Michael Logies schrieb:
At 16:52 01.10.2003 +0200, Herbert Voß wrote:

we are talking about (La)TeX and not some packages
and not ERT. In _LaTeX_ it is not a good idea to have spaces and/or
control characters in filesnames/labels/keywords.


Herbert,

it is even worse. It seems as if {natbib} doesn`t accept a german Umlaut 
in keywords.
What about a Umlaut in labels and filenames?
yes, maybe problematic too. I have no working 1.3.X
here, but in 1.4 the problem is LyX, not LaTeX. I get
blah see section schön\ref{sec:sch=F6n}. and see schön
\citet{schn:1918}
both were inserted as schön

Herbert




Re: foot to end notes

2003-10-01 Thread Michael Logies
At 14:46 30.09.2003 -0400, /var/spool/mail/robinson wrote:

the second wants all my foot notes turned into end
notes.  is there an easy way to do this?
For me this works:
preamble:
\usepackage{endnotes}
\let\footnote=\endnote
\renewcommand\notesname{Anmerkungen}
somewhere in the text:
 \newpage
 \begingroup
 \parindent 0pt
 \parskip 2ex
 \def\enotesize{\normalsize}
 \theendnotes
 \endgroup
--
http://www.logies.de/ (u. a. _die_ Mailingliste für die Dentalbranche)
PGP-key (RSA/IDEA) kommt mit angeforderter Empfangsbestätigung (return receipt)


Re:jbibtexmanager and lyx on cygwin

2003-10-01 Thread vsharma
It may be an issue. fifo pipes are a unix speciality. Nonetheless, first
see if the pipes are working in LyX. See
http://article.gmane.org/gmane.editors.lyx.general/11454
--
Angus
I tried the directions on the said page.
When using cmd prompt It doesnot recognise lyx as a programme or a batchfile.
When using Cygwin bash shell it cannot open a lyx file and says could not 
access x windows
when trying to debug I get the message
$ lyx -dbg lyxserver
Setting debug level to lyxserver
Debugging 'lyxserver' 
lyx:can't open display
Lyx:unable to access X display,exiting

what should I do?
I use startlyx.bat provided by the cygwin port to run lyx.
regards
vivek


Re: qt-style

2003-10-01 Thread Momes
The qt libs are Debian provided, as well as kde.

Thank you,

Momes


Re: Sorting of literature automatically?

2003-10-01 Thread Michael Logies
At 07:02 01.10.2003 +0200, Herbert Voß wrote:

I attached the file. It is working with
%\usepackage{cite}
and not working with
\usepackage{cite}
do not use spaces inside the keywords!
Herbert,

thanks. When I replace spaces by "_" in my example file, {cite} is working. 
I consider this a real bug within Lyx. It should warn when using spaces if 
this is not an appropiate syntax for some Latex-macros.
I think it will be a lot of work replacing all spaces with an editor in my 
lyx-file.

Interesting is that hyperref for example has no problem with these spaces. 
Is there a general rule, that newer macros or packages can handle spaces?

Though {cite} would work now, it is stopped from working by hyperref, as I 
see in my example file.
Juergen pointed to http://www.dante.de/faq/de-tex-faq/html/makros3.html#47
Perhaps natbib with hypernat would work better? Has anyone an idea, whether 
this will work with spaces in the keywords of my references or not?

Thanks

Michael
--
http://www.logies.de/ (u. a. _die_ Mailingliste für die Dentalbranche)
PGP-key (RSA/IDEA) kommt mit angeforderter Empfangsbestätigung (return receipt)


Re: LyX 1.3.3 Compiles cleanly with Qt 3.2.1 on Debian Unstable

2003-10-01 Thread Angus Leeming
Marc Jeffrey Driftmeyer wrote:
>> During compilation there were several verbose warnings about update(),
>> repaint() as Qt was trying to interpret the request.  I'm guessing the
>> dev Team hasn't truly ported LyX to Qt 3.2.1 just yet.

No, it is ported. These messages are warnings we put in to remind us that 
maybe, just maybe some of the logic in the lyx kernel is incorrect. Both 
frontends suffer from this.

>>> Setting controller ro: 1
>>> Transition from state 0 to state 0 after input 7
>>> Calling BC refresh()
>>> ./lyx: relocation error: ./lyx: undefined symbol: _ZN7QWidget7repaintEb

I suspect that this is related directly to your rebuilding problems of the 
kde/qt libraries. Not the answer you wanted to hear I suspect.

-- 
Angus



Re:jbibtexmanager and lyx on cygwin

2003-10-01 Thread Angus Leeming
vsharma wrote:
> I tried the directions on the said page.
> When using cmd prompt It doesnot recognise lyx as a programme or a
> batchfile. When using Cygwin bash shell it cannot open a lyx file and
> says could not access x windows

Start your x server first? I have no idea about the murky windows world, so 
I'm not the right person to ask.

-- 
Angus



Re: Sorting of literature automatically?

2003-10-01 Thread Andre Poenitz
On Wed, Oct 01, 2003 at 09:46:58AM +0200, Michael Logies wrote:
> At 07:02 01.10.2003 +0200, Herbert Voß wrote:
> 
> >>I attached the file. It is working with
> >>%\usepackage{cite}
> >>and not working with
> >>\usepackage{cite}
> >
> >do not use spaces inside the keywords!
> 
> Herbert,
> 
> thanks. When I replace spaces by "_" in my example file, {cite} is working.

You should even use '-' instead of '_' or ' ' to be really on the safe
side. '_' has usually a special meaning for TeX and there are rare
circumstances where it can be used with the 'ordinary meaning'.
Although \cite should be one of these places, not all TeX related
software is aware of that. So better don't use it.

> I consider this a real bug within Lyx.

It is really hard to 'fix' as TeX is far too complex to come up with a
rule 'char x is forbidden in place y'. 

> It should warn when using spaces if this is not an appropiate syntax
> for some Latex-macros.  I think it will be a lot of work replacing all
> spaces with an editor in my lyx-file.
> 
> Interesting is that hyperref for example has no problem with these
> spaces.  Is there a general rule, that newer macros or packages can
> handle spaces?

Sort of, yes. Building robust (La)TeX macros is an art (a dark one, if
you ask me), so the casual package writer tends to miss a few corner
cases in the first fourhundred releases or so.

Andre'


Problem installing LyX for Win32

2003-10-01 Thread Guido Milanese
I tried to install Ruurd Reitsma's LyX for Win32. The extractor starts but suddenly 
complain it is not able to find the first additional fine (the one with extension r00) 
that is in fact present in the temporary directory as well as the main exe file. Is 
this a knows problem? The installation program hangs and I found no way to persuade it 
to go any further.

Thanks!

gm




Guido Milanese   - [EMAIL PROTECTED]
Vocal Ensemble "Ars Antiqua" - http://www.arsantiqua.org
Salita del Passero 11, I-16126 Genova GE, Italy
** GAUDETE IN DOMINO SEMPER *






RE: Problem installing LyX for Win32

2003-10-01 Thread Rob Saunders

Hi Guido,

> 
> I tried to install Ruurd Reitsma's LyX for Win32. The extractor starts
but
> suddenly complain it is not able to find the first additional fine
(the
> one with extension r00) that is in fact present in the temporary
directory
> as well as the main exe file. Is this a knows problem? The
installation
> program hangs and I found no way to persuade it to go any further.

I've downloaded and installed this version on 4 windows pc's without a
problem.

I suggest you remove all 3 files and start again, you may have had an
error when you downloaded.

> 
> Thanks!
> 
> gm
> 

Rob S



Re: Sorting of literature automatically?

2003-10-01 Thread Herbert Voß
Andre Poenitz schrieb:

I consider this a real bug within Lyx.


It is really hard to 'fix' as TeX is far too complex to come up with a
rule 'char x is forbidden in place y'. 
no, not for keywords and labels, where LyX controls the
user input.
Herbert




Re: Sorting of literature automatically?

2003-10-01 Thread Andre Poenitz
On Wed, Oct 01, 2003 at 04:19:28PM +0200, Herbert Voß wrote:
> Andre Poenitz schrieb:
> 
> >>I consider this a real bug within Lyx.
> >
> >
> >It is really hard to 'fix' as TeX is far too complex to come up with a
> >rule 'char x is forbidden in place y'. 
> 
> no, not for keywords and labels, where LyX controls the
> user input.

LyX controls the user input, but after ERT, a non-empty preamble or any
non-standard style, all control is gone:


fancycite.sty:

\let\oldcite\cite
\def\cite{\catcode`z=1\oldcite}


Now use

\usepackage{fancycite}

and enter a citation containing the letter 'z'.

How should LyX know that this is 'forbidden'?

Andre' 


Re: Sorting of literature automatically?

2003-10-01 Thread Herbert Voß
Andre Poenitz schrieb:
On Wed, Oct 01, 2003 at 04:19:28PM +0200, Herbert Voß wrote:

Andre Poenitz schrieb:


I consider this a real bug within Lyx.


It is really hard to 'fix' as TeX is far too complex to come up with a
rule 'char x is forbidden in place y'. 
no, not for keywords and labels, where LyX controls the
user input.


LyX controls the user input, but after ERT, a non-empty preamble or any
non-standard style, all control is gone:
sure, that is significant to _all_ kinds programming
languages.
fancycite.sty:

\let\oldcite\cite
\def\cite{\catcode`z=1\oldcite}
Now use

\usepackage{fancycite}

and enter a citation containing the letter 'z'.

How should LyX know that this is 'forbidden'?
we are talking about (La)TeX and not some packages
and not ERT. In _LaTeX_ it is not a good idea to have spaces and/or
control characters in filesnames/labels/keywords.
Everything in this way is on users risk! If it works, fine
if not, c'est la vie ...
Herbert




Graphics output difficulties

2003-10-01 Thread Dan Nedelko
Hi everyone,

I am having problems with graphics output in Lyx 1.3.2 on Redhat 9 with
the QT frontend. I have been working on numerous documents with no
problems at all. When my document was complete I inserted numerous
'figures' ie graphics into the document. 

As suggested I created a figure float and inserted my image into the
float. The images display perfectly within LyX however when I attempt
any form of output my figure is completely ignored.

In an attempt to cover all bases, I ran 

lyx -dbg graphics

and I was presented with:

Setting debug level to graphics
Debugging `graphics' (Graphics conversion and loading)
Recognised Fileformat: ppm
[GrahicsCacheItem::convertToDisplayFormat]
Attempting to convert image file:
/usr/share/lyx/images/banner.ppm
with displayed filename: /usr/share/lyx/images/banner.ppm
Recognised Fileformat: ppm

The file contains ppm format data.

The image loader can load the following directly:
BMP
GIF
JPEG
MNG
PBM
PGM
PNG
PPM
XBM
XPM

Of these, LyX recognises the following formats:
bmp, gif, jpg, pbm, pgm, png, ppm, xbm, xpm

No conversion needed (from == to)!
Loading image.
just Loaded.
pixmap isNull 0 xformed_pixmap_ isNull 0
Image loading succeeded.
GraphicsImage::getScaledDImensions()
params.scale   : 100
width  : 425
height : 290
pixmap isNull 0 xformed_pixmap_ isNull 0
setPixmap()

which would appear to be correct, ie I have all filter support. When I
attempt to export->PDF(latex) I receive the following output:

The font scaling factor is 125.55
insetgraphics::latex: Filename =
/home/danny/Documents/nID/DigiQLite/Chart1.xpm
Message = ""
Opts =
Before = \includegraphics
after =
[InsetGraphics::prepareFile] orig_file =
/home/danny/Documents/nID/DigiQLite/Chart1.xpm
with path: /home/danny/Documents/nID/DigiQLite/Chart1.xpm
Recognised Fileformat: xpm
Recognised Fileformat: xpm
findTargetFormat: PDF mode
 we have: from xpm to png
the orig file is: /home/danny/Documents/nID/DigiQLite/Chart1.xpm
changed to:
/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.xpm
copying from /home/danny/Documents/nID/DigiQLite/Chart1.xpm to
/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.xpm 
succeeded
The original file is
/home/danny/Documents/nID/DigiQLite/Chart1.xpm
A copy has been made and convert is to be called with:
file to convert =
/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.xpm
outfile_base =
/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1
 from xpm to png
No converter defined! I use convertDefault.sh:
/usr/share/lyx/scripts/convertDefault.sh
xpm:/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.xpm
 
png:/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.png
Recognised Fileformat: xpm
[GrahicsCacheItem::convertToDisplayFormat]
Attempting to convert image file:
/home/danny/Documents/nID/DigiQLite/Chart1.xpm
with displayed filename: ~/Documents/nID/DigiQLite/Chart1.xpm
Recognised Fileformat: xpm

The file contains xpm format data.
No conversion needed (from == to)!
Loading image.
just Loaded.
pixmap isNull 0 xformed_pixmap_ isNull 0
Image loading succeeded.
GraphicsImage::getScaledDImensions()
params.scale   : 100
width  : 769
height : 568
pixmap isNull 0 xformed_pixmap_ isNull 0
setPixmap()
Recognised Fileformat: xpm
Recognised Fileformat: xpm
[readBB_from_PSFile] no(e)ps-format

The resulting output is excellent except for the missing image. The
current output is based on an XPM version, however I have the same
results with PNG and EPS. 

Any help with my issue would be greatly appreciated!

Cheers,
-- 
Dan Nedelko, BSc. CS/Math
Lead Systems Developer
nID Solutions Inc.
519-744-9221 ext 220519-581-1062 fax
[EMAIL PROTECTED]www.nIDsolutions.com

Suite 810, 101 Frederick Street,
Kitchener, Ontario
N2L 5R9





Re: Graphics output difficulties

2003-10-01 Thread Angus Leeming
Dan Nedelko wrote:
> I am having problems with graphics output in Lyx 1.3.2 on Redhat 9 with
> the QT frontend. I have been working on numerous documents with no
> problems at all. When my document was complete I inserted numerous
> 'figures' ie graphics into the document.

> In an attempt to cover all bases, I ran
> lyx -dbg graphics

Good man!

> The font scaling factor is 125.55
> insetgraphics::latex: Filename =
> /home/danny/Documents/nID/DigiQLite/Chart1.xpm
> Message = ""
> Opts =
> Before = \includegraphics
> after =
> [InsetGraphics::prepareFile] orig_file =
> /home/danny/Documents/nID/DigiQLite/Chart1.xpm

xpm:/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.xpm
png:/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.png

I wonder. Does this png image exist?

> The resulting output is excellent except for the missing image. The
> current output is based on an XPM version, however I have the same
> results with PNG and EPS.

I'm very suspicious I'm afraid. Here's why:
LyX thinks that it has converted the image just fine and so will be running 
latex on your exported document with the latex snippet
\includegraphics[your_options]{your_file}
where your_file is _home_danny_Documents_nID_DigiQLite_Chart1

If the file does not exist after all, latex will complain and produce no 
output at all.

If, however, LyX could not convert your image then it would instead export 
the latex snippet
\includegraphics[your_options, draft]{your_file}

latex would be quite happy with the non-existence of the file, producing a 
little box in the document along the lines
your_file not found!

So, the fact that latex is happy yet there appears to be no image is very 
suspicious.

You have placed the image in a float you say.

Have you checked that the image is not at the very end of the document?

What happens if you move the image out of the float so it appears Right 
Here?

-- 
Angus



Re: Graphics output difficulties

2003-10-01 Thread Rich Shepard
On Wed, 1 Oct 2003, Dan Nedelko wrote:

> I am having problems with graphics output in Lyx 1.3.2 on Redhat 9 with
> the QT frontend. I have been working on numerous documents with no
> problems at all. When my document was complete I inserted numerous
> 'figures' ie graphics into the document.

Dan,

  I cannot provide either a solution or intelligent suggestion to your
immediate problem, but I can offer that I've had no problems with .eps
figures when exporting to pdflatex (or viewing the .dvi output). I've had
figures in earlier versions of LyX (with the xforms GUI and RH 6.2) and now
in my book with -1.3.2 on RH 7.3.

  When I did have problems recently, it was with illustrations generated by
xfig. The ones I've done with tgif show up nicely on screen and on paper.
This may not solve your immediate problem, but I hope it encourages you that
good graphic output can be achieved.

Rich

Dr. Richard B. Shepard, President

   Applied Ecosystem Services, Inc. (TM)
2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
 + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepardappl-ecosys.com
 http://www.appl-ecosys.com/


LyX and package teubner

2003-10-01 Thread Tobias Hilbricht
Dear readers of this list,
I would like to use LyX in conjunction with the latex package teubner for 
(old) greek philological typesetting. I have a working installation of the 
package teubner, however, I cannot use it with LyX. I think it is because it 
uses a language attribute in the preamble (an example is attached at the 
end). I tried to change the settings under edit/preferences/language, and 
also I tried with entries into format/document/LaTeX preamble, but no 
success.

Grateful for any helpful hints

Yours sincerely

Tobias Hilbricht

snip

\documentclass[12pt]{article}
\usepackage[greek,german]{babel}
\languageattribute{greek}{polutoniko} <-- here is the attribute
\usepackage{teubner}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}

\pagestyle{empty}

\makeatletter

\makeatother

\begin{document}

\section*{\selectlanguage{greek}SAPFOUS MELH --- 
\selectlanguage{german}{Sapphos Lieder}}

\begin{large}
\selectlanguage{greek}

\begin{Versi}[1]

\longa \brevis \longa \ubarbrevis{} >orr'a|nojen \Ladd{\brevis \longa 
\barbrevis}\\
\Ladd{---} kat'ioisa \\ [1ex]

de~uru m\lladd{m}> >e\d{s} \d{K}\d{r}ht\d{a}s .p\ladd{\Dots[5]}na~uon\\
>'agnon >'op \lbrk pai d`h\rbrk q'arien m`en >'alos\\
mal'i\ladd{an}, b~wmoi d> >'evi jumi'ame-\\
noi \Ladd{lib}an'wtw\\ [1ex]

>en \Ladd{d>}>'udwr y~uqron kel'adei di> >'us\Ladd{d}wn \\
mal'i\Ladd{nw}, br'odoisi d'e pa~is >o q~wros \\
\dots

\end{Versi}
\end{large}
\end{document}

-snap--






Re: LyX and package teubner

2003-10-01 Thread Matej Cepl
On 2003-10-01, 16:51 GMT, Tobias Hilbricht wrote:
> I tried to change the settings under edit/preferences/language, and 
> also I tried with entries into format/document/LaTeX preamble, but no 
> success.

What exactly happens, when you copy (VERBATIM!) this into
Layout/Document/Preamble?

> \usepackage[greek,german]{babel}
> \languageattribute{greek}{polutoniko} <-- here is the attribute
> \usepackage{teubner}
> \usepackage[T1]{fontenc}
> \usepackage[latin1]{inputenc}
> 
> \pagestyle{empty}

Best,

   Matej

-- 
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488



Re: LyX and package teubner

2003-10-01 Thread Angus Leeming
Tobias Hilbricht wrote:

> Dear readers of this list,
> I would like to use LyX in conjunction with the latex package teubner for
> (old) greek philological typesetting. I have a working installation of
> the package teubner, however, I cannot use it with LyX. I think it is
> because it uses a language attribute in the preamble (an example is
> attached at the end). I tried to change the settings under
> edit/preferences/language, and also I tried with entries into
> format/document/LaTeX preamble, but no success.
> 
> Grateful for any helpful hints
> 
> Yours sincerely
> 
> Tobias Hilbricht

Is this not equivalent? (LyX file and tex file exported from it). I can't 
test it as I have neither the package nor iso-8859-7.def installed.

-- 
Angus

tobias2.lyx
Description: application/lyx
%% LyX 1.3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[greek,german]{article}
\usepackage[T1]{fontenc}
\usepackage[iso-8859-7,latin1]{inputenc}

\makeatletter
%% User specified LaTeX commands.
\languageattribute{greek}{polutoniko}
\usepackage{teubner}
\usepackage{babel}
\makeatother
\begin{document}

\selectlanguage{greek}
\inputencoding{iso-8859-7}
\section*{SAPFOUS MELH}

\selectlanguage{german}
\inputencoding{latin1}
Sapphos Lieder
\end{document}


Re: Aspell and LyX: a difficult matrimony?

2003-10-01 Thread Paul Smith
> I've got LyX 1.3.2 (old=only version from Reitsma) working fine with
Aspell
> on winnt4/sp5. Which windows version are you using?

I am using Windows2000 Professional.

Andre Poenitz has kindly suggested me that I could run Aspell on the command
line (DOS console)and it brilliantly works with TeX files. (He mentioned
that it is also possible to use this strategy with LyX files.) Of course, it
would be better to have Aspell working inside LyX... But, even so, I prefer
to use LyX, instead of SWP, as I consider the former clearly superior to the
latter.


Re: Sorting of literature automatically?

2003-10-01 Thread Michael Logies
At 16:52 01.10.2003 +0200, Herbert Voß wrote:

we are talking about (La)TeX and not some packages
and not ERT. In _LaTeX_ it is not a good idea to have spaces and/or
control characters in filesnames/labels/keywords.
Herbert,

it is even worse. It seems as if {natbib} doesn`t accept a german Umlaut in 
keywords.
What about a Umlaut in labels and filenames?

Thanks

Michael
--
http://www.logies.de/ (u. a. _die_ Mailingliste für die Dentalbranche)
PGP-key (RSA/IDEA) kommt mit angeforderter Empfangsbestätigung (return receipt)


Re: Sorting of literature automatically?

2003-10-01 Thread Michael Logies
At 02:03 29.09.2003 +0200, Michael Logies wrote:

Is there a way to sort these hints to the literature automatically 
ascending (Lyx 1.3.2 for Qt)?
After eliminating spaces and german umlaute from the keywords of the 
bibliographic entries, sorting is now working well with {cite} or {natbib}, 
{hypernat}.
{cite} tolerates Umlaute (but does not work with hyperref), {natbib} does 
not tolerate Umlaute, but works with hyperref.

Regards

M.

From my preamble:
%%% Sortiert die Literaturstellen aufsteigend im Text:
%% Erste Möglichkeit, geht nicht zusammen mit hyperref
%\usepackage{cite}
%% Zweite Möglichkeit, geht zusammen mit hyperref:
% Entweder so:
%\usepackage[numbers,sort]{natbib}
% Oder so:
\usepackage[numbers,sort]{natbib}
\usepackage{hypernat}
--
http://www.logies.de/ (u. a. _die_ Mailingliste für die Dentalbranche)
PGP-key (RSA/IDEA) kommt mit angeforderter Empfangsbestätigung (return receipt)


Re: Sorting of literature automatically?

2003-10-01 Thread Herbert Voß
Michael Logies schrieb:
At 16:52 01.10.2003 +0200, Herbert Voß wrote:

we are talking about (La)TeX and not some packages
and not ERT. In _LaTeX_ it is not a good idea to have spaces and/or
control characters in filesnames/labels/keywords.


Herbert,

it is even worse. It seems as if {natbib} doesn`t accept a german Umlaut 
in keywords.
What about a Umlaut in labels and filenames?
yes, maybe problematic too. I have no working 1.3.X
here, but in 1.4 the problem is LyX, not LaTeX. I get
blah see section schön\ref{sec:sch=F6n}. and see schön
\citet{schn:1918}
both were inserted as "schön"

Herbert




Re: foot to end notes

2003-10-01 Thread Michael Logies
At 14:46 30.09.2003 -0400, /var/spool/mail/robinson wrote:

the second wants all my foot notes turned into end
notes.  is there an easy way to do this?
For me this works:
preamble:
\usepackage{endnotes}
\let\footnote=\endnote
\renewcommand\notesname{Anmerkungen}
somewhere in the text:
 \newpage
 \begingroup
 \parindent 0pt
 \parskip 2ex
 \def\enotesize{\normalsize}
 \theendnotes
 \endgroup
--
http://www.logies.de/ (u. a. _die_ Mailingliste für die Dentalbranche)
PGP-key (RSA/IDEA) kommt mit angeforderter Empfangsbestätigung (return receipt)