Re: Heretical question?

2005-07-28 Thread Lars Gullik Bjønnes
Micha Feigin <[EMAIL PROTECTED]> writes:

>> Lyx also aims to be _fast_.  Lyx on an ancient computer still let you edit
>> effortlessly, with snappy writing and scrolling.  Try that with those 
>> other DTP
>> programs.  You may have a big computer - some people doesn't.  Final output
>> will be slow of course, but not the writing process!
>> 
>
| Actually I believe that it is partially possible. Have a look at the whizzytex
| package for emacs. It shows a DVI window that follows your text to show an
| (almost) realtime rendition of the text.

A patch to allow preview of single paragraphs in the same way as the
math preview will be accepted...

Or an "auto-update" patch that keeps the dvi in sync with the document
at all times, might also be accepted.

-- 
   Lgb



relative paths & beamer & temp directory: possible?

2005-07-28 Thread Sven Schreiber
Hi, is it possible to use relative paths (e.g. to graphics files) when
using the beamer class, and having checked the "use temporary directory"
in preferences?

More precisely, I am having the following problem (this is in 1.3.6 on
windows): To define a "logo" in beamer, I adapted some template and
inserted the following ERT at the top of the lyx doc:

\pgfdeclareimage[width=1.4cm]{goethe}{grafiken/goethe}
\logo{\pgfuseimage{goethe}}

And I have a "goethe.pdf" file in the "grafiken" directory below the
location of the lyx-file. This works only if I *don't* activate the
"temporary directory" thing. (And the relative path thing works outside
ERT; this success is new on windows, right? Great stuff, this 1.3.6!)

So does anybody have a workaround or solution, or what am I doing wrong?

Thanks for all hints&help,
Sven


Re: relative paths & beamer & temp directory: possible?

2005-07-28 Thread Georg Baum
Sven Schreiber wrote:

> And I have a "goethe.pdf" file in the "grafiken" directory below the
> location of the lyx-file. This works only if I *don't* activate the
> "temporary directory" thing. (And the relative path thing works outside
> ERT; this success is new on windows, right? Great stuff, this 1.3.6!)
> 
> So does anybody have a workaround or solution, or what am I doing wrong?

You are doing nothing wrong. This is probably bug 1751
http://bugzilla.lyx.org/show_bug.cgi?id=1751

Does the .tex file in the temporary directory contain something like

[EMAIL PROTECTED]

? Does the absolute name of your working directory contain spaces?


Georg



Re: Paste external

2005-07-28 Thread Georg Baum
[EMAIL PROTECTED] wrote:

> Thanks to everyone for the help.  Coverting linebreaks from Mac style to
> UNIX style does the trick (though might it not be possible to program LyX
> to do this step for us?).

It is of course possible and should be done. Could you please file a bug
report on http://bugzilla.lyx.org? Otherwise it will be forgotten.


Georg



Excel data sheets

2005-07-28 Thread Geoffrey Lloyd
Hi

Has anyone had any experience or success in importing MS Excel data sheets into 
lyx?  Ideally they would appear as a table but I am not averse to importing 
them as a graphic.

Any ideas welcomed.

Geoff

Re: Excel data sheets

2005-07-28 Thread Jean-Pierre Chretien

>>From: "Geoffrey Lloyd" <[EMAIL PROTECTED]>
>>To: 
>>Subject: Excel data sheets
>>Date: Thu, 28 Jul 2005 14:06:23 +0100
>>
>>Hi
>>
>>Has anyone had any experience or success in importing MS Excel data sheets 
>>into lyx?  Ideally they would appear as a table but I 
am not averse to importing them as a graphic.

There is a tool in the contrib repository:
ftp://ftp.lyx.org/pub/lyx//contrib/tools/csv2lyx-1.0.0.tar.gz
csv means comma separated values, it's one of the native Excel (Gnumeric, 
OOcalc, ...) exports.

perl has a module Spreadsheet::ParseExcel which I use successfully for batch 
applications,


-- 
Jean-Pierre



Re: Excel data sheets

2005-07-28 Thread William F. Adams

On Jul 28, 2005, at 9:06 AM, Geoffrey Lloyd wrote:

Has anyone had any experience or success in importing MS Excel data 
sheets into lyx?  Ideally they would appear as a table but I am not 
averse to importing them as a graphic.


There's a tool for this here:

http://www.jam-software.com/freeware/index.shtml

Excel2Latex V2.0

William

--
William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com



Re: relative paths & beamer & temp directory: possible?

2005-07-28 Thread Sven Schreiber
Georg Baum wrote:

> 
> You are doing nothing wrong. This is probably bug 1751
> http://bugzilla.lyx.org/show_bug.cgi?id=1751
> 
> Does the .tex file in the temporary directory contain something like
> 
> [EMAIL PROTECTED]

Yes, the first lines are:

\batchmode
\makeatletter
[EMAIL PROTECTED]:/Svens/testlyxtemp//}}
\makeatother

(Are the double slashes at the end ok?)

> 
> ? Does the absolute name of your working directory contain spaces?

No, as you can see above. But it's on d: whereas lyx is on c:, if that
matters.

Thanks for your attention,
-Sven





Re: relative paths & beamer & temp directory: possible?

2005-07-28 Thread Georg Baum
Sven Schreiber wrote:

> Yes, the first lines are:
> 
> \batchmode
> \makeatletter
> [EMAIL PROTECTED]:/Svens/testlyxtemp//}}
> \makeatother
> 
> (Are the double slashes at the end ok?)

I don't know. Does it work when you remove one slash by hand and run latex
by hand?

> No, as you can see above. But it's on d: whereas lyx is on c:, if that
> matters.

That should not matter, but I don't know for sure. If [EMAIL PROTECTED] is set 
and
if it does not work with one slash (you could also try backslashes instead
of slashes it seems to be a problem of the tex system that you are using.
In this case please ask on the appropriate mailing list and report back the
result.


Georg



Re: relative paths & beamer & temp directory: possible?

2005-07-28 Thread Angus Leeming
Georg Baum wrote:
>> \batchmode
>> \makeatletter
>> [EMAIL PROTECTED]:/Svens/testlyxtemp//}}
>> \makeatother

>> (Are the double slashes at the end ok?)

> I don't know. Does it work when you remove one slash by hand and run
> latex by hand?

The double slash has particular significance to the kpsewhich search
engine, meaning expand paths with this prefix recursively.

Furthermore, LaTeX *requires* the use of '/' rather than '\' directory
separators.

Angus




[workaround] Re: relative paths & beamer & temp directory: possible?

2005-07-28 Thread Sven Schreiber
Georg Baum wrote:
> 
> That should not matter, but I don't know for sure. If [EMAIL PROTECTED] is 
> set and
> if it does not work with one slash (you could also try backslashes instead
> of slashes it seems to be a problem of the tex system that you are using.
> In this case please ask on the appropriate mailing list and report back the
> result.

Ok, I tried various things without success, and also noted that it's not
relative paths in ERT per se that are causing trouble, because ERTs with
\includegraphics{some-relative-path} work well for me also with
activated temp dir. So I thought, why not use good old includegraphics
in the first place? So I replaced these two ERT lines:

\pgfdeclareimage[width=1.4cm]{goethe}{grafiken/goethe}
\logo{\pgfuseimage{goethe}}

with the following ERT one-liner:

\logo{\includegraphics[width=1.4cm]{grafiken/goethe}}

...and that works for me. If you don't have any other graphics inserted
via lyx, then you may have to explicitly add \usepackage{graphicx} in
the preamble (?).
According to the beamer user guide, the only (?) advantage of pgf over
includegrpahics is this: "However, currently only pgf offers the ability
to include images that are partly transparent."

But I still have no clue on why the pgf-thing failed.
Cheers,
sven


change bars and lyx 1.3.6 - the second file

2005-07-28 Thread Jane McKean
Hi there:

Attached is second patch file, the bzip archive for the patch to 1.3.6
for change bars (with a couple of bug fixes).

See my previous message for the diff file and details about the patch. 

Thanks,
--jane

-- 
Jane McKean
Technical Documentation
PathScale, Inc.
[EMAIL PROTECTED]


lyx-1.3.6-changebars.diff.bz2
Description: application/bzip


change bars and lyx 1.3.6

2005-07-28 Thread Jane McKean
Hi there:

Thank you for the new release of LyX! I have two files that
incorporate change bars into the 1.3.6 release; a diff file and a bzip
file. We fixed a couple of bugs too. I tried to send this email with
both files attached and the file was bounced back for being too large,
then I tried just sending the diff file with this email and that was
bounced. 

So here's the email. I've sent the second file (bzip archive)
separately. And I'll send the diff file separately too. 

I apologize for the delay in posting this; we've been doing a few
releases of our own here at PathScale. I'll update the LyX Wiki
with this patch information very soon. 

Here's the description of the change bar patch and bug fixes:

> Change Tracking for LyX 1.3.6
> 
> This is an updated version of John Levon's change tracking patch,
> supporting LyX 1.3.6. Changes from the previous version include
> removal of #pragmas to match the rest of the LyX source base and a few
> bug fixes.
> 
> The most important fix is to the author name and e-mail entries.
> Previously, LyX would use the GECOS information without modification,
> which causes a problem in many environments in which values like the
> user's phone number and office number were included as a
> comma-separated list. Now we only use the text leading up to the first
> comma. Furthermore, the previous version would attempt to write a
> user_email value into the user's lyxrc, whether or not such a value
> existed. In the case in which it did not exist, undefined behavior
> would occur.
> 
> This change is important because it may change a user's author
> information. This could result in an additional author entry being
> created, which could cause confusion. To fix this, change the
> "\author" entry in *.lyx to match the new author name, or change
> user_name and user_email in .lyxrc to match the previous "\author"
> entry.
> 
> John Levon's page on his change tracking patch can be found here:
> http://www.devel.lyx.org/changetracking.php3
> 
> It is discussed in the LyX wiki here:
> http://wiki.lyx.org/Tips/ChangeTrackingLyx1-3-2
> 
> It requires Erich Fruestueck's "dvipost" package, which can be found
> here: http://freshmeat.net/projects/dvipost/

Many thanks for LyX and all your good work,

Jane McKean  <[EMAIL PROTECTED]>
Jeremy Brown <[EMAIL PROTECTED]>
PathScale, Inc.

-- 
Jane McKean
Technical Documentation
PathScale, Inc.
[EMAIL PROTECTED]
Phone: 650-934-8079
Fax: 650-428-1969



Trouble sending patches for change bars

2005-07-28 Thread Jane McKean
Hi there:

I'm having trouble sending the uncompressed diff file to this email
address. I'm going to try compressing it and send it again, and then
post it to the Wiki.

thanks,

--jane


-- 
Jane McKean
Technical Documentation
PathScale, Inc.
[EMAIL PROTECTED]



change bars and 1.3.6

2005-07-28 Thread Jane McKean
Hi there:

I've managed to upload both files and the patch description to the Wiki:
http://wiki.lyx.org/Tips/ChangeTrackingLyx1-3-2

Scroll down to "Change bars and 1.3.6" for a look.

Again, many thanks,
--jane



Re: change bars and 1.3.6

2005-07-28 Thread Angus Leeming
Jane McKean wrote:
> Hi there:
> I've managed to upload both files and the patch description to the Wiki:
> http://wiki.lyx.org/Tips/ChangeTrackingLyx1-3-2
> 
> Scroll down to "Change bars and 1.3.6" for a look.

Thanks a million, Jane. However, whilst the patch is fantastic, I thought
that the wiki page had degenerated into an incoherent ramble. So, I took
an axe to it and re-wrote it. My hope is that new users will find it
enticing and existing users will find it useful ;-)

-- 
Angus



Defaults

2005-07-28 Thread Matthew Cohen
There are two tasks I find myself performing over and over again, and  
I'm wondering if they can be automated or set as defaults in LyX.   
The first is centering the "paragraph" in a float.  I can't for the  
life of me figure out under what circumstances I would want a figure  
or a table to be anything but centered, and even if there were  
occasions when I would, I don't get why this is the default setting.   
Is there any way to change this?


Second, I don't particularly like the way the borders are handled in  
the default setting for "insert tabular material" in LyX.  In  
everything I write, I like to have a border above and below the first  
row, and nowhere else.  While this is pretty easy to change, of  
course, it gets tedious to do it multiple times.  Is there anyway to  
make it so that LyX does this automatically, rather than the current  
default of borders everywhere, and two borders separating the first  
and second lines?


Matt



Re: change bars and 1.3.6

2005-07-28 Thread Jane McKean
Angus:

Your rewrite of the Wiki page is beautiful! Thank you so much. Much,
much better; really improved the content. Well done. 

Thanks!
--jane



How to export a lyx document to a latex document?

2005-07-28 Thread sylvain zorman

Hi,
I have Lyx1.3.5 on windows XP.
I am interested in exporting a Lyx documents to latex documents, making 
me able to work with my colleague who works with latex.

I have tried to do : file->export-> Latex ; but nothing happened.
Any help is welcome,
Thanks
Sylvain



Re: How to export a lyx document to a latex document?

2005-07-28 Thread Paul Smith
On 7/29/05, sylvain zorman <[EMAIL PROTECTED]> wrote:
> I have tried to do : file->export-> Latex ; but nothing happened.

file->export-> Latex creates a file with the name of your LyX file but
with the extension tex, and this file is placed in the directory where
your LyX file is. Cannot you find it?

Paul


Re: How to export a lyx document to a latex document?

2005-07-28 Thread Roy Schestowitz

Quoting Paul Smith <[EMAIL PROTECTED]>:


On 7/29/05, sylvain zorman <[EMAIL PROTECTED]> wrote:

I have tried to do : file->export-> Latex ; but nothing happened.


file->export-> Latex creates a file with the name of your LyX file but
with the extension tex, and this file is placed in the directory where
your LyX file is. Cannot you find it?

Paul


If it does not work, consider re-installing LyX, MiKTeX and the rest...

You may also be interested in a command line utility, e.g.
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg04333.html

This probably works along the lines of latex2html or lyx2html, which I use
regularly. In fact, I found latex2html to be superior to the standard LyX HTML
export.

Roy


--
Roy S. Schestowitz
http://Schestowitz.com