Re: change bars and 1.3.6

2005-07-29 Thread Martin A. Hansen
excellent! an upgraded patch!

i am in the middle of testing a patch made by angus, but i am having
issues - and while these remain unresolved i was not going to upload
the patch to the wiki. i shall test jane's patch to see if that takes
care of my issues.

and angus, nice axe-swinging!


martin


On 28/07/05, Angus Leeming <[EMAIL PROTECTED]> wrote:
> 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
> 
>


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

2005-07-29 Thread Jean-Pierre Chretien

>>Date: Fri, 29 Jul 2005 07:26:26 +0100
>>From: Roy Schestowitz <[EMAIL PROTECTED]>
>>To: lyx-users@lists.lyx.org
>>Subject: Re: How to export a lyx document to a latex document?

>>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 is an old message.

lyx -e latex foo.lyx
works without needing a gui since 1.3.2, AFAIR,
and clobbers foo.tex if it exists..

Using LyXWin, call it from a console after adding Program Files/LyX/bin
to the path.

-- 
Jean-Pierre




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

2005-07-29 Thread Jean-Pierre Chretien

>>Using LyXWin, call it from a console after adding Program Files/LyX/bin
>>to the path.
Sorry, this is misleading:
C:\Program Files\LyX\bin or D:\Program Files\LyX\bin or whatever dir you choose 
to install LyX.

-- 
Jean-Pierre



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

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

> 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.

Fine. Then there is no LyX problem and your TeX installation is OK, too.

> If you don't have any other graphics inserted 
> via lyx, then you may have to explicitly add \usepackage{graphicx} in
> the preamble (?).

Yes.

> 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.

It simply looks like pgf is not using [EMAIL PROTECTED] Please file this as a 
bug
to the author of pgf. IMHO all LaTeX packages that include some external
stuff should honour [EMAIL PROTECTED] And if it does not use it it should be
documented.
The documentation says that "\includegraphics is designed better than
pgfbaseimage", but some examplkes of the advantages would be nice.


Georg



Re: Lyx 1.3.6 and Debian Sarge

2005-07-29 Thread Georg Baum
Gerhard Lindel wrote:

> Hello George, I used your instructions on
> http://wiki.lyx.org/LyX/Linux  and it runs in a shell. There is only one
> deb. in the parent-directory and one cannot install it:

This is probbaly the result of the build error below.

> I send as an attachment the last few lines of the shell-output. Perhaps
> it may be
> helpfull.

It looks like something went wrong during the build, process. Unfortunately
I cannot help here. It works flawlessly on my machine (which is basically
sarge but with updated qt and kde, so a .deb created by me would be useless
for others)


Georg



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

2005-07-29 Thread Uwe Stöhr

sylvain zorman schrieb:


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,


You started LyX by clicking on a LyX-file in the explorer, right?
Starting LyXWin 1.3.5 this way disables every export - a nasty bug fixed 
in LyXWin 1.3.6.
Start LyX from Windows Start menu or by clicking on lyx.exe and export 
should work fine.


Note that LyX's LaTeX output is not easy to read for humans, so expect 
that your collegues don't like it.


regards Uwe


digest

2005-07-29 Thread treefox
hello
would it be possible to put the subject line of every contribution in the
digest version apart or in bold? this would much help finding the right message.
thanks and best regards,
marco (switzerland)
--
Guggerstrasse 17
CH-8702 Zollikon
Schweiz-Suisse-Switzerland
Telefon +41-44-391-3705
Telefax +41-44-391-3779
Mobilfon +41-76-335-3705



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

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

>>
>>But I still have no clue on why the pgf-thing failed.
> 
> 
> It simply looks like pgf is not using [EMAIL PROTECTED] Please file this as a 
> bug
> to the author of pgf. IMHO all LaTeX packages that include some external
> stuff should honour [EMAIL PROTECTED] And if it does not use it it should be
> documented.

Well I discovered a "todo" file in the official pgf-distribution on ctan
which says:
"9) Honor \graphicspath command."

Is that the same thing?

> The documentation says that "\includegraphics is designed better than
> pgfbaseimage", but some examplkes of the advantages would be nice.
> 
No idea here.


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

2005-07-29 Thread Jean-Pierre Chretien

>>Date: Fri, 29 Jul 2005 12:15:43 +0200
>>From: Sven Schreiber <[EMAIL PROTECTED]>
>>To: Georg Baum <[EMAIL PROTECTED]>
>>CC: lyx-users@lists.lyx.org
>>Subject: Re: [workaround] Re: relative paths & beamer & temp directory: 
>>possible?
>>X-MailScanner: Found to be clean
>>
>>Georg Baum wrote:
>>

But I still have no clue on why the pgf-thing failed.
>>> 
>>> 
>>> It simply looks like pgf is not using [EMAIL PROTECTED] Please file this as 
>>> a bug
>>> to the author of pgf. IMHO all LaTeX packages that include some external
>>> stuff should honour [EMAIL PROTECTED] And if it does not use it it should be
>>> documented.
>>
>>Well I discovered a "todo" file in the official pgf-distribution on ctan
>>which says:
>>"9) Honor \graphicspath command."
>>
>>Is that the same thing?

->find /usr/local/TeX/texmf-dist/tex -type f -exec grep -l '[EMAIL PROTECTED]' 
{} \;
/usr/local/TeX/texmf-dist/tex/plain/plgraph/miniltx.tex
/usr/local/TeX/texmf-dist/tex/latex/base/latex.ltx
/usr/local/TeX/texmf-dist/tex/latex/base/latexbug.tex
/usr/local/TeX/texmf-dist/tex/latex/base/ltxcheck.tex
/usr/local/TeX/texmf-dist/tex/latex/base/texsys.cfg
/usr/local/TeX/texmf-dist/tex/latex/graphics/graphics.sty
/usr/local/TeX/texmf-dist/tex/latex/ltxmisc/import.sty
/usr/local/TeX/texmf-dist/tex/latex/pdfpages/pdfpages.sty
/usr/local/TeX/texmf-dist/tex/latex/ppower4/mpmulti.sty
/usr/local/TeX/texmf-dist/tex/latex/jurabib/jurabib.sty
/usr/local/TeX/texmf-dist/tex/latex/beamer/multimedia/xmpmulti.sty
/usr/local/TeX/texmf-dist/tex/latex/fink/fink.sty
/usr/local/TeX/texmf-dist/tex/latex/ncctools/nccpic.sty
/usr/local/TeX/texmf-dist/tex/latex/polyglot/polyglot.sty

shown no reference to pgf (unless you access it via beamer ??)
Seems a confirmation of a missing feature.

-- 
Jean-Pierre



Convert XML to LYX

2005-07-29 Thread Daniel
   Hello,

 Apologies by my poor English.
 
 I have a xml file as following:

   
   
 Instruction 1 
 Daniel 
 29 - 07 - 2005 

  bla bla bla bla .


  1.- bla bla bla 
  2.- bla bla bla 
  3.- bla bla bla 
  ...


  [1] .
  [2] .

   

 And I would convert this file to a lyx file. The lyx file should be
something as following:

...
...
\layout Title
Instruction 1

\layout Author
Daniel

\layout Date
29 - 07 - 2005

\layout Section
Objective

\layout Standard
bla bla bla bla .

...
...


 Somebody can tell me some clue to do this conversion.

 Thanks.

  Daniel.




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

2005-07-29 Thread Jean-Marc Lasgouttes
> "Sven" == Sven Schreiber <[EMAIL PROTECTED]> writes:

Sven> Well I discovered a "todo" file in the official pgf-distribution
Sven> on ctan which says: "9) Honor \graphicspath command."

Sven> Is that the same thing?

Yes.

Jmarc


Re: Convert XML to LYX

2005-07-29 Thread Georg Baum
Daniel wrote:

>Hello,
> 
>  Apologies by my poor English.
>  
>  I have a xml file as following:
> 
>  And I would convert this file to a lyx file. The lyx file should be
> something as following:

The easiest method is probably to create a small python script. Use one of
the python XML parsers for reading (see
http://docs.python.org/lib/markup.html) and the LyX.py class from lyx2lyx
for writing the .lyx file. You still need to do some work by hand, but
LyX.py knows about some things, e.g. the header.


Georg



Safe to exchange Lyx documents between Mac and Linux/PC?

2005-07-29 Thread Janus Sandsgaard
I am working on a LyX document on a Linux PC, but from time to time I need to 
work on a laptop. It is safe to move my document between LyX on Mac OSX (or 
WinXP) and Linux? Does the OSX version support NatBib?

Janus

-- 
Roskilde University, Denmark.
Department of Technology and Social Science.
International Development Studies.
ESST - Society, Science and Technology in Europe.


Re: Safe to exchange Lyx documents between Mac and Linux/PC?

2005-07-29 Thread Georg Baum
Janus Sandsgaard wrote:

> I am working on a LyX document on a Linux PC, but from time to time I need
> to work on a laptop. It is safe to move my document between LyX on Mac OSX
> (or WinXP) and Linux?

Yes. Several people I know do this on a regular basis, and the file format
is the same.

> Does the OSX version support NatBib? 

As far as LyX is concerned: Yes.


Georg



Re: change bars and lyx 1.3.6

2005-07-29 Thread Jean-Marc Lasgouttes
> "Jane" == Jane McKean <[EMAIL PROTECTED]> writes:

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

Hello Jane,

Thanks for porting this patch. 

At the end of the wiki page, in the section ``Downgrading 1.4 files to
1.3 files with change tracking enabled'', Jose' describes how to patch
lyx2lyx so that LyX 1.4 files with change tracking can be read in LyX
1.3.6 with the patch applied. We decided not to apply this change for
official lyx 1.3.6 for obvious reasons, but I think you should add
that to your patch.

JMarc


LyX 1.3.6 uninstaller wipes out everything

2005-07-29 Thread shokie Q R dookie R
Dear LyX-users,

I have just installed the new LyX 1.3.6 on WinXP. Due to my playing
around with it, i had to reinstall it. I have a habbit to uninstall the
old version first. The thing is, when I installed Perl, Image Magick and
the rest, I put everything under C:/LyX/ so that each programme path is
something like:

C:/LyX/Perl
C:/LyX/ghostscipt and etc.

The problem comes when i only want to uninstall LyX, but not the rest.
The uninstaller that comes with LyX1.3.6 just deletes everything in that
folder... :( Which means I have to do everything from scratch again
(except MiKTeX which I put in a different folder as C:/MikTeX. 

Maybe it is good to give a warning on the Lyx website to warn people
about the function of this lyx uninstaller? 

Thanks to everybody who have worked hard on developing LyX. I'm trying
to 'convert' those Word$ users to LyX for many years now... haha!

Sorry about the repetitive use of 'install' and 'uninstall'... Maybe I
need another cup of coffee... :P. Have a great weekend!

Best regards,
Shokie



___ICQ - 
You get the message, anywhere!Get it @ http://www.icq.com"; 
target=new>http://www.icq.com 

Re: Safe to exchange Lyx documents between Mac and Linux/PC?

2005-07-29 Thread Roy Schestowitz

Quoting Georg Baum <[EMAIL PROTECTED]>:


Janus Sandsgaard wrote:


I am working on a LyX document on a Linux PC, but from time to time I need
to work on a laptop. It is safe to move my document between LyX on Mac OSX
(or WinXP) and Linux?


Yes. Several people I know do this on a regular basis, and the file format
is the same.


Does the OSX version support NatBib?


As far as LyX is concerned: Yes.


Georg


I have done this with Windows and Linux very many times in the past, even with
large and complex documents. Never did I encounter a conflict, even when
version numbers of LyX varied slightly.

Hope it helps,

Roy

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



Re: LyX 1.3.6 uninstaller wipes out everything

2005-07-29 Thread Angus Leeming
shokie Q R dookie R wrote:
> I have just installed the new LyX 1.3.6 on WinXP. Due to my playing
> around with it, i had to reinstall it. I have a habbit to uninstall
> the old version first. The thing is, when I installed Perl, Image
> Magick and the rest, I put everything under C:/LyX/ so that each
> programme path is something like:
> 
> C:/LyX/Perl
> C:/LyX/ghostscipt and etc.
> 
> The problem comes when i only want to uninstall LyX, but not the
> rest. The uninstaller that comes with LyX1.3.6 just deletes
> everything in that folder... :( Which means I have to do everything
> from scratch again (except MiKTeX which I put in a different folder
> as C:/MikTeX.
> 
> Maybe it is good to give a warning on the Lyx website to warn people
> about the function of this lyx uninstaller?

Thanks for the report. This is now bug 1958
http://bugzilla.lyx.org/show_bug.cgi?id=1958
Angus




Re: Safe to exchange Lyx documents between Mac and Linux/PC?

2005-07-29 Thread Janus Sandsgaard
On Friday 29 July 2005 13:16, Georg Baum wrote:

> Yes. Several people I know do this on a regular basis, and the file format
> is the same.

Perfect. I am quite paranoid when it comes to my thesis (deadline is getting 
closer) and was afraid that OSX and Linux uses different character encodings 
in text files or somethings like that (no, I do not understand much about 
what is going on under the hood). Will try it out.

>> Does the OSX version support NatBib? 
>As far as LyX is concerned: Yes.

Nice. Just learned to love Natbib. :-) Should I install any additional 
packages, except what is already mentioned on the Wiki page 
(http://wiki.lyx.org/LyX/Mac)?

Janus

-- 
Roskilde University, Denmark.
Department of Technology and Social Science.
International Development Studies.
ESST - Society, Science and Technology in Europe.


Re: Safe to exchange Lyx documents between Mac and Linux/PC?

2005-07-29 Thread Bennett Helm

On Jul 29, 2005, at 9:38 AM, Janus Sandsgaard wrote:


Nice. Just learned to love Natbib. :-) Should I install any additional
packages, except what is already mentioned on the Wiki page
(http://wiki.lyx.org/LyX/Mac)?


Those are the ones I know about; feel free to add more if you  
discover any.


Bennett



Re: Safe to exchange Lyx documents between Mac and Linux/PC?

2005-07-29 Thread Roy Schestowitz

Quoting Janus Sandsgaard:


On Friday 29 July 2005 13:16, Georg Baum wrote:


Yes. Several people I know do this on a regular basis, and the file format
is the same.


Perfect. I am quite paranoid when it comes to my thesis (deadline is getting
closer) and was afraid that OSX and Linux uses different character encodings
in text files or somethings like that (no, I do not understand much about
what is going on under the hood). Will try it out.


Does the OSX version support NatBib?

As far as LyX is concerned: Yes.


Nice. Just learned to love Natbib. :-) Should I install any additional
packages, except what is already mentioned on the Wiki page
(http://wiki.lyx.org/LyX/Mac)?


If you want a template that will make a good starting point for a 
thesis, please

let me know. Be aware that it adheres to the British standards, so you might
have to mess about with it. If you are already in the process of forging your
text content onto LyX, then let this offer pass... but do send me a message if
you have an interest as I do not know of any existing public templates 
as such.


Roy

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



[Fwd: Re: Convert XML to LYX]

2005-07-29 Thread John O'Gorman

--- Begin Message ---

Recent Linux distributions (e.g. SuSE 9.1 +, Redhat 8+) have good
utilities for processing XSLT.

XSLT is the W3C standard for transforming XML into other formats.

I attach a file which does not do your job exactly but can easily be
cloned to do so.

To use it:
xsltproc rep2lyx.xsl yourfile.xml | sed s '/^  *//' > outfile.lyx

You will need to change the tagnames in the xsl file to match the tags
in your xml format. 

regards
John O'Gorman

On Fri, 2005-07-29 at 22:29, Daniel wrote:
>Hello,
> 
>  Apologies by my poor English.
>  
>  I have a xml file as following:
> 
>
>
>  Instruction 1 
>  Daniel 
>  29 - 07 - 2005 
> 
>   bla bla bla bla .
> 
> 
>   1.- bla bla bla 
>   2.- bla bla bla 
>   3.- bla bla bla 
>   ...
> 
> 
>   [1] .
>   [2] .
> 
>
> 
>  And I would convert this file to a lyx file. The lyx file should be
> something as following:
> 
> ...
> ...
> \layout Title
> Instruction 1
> 
> \layout Author
> Daniel
> 
> \layout Date
> 29 - 07 - 2005
> 
> \layout Section
> Objective
> 
> \layout Standard
> bla bla bla bla .
> 
> ...
> ...
> 
> 
>  Somebody can tell me some clue to do this conversion.
> 
>  Thanks.
> 
>   Daniel.
> 
> 
> 
--- End Message ---

http://www.w3.org/1999/XSL/Transform";
>














  
  \layout Section



  
  \the_end




\layout Standard
\align center

\begin_inset  Tabular



  

  left
  left
  right

  
  

  

 

  


   

  


  

  
\begin_inset Text

\layout Standard


\end_inset


 

  
\begin_inset Text

\layout Standard


\end_inset



   
  
  



\end_inset 




  
  
  



  
  
  



   
\begin_inset Text

\layout Standard




\end_inset





#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default







tex2lyx Mac undefined symbols

2005-07-29 Thread Saul Gelfand

Hello,

I downloaded tex2lyx_MacOSX_21Jul05.zip which expanded to a directory 
LyX which I then moved to /Applications (there wasnt any installation 
package or Makefile so I assumed this was all that was necessary with 
this precompiled binary). When I run tex2lyx from the command line, I 
get undefined references to symbols it expects to find in 
/usr/lib/libSystem.B.dylib:


dyld: tex2lyx Undefined symbols:
tex2lyx undefined reference to _btowc expected to be defined in 
/usr/lib/libSystem.B.dylib
tex2lyx undefined reference to _iswctype expected to be defined in 
/usr/lib/libSystem.B.dylib
tex2lyx undefined reference to _mbsrtowcs expected to be defined in 
/usr/lib/libSystem.B.dylib
tex2lyx undefined reference to _towlower expected to be defined in 
/usr/lib/libSystem.B.dylib
tex2lyx undefined reference to _towupper expected to be defined in 
/usr/lib/libSystem.B.dylib
tex2lyx undefined reference to _wcscoll expected to be defined in 
/usr/lib/libSystem.B.dylib
tex2lyx undefined reference to _wcsftime expected to be defined in 
/usr/lib/libSystem.B.dylib
tex2lyx undefined reference to _wcslen expected to be defined in 
/usr/lib/libSystem.B.dylib
tex2lyx undefined reference to _wcsrtombs expected to be defined in 
/usr/lib/libSystem.B.dylib
tex2lyx undefined reference to _wcsxfrm expected to be defined in 
/usr/lib/libSystem.B.dylib

tex2lyx undefined reference to Trace/BPT trap

Then tex2lyx crashes. I thought maybe there were some libraries which 
were installed but not linked so I added some directories to the 
DYLD_LIBRARY_PATH environment variable, but it didnt change anything. 
I am running 10.2.8. Any ideas? Thanks


Saul Gelfand