Re: Windows spellchecker for LyX?

2005-09-04 Thread Milos Komarcevic
Mark Engelberg <[EMAIL PROTECTED]> writes:

> OK, I was able to install aspell, and the English dictionary.  I still 
> can't figure out how to get LyX to recognize the aspell and the English 
> dictionary.  Under the spellchecker menu option, it only shows ispell as 
> the spellchecker (it's grayed out), and when I tried to "browse" for a 
> dictionary, it seemed to be looking for a different kind of file format 
> than what aspell uses.

AFAIK, it doesn't matter what the setting is in the Win version,
aspell is always used.

You installed aspell and the dictionary in C:\Aspell, as per the 
instructions on the Wiki, yes?

Regards,
Milos



Re: citations continuing into margin

2005-08-17 Thread Milos Komarcevic
Brad <[EMAIL PROTECTED]> writes:

> 
> Hi Ludger
> 
> I have no idea what it did, but it indeed is my friend, and now so are you!
> 
> thanks heaps
> brad
> 
> On Fri, 17 Sep 2004 06:48, Dr. Ludger Humbert wrote:
> > Brad wrote:
> > > I have an article-class document and when exported to pdf or ps, there is
> > > one line where the citation reference (i.e. [Banks, et al., 1989]) juts
> > > out into the right margin. It's as though the new line demarcation is
> > > decided before the citation references are expanded to text. ?
> >
> > \usepackage{cite}
> >
> > in the preamble is your friend, I think 

Now I'm having this same problem with my thesis.

The small difference is that I'm using the ieeetr number only 
citation style, and a protected blank after the author name
if I use it in the text because I don't want a numbered reference
starting a new line. The author name gets flushed to the margin,
with the citation hanging over, like:

...Smith~[7],
| - this is the margin, protected blank also shown

I'm already using the cite package and it doesn't help.
This is with MiKTeX and LyXWin 1.3.6.

Any suggestions greatly appreciated.

Thanks,
Milos



Re: no TeX classes after FC4 upgrade

2005-08-09 Thread Milos Komarcevic
Paul Smith <[EMAIL PROTECTED]> writes: 
> On 8/8/05, Derek Lamb <[EMAIL PROTECTED]> wrote:
> > So, I now have to agree with Paul that there is a problem with my LaTeX,
> > not with LyX.  So this should get classified as a Fedora bug (big
> > surprise) rather than a LyX problem.
> 
> Probably, Derek, you could get further help from Fedora mailing lists.
> Try it and good luck!

He could try, but it's a long shot: upgrade from RHL9 to FC4 is a
_gigantic_ leap of faith, most of the people on Fedora will flatly 
dismiss it as unsupported.

I'd just back up your home dir and do a fresh install of FC4
(it really is a nice system after all).

>>  How did you installed lyx?
>>  
>>
>just followed the directions in the INSTALL file:
>$ ./configure --with-frontend=qt;
>$ make;
>$ sudo make install; 

No need for that, LyX is in Fedora Extras, just get it through yum
(still 1.3.5 though, but I didn't find any improvements in 
1.3.6 all that important to warrant an upgarde).

Regards,
Milos



Re: wasysym and LyX 1.3.6 for Windows

2005-08-06 Thread Milos Komarcevic
Milos Komarcevic <[EMAIL PROTECTED]> writes:

> I did have the fonts properly installed. This definitely seems
> to be a MiKTeX bug though, it looks like the METAFONT conversion 
> executable stopped working in the latest MiKTeX update (I
> didn't seem to have this problem before July since I had some
> old tfm files dated before July in my local texmf tree):

Ok, just figured out this was related to the MetaPost 
problem reported by Christian:

http://dojo.miktex.org/blogs/christian_schenk/archive/2005/07/22/87.aspx

The workaround of updating the MiKTeX format files solved 
it for me, hope it does for everybody else.



Re: no TeX classes after FC4 upgrade

2005-08-06 Thread Milos Komarcevic
Derek Lamb <[EMAIL PROTECTED]> writes:

> I have run texhash and LyX->Edit->Reconfigure, deleted my ~/.lyx 
> directory and restarted, even reinstalled LyX just to be sure, to no 
> avail. 
> 
> When I do LyX->Help->LaTeX Configuration, Section 1 says that "The LaTeX 
> version that LyX will use is: ???"  And every item in the document is 
> followed by a "Found: ???".  So LyX can't find LaTeX just because I 
> upgraded my OS?  To be fair, I never bothered to check what this file 
> said before the upgrade, as everything worked fine.
> 
> I am now out of ideas, and any you have would be much appreciated.  
> Reinstalling teTeX seems a bit extreme, since everything is here already.

How about, working as root:

# cd /usr/share/lyx (or /usr/local/share/lyx depending on your setup)
# ./configure

Look through the output, does it find the classes ok? Then run
LyX->Edit->Reconfigure as normal user again.

HTH,
Milos



Re: wasysym and LyX 1.3.6 for Windows

2005-08-06 Thread Milos Komarcevic
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:

> If seems that you do not have the wasy fonts installed, or that MikTeX
> cannot find them.

I did have the fonts properly installed. This definitely seems
to be a MiKTeX bug though, it looks like the METAFONT conversion 
executable stopped working in the latest MiKTeX update (I
didn't seem to have this problem before July since I had some
old tfm files dated before July in my local texmf tree):

This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4)
entering extended mode
(wasytest.tex
LaTeX2e <2003/12/01>
Babel  and hyphenation patterns for english, french, german, ngerman, se
rbocroat, ukenglish, dumylang, nohyphenation, loaded.
(D:\texmf\tex\latex\base\article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(D:\texmf\tex\latex\base\size10.clo)) (D:\texmf\tex\latex\wasysym\wasysym.sty)
(wasytest.aux) (D:\texmf\tex\latex\wasysym\uwasy.fd)Making "wasy10.tfm" from "D:
\texmf\fonts\source\public\wasy2\wasy10.mf"...
"mf" \mode:=cx;nonstopmode;input wasy10
This is METAFONT, Version 2.71828 (MiKTeX 2.4)

(D:\texmf\fonts\source\public\wasy2\wasy10.mf
(D:\texmf\fonts\source\public\cm\cmbase.mf)
! Missing `:' has been inserted
! This can't happen (copy).
mode_param->if.unknown.mode_guard_(EXPR5000)
:(EXPR5000):=(EXPR1);mode_guard_...

cx_->mode_param(pixels_per_inch,300)
;mode_param(blacker,0);mode_param(fillin...
 cx_


   ;
mode_setup->...nput "&mode)else:mode_name[mode]fi;
  if.unknown.mag:mag=1;fi.if...
l.86 mode_setup
   ; font_setup;
Transcript written on wasy10.log.
METAFONT failed for some reason
maketfm: METAFONT failed on "wasy10".
 
I guess I'll take this up with the MiKTeX people, would be nice 
if someone could confirm it though...

> We have reverted this change in 1.3.7cvs, because people complained
> that this changes the appearance of integral signs in a bad way. So
> now wasysym is not loaded anymore when you use symbols that require
> it.

So wasysym has to then be inserted manually in the preamble if
someone really wants it? This seems like a better idea, thanks.

Regards,
Milos



wasysym and LyX 1.3.6 for Windows

2005-08-04 Thread Milos Komarcevic
I've upgraded my trusty 1.3.5 on Win2k, and my thesis 
no longer compiles. I noticed there were already some
reports on the wiki about the problems with wasy symbols 
eairler, as there is a claim these are resolved:

http://marc.theaimsgroup.com/?l=lyx-devel&m=11182490653

but this is certainly not the case where I'm sitting:

Font U/wasy/m/n/10=wasy10 at 10.0pt not loadable: Metric (TFM) file not found

I understand this might be also a MikTeX bug since it
works ok on a Linux box, and .tfm files really are
missing in MikTeX, but it still beats me why the wasysym
package should be loaded after amsmath to redefine 
\int & co., shouldn't it be the other way around? My
thesis compilation worked ok without the wasysym
package, why is it forced upon us...

Regards,
Milos



Re: Kluwer document class & address paragraph environment

2005-07-17 Thread Milos Komarcevic
David,

David Boutillier <[EMAIL PROTECTED]> writes:

> 
> When I try to use the article (Kluwer) document class, and I try to fill in my
> address using the address paragraph environment, and I try view my document, I
> get the following error message:

I was able to reproduce this, I guess some ERT is missing 
somewhere at the beginning of document. If you use the
Kluwer template (File->New from template) instead of starting
from scratch everything works ok.

HTH,
Milos



Re: Lettering Appendices

2005-07-14 Thread Milos Komarcevic
Hi Rich

Rich Shepard <[EMAIL PROTECTED]> writes:

> 
>In the "Users Guide" is a paragraph about adding an Appendix (or more than
> one). It says to type the title, select "Chapter" as the environment, then
> access Layout->Start Appendix Here with the cursor at the front of the title.
> This puts a red/brown box around the appendix. And, all this works for me.
> But, there's no leading "Appendix A". When I insert a file under a section
> environment, that section title is shown as "?.1". The ToC reflects the same
> lack of information.

I haven't tried the Layout menu option, but (using the book class)
I've just put \appendix in ERT on a separate line just before the 
chapter title, and all the subsequent chapter titles come out
as lettered appendices for me. Hope that works for you too.

Regards,
Milos



Re: Lyx-1.3.5 on Fedora Core 1 install questions

2005-07-07 Thread Milos Komarcevic
Todd Denniston <[EMAIL PROTECTED]> writes:
> if you want a possibly easier way out (and unlike me you're not stuck on
> XForms), lyx can be compiled with qt by passing options to configure.
> 
> ./configure --with-frontend=qt

I can only recommend the same.

Although a better way would be building a RPM with the lyx.spec
included in the tarball.

In the meantime, you can also use the 1.3.4 packaged RPM from 
the old fedora.us repository and install it and its dependencies
through yum/apt. 

Milos



Re: Converting from older version

2005-05-27 Thread Milos Komarcevic
Christian Payne <[EMAIL PROTECTED]> writes:
> Can anyone suggestion how I can fix this problem? In particular

Did you check the wiki? You probably just need to create the 
lyx2lyx.cmd file:
http://wiki.lyx.org/LyX/LyXWinTips
 
> it is ESSENTIAL that the document not be damaged in any way!

Keep a backup copy then.

Regards,
Milos



Re: Brackets around equation reference

2005-04-19 Thread Milos Komarcevic
LB <[EMAIL PROTECTED]> writes:
> I'm using LyX1.3.3 on Windows.  I'm writing a paper using IEEEtran for an 
> IEEE journal.  Usually the equation cross-references are surrounded by 
> brackets in the text portion of the paper.  Is there a way of setting LyX to 
> do this automatically?  Or should I just type the brackets myself?

I guess you could use the prettyref package and define the eq: label 
cross-reference style to your needs (see the prettyref documentation), 
and then choose "Formatted reference" from the drop down menu in the 
cross-ref window.

The downside is that, although likely, you can never know for ceratin 
that the publisher will have prettyref installed on thier LaTeX system.
Inserting the brackets manually around the cross-ref is a safer bet in 
that respect.

Regards,
Milos



Re: Elsart users

2005-04-19 Thread Milos Komarcevic
Geoff,

> I cant actually get elsart to work here as it tells me i am missing the 
> .cls file required.

You have to install the elsart class manually, it doesn't usually come 
with a LaTeX distribution. You can get it from CTAN or the Elsevier 
author gateway. Bibtex style files are distributed separately for some 
reason, don't forget those.

A for Rob's question

> Anyway have you tried just pressing enter and then adding another author 
> on the next line.  In many classes this produces a comma seperated output 
> with the last author added as 'and'
> 
> eg lyx input
> 
> Author1
> Author2
> Author3
> 
> output
> 
> Author1, Author2 and Author3

with elsart this will give you authors on separate lines with address for 
each individual, which is senseless if they are from the same institution. 
So yeah, ERT seems to be the only way to get the other output style with 
a shared address. That's at least how I had to do it recently, but maybe 
someone else knows of a better way. 

Regards,
Milos



Re: LyX-1.3.5 - Windows native version - Problem with Latex2html

2005-03-31 Thread Milos Komarcevic
EXT / TEAMLOG MELLERIN Pierrick <[EMAIL PROTECTED]> writes:

> 
> Hello,
> 
> I have a problem when I want to export my .lyx document in .html, with the
> latex2html package (installed with MiKTeX).

The latex2html package in MiKTeX is unfortunately NOT the expected 
latex2html binary converter, but just a set of .sty files (don't know 
how to use those either).

M



Re: howt include a bitmap in eps

2005-03-16 Thread Milos Komarcevic
Martijn Brouwer <[EMAIL PROTECTED]> writes:

> 
> Hi,
> I would like to know how I can include a arbitrary bitmap in an eps
> vector image without converting the entire image to a bitmap.
> The reason is that I would like to include an microscopy image in an
> grace graph.
> Does anybody have an ide?

I've done something like that with xfig: 

import your eps first (graph, coordinates, text, whatever), then import the
bitmap over it, and finally export the whole thing as eps again.

I'm still confused with the dpi values, it seems xfig defaults to different ones
when importing eps and bitmaps (72 vs 80 vs 96, don't remember exactly which is
which), so you might have to scale accordingly.

There are probably other/better ways, but this worked for me so far.

HTH,
Milos



Re: Word import via wvWare in Windows

2005-02-22 Thread Milos Komarcevic
Hi Ekkehart
Ekkehart Schlicht wrote:
Milos:
Thank you for your recent suggestion which may be very useful.
This is just to tell you that it does not work on my
computer (XP, LyX/Win qt 1.3.5) althougfh I have downloaded
and installed all files listed on the Wv for Windows
page (except libgw32c).
I get the message 
"I won't mmap that file, using a slower method"
I get the same warning, but the conversion works nonetheless. Please 
check if that's maybe not the same case with you.

If you could write instructions that specify the procedure
for obtaining a workable converter, this would be /very/
useful on Wiki.
I DID specify a procedure for a WORKABLE script (if the converter 
doesn't work you have to contact the wv developers), which works on two 
Win2k machines here. I installed wv using the single setup package 
(which installs all the dependencies), not individual files. I also 
installed in a directory with no spaces, i.e. D:\GnuWin32 and put 
D:\GnuWin32\bin in the PATH. Perheps you should try this approach. Try 
it from a command line first on a simple .doc file before you try it 
with lyx, we can better debug it there if here is a problem with the script.

You also need to fix reLyX and lyx2lyx so you have working LaTeX import.
Regards,
Milos


Word import via wvWare in Windows

2005-02-20 Thread Milos Komarcevic
I've noticed that the GnuWin32 project ported wvWare for converting Word 
documents, and LyX supports it, so I thought I'd give it a try. Here are 
the results.

As expected, doesn't work out of the box because wvCleanLatex that LyX 
calls is a shell script (a bit useless since GnuWin32 doesn't provide a 
shell???). Tried invoking it with MSYS sh.exe that comes with Ruurd's port 
of LyX, but no dice, that sh.exe doesn't understand commands like 
'basename' etc. So I did my own Win .bat file (very primitive, equivalent 
to only the last line of the original script, i.e. doesn't do any input 
checks, please feel welcome to extend it).

Here goes:
- create GnuWin32\bin\wvCleanLatex.bat with the following line
 @ wvWare -x %~dp0..\share\wv\wvCleanLatex.xml -d %~dp2 -b %~n2 %1 > %2
- make sure GnuWin32\bin is in your path
- reconfigure LyX, restart and you're ready to go (there still the isuue of 
a .relyx1 file not being cleaned up)

If you found this useful, could someone please add it to the Wiki.
Regards,
Milos


reLyX on Windows

2005-02-18 Thread Milos Komarcevic
Found yet another quirk while importing LaTeX:
in \lyx\bin\reLyX.bat you really need to change all ~p0 to ~dp0 again, 
like in the old 1.3.3 configure.bat; it might not be absolutely 
necessary, but it's better to be safe if you're running across different 
partitions?

With the addition of \lyx\share\lyx\lyx2lyx\lyx2lyx.cmd as per the Wiki, 
the importing works mostly OK on Windows (the *.relyx1 file doesn't get 
cleaned up though, but the others do?!)

Regards,
Milos


Re: Fix for LaTeXconfig in LyX 1.3.5 for Win32

2005-01-20 Thread Milos Komarcevic
On Jan 20 2005, Jean-Marc Lasgouttes wrote:
> "Ekkehart" == Ekkehart Schlicht <[EMAIL PROTECTED]> writes:
Ekkehart> Both lines are marked by #ES#
Ekkehart> 1. The line that invokes sed: sed -f chkconfig.sed
Ekkehart> ${srcdir}/doc/LaTeXConfig.lyx.in >doc/LaTeXConfig.lyx
OK thanks. So the problem is only that chkconfig.sed has \r characters
as end-of-lines, right?
Well, that, or the other way around: MSYS's sed.exe shipped with LyX-Win32 
can't handle \r characters as end-of-lines...

Haven't tried the suggestion with the -c --nocr switch though:
http://article.gmane.org/gmane.comp.gnu.mingw.msys/2076
M


Fix for LaTeXconfig in LyX 1.3.5 for Win32

2005-01-20 Thread Milos Komarcevic
Ekkehart Schlicht <[EMAIL PROTECTED]> writes:
> The link
>
> 
http://www.semverteilung.vwl.uni-muenchen.de/links/LyX1.3.5_LaTeXConfigFix.zip
>
> privides an easy (albeit primitive) fix for the problem that
> Edit -> Reconfigure gives you an empty file in
> Help -> LaTeX Configuration. This is due to a bug in
> in the stream editor (sed.exe) . Replacement of the
> sed.exe by a newer one gives rise to other errors.
> My solution is to use another sed - named here HHSED -
> for producing the LaTeXConfig.lyx file.
>
> The changes are in the config and the config.bat files.
> They are documented in these files.

My feeling is that original LyX config files shouldn't be touched unless 
absolutely necessary, as that is difficult to follow and maintain. 
Instead, we should concentrate on enabling proper tools and utilities on 
the Windows platform. There is already a good enough workaround for this 
problem, until MSYS updates its tools. If simple sed.exe replacement 
doesn't work for you (as it doesn't for me), try to

- install GnuWin32's sed with its installation package
- add path_to_gnuwin32\bin to your %PATH%
- rename \lyx\bin\sed.exe to something else
Regards,
Milos


Re: LyX 1.3.5 for Win32 released

2005-01-06 Thread Milos Komarcevic
Ruurd Reitsma wrote:
Anyway, I think it´s a nicer solution to include a newer ´MSYS´ sed. But I
still don´t know why this is needed.
Because with the current one (3.02) the creation of the file 
\lyx\share\lyx\docs\LaTeXConfig.lyx fails (0 length), so you can't view 
the LaTeX configuration from the Help menu in LyX. Are you not seeing 
this problem with your setup? Lots of people ran into it. Check out this 
thread as well:

http://www.mail-archive.com/lyx-users@lists.lyx.org/msg30994.html
The problem is with DOS's ^M characters which the old sed and libintl do 
not handle well. GnuWin32 version works, but not when it's in \lyx\bin?

This isn't a showstopper or a big deal, but should be solved and fixed 
at some point.

Milos


Re: LyX 1.3.5 for Win32 released

2005-01-06 Thread Milos Komarcevic
Ruurd Reitsma wrote:
At this very moment, not yet. Actually, the new sed makes things worse for
me. What exactly is the new version supposed to do?
In what way worse? I had some problems with the new sed if I just drop 
it in \lyx\bin, see my previous post:

http://www.mail-archive.com/lyx-users@lists.lyx.org/msg32795.html
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg32804.html
It only worked for me if I actually install the GnuWin32 package 
properly and add it to the path. Still can't figure out why the difference.

Milos


Re: LyX 1.3.5 for Win32 released

2005-01-05 Thread Milos Komarcevic
Ruurd,
- The display of fonts in math mode with Qt 3.2.1 non-commerical is
much worse than with 2.3.0, but I guess someone already mentioned 
this. I hope it can be fixed somehow because it's very annoying.
I have uploaded a fixed package to sourceforge. There might still be
issues, but the new one definately looks better.
thank you for the fast update, this package is MUCH better! Even the
icon is back :)
Although there are still some minor issues with the math mode (offset of
subscripts, accents etc. is to large and brackets are too tall), it is
at least now rendered correctly and quite useable, so I'm able to switch
over to 1.3.5 for real.
(I should mention that sed.exe is still old in this fixed package, I
wasn't sure if you were indenting to upgrade it or not this time around)
Thanks again,
Milos


Re: LyX 1.3.5 for Win32 released

2005-01-05 Thread Milos Komarcevic
Rob S wrote:
- The convertDefault.sh script doesn't work again, it always fails
when testing for converted file existance. I had to comment those
lines out in order to get the figures to display in LyX

I notice that .pdf images fail to convert/display in LyX - perhaps this 
is also the problem.

BTW Milos; Which lines?
Try commenting out the 5 lines starting with "test -f ..."
Or, just commenting out the "exit 1" line in that statement
should do the trick
M


Re: LyX 1.3.5 for Win32 released

2005-01-05 Thread Milos Komarcevic
Ruurd, thanks a lot for the updated version!
I do have some problems with it though, maybe someone on the
list could confirm them and provide some help.
Your mention of the inclusion of a newer version of Sed.exe has also
addressed another of my questions.
> FYI, I did include the new sed.exe and fixed the path thing in 
> configure.bat.
- I couldn't see this new sed version in lyx-1.3.5-win32-nc.exe
It seems to be the old one, identical to the one packaged with
1.3.3, so my LaTeX configuration file is still 0 bytes. Is there
a newer package? Can someone confirm this?
- The convertDefault.sh script doesn't work again, it always fails
when testing for converted file existance. I had to comment those
lines out in order to get the figures to display in LyX
- The display of fonts in math mode with Qt 3.2.1 non-commerical
is much worse than with 2.3.0, but I guess someone already mentioned
this. I hope it can be fixed somehow because it's very annoying.
Regards,
Milos


Re: Lyx and Fedora 2 (my first post)

2004-09-24 Thread Milos Komarcevic
LyX (and friends) are now officialy part of Fedora Extras (yay!)
and RPMs can be found through yum/apt at http://www.fedora.us
Happy LyXing!
M


Re: imagemagick version suitable for lyx win32 xp

2004-09-19 Thread Milos Komarcevic
EPS figures created by xfig seem to convert fine, but the ones
exported from Matlab pop up this GS> prompt... (you can bring lyx
back by typing 'quit')
I've managed to narrow the eps problem on 6.0.8-Q16 down a bit - 
conversion works fine on the command line without any switches, but 
fails in the same way with the "-depth 8" switch that's in 
convertDefault.sh:

convert -depth 8 eps:test.eps ppm:out.ppm
AFPL Ghostscript 8.14 (2004-02-20)
Copyright (C) 2004 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
GS>quit
AFPL Ghostscript 8.14 (2004-02-20)
Copyright (C) 2004 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
GS>quit
convert.exe: no decode delegate for this image format `test.eps'.
convert.exe: missing an image filename `ppm:out.ppm'.
I hope IM people sort this out eventually, in the meantime I'm going 
back to 6.0.0 or 5.5.7

M


Re: imagemagick version suitable for lyx win32 xp

2004-09-18 Thread Milos Komarcevic
I don't know if it is worth putting on the lyx wiki (I would put it but the
page is protected)I have found that with the latest version of
imagemagick it seems to stall while converting image previews from eps. Some
eps images are converted but with others it stalls showing GS> within the
lyx terminal. It only seems to happen with eps images.
Same problem with 6.0.8 here on Win2k.
EPS figures created by xfig seem to convert fine, but the ones exported 
from Matlab pop up this GS> prompt... (you can bring lyx back by typing 
'quit')
6.0.2 was working ok for me AFAIR

Regards,
Milos


Re: Dotless j and mathpazo

2004-07-20 Thread Milos Komarcevic
Juergen Spitzmueller wrote:
Does this help?
http://tug.ctan.org/tex-archive/macros/latex/contrib/bezos/dotlessi.sty
Sure does, thanks Juergen!
OT: Still makes me wonder why my TeX installation needs get bigger and 
more difficult to maintain, even for trivial tasks, when the character 
is already available with the font...
Anyways...


Dotless j and mathpazo

2004-07-20 Thread Milos Komarcevic
How can one get the dotless j with mathpazo (or any PSNFSS) fonts in 
math mode?

$\textrm{\j}$ gives me a black square (but ok with CM fonts?)
$\jmath$ doesn't cut it because I need an upright bold version
The character is there, as seen in pazotest.pdf that comes with mathpazo 
documentation. The only way I managed to get it is defining my own 
command (modelled according to \ppleuro in mathpazo.sty):

\newcommand{\dotlessj}{{\fontencoding{U}\fontfamily{fplm}\selectfont 
\char226}}

Isn't there an easier way? Any reason why \j or \dotlessj aren't defined 
in mathpazo.sty already?

Regards,
Milos


insert figures doesn't work properly

2004-05-15 Thread Milos Komarcevic
You probably do not have ImageMagick installed, or it is not in your PATH.
For tips on how to set up LyX in Windows look at
http://wiki.lyx.org/pmwiki.php/LyX/WindowsSetup
Srdacan pozdrav,
Milos


Re:Lyx Win32 setup notes - some anotations

2004-03-17 Thread Milos Komarcevic

>4. Install Acrobat Reader on root path (may have to ignore install
>warnings if you already have it installed in program files â leave that
>copy there though!) Change folder path to remove any spaces. (My
>second copy is installed as C:\Adobe\Reader)
Don't do this! It doesn't matter in which path/folder it is installed. Two 
installations are one too much and could cause troubles.
I agree with this one. If you already have Acrobat Reader installed in
C:\Program Files you could use something like the attached acroread.bat
batch file to launch it. Just put it in a regularly name directory
without spaces (like C:\Adobe or even where your LyxWin32 lives)
and use it as the pdf viewer in LyX preferences.
Avoid to edit the configure.bat manually!!!
Actually I did have to edit the configure the configure.bat manually.
The problem is when LyX and user's %HOME%/.lyx do not live on the
same drive - Edit->Reconfigure fails from within LyX then.
A minor change from %~p0 to %~dp0 everywhere in the batch file fixes that.
I already posted this some time and was hoping Ruurd will consider this
for future versions.
So the only remaining mystery for me is the usage errors from updated sed 4.0.9

Regards,
Milos @echo off
rem Launcher for Acrobat Reader
rem M. Komarcevic 2003 

rem Place in a regularly named directory without spaces,
rem e.g. C:\LyX or D:\Acro and use as PDF viewer in LyX preferences.
rem Change the full path to AcroRd32.exe below if necessary.

start "C:\Program Files\Adobe\Acrobat 6.0\Reader\AcroRd32.exe" %1
exit@echo off
rem Configure script for Win32
rem calls msys sh.exe
rem written by Ruurd Reitsma
echo %0
SET PATH=%~dp0..\..\bin;%PATH%
echo %PATH%
%~dp0..\..\bin\sh.exe --login %0

Re: configuring lyx 1.3.3 win32

2004-03-16 Thread Milos Komarcevic

> field. Usage: C:\proggies\lyx\bin\sed.exe [OPTION]...
> {script-only-if-no-other-script}
> [input-file]...
>
>-n, --quiet, --silent
>   suppress automatic printing of pattern space
>-e script, --expression=script
>   add the script to the commands to be executed
>-f script-file, --file=script-file
>   add the contents of script-file to the commands to
>   be
> executed
>-i[suffix], --in-place[=suffix]
>   edit files in place (makes backup if extension
>   supplied)
>-l N, --line-length=N
>   specify the desired line-wrap length for the `l'
>   command
>-r, --regexp-extended
>   use extended regular expressions in the script.
>-s, --separate
>   consider files as separate rather than as a single
> continuous
>   long stream.
>-u, --unbuffered
>   load minimal amounts of data from the input files
>   and
> flush
>   the output buffers more often
>--help display this help and exit
>-V, --version  output version information and exit
>
> If no -e, --expression, -f, or --file option is given, then the first
> non-option argument is taken as the sed script to interpret.  All
> remaining arguments are names of input files; if no input files are
> specified, then the standard input is read.
>
> E-mail bug reports to: [EMAIL PROTECTED] .
> Be sure to include the word ``sed'' somewhere in the ``Subject:''
> field. configure: error: cannot find chkconfig.ltx script
>
>
>
Are you sure this is sed 4.0.7?  What happens if you open a DOS prompt
and type sed --version?
This definitely is a real problem, I was seeing this too on  Win2k
with sed 4.0.9 if I just replaced the .exe and .dll's in the lyx/bin
directory. Installing sed with the GnuWin32 installer worked fine and
I still can't figure out what the difference is. See
http://www.mail-archive.com/[EMAIL PROTECTED]/msg32804.html

Milos 



RE: Lyx 1.3.3 for Windows startup error

2004-03-14 Thread Milos Komarcevic
Hi Rob,

At 18:14 14/03/2004, you wrote:
Try installing the newer sed from sed.exe direct onto C drive. Ensure
that the GnuWin32 bin directory is in your path.
My path is:

c:\im\imagemagick-5.5.3-q16;C:\GnuWin32\bin;C:\Ghostgum\gsview;C:\WINNT\
system32;C:\WINNT;C:\WINNT\system32\WBEM;C:\Tcl\bin;C:\Miktex\texmf\mikt
ex\bin\;C:\PROGRA~1\COMMON~1\AUTODE~1;C:\Adobe\Reader;C:\gs\gs8.00\bin;C
:\Ghostgum\gsview;C:\l2r
For a quick check to see if you are using the newer sed after this:

From within lyx 1.3.3 - reconfigure (1.3.2 you will need to open a cmd
window and cd to c/??/lyx/share/lyx and run configure.bat)
Check the resulting log in the shell window
If it has gone through without an error and also you can now read the
latex configuration file (from lyx help menu) then all is ok.
However, if it after running reconfigure the resulting listing shows
towards the end "unknown option to s" or something along those lines
then it is still using the older (supplied by Ruurd) version of sed.
installing sed with the GnuWin32 setup package and putting it in the
path really does work.
I don't know how this is different to just replacing sed.exe and associated
dll's manually in the lyx/bin directory as that one is added to the path
by Ruurd's configure script anyway, and that results in sed usage errors
as someone already reported on the list.
Thanks for the tip,
Milos 



Re: Lyx 1.3.3 for Windows startup error

2004-03-13 Thread Milos Komarcevic
Paul,

1.  Open a DOS prompt in the LyX bin directory and type sed --version.  If
it reports version 3.something, go to
http://sourceforge.net/project/showfiles.php?group_id=23617&package_id=
16429, download sed 4.0.9 (or the latest 4.x release), and install that
version of sed.exe over the one in the bin directory.  Then try running
configure again.
I never got this to work; I replaced sed.exe with newer 4.0.9 and
also added the required libiconv2.dll and libintl3.dll in the lyx bin
directory, but configure fails with usage errors from sed.
Does sed replacement actually work for you (i.e. you're sure cygwin's
sed is not used instead)? Maybe I'm missing something somewhere...
Regards,
Milos   



Windows Lyx -> Creating PDF files

2004-02-15 Thread Milos Komarcevic
> I've recently installed Lyx on Windows. I can view DVI files but not PDF files.
> The lyxrc file is set up correctly (meaning that all of the paths to Acrobat
> have been correclty specified), but when I try  View>PDF(pdflatex), Acrobat says
> 'There was an error opening this document. The file does not exist'. Checking
> out the tmp directory shows that something is happening - some proto-pdf files
> have been created, but not a finalised one.
> 
> Any ideas?

In Ruurd's Win32 version it is important that Acrobat Reader 
(and LyX, LaTeX, Ghostscript etc) is installed in a directory 
without any spaces, I remember having a similar problem when 
that was the case.

Milos


AW: lyx windowsuse paper.cls

2004-01-19 Thread Milos Komarcevic
Ben,

I use  MikTeX under Windows with Ghostscript/ImageMagick/etc. I also found
put the class paper.cls and it's layout in d:\programme\texmf\tex\latex\base
as I did in Linux. Ater taht I turned to MikTeX Options and refreshed the
file database AND I reconfiguered Lyx.
the layout should go I think in \lyx\share\lyx\layouts (or ~\.lyx\layouts)
followed by LyX reconfigure, otherwise it doesn't know where to pick it up.
Milos 



Re: Configuring the Win32 native port (1.3.3)

2003-12-17 Thread Milos Komarcevic
Hi Paul,

Paul A. Rubin wrote:
Apologies for the length of what follows.  I had problems getting the
Ruurd's latest port (1.3.3) to reconfigure on a Windows XP system, and I
was wondering if anyone else had the same problem.  On my system, if I do
Edit | Reconfigure, textclass.lst gets clobbered and LyX subsequently
refuses to start.
I have no such problems here on Win2k, it configures ok from the DOS window 
(not Cygwin's bash) when configure is run in D:\lyx\share\lyx (with the 
exception of the sed problem when creating LaTeXConfig.lyx).

It works regardless of Cygwin - I've tried with both D:\cygwin\bin in the 
path and without it.

Edit|Reconfigure from LyX does not work for me because Ruurd's 
configure.bat does not include the drive letter when setting the path to 
lyx\share\lyx\..\..\bin and when calling lyx\share\lyx\..\..\bin\sh.exe 
from a different drive, as is the case with my home directory.

The problem is solved by replacing the two instances of "%~p0" with "%~dp0"
in configure.bat, and then the Cygwin directory shouldn't be reached because
it's later in the path.
Regards,
Milos 



Re: lyx133 for win32

2003-12-15 Thread Milos Komarcevic
Philip A. Viton wrote:
Just in case you hadn't noticed: ruurd has a distribution of 1.3.3 
available. (Haven't tried it yet, still downloading).
Thanks for the heads up Philip, and thanks Ruurd.
I've just downloaded it and tried it out, seems to work ok for me so far.
Couple of things I've noticed:
- the default graphic conversion script works now (yay!!!)

- output of LaTeXConfig.lyx is still zero because of the old version of sed 
included (see Andre's posts from last week)

- there is now an additional console window open when LyX is started, which 
is both good and bad; bad because it wastes taskbar space, good because it 
seems no additional windows pop up when various conversion scripts are run, 
so the whole experience is a bit faster and feels more responsive; would be 
great if both could be done at the same time, but if it's not possible i 
don't feel strongly about either way

Regards,
Milos 



Re: Configuring native Win32 port

2003-12-11 Thread Milos Komarcevic
Hi Angus,

Can you run the DOS equivalent of this Unix command from the command
line:
$ echo "On this date @chk_date@ I created the string" | \
sed 's/@chk_date@/November 20, 2003/g'
On this date November 20, 2003 I created the string
Turns out to be the same command :)

lyx\bin>echo "On this date @chk_date@ I created the string" | sed '
s/@chk_date@/November 20, 2003/g'
works ok with the output

"On this date November 20, 2003 I created the string"

But doc/LaTeXConfig.lyx is still an empty file, with the sed
error reported earlier during configure.
Thanks,
Milos



Re: Configuring native Win32 port

2003-12-11 Thread Milos Komarcevic
I had to open a DOS window, cd to the directory
where configure lives, and run it from there.
There is still a slight problem with sed outputting
of the LaTeX configuration file.
http://www.mail-archive.com/[EMAIL PROTECTED]/msg28200.html
http://www.mail-archive.com/[EMAIL PROTECTED]/msg30488.html


Re: DVI Viewer gone missing from menu

2003-11-28 Thread Milos Komarcevic

I have Lyx 1.3.2 Win32 installed on my Windows XP system and had access 
the the DVI menu option under "View>DVI" until I tried editing the file 
conversion preferences.  Now the DVI option is gone and I can't get it 
back (although Yap is listed with path under the viewer preferences).

Any suggestions?
Open the file ~/.lyx/preferences (~/ being your home directory, possibly
C:\Documents and Settings\username) and delete the lines beginning with
\converter dvi ps

\viewer dvi

That should bring you back to default configuration.

On the note of viewing images in documents, search the list, it's a known 
problem
with the convert script calling ImageMagick.

 Also, now that I think of it, can Lyx 1.3.2 be upgraded to 1.3.3 under 
the Win32 port (without too much unix understanding)?
It can't be "upgraded". One would need to recompile and repackage it from 
scratch.
One would need the non-commercial Qt library for Win32 in order to do that.
If somebody does that, then we can just replace it with the newer version.

Regards,

Milos

P.S. Please turn off HTML formatting in your email.




Re: win32 QT version "latex configuration"

2003-11-20 Thread Milos Komarcevic

Can you run the reconfiguration manually please as
share\lyx\configure --keep-temps
and then have a look at the generated chkconfig.sed file.
I've had to edit the batch file configure.bat and add the switch "--keep-temps"
to get it to work.
Here, the first line of the file is:
[EMAIL [EMAIL PROTECTED] 7, 2003!g
Perhaps your version of sed is choking on the '!' delimiters? Change this
line to:
s/@chk_date@/August 7, 2003/g
and see if you get to line 2.
No, still fails on line 1 with the same message

s/@chk_date@/November 20, 2003/g
...snip...
\share\lyx>sed -f chkconfig.sed
sed: file chkconfig.sed line 1: Unknown option to 's'
Regards,

Milos



Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Milos Komarcevic
I had the same problem rebuilding on the latest Red Hat beta.

The XFree86-devel (and its deps) were missing.

Regards,
Milos


Re: runlyx.bat does not start Cygwin LyX

2003-02-20 Thread Milos Komarcevic
At 15:15 18/02/2003 -0800, you wrote:

>>So what's the difference between lyx.exe and lyxwin32.exe?
>>lyxwin32.exe will do the following to ensure a proper environment:
>>
>>   1) Running all startup scripts, i.e. the system wide /etc/profile
>>  all script in /etc/profile.d as well as your personal
>>  $HOME/.profile and your $HOME/.bashrc.
>>   2) Executes the file /etc/lyxprofile
>>   3) It starts lyx.exe sending error output into the file /tmp/lyx.out
>>
>>So any command in any of those files will be executed before calling
>>lyx. lyxwin32 does not call tr a standard unix command (translate). It
>>seems that that tr command does not terminate and therefore lyxwin32
>>can't proceed to start lyx.exe at the end. So who does call that? SO
>>why does it not exit?
>
> The only one I could find is the line
>
> export HOSTNAME=`hostname | tr '[A-Z]' '[a-z]'`
>
> in /etc/profile (that is the default one, hasn't been changed).

Curious, there's no such line in my profile (also default).


Do you have  base-files-1.1-1 installed?
That comes with /etc/profile.default that has that line in it,
and hence my /etc/profile too


> But that doesn't seem to cause problems and hang when I open a
> bash window, start XFree86 and xterm or anything else,
> just with lyxwin32.exe
> The only change I did to /etc/lyxprofile is comment out the 'export
> HOME=...' as I've already set it as my Windows env. variable.

Try commenting out the export HOSTNAME line in /etc/profile and see if
the problem disappears.


That did solve the problem and LyX started successfully.
So now we know which 'tr' is hanging, can we find out why is it so?
It does not hang when I open just a bash window, and the HOSTNAME var
is set correctly.


FWIW, I've bumped into situations where something worked ok in DOS but
not Cygwin, or vice versa.  It turns out that permissions for the same
file may be different (or at least appear different) between DOS/Windoze
and Cygwin.  (This only applies to Win 2K and XP, and maybe NT.)  I'm
wondering if maybe lyxwin32, running under DOS rather than Cygwin, tries
to invoke some other program for which it lacks, or appears to lack,
permission.


I've tried this with or without CYGWIN=ntsec, no difference.

I'm cc'ing this to the cygwin list also, maybe somebody can shed
some new light on this. 



Re: runlyx.bat does not start Cygwin LyX

2003-02-18 Thread Milos Komarcevic
Claus,

At 11:41 18/02/2003 +0100, you wrote:

> I have tried launching with wrapper lyxwin32.exe using Cygwin/XFree86,
> and still I have the same problem: nothing happens, but if I start with
> 'lyx' from an xterm window everything is fine.

So what's the difference between lyx.exe and lyxwin32.exe?
lyxwin32.exe will do the following to ensure a proper environment:

1) Running all startup scripts, i.e. the system wide /etc/profile
   all script in /etc/profile.d as well as your personal
   $HOME/.profile and your $HOME/.bashrc.
2) Executes the file /etc/lyxprofile
3) It starts lyx.exe sending error output into the file /tmp/lyx.out

So any command in any of those files will be executed before calling lyx.
lyxwin32 does not call tr a standard unix command (translate). It seems that
that tr command does not terminate and therefore lyxwin32 can't proceed to
start lyx.exe at the end. So who does call that? SO why does it not exit?


The only one I could find is the line

export HOSTNAME=`hostname | tr '[A-Z]' '[a-z]'`

in /etc/profile (that is the default one, hasn't been changed).
But that doesn't seem to cause problems and hang when I open a
bash window, start XFree86 and xterm or anything else,
just with lyxwin32.exe
The only change I did to /etc/lyxprofile is comment out the 'export HOME=...'
as I've already set it as my Windows env. variable.



> There seem to be two processes started when I type 'start .\lyxwin32.exe'
> from the DOS command window: tr.exe and lyxwin32.exe (both in
d:\cygwin\bin)

So why do you use a DOS window? Try my startlyx.bat file to start Lyx using
lyxwin32.exe! There will be used the run command!


Because 'start .\lyxwin32.exe' is in rynlyx.bat and that batch file is
run from the DOS/Windows environment, no? I am just trying to do whatever
runlyx.bat is doing step-by-step.

startlyx.bat fails in exactly the same way (tr.exe + lyxwin32.exe hang)

In both of these cases, no /tmp/lyx.out is being created at all.


You can start the X server first. Then open a bash window and in that window
enter
lyxwin32
Watch the screen for output. After that look do
cat /tmp/lyx.out
to have a look into the error output written by Lyx itself.


This works and starts LyX ok! ??? The output is:

'Command is: |lyx /tmp/lyx.out|'

and /tmp/lyx.out is created and empty.

So I don't really understand what is going on??? For what it's worth,
I'm running Win2k+SP3 and have CYGWIN env. set to
'binmode ntsec tty nosmbntsec'
Is there more switches on lyxwin32.exe to get more debugging info?

Regards,
Milos 



ANNOUNCE: Lyx 1.3.0 for Windows

2003-02-14 Thread Milos Komarcevic
Claus, thanks for porting 1.3.0 to Windows so fast!

I have one minor problem though: Lyx will not start anymore from the icon 
shortcut
to runlyx.bat (attached below). The X server is started ok and then it 
starts the
wrapper lyxwin32.exe, but nothing happens afterwards (the process lyxwin32.exe
is present in the task manager).

If I start with 'lyx' from cygwin bash shell and a running X server everything
is fine.

Is this a known problem and how do I fix it?
I have the latest lyxsupport-1.7 installed.

Thanks,

Milos@echo off
:: START YOUR X-SERVER HERE

:: First change into its directory (The path should
:: be quoted if there is any space character in it!)
:: Then call the executable, i.e. xwin32 here!
:: 
echo "Starting X-Win32 ..."
cd /d "c:\Program Files\StarNet\X-Win32 5.4"
start .\xwin32.exe

:: Change your geometry settings in the last line so
:: the LyX window will fit on your screen!
:: 
cd /d D:\cygwin\bin
start .\lyxwin32.exe -geometry 900x790+0+48 %1 %2 %3 %4 %5



Re: Which drawing program?

2002-11-08 Thread Milos Komarcevic
Xfig does the job for me, it just takes a bit of 
time getting used to. Haven't tried Dia or Sodipodi yet,
but they also look promising.

As far as equations in figures go, I use psfrag:
http://www.ctan.org/tex-archive/help/Catalogue/entries/psfrag.html
It lets you replace any text in the eps figure with any 
latex code with some ERT in the figure float in Lyx. 

The only drawback with psfrag is when you want PDF output: 
you have to do the latex->dvi->ps->pdf route, which means 
no hyperlinks. I don't think you could do pdflatex or dvipdfm.
I wish that someone could prove me wrong.

Milos


-- 
Milos Komarcevic
Photonics and Sensors Group
Cambridge University Engineering Department
Trumpington Street
Cambridge  CB2 1PZ
UK

Tel: +44 1223 339762
Fax: +44 1223 765268
Email: [EMAIL PROTECTED]



Re: Multiple bibliographies and koma-script

2002-11-04 Thread Milos Komarcevic
At 08:26 04/11/2002 -0800, Max Bian wrote:

I use babel and it seems working just fine.  I loaded the babel package
before the bibunits package in the preamble.

I don't know how I did it, but LyX doesn't insert the babel package for
me.

Max


In LyX 1.2.1 there is in the preferences (lang opts/language tab) and option
to use babel or not, and it seems babel is loaded after the stuff in the
user-defined preamble.




Re: Multiple bibliographies and koma-script

2002-11-04 Thread Milos Komarcevic
At 06:35 01/11/2002 -0800, Max Bian wrote:

"{\renewcommand{\bibliography}[1]{}"
<<< Insert the BibTexGeneratedReferences via Insert/LIST &TOC
menu>>>
"}"


Please recheck it.  Make sure everything in "" is in ERT! And the above
should be in 3 lines.  The part in <<< ... >>> is the normal bibtex
list you include in the menual.


That part is working ok.
I have made a simple lyx file resembling the one in the bibunits manual,
and it still doesn't work.

After examining the TeX source exported from LyX,
I have found that bibunits does not work with babel for some reason.
It works when I remove all the language options (I had for example
\documentclass[british]{scrartcl} )and \usepackage{babel}
inserted by LyX.

It'd be interesting if anyone could shed more light on this.  



Re: Multiple bibliographies and koma-script

2002-11-01 Thread Milos Komarcevic
On Fri, 2002-10-25 at 15:54, Max Bian wrote:
> 1. Put "\usepackage{bibunits}" in preamble of your master document and
> each subdocument you include. Make sure to use "include" option. 
> Forget all other latex code.
> 
> 2. At the begining of each included document, write in ERT
> "\begin{bibunit}[unsrt]". Replace unsrt with the style you like.
> 
> 3. At the end of each included document, write in ERT:
> 
> "\putbib[/path/to/bib/file without .bib]"
> "\addtocontentsline{toc}{section}{\numberline{}\bibname}" -- this makes
> the references appear as a section in chapter.
> "\end{bibunit}"
> 
> Additionly, add this ERT for some good. :)  -- It lets the
> "Insert/citation reference" work as expected.
> 
> "{\renewcommand{\bibliography}[1]{}"
>  <<< Insert the BibTexGeneratedReferences via Insert/LIST &TOC menu>>>
> "}" 
> 
> And the final step:  Make a script (eg. name it mylatex) to wrap around
> "latex" command.
> 
> ===
> #!/bin/bash
> /usr/bin/latex $1
> /usr/bin/latex $1
> for file in *.aux;
> do
>  file=`echo $file |sed -e s/\.aux$//`;
>  /usr/bin/bibtex $file;
> done;
> /usr/bin/latex $1
> =
> You must go to Edit/Preferences/Conversion/Converters/ and change the
> Latex->DVI converter to "mylatex $$i".
> 
> After these simple steps, it should work!!
> 
> Max

Thanks for the suggestions Max, but it doesn't work for me.
After I got rid of 

\addtocontentsline... which gave me an error,


I still get the same result as using the other method: as many errors
as there are \cite's. This is one from the log file:

! LaTeX Error: Can be used only in preamble.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H   for immediate help.
 ...

l.16 \bibcite{deGennes93}{1}

Your command was ignored.
Type  Ito replace it with another command,
orto continue without it.



Does it matter where I put the 

{\renewcommand{\bibliography}...} 

sequence?



Re: Multiple bibliographies and koma-script

2002-10-25 Thread Milos Komarcevic
At 19:28 24/10/2002 +0200, Dekel Tsur wrote:

On Thu, Oct 24, 2002 at 06:10:04PM +0100, Milos Komarcevic wrote:
> At 18:47 24/10/2002 +0200, Dekel Tsur wrote:
> >On Thu, Oct 24, 2002 at 05:32:37PM +0100, Milos Komarcevic wrote:
> >
> >> \usepackage[sectionbib]{chapterbib} works fine for the generic
> >> latex report class, but I get errors when I use koma-script.
> >>
> >> How do I make it work with koma-script?
> >
> >Try using bibunits.
> >After loading the package, you should add
> >
> >  \def\@bibunitname{\jobname.\the\@bibunitauxcnt}
>
> This still puts the bibliography at chapter level.
> In addition, all the bibliographies are combined and identical.

Read the bibunits documentation. It is not enough to just load the package.



Ok, so I have in the preamble:

\usepackage{bibunits}
\def\@bibunitname{\jobname.\the\@bibunitauxcnt}
\let\stdthebibliography\thebibliography
   \renewcommand{\thebibliography}{%
   \let\chapter\section
   \stdthebibliography}

In the master document I have at the beginning in ERT:

\bibliographyunit[\chapter]
\bibliography*{mybibfile}
\bibliographystyle*{ieeetr}

and then at the end of each chapter I added a \putbib in ERT.

When I compile, questionmarks appear instead of references, the
"Bibliography" headings appear at the correct place and level, but
there is just nothing there.

When I remove the BibTeX insets from the end of my chapters, I cannot
compile at all, I get some errors after the 3rd latex run.
I don't want to have to remove the BibTeX insets anyway, because then I can't
cross-reference without ERT in LyX while I'm writing.

(I think the problem is because the BibTeX insets define a global 
\bibliography,
so, according to the bibunits documentation, you have to use \cite* instead of
\cite which would mean even more ERT.)

This bibunits stuff is getting too complicated, I'm tempted to ditch 
koma-script
and stick with chapterbib or put all the references at the end...




Re: equations over multiple lines

2002-06-21 Thread Milos Komarcevic

>Insert -> Maths -> AMS ***
>
> features which I assumed would let me do the same thing, (except with
a 
>nice gui) but when I used it, it said "command-disabled"
>
>how do I enable it, or isn't it finished yet??

I can do all the available AMS math environments from the menu
"Insert -> Math -> AMS *align*"... (on RHL 7.3 and Win32/Cygwin)
Do you have the amsmath Latex package? You maybe need to run
configure so LyX can pick it up?

I prefer the output of AMS multline, but you have to resort to ERT for
that (this would be a nice addition for future LyX releases!).

Regards,

Milos Komarcevic



Re: Special math characters

2002-06-14 Thread Milos Komarcevic

Definitely something strange going on here...

without the script in mathed.lyx, I have the following
in my $LYX_XFONTS/fonts.dir:

7
cmex10.pfb
-unknown-cmex10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific
cmmi10.pfb
-unknown-cmmi10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific
cmr10.pfb -unknown-cmr10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific
cmsy10.pfb
-unknown-cmsy10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific
eufm10.pfb
-unknown-eufm10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific
msam10.pfb
-unknown-msam10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific
msbm10.pfb
-unknown-msbm10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific

These were found and configured by $LYXDIR/configure after
installation I presume.

When I add $LYX_XFONTS in the catalogue of my xfs (I'm running
RH 7.3) and restarting xfs,X and lyx, I get most of the symbols
except a couple in Table 8.11 - Large delimiters.

I then try to run the script from mathed.lyx, with some changes in 
fonts-xlfd (eufr10 and eusr10 are eufm10 and eusm10 on my system)
and I get the following $LYX_XFONTS/fonts.dir:

15
cmr10.pfb -bluesky-cmr-medium-r-normal--0-0-0-0-m-0-adobe-fontspecific
cmmi10.pfb -bluesky-cmmi-medium-i-normal--0-0-0-0-m-0-adobe-fontspecific
cmsy10.pfb -bluesky-cmsy-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific
cmex10.pfb -bluesky-cmex-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific
eufm10.pfb
-bluesky-eufrak--medium-r-normal--0-0-0-0-p-0-adobe-fontspecific
eufb10.pfb -bluesky-eufrak-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific
eusm10.pfb -bluesky-eus-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific
eusb10.pfb -bluesky-eus-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific
msam10.pfb -bluesky-msam-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific
msbm10.pfb -bluesky-msbm-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific
marvosym.pfb
-marvo-marvosym-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific
wasy10.pfb
-hoekwater-wasy-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific
wasyb10.pfb
-hoekwater-wasy-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific
logo10.pfb
-hoekwater-logo-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific
logobf10.pfb
-hoekwater-logo-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific

But when I restart xfs,X and lyx - I'm back to square one - 
none of the symbols that were enabled in the previous step 
show up any more (even though all of these show up as present in
xlsfonts).

What's going on? Maybe wrong definitions in fonts-xlfd?

Milos



Re: LyX does not run BibTex

2001-06-11 Thread Milos Komarcevic

Hi Claus,

I'm running MikTex 2.0up1 and it seems to run fine manually.
It looks like LyX doesn't sense my bibliography file for some reason,
as it is not listed in the .dep file.

Here is also the beginning and the end of my .tex file from the tmp-directory:

\batchmode
\makeatletter
\def\input@path{{Z:/LyxDocs/}}
\makeatother
\documentclass[12pt,english]{article}
\usepackage{times}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{a4}
\usepackage{babel}
\usepackage{graphics}
\usepackage{setspace}
\onehalfspacing
\usepackage{subfigure}

\makeatletter

%% LyX specific LaTeX commands.
\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}

%% User specified LaTeX commands.

\usepackage{psfrag}
\renewcommand\floatpagefraction{.9}
\renewcommand\topfraction{.9}
\renewcommand\bottomfraction{.9}
\renewcommand\textfraction{.1}
\setcounter{totalnumber}{50}
\setcounter{topnumber}{50}
\setcounter{bottomnumber}{50}

\makeatother
\begin{document}
...
\bibliography{Z:/LyxDocs/photonics}

\end{document}

which looks allright to me... or does it?
If there is a line \def\input@path{{Z:/LyxDocs/}}, maybe the full path is 
not necessary
in the \bibliography{Z:/LyxDocs/photonics}, just as it doesn't show up in 
the lines
that include eps figures (only the filename).

Thanks,

Milos

At 11:52 11/06/2001 +0200, you wrote:
>Can you please send me the .dep-file present in the tmp-directory after
>calling latex from inside LyX. Furthermore I do need infos about your latex
>distribution (version, release). I have testes BibTeX on my system and
>BibTeX is usable with MikTex 1.2/2.0 as well as with fpTex 0.4!
>
>Claus
>
>----- Original Message -
>From: "Milos Komarcevic" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
>Sent: Monday, June 11, 2001 12:20 AM
>Subject: LyX does not run BibTex
>
>
> > My LyX 1.1.6fix2 for Win32 does not seem to run bibtex at all after
> > the first latex run, although it runs latex for 3 times.
> > I had no problems inserting the bibtex references and citations, and
> > my .bib file is in the same directory as my .lyx file.
> > When I do a manual latex-bibtex-latex-latex sequence on the exported tex
> > file, everything is fine, so it doesn't seem to be a tex system problem.
> >
> > Anyone have an idea what's going on?
> >
> > Thanks,
> >
> > Milos
> >
> > P.S. I also run LyX 1.1.6fix2 under Linux where everything works
>flawlessly
> >
> >


/cygdrive/d/MiKTeX/tex/latex/miktex/graphics.cfg 1020508113 1020508113
/cygdrive/z/LyxDocs/graphics/crosstalk18c.eps 1285183850 1285183850
/cygdrive/z/LyxDocs/graphics/crosstalk18ic.eps 1199618696 1199618696
/cygdrive/z/LyxDocs/graphics/crosstalk18o.eps 282731085 282731085
/cygdrive/z/LyxDocs/graphics/lens.eps 859904236 859904236
/cygdrive/z/LyxDocs/graphics/optical.eps 3417211137 3417211137
/cygdrive/z/LyxDocs/graphics/samples.eps 752361166 752361166



LyX does not run BibTex

2001-06-10 Thread Milos Komarcevic

My LyX 1.1.6fix2 for Win32 does not seem to run bibtex at all after
the first latex run, although it runs latex for 3 times.
I had no problems inserting the bibtex references and citations, and
my .bib file is in the same directory as my .lyx file.
When I do a manual latex-bibtex-latex-latex sequence on the exported tex
file, everything is fine, so it doesn't seem to be a tex system problem.

Anyone have an idea what's going on?

Thanks,

Milos

P.S. I also run LyX 1.1.6fix2 under Linux where everything works flawlessly