Re: Lyx numbering equations

2015-03-15 Thread David A Case
On Sat, Mar 14, 2015, Robert Susmilch wrote:
> 
> I have Googled a way to refer to numbered equations in text, such as
> "See equation (3)" in Lyx but everything I read, whether from other
> users or wikis, suggests labeling the already numbered equations and
> then using the label to cross reference.
> 
> This seems absurd 

This has been discussed before on this list.  The requirement to have a
label makes good sense: how do you propose to refer to an equation that
does not have a label?  Remember that its number will change as equations
are added or removed, whereas the label will not change.

It seems like you may wish to have a cross reference that says the
following: "refer to the *current* equation (3), and update the number in
the cross reference if the corresponding equation number changes."  This
might be implemented by having LyX create a unique but hidden label for
every numbered equation, and providing some sort of user interface to
refer to it.

For good reasons or bad, this is not the way LyX and latex work.  Note that
numbered equations are no different in this respect than are numbered
sections, etc.

dave case



Will there be a version 2.0.x that can import 2.1.0 files?

2014-05-29 Thread David A Case
In the past, there have been "final" releases of a series that are able to
read files created by the "next" LyX format.  Are there plans (and a
estimated time) for a "2.0.8" release that can read 2.1 files?

...thanks...dave case



Re: copying from MS Word to LyX

2012-01-10 Thread David A Case
On Tue, Jan 10, 2012, Wilfried wrote:
> 
> Even at least one publisher of
> scientific journals (I don't remember who) requests authors NOT to use
> the new Word 2007 - 2010 equation editor but the old equation editor or
> MathType.

This is common in my field (chemistry): scientific journals ask for Word
documents as .doc files, and will *not* accept .docx, even though the
latter format has by now been around for some time.

I often encourage publishers to consider accepting LaTex, but to little avail.

...dave case



Re: copying from MS Word to LyX

2012-01-09 Thread David A Case
On Mon, Jan 09, 2012, Leslaw Bieniasz wrote:
> 
> I am new to LaTeX and LyX. I have a document written in MS Word, containing
> lots of math equations plus text, and I want to copy it into LyX.

My experience has been that word2tex is the only program that will work well
with "lots of math equations".  But over the years, Word has handled math
in a bunch of different ways, so I'd recommend getting an evaluation version
first, and making sure it works for your particular word documents.

...dave case



Re: Lyx compile corrupt OpenDocument documents

2011-09-19 Thread David A Case
On 09/16/2011 11:27 AM, Kalisch Dominik P.H. wrote:
> >
> >I need to export my 
> >document, with a heavy use of formulasm tables and images, to word. 

I also need to do this, primarily for scientific journals that accept only
".doc" files (i.e. the older Word format).  At least in my field (chemistry
and biology), there are a lot of journals like this.

I've tried exporting to html (by several methods), then importing the html
into Microsoft Word.  This can work pretty well for text and tables,
moderately well for bibliographic citations (depends a lot on what bib style
files you use) and for figure captions (the figures themselves are expected
by the journals I use to be in separate files anyway).  Simple equations can
be OK, but complex equations are sure to fail.  You can use either elyxer
(with the --html flag) or the export to html (not xhtml) native to Lyx 2.0.
Note that any limitations are *not* the fault of html converters (which work
remarkably well for their intended purpose), but are the result of limitations
in Word's ability to take html as an input format.

For equations, the only thing I've found that "almost" works is tex2word
(just Google it).  This is a commercial program that only runs on Windows,
but fills a real need for me, so much so that I have a virtual Windows
machine that I use pretty much just for that purpose.  The program is
limited (it doesn't recognize all latex packages, and you often have to
manually tweak the latex file you give it), but the support staff is
quite helpful and nothing else [that I have tried] comes close if you
have lots of equations.  (You do also need to have MathType, which means
yet more money.) One thing missing from tex2word, but promised "soon", is
natbib support.  Also, tables are far from perfect -- I've gone to the
trouble of converting tables via html, and the rest of a manuscript via
tex2wordsigh.

[The "pain" is that, almost inevitably, the equations are going to manually
re-typeset by the publisher anyway, so a difficult (and error-prone)
conversion to .doc is just a waste of everyone's time.  I know of cases where
journals demanded .doc format, only to convert back to latex to actually
typset the article.  But authors are often powerless to "fight city hall".]

...just my conclusions based in limited experience, but maybe it will help.

...dave case



Re: sorting multiple references in itself

2009-06-03 Thread David A. Case
On Wed, Jun 03, 2009, Guenter Milde wrote:

> > I need to sort my multiple references...my references are sorted =
> > according to their occurence on the file and follows the order quiet =
> > well but when I give a multiple reference, [21,1,3,7]  can be =
> > generated..but I want to sort this group in itself automatically.
> 
> Put
> 
> % Compressed, sorted lists of numerical citations: [8,11-16]
> \usepackage[noadjust]{cite}
> 
> in the LaTeX preamble. (Read the "cite" doc for alternative options.)
> 

As an alternative, use the "sort&compress" option to natbib.  You enter this
as a class option (Document -> Setting -> Document class tab), not on the
bibliography tab.

...dave case


Re: kpsewhich appears to require root permissions (Ubunutu 9.04) --FIXED

2009-04-28 Thread David A. Case
On Tue, Apr 28, 2009, David A. Case wrote:

> I upgraded from ubuntu 8.10 to 9.04; now kpsewhich requires root
> permissions: e.g. "kpsewhich article.cls" returns nothins, but "sudo
> kpsewhich article.cls" returns the correct path. 

Sorry for the false alarm--I tracked the problem down to a stray (and
incorrect) TEXINPUTS environment variable.  Root was working just
because the root account did not have the bad variable.

Sorry for the noise...thx..dac



kpsewhich appears to require root permissions (Ubunutu 9.04)

2009-04-28 Thread David A. Case
I know this is a LaTeX (or Tex-live) question, but it keeps me from
running LyX:

I upgraded from ubuntu 8.10 to 9.04; now kpsewhich requires root
permissions: e.g. "kpsewhich article.cls" returns nothins, but "sudo
kpsewhich article.cls" returns the correct path.  Hence, LyX seems to
work fine when invoked as root, but not as an ordinary user.

Does anyone know how to debug this?  I used synaptic to uninstall, then
reinstall texlive, but that had now effect.  All of the ls-R files
appear to be world readable.  Running (sudo) texhash doesn't change
anything.  /usr/bin/kpsewhich has world-executable permissions.

...thanks!...dave case



Re: MS Word to LyX

2009-01-29 Thread David A. Case
On Wed, Jan 28, 2009, Anders Host-Madsen wrote:

> So, it seems the only solution is word2tex -- it appears to
> do the conversion better than GrindEQ. But it is hard
> to judge from the trial version, and the real version is
> quite expensive (and risky, since it seems support is
> non-existent).
> 

I've used word2tex for several of projects.  Things still often need
tweaking on the Latex side, but (for me) it was much better than any
other tool I tried.  I mainly used it for a book project with many
hundreds of equations.

I don't have any experience with Chikrii's support.  And it is
expensive, although I qualified for the academic discount.

...hope this helpsdave case


Re: Amazon Kindle Conversion from Lyx?

2008-11-18 Thread David A. Case
On Tue, Nov 18, 2008, Jonathan Kroner wrote:
> 
> Amazon accepts only the following file formats for conversion for viewing on
> Kindle: MS Word (.DOC),Structured HTML (.HTML, .HTM), .JPEG, .JPG , .GIF,
> .PNG, and .BMP.  It will not accept a pdf.

Sounds like MS Word is the closest fit to your document, so you might consider
that route.  There are lots of ways to do this, but tex2word (just Google for
it) has worked well for me.  (I have *not* used this to create Kindle files,
just to create Word files).

...good luck...dave case



Re: Someone uses my Bugzilla account

2008-11-05 Thread David A. Case
On Wed, Nov 05, 2008, Pavel Sanda wrote:

> i just tried to search out that old case and i found the name is OK now!  so i
> made new experiment in http://bugzilla.lyx.org/show_bug.cgi?id=5429 in comment
> 6 and my name was changed into David A. Case. i just wonder when bugzilla
> switch it to my name :D

Or, how did bugzilla get my name and (old) email address?  I've never used
the lyx bugzilla site at all, either through the web or email.  I have posted
a few comments to the lyx-users mailing list, but don't know how/why that is
relevant.

...dave case



Re: Trying to get pdflatex to produce letter size page with outline fonts...

2008-05-02 Thread David A. Case
On Fri, May 02, 2008, snvv wrote:

> You may try the geometry package. Then you may define the page in all
> possible ways

>From the users' perspective, this is what happens:

1. an article with Document->Page layout set to "US Letter" (and Document->Page
Margins is set to "default") is likely to come out of pdflatex as A4 (unless,
unlike me, you know enough LaTeX configuration stuff to configure pdflatex to
do something different).

2. However, if you set non-default margins, then the geometry package gets
called, and pdflatex will create a "US letter" physical page.

To me, this is a bug or deficiency in LyX: if the user selects "US Letter"
on the page layout selection, LyX should create LaTeX code that does what
the user almost certainly wants: have logical *and* physical pages set to US
Letter.  If there is a real need to allow the user to control both logical
page size and physical page size separately, then maybe a new checkbox could
be added to the "paper size" section of the Page Layout widget.

...dave case


Re: multiplatform vector drawing program to use

2008-04-07 Thread David A. Case
On Mon, Apr 07, 2008, Oscar Lopez wrote:
> 
> My colleague uses the windows version of lyx and I use the linux
> version.  I am quite satisfied with the current support of xfig at lyx
> using external material. However, as far as I know, xfig only runs at linux
> machines...

Xfig runs fine under cygwin (as, in fact, does LyX itself).  Cygwin provides
excellent tools for making windows appear like linux; this may or may not
be what your colleague wants.  And there is a learning curve here.  But one
possibility is to install Xfig and LyX in cygwin, with no need for MikTex.

For information, see http://wiki.lyx.org/LyX/LyXOnCygwin.  There are pre-built
cygwin binaries for LyX-1.5.x available.

Of course, there are also other vector drawing programs (besides Xfig), so
what is outlined here is not the only option you have.

...dave case



Re: pdf output of boldsymbol math does not work

2008-03-03 Thread David A. Case
On Mon, Mar 03, 2008, Paul A. Rubin wrote:

> Assuming I'm using Times, if I have to choose between a close match
> between the math and text fonts or having bold symbols, I'll typically
> take the bold symbols.

I think the choice is between a good match between math and text, but
(somewhat) inferior bold Greek letters and other math symbols (bold
Roman letters are fine),

versus

a poorer match between math and text, with (somewhat) better quality bold
Greek letters and math symbols.

As has been pointed out, the mathpazo package doesn't have this problem, but I
find that its distinction between bold and non-bold Greek letters is too
subtle for my aging eyes.  Using the mathptmx and bm packages makes a bigger
distinction here, and also uses the Adobe symbol font, which is (to me) more
pleasing and is less likely to lead to font problems in PDF files.

Of course, there is no "right" or "wrong" answer here.  A lot depends on how
heavily one uses bold math constructs, and what "looks good"!

...dave case


Re: Display formula numbering IN Lyx document

2008-02-22 Thread David A. Case
On Fri, Feb 22, 2008, David Hewitt wrote:
> 
> 
> I have a bunch of display style equations with numbers and labels.
> However, the numbers displayed by LyX are almost never right. Sometimes it
> will open the file and each equation will be number '1', sometimes they'll
> number by chapter, sometimes a few have '??' instead of numbers. I've gotten
> used to it, and using labels means it doesn't much matter, but it's odd. The
> PDF output is fine.

Can you be more specific about what you mean by "with numbers and labels"?
How did you get this?  I generally have only labels, or a "#" sign if I ask
for an equation number but don't have a label.  I don't see places where I
have both a number and a label.

The fact that the PDF file is fine is encouraging.  Maybe you could post a
short lyx file that illustrates the problem with view inside of LyX.

...dave case



Re: Converting to OpenOffice

2008-02-15 Thread David A. Case
On Fri, Feb 15, 2008, Jorge Sampaio wrote:

> I need to convert some of my class notes to (sorry) msword so that a
> colleague can change, update, etc. All notes are in LyX.
> 
> (converter to export to OpenOffice messes up considerably the equations in
> the text. Not good yet)

I've had good luck with tex2word, converting an entire book with many hundreds
of equations.  And word2tex works pretty well in the reverse direction.  Just
Google to get information.  Neither is perfect, but the results, especially
for equations, seem much better than the alternatives you mention.

(Grindeq is a similar product, but I have no experience with it.)

Of course, these solutions cost money and involve proprietary software, which
may be a deal-breaker for some people.

...dave case


Re: what is this: \usepackage[latin9]{inputenc} and why does TexLive hate it?

2008-01-21 Thread David A. Case
On Mon, Jan 21, 2008, Paul A. Rubin wrote:

> 
> The problem is all those darned foreigners with their accented 
> characters and Cyrillic/kanji/whatever symbols
> 
> In LyX, go into Document -> Settings -> Language.  You 
> have the language set as "English" (good choice there, fewer funny 
> characters)

Well, you do get fewer funny characters, but only monarchists should follow
your choice.  Red-blooded patriots who support Big Ten football should choose
"American" as their document language.  :-)

dave case  (MSU, class of 1970)



Re: lyx cannot display Greek symbol real time

2007-12-14 Thread David A. Case
On Thu, Dec 13, 2007, Enrico Forestieri wrote:
> 
> Using a cygwin text editor (vim is ok, notepad is *not* ok) create the
> file /etc/fonts/local.conf with the following 5 lines:
> 
> 
> 
> 
> /usr/share/lyx/fonts
> 
> 
> save the file and then issue the following command:
> 
> fc-cache /usr/share/lyx/fonts
> 
> Now you should get the greek letters in LyX.

Just a note that might help some people: Current cygwin versions install into
/usr/local, so you may need to reference /usr/local/share/lyx/fonts instead
of /usr/share/lyx/fonts in the instructions above.  Just check to see what
directories you have.
> 
> 
> (btw, I see that 1.4.4 is still the current available version)

There is a lyx-1.5.2-cygwin.tar.gz at ftp://ftp.lyx.org/pub/lyx/bin/1.5.2,
(and comparable versions for 1.5.0, 1.5.1 and 1.4.5.1).  These have all worked
fine for me, including showing math fonts.

[A personal view: if you are already using cygwin, or if you are familiar with
Unix/Linux, you should seriously consider using the cygwin version of LyX if
you need a windows version.]


dave case



Compiling lyx 1.5 for cygwin?

2007-08-13 Thread David A. Case
Does anyone have information or experience about compiling LyX 1.5 for cygwin?
I have really appreciated the efforts of Enrico Forestieri (and others?) who
prepared distributions of LyX 1.4.x.  I'm willing to spend some time compiling
(or tyring to compile) it myself, but any advice or pointers would be helpful.

thanks...dave case



Re: LyX 1.4.4 does not start on CYGWIN

2007-07-26 Thread David A. Case
On Thu, Jul 26, 2007, Jens Nellesen wrote:
> 
> after updating from LyX 1.4.3 to 1.4.4 under CYGWIN with the 
> cygwin-setup-util lyx does not start anymore but the prompt returns 
> immediately.
> 
> The same behaviour shows up if I try to start with the option "-dbg" .

Try typing "strace lyx-qtwin.exe" in a cygwin command shell.  This often gives
useful information.  For example, if you are missing a needed dll (shared
library), strace may give a popup window explaining what is missing.

Of course, this suggestion might not help (depending on what the real problem
is), but it is certainly worth a try.

You can get similar information with "cygcheck /path/to/lyx-qtwin.exe", and
then looking for dll's listed there that might be missing.

...dave case



Re: LyX cannot entirely change the document language

2007-07-24 Thread David A. Case
On Tue, Jul 24, 2007, Paul Smith wrote:
> 
> I have just noticed that the change of language is in
> fact global. The problem shows up when one copies something from a
> document written in a different language; then no language change can
> be global. The obvious workaround is to change the language of the
> document before copying from it, and no need for a script.

If you have paragraphs that are in the "wrong" language (as a result of
a copy operation from a different document), you can just select that text,
go to Edit->Text Style, and reset the language to whatever you want ("reset"
will return to the default of the document.)

> 
> This seems to be a bug. Do others confirm this bug?

It's not clear to me that there is a bug here.  Copying text from a document
with a different language preserves the original language specification, which
would seem to be the correct action.

...dave case


Re: Lyx to word or lyx to html (to word)

2007-06-03 Thread David A. Case
On Sun, Jun 03, 2007, Miki Dovrat wrote:
> 
> How can I convert my lyx document to microsoft word 

Google is your friend here: the first hit for "convert latex to word" is:

http://www.tug.org/utilities/texconv/textopc.html

If you have a significant number of mathematical equations, I have found
tex2word to be better than anything else I have tried.  If you don't have much
math, there are lots of other options as well.

...dave case


Re: Why Lyx->Word?

2007-05-14 Thread David A. Case
On Mon, May 14, 2007, Steve Litt wrote:
> 
> But hard as I rack my brains, I can't think of a reason to start a project in 
> LyX, and THEN convert it to MS Word.
> 

As others have said, one doesn't always know where a manuscript will end up
when you start writing.  Or you may be working with a collaborator who insists
on using Word.  And so on.

For what it is worth, I have had *much* better luck converting Latex to Word
using tex2word (http://www.chikrii.com/) than with latex2rtf, html conversion,
and so on.  Of course, this is neither free nor open-source, but (for me) the
time I save going this route is worth the expense.

...dave case



Re: Can LyX handle large files ?

2006-11-06 Thread David A. Case
On Mon, Nov 06, 2006, [EMAIL PROTECTED] wrote:
> 
> i am writing a math document in LyX and as the document gets longer, it
> takes lyx longer and longer to get started.

> (I am running XP on a 2.4 GHz with 1024 MB)

It is certainly possible (and expected) to see much faster behavior.  On
similar hardware, I can open a 400 page book, with about 800 equations, in
about 10 seconds.  I can't tell why your system is slow, but try closing all
figure floats, and (possibly) turning off instant preview.  Others may have a
better idea of what things cause slow performance, but it does not seem to
be inherent in LyX (or with windows).

dave case



Re: A debate topic: What can LyX still learn from scientific workplace?

2006-05-24 Thread David A. Case
On Wed, May 24, 2006, Jan Peters wrote:

> 2) Why is it still a less pleasant experience to edit an equation in
> LyX than in either MathType (oh horror) or Scientific Workplace?

I think this must depend either on what you are most familiar with, or on what
you expect.  For me, creating and editing equations in LyX is more pleasant
than doing the same with MathType.  (As with other users, I tend to mostly use
keyboard shortcuts, relying on the math panel only for uncommon things that I
don't remember.)  At least for me, MathType seems to require more use of the
mouse, and more manual "tweaking" to get things to look right.

I have a wide screen, so I like having the math panel off to the side, rather
than in a toolbar at the top.  But that might not be optimal for others.

dave case



Re: Automatic formatting of a particular word?

2006-02-22 Thread David A. Case
On Tue, Feb 21, 2006, Andre Poenitz wrote:

> >   That's like the user calling the help desk because she cannot find the
> > "any" key on her keyboard. "But the instructions say to press any key!"
> 
> I keep telling people that the 'any key' is the '5' on the numeric keys
> block. It works and has not much potential to break thing when hit at
> the wrong time.
> 

But I have a laptop, with no numeric keypad!  Does this mean I can't use
LyX??




Re: New Windows version

2006-01-15 Thread David A. Case
On Sat, Jan 14, 2006, Enrico Forestieri wrote:

> 
> However I succeeded in building a native version of both Qt and LyX
> using the cygwin tools. When using the switch -mno-cygwin, the cygwin
> compilers turn into mingw compilers.

Have you also tried to build a cygwin version?  Since cygwin already suppies
tex/latex/perl/python/sh/sed, etc., and since many people (like me) make
extensive use of cygwin, having a cygwin package (that understands its
posix-like paths) would be very valuable.

...thanks...dave


Re: bug in reconfigure (windows port)

2004-10-14 Thread David A. Case
On Fri, Oct 15, 2004, Juan Luis Chulilla wrote:

> I was not able to add any more latex class to lyx using the unix
> procedure (add class to tetex, add .layout file to lyx, Edit/
> Reconfigure. Finally today I have found that executing configure.bat
> and then configure in a console of windows, lyx reconfigure its latex
> entry (which has let me use beamer, i.e.)

For what it is worth, I didn't have any trouble adding the beamer class to LyX
for Windows, just using the usual Edit/Reconfigure path.  Study carefully what
shows up in the console when you do the Edit/Reconfigure ... that usually
signals what is going wrong, if there are errors.  Without knowing more about
what happened when you tried things the "unix" way, it's hard to be more
precise

dac



Re: PDF margin growth

2004-05-19 Thread David A. Case
On Wed, May 19, 2004, Kent Kostuk wrote:

> I have noticed that when I create a PDF and thend print it the margins 
> are larger (and consequently the text is smaller) than if I printed the 
> document directly.  I don't have this problem when I create and then 
> print a PS file.  This is not strictly a LyX problem, as I have noticed 
> this when I create the PDF from a PS at the command line.  Is thers some 
> command line parameter that I need to be using to correct this?
> 

How are you printing the PDF file?  Adobe Acrobat has a "fit to page"
option (which might be on by default) that ends up scaling everying by
about 94%, at least in the US with a "letter" page size.  This has the effect
of giving you a larger margin and smaller text that you want. Other programs
that print PDF files might be doing something similar.  With Acrobat, you
can request "no scaling", and you will get the margins and text size
you expect.

...hope this helps...dave case


Re: Uninstalling LyX

2003-12-27 Thread David A. Case
On Sat, Dec 27, 2003, R. C. Gonzalez wrote:
> 
> 
> Does anyone in the LyX Users Group know how to uninstall LyX in the 
> Windows environment?

There is really nothing to uninstall (i.e. no Registry entries or the like).
You can just delete your directory and re-install, or move everything to a new
location.  You will then (probably) want to change your PATH variable to point
to the new location.  On XP, go to My Computer -> Properties -> Advanced ->
Environment Variables.  Make sure that the path to the LyX environment does
not have a space in it (for example, it cannot be under c:\Program Files).

..good luck...dave case



Re: Switching from the Math panel window to the document window

2003-12-16 Thread David A. Case
On Tue, Dec 16, 2003, Kenward Vaughan wrote:
> 
> Under Linux (at least) use a window manager which allows "sloppy focus"
> with the mouse...
> 
> I'm unaware of what those on the dark side can do along this vein.  ;-)

Microsoft offers an equivalent functionality in their TweakUI series -- the
focus follows the mouse without requiring any extra clicks.  This is called
"X-mouse", presumably because they few this option as something that
originated with X-window managers.

..dave case



Re: General compat question

2003-08-28 Thread David A. Case
On Thu, Aug 28, 2003, Kirk R. Wythers wrote:

> I would like to hear what lyx users (or latex users for that matter) do
> when a particular journal requires manuscripts be submitted as Microsoft
> Word documents. I have tried latex2rtf, but the result leaves so much
> additional re-formatting work (equations, figures, tables) to be done...

First, make sure that the journal _really_ requires Word.  Many will actually
accept formats not listed in the "instruction to authors" page. [I had one
case where the journal claimed to required Word, but their production
department was actually converting this to latex.]

Second, if you end up having to convert, be sure to register a complaint.
I've had publishers tell me that "no one is asking for latex support".

Third, you can try out some alternative converters listed here:

http://tug.org/utilities/texconv/textopc.html

..good luck...dave case



Re: Fw: How to use images?

2003-08-14 Thread David A. Case
On Tue, Aug 05, 2003, Philipp Bönisch wrote:

[Using LyX for Windows:]

> .  The problem is, when I
> >> want to see the DVI, the system asks me, which programm I want to
> >> use to run the convertDefault.sh.

It should not be necessary to install cygwin; Ruurd distributes an "sh.exe"
shell that is in the ...\lyx\bin directory (same place as lyx.exe itself).
This is the program that should run convertDefault.sh.

...hope this helpsdac




Re: Lyx-Qt 1.3.2 cannot import Tex

2003-08-14 Thread David A. Case
On Wed, Aug 13, 2003, Michael Logies wrote:

> Win XP Prof, Miketex 2.3, Lyx-Qt 1.3.2.
> 
> when I export my *.lyx as *.tex and import it again, it cannot be openend:
> 
> Cannot convert file
> Error while executing
> reLyx -f "foo.tex"
> 

First, check the reLyx.bat file that Ruurd provides, in the lyx/bin directory.
I had to change it to make sure the paths are correct.  It should look
something like this:

@echo off
rem Wrapper script for Win32
rem written by Ruurd Reitsma
set PERLLIB=c:\lyx-1.3.2\lib
c:\lyx-1.3.2\bin\perl.exe c:\lyx-1.3.2\bin\reLyX %1 %2 %3

(change the "c:\lyx-1.3.2" to the correct location on your computer).


I also found it necessary to make the same sorts of changes to the file
lyx/share/lyx/lyx2lyx/lyx2lyx.bat, which (for me) now looks like:

@echo off
rem Wrapper script for Win32
rem written by Ruurd Reitsma
rem c:\lyx-1.3.2\bin\sh.exe --login %0
c:\lyx-1.3.2\bin\python %0 %1 %2


I don't actually know enough windows batch programming to understand the
original versions -- presumably they must work for most people, and there
is something funny/missing on my machine.  But the changes listed above
solved the problem for me, so I hope they will help others.

..dave case

p.s. thanks again to Ruurd Reitsma for putting this package together!



Re: location of bibtex bst files

2003-07-27 Thread David A. Case
On Sun, Jul 27, 2003, Philip A. Viton wrote:
> 
> a. after changing lyx's startup directory away from its bin folder, Lyx 
> won't start at all.
> 
> Can anyone confirm that they can get either of these to work on 
> win32-LyX-1.3.2-QT? Otherwise, maybe it should be considered a bug or two?
> 

I have no trouble with having the startup directory (in a shortcut) be
different than the lyx bin directory, and the "open" dialog indeed starts in
the desired startup directory.  Make sure you PATH contains the lyx
bin directory.

..dac




Re: problem about math formula display

2003-06-16 Thread David A. Case
On Mon, Jun 16, 2003, Matej Cepl wrote:
> 
> Couldn't we make an agreement, that there will be only one reply: read
> http://article.gmane.org/gmane.editors.lyx.general/9472. 

I think one could do better than the above response, which is no more than
the following:

   have you installed (for the QT front end) the latex-ttf-fonts package? 
   In the LyX ftp site it is in the contrib directory.

There are several points that would still be troublesome for someone new
to LyX:

1.  It's not clear where the "contrib" directory is...there is no mention
of such a thing at http://www.lyx.org/download/.  (That page only refers
to a "stable" and a "bin" directory.)  Of course, if users poke around
enough, they will eventually find ftp://ftp.lyx.org/pub/lyx/contrib, 
but why not point them there directly?

2.  It's probably not clear to many users how one goes about "installing"
this package.  Since this is not at all obvious, and is also not the 
same for every setup, a few examples would go a long way to clarifying 
things.  Many users may not even know which file in the contrib directory 
to download, and (as far as I can tell) none of them have any instructions.

3.  There is no mention of latex-ttf-fonts on the "required and optional
support software" page, which otherwise lists the programs required
for LyX (i.e. TeX, ImageMagick, Xforms, etc.)  Since these fonts are
pretty much "required" for the Qt version to be very functional, it
would be better to tell users about this up-front.

4.  Some explanation of why these fonts are not included in main distribution
would certainly be helpful.  I've seen references on mailing list that
they are "not free", but there are no copyright notices or other
restrictions in the latex-ttf-fonts-0.1.tar.gz file, nor is there any
indication of where these came from or who the authors are.

...dave case




Re: installing LyX on cygwin (addendum)

2003-03-10 Thread David A. Case
On Mon, Mar 10, 2003, David A.  Case wrote:

> here is a thumbnail sketch of what to do for a "more simple" install,

.oops...I forgot to have the user start the X-window manager:

> 
> d. Start a cygwin shell (double-click on the "cygwin" icon) and type "lyx &" 

corrected: use the startxwin.bat file in /usr/X11R6/bin, then start LyX
as above; OR use the scripts mentioned in item 10 of Claus' web page.

As a general note, it's probably worth your while to experiment a little
in general with cygwin (such as running an xterm and other simple X-programs)
before trying LyX, which requires a lot of things to be there to work
correctly.  That way, you will be in a better position to fix the other
things I have forgotten :-)

...dac




installing LyX on cygwin

2003-03-10 Thread David A. Case
On Mon, Mar 10, 2003, a user wrote:

> But I must say,
> I wonder how a person with no IT programming
> experience could install LyX on Windows; it 
> is too difficult I think. 

In defense of cygwin, I think it's not as difficult as the web pages
might lead one to believe.  If you are willing to work within cygwin,
here is a thumbnail sketch of what to do for a "more simple" install,
working from the instructions at
http://www.fh-hannover.de/mbau/tim/hentschel/lyx/.

a. Skip items 1-5.

b. Install cygwin, as in item 6, getting all of the packages that are listed.
   While you are at it, get the X-window stuff, Image Magik, ghostscript and 
   tetex.  These work fine with LyX.

   (This step does require you to read the setup.exe instructions, and
   click the "view" button once to get a list of packages that will be
   installed.  But Claus' web page walks you through this is a very nice
   way.)

c. Follow the instructions in items 7 and 8 to install LyX.

d. Start a cygwin shell (double-click on the "cygwin" icon) and type "lyx &" 
   to start LyX.  At first, you can ignore the things in items 9
   and 10 of the web page.

This should get you started in the simplest manner.  Being simple, it has
a number of limitations:

  --uses tetex from cygwin rather than MikTex of fpTex; I've used tetex
for more than a year on quite complex and long projects, with no problems,
but you others may want to post their reasons for not using tetex.
I like tetex because it gets installed along with the rest of cygwin,
because it matches the tetex found in many Linux distributions,
and because it is pretty complete.

  --uses the cygwin XFree86 server rather than a commercial X-server; if
you are already using something else, then you probably have enough 
experience not to need the above instructions.

  --uses the cygwin shell to start lyx, rather than having drag and drop,
or double-clicking an icon.  These latter items can be skipped on a
first go-round, and added after you have some LyX experience.

After you have things running, look over the suggestions in items 9,
10 and 11.  The instructions for setting up a postscript previewer
and acrobat are the only things I found necessary.

Claus has put together a really nice page, and the LyX ports are invaluable.
I think cygwin itself is a lot better than it was when the above Web page was
started, so that one now has the option (your choice) of just using the
cygwin versions for the auxiliary programs that Lyx needs (latex, gs, python,
X, Image Magik, perl).

..hope this helps...dave Case



what is "native" about native windows programs?

2003-01-29 Thread David A. Case
On Wed, Jan 29, 2003, Matej Cepl wrote:
> 
> It is called fpTeX and it is just a native port of tetex to
> Windows

Also, on the same day, another user wrote:

> This is not a solution to your problem but you might want to try out the
> native Win32 version at:.

Is this distinction between "cygwin" and "native" a meaningful one?  Is it
just a matter of path syntax ( /home/green vs. C:\home\green )?  A matter
of personal taste and familiarity?  Or are there other differences that argue
in favor of one form of LyX and latex over another?

..thanks...dave case




Re: Antwort: Re: lyx on cygwin

2003-01-29 Thread David A. Case
On Wed, Jan 29, 2003, [EMAIL PROTECTED] wrote:

> 
> The instructions for installing Claus Hentschel's windows port specifically
> warn the user not to install tetex, its in bold text and in a big box!

But it really says "as of today, skip the pacakge tetex", and I believe that
"today" actually refers to quite a while ago, since that warning has been on
the web site for a long time.  Tetex went through a complete re-packaging and
upgrade at cygwin during the Fall of 2002.

And both before and after the cygwin upgrade, and through the course of
several LyX upgrades, I never saw any problems with tetex + lyx, even for a
book-size project (although probably with fewer fonts and packages being used
than might be the case in some projects.)

Of course, I am in no position to offer any guarantees, but my experience with
cygwin's tetex has been quite positive.  Plus, if there are tex-related
problems (like running out of memory), the fact that more people (around here,
anyway) use tetex than other distributions is a plus.

..dac

-- 

======
David A. Case |  e-mail:  [EMAIL PROTECTED]
Dept. of Molecular Biology, TPC15 |  fax:  +1-858-784-8896
The Scripps Research Institute|  phone:+1-858-784-9768
10550 N. Torrey Pines Rd. |  home page:   
La Jolla CA 92037  USA|http://www.scripps.edu/case
==




Re: LyX2XXX with math???

2003-01-16 Thread David A. Case
On Thu, Jan 16, 2003, Uwe Brauer wrote:
> 
> For some time I am looking for converts 
> LaTeX2XXX with math, where XXX should be some format which a word
> processor such as OO (preferred) can read.
> 
> Curiously enough, the other direction XXX2latex, seems easier, there
> is Word2tex, writer2latex.

There is also tex2word, the companion to word2tex.  See:

   http://www.word2tex.com

This has worked pretty well for me, but a little "fine tuning" of the output
word document is generally required.

This requires MS Word however, and I am pretty sure would not work with
OpenOffice.

..good luck...dave case





Re: lyx for windows: Why not the cygwin tetex?

2002-12-20 Thread David A. Case
On Fri, Dec 20, 2002, Max Bian wrote:

> Following the link at lyx.org I went to a great site about installing
> lyx on windows.  I saw the following:
> 
> "As of today be sure to SKIP (NOT INSTALL) the package tetex"
> 
> My question is why.

As far as I can tell, there is no reason to avoid the native cygwin
tetex package.  I have been using it with no problems for a year or more.

..dac

-- 

==========
David A. Case |  e-mail:  [EMAIL PROTECTED]
Dept. of Molecular Biology, TPC15 |  fax:  +1-858-784-8896
The Scripps Research Institute|  phone:+1-858-784-9768
10550 N. Torrey Pines Rd. |  home page:   
La Jolla CA 92037  USA|http://www.scripps.edu/case
==




Re: problem with pstricks and PDF

2002-08-15 Thread David A. Case


On Thu, Aug 15, 2002, Ben Stanley wrote:
>
> I know that xfig can do what you want, but I don't think it runs on
> Windows.

xfig runs fine under Windows, using cygwin (the same environment you need
to run LyX under Windows).  It is a standard part of the X11 cygwin
environment (should be in /usr/X11R6/bin).

.hope this helps...dac

-- 

======
David A. Case |  e-mail:  [EMAIL PROTECTED]
Dept. of Molecular Biology, TPC15 |  fax:  +1-858-784-8896
The Scripps Research Institute|  phone:+1-858-784-9768
10550 N. Torrey Pines Rd. |  home page:   
La Jolla CA 92037  USA|http://www.scripps.edu/case
==