Re: Noweb on windows?

2006-07-28 Thread Kayvan A. Sylvan
On Sat, Jul 15, 2006 at 09:48:10PM -0700, Mark Engelberg wrote:
> Is there any literate programming support in LyX on Windows?
> 
> Thanks,
> 
> Mark

As long as you can run noweb and latex, LyX should be able to use
its literate programming support.

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan, | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | my beautiful Queen.| Robin Gregory (2/28/92)


pgpIQx29I7p5L.pgp
Description: PGP signature


Re: [OT Mail List header rewriting ] Re: Lyx command line question

2005-10-19 Thread Kayvan A. Sylvan
On Wed, Oct 19, 2005 at 08:32:06PM +0100, Paul wrote:
> My experience of lists is that 99% of the time I want to reply to the
> whole list, so it makes sense to me to have that as the default.
> 
> > If someone really decides to make the change, please set the rewriter to put
> > both the originator and the mailing list on the reply to line.
> 
> I've also got several duplicate replies to messages I've posted because
> people have sent to the list and cc'd me as well (maybe thinking I might
> not be subscribed). My thoughts are that if you want a reply it's
> courteous to be subscribed to the list, even if it's only for a short while.
> 
> Sorry for the OT list pollution if this is a regular topic that comes
> up... But it might help with the problem of disjointed threads in the
> archives.

>From the mailman documentation:

  "reply_goes_to_list (general): Where are replies to list messages
  directed? Poster is strongly recommended for most mailing lists.

  This option controls what Mailman does to the Reply-To: header in
  messages flowing through this mailing list. When set to Poster, no
  Reply-To: header is added by Mailman, although if one is present in the
  original message, it is not stripped. Setting this value to either This
  list or Explicit address causes Mailman to insert a specific Reply-To:
  header in all messages, overriding the header in the original message
  if necessary (Explicit address inserts the value of reply_to_address).

  There are many reasons not to introduce or override the Reply-To:
  header. One is that some posters depend on their own Reply-To: settings
  to convey their valid return address. Another is that modifying
  Reply-To: makes it much more difficult to send private replies. See
  `Reply-To' Munging Considered Harmful for a general discussion of this
  issue. See Reply-To Munging Considered Useful for a dissenting opinion.

  Some mailing lists have restricted posting privileges, with a parallel
  list devoted to discussions. Examples are `patches' or `checkin' lists,
  where software changes are posted by a revision control system, but
  discussion about the changes occurs on a developers mailing list. To
  support these types of mailing lists, select Explicit address and set
  the Reply-To: address below to point to the parallel list."

The overwhelming majority of mailing lists do the right thing (IMNSHO) by
leaving the Reply-To alone.

Best regards,

---Kayvan

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: Pre2 is out there

2005-10-10 Thread Kayvan A. Sylvan
On Mon, Oct 10, 2005 at 09:21:21AM -0700, Kayvan A. Sylvan wrote:
> 
> You can get RPMs built on Redhat FC4 at ftp://ftp.sylvan.com/pub/lyx/release/
> 
> So far, I have x86_64 RPMs [...]

Okay, these are now available:

ftp://ftp.sylvan.com/pub/lyx/release/lyx-1.4.0pre2-1_qt.i386.rpm
ftp://ftp.sylvan.com/pub/lyx/release/lyx-1.4.0pre2-1_qt.x86_64.rpm

ftp://ftp.sylvan.com/pub/lyx/release/lyx-1.4.0pre2-1_qt.src.rpm

---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


pgpeE1yV4RZyA.pgp
Description: PGP signature


Re: Pre2 is out there

2005-10-10 Thread Kayvan A. Sylvan
On Mon, Oct 10, 2005 at 03:40:50PM +0200, Lars Gullik Bjønnes wrote:
> 
> Please check this one out, look at this stage especially for
> distribution problems.
> 
> Also we still have some bugs to fix, so be sure to have backups of
> everything you play with.
> 
> ftp://ftp.devel.lyx.org/pub/lyx/pre/lyx-1.4.0pre2.tar.bz2
> ftp://ftp.devel.lyx.org/pub/lyx/pre/lyx-1.4.0pre2.tar.gz

You can get RPMs built on Redhat FC4 at ftp://ftp.sylvan.com/pub/lyx/release/

Only for QT so far... If anyone wants the xforms ones, I can create them
easily.

So far, I have x86_64 RPMs, but you should be able to get the src.rpm and
do an "rpmbuild --rebuild" for other architectures, or you can wait
a bit and I will create the i586 versions.

            ---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


pgpoIqXwj4OJB.pgp
Description: PGP signature


Re: Dates

2005-09-27 Thread Kayvan A. Sylvan
>   Write in the date manually rather than using a macro that grabs the system
> date.
> 
>   The same thing happens in OpenOffice.org, because the insert->date macro
> uses the current date rather than a fixed date. Very annoying when I need to
> reprint a letter I did not anticipate needing to reprint.

You can always look at the file date (assuming that you did not modify
the file since its creation).

---Kayvan


pgp337UQWkUDd.pgp
Description: PGP signature


Re: From the ashes www.lyx.org/devel (formely www.devel.lyx.org)

2005-09-26 Thread Kayvan A. Sylvan
On Mon, Sep 26, 2005 at 03:11:47PM +0200, Jean-Marc Lasgouttes wrote:
> Kayvan> It should now be /var/cvs/lyx
> 
> Is the information correct now?

Yes.


Re: From the ashes www.lyx.org/devel (formely www.devel.lyx.org)

2005-09-19 Thread Kayvan A. Sylvan
On Mon, Sep 19, 2005 at 04:15:22PM +0200, Lars Gullik Bjønnes wrote:
> Bo Peng <[EMAIL PROTECTED]> writes:
> 
> | > Please tell about broken links etc. (especially internal links, or
> | > links that make mirroring harder than necessary)
> | > 
> | 
> | please update the cvs information. 
> | 
> | /cvs/lyx, no such repository.

It should now be /var/cvs/lyx

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: 1.3.6pre and 1.4 windows

2005-07-08 Thread Kayvan A. Sylvan
On Fri, Jul 08, 2005 at 10:17:34PM +0200, Gour wrote:
> Kayvan A. Sylvan ([EMAIL PROTECTED]) wrote:
> 
> Hi!
> 
> > I run 1.4.0CVS on Cygwin all the time. Both xforms and qt variants.
> 
> I'm back to LyX after some time and it works fine on x86_64 (qt)  :-)
> 
> However, I fetched 1.4.0CVS and quickly it crashed several times.
> 
> Is the time ripe to send (more) bug-reports and/or backtraces?

Yes. Send them to lyx-devel.


Re: 1.3.6pre and 1.4 windows

2005-07-08 Thread Kayvan A. Sylvan
On Fri, Jul 08, 2005 at 08:43:49PM +0200, Andre Poenitz wrote:
> On Thu, Jul 07, 2005 at 09:25:37PM +0100, Geoffrey Lloyd wrote:
> > A question to anyone that might know the answer. With the large amount
> > of work going into Lyx 1.3.6 for Windows am I to assume the following
> > 
> > 1) Lyx 1.4 release is a long way off
> 
> Possibly. However there don't seem any big obstacles left, there are
> 'only' lots and lots of small and medium 'issues'.
>  
> > 2) It won't be released for Windows, at least initially.
> 
> I don't this is true. Basically all the 1.3.6 Windows work
> is present in the 1.4.0cvs tree.
> 
> Andre'

I run 1.4.0CVS on Cygwin all the time. Both xforms and qt variants.

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: Movie in beamer

2005-05-16 Thread Kayvan A. Sylvan
On Mon, May 16, 2005 at 02:09:22PM +0200, Nicolas Ferré wrote:
> Dear lyx users and beamer author,
> 
> I cannot find the right way to insert a movie (mpeg) in a beamer 
> presentation. First, I tried the \movie command without specifying a 
> viewer. The resulting pdf file loaded in acroread cannot play the movie 
> because acroread tried to use xanim as the viewer.
> Then I tried to specify an external viewer in the \movie command. It 
> works fine when I display the pdf file with xpdf, but still fails with 
> acroread because it still looks for xanim !
> 
> What am I missing ? Is there a way to say acroread to use another viewer 
> ? I cannot use another pdf viewer because my presentation contains some 
> hyperlinks.

How about creating a workaround: Make an xanim.bat that calls the
desired MPEG viewer?

---Kayvan


Re: Case equations

2005-04-20 Thread Kayvan A. Sylvan
Cool! Thanks. I did not ask the question, but I am sure I will have occasion
to use stuff like this... Is there any documentation that goes over all the
mysterious math stuff (like "\cases")?

---Kayvan

On Wed, Apr 20, 2005 at 09:49:13AM +0100, Angus Leeming wrote:
> Kayvan A. Sylvan wrote:
> 
> > On Tue, Apr 19, 2005 at 08:37:14PM -0400, Myriam Abramson wrote:
> >> 
> >> Hi!
> >> 
> >> How do you write a case equation in LyX? I mean an equation like
> >> 
> >> B = { 1 if x > 0;
> >>   0 if x = 0
> >> 
> >> so that the brace covers multiple lines?
> > 
> > I think that you can use the math panel and then click on the button that
> > looks like a blue box surrounded by brackets. Then you can change the
> > left bracket to your braces and change the right one to blank.
> > 
> > In the inner blue square, insert a math matrix and fill in the parts.
> 
> Actually, it's even easier:
> 
> Create a math inset: Insert->Math->Display formula
> Type:
>     B=\cases1\textrmif Math->Inline 
> formula>x>0 arrow>0\textrmif Math->Inline formula>x=0
> 
> Looks horrible, but really it isn't!
> 
> -- 
> Angus

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: Case equations

2005-04-19 Thread Kayvan A. Sylvan
On Tue, Apr 19, 2005 at 08:37:14PM -0400, Myriam Abramson wrote:
> 
> Hi!
> 
> How do you write a case equation in LyX? I mean an equation like
> 
> B = { 1 if x > 0;
>   0 if x = 0
> 
> so that the brace covers multiple lines? 

I think that you can use the math panel and then click on the button that
looks like a blue box surrounded by brackets. Then you can change the left
bracket to your braces and change the right one to blank.

In the inner blue square, insert a math matrix and fill in the parts.

---Kayvan


Re: How do I use apacite with LyX? -- conclusion

2005-03-26 Thread Kayvan A. Sylvan
On Fri, Mar 25, 2005 at 04:25:49PM -0500, Paul A. Rubin wrote:
> Frank Steinhauer solved his problem and asked me to post this to the list:
> 
> * The problem is the order of \usepackage. apacite must not be included 
> before babel - but LyX does it. So I changed the generated .tex file, 
> and did the latex and bibtex run by myself.  Maybe Lyx could be changed 
> to support another \usepackage order.
> 
> * Oh, apacite needs a BibTeX database - another thing I noticed during 
> the last week...
> 
> -- Paul (for Frank)

You can put

\usepackage{babel}
\usepackage{apacite}

into the LaTeX preamble. The seconf \usepackage{babel} inserted by
LyX will be ignored.

That way, you won't need to change the generated tex file.

        ---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: LyX and Noweb literate programming [Windows]

2005-02-14 Thread Kayvan A. Sylvan
On Mon, Feb 14, 2005 at 12:01:03PM +0100, Eric Lecoutre wrote:
> 
> Hi LyXers,
> 
> I have successfully installed LyX on Windows with a lot of features 
> (DocBook sgml support). It is a fantastics program - it's a shame I didn't 
> discover it previously. Great job!
> 
> Now, I am trying to use it for literate programming (noweb). I did install 
> noweb, though I don't need it (it's for the statistical environment R which 
> does include it's needed weaving functions). Thus, nobeb layouts are 
> available and I can start writing some pieces of text using scrap 
> environment.
> 
> But: I can't export the file as noweb. Using the menu "export...noweb" does 
> nothing. I only need this version of the file (.nw).
> 
> Any idea?
> 
> Eric
> Eric Lecoutre
> UCL /  Institut de Statistique
> Voie du Roman Pays, 20
> 1348 Louvain-la-Neuve
> Belgium
> 
> tel: (+32)(0)10473050
> [EMAIL PROTECTED]
> http://www.stat.ucl.ac.be/ISpersonnel/lecoutre
> 
> If the statistics are boring, then you've got the wrong numbers. -Edward 
> Tufte

You should try doing a Tools->Reconfigure so that lyx knows that noweb
is available.

Also, make sure that noweb is in your path.

---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: Using Pstricks Within LyX

2005-02-12 Thread Kayvan A. Sylvan
On Sat, Feb 12, 2005 at 09:32:41PM -0600, Paul Johnson wrote:
> If pstricks things don't display in pdflatex output, don't you think you 
> should put out a big warning to everybody on your wiki?  To me, that's a 
> pretty big danger of using pstricks.
> 
> pj
> 

Isn't there a correspondinf pdftricks package that makes pstricks
code work with PDFTeX?

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: Find Replace Symbol I Can't Reproduce

2005-02-12 Thread Kayvan A. Sylvan
On Sat, Feb 12, 2005 at 03:54:10PM -0600, Bruce Pourciau wrote:
> When I do Edit > Paste External Selection > As paragraphs on the 
> contents of a Word file, all the n-dash characters (a mid-length dash 
> the width of an "n") in the Word file show up in my LyX file as an 
> upper case D with a short horizontal cross-hatch in the vertical stem. 
> (Is this a currency symbol?) I haven't been able to reproduce this 
> symbol from my keyboard (LyX 1.3.4 Aqua Mac). Is there any way to do a 
> find/replace on this symbol, so I can replace all of its occurrences 
> with the LyX/LaTeX double hyphen?
> 
> Bruce

Open the LyX file in another editor?

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: network printing on Windows from LyX

2005-02-08 Thread Kayvan A. Sylvan
I find it easiest to just View->PDF and let Acrobat Reader handle the
printing.

Best regards,

---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: Lyx and CVS

2004-10-25 Thread Kayvan A. Sylvan
On Mon, Oct 25, 2004 at 04:46:20PM +0200, roland schmitz wrote:
> Hi Alexis,
> 
> > I embed Subversion keywords in my LyX documents (e.g. '$HeadURL$
> > $LastChangedRevision$') and this works fine.  You can use the RCS
> > keywords, which CVS uses to do the same thing. Try putting '$Revision$'
> > in your document. Look at RCS's co(1) man page for a list of
> > keywords.
> This sounds quite simple, before i started this thread, i googled the web
> with "linux lyx cvs" and found countless pages which doesn't help me. Is
> there any source to read for me? Until this weekend, i can't check it it,
> but i can read about it, if i know where.

Put the following in your LaTeX preamble:

% RCS style.
\def\RCSdef $#1${\typeout{RCS keyword string: [EMAIL PROTECTED]: {} :.}
[EMAIL PROTECTED]: #2 :#3.{\expandafter\def\csname RCS#1\endcsname{#2}}

Then, in your document (or in your preamble), do:

\RCSdef $Revision$
\RCSdef $Date$

Now, you can use \RCSRevision or \RCSDate in your document (in a 
LaTeX ERT inset).

---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: urgent - newbi question - how to use latex/tex templates in lyx

2004-02-29 Thread Kayvan A. Sylvan
On Sun, Feb 29, 2004 at 07:10:31PM +, Parminder Singh wrote:
> hi everyone,
> i want to use lyx for writting my thesis and i have got templates from my 
> university which i need to follow. the template is a tex template. what 
> would be the best way to use it from within lyx. this is extremly urgent 
> since i have to finish my thesis in 30 days. i am using linux 2.6.3, any 
> help would be greatly appreciated.
> thank you,
> Parminder Gupta
> [EMAIL PROTECTED]

What is this tex template? Is it a sample thesis or a TeX/LaTeX sty file?

If it is the former, then you should be able to just follow the same
style recommendations inside LyX without problems. If it is the latter,
it may be as simple as a "\usepackage{...}" statement in the document
preamble.

In either case, I think the LyX developers and users would need more
information to help you.

Best regards,

            ---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: Pagenumbers gone in ps and pdf with Lyx 1.3.2

2004-02-20 Thread Kayvan A. Sylvan
On Fri, Feb 20, 2004 at 11:56:38AM +0100, Robert Neumann wrote:
> Hi,
> I have a file with fancyhdr and the followings commands in the preamble.
> It works fine with lyx 1.20
> \usepackage {fancyhdr}
> \fancyhead{}
> \fancyhead[RO,LE]{\slshape Vorwort}
> \fancyfoot[LE,RO]{\thepage}
> 
> Now I changed to lyx 1.3.2 and when I export to ps or pdf, the pagenumber in 
> the footer is gone. 
> It is still there when I use dvi or  dvipdf
> Does anybody have an explanation?
> Thanks Robert

My guess is that something has changed in your page margins or something
of that nature in the upgrade.

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: noweb interface

2003-12-15 Thread Kayvan A. Sylvan
On Mon, Dec 15, 2003 at 06:28:46PM +, stuart macgregor wrote:
> With help I got the noweb interface running, but what I have does not seem 
> worth using.
> 
> Lyx now sports the 3 promised doc styles and if article(noweb) is used then 
> lyx will offer to export to noweb, or ascii custom... 
> 
> I appear to have lost the ability to generate .ps, .dvi, .html etc.

I use noweb (literate programming) with LyX all the time and I don't have
any problems with it.

I have not lost the ability to do ps, dvi, PDF either.

This is undoubtedly a configuration problem.

> The noweb package says it can generate latex and html - but the html it 
> produces is hopeless, and it does not come with the l2h filter its man page 
> advises of.

My HTML output from noweb (via LyX) is not pretty, but it certainly works
(and it does use the l2h filter).

You may need to put the drectory where l2h was installed in your path.

> Lyx can re-ingest the .nw file it can export - but that seems to be about it.

At least one thing works. ;-)

> The noweb notangle command will collect the bits of embedded scrap code - but 
> I could do much the same with a perl script ol 'Lyx code' segments, without 
> loosing the other lyx facilities.
> 
> For scilab maths such as I am currently doing I usually do the thinking and 
> write up in a .lyx file and then generate the code using gvim.  I had hoped 
> to integrate these stages and end up with integrated documentation, but these 
> tools do not seem to cut the mustard.
> 
> I loose syntax highliting, paranthesis match, smart indent, name completion 
> etc. etc. from the gvim side, and ease and quality of maths and graphics doc 
> output from the lyx side, and gain extra hassle, for no obvious advantage.

It may be that for what you want to do, using gvim or xemacs in combination
may work better for you. I use LyX and Literate styles all the time without
any issue.

> nountangle defaults to outputting C style comments - it will do a few others - 
> but does not offer C++ style used by scilab and (and available to C++)
> 
> There really should be advantage in integrating the maths and pictures and 
> general layout  facilities of lyx and the code editing facilities of gvim (or 
> etc) and supporting the creation of good integrated documentation.

Maybe at some point, a "code editor" facility can be added? I don't know,
but I don't have the time to make any such additions.

> This noweb stuff seems at this point a poor tool.  Perhaps with a good 
> knowledge of the tools it may be possible to coax it into some form of useful 
> life - but I've got work I need to get done.

I don't think it's a poor tool, it may simply be a poor match for what
you want to do.

Best regards,

---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: Bibliography in TOC

2003-12-14 Thread Kayvan A. Sylvan
On Sun, Dec 14, 2003 at 08:02:03PM +0100, Samuel Hammer wrote:
> Dear all,
> 
> I would like to know how to get Lyx to display the words "Bibliography" and 
> "Appendix" in the TOC. And also ist there any chance to display  a " Part* " 
> (without a number) in the  TOC.

Look at the TOC related tips at http://www.lyx.org/help

All your questions are answered there.

Best regards,

        ---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: My thesis that was set in LyX

2003-12-13 Thread Kayvan A. Sylvan
On Sat, Dec 13, 2003 at 03:43:41PM +0100, Henrik Edlund wrote:
> My thesis that I set in LyX is available below for those who wants to see
> what can be done nicely in LyX (with the help of LaTeX of course):
> 
>   http://www.ep.liu.se/exjobb/ida/2003/dd-c/019/exjobb.pdf

Nice work!

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: noweb

2003-12-12 Thread Kayvan A. Sylvan
On Fri, Dec 12, 2003 at 07:02:09PM +, stuart macgregor wrote:
> I read the stuff in Extended.lyx about integration with noweb and thought to 
> try it.
> 
> I downloaded the noweb source and built and installed it and put it on the 
> path and manpath.  I re-configured lyx, made clean and made and installed it.
> 
> The promised 3 new document styles did not appear.  I expect there is a step 
> missing involving the latex environment.  Can anyone help?
> 
> I am using RH9 and building with the gtk option.

Does noweb work by itself? If so, then the only other thing I can think
of is that you have not installed the noweb latex files.

The LyX configure process needs to find them before it makes the literate
styles available.

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: Configuring native Win32 port

2003-12-11 Thread Kayvan A. Sylvan
Can you make sure that the cygwin sed is used? I don't think it has any
such problems.

---Kayvan

On Thu, Dec 11, 2003 at 09:42:19PM +, Angus Leeming wrote:
> Paul A. Rubin wrote:
> > 
> > Next question is, how do we get rid of the offending ctrl-Ms?
> 
> No, the next question is "where do you get hold of a 'decent' version
> of sed for Win32"?
> 
> Can you mail me chkconfig.sed together with some details about your 
> sed executable (sed -v or sed --version, perhaps.) I'll pass on the
> info to the sed-users group. Maybe they can advise.
> 
> -- 
> Angus

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: Future of LyX for Win32

2003-11-17 Thread Kayvan A. Sylvan
On Mon, Nov 17, 2003 at 09:47:17AM +, Paul Smith wrote:
> Dear All
> 
> I would like to know whether it is planned to continue the production of 
> new versions of LyX for Win32.
> 
> Thank you in advance!

I use LyX on Win32, Linux and Solaris regularly.

It's very easy to compile lyx on the latest Cygwin, using Cygwin tetex,
acroread, etc.

I don't really know how to package what I have, though. I'm probably too busy
to try soon in any case. If you want to try installing Cygwin on your Win32
box and compiling lyx, I can probably give you some help, though.

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: problems with lyx on cywin on winxp

2003-11-17 Thread Kayvan A. Sylvan
On Mon, Nov 17, 2003 at 02:23:12AM -0600, Christopher Menzel wrote:
> >I suggest that you install LyX for Win32, the version produced by 
> >Ruurd Reitsma. You can download it on:
> >
> >http://www.home.zonnet.nl/rareitsma/lyx/
> >
> >I have been using it for a while and I am superbly satisfied.
> 
> Anybody know if Lyx for Win32 can be configured to work with the cygwin 
> port of tetex instead of MikTeX?  Seems silly to have two full TeX 
> installations on one box...
> 
> Chris Menzel

I use the Cygwin tetex. No problems.

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: Presentation on LyX/LaTeX

2003-11-13 Thread Kayvan A. Sylvan
On Thu, Nov 13, 2003 at 05:23:53AM -0500, Nirmal Govind wrote:
> Hi folks,
> 
> I made a presentation on LyX/LaTeX to the LUG here at Penn State 
> yesterday. Below is the link in case someone's interested in doing 
> something similar...
> 
> http://www.personal.psu.edu/nug107/lyx/LyX_PSU_LUG.pdf
> 
> Thanks,
> nirmal

Looks great!

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: hyperlink w/o URL

2003-11-12 Thread Kayvan A. Sylvan
Use hyperref and then \href{http://the-url}{Click Here}

I think there are examples at http://www.lyx.org/help

Best regards,

---Kayvan

On Wed, Nov 12, 2003 at 03:02:10PM -0500, Nirmal Govind wrote:
> Hi.. I'm trying to get some hyperlinks in a presentation using pdfscreen 
> and LyX ... I'd like the URL to be embedded within the text so that the 
> URL isn't shown, instead the text is shown (maybe in blue or 
> something)... currently, if I add a URL using Insert->URL, give it a 
> name and a URL, I see the name and the entire URL side-by-side in the 
> pdf output. Please let me know if there's any way to get the URL to not 
> show...
> 
> Thanks,
> nirmal

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: three questions

2003-10-28 Thread Kayvan A. Sylvan
On Tue, Oct 28, 2003 at 02:58:35PM -0700, Vladimir Smagley wrote:
> >>1) When I use mouse to highlight large chunks of text (bigger than 
> >>the size of open Lyx window),
> >>scrolling goes too fast, by the time I stop highlighting, I usually 
> >>go far far away from the place where
> >>I intended to stop. Is there any way to slow down scrolling while 
> >>highlighting using mouse?

It's easier to use the shift key. Click on where you want to start 
highlighting, then hold the shift-key down and press page-down. You can
use the down and up-arrows and cursor movement keys to move the selection
end-point around.

You can try looking at http://www.lyx.org/help for your other
questions. I don't know the answers off the top of my head.

---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: Lyx for Win32, troubleshooting, Results

2003-10-27 Thread Kayvan A. Sylvan
> > temp directory when the "Unable to find ..." message is generated.
> > The path and file name are correct.
> 
> Good. So we have probably nailed down the problem. The file is 
> generated correctly but LyX itself is unable to understand this 
> 'mixed language' file name 'C:/foo/bar.ppm'.

Maybe it's not LyX, but LaTeX?

I had a similar problem with the CVS lyx and had to apply the following patch:

$ cvs diff -u src/support/os_win32.C 
Index: src/support/os_win32.C
===
RCS file: /cvs/lyx/lyx-devel/src/support/os_win32.C,v
retrieving revision 1.13
diff -u -r1.13 os_win32.C
--- src/support/os_win32.C  2003/10/08 08:38:05 1.13
+++ src/support/os_win32.C  2003/10/27 22:36:47
@@ -108,8 +108,9 @@
 
 string external_path(string const & p)
 {
+   char const * const disable_cygwin_fixup = getenv("LYX_NO_CYGPATH_FIX");
string dos_path = p;
-   if (is_absolute_path(p)) {
+   if ((! disable_cygwin_fixup) && is_absolute_path(p)) {
char dp[255];
cygwin_conv_to_full_win32_path(p.c_str(), dp);
dos_path = subst(dp,'\\','/');

I run with the environment variable LYX_NO_CYGPATH_FIX defined
and things work.

I may be right, or I may be crazy.
But it just might be a lunatic you're looking for...

---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: Letters: signature component

2003-10-22 Thread Kayvan A. Sylvan
Use File->New From Template and choose the letter template.

The signature must come *before* the closing. It's confusing, but
that is how the LaTeX letter style works.

Best regards,

---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: Toolbar positions

2003-09-29 Thread Kayvan A. Sylvan
On Mon, Sep 29, 2003 at 10:23:31PM +, Angus Leeming wrote:
> Nirmal Govind wrote:
> > Amazing.. you must have some really fast processors..
> Or machines that are on permanently and an appropriate cron job set to run 
> at 3am...

Yup! :-) The latter.

---Kayvan


Re: Toolbar positions

2003-09-29 Thread Kayvan A. Sylvan
On Mon, Sep 29, 2003 at 12:14:41PM +0100, John Levon wrote:
> On Sun, Sep 28, 2003 at 05:10:05PM -0700, Kayvan A. Sylvan wrote:
> 
> > I do use it every day. But my usage is not math-intensive (mostly
> > literate programming documents).
> 
> I guess you don't use tables or insets then.
> 
> Or undo etc.
> 

Yes, I use tables and insets and undo. I do get crashes, but I save
a lot and I just expect crashes (since I am using evolving software).

I guess this all depends on your definition of "usable", then. This is
part of my contribution to LyX: being a continuous tester of the latest
CVS software (and building it every day on three different platforms).

    ---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: Toolbar positions

2003-09-28 Thread Kayvan A. Sylvan
On Mon, Sep 29, 2003 at 12:44:44AM +0100, John Levon wrote:
> On Sun, Sep 28, 2003 at 07:36:03PM -0400, Nirmal Govind wrote:
> 
> > Hi John.. how useable is 1.4cvs at the moment? The last time I tried 
> 
> It's not usable.
> 
> john

I do use it every day. But my usage is not math-intensive (mostly
literate programming documents).

        ---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: "Path to the lyx file cannot contain spaces"

2003-09-24 Thread Kayvan A. Sylvan
On Wed, Sep 24, 2003 at 12:19:05AM +, Angus Leeming wrote:
> On Tuesday 23 September 2003 10:53 pm, Kayvan A. Sylvan wrote:
> > Under Cygwin, LyX already attempts to fix the path (for all exported
> > files, paths to pictures, etc). The fix is to output the Windows name
> > (e.g. "C:/Cygwin/Home/Kayvan/foo.lyx") for all file references.
> 
> Well, apart from the final switch of '\' to '/', that seems like a sensible 
> thing to do. (Yes, I understand that there are reasons to do that.)
> 
> What I think would be interesting, however, is to try
> 
>   char dp[255];
>   cygwin_conv_to_full_win32_path(p.c_str(), dp);
> - dos_path = subst(dp,'\\','/');
> + char dp_short[255];
> + GetShortPathName(dp, dp_short, 255);
> + dos_path = subst(dp_short,'\\','/');
> 
> and see if that works too.

No. It produced garbage for the graphics name. I have attached the tex files
(from the LyX temp directory).

I am going to go back to my hack, since it works correctly.

Thanks!

---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


example-angus.tex
Description: TeX document


Re: "Path to the lyx file cannot contain spaces"

2003-09-23 Thread Kayvan A. Sylvan
On Wed, Sep 24, 2003 at 12:19:05AM +, Angus Leeming wrote:
> On Tuesday 23 September 2003 10:53 pm, Kayvan A. Sylvan wrote:
> > Under Cygwin, LyX already attempts to fix the path (for all exported
> > files, paths to pictures, etc). The fix is to output the Windows name
> > (e.g. "C:/Cygwin/Home/Kayvan/foo.lyx") for all file references.
> 
> Well, apart from the final switch of '\' to '/', that seems like a sensible 
> thing to do. (Yes, I understand that there are reasons to do that.)
> 
> What I think would be interesting, however, is to try
> 
>   char dp[255];
>   cygwin_conv_to_full_win32_path(p.c_str(), dp);
> - dos_path = subst(dp,'\\','/');
> + char dp_short[255];
> + GetShortPathName(dp, dp_short, 255);
> + dos_path = subst(dp_short,'\\','/');
> 
> and see if that works too.

I'll have to try it tomorrow. I don't have access to the machine
where this happens right now.

> > This does not work when the underlying TeX installation is
> > the newest version of tetex for Cygwin.
> 
> Ok, I'll bite. What goes wrong? Why?

The files are not found.

Apparently the newest Cygwin tetex no longer likes the
c:/cygwin/home/blah/blah paths and simply expects the paths to be in
normal Unix fashion (e.g. /home/blah/blah).

I didn't didn't deeper than that once I implemented my hackish workaround.

---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: "Path to the lyx file cannot contain spaces"

2003-09-23 Thread Kayvan A. Sylvan
On Tue, Sep 23, 2003 at 11:24:51PM +, Angus Leeming wrote:
> 
> Could you (or indeed anyone else with access to a compiler environment on a 
> Win32 box) write and test the equivalent function?
> 
> I'd imagine it would be something like
> 
> size_t const size =
> GetShortPathName(input.c_str(), output, MAX_PATH);
> std::string const result = size ? output : std::string();
> delete [] output;
> return result;
> }
> 
> -- 
> Angus

Under Cygwin, LyX already attempts to fix the path (for all exported
files, paths to pictures, etc). The fix is to output the Windows name
(e.g. "C:/Cygwin/Home/Kayvan/foo.lyx") for all file references.

This does not work when the underlying TeX installation is
the newest version of tetex for Cygwin.

In fact, I had to add the following hack to src/support/os_win32.c to get
around this issue:

$ cvs diff -u src/support/os_win32.C
Index: src/support/os_win32.C
===
RCS file: /cvs/lyx/lyx-devel/src/support/os_win32.C,v
retrieving revision 1.12
diff -u -r1.12 os_win32.C
--- src/support/os_win32.C  2003/08/23 00:16:57 1.12
+++ src/support/os_win32.C  2003/09/23 22:48:24
@@ -107,8 +107,9 @@

 string external_path(string const & p)
 {
+   char const * const disable_cygwin_fixup = getenv("LYX_NO_CYGPATH_FIX");
string dos_path = p;
-   if (is_absolute_path(p)) {
+   if ((! disable_cygwin_fixup) && is_absolute_path(p)) {
char dp[255];
cygwin_conv_to_full_win32_path(p.c_str(), dp);
dos_path = subst(dp,'\\','/');

Then in my .bash_profile, I have "export LYX_NO_CYGPATH_FIX=1"

---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: "Path to the lyx file cannot contain spaces"

2003-09-22 Thread Kayvan A. Sylvan
On Mon, Sep 22, 2003 at 07:35:55PM -0400, Matej Cepl wrote:
> On 2003-09-22, 23:18 GMT, James Frye wrote:
> > For that matter, even in Windows the real filenames don't contain
> > spaces.  Rather, each file has a name which follows the 8.3 rule, and
> > a text label that can be used instead.  That label may contain spaces
> > (and be quite long), but the filename doesn't.  Thus for instance the
> > "Program Files" directory is really named "PROGRA~1", and people
> > forced to follow Windows conventions can easily use that instead.
> 
> I think that you are here rather unfair towards newer versions of
> Windows. My wife has WindowsXP (now working hard to switch to Linux) and
> it seems that now they have true spaces in filesnames -- PROGRA~1 seems
> to be gone forever.
> 

Really? I am running Windows XP and Progra~1 *does* work. Have you
tried it?

C:\cygwin\home\Kayvan>dir c:\progra~1\tcl
dir c:\progra~1\tcl
 Volume in drive C has no label.
 Volume Serial Number is 501B-4DAE

 Directory of c:\progra~1\tcl

12/19/2001  01:55 AM  .
12/19/2001  01:55 AM  ..
12/19/2001  01:54 AM  bin
12/19/2001  01:54 AM  doc
12/19/2001  01:54 AM  include
12/19/2001  01:55 AM15,048 INSTALL.LOG
12/19/2001  01:54 AM  lib
08/08/2000  02:59 PM 2,272 license.txt
08/08/2000  02:59 PM 5,613 Readme.txt
06/21/1999  11:21 AM   245,616 UNWISE.EXE
   4 File(s)268,549 bytes
   6 Dir(s)  14,768,001,024 bytes free

C:\cygwin\home\Kayvan>

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: Figure printing sideways

2003-09-18 Thread Kayvan A. Sylvan
I think this is a problem with epstopdf.

Try removing the "%%Orientation: " line from your eps file and try
again. This is a hack, but I don't know the rigt fix yet.

On Thu, Sep 18, 2003 at 11:54:39AM -0700, Rich Shepard wrote:
>   I have a line drawing I did (in xfig) that is imported into a figure
> float. When I look at the figure within LyX it appears properly --
> horizontal orientation.
> 
>   However, when I view the compiled document (generally pdflatex in
> acroread) the figure is rotated 90 degrees counter clockwise. This puts the
> "x" axis vertically on the right, the "y" axis horizontally along the bottom
> and everything else equally mis-placed.
> 
>   I assume the problem is the size of the figure and that's why it's rotated
> when printed. In the figure properties dialog box I see many options for
> sizing; most make no sense to me. At first I tried 50% with the scale%
> measure, followed by 50% of the page%, then 40%. The figure is reduced in
> size, but it's still rotated!
> 
>   What have I done wrong here? This I've not seen before and I have a large
> number of equivalent line figures to include so I need to learn how to place
> them properly.
> 
> Thanks,
> 
> Rich
> 
> Dr. Richard B. Shepard, President
> 
>Applied Ecosystem Services, Inc. (TM)
> 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
>  + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard@appl-ecosys.com
>  http://www.appl-ecosys.com/

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: Xfig question

2003-09-17 Thread Kayvan A. Sylvan
On Wed, Sep 17, 2003 at 11:17:41PM +0100, Rajil Saraswat wrote:
> Can you do subscripts and superscripts in dia?  What about mathematical 
> symbols(latex code?)
> 

No, it's just for diagram generation.

Look at the web site: http://www.lysator.liu.se/~alla/dia

Best regards,

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: Xfig question

2003-09-17 Thread Kayvan A. Sylvan
On Wed, Sep 17, 2003 at 02:53:43PM -0700, Rich Shepard wrote:
> On Wed, 17 Sep 2003, Kayvan A. Sylvan wrote:
> 
> > You could try dia:
> 
>   And there's also 'sketch'.
> 
>   So, that makes four vector drawing programs for linux. I need to learn
> only one and, despite its rather ugly appearance, xfig should do curves
> quite well. I just need to learn how. Sigh.
> 
>   FWIW, I'm looking now at tgif to see how it does on the curves. Then I
> suppose I'll have to compile sketch's python-image dependency and install it
> so I can get sketch running. I'd rather learn one tool than have to
> investigate them all. :-)
> 

dia is real nice. It's got RPMs and some good web documentation and is
quite intuitive.

I also use it on Windows and the diagram files are cross-platform.

---Kayvan
---
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: Xfig question

2003-09-17 Thread Kayvan A. Sylvan
On Wed, Sep 17, 2003 at 02:20:43PM -0700, James Frye wrote:
> On Wed, 17 Sep 2003, Rich Shepard wrote:
> 
> >   While this is not explicitly LyX, I'm using Xfig to prepare illustrations
> > for my book which is being written with LyX. If anyone knows of a more
> > appropriate mail list, _please_ let me know.
> 
> I too would like to know if there's some source of information on xfig (or
> any other usable drawing program for Linux).  I need to do some simple
> diagrams, but can't seem to find anything that works.  I'm about ready to
> hunt out my old copy of Generic CADD, and boot DOS :-(
> 
> James

You could try dia:

http://www.lysator.liu.se/~alla/dia

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: image conversion tools

2003-09-10 Thread Kayvan A. Sylvan
On Thu, Sep 11, 2003 at 03:37:04AM +0900, jorgen johansson wrote:
> Hello,
> 
> I wonder if imagemagick has to be installed as a part of cygwin or can I 
> use the native windows imagemagick when I want use the native qt lyx 
> 1.3.2 on windows XP?
> 
> I tried installing a couple of months ago and couldn't get it to work 
> (the image conversion) I debugged and was also in contact with Ruurd 
> Reitsma directly. No solution back then.
> 
> I tried tonight again and same error.
> 
> Was the problem that I need the cygwin version of imagemagick?.
> 
> For my lyx 1.3.1 under cygwin I am using the native windows version of 
> imagemagick. One would think it would work with the native qt version of 
>  Lyx as well then.
> 
> /jorgen

I just grabbed the source and compiled and installed in under Cygwin.

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: image conversion tools

2003-08-29 Thread Kayvan A. Sylvan
On Thu, Aug 28, 2003 at 02:17:34PM +, Angus Leeming wrote:
> 
> What does the debug output tell you? (lyx -dbg graphics)
> 
> What happens if you define a converter explicitly. Eg
> 
> \converter "eps" "png" "my_ps2png $$i $$o" ""
> \converter "eps" "ppm" "my_ps2ppm $$i $$o" ""
> \converter "png" "eps" "convert PNG:$$i EPS:$$o" ""
> 

Sorry. I'm an idiot. "convert.exe" on my machine is the Windows executable
that turns a DOS filesystem into an NTFS filesystem.

Turns out that I had not compiled and installed ImageMagick on that
laptop.

I compiled and installed the latest ImageMagick under Cygwin and now
it works.

---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: image conversion tools

2003-08-28 Thread Kayvan A. Sylvan
On Thu, Aug 28, 2003 at 01:24:46PM +0100, Rob Saunders wrote:
> 
> 
> 
> This appears to be a problem, at least with my set ups, in the win32(XP
> pro)  Qt version as well.  In the same manner as original problem I
> cannot convert .bmp to .eps without Lyx running the convertDefault.sh
> even though .bmp view well in the gui - So I have given up trying! Now I
> just use eps pics only and put up with not being able to view them in
> the gui without "error converting to loadable format" etc.
> At least all is well in the final output pdf or dvi which is all that
> matters to me.
> 
> Rob S

Yeah... You know, this used to work correctly in Cygwin too. Now it always
gives that message ("error converting to loadable format") even though
I have all the needed tools installed.

Any ideas on how we can fix this?

---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: spam-mail?

2003-08-25 Thread Kayvan A. Sylvan
That looks like the sobig.f worm. Don't double-click on the attachment,
if you are reading the email on a Windows machine.

The worm comes in an attached ".pif" or ".scr" or ".exe" file of about 99K
bytes.

---Kayvan

On Mon, Aug 25, 2003 at 02:50:01PM +0200, Katrin Pietzsch wrote:
> hi list,
> 
> no lyx-related question this time. i'm just wondering about a mail i 
> got today and another one by the same sender. Since it doesn't make 
> much sense to me, i'm wondering whether this mail is truely related to 
> lyx/ latex or whether this is simply spam.
> 
> regards,
> Katrin
> 
> Anfang der weitergeleiteten E-Mail:
> 
> >Von: <[EMAIL PROTECTED]>
> >Datum: Mo, 25. Aug 2003  14:20:27 Europe/Berlin
> >An: <[EMAIL PROTECTED]>
> >Betreff: Re: Wicked screensaver
> >
> >Please see the attached file for details.

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: Abstract as 1-col in a 2-col paper

2003-08-14 Thread Kayvan A. Sylvan
On Wed, Aug 13, 2003 at 11:00:54PM -0400, Nirmal Govind wrote:
> Hi.. I'm writing a paper using the article class. It's in the 2-column 
> format. However the abstract and KEYWORDS need to be in a single column, 
> centered on the page. How can I do this?
> 
> Thanks,
> nirmal

Use ERT with multicol.

See the "Multiple Columns" section in Extended.lyx

Baically, put \usepackage{multicol} in the preamble, then do
a \begin{multicols}{2} right when you want the 2-column to be (right after
the abstract) and do \end{multicols} where you want it to end.

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: FEATURE REQUEST

2003-07-24 Thread Kayvan A. Sylvan
> OT: Seriously xforms is dead... Noone except longtime users will use it.

Wrong. Users who have no other choice will also use it. Current Cygwin users,
for example.

Why beat a living horse to death? LyX can only benefit from having
multiple maintained frontends.

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: 1.4.0

2003-06-23 Thread Kayvan A. Sylvan
On Mon, Jun 23, 2003 at 08:42:45AM +0200, Andre Poenitz wrote:
> On Sun, Jun 22, 2003 at 06:57:03PM -0700, Kayvan A. Sylvan wrote:
> > I use it all the time, but I also know that if something goes awry
> > it's my own problem to track down and report. ;-)
> 
> How do you cope with Undo?

When I get a crash, I reproduce it and send in the gdb backtrace.

I don't get a crash for most common undo operations, however.

            ---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: 1.4.0

2003-06-22 Thread Kayvan A. Sylvan
On Mon, Jun 23, 2003 at 10:42:41AM +0900, Jan Peters wrote:
> Dear LyX-Developers,
> 
> is it already feasible for a LyX User to try out 1.4.0, or do you 
> consider
> it still too instable? And where can I find it, the link on www.lyx.org 
> leeds
> only to much older versions!
> 
> Best wishes,
> -Jan

I use it all the time, but I also know that if something goes awry
it's my own problem to track down and report. ;-)

There are daily automated builds depositing their RPMs in
ftp://ftp.sylvan.com/pub/lyx/devel

        ---Kayvan

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: lyx and noweb

2003-06-20 Thread Kayvan A. Sylvan
> 
>   Tried it twice; no difference.
> 
>   Am I looking in the wrong place?
> 
>   I am talking about the drop-down menu
> that appears when I press the wide "button"
> on the left end of the  toolbar. The list
> of options that appears begins with Standard
> and ends with Quote, Verse, and Caption.
> 
>   No sign of
> 
> >>Article (Noweb)
> >>
> >>Book (Noweb)
> >>
> >>Report (Noweb)
> 
> 
>  Bill

Yes. You are looking in the wrong place.

It's the document setting, document class.

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: lyx and noweb

2003-06-20 Thread Kayvan A. Sylvan
Try doing a Reconfigure (I think it's in the Edit or Preferences menu).
LyX should then see your new latex classes (related to noweb).

You can email me if you have any problems. I use
the literate programming stuff daily.

---Kayvan

On Fri, Jun 20, 2003 at 09:12:42AM -0700, billh wrote:
>  Hello.
> 
>  I am trying to learn how to use lyx and noweb in the manner of
> "literate programming".
> 
>  I have installed lyx 1.3.1 and noweb 2.9 on gentoo linux and I have
> worked through the tutorial.
> 
>  So far, so good.
> 
>  However, in the document Extended.lyx, I see the following:
> 
> --- quote -
> 
> Selecting the document class
> 
> If you have installed Noweb and LyX successfully, whenever you open a
> new document or try to change the document class of an existing one, you
> will find that there are three new document classes available:
> 
> Article (Noweb)
> 
> Book (Noweb)
> 
> Report (Noweb)
> 
> --- unquote 
> 
>  I do not see these new document classes when I open a new document or
> try to change the document class of an existing document, which I take
> to mean that I have not installed noweb and lyx successfully, but afaict
> the lyx documentation does not mention this possibility.
> 
>  What am I missing?
> 
>  What else I need to do to get lyx and noweb working in tandem?
> 
>  Thank you.
> 
> 

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: ANNOUNCE: LyX 1.3.1 for Win32

2003-03-26 Thread Kayvan A. Sylvan
On Wed, Mar 26, 2003 at 10:09:35AM -0800, Max Bian wrote:
> 
> --- Claus Hentschel <[EMAIL PROTECTED]> wrote:
> Also building a Qt-based version of Lyx 1.3.1 was not
> > possible due to some strange errors while linking.
> 
> Hey, it is possible under cygwin!  This is what I did!  Need to edit
> the impgen.c, same as the xforms version.  If you have space, I can ftp
> you the result of "make bindist".
> 
> CC=gcc-2 CXX=g++-2 ./configure --without-aiksaurus
> --without-included-gettext --with-gnu-ld --with-frontend=qt

The current CVS head and lyx-1.3 branch have a fix for this problem.

I compile LyX with the latest gcc on Cygwin all the time.

The Cygwin patch I sent to lyx-devel can probably even be applied
to the lyx-1.3.1 tar ball without problems.

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: 1.3.1 build on cygwin: problems

2003-03-19 Thread Kayvan A. Sylvan
On Wed, Mar 19, 2003 at 01:53:01PM -0800, Max Bian wrote:
> There are problems with the file src/.libs/impgen.c.  It is not a valid
> C file and it won't compile.

Hi Max,

This is due to a problem with config/libtool.m4 that was introduced
by a faulty checkin (spaces were changed to tabs).

If you look in the lyx-devel archives for the past week or so, you can
see some cygwin related patches which you should be able to apply to lyx-1.3.1
which will fix the problem (as well as allow you to build using gcc3).

If you can not find the patch, email me and I will send it to you.

---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: Lyx - error: cannot delete temporary directory

2003-03-12 Thread Kayvan A. Sylvan
On Wed, Mar 12, 2003 at 06:55:41PM -0600, Todd Flaming wrote:
> Suddently half the time I exit LyX it gives me an error "cannot delete
> temporary directory" with a buffer file in it and it says "Permission
> denied." After that, when I start up again and try to view pdflatex
> Acrobat tells me there is no file.
> 
> I use cygwin on WinXP. This started to happen after I edited a .lyx file
> in Notepad.

This probably happened because you left acrobat running and tried
to exit LyX.

Here's what happens:

1) Within LyX,  you do: View->PDF.
2) Acrobat starts up, reading your file.
3) You exit LyX.

It tries to delete the temp directory, but it can't (Acrobat is open
and using it).

There is nothing that LyX can do for this. Just exit Acrobat Reader first.

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: Antwort: Re: lyx on cygwin

2003-01-29 Thread Kayvan A. Sylvan
FYI: Cygwin tetex works well for me with LyX.

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



Re: usepackage in tex export

2002-12-21 Thread Kayvan A. Sylvan
Put it in the preamble.

Layout->Preamble

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



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

2002-12-21 Thread Kayvan A. Sylvan
On Sat, Dec 21, 2002 at 01:00:14PM -0800, Max Bian wrote:
> It works, but VERY slow.  Maybe that's why we should avoid the cygwin
> tetex?

I've used both fptex and the Cygwin tetex. The native one was faster,
but the difference was not that big for me. The convenience of the
installation of the Cygwin tetex won out in my case.

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



Re: LyX Code Editor

2002-11-08 Thread Kayvan A. Sylvan
On Fri, Nov 08, 2002 at 08:30:44PM +0100, Lars Gullik Bjønnes wrote:
> Norman Kabir <[EMAIL PROTECTED]> writes:
> 
> | LyX is a phenomenal text editor. 
> | 
> | Has anyone considered building a code editor on top of LyX? I think it 
> | would be very useful to be able to mingle formulas, text, images and 
> | source code.
> 
> Well... LyX has been used for (and is still beeing used?) literal
> programming, which is just what you seem to want.

Yes. I use LyX almost every day for Literate Programming.

Norman just needs to install noweb (just follow the links from www.lyx.org
to the Noweb related pages) and run Edit->Reconfigure to get the
Literate document classes to show up.

After that, he can look at examples/listerrors.lyx or examples/noweb2lyx.lyx
to see how it works.

        ---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



Re: Which drawing program? --Thanks

2002-11-08 Thread Kayvan A. Sylvan
On Fri, Nov 08, 2002 at 11:34:14AM -0800, Chris Carlen wrote:
> Chris Carlen wrote:
> [edit]
> >1. Does anyone here use OpenOffice to produce figures to import into 
> >Lyx, and if so how do you generate the .eps files?
> [edit]
> >2.  What program is used most often, and what might you recommend?
> [edit]
> 
> 
> Thanks for all the responses to the above question.  The volume of 
> information was substantial, so it might take me a while to digest it. 
> I will try to respond to some of the individual replies as well.
> 
> Good day!

How about a summary to the list when you decide on your optimal solution?

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



Re: [Getting a bit OT] Re: PDF looks good

2002-11-07 Thread Kayvan A. Sylvan
On Fri, Nov 08, 2002 at 12:13:17AM +0200, Robin Turner wrote:
> Nirmal Govind wrote:
> >>Or install the cm-super fonts, an (almost) complete type 1 replacement
> >>of the computer modern fonts:
> >>http://www.ctan.org/tex-archive/fonts/ps-type1/cm-super/
> >>
> >>Jürgen.
> >>
> >
> >
> >I just did this (warning: cm-super package is a pretty big file ~ 65MB
> >in rpm format) and yes, the PDF output on screen is a lot better..
> >however, in print, they still are a bit too light just like the CM
> >fonts.. I wish they would release a 600DPI compatible version of these
> >fonts. 
> >
> Am I alone in liking the lightness of Computer Modern?  I often print 
> out CM documents at 600dpi and I like the almost ethereal quality. In 
> contrast, I recently PDFed a Word document in Times New Roman because I 
> couldn't be bothered to do the reformatting necessary to import-export 
> it through LyX (wv doesn't handle tables terribly well). I found the 
> output really heavy and black (to be fair, times new Roman is a copy of 
> Times Roman, which is a newspaper font, not a book font, so the 
> requirements are different).  Call me a Knuth fanatic, but CM is still 
> the most aesthetically pleasing font I've ever seen (I'm not talking 
> about fancy fonts here, though I wish Knuth had done a version of 
> half-uncial).
> 
> Robin

No, you're not alone. I like CM too.

Best regards,

---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



Re: lyx "working directory"

2002-11-06 Thread Kayvan A. Sylvan
On Wed, Nov 06, 2002 at 11:01:50PM +0200, Miki Dovrat wrote:
> I have a problem that lyx does not pass the directory information to the 
> file converters. i.e. $$i and $$o do not contain the full path of the 
> files, therefore "convert" can't find them.
> 
> If lyx is started from the directory these files reside in, the converter 
> finds them.
> 
> Is there a way to fix this? are there other "variables" like $$i or $$o that 
> would contain the directory information?

Which lyx version? As of lyx-1.2.0, $$i and $$o do contain full paths, as
far as I see.

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



Re: PDF looks good

2002-11-06 Thread Kayvan A. Sylvan
On Wed, Nov 06, 2002 at 11:20:38AM -0300, German Poo Caaman~o wrote:
> El mié, 06-11-2002 a las 11:05, Pierre Lescanne escribió:
> > In the extended manual, several tricks are suggested to get good
> > displays in Acroread.  I tried them, none worked.  However since I use
> > times font, I have included in the preamble, \usepackage{times} it
> > works pretty fine.  This could be suggested in the documentation.
> 
> \usepackage{pslatex}
> 
> works fine.  I don't know if it is in the extended manual.

You can also just set the fonts in the Layout->Document dialog to
"pslatex"

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



Re: Who has RPMs for redhat 7.x? [please!]

2002-11-03 Thread Kayvan A. Sylvan
On Sun, Nov 03, 2002 at 01:36:55PM -0500, Steve M. Robbins wrote:
> On Thu, Oct 31, 2002 at 08:09:18PM +0100, Thomas Templin wrote:
> > On Thursday 31 October 2002 19:36, Kayvan A. Sylvan wrote:
> > > I would be happy to be the RPM coordinator. I just need a loose
> > > collection of people with different system setups who are
> > > willing to "--rebuild" the source rpm and send the results back
> > > to me.
> > BTW, whats about *.deb Packages? *duck'n'run* :)
> 
> Debian already has packages, though only for 1.1.6fixsomething,
> at the moment.

I don't run debian, but isn't there some sort of "alien" program
which can turn an RPM into a .deb?

---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



Re: Who has RPMs for redhat 7.x? [please!]

2002-10-31 Thread Kayvan A. Sylvan
On Thu, Oct 31, 2002 at 11:35:42AM +0100, Jean-Marc Lasgouttes wrote:
> >>>>> "Kayvan" == Kayvan A Sylvan <[EMAIL PROTECTED]> writes:
> 
> Kayvan> That's fine. I will continue to provide them (and the src.rpm
> Kayvan> file) which a few developers can use to rebuild better RPMs on
> Kayvan> the chosen-system-of-the-day.
> 
> Kayvan> You and Lars can decide what is the most relevant RPMs to put
> Kayvan> on the ftp site.
> 
> What would be great for me, if you have time for that, would be if you
> could centralize the work of getting these rpms for different
> architecture, that is have one person you are in relation with for
> each distrib (maybe rh7.x and rh8.x are enough for now). Then I would
> get rpms for each release which I can trust to install...
> 
> Would you find time for that? And also, who would volunteer to help
> Kayvan? 
> 
> Or, if Kayvan can't do that, who could volunteer as an rpm
> coordinator?

I would be happy to be the RPM coordinator. I just need a loose collection
of people with different system setups who are willing to "--rebuild"
the source rpm and send the results back to me.

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



Re: Who has RPMs for redhat 7.x? [please!]

2002-10-30 Thread Kayvan A. Sylvan
On Wed, Oct 30, 2002 at 10:53:43AM +0100, Jean-Marc Lasgouttes wrote:
> >>>>> "Kayvan" == Kayvan A Sylvan <[EMAIL PROTECTED]> writes:
> 
> Kayvan> On Tue, Oct 29, 2002 at 04:57:16PM +0100, Jean-Marc Lasgouttes
> Kayvan> wrote:
> >>  Seeing how so many people are angry trying to install Kayvan's
> >> rpms, I think we really need to provide something compiled with gcc
> >> 2.96.
> >> 
> >> If anybody can provide these rpms to me (built from the .src.rpm of
> >> the site), please send them to me. Ask Kayvan for details if you
> >> want to know how to make them.
> >> 
> >> JMarc
> 
> Kayvan> Should I just upgrade my buld compile host to gcc-2.96? Can't
> Kayvan> these people rebuild the RPM for their system?
> 
> What would be nice is to have an rpm for some kind of vanilla rh 7.x.
> I fear that rh6.2+gcc2.96 is asking for trouble. If we assume that
> people can just rebuild their rpm (which is not so easy since they
> need to have all the -devel packages installed), I think we should
> just decide so and get rid of the rh62 rpms we have currently. They
> are probably too confusing for people.
> 
> JMarc

That's fine. I will continue to provide them (and the src.rpm file) which
a few developers can use to rebuild better RPMs on the chosen-system-of-the-day.

You and Lars can decide what is the most relevant RPMs to put on the
ftp site.

Instead of getting rid of them, just rename them.

---Kayvan

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



Re: Who has RPMs for redhat 7.x? [please!]

2002-10-29 Thread Kayvan A. Sylvan
On Tue, Oct 29, 2002 at 04:57:16PM +0100, Jean-Marc Lasgouttes wrote:
> 
> Seeing how so many people are angry trying to install Kayvan's rpms, I
> think we really need to provide something compiled with gcc 2.96. 
> 
> If anybody can provide these rpms to me (built from the .src.rpm of
> the site), please send them to me. Ask Kayvan for details if you want
> to know how to make them.
> 
> JMarc

Should I just upgrade my buld compile host to gcc-2.96? Can't these people
rebuild the RPM for their system?

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



Re: quotation marks

2002-10-29 Thread Kayvan A. Sylvan
On Tue, Oct 29, 2002 at 11:32:19AM +0100, Marcus Beyer wrote:
> 
> I am using LyX 1.2.1 with Cygwin/XFree86 on Win2k.
> 
> Problem: whatever quotation marks I choose in the configuration menu, 
> I get always inch symbols when I press shift-2. 
> 
> Any idea?
> 
> Marcus

Strange. I have never seen that. What X server?

Try oving your ~/.lyx directory to another name and have lyx recreate it.


-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



Re: Missing textclass files for examples

2002-10-14 Thread Kayvan A. Sylvan

On Mon, Oct 14, 2002 at 05:22:18PM +0200, Herbert Voss wrote:
> Carole Womeldorf wrote:
> 
> >When I start up the examples: "Foils.lyx", "Literate.lyx", "aa.lyx",
> >on start up I get the Alert:
> >
> >"The document uses an unknown textclass "foils" ["literate-article", "aa"]
> >Lyx will not be able to produce output correctly."
> >
> >Is something missing from my setup?  The only "foil*" file I have found is
> >"/usr/share/lyx/layouts/foils.layout."
> 
> 
> the corresponding latex documentclass files are missing.

Yes, and for the "Literate.lyx", you will also need to have the "noweb"
package installed.

---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



Re: literate-book doc class

2002-10-13 Thread Kayvan A. Sylvan

On Sat, Oct 12, 2002 at 06:35:42AM +0300, Kristoffer Lawson wrote:
> 
> I've been wondering how to get that particular doc class to work? The
> LaTeXConfig.lyx doc doesn't mention it and I can't seem to find any
> reference to it anywhere. I'm not even sure what it is. I'm actually
> looking for document classes which could be used to write literary texts
> (as opposed to the many classes for factual text provided) and even books.
> Do such things exist as that is one area my lyx installation does not seem
> to cover? I should have all the most important tetex packages installed
> (at least the ones in the Debian system).

The "literate" classes refer to a hybrid document combining documentation
and programming source. This "literate program" can then be processed
in two ways: one produces beautiful documentation and the second produces
program source code. Its genesis is in the works of Donald Knuth's
original (Pascal) WEB language in which he wrote TeX.

You need to have the "noweb" system installed to have the "literate" classes
work.

You can use the article or book class for literary texts without problem.

---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



Re: Redhat install: libforms RPM

2002-10-07 Thread Kayvan A. Sylvan

On Mon, Oct 07, 2002 at 10:24:11PM -0400, Myriam Abramson wrote:
> 
> > The xforms-0.88-4 rpm on the LyX ftp site works for me, but
> > libstdc++-libc6.1-2.so.3 was still missing. On rpmfind.net I found a
> > package which contains this version:
> > 
> > ftp://rpmfind.net/linux/contrib/libc6/i386/libstdc++-2.95.1_2.10.0-3.i386.rpm
> > 
> > Unfortunately on RH7.2 this conflicts with other packages
> > (libstdc++-2.96-108.7.2 and compat-libstdc++-6.2-2.9.0.16).  
> > 
> > So the solution was to manually copy the libstdc++-3-libc6.1-2-2.10.0.so
> > file from the rpm package to /usr/lib, and run ldconfig. 
> > 
> 
> How did  you extract this file from the rpm? 

Probably with rpm2cpio

---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



Re: LyX capabilities question

2002-07-15 Thread Kayvan A. Sylvan

On Tue, Jul 16, 2002 at 07:33:01AM +0200, Andre Poenitz wrote:
> On Tue, Jul 16, 2002 at 12:04:05AM -0400, Mark Carroll wrote:
> > (a) I write a lot of documents where there are number-of-pages limitations
> > on different sections. Can it be easy while editing documents in LyX to
> > see where these limits are lying, like seeing the page boundaries and
> > numbers in Word? I often have to craft documents to fit those limits.
> 
> There is no method known to me.

Well... There is always View->Postscript.

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



Re: Problem installing lyx-1.2.0 rpm on redhat 6.2

2002-06-05 Thread Kayvan A. Sylvan

On Wed, Jun 05, 2002 at 04:53:21PM +0100, Tim Chapman wrote:
> 
> 
> Kayvan A. Sylvan wrote:
> 
> >This sounds like you need to upgrade your gcc. What version are
> >you using?
> >
> > 
> >
> The latest version from the Redhat 6.2 update channel (provided by 
> red-carpet updater). Not sure exactly what the number is until I get 
> home from work. However, others have reported the same problem with egcs 
> release 1.1.2 (Joachim) and egcs-2.91.66 (Rich) (see other messages in 
> this thread).

I addressed this in another Email. The standard RH 6.2 setup is broken.

If you do any serious development on your machine, you will quickly update
it as I have done.

The change was made so long ago that I neglected to mention it in the
rpm.README (which has now been updated).

> Your setup appears to have an updated libstdc++ as well, since none of 
> us are able to install the binary rpm with the standard redhat 6.2 
> libraries.

Yes, this is also part of the gcc-2.95.1-3 RPMs. The relevant RPMs are:

gcc-2.95.1-3
gcc-c++-2.95.1-3

You can find them from www.rpmfind.net at:

ftp://speakeasy.rpmfind.net/linux/contrib/libc6/i386/gcc-2.95.1-3.i386.rpm
ftp://speakeasy.rpmfind.net/linux/contrib/libc6/i386/gcc-c++-2.95.1-3.i386.rpm

Or you can simply regenerate the RPM for your system using:

ftp://contrib.redhat.com/pub/contrib/libc6/SRPMS/gcc-2.95.1-3.src.rpm

Best regards,

---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



msg19779/pgp0.pgp
Description: PGP signature


Re: Problem installing lyx-1.2.0 rpm on redhat 6.2

2002-06-05 Thread Kayvan A. Sylvan

> Tim and Richard,
> 
> there is a remark in Kayvan readme that notes he uses RedHat Linux/GNU
> 6.2. Then, did he really use the same compiler, i.e.egcs release 1.1.2?
> What compiler are you using Tim?

egcs-1.1.2 or egcs-2.91.66 are both broken. You *will* crash this
compiler when attempting to compile lyx-1.2.0.

I think both Tim and Richard have found this out.

You need to upgrade to at least gcc-2.95.1 for LyX to compile.

If you install gcc-2.95.3 on your machine, it may work. If not, a simple
``rpm --rebuild'' will fix it for you (without a crash in gcc).

Best regards,

---Kayvan

[[ Available for consulting work. http://www.sylvan.com/~kayvan/Resume.html ]]
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



msg19777/pgp0.pgp
Description: PGP signature


Re: Problem installing lyx-1.2.0 rpm on redhat 6.2

2002-06-05 Thread Kayvan A. Sylvan

On Wed, Jun 05, 2002 at 02:04:38PM +0100, Tim Chapman wrote:
> 
> Rich Shepard wrote:
> 
> > Nodeps works only when a necessary library is present but not registered
> >wtih the rpm database.
> > 
> >
> OK, that makes sense. ..
> 
> > When you say you cannot rebuild from the src.rpm, where does the error
> >occur and what is it? There are two approaches to be used:
> > 
> >
> The compiler (gcc) itself crashes with an internal error. I think it 
> occurs in a file called boost.cpp but I can't check until this evening 
> when I get home. Looks like some C++ template code (lots of <'s and >'s) 
> which I don't know much about.
> 

This sounds like you need to upgrade your gcc. What version are
you using?

---Kayvan

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



msg19775/pgp0.pgp
Description: PGP signature


Re: very annoying bug/noweb question

2002-06-03 Thread Kayvan A. Sylvan

On Mon, Jun 03, 2002 at 05:42:44PM +0200, Candide Kemmler wrote:
> I have a second simple question also: I want to use noweb but I would
> like to hide some code for weaving while still having it tangled: things
> like class declarations, import statements and the like... Any idea of
> how to do this ? Of course, I'd like to handle all this in lyx, not in
> the resulting TeX code :-)

You should insert \iffalse ... \fi in the right places in your
LyX document as pure TeX (using the LaTeX paragraph style, for example).

    ---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



msg19656/pgp0.pgp
Description: PGP signature


Re: SOLVED Re: TOC is allways "two save behind" actual document AND problem selecting spanish for the doc languaje

2002-05-26 Thread Kayvan A. Sylvan

> - the new installation has put the lyx stuff on /usr/local/share/lyx
> whereas the previous one (via a Lyx-1.2.0pre5mkd.i386.rpm package) put
> it on /usr/share/lyx
> 
> - the lyx exe has been put on usr/local/bin instead of /usr/bin 
> 

These differences are due to your doing:

./configure

and then "make" and "install". The RPMs are almost always compiled
with:

./configure --prefix=/usr

followed by "make" and "install"

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



msg19465/pgp0.pgp
Description: PGP signature


Re: libraries problem

2002-05-16 Thread Kayvan A. Sylvan

On Fri, May 17, 2002 at 12:39:10AM -0500, [EMAIL PROTECTED] wrote:
> 
> please someone help me
> 
> I get this error when installing lyx
> failed dependencies: libstdc++-libc6.1-2.so.3
> or cannot load those libraries
> I made a simbolic link but it didnt work either
> undefined symbol: _default_alloc_template2b1i0._S_start_free
> 
> what can i do?
> 
> thanks a lot

I assume you are installing the RPM.

The thing to do in cases like this is usually to rebuild the RPM
from the srpm. Grab the lyx-{version}.src.rpm file and do:

rpm --rebuild lyx-{version}.src.rpm

Then install the resulting RPM.

            ---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



Re: Using CV (or any other) class in LyX

2002-05-16 Thread Kayvan A. Sylvan

On Thu, May 16, 2002 at 10:01:20PM -0700, Ryan P. Joseph wrote:
> On Thursday 16 May 2002 09:52 pm, [EMAIL PROTECTED] wrote:
> > Ryan P. Joseph wrote:
> > > I would really like to be able to write my resume/CV in LyX, as it is
> > > wonderfully portable and looks great when printed.  I am using the newest
> > > version of LyX (1.1.6fix4) and browsing through the directories in
> > > /usr/share/lyx, I see that there is the 'cv.cls' file and a 'cv.layout'
> > > file, leading me to believe that support for using the CV class is
> > > builtin.  There is even a cv.lyx example file!
> >
> > what does
> >
> >
> > kpsewhich tex cv.cls
> 
> This command simply returns nothing, which obviously means it can't find it.  
> However, running a 'locate cv.cls' returns:
> 
> /usr/share/lyx/tex/cv.cls
> 
> which seems like the perfect place for it to be visible to LyX!

No, TeX won't find it there unless you add the directory to TEXINPUTS
or move it into a directory that TeX usually looks in (and run "texhash").

---Kayvan

[[ Available for consulting. http://www.sylvan.com/~kayvan/Resume.html ]]
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



Re: lyx 1.20pre5 bugs and misses

2002-05-10 Thread Kayvan A. Sylvan

On Fri, May 10, 2002 at 03:02:24PM -0400, Ronald Florence wrote:
> Max Bian <[EMAIL PROTECTED]> writes:
> 
> > >>1. The pasted text is selected by default.  This is no good because 
> > >>another key stroke will replace it.
> > > 
> > > This is intended and IMO opinion correct behaviour. Why do you think
> > > there is a problem ?
> > 
> > It is a problem because after the paste people would be assumed to be 
> > done with the pasted part. And people should move on to do something 
> > else. However they would need to clear the selection first if that 
> > "feature" is there before they can do anything. 
> 
> I agree with Max.  The misbehavior of LyX after pasting is the single
> most annoying feature of what is otherwise my favorite document
> processor.  After pasting, it should be possible to immediately edit
> the inserted material without having it suddenly disappear and require
> multiple presses of the  key to get it back.  

Not that LyX development is a democracy (more like a benevolent dictatorship),
but I also concur.

King Lars, what say you?

---Kayvan

-- 
Kayvan A. Sylvan
Sylvan Associates, Inc.
http://sylvan.com/~kayvan



msg19186/pgp0.pgp
Description: PGP signature


Re: How do you make the "therefore" symbol?

2002-05-09 Thread Kayvan A. Sylvan

On Thu, May 09, 2002 at 12:30:08PM -0400, Steve Litt wrote:
> Hi Sachin,
> 
> That didn't work. I went into math mode with the little fraction button, and 
> from within there I typed 
> 
> \therefore
> 
> Indeed, just like you say, the backslash didn't show and the "therefore" text 
> was ERT and was a single entity. But when I went to view the file, I got the 
> following error right before the therefore:
> 
> Undefined control sequence,
> \(\therefore
> \)
> 
> I tried \Therefore and \THEREFORE -- same thing. Any ideas?
> 
> Thanks
> 
> Steve

FYI, in 1.2.0pre5, the \therefore in math mode shows up as the expected
dots-in-a-triangle on screen.

---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



msg19164/pgp0.pgp
Description: PGP signature


Re: word count

2002-05-03 Thread Kayvan A. Sylvan

On Fri, May 03, 2002 at 05:46:38PM -0500, Mark Hansel wrote:

> ftp://sunsite.unc.edu/pub/Linux/apps/tex/
> ftp://sunsite.unc.edu/pub/Linux/apps/tex/deTeX-2.6.README
> 
> (tar.gz here): http://www.funet.fi/pub/Linux/util/TeX/
> 
> However, this does not do what you want. (My interest was piqued by Matej
> Cepel's response.) The program strips latex commands and all the '\'
> characters, but does not stip meta information, as required for an
> accurate word count. (Maybe there a command line options that get that job
> done and maybe it does the right thing with a pure latex file. But it does
> not do the right thing with a lyx file.)

Of course. It's detex, not deLyX.

Proper operation would be to export to LaTeX and then run detex.

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



msg19075/pgp0.pgp
Description: PGP signature


Re: generation of pdf

2002-05-02 Thread Kayvan A. Sylvan

On Thu, May 02, 2002 at 02:48:12PM +0200, Joeri Verbiest wrote:
> Tuukka,
> 
> Via Latex it works now (very fast). Thanks for the tip.
> 
> Joeri
> 
> > Try exporting your document as "latex" and then running latex manually. It
> > should display messages what it is doing. Or start lyx from xterm or other
> > text window, I think also that displays latex messages on screen.
> >

One of two things is happening:

1) There is some problem with LyX and the LaTeX run was hanging (unlikely).

2) It was generating fonts. This only happens for the first time. Subsequent
   runs are much much faster.

Try it again from inside LyX and tell us the result. If it is fast from
within LyX, then it was just generating fonts. If it is still slow
from inside LyX, then there is some other problem.

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



msg19028/pgp0.pgp
Description: PGP signature


Re: viruses

2002-04-29 Thread Kayvan A. Sylvan

On Mon, Apr 29, 2002 at 08:03:55PM -0400, Brett Dikeman wrote:
> At 3:15 PM -0500 4/29/02, Mate Wierdl wrote:
> >Lately, I received emails such as
> >
> >"I received a lot viruses from the lyx users list, and now my
> >windows partition is ruined."
> >
> >I am truly sorry to hear this, but:
> >
> >--- The virus _never_ originates from my server
> 
> What follows is my personal opinion; [...]
> 
> You've got three choices, [...]
> 
> -dump all attachments before they go to the list management 
> software's alias.  "demime" is one good script for doing so, very 
> easy to install.  Attachments shouldn't be allowed on large lists 
> anyway; this isn't the development list, so attachments are simply 
> not necessary nor appropriate, particularly in this day and age where 
> webservers are dime a dozen.  People should never send attachments, 
> they should reference URLs.  99% of the attachments that drift by 
> have absolutely no use to me...and posting attachments is completely 
> useless to people reading the archives a week, month, year later. 
> URLs, if they link to some place stable, at least have a fighting 
> chance.

I disagree. Attachments are convenient and a message with a patch attached
is self-contained and can be stored in the mail archives for later
retrieval. No need to refer to external URL's (which may or may not
exist or be up at the time of viewing)

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



msg18953/pgp0.pgp
Description: PGP signature


Re: Literate Programming Question

2002-04-24 Thread Kayvan A. Sylvan

On Wed, Apr 24, 2002 at 01:34:29PM +0100, S.G.GOULD wrote:
> The problem was the listerrors.  I installed LyX (from the lyx-1.1.6fix4-1 rpm)
> before I installed NoWeb and it seems the listerrors installed was empty.  I
> compiled listerrors from the listerrors.lyx example file and put it in
> /usr/share/bin and the problem was fixed.  

Great. Glad to help.

---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



msg18736/pgp0.pgp
Description: PGP signature


Re: Literate Programming Question

2002-04-23 Thread Kayvan A. Sylvan

On Tue, Apr 23, 2002 at 09:36:19PM +0100, S.G.GOULD wrote:
> Hello,
> 
> I am a new user of LyX and I am trying to get the literate programming up and
> running.  
> I have managed to get the the example listerrors to compile from LyX and also a
> short 
> file I wrote on my own.  However I can't seem to get any compiler errors to show
> up in 
> LyX when I try to build a program with an error in it.  I just get a pop up that

Can you compile outside of LyX and run the error output through listerrors
and see if your listerrors works?

Which version of LyX (RPM versions contain listerrors already)?

By the way, listerrors is no longer needed in 1.2.0. It is replaced by
a python program that lives in LYXDIR/scripts (not in /usr/bin)

> <>
> #!/bin/sh
> #
> notangle -L -RCode.c ${NOWEB_SOURCE} > Code.c
> gcc -g -o Code Code.c
> 
> build-script
> #!/bin/sh
> #
> notangle -Rbuild-script $1 | env NOWEB_SOURCE=$1 sh
> 
> Listerrors is located in the /usr/bin/ directory.
> I added these lines to the lyxrc.default.
> 
> \converter literate program "build-script $$i" "originaldir,parselog=listerrors
> b"
> \converter literate latex "noweave -delay -index $$i > $$o" "parselog=listerrors
> n"

This should work. What is in your ~/.lyx/ directory?

---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



msg18712/pgp0.pgp
Description: PGP signature


Re: lyx & windows xp

2002-03-26 Thread Kayvan A. Sylvan

On Tue, Mar 26, 2002 at 03:23:54PM +0100, Karsten Schell wrote:
> I tried to install lyx in windows  xp, followed the instructions.
> 
> I installed cygwin without tetex and x11. Xwin 5.3. lyx with the setup.exe 
> from cygwin. 
> I edited the lyxconfig and the startupbatchfile. When I start lyxwin32 I get 
> libX11.dll not found .
> 
> Where do I get libx11.dll ??? ( I am using the latest stable version of 
> cygwin and lyxpatch4)

You need to install XFree86. I use XFree86-4.1.0

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



msg18170/pgp0.pgp
Description: PGP signature


Re: LyX and Prosper

2002-03-18 Thread Kayvan A. Sylvan

On Mon, Mar 18, 2002 at 10:09:34AM -0600, Bo Peng wrote:
> > Okay,
> >
> > Do this:
> >
> > Set the LaTeX stuff up in a private directory (/some/directory).
> >
> > Then:
> >
> > export TEXINPUTS=".:/some/directory:`kspepath tex`"
> >
> > This should add . and /some/directory to the standard list of directories
> > that LaTeX searches.
> >
> 
> I was using $TEXINPUTS and latex could compile cluster.tex smoothly. Still,
> lyx could not find prosper.cls. That is why I thought that lyx only searchs
> standard latex path.
> 
> Bo

No, I assure you it does not. LyX calls LaTeX, and if you have your environment
variables set correctly, it should work.

I can only think of one situation in which you would see this behavior:
If you set TEXINPUTS in a shell and then use a Window-manager button
to launch LyX. Then your LyX will be operating with the environment you
had when you started your desktop, not what you set in the shell.

Try running it from the same shell that you successfully did a
latex of cluster.tex. The first thing you should do is Edit->Reconfigure
and then try.

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



msg18062/pgp0.pgp
Description: PGP signature


Re: LyX and Prosper

2002-03-17 Thread Kayvan A. Sylvan

On Sun, Mar 17, 2002 at 06:06:18PM -0600, Bo Peng wrote:
> > > The problem is that I do not have the privilege to write to
> > > /usr/site/tkTeX/tex, so I
> > > have to use $TEXINPUTS to point to my personal folder. It turns out that
> > > latex
> > > can reach this folder via $TEXINPUTS so it can compile
> > cluster.tex but lyx
> > > just reconfig packages under standard latex directory. The
> > error message is
> > > "The document
> > > uses an unknown class "prosper" ...
> > >
> >
> > You need to put the layout file in your ~/.lyx/layouts, then, and then
> > do an Edit->Reconfigure
> >
> > --
> > Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
> > Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine
> > Yelena (8/8/89)
> > http://sylvan.com/~kayvan | "crown of her husband" | Robin
> > Gregory (2/28/92)
> 
> 
> Thank you for your hint but I did put prosper.layout under my .lyx/layouts.
> Reconfigure could not find prosper class. I think the problem is still
> because prosper is not under standard latex directory.
> 
> texhash give me error:
> texhash: /usr/.../texmf: directory not writable. Skipping...
> 
> which might give you some idea why this is happening. Is it possible for me
> to write directly lyx's configuration file for this?

Okay,

Do this:

Set the LaTeX stuff up in a private directory (/some/directory).

Then:

export TEXINPUTS=".:/some/directory:`kspepath tex`"

This should add . and /some/directory to the standard list of directories
that LaTeX searches.

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



msg18051/pgp0.pgp
Description: PGP signature


Re: Lyx for RedHat 7.2

2002-03-17 Thread Kayvan A. Sylvan

On Sun, Mar 17, 2002 at 10:15:42PM +0100, user thomas wrote:
> Hello,
> 
> I've looked at the lyx-site and scaned the mail-archive, but unfortunately 
> found no hint of a lyx-rpm for RedHat 7.2, Kayvan has some rpms for RH 7.1.
> I am not quite sure if these are also running on 7.2 !?
> Besides, which version of xforms is required for this lyx version?
> 
> Thomas

If you have xforms-0.88 or xforms-0.89 installed, you should be able
to ``rpm --rebuild lyx-blahblah.src.rpm'' and install the resulting
RPM on your system.

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



msg18049/pgp0.pgp
Description: PGP signature


Re: LyX and Prosper

2002-03-17 Thread Kayvan A. Sylvan

On Sun, Mar 17, 2002 at 03:35:48PM -0600, Bo Peng wrote:
> >
> > > 1. What is prosper 2? prosper2.cls claims itself a newer version but the
> > > newest version on http://sourceforge.net/projects/prosper is 1.004. Is
> > > it a CVS file?
> >
> > The prosper.cls and prosper2.cls are probably similar, if I saw the
> > source. That is not the main problem for using the prosper.
> >
> 
> Yes, this is not the source of the problem.
> 
> > > 2. I set my $TEXINPUTS and add prosper directory. "Latex cluster.tex" is
> > > working OK but I could not let lyx recognize prosper class. During
> > > reconfig, it seems that lyx only check standard folders, not all folders
> > > in $TEXINPUTS. What should I do?
> >
> > Installing prosper needs to put the prosper2.cls in directory that latex
> > can reach it (/usr/share/texmf/tex/latex/prosper/ for my TeX) and the
> > prosper.layout in the directory that lyx can reach it, eg.
> > $HOME/.lyx/layout/ or /usr/X11R6/share/lyx/layout/. Then run texhash to
> > re-built TeX database and later open lyx and run Edit --> Reconfigure.
> 
> The problem is that I do not have the privilege to write to
> /usr/site/tkTeX/tex, so I
> have to use $TEXINPUTS to point to my personal folder. It turns out that
> latex
> can reach this folder via $TEXINPUTS so it can compile cluster.tex but lyx
> just reconfig packages under standard latex directory. The error message is
> "The document
> uses an unknown class "prosper" ...
> 

You need to put the layout file in your ~/.lyx/layouts, then, and then
do an Edit->Reconfigure 

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



msg18048/pgp0.pgp
Description: PGP signature


Re: Importing Diagrams made with Excel

2002-03-13 Thread Kayvan A. Sylvan

On Wed, Mar 13, 2002 at 09:05:57PM +0100, Oliver Margraf wrote:
> Hello,
> 
> because of the question, how to import a excel spreadsheet, I' d like to 
> know if it is also possible to import diagrams in LyX as well, or what you 
> have to do, if you want to place diagrams in a LyX document? Or is there a 
> way to create diagrams in LyX itself (should be in colour not   in 
> greyscale)?
> Thanks in advance.
> 
> Oliver

Use any diagram tool that will export to encapsulated postscript and
all works well.

            ---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



msg17985/pgp0.pgp
Description: PGP signature


Re: Lyx, ochem and pdf?

2002-02-20 Thread Kayvan A. Sylvan

On Wed, Feb 20, 2002 at 01:22:54PM +0100, Kai Straube wrote:
> Hi,
> 
> I use lyx with the package ochem to display chemical structures. Now I want 
> to export this Files to pdf-Files. If I export the lyx-File to a latex-File 
> and the run ochem, latex, dvips and ps2pdf I get working pdf-Files with my 
> structure-formulas and so on, but the fonts looks not so fine. If I use 
> pdflatex, the structure-formulas are will be ignored, but the fonts looking 
> are fine. But I want both: structure-formulas using ochem and nice looking 
> fonts at the pdf-files.
> 
> Is there a solution?
> 
> Thank you!
> 
> Kai

Try setting your fonts (via Layout->Document) to pslatex.

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



msg17622/pgp0.pgp
Description: PGP signature


Re: Creating a new bib style

2002-02-20 Thread Kayvan A. Sylvan

On Wed, Feb 20, 2002 at 03:11:23PM +0100, Davide Cavallari wrote:
> On Wed, Feb 20, 2002 at 01:19:04PM +0100, Davide Cavallari wrote:
> > Is there a way to make latex see my personal ~/.TeX dir?
> 
> Sorry, I've found  myself the answer, it's the variable  TEXMF in the file
> texmf.cfg
> -- 
> Cheers,
> Davide Cavallari
> TEMERARIO - Colui che ha paura del fisco.

Or use the TEXINPUTS environment variable.

First, get the current operating path by "kpsepath tex" and then
set your TEXINPUTS variable to be a combination of that path and
your personal latex directory.

---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



msg17621/pgp0.pgp
Description: PGP signature


[aber@monet.sinp.msu.ru: LyX problem]

2002-02-15 Thread Kayvan A. Sylvan

Hi Alexander,

I have forwarded your Email to the users list.

There are rendering problems with some versions of ghostscript, though
I am not sure about the details.

I am sure someone else can fill you in.

- Forwarded message from "Berezhnoy Alexander V." <[EMAIL PROTECTED]> -

Date: Fri, 15 Feb 2002 15:59:09 +0300 (MSK)
From: "Berezhnoy Alexander V." <[EMAIL PROTECTED]>
To: "Kayvan A. Sylvan" <[EMAIL PROTECTED]>
Subject: LyX problem
In-Reply-To: <[EMAIL PROTECTED]>

  Dear Kayvan!
 
  I have small problem with my LyX.
  
  I can't to see included esp-files with turning on WYSIWYG display of
  included images. 
  
  The command " \ps_command "gs" " exists in lyxrc. And gs exists too.
  And gs really works. But not in LyX WYSIWYG display...
  
  Could you give me the advance?
  
  Best regards,
  
  A.Berezhnoy
  
   
  
  

- End forwarded message -

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



msg17486/pgp0.pgp
Description: PGP signature


Re: Letter - address and right address

2002-02-13 Thread Kayvan A. Sylvan

On Wed, Feb 13, 2002 at 03:07:36PM +, marvin wrote:
> marvin writes:
> 
> > Rich Shepard writes:
> > 
> > > On Wed, 13 Feb 2002, marvin wrote:
> > > 
> > > > Follow-up...This is becoming annoying.
> > > > There is a conflict between the NOTE at the end of the signature and what
> > > > the tutorial says.
> > > > 
> > > > The note says   "This field MUST come before the "opening field!""
> > > 
> > > Marvin,
> > > 
> > >   Don't trust the note. When the template presents a position for the
> > > signature block, use it. When you print your letter the signature will,
> > > indeed, be at the bottom along the left margin.
> > > 
> > > Rich
> > 
> > Can we keep this on the list please.  These conflicts have to be resolved
> > a.k.a. fixed.
> > 
> > Yes, but there is a conflict between between the note and the tutorial. 
> > Further, IF you do move signature into it`s normal position, it doesn`t
> > print or appear I the view|anything at all.
> 
> How many people are on this list ?
> 
> Seems pretty quiet.
> 
> Anyone else have any opinions on this thread, to wit, discrepancies, bugs,
> or want to throw a few barbs, swords, phasor beams my way.

I only throw barbs at true whiners, not people (like you) who are willing
to improve things by good bug reports or by actual code.

The problem is most likely with latex2html and will require a manual edit
of your final HTML output.

---Kayvan

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



msg17372/pgp0.pgp
Description: PGP signature


Re: Release date for LyX 1.2 ? Full AMS support in the math panel ?

2002-02-12 Thread Kayvan A. Sylvan

On Tue, Feb 12, 2002 at 07:01:21PM +0200, Robin Turner wrote:
> On Tuesday 12 February 2002 15:31, Jean-Marc Lasgouttes wrote:
> 
> >
> > Also, you can find daily cvs builds for linux at
> > ftp.sylvan.com/pub/lyx/devel.
> >
> > JMarc
> 
> And very nice it is too.  Make sure you have egcs or the equivalent 
> installed, though, or it won't run.  Thanks to Kayvan for making life 
> easier for us lazy types who can't be bothered with CVS!
> 
> Robin

I'm glad people are finding it useful.

There's also a daily tarball and the src.rpm there for those who want to 
rebuild for their system.

---Kayvan

[[ Available for consulting work. http://www.sylvan.com/~kayvan/Resume.html ]]
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



Re: math symbols

2002-02-11 Thread Kayvan A. Sylvan

On Mon, Feb 11, 2002 at 09:25:08AM +0100, Andre Poenitz wrote:
> On Sat, Feb 09, 2002 at 06:46:50PM -0800, MH wrote:
> > I'm running LyX on Windows 2000 and Linux.  Everything works great, except
> > it's missing a few math symbols, such as $\succ$ and $\Longrightarrow$.
> > These show up on the mathpanel fine, but when I either write them down in
> > math mode or insert them directly mathpanel, they show up only as \succ, the
> > latex code.  It does that in both windows and linux.  Is it a font problem
> > or is LyX not supporting those symbols? 
> 
> Up to 1.1.6fix4 it is a LyX problem, with 1.2.0cvs it is a font problem.
> 
> > I looked it up in the mail archives but didn't find anything.
> 
> Very recently there was a message by Dekel Tsur explaining the process of
> getting the 'new fonts' setup properly.
> 
> Andre'
> 
> -- 
> André Pönitz .. [EMAIL PROTECTED]

Is this what you are looking for?

Date: Sat, 9 Feb 2002 21:52:53 +0200
From: Dekel Tsur <[EMAIL PROTECTED]>
To: Joao Luis Meloni Assirati <[EMAIL PROTECTED]>,
LyX devel <[EMAIL PROTECTED]>
Subject: Re: Symbol for \hbar.
Reply-To: Dekel Tsur <[EMAIL PROTECTED]>  
Mail-Followup-To: Joao Luis Meloni Assirati <[EMAIL PROTECTED]>,
LyX devel <[EMAIL PROTECTED]>
In-Reply-To: <[EMAIL PROTECTED]>; from
+Joao Luis Meloni Assirati on Sat, Feb 09, 2002 at 05:22:18PM -0200
Organization: Tel Aviv University
 
On Sat, Feb 09, 2002 at 05:22:18PM -0200, Joao Luis Meloni Assirati wrote:
> It would be really nice to have a WYSIWYM representation for \hbar. I
> could convince at least 2 people to use lyx if this feature was present.
> 
> (last time I showed lyx to them they complayned the lack of \hbar and
> amsmath. Amsmath is solved now with 1.2.0, but they are too niggard...)
> 
> Is it too late to ask for it to be in 1.2.0?

Support for \hbar and other symbols has been in 1.2.0 for a long time
(it actually supports every latex+amsmath symbol).

Try the following
cd lyx-devel/lib
./create_fonts_dir
xset fp+ `pwd`/fonts
xset fp rehash
../lyx




Re: Problems reimporting exported documents

2002-02-06 Thread Kayvan A. Sylvan

On Wed, Feb 06, 2002 at 04:36:31PM -0700, Mario Parra wrote:
> "Kayvan A. Sylvan" wrote:
> 
> > How about this solution?
> >
> > Keep a copy of your LaTeX file that you send to your advisor, then
> > when you get his changed copy, use "diff -c" to look at the changes
> > he actually made and manually (with the help of cut and paste) edit
> > your LyX file to reflect those changes.
> >
> >
> 
> Thanks Kayvan,
> 
> That sounds like a good temporary solution until something better is found.
> Should I submit a bug report? I think this is a serious bug, but maybe it is
> just me because it affects my work :)
> 
> -Mario

Yes, you can submit a bug report, but I think there are other
bug reports about the round-trip conversion process (LyX -> LaTeX -> LyX).

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



msg17207/pgp0.pgp
Description: PGP signature


  1   2   3   4   >