Re: Different program listing styles

2008-03-17 Thread Jürgen Spitzmüller
Dominik Böhm wrote:
   Please do not use 1.6.0svn for any serious work. It is simply not ready.

 I have been using 1.6.0svn since 1,5 months for my diploma thesis and
 it has been working really great, yet. This program listing problem is
 the first serious problem that I am experiencing with 1.6.0svn. So,
 I would say for me is it ready, but maybe I am not using all the
 features.

Nevertheless: It's a development version, and even if it's working rather well 
currently, it might be break and become unusable and eat your docs the next 
hour, if some developer is in the mood (or has a bad day). So do not use it 
for serious work such as a diploma thesis, unless you really think your 
diploma thesis is worthless.

Jürgen


Problems installing LyX

2008-03-17 Thread Juha Meriluoto

Hello!

I've been experiencing some problems while trying to upgrade my LyX 
installation.  I'm currently using version 1.5.3 (alternate installer 
3.21).  When I try to update to, or install, either version 1.5.4 (alt. 
installer 3.22) or 1.6svn (alt. installer 4.10) the installation and 
configuration proceed with no errors, but launching LyX gives
The application failed to initialize properly (0xc0150002).  My 
environment is WinXP SP2.

Any ideas what I'm missing?

 - Juha


Re: Different program listing styles

2008-03-17 Thread Dominik Böhm
On Mon, Mar 17, 2008 at 8:04 AM, Jürgen Spitzmüller
[EMAIL PROTECTED] wrote:
 Dominik Böhm wrote:
 Please do not use 1.6.0svn for any serious work. It is simply not ready.
  
   I have been using 1.6.0svn since 1,5 months for my diploma thesis and
   it has been working really great, yet. This program listing problem is
   the first serious problem that I am experiencing with 1.6.0svn. So,
   I would say for me is it ready, but maybe I am not using all the
   features.

  Nevertheless: It's a development version, and even if it's working rather 
 well
  currently, it might be break and become unusable and eat your docs the next
  hour, if some developer is in the mood (or has a bad day). So do not use it
  for serious work such as a diploma thesis, unless you really think your
  diploma thesis is worthless.

I am aware of the fact that there are risks involved using LyX for
serious work. But rest assured that my files are safe: I use an
SVN-server for my thesis and upload my work to the server twice a day.
Thus, I might loose about 4 hours of it at maximum. Further I upload
my files each time I update LyX to make sure that apparent bugs don't
ruin my work.

With other words I am well prepared for the day LyX stops working: I
can switch back to my last version of LyX at any time. I know that
there might also be changes in the LyX file format. If that happens
and I won't be able to adapt my files to the new format, I will still
be able to finish my thesis, as my current version works very well and
I have to hand it in by the end of March.

Due to the time frame stepping back to 1.5.4 is no option for me:
there are already too many changes in the file format regarding the
layout modules for example.

Dominik


Re: Problems installing LyX

2008-03-17 Thread Joost Verburg

Juha Meriluoto wrote:
I've been experiencing some problems while trying to upgrade my LyX 
installation.  I'm currently using version 1.5.3 (alternate installer 
3.21).  When I try to update to, or install, either version 1.5.4 (alt. 
installer 3.22) or 1.6svn (alt. installer 4.10) the installation and 
configuration proceed with no errors, but launching LyX gives
The application failed to initialize properly (0xc0150002).  My 
environment is WinXP SP2.

Any ideas what I'm missing?


Did you try the official installer?

Joost



Re: Problems installing LyX

2008-03-17 Thread Uwe Stöhr

Juha Meriluoto schrieb:

I've been experiencing some problems while trying to upgrade my LyX 
installation.  I'm currently using version 1.5.3 (alternate installer 
3.21).  When I try to update to, or install, either version 1.5.4 (alt. 
installer 3.22) or 1.6svn (alt. installer 4.10) the installation and 
configuration proceed with no errors, but launching LyX gives
The application failed to initialize properly (0xc0150002).  My 
environment is WinXP SP2.


Have you used the update installer variant to get LyX 1.5.4? Or does the problem also occur when you 
use the small or complete installer variant?


This has been reported also by other users, but I can't reproduce the problem. For the meantime, 
please use the standard LyX installer.

I'll do some more tests later today.

regards Uwe


Re: Problems installing LyX

2008-03-17 Thread Juha Meriluoto

Uwe Stöhr wrote:

Juha Meriluoto schrieb:

I've been experiencing some problems while trying to upgrade my LyX 
installation.  I'm currently using version 1.5.3 (alternate installer 
3.21).  When I try to update to, or install, either version 1.5.4 
(alt. installer 3.22) or 1.6svn (alt. installer 4.10) the installation 
and configuration proceed with no errors, but launching LyX gives
The application failed to initialize properly (0xc0150002).  My 
environment is WinXP SP2.


Have you used the update installer variant to get LyX 1.5.4? Or does the 
problem also occur when you use the small or complete installer variant?


This has been reported also by other users, but I can't reproduce the 
problem. For the meantime, please use the standard LyX installer.

I'll do some more tests later today.

regards Uwe



This problem has occurred both with the update and complete variants. 
As version 1.5.3 is working fine for me, I think I'll give version 
upgrading a rest for now.


 - Juha


Re: Layout and Class Files on Windows Distribution

2008-03-17 Thread Bob Lounsbury
On Sun, Mar 16, 2008 at 10:32 PM, William R. Buckley [EMAIL PROTECTED] wrote:
  After I have come to understand these tools a little better, I will try to
  give a critique from the perspective of a WYSIWYG user.  To the
  moment, I am encouraged with what I have found, though much of
  the process of annotating source text seems at first use to be a bit
  tedious compared to the process as implemented within Ventura
  Publisher.  For instance, I can create a text style that applies to
  individual paragraphs.  So, one style for normal text, another for quotes,
  and still others for other types of content.  Having to manually add
  ERT to each paragraph is one example of such tedious acts being
  implementable in more effective means.

You should check out:
http://www.troubleshooters.com/linux/lyx/index.htm. Steve is a regular
on the mailing list and has talked about creating text styles for LyX
and the website has documentation on how to accomplish this.

  LyX doesn't seem to give me access to all the LaTeX source material
  in the view source window.  This is one reason that I like to modify the
  .tex file, and then import into LyX.  The use of templates shows great
  potential but, it is not as easy to use as the concept suggests.

It should there is a toggle button to show 'Complete Source' which
should show you the 'complete source' :-}.

  wrb

Cheers,
/Bob


Why do Inkscape drawing pixellate in LyX?

2008-03-17 Thread Steve Litt
Hi all,

I have three Inkscape drawings. They pixellate very badly when I export them 
to .png and then include them in my LyX written book. When I export them to 
PDF they are pixellated but not as badly. Both text and curves pixellate.

These three drawings are simple cartoons, created by me.

What's the best way to put an Inkcape drawn drawing into LyX?

Thanks

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


Re: Why do Inkscape drawing pixellate in LyX?

2008-03-17 Thread Uwe Stöhr

Steve Litt schrieb:


What's the best way to put an Inkcape drawn drawing into LyX?


Insert the SVG-images directly to LyX and use pdflatex to create a PDF. For this you either have to 
define a SVG to PDF converter using Inkscape, or use the alternate LyX installer that already do 
this for you, in case you have Inkscape installed.


regards Uwe


Re: Why do Inkscape drawing pixellate in LyX?

2008-03-17 Thread Ethan Metsger
On Mon, 17 Mar 2008 08:28:38 -0400, Steve Litt [EMAIL PROTECTED]  
wrote:



What's the best way to put an Inkcape drawn drawing into LyX?


There are a couple ways to do this that will probably get you where you  
want to go.


First, you can change the DPI settings in the export dialog in Inkscape--I  
think the default is 90dpi, which is passable for screen resolutions but  
otherwise unacceptable.  If you're going to be printing the document, I'd  
set it at at least 300 (which will increase the filesize considerably,  
unfortunately).  600 is better.


Second, you could save the file as another type, like EPS; LyX may be able  
to import this directly (it's been awhile since I've tried; I usually use  
pdflatex, and I think that it won't import EPS files).  If it cannot, you  
can open the EPS file in something like the Gimp, which will allow you to  
specify the resolution when you open the file; you can then export it to  
any LyX-compatible format.



Best,

Ethan ([EMAIL PROTECTED])
http://uppertank.net/ethanm/


parameters of the class

2008-03-17 Thread jean beney

Hello,

I am using a non-standard class designed for LaTeX by a book editor.
One of the differences with the class book is that the class has 
different optionnal parameters. But LyX always puts in the LaTeX file:

\documentclass[english,french]{otherbook}
which does not give the result I want.

Is there a way to prevent LyX from writing: [english,french]  ?

I must say that my document  has been declared as being totally in French.

Jean beney


OT: back up and revision control

2008-03-17 Thread Alan G Isaac
On Mon, 17 Mar 2008, Dominik Böhm apparently wrote:
 I use an SVN-server for my thesis and upload my work to 
 the server twice a day. 


I find this a great way to work on research papers, 
especially if they are collaborative.  Who is providing the 
SVN service? (I know of a couple free ones, but do not know  
their quality.) If it is publicly available, do you have any 
comments on it?

Thank you,
Alan Isaac




Re: GraphTeX

2008-03-17 Thread Alan G Isaac
This looks very interesting and powerful.
Some questions.

1. Is it not on CTAN? (If so, why?) By the way there is
   a name clash with a package on CTAN.  You might
   worry about that given your book title.

2. Does it use PGF or is PS required?  (Hoping for
   the former ...)

3. Does it have a standard LaTeX license?

Thank you,
Alan Isaac





Latex - LyX - Latex (trouble with accents)

2008-03-17 Thread Rudi Gaelzer
Hi.
I'm importing a Latex file that has accented letters written in the old 
encoding scheme (OT1) way: \'{a} \'{e} \'{\i} \c{c} \~{a}, etc.

I want to import this file into LyX, make the necessary changes and then 
export it back to Latex.

The problem is that almost all accented letters are automatically converted to 
the new encoding scheme (T1) (á é í ç ã, etc), but I'd like to have them 
still written in the old way.

What I tried to do is set the TeX encoding in Tools - Preferences... - 
Outputs - Latex to OT1 before importing the .tex file.  When I export the 
modified text back to Latex, the preamble has the following instructions:

\usepackage[OT1]{fontenc}
\usepackage[latin9]{inputenc}

as expected, but the accented letters in the text come out in the new 
encoding, insted of the old, as I wished.

Anyone knows of some workaround for this?

Thanks.
-- 
Rudi Gaelzer
Department of Physics
Institute of Physics and Mathematics
Federal University of Pelotas
BRAZIL
Registered linux user # 153741


Re: Why do Inkscape drawing pixellate in LyX?

2008-03-17 Thread Max
On 2008-03-17 13:28:38 +0100, Steve Litt 
[EMAIL PROTECTED] said:



Hi all,

I have three Inkscape drawings. They pixellate very badly when I export them
to .png and then include them in my LyX written book. When I export them to
PDF they are pixellated but not as badly. Both text and curves pixellate.


PNG is a bitmap-based format and not well suited for scaling. PDF or 
SVG are vector-based formats and are way better for scaling, the latter 
can theoretically be scaled any way you wish without loss of quality.




These three drawings are simple cartoons, created by me.

What's the best way to put an Inkcape drawn drawing into LyX?


There is a nice page on Inkscape and LyX in the wiki: 
http://wiki.lyx.org/Tips/UseInkscapeSVGImages
It works very well for me (though especially with fonts I have some 
difficulties sometimes but I guess thats because of the yet too bad 
port of Inkscape in OS X).




Thanks

SteveT


Regards,

Max







Re: Why do Inkscape drawing pixellate in LyX?

2008-03-17 Thread Steve Litt
Steve Litt asked:
  What's the best way to put an Inkcape drawn drawing into LyX?

On Monday 17 March 2008 08:44, Uwe Stöhr wrote:

 Insert the SVG-images directly to LyX and use pdflatex to create a PDF. For
 this you either have to define a SVG to PDF converter using Inkscape, or
 use the alternate LyX installer that already do this for you, in case you
 have Inkscape installed.

 regards Uwe

On Monday 17 March 2008 08:57, Ethan Metsger wrote:
 There are a couple ways to do this that will probably get you where you
 want to go.

 First, you can change the DPI settings in the export dialog in Inkscape--I
 think the default is 90dpi, which is passable for screen resolutions but
 otherwise unacceptable.  If you're going to be printing the document, I'd
 set it at at least 300 (which will increase the filesize considerably,
 unfortunately).  600 is better.

 Second, you could save the file as another type, like EPS; LyX may be able
 to import this directly (it's been awhile since I've tried; I usually use
 pdflatex, and I think that it won't import EPS files).  If it cannot, you
 can open the EPS file in something like the Gimp, which will allow you to
 specify the resolution when you open the file; you can then export it to
 any LyX-compatible format.

Thanks Uwe and Ethan,

First of all, for some reason Inkscape thought I didn't have Arial installed 
on my computer. I do, but the heck with it, I changed it to Century 
Schoolbook, and for better readability upped the font from 12 to 16. That in 
itself made the picture tolerable.

Ethan -- I tried your technique of exporting to a 300dpi .png, and like you 
said, the result was stunningly beautiful, and like you said, it really 
bloated the filesize.

Uwe -- I simply used the inkscape file within LyX, and it came out tolerable 
and a small filesize. Interestingly, I had absolutely no svg to pdf 
converter, so LyX must have something built in. Interestingly, the 
Inkscape .svg format has other junk inside to store Inkscape metadata, but 
still rendered within both LyX 1.4.2 and LyX 1.5.3.

Uwe -- if I added a SVG converter, to what should I make it convert? One would 
think that the longer the picture stayed vector based, the better things 
would be.

So I have to decide whether to bloat the file to reduce moderate pixellation 
on 3 or 4 pictures, and of course I'm still looking for a third alternative 
with the font beauty of 300dpi .png and the small filesize of .svg.

Thanks

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Re: Why do Inkscape drawing pixellate in LyX?

2008-03-17 Thread Uwe Stöhr

Steve Litt schrieb:

Uwe -- I simply used the inkscape file within LyX, and it came out tolerable 
and a small filesize. Interestingly, I had absolutely no svg to pdf 
converter, so LyX must have something built in.


This works, because ImageMagick supports SVG nowadays. But the result is not really brilliant here 
on my PC.



Uwe -- if I added a SVG converter, to what should I make it convert?


Inkscape. Attached is my preferences file to see how the converter is defined. You can copy the 
converters directly to your preferences file, restart LyX, and it should work.


regards Uwe
### This file is part of
### 
###  LyX, The Document Processor
###
###  Copyright 1995 Matthias Ettrich
###  Copyright 1995-2001 The LyX Team.
###
### 

# This file is written by LyX, if you want to make your own
# modifications you should do them from inside LyX and save


#
# MISC SECTION ##
#

\preview_scale_factor 1.0

#
# SCREEN  FONTS SECTION 
#

\screen_zoom 120

#
# COLOR SECTION ###
#


#
# PRINTER SECTION ###
#


#
# EXPORT SECTION 
#


#
# TEX SECTION ###
#


#
# FILE SECTION ##
#


#
# PLAIN TEXT EXPORT SECTION ##
#


#
# SPELLCHECKER SECTION ##
#


#
# LANGUAGE SUPPORT SECTION ##
#


#
# 2nd MISC SUPPORT SECTION ##
#


#
# FORMATS SECTION ##
#

\format pdf3 pdf PDF (dvipdfm) m PDFViewWin  document,vector
\format pdf2 pdf PDF (pdflatex) F PDFViewWin  document,vector
\format pdf pdf PDF (ps2pdf) P PDFViewWin  document,vector
\format svg svg SVG  inkscape --file=$$i inkscape --file=$$i 
vector

#
# CONVERTERS SECTION ##
#

\converter svg png inkscape --without-gui --file=$$i --export-png=$$o 
\converter svg pdf inkscape --file=$$i --export-area-drawing --without-gui 
--export-pdf=$$o 
\converter svg pdf2 inkscape --file=$$i --export-area-drawing 
--without-gui --export-pdf=$$o 

#
# COPIERS SECTION ##
#



Re: parameters of the class

2008-03-17 Thread Uwe Stöhr

jean beney schrieb:


I am using a non-standard class designed for LaTeX by a book editor.
One of the differences with the class book is that the class has 
different optionnal parameters. But LyX always puts in the LaTeX file:

\documentclass[english,french]{otherbook}
which does not give the result I want.


This doesn't harm and are the needed options for the babel package that does the translation of 
words like Part. All given document class options can be used by the LaTeX-packages that are 
loaded in the preamble.
To use the documentclass options you need, simply insert them comma separated in the field Options 
in the menu Document-Settings-Document Class.



I must say that my document  has been declared as being totally in French.


Then you have somewhere a text part that is marked as English.

regards Uwe


Using a network printer

2008-03-17 Thread Dave Wood
How do I set up Lyx to use a network printer? At the moment I can print by
viewing as pdf in kpdf which sees my printer. I would like to be able to
print direct from Lyx though, as I sometimes want to print old files and
not have to preview them first.

I have tried using the cups printer name, the server address:port etc to no
avail.

-- 
The ladies men admire, I've heard,
Would shudder at a wicked word.
Their candle gives a single light;
They'd rather stay at home at night.
They do not keep awake till three,
Nor read erotic poetry.
They never sanction the impure,
Nor recognize an overture.
They shrink from powders and from paints ...
So far, I've had no complaints.
-- Dorothy Parker



Re: PNG background

2008-03-17 Thread dfc04

Hello again,


Now PNG does support transparency, so you should be able to get this to
work -- but only if you use pdflatex to output PDF as your finished
product. Printing directly from LyX generates PostScript, which is then
printed.


This is exactly what I wanted to achieve - thank you both ever so much  
for your suggestions! Much easier than I expected it to be too somehow.


Kind regards,
Dawid 'Another Happy User' Ciecierski



Re: Using a network printer

2008-03-17 Thread christian . ridderstrom

On Mon, 17 Mar 2008, Dave Wood wrote:

How do I set up Lyx to use a network printer? At the moment I can print 
by viewing as pdf in kpdf which sees my printer. I would like to be able 
to print direct from Lyx though, as I sometimes want to print old files 
and not have to preview them first.


I have tried using the cups printer name, the server address:port etc to 
no avail.


I might have the same problem (Ubuntu), where other programs see the 
network printer, but not LyX. I can of course provide the details if 
that'll help.


/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: OT: back up and revision control

2008-03-17 Thread Andre Poenitz
On Mon, Mar 17, 2008 at 10:20:12AM -0400, Alan G Isaac wrote:
 On Mon, 17 Mar 2008, Dominik Böhm apparently wrote:
  I use an SVN-server for my thesis and upload my work to 
  the server twice a day. 
 
 I find this a great way to work on research papers, 
 especially if they are collaborative.  Who is providing the 
 SVN service? (I know of a couple free ones, but do not know  
 their quality.) If it is publicly available, do you have any 
 comments on it?

You can setup one by yourself. You basically need a more or
less permanent internet connection (or at least at the times
you and your coworkers need it). Bandwidth should be a
non-issue for thesis sized projects...

Andre'


Lyx and SVN logs

2008-03-17 Thread B. Bogart
Hello all,

I've asked this on the SVN mailing list but no one had an answer.

Does anyone have any recommendations on how to import an SVN logfile
into Lyx for inclusion in a thesis? I've dumped my SVN log to a xml file
but I have no idea how I would convert it for use in LyX (short of
writing my own software to do so).

Has anyone already solved this problem? Any off the shelf tools for
converting XML to an arbitrary format like LaTeX?

Any ideas of recommendations appreciated.

Thanks for your time.
B. Bogart


Authors in preamble using \twoauthors

2008-03-17 Thread Phillip Ferguson
Hey all,

 

Yet again I am having some issues with the spconf.sty.

 

This time it's the authors.

In spconf.sty the comments for \twoauthors are:

 

- use \twoauthors{author1}{address1}{author2}{address2}

% for two (or more) authors with two separate addresses

%- note: no need for \author nor \date

%- optional: can use \thanks{xx} within \name or \twoauthors,

% asterisk is not printed after name nor in footnote

%- optional: can use \sthanks{xx} after each name within \name or

% \twoauthors if different thanks for each author,

% footnote symbol will appear for each name and footnote

 

 

 And it defines \twoauthors:

 

[EMAIL PROTECTED]

   [EMAIL PROTECTED]@[EMAIL PROTECTED]

{\em #1} \\ \\

#2\relax

   \end{tabular}\hskip [EMAIL PROTECTED]@{}}

{\em #3} \\ \\

#4\relax

\end{tabular}}}

 

I have no idea of latex but I guess that this must set the layout and
parameters for only 2 author areas where only one address is allowed. My
problem is that I need 3 authors with three distinct addresses.

Can I modify this piece of code to spread 3 authors evenly across the page?
I suspect I may have to reduce the text size to accommodate all 3.

 

Does anyone know how to set this up correctly, or by doing this am I
violating the template?

 

Thanks

 

PDF

 



Re: Lyx and SVN logs

2008-03-17 Thread Bo Peng
  Has anyone already solved this problem? Any off the shelf tools for
  converting XML to an arbitrary format like LaTeX?

Why do you use XML format? svn log gives you plain text output, which
can be easily inserted as, e.g. listings child document.

Bo


Re: Problems installing LyX 1.5.4

2008-03-17 Thread Uwe Stöhr

Juha Meriluoto schrieb:

I've been experiencing some problems while trying to upgrade my LyX 
installation.  I'm currently using version 1.5.3 (alternate installer 
3.21).  When I try to update to, or install, either version 1.5.4 (alt. 
installer 3.22) or 1.6svn (alt. installer 4.10) the installation and 
configuration proceed with no errors, but launching LyX gives
The application failed to initialize properly (0xc0150002).  My 
environment is WinXP SP2.


Dear Juha and Tuomo,

I tested the installer again on 3 different machines. One is a very old Win2000 machine and it works 
even there fine.
I have only one idea what goes wrong. To be sure that I'm right, could you do me a favor and test if 
it works when you install LyX using this installer:


http://prdownload.berlios.de/lyxwininstall/LyX-154-3-22-AltInstaller-Small-Test.exe

Please uninstall the existing LyX 1.5 before testing. (keep MiKTeX as it is)

If LyX then still doesn't start, copy the attached file to the same folder where the lyx.exe is. 
Then it should definitively work.


This would help me much.

thanks in advance and best regards
Uwe
?xml version=1.0 encoding=UTF-8 standalone=yes?
!-- Copyright © 1981-2001 Microsoft Corporation --
assembly xmlns=urn:schemas-microsoft-com:asm.v1 manifestVersion=1.0
noInheritable/
assemblyIdentity 
type=win32 
name=Microsoft.VC80.CRT 
version=8.0.50608.0 
processorArchitecture=x86 
publicKeyToken=1fc8b3b9a1e18e3b
/
file name=msvcr80.dll/
file name=msvcp80.dll/
file name=msvcm80.dll/
/assembly


Re: Lyx and SVN logs

2008-03-17 Thread Tim Michelsen



Any ideas of recommendations appreciated.

Maybe you want have a look at the listings:
Listings - http://wiki.lyx.org/LyX/NewInLyX15#toc11



Re: Why do Inkscape drawing pixellate in LyX?

2008-03-17 Thread Steve Litt
On Monday 17 March 2008 11:49, Max wrote:

 There is a nice page on Inkscape and LyX in the wiki:
 http://wiki.lyx.org/Tips/UseInkscapeSVGImages
 It works very well for me (though especially with fonts I have some
 difficulties sometimes but I guess thats because of the yet too bad
 port of Inkscape in OS X).

Thanks Max,

That page is very handy, although in my case adding converters didn't seem to 
change anything from the initial setting of no SVG converters.

Anyway, I added content to the bottom that page showing how to size your 
Inkscape drawing for optimal results. If I made mistakes, could someone 
please correct them?

Thanks

SteveT
 
Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


Re: Latex - LyX - Latex (trouble with accents)

2008-03-17 Thread Enrico Forestieri
Rudi Gaelzer writes:

 Hi.
 I'm importing a Latex file that has accented letters written in the old 
 encoding scheme (OT1) way: \'{a} \'{e} \'{\i} \c{c} \~{a}, etc.
 
 I want to import this file into LyX, make the necessary changes and then 
 export it back to Latex.
 
 The problem is that almost all accented letters are automatically converted 
 to 
 the new encoding scheme (T1) (á é í ç ã, etc), but I'd like to have them 
 still written in the old way.
 
 What I tried to do is set the TeX encoding in Tools - Preferences... - 
 Outputs - Latex to OT1 before importing the .tex file.  When I export the 
 modified text back to Latex, the preamble has the following instructions:
 
 \usepackage[OT1]{fontenc}
 \usepackage[latin9]{inputenc}
 
 as expected, but the accented letters in the text come out in the new 
 encoding, insted of the old, as I wished.
 
 Anyone knows of some workaround for this?


In Document-Settings-Language uncheck Use language's default encoding.

This should enable the Encoding: combo box beneath.

Using the combo, choose ascii as the encoding and then try exporting.

-- 
Enrico



Re: Why do Inkscape drawing pixellate in LyX?

2008-03-17 Thread Dominik Böhm
On Mon, Mar 17, 2008 at 4:49 PM, Max [EMAIL PROTECTED] wrote:
  There is a nice page on Inkscape and LyX in the wiki:
  http://wiki.lyx.org/Tips/UseInkscapeSVGImages
  It works very well for me (though especially with fonts I have some
  difficulties sometimes but I guess thats because of the yet too bad
  port of Inkscape in OS X).

I sometimes also have problems with fonts, but figured out, that
everything looks exactly like in Inkscape if I change all the text
elements to a font like Arial. When I pick Sans as a font instead,
the pdf export seems to use some Courier (typewriter)-font that looks
really ugly.

Maybe inkscape doesn't include the right fonts into the exported
eps-file sometimes, but I don't really care as Arial works fine.


Re: Problems installing LyX 1.5.4

2008-03-17 Thread Joost Verburg

Uwe Stöhr wrote:
If LyX then still doesn't start, copy the attached file to the same 
folder where the lyx.exe is. Then it should definitively work.


Are you still using the previous version of Visual C++? The current CRT 
version is 9.0.21022.8.


Joost



Re: Why do Inkscape drawing pixellate in LyX?

2008-03-17 Thread Steve Litt
On Monday 17 March 2008 19:26, Dominik Böhm wrote:
 On Mon, Mar 17, 2008 at 4:49 PM, Max [EMAIL PROTECTED] 
wrote:
   There is a nice page on Inkscape and LyX in the wiki:
   http://wiki.lyx.org/Tips/UseInkscapeSVGImages
   It works very well for me (though especially with fonts I have some
   difficulties sometimes but I guess thats because of the yet too bad
   port of Inkscape in OS X).

 I sometimes also have problems with fonts, but figured out, that
 everything looks exactly like in Inkscape if I change all the text
 elements to a font like Arial. When I pick Sans as a font instead,
 the pdf export seems to use some Courier (typewriter)-font that looks
 really ugly.

 Maybe inkscape doesn't include the right fonts into the exported
 eps-file sometimes, but I don't really care as Arial works fine.

I had the exact opposite problem. Arial didn't work -- Inkscape said it wasn't 
there, even though I installed Arial on my Mandriva Linux 2007 in the normal 
way.

SteveT


Re: Problems installing LyX 1.5.4

2008-03-17 Thread Uwe Stöhr

Joost Verburg schrieb:

Are you still using the previous version of Visual C++? The current CRT 
version is 9.0.21022.8.


I know and I ship the latest MSVC manifest file. What I attached was just for testing as either a 
dll or this file must cause the problem.


(The mail was not intended for lyx-users to avoid confusions)

regards Uwe


Re: Different program listing styles

2008-03-17 Thread Jürgen Spitzmüller
Dominik Böhm wrote:
   Please do not use 1.6.0svn for any serious work. It is simply not ready.

 I have been using 1.6.0svn since 1,5 months for my diploma thesis and
 it has been working really great, yet. This program listing problem is
 the first serious problem that I am experiencing with 1.6.0svn. So,
 I would say for me is it ready, but maybe I am not using all the
 features.

Nevertheless: It's a development version, and even if it's working rather well 
currently, it might be break and become unusable and eat your docs the next 
hour, if some developer is in the mood (or has a bad day). So do not use it 
for serious work such as a diploma thesis, unless you really think your 
diploma thesis is worthless.

Jürgen


Problems installing LyX

2008-03-17 Thread Juha Meriluoto

Hello!

I've been experiencing some problems while trying to upgrade my LyX 
installation.  I'm currently using version 1.5.3 (alternate installer 
3.21).  When I try to update to, or install, either version 1.5.4 (alt. 
installer 3.22) or 1.6svn (alt. installer 4.10) the installation and 
configuration proceed with no errors, but launching LyX gives
The application failed to initialize properly (0xc0150002).  My 
environment is WinXP SP2.

Any ideas what I'm missing?

 - Juha


Re: Different program listing styles

2008-03-17 Thread Dominik Böhm
On Mon, Mar 17, 2008 at 8:04 AM, Jürgen Spitzmüller
[EMAIL PROTECTED] wrote:
 Dominik Böhm wrote:
 Please do not use 1.6.0svn for any serious work. It is simply not ready.
  
   I have been using 1.6.0svn since 1,5 months for my diploma thesis and
   it has been working really great, yet. This program listing problem is
   the first serious problem that I am experiencing with 1.6.0svn. So,
   I would say for me is it ready, but maybe I am not using all the
   features.

  Nevertheless: It's a development version, and even if it's working rather 
 well
  currently, it might be break and become unusable and eat your docs the next
  hour, if some developer is in the mood (or has a bad day). So do not use it
  for serious work such as a diploma thesis, unless you really think your
  diploma thesis is worthless.

I am aware of the fact that there are risks involved using LyX for
serious work. But rest assured that my files are safe: I use an
SVN-server for my thesis and upload my work to the server twice a day.
Thus, I might loose about 4 hours of it at maximum. Further I upload
my files each time I update LyX to make sure that apparent bugs don't
ruin my work.

With other words I am well prepared for the day LyX stops working: I
can switch back to my last version of LyX at any time. I know that
there might also be changes in the LyX file format. If that happens
and I won't be able to adapt my files to the new format, I will still
be able to finish my thesis, as my current version works very well and
I have to hand it in by the end of March.

Due to the time frame stepping back to 1.5.4 is no option for me:
there are already too many changes in the file format regarding the
layout modules for example.

Dominik


Re: Problems installing LyX

2008-03-17 Thread Joost Verburg

Juha Meriluoto wrote:
I've been experiencing some problems while trying to upgrade my LyX 
installation.  I'm currently using version 1.5.3 (alternate installer 
3.21).  When I try to update to, or install, either version 1.5.4 (alt. 
installer 3.22) or 1.6svn (alt. installer 4.10) the installation and 
configuration proceed with no errors, but launching LyX gives
The application failed to initialize properly (0xc0150002).  My 
environment is WinXP SP2.

Any ideas what I'm missing?


Did you try the official installer?

Joost



Re: Problems installing LyX

2008-03-17 Thread Uwe Stöhr

Juha Meriluoto schrieb:

I've been experiencing some problems while trying to upgrade my LyX 
installation.  I'm currently using version 1.5.3 (alternate installer 
3.21).  When I try to update to, or install, either version 1.5.4 (alt. 
installer 3.22) or 1.6svn (alt. installer 4.10) the installation and 
configuration proceed with no errors, but launching LyX gives
The application failed to initialize properly (0xc0150002).  My 
environment is WinXP SP2.


Have you used the update installer variant to get LyX 1.5.4? Or does the problem also occur when you 
use the small or complete installer variant?


This has been reported also by other users, but I can't reproduce the problem. For the meantime, 
please use the standard LyX installer.

I'll do some more tests later today.

regards Uwe


Re: Problems installing LyX

2008-03-17 Thread Juha Meriluoto

Uwe Stöhr wrote:

Juha Meriluoto schrieb:

I've been experiencing some problems while trying to upgrade my LyX 
installation.  I'm currently using version 1.5.3 (alternate installer 
3.21).  When I try to update to, or install, either version 1.5.4 
(alt. installer 3.22) or 1.6svn (alt. installer 4.10) the installation 
and configuration proceed with no errors, but launching LyX gives
The application failed to initialize properly (0xc0150002).  My 
environment is WinXP SP2.


Have you used the update installer variant to get LyX 1.5.4? Or does the 
problem also occur when you use the small or complete installer variant?


This has been reported also by other users, but I can't reproduce the 
problem. For the meantime, please use the standard LyX installer.

I'll do some more tests later today.

regards Uwe



This problem has occurred both with the update and complete variants. 
As version 1.5.3 is working fine for me, I think I'll give version 
upgrading a rest for now.


 - Juha


Re: Layout and Class Files on Windows Distribution

2008-03-17 Thread Bob Lounsbury
On Sun, Mar 16, 2008 at 10:32 PM, William R. Buckley [EMAIL PROTECTED] wrote:
  After I have come to understand these tools a little better, I will try to
  give a critique from the perspective of a WYSIWYG user.  To the
  moment, I am encouraged with what I have found, though much of
  the process of annotating source text seems at first use to be a bit
  tedious compared to the process as implemented within Ventura
  Publisher.  For instance, I can create a text style that applies to
  individual paragraphs.  So, one style for normal text, another for quotes,
  and still others for other types of content.  Having to manually add
  ERT to each paragraph is one example of such tedious acts being
  implementable in more effective means.

You should check out:
http://www.troubleshooters.com/linux/lyx/index.htm. Steve is a regular
on the mailing list and has talked about creating text styles for LyX
and the website has documentation on how to accomplish this.

  LyX doesn't seem to give me access to all the LaTeX source material
  in the view source window.  This is one reason that I like to modify the
  .tex file, and then import into LyX.  The use of templates shows great
  potential but, it is not as easy to use as the concept suggests.

It should there is a toggle button to show 'Complete Source' which
should show you the 'complete source' :-}.

  wrb

Cheers,
/Bob


Why do Inkscape drawing pixellate in LyX?

2008-03-17 Thread Steve Litt
Hi all,

I have three Inkscape drawings. They pixellate very badly when I export them 
to .png and then include them in my LyX written book. When I export them to 
PDF they are pixellated but not as badly. Both text and curves pixellate.

These three drawings are simple cartoons, created by me.

What's the best way to put an Inkcape drawn drawing into LyX?

Thanks

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


Re: Why do Inkscape drawing pixellate in LyX?

2008-03-17 Thread Uwe Stöhr

Steve Litt schrieb:


What's the best way to put an Inkcape drawn drawing into LyX?


Insert the SVG-images directly to LyX and use pdflatex to create a PDF. For this you either have to 
define a SVG to PDF converter using Inkscape, or use the alternate LyX installer that already do 
this for you, in case you have Inkscape installed.


regards Uwe


Re: Why do Inkscape drawing pixellate in LyX?

2008-03-17 Thread Ethan Metsger
On Mon, 17 Mar 2008 08:28:38 -0400, Steve Litt [EMAIL PROTECTED]  
wrote:



What's the best way to put an Inkcape drawn drawing into LyX?


There are a couple ways to do this that will probably get you where you  
want to go.


First, you can change the DPI settings in the export dialog in Inkscape--I  
think the default is 90dpi, which is passable for screen resolutions but  
otherwise unacceptable.  If you're going to be printing the document, I'd  
set it at at least 300 (which will increase the filesize considerably,  
unfortunately).  600 is better.


Second, you could save the file as another type, like EPS; LyX may be able  
to import this directly (it's been awhile since I've tried; I usually use  
pdflatex, and I think that it won't import EPS files).  If it cannot, you  
can open the EPS file in something like the Gimp, which will allow you to  
specify the resolution when you open the file; you can then export it to  
any LyX-compatible format.



Best,

Ethan ([EMAIL PROTECTED])
http://uppertank.net/ethanm/


parameters of the class

2008-03-17 Thread jean beney

Hello,

I am using a non-standard class designed for LaTeX by a book editor.
One of the differences with the class book is that the class has 
different optionnal parameters. But LyX always puts in the LaTeX file:

\documentclass[english,french]{otherbook}
which does not give the result I want.

Is there a way to prevent LyX from writing: [english,french]  ?

I must say that my document  has been declared as being totally in French.

Jean beney


OT: back up and revision control

2008-03-17 Thread Alan G Isaac
On Mon, 17 Mar 2008, Dominik Böhm apparently wrote:
 I use an SVN-server for my thesis and upload my work to 
 the server twice a day. 


I find this a great way to work on research papers, 
especially if they are collaborative.  Who is providing the 
SVN service? (I know of a couple free ones, but do not know  
their quality.) If it is publicly available, do you have any 
comments on it?

Thank you,
Alan Isaac




Re: GraphTeX

2008-03-17 Thread Alan G Isaac
This looks very interesting and powerful.
Some questions.

1. Is it not on CTAN? (If so, why?) By the way there is
   a name clash with a package on CTAN.  You might
   worry about that given your book title.

2. Does it use PGF or is PS required?  (Hoping for
   the former ...)

3. Does it have a standard LaTeX license?

Thank you,
Alan Isaac





Latex - LyX - Latex (trouble with accents)

2008-03-17 Thread Rudi Gaelzer
Hi.
I'm importing a Latex file that has accented letters written in the old 
encoding scheme (OT1) way: \'{a} \'{e} \'{\i} \c{c} \~{a}, etc.

I want to import this file into LyX, make the necessary changes and then 
export it back to Latex.

The problem is that almost all accented letters are automatically converted to 
the new encoding scheme (T1) (á é í ç ã, etc), but I'd like to have them 
still written in the old way.

What I tried to do is set the TeX encoding in Tools - Preferences... - 
Outputs - Latex to OT1 before importing the .tex file.  When I export the 
modified text back to Latex, the preamble has the following instructions:

\usepackage[OT1]{fontenc}
\usepackage[latin9]{inputenc}

as expected, but the accented letters in the text come out in the new 
encoding, insted of the old, as I wished.

Anyone knows of some workaround for this?

Thanks.
-- 
Rudi Gaelzer
Department of Physics
Institute of Physics and Mathematics
Federal University of Pelotas
BRAZIL
Registered linux user # 153741


Re: Why do Inkscape drawing pixellate in LyX?

2008-03-17 Thread Max
On 2008-03-17 13:28:38 +0100, Steve Litt 
[EMAIL PROTECTED] said:



Hi all,

I have three Inkscape drawings. They pixellate very badly when I export them
to .png and then include them in my LyX written book. When I export them to
PDF they are pixellated but not as badly. Both text and curves pixellate.


PNG is a bitmap-based format and not well suited for scaling. PDF or 
SVG are vector-based formats and are way better for scaling, the latter 
can theoretically be scaled any way you wish without loss of quality.




These three drawings are simple cartoons, created by me.

What's the best way to put an Inkcape drawn drawing into LyX?


There is a nice page on Inkscape and LyX in the wiki: 
http://wiki.lyx.org/Tips/UseInkscapeSVGImages
It works very well for me (though especially with fonts I have some 
difficulties sometimes but I guess thats because of the yet too bad 
port of Inkscape in OS X).




Thanks

SteveT


Regards,

Max







Re: Why do Inkscape drawing pixellate in LyX?

2008-03-17 Thread Steve Litt
Steve Litt asked:
  What's the best way to put an Inkcape drawn drawing into LyX?

On Monday 17 March 2008 08:44, Uwe Stöhr wrote:

 Insert the SVG-images directly to LyX and use pdflatex to create a PDF. For
 this you either have to define a SVG to PDF converter using Inkscape, or
 use the alternate LyX installer that already do this for you, in case you
 have Inkscape installed.

 regards Uwe

On Monday 17 March 2008 08:57, Ethan Metsger wrote:
 There are a couple ways to do this that will probably get you where you
 want to go.

 First, you can change the DPI settings in the export dialog in Inkscape--I
 think the default is 90dpi, which is passable for screen resolutions but
 otherwise unacceptable.  If you're going to be printing the document, I'd
 set it at at least 300 (which will increase the filesize considerably,
 unfortunately).  600 is better.

 Second, you could save the file as another type, like EPS; LyX may be able
 to import this directly (it's been awhile since I've tried; I usually use
 pdflatex, and I think that it won't import EPS files).  If it cannot, you
 can open the EPS file in something like the Gimp, which will allow you to
 specify the resolution when you open the file; you can then export it to
 any LyX-compatible format.

Thanks Uwe and Ethan,

First of all, for some reason Inkscape thought I didn't have Arial installed 
on my computer. I do, but the heck with it, I changed it to Century 
Schoolbook, and for better readability upped the font from 12 to 16. That in 
itself made the picture tolerable.

Ethan -- I tried your technique of exporting to a 300dpi .png, and like you 
said, the result was stunningly beautiful, and like you said, it really 
bloated the filesize.

Uwe -- I simply used the inkscape file within LyX, and it came out tolerable 
and a small filesize. Interestingly, I had absolutely no svg to pdf 
converter, so LyX must have something built in. Interestingly, the 
Inkscape .svg format has other junk inside to store Inkscape metadata, but 
still rendered within both LyX 1.4.2 and LyX 1.5.3.

Uwe -- if I added a SVG converter, to what should I make it convert? One would 
think that the longer the picture stayed vector based, the better things 
would be.

So I have to decide whether to bloat the file to reduce moderate pixellation 
on 3 or 4 pictures, and of course I'm still looking for a third alternative 
with the font beauty of 300dpi .png and the small filesize of .svg.

Thanks

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Re: Why do Inkscape drawing pixellate in LyX?

2008-03-17 Thread Uwe Stöhr

Steve Litt schrieb:

Uwe -- I simply used the inkscape file within LyX, and it came out tolerable 
and a small filesize. Interestingly, I had absolutely no svg to pdf 
converter, so LyX must have something built in.


This works, because ImageMagick supports SVG nowadays. But the result is not really brilliant here 
on my PC.



Uwe -- if I added a SVG converter, to what should I make it convert?


Inkscape. Attached is my preferences file to see how the converter is defined. You can copy the 
converters directly to your preferences file, restart LyX, and it should work.


regards Uwe
### This file is part of
### 
###  LyX, The Document Processor
###
###  Copyright 1995 Matthias Ettrich
###  Copyright 1995-2001 The LyX Team.
###
### 

# This file is written by LyX, if you want to make your own
# modifications you should do them from inside LyX and save


#
# MISC SECTION ##
#

\preview_scale_factor 1.0

#
# SCREEN  FONTS SECTION 
#

\screen_zoom 120

#
# COLOR SECTION ###
#


#
# PRINTER SECTION ###
#


#
# EXPORT SECTION 
#


#
# TEX SECTION ###
#


#
# FILE SECTION ##
#


#
# PLAIN TEXT EXPORT SECTION ##
#


#
# SPELLCHECKER SECTION ##
#


#
# LANGUAGE SUPPORT SECTION ##
#


#
# 2nd MISC SUPPORT SECTION ##
#


#
# FORMATS SECTION ##
#

\format pdf3 pdf PDF (dvipdfm) m PDFViewWin  document,vector
\format pdf2 pdf PDF (pdflatex) F PDFViewWin  document,vector
\format pdf pdf PDF (ps2pdf) P PDFViewWin  document,vector
\format svg svg SVG  inkscape --file=$$i inkscape --file=$$i 
vector

#
# CONVERTERS SECTION ##
#

\converter svg png inkscape --without-gui --file=$$i --export-png=$$o 
\converter svg pdf inkscape --file=$$i --export-area-drawing --without-gui 
--export-pdf=$$o 
\converter svg pdf2 inkscape --file=$$i --export-area-drawing 
--without-gui --export-pdf=$$o 

#
# COPIERS SECTION ##
#



Re: parameters of the class

2008-03-17 Thread Uwe Stöhr

jean beney schrieb:


I am using a non-standard class designed for LaTeX by a book editor.
One of the differences with the class book is that the class has 
different optionnal parameters. But LyX always puts in the LaTeX file:

\documentclass[english,french]{otherbook}
which does not give the result I want.


This doesn't harm and are the needed options for the babel package that does the translation of 
words like Part. All given document class options can be used by the LaTeX-packages that are 
loaded in the preamble.
To use the documentclass options you need, simply insert them comma separated in the field Options 
in the menu Document-Settings-Document Class.



I must say that my document  has been declared as being totally in French.


Then you have somewhere a text part that is marked as English.

regards Uwe


Using a network printer

2008-03-17 Thread Dave Wood
How do I set up Lyx to use a network printer? At the moment I can print by
viewing as pdf in kpdf which sees my printer. I would like to be able to
print direct from Lyx though, as I sometimes want to print old files and
not have to preview them first.

I have tried using the cups printer name, the server address:port etc to no
avail.

-- 
The ladies men admire, I've heard,
Would shudder at a wicked word.
Their candle gives a single light;
They'd rather stay at home at night.
They do not keep awake till three,
Nor read erotic poetry.
They never sanction the impure,
Nor recognize an overture.
They shrink from powders and from paints ...
So far, I've had no complaints.
-- Dorothy Parker



Re: PNG background

2008-03-17 Thread dfc04

Hello again,


Now PNG does support transparency, so you should be able to get this to
work -- but only if you use pdflatex to output PDF as your finished
product. Printing directly from LyX generates PostScript, which is then
printed.


This is exactly what I wanted to achieve - thank you both ever so much  
for your suggestions! Much easier than I expected it to be too somehow.


Kind regards,
Dawid 'Another Happy User' Ciecierski



Re: Using a network printer

2008-03-17 Thread christian . ridderstrom

On Mon, 17 Mar 2008, Dave Wood wrote:

How do I set up Lyx to use a network printer? At the moment I can print 
by viewing as pdf in kpdf which sees my printer. I would like to be able 
to print direct from Lyx though, as I sometimes want to print old files 
and not have to preview them first.


I have tried using the cups printer name, the server address:port etc to 
no avail.


I might have the same problem (Ubuntu), where other programs see the 
network printer, but not LyX. I can of course provide the details if 
that'll help.


/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: OT: back up and revision control

2008-03-17 Thread Andre Poenitz
On Mon, Mar 17, 2008 at 10:20:12AM -0400, Alan G Isaac wrote:
 On Mon, 17 Mar 2008, Dominik Böhm apparently wrote:
  I use an SVN-server for my thesis and upload my work to 
  the server twice a day. 
 
 I find this a great way to work on research papers, 
 especially if they are collaborative.  Who is providing the 
 SVN service? (I know of a couple free ones, but do not know  
 their quality.) If it is publicly available, do you have any 
 comments on it?

You can setup one by yourself. You basically need a more or
less permanent internet connection (or at least at the times
you and your coworkers need it). Bandwidth should be a
non-issue for thesis sized projects...

Andre'


Lyx and SVN logs

2008-03-17 Thread B. Bogart
Hello all,

I've asked this on the SVN mailing list but no one had an answer.

Does anyone have any recommendations on how to import an SVN logfile
into Lyx for inclusion in a thesis? I've dumped my SVN log to a xml file
but I have no idea how I would convert it for use in LyX (short of
writing my own software to do so).

Has anyone already solved this problem? Any off the shelf tools for
converting XML to an arbitrary format like LaTeX?

Any ideas of recommendations appreciated.

Thanks for your time.
B. Bogart


Authors in preamble using \twoauthors

2008-03-17 Thread Phillip Ferguson
Hey all,

 

Yet again I am having some issues with the spconf.sty.

 

This time it's the authors.

In spconf.sty the comments for \twoauthors are:

 

- use \twoauthors{author1}{address1}{author2}{address2}

% for two (or more) authors with two separate addresses

%- note: no need for \author nor \date

%- optional: can use \thanks{xx} within \name or \twoauthors,

% asterisk is not printed after name nor in footnote

%- optional: can use \sthanks{xx} after each name within \name or

% \twoauthors if different thanks for each author,

% footnote symbol will appear for each name and footnote

 

 

 And it defines \twoauthors:

 

[EMAIL PROTECTED]

   [EMAIL PROTECTED]@[EMAIL PROTECTED]

{\em #1} \\ \\

#2\relax

   \end{tabular}\hskip [EMAIL PROTECTED]@{}}

{\em #3} \\ \\

#4\relax

\end{tabular}}}

 

I have no idea of latex but I guess that this must set the layout and
parameters for only 2 author areas where only one address is allowed. My
problem is that I need 3 authors with three distinct addresses.

Can I modify this piece of code to spread 3 authors evenly across the page?
I suspect I may have to reduce the text size to accommodate all 3.

 

Does anyone know how to set this up correctly, or by doing this am I
violating the template?

 

Thanks

 

PDF

 



Re: Lyx and SVN logs

2008-03-17 Thread Bo Peng
  Has anyone already solved this problem? Any off the shelf tools for
  converting XML to an arbitrary format like LaTeX?

Why do you use XML format? svn log gives you plain text output, which
can be easily inserted as, e.g. listings child document.

Bo


Re: Problems installing LyX 1.5.4

2008-03-17 Thread Uwe Stöhr

Juha Meriluoto schrieb:

I've been experiencing some problems while trying to upgrade my LyX 
installation.  I'm currently using version 1.5.3 (alternate installer 
3.21).  When I try to update to, or install, either version 1.5.4 (alt. 
installer 3.22) or 1.6svn (alt. installer 4.10) the installation and 
configuration proceed with no errors, but launching LyX gives
The application failed to initialize properly (0xc0150002).  My 
environment is WinXP SP2.


Dear Juha and Tuomo,

I tested the installer again on 3 different machines. One is a very old Win2000 machine and it works 
even there fine.
I have only one idea what goes wrong. To be sure that I'm right, could you do me a favor and test if 
it works when you install LyX using this installer:


http://prdownload.berlios.de/lyxwininstall/LyX-154-3-22-AltInstaller-Small-Test.exe

Please uninstall the existing LyX 1.5 before testing. (keep MiKTeX as it is)

If LyX then still doesn't start, copy the attached file to the same folder where the lyx.exe is. 
Then it should definitively work.


This would help me much.

thanks in advance and best regards
Uwe
?xml version=1.0 encoding=UTF-8 standalone=yes?
!-- Copyright © 1981-2001 Microsoft Corporation --
assembly xmlns=urn:schemas-microsoft-com:asm.v1 manifestVersion=1.0
noInheritable/
assemblyIdentity 
type=win32 
name=Microsoft.VC80.CRT 
version=8.0.50608.0 
processorArchitecture=x86 
publicKeyToken=1fc8b3b9a1e18e3b
/
file name=msvcr80.dll/
file name=msvcp80.dll/
file name=msvcm80.dll/
/assembly


Re: Lyx and SVN logs

2008-03-17 Thread Tim Michelsen



Any ideas of recommendations appreciated.

Maybe you want have a look at the listings:
Listings - http://wiki.lyx.org/LyX/NewInLyX15#toc11



Re: Why do Inkscape drawing pixellate in LyX?

2008-03-17 Thread Steve Litt
On Monday 17 March 2008 11:49, Max wrote:

 There is a nice page on Inkscape and LyX in the wiki:
 http://wiki.lyx.org/Tips/UseInkscapeSVGImages
 It works very well for me (though especially with fonts I have some
 difficulties sometimes but I guess thats because of the yet too bad
 port of Inkscape in OS X).

Thanks Max,

That page is very handy, although in my case adding converters didn't seem to 
change anything from the initial setting of no SVG converters.

Anyway, I added content to the bottom that page showing how to size your 
Inkscape drawing for optimal results. If I made mistakes, could someone 
please correct them?

Thanks

SteveT
 
Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


Re: Latex - LyX - Latex (trouble with accents)

2008-03-17 Thread Enrico Forestieri
Rudi Gaelzer writes:

 Hi.
 I'm importing a Latex file that has accented letters written in the old 
 encoding scheme (OT1) way: \'{a} \'{e} \'{\i} \c{c} \~{a}, etc.
 
 I want to import this file into LyX, make the necessary changes and then 
 export it back to Latex.
 
 The problem is that almost all accented letters are automatically converted 
 to 
 the new encoding scheme (T1) (á é í ç ã, etc), but I'd like to have them 
 still written in the old way.
 
 What I tried to do is set the TeX encoding in Tools - Preferences... - 
 Outputs - Latex to OT1 before importing the .tex file.  When I export the 
 modified text back to Latex, the preamble has the following instructions:
 
 \usepackage[OT1]{fontenc}
 \usepackage[latin9]{inputenc}
 
 as expected, but the accented letters in the text come out in the new 
 encoding, insted of the old, as I wished.
 
 Anyone knows of some workaround for this?


In Document-Settings-Language uncheck Use language's default encoding.

This should enable the Encoding: combo box beneath.

Using the combo, choose ascii as the encoding and then try exporting.

-- 
Enrico



Re: Why do Inkscape drawing pixellate in LyX?

2008-03-17 Thread Dominik Böhm
On Mon, Mar 17, 2008 at 4:49 PM, Max [EMAIL PROTECTED] wrote:
  There is a nice page on Inkscape and LyX in the wiki:
  http://wiki.lyx.org/Tips/UseInkscapeSVGImages
  It works very well for me (though especially with fonts I have some
  difficulties sometimes but I guess thats because of the yet too bad
  port of Inkscape in OS X).

I sometimes also have problems with fonts, but figured out, that
everything looks exactly like in Inkscape if I change all the text
elements to a font like Arial. When I pick Sans as a font instead,
the pdf export seems to use some Courier (typewriter)-font that looks
really ugly.

Maybe inkscape doesn't include the right fonts into the exported
eps-file sometimes, but I don't really care as Arial works fine.


Re: Problems installing LyX 1.5.4

2008-03-17 Thread Joost Verburg

Uwe Stöhr wrote:
If LyX then still doesn't start, copy the attached file to the same 
folder where the lyx.exe is. Then it should definitively work.


Are you still using the previous version of Visual C++? The current CRT 
version is 9.0.21022.8.


Joost



Re: Why do Inkscape drawing pixellate in LyX?

2008-03-17 Thread Steve Litt
On Monday 17 March 2008 19:26, Dominik Böhm wrote:
 On Mon, Mar 17, 2008 at 4:49 PM, Max [EMAIL PROTECTED] 
wrote:
   There is a nice page on Inkscape and LyX in the wiki:
   http://wiki.lyx.org/Tips/UseInkscapeSVGImages
   It works very well for me (though especially with fonts I have some
   difficulties sometimes but I guess thats because of the yet too bad
   port of Inkscape in OS X).

 I sometimes also have problems with fonts, but figured out, that
 everything looks exactly like in Inkscape if I change all the text
 elements to a font like Arial. When I pick Sans as a font instead,
 the pdf export seems to use some Courier (typewriter)-font that looks
 really ugly.

 Maybe inkscape doesn't include the right fonts into the exported
 eps-file sometimes, but I don't really care as Arial works fine.

I had the exact opposite problem. Arial didn't work -- Inkscape said it wasn't 
there, even though I installed Arial on my Mandriva Linux 2007 in the normal 
way.

SteveT


Re: Problems installing LyX 1.5.4

2008-03-17 Thread Uwe Stöhr

Joost Verburg schrieb:

Are you still using the previous version of Visual C++? The current CRT 
version is 9.0.21022.8.


I know and I ship the latest MSVC manifest file. What I attached was just for testing as either a 
dll or this file must cause the problem.


(The mail was not intended for lyx-users to avoid confusions)

regards Uwe


Re: Different program listing styles

2008-03-17 Thread Jürgen Spitzmüller
Dominik Böhm wrote:
> >  Please do not use 1.6.0svn for any serious work. It is simply not ready.
>
> I have been using 1.6.0svn since 1,5 months for my diploma thesis and
> it has been working really great, yet. This program listing problem is
> the first "serious" problem that I am experiencing with 1.6.0svn. So,
> I would say for me is it ready, but maybe I am not using all the
> features.

Nevertheless: It's a development version, and even if it's working rather well 
currently, it might be break and become unusable and eat your docs the next 
hour, if some developer is in the mood (or has a bad day). So do not use it 
for serious work such as a diploma thesis, unless you really think your 
diploma thesis is worthless.

Jürgen


Problems installing LyX

2008-03-17 Thread Juha Meriluoto

Hello!

I've been experiencing some problems while trying to upgrade my LyX 
installation.  I'm currently using version 1.5.3 (alternate installer 
3.21).  When I try to update to, or install, either version 1.5.4 (alt. 
installer 3.22) or 1.6svn (alt. installer 4.10) the installation and 
configuration proceed with no errors, but launching LyX gives
"The application failed to initialize properly (0xc0150002)."  My 
environment is WinXP SP2.

Any ideas what I'm missing?

 - Juha


Re: Different program listing styles

2008-03-17 Thread Dominik Böhm
On Mon, Mar 17, 2008 at 8:04 AM, Jürgen Spitzmüller
<[EMAIL PROTECTED]> wrote:
> Dominik Böhm wrote:
>  > >  Please do not use 1.6.0svn for any serious work. It is simply not ready.
>  >
>  > I have been using 1.6.0svn since 1,5 months for my diploma thesis and
>  > it has been working really great, yet. This program listing problem is
>  > the first "serious" problem that I am experiencing with 1.6.0svn. So,
>  > I would say for me is it ready, but maybe I am not using all the
>  > features.
>
>  Nevertheless: It's a development version, and even if it's working rather 
> well
>  currently, it might be break and become unusable and eat your docs the next
>  hour, if some developer is in the mood (or has a bad day). So do not use it
>  for serious work such as a diploma thesis, unless you really think your
>  diploma thesis is worthless.

I am aware of the fact that there are risks involved using LyX for
serious work. But rest assured that my files are safe: I use an
SVN-server for my thesis and upload my work to the server twice a day.
Thus, I might loose about 4 hours of it at maximum. Further I upload
my files each time I update LyX to make sure that apparent bugs don't
ruin my work.

With other words I am well prepared for the day LyX stops working: I
can switch back to my last version of LyX at any time. I know that
there might also be changes in the LyX file format. If that happens
and I won't be able to adapt my files to the new format, I will still
be able to finish my thesis, as my current version works very well and
I have to hand it in by the end of March.

Due to the time frame stepping back to 1.5.4 is no option for me:
there are already too many changes in the file format regarding the
layout modules for example.

Dominik


Re: Problems installing LyX

2008-03-17 Thread Joost Verburg

Juha Meriluoto wrote:
I've been experiencing some problems while trying to upgrade my LyX 
installation.  I'm currently using version 1.5.3 (alternate installer 
3.21).  When I try to update to, or install, either version 1.5.4 (alt. 
installer 3.22) or 1.6svn (alt. installer 4.10) the installation and 
configuration proceed with no errors, but launching LyX gives
"The application failed to initialize properly (0xc0150002)."  My 
environment is WinXP SP2.

Any ideas what I'm missing?


Did you try the official installer?

Joost



Re: Problems installing LyX

2008-03-17 Thread Uwe Stöhr

Juha Meriluoto schrieb:

I've been experiencing some problems while trying to upgrade my LyX 
installation.  I'm currently using version 1.5.3 (alternate installer 
3.21).  When I try to update to, or install, either version 1.5.4 (alt. 
installer 3.22) or 1.6svn (alt. installer 4.10) the installation and 
configuration proceed with no errors, but launching LyX gives
"The application failed to initialize properly (0xc0150002)."  My 
environment is WinXP SP2.


Have you used the update installer variant to get LyX 1.5.4? Or does the problem also occur when you 
use the small or complete installer variant?


This has been reported also by other users, but I can't reproduce the problem. For the meantime, 
please use the standard LyX installer.

I'll do some more tests later today.

regards Uwe


Re: Problems installing LyX

2008-03-17 Thread Juha Meriluoto

Uwe Stöhr wrote:

Juha Meriluoto schrieb:

I've been experiencing some problems while trying to upgrade my LyX 
installation.  I'm currently using version 1.5.3 (alternate installer 
3.21).  When I try to update to, or install, either version 1.5.4 
(alt. installer 3.22) or 1.6svn (alt. installer 4.10) the installation 
and configuration proceed with no errors, but launching LyX gives
"The application failed to initialize properly (0xc0150002)."  My 
environment is WinXP SP2.


Have you used the update installer variant to get LyX 1.5.4? Or does the 
problem also occur when you use the small or complete installer variant?


This has been reported also by other users, but I can't reproduce the 
problem. For the meantime, please use the standard LyX installer.

I'll do some more tests later today.

regards Uwe



This problem has occurred both with the update and complete variants. 
As version 1.5.3 is working fine for me, I think I'll give version 
upgrading a rest for now.


 - Juha


Re: Layout and Class Files on Windows Distribution

2008-03-17 Thread Bob Lounsbury
On Sun, Mar 16, 2008 at 10:32 PM, William R. Buckley <[EMAIL PROTECTED]> wrote:
>  After I have come to understand these tools a little better, I will try to
>  give a critique from the perspective of a WYSIWYG user.  To the
>  moment, I am encouraged with what I have found, though much of
>  the process of annotating source text seems at first use to be a bit
>  tedious compared to the process as implemented within Ventura
>  Publisher.  For instance, I can create a text style that applies to
>  individual paragraphs.  So, one style for normal text, another for quotes,
>  and still others for other types of content.  Having to manually add
>  ERT to each paragraph is one example of such tedious acts being
>  implementable in more effective means.

You should check out:
http://www.troubleshooters.com/linux/lyx/index.htm. Steve is a regular
on the mailing list and has talked about creating text styles for LyX
and the website has documentation on how to accomplish this.

>  LyX doesn't seem to give me access to all the LaTeX source material
>  in the view source window.  This is one reason that I like to modify the
>  .tex file, and then import into LyX.  The use of templates shows great
>  potential but, it is not as easy to use as the concept suggests.

It should there is a toggle button to show 'Complete Source' which
should show you the 'complete source' :-}.

>  wrb

Cheers,
/Bob


Why do Inkscape drawing pixellate in LyX?

2008-03-17 Thread Steve Litt
Hi all,

I have three Inkscape drawings. They pixellate very badly when I export them 
to .png and then include them in my LyX written book. When I export them to 
PDF they are pixellated but not as badly. Both text and curves pixellate.

These three drawings are simple cartoons, created by me.

What's the best way to put an Inkcape drawn drawing into LyX?

Thanks

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


Re: Why do Inkscape drawing pixellate in LyX?

2008-03-17 Thread Uwe Stöhr

Steve Litt schrieb:


What's the best way to put an Inkcape drawn drawing into LyX?


Insert the SVG-images directly to LyX and use pdflatex to create a PDF. For this you either have to 
define a SVG to PDF converter using Inkscape, or use the alternate LyX installer that already do 
this for you, in case you have Inkscape installed.


regards Uwe


Re: Why do Inkscape drawing pixellate in LyX?

2008-03-17 Thread Ethan Metsger
On Mon, 17 Mar 2008 08:28:38 -0400, Steve Litt <[EMAIL PROTECTED]>  
wrote:



What's the best way to put an Inkcape drawn drawing into LyX?


There are a couple ways to do this that will probably get you where you  
want to go.


First, you can change the DPI settings in the export dialog in Inkscape--I  
think the default is 90dpi, which is passable for screen resolutions but  
otherwise unacceptable.  If you're going to be printing the document, I'd  
set it at at least 300 (which will increase the filesize considerably,  
unfortunately).  600 is better.


Second, you could save the file as another type, like EPS; LyX may be able  
to import this directly (it's been awhile since I've tried; I usually use  
pdflatex, and I think that it won't import EPS files).  If it cannot, you  
can open the EPS file in something like the Gimp, which will allow you to  
specify the resolution when you open the file; you can then export it to  
any LyX-compatible format.



Best,

Ethan ([EMAIL PROTECTED])
http://uppertank.net/ethanm/


parameters of the class

2008-03-17 Thread jean beney

Hello,

I am using a non-standard class designed for LaTeX by a book editor.
One of the differences with the class "book" is that the class has 
different optionnal parameters. But LyX always puts in the LaTeX file:

\documentclass[english,french]{otherbook}
which does not give the result I want.

Is there a way to prevent LyX from writing: [english,french]  ?

I must say that my document  has been declared as being totally in French.

Jean beney


OT: back up and revision control

2008-03-17 Thread Alan G Isaac
On Mon, 17 Mar 2008, Dominik Böhm apparently wrote:
> I use an SVN-server for my thesis and upload my work to 
> the server twice a day. 


I find this a great way to work on research papers, 
especially if they are collaborative.  Who is providing the 
SVN service? (I know of a couple free ones, but do not know  
their quality.) If it is publicly available, do you have any 
comments on it?

Thank you,
Alan Isaac




Re: GraphTeX

2008-03-17 Thread Alan G Isaac
This looks very interesting and powerful.
Some questions.

1. Is it not on CTAN? (If so, why?) By the way there is
   a name clash with a package on CTAN.  You might
   worry about that given your book title.

2. Does it use PGF or is PS required?  (Hoping for
   the former ...)

3. Does it have a standard LaTeX license?

Thank you,
Alan Isaac





Latex -> LyX -> Latex (trouble with accents)

2008-03-17 Thread Rudi Gaelzer
Hi.
I'm importing a Latex file that has accented letters written in the old 
encoding scheme (OT1) way: \'{a} \'{e} \'{\i} \c{c} \~{a}, etc.

I want to import this file into LyX, make the necessary changes and then 
export it back to Latex.

The problem is that almost all accented letters are automatically converted to 
the new encoding scheme (T1) (á é í ç ã, etc), but I'd like to have them 
still written in the old way.

What I tried to do is set the TeX encoding in Tools -> Preferences... -> 
Outputs -> Latex to OT1 before importing the .tex file.  When I export the 
modified text back to Latex, the preamble has the following instructions:

\usepackage[OT1]{fontenc}
\usepackage[latin9]{inputenc}

as expected, but the accented letters in the text come out in the new 
encoding, insted of the old, as I wished.

Anyone knows of some workaround for this?

Thanks.
-- 
Rudi Gaelzer
Department of Physics
Institute of Physics and Mathematics
Federal University of Pelotas
BRAZIL
Registered linux user # 153741


Re: Why do Inkscape drawing pixellate in LyX?

2008-03-17 Thread Max
On 2008-03-17 13:28:38 +0100, Steve Litt 
<[EMAIL PROTECTED]> said:



Hi all,

I have three Inkscape drawings. They pixellate very badly when I export them
to .png and then include them in my LyX written book. When I export them to
PDF they are pixellated but not as badly. Both text and curves pixellate.


PNG is a bitmap-based format and not well suited for scaling. PDF or 
SVG are vector-based formats and are way better for scaling, the latter 
can theoretically be scaled any way you wish without loss of quality.




These three drawings are simple cartoons, created by me.

What's the best way to put an Inkcape drawn drawing into LyX?


There is a nice page on Inkscape and LyX in the wiki: 
http://wiki.lyx.org/Tips/UseInkscapeSVGImages
It works very well for me (though especially with fonts I have some 
difficulties sometimes but I guess thats because of the yet too bad 
port of Inkscape in OS X).




Thanks

SteveT


Regards,

Max







Re: Why do Inkscape drawing pixellate in LyX?

2008-03-17 Thread Steve Litt
Steve Litt asked:
> > What's the best way to put an Inkcape drawn drawing into LyX?

>On Monday 17 March 2008 08:44, Uwe Stöhr wrote:

> Insert the SVG-images directly to LyX and use pdflatex to create a PDF. For
> this you either have to define a SVG to PDF converter using Inkscape, or
> use the alternate LyX installer that already do this for you, in case you
> have Inkscape installed.
>
> regards Uwe

On Monday 17 March 2008 08:57, Ethan Metsger wrote:
> There are a couple ways to do this that will probably get you where you
> want to go.
>
> First, you can change the DPI settings in the export dialog in Inkscape--I
> think the default is 90dpi, which is passable for screen resolutions but
> otherwise unacceptable.  If you're going to be printing the document, I'd
> set it at at least 300 (which will increase the filesize considerably,
> unfortunately).  600 is better.
>
> Second, you could save the file as another type, like EPS; LyX may be able
> to import this directly (it's been awhile since I've tried; I usually use
> pdflatex, and I think that it won't import EPS files).  If it cannot, you
> can open the EPS file in something like the Gimp, which will allow you to
> specify the resolution when you open the file; you can then export it to
> any LyX-compatible format.

Thanks Uwe and Ethan,

First of all, for some reason Inkscape thought I didn't have Arial installed 
on my computer. I do, but the heck with it, I changed it to Century 
Schoolbook, and for better readability upped the font from 12 to 16. That in 
itself made the picture tolerable.

Ethan -- I tried your technique of exporting to a 300dpi .png, and like you 
said, the result was stunningly beautiful, and like you said, it really 
bloated the filesize.

Uwe -- I simply used the inkscape file within LyX, and it came out tolerable 
and a small filesize. Interestingly, I had absolutely no svg to pdf 
converter, so LyX must have something built in. Interestingly, the 
Inkscape .svg format has other junk inside to store Inkscape metadata, but 
still rendered within both LyX 1.4.2 and LyX 1.5.3.

Uwe -- if I added a SVG converter, to what should I make it convert? One would 
think that the longer the picture stayed vector based, the better things 
would be.

So I have to decide whether to bloat the file to reduce moderate pixellation 
on 3 or 4 pictures, and of course I'm still looking for a third alternative 
with the font beauty of 300dpi .png and the small filesize of .svg.

Thanks

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Re: Why do Inkscape drawing pixellate in LyX?

2008-03-17 Thread Uwe Stöhr

Steve Litt schrieb:

Uwe -- I simply used the inkscape file within LyX, and it came out tolerable 
and a small filesize. Interestingly, I had absolutely no svg to pdf 
converter, so LyX must have something built in.


This works, because ImageMagick supports SVG nowadays. But the result is not really brilliant here 
on my PC.



Uwe -- if I added a SVG converter, to what should I make it convert?


Inkscape. Attached is my preferences file to see how the converter is defined. You can copy the 
converters directly to your preferences file, restart LyX, and it should work.


regards Uwe
### This file is part of
### 
###  LyX, The Document Processor
###
###  Copyright 1995 Matthias Ettrich
###  Copyright 1995-2001 The LyX Team.
###
### 

# This file is written by LyX, if you want to make your own
# modifications you should do them from inside LyX and save


#
# MISC SECTION ##
#

\preview_scale_factor 1.0

#
# SCREEN & FONTS SECTION 
#

\screen_zoom 120

#
# COLOR SECTION ###
#


#
# PRINTER SECTION ###
#


#
# EXPORT SECTION 
#


#
# TEX SECTION ###
#


#
# FILE SECTION ##
#


#
# PLAIN TEXT EXPORT SECTION ##
#


#
# SPELLCHECKER SECTION ##
#


#
# LANGUAGE SUPPORT SECTION ##
#


#
# 2nd MISC SUPPORT SECTION ##
#


#
# FORMATS SECTION ##
#

\format "pdf3" "pdf" "PDF (dvipdfm)" "m" "PDFViewWin" "" "document,vector"
\format "pdf2" "pdf" "PDF (pdflatex)" "F" "PDFViewWin" "" "document,vector"
\format "pdf" "pdf" "PDF (ps2pdf)" "P" "PDFViewWin" "" "document,vector"
\format "svg" "svg" "SVG" "" "inkscape --file=$$i" "inkscape --file=$$i" 
"vector"

#
# CONVERTERS SECTION ##
#

\converter "svg" "png" "inkscape --without-gui --file=$$i --export-png=$$o" ""
\converter "svg" "pdf" "inkscape --file=$$i --export-area-drawing --without-gui 
--export-pdf=$$o" ""
\converter "svg" "pdf2" "inkscape --file=$$i --export-area-drawing 
--without-gui --export-pdf=$$o" ""

#
# COPIERS SECTION ##
#



Re: parameters of the class

2008-03-17 Thread Uwe Stöhr

jean beney schrieb:


I am using a non-standard class designed for LaTeX by a book editor.
One of the differences with the class "book" is that the class has 
different optionnal parameters. But LyX always puts in the LaTeX file:

\documentclass[english,french]{otherbook}
which does not give the result I want.


This doesn't harm and are the needed options for the babel package that does the translation of 
words like "Part". All given document class options can be used by the LaTeX-packages that are 
loaded in the preamble.
To use the documentclass options you need, simply insert them comma separated in the field "Options" 
in the menu "Document->Settings->Document Class".



I must say that my document  has been declared as being totally in French.


Then you have somewhere a text part that is marked as English.

regards Uwe


Using a network printer

2008-03-17 Thread Dave Wood
How do I set up Lyx to use a network printer? At the moment I can print by
viewing as pdf in kpdf which sees my printer. I would like to be able to
print direct from Lyx though, as I sometimes want to print old files and
not have to preview them first.

I have tried using the cups printer name, the server address:port etc to no
avail.

-- 
The ladies men admire, I've heard,
Would shudder at a wicked word.
Their candle gives a single light;
They'd rather stay at home at night.
They do not keep awake till three,
Nor read erotic poetry.
They never sanction the impure,
Nor recognize an overture.
They shrink from powders and from paints ...
So far, I've had no complaints.
-- Dorothy Parker



Re: PNG background

2008-03-17 Thread dfc04

Hello again,


Now PNG does support transparency, so you should be able to get this to
work -- but only if you use pdflatex to output PDF as your finished
product. Printing directly from LyX generates PostScript, which is then
printed.


This is exactly what I wanted to achieve - thank you both ever so much  
for your suggestions! Much easier than I expected it to be too somehow.


Kind regards,
Dawid 'Another Happy User' Ciecierski



Re: Using a network printer

2008-03-17 Thread christian . ridderstrom

On Mon, 17 Mar 2008, Dave Wood wrote:

How do I set up Lyx to use a network printer? At the moment I can print 
by viewing as pdf in kpdf which sees my printer. I would like to be able 
to print direct from Lyx though, as I sometimes want to print old files 
and not have to preview them first.


I have tried using the cups printer name, the server address:port etc to 
no avail.


I might have the same problem (Ubuntu), where other programs see the 
network printer, but not LyX. I can of course provide the details if 
that'll help.


/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: OT: back up and revision control

2008-03-17 Thread Andre Poenitz
On Mon, Mar 17, 2008 at 10:20:12AM -0400, Alan G Isaac wrote:
> On Mon, 17 Mar 2008, Dominik Böhm apparently wrote:
> > I use an SVN-server for my thesis and upload my work to 
> > the server twice a day. 
> 
> I find this a great way to work on research papers, 
> especially if they are collaborative.  Who is providing the 
> SVN service? (I know of a couple free ones, but do not know  
> their quality.) If it is publicly available, do you have any 
> comments on it?

You can setup one by yourself. You basically need a more or
less permanent internet connection (or at least at the times
you and your coworkers need it). Bandwidth should be a
non-issue for "thesis sized projects"...

Andre'


Lyx and SVN logs

2008-03-17 Thread B. Bogart
Hello all,

I've asked this on the SVN mailing list but no one had an answer.

Does anyone have any recommendations on how to import an SVN logfile
into Lyx for inclusion in a thesis? I've dumped my SVN log to a xml file
but I have no idea how I would convert it for use in LyX (short of
writing my own software to do so).

Has anyone already solved this problem? Any off the shelf tools for
converting XML to an arbitrary format like LaTeX?

Any ideas of recommendations appreciated.

Thanks for your time.
B. Bogart


Authors in preamble using \twoauthors

2008-03-17 Thread Phillip Ferguson
Hey all,

 

Yet again I am having some issues with the spconf.sty.

 

This time it's the authors.

In spconf.sty the comments for \twoauthors are:

 

- use \twoauthors{author1}{address1}{author2}{address2}

% for two (or more) authors with two separate addresses

%- note: no need for \author nor \date

%- optional: can use \thanks{xx} within \name or \twoauthors,

% asterisk is not printed after name nor in footnote

%- optional: can use \sthanks{xx} after each name within \name or

% \twoauthors if different thanks for each author,

% footnote symbol will appear for each name and footnote

 

 

 And it defines \twoauthors:

 

[EMAIL PROTECTED]

   [EMAIL PROTECTED]@[EMAIL PROTECTED]

{\em #1} \\ \\

#2\relax

   \end{tabular}\hskip [EMAIL PROTECTED]@{}}

{\em #3} \\ \\

#4\relax

\end{tabular}}}

 

I have no idea of latex but I guess that this must set the layout and
parameters for only 2 author areas where only one address is allowed. My
problem is that I need 3 authors with three distinct addresses.

Can I modify this piece of code to spread 3 authors evenly across the page?
I suspect I may have to reduce the text size to accommodate all 3.

 

Does anyone know how to set this up correctly, or by doing this am I
violating the template?

 

Thanks

 

PDF

 



Re: Lyx and SVN logs

2008-03-17 Thread Bo Peng
>  Has anyone already solved this problem? Any off the shelf tools for
>  converting XML to an arbitrary format like LaTeX?

Why do you use XML format? svn log gives you plain text output, which
can be easily inserted as, e.g. listings child document.

Bo


Re: Problems installing LyX 1.5.4

2008-03-17 Thread Uwe Stöhr

Juha Meriluoto schrieb:

I've been experiencing some problems while trying to upgrade my LyX 
installation.  I'm currently using version 1.5.3 (alternate installer 
3.21).  When I try to update to, or install, either version 1.5.4 (alt. 
installer 3.22) or 1.6svn (alt. installer 4.10) the installation and 
configuration proceed with no errors, but launching LyX gives
"The application failed to initialize properly (0xc0150002)."  My 
environment is WinXP SP2.


Dear Juha and Tuomo,

I tested the installer again on 3 different machines. One is a very old Win2000 machine and it works 
even there fine.
I have only one idea what goes wrong. To be sure that I'm right, could you do me a favor and test if 
it works when you install LyX using this installer:


http://prdownload.berlios.de/lyxwininstall/LyX-154-3-22-AltInstaller-Small-Test.exe

Please uninstall the existing LyX 1.5 before testing. (keep MiKTeX as it is)

If LyX then still doesn't start, copy the attached file to the same folder where the lyx.exe is. 
Then it should definitively work.


This would help me much.

thanks in advance and best regards
Uwe











Re: Lyx and SVN logs

2008-03-17 Thread Tim Michelsen



Any ideas of recommendations appreciated.

Maybe you want have a look at the listings:
Listings - http://wiki.lyx.org/LyX/NewInLyX15#toc11



Re: Why do Inkscape drawing pixellate in LyX?

2008-03-17 Thread Steve Litt
On Monday 17 March 2008 11:49, Max wrote:

> There is a nice page on Inkscape and LyX in the wiki:
> http://wiki.lyx.org/Tips/UseInkscapeSVGImages
> It works very well for me (though especially with fonts I have some
> difficulties sometimes but I guess thats because of the yet too bad
> port of Inkscape in OS X).

Thanks Max,

That page is very handy, although in my case adding converters didn't seem to 
change anything from the initial setting of no SVG converters.

Anyway, I added content to the bottom that page showing how to size your 
Inkscape drawing for optimal results. If I made mistakes, could someone 
please correct them?

Thanks

SteveT
 
Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


Re: Latex -> LyX -> Latex (trouble with accents)

2008-03-17 Thread Enrico Forestieri
Rudi Gaelzer writes:

> Hi.
> I'm importing a Latex file that has accented letters written in the old 
> encoding scheme (OT1) way: \'{a} \'{e} \'{\i} \c{c} \~{a}, etc.
> 
> I want to import this file into LyX, make the necessary changes and then 
> export it back to Latex.
> 
> The problem is that almost all accented letters are automatically converted 
> to 
> the new encoding scheme (T1) (á é í ç ã, etc), but I'd like to have them 
> still written in the old way.
> 
> What I tried to do is set the TeX encoding in Tools -> Preferences... -> 
> Outputs -> Latex to OT1 before importing the .tex file.  When I export the 
> modified text back to Latex, the preamble has the following instructions:
> 
> \usepackage[OT1]{fontenc}
> \usepackage[latin9]{inputenc}
> 
> as expected, but the accented letters in the text come out in the new 
> encoding, insted of the old, as I wished.
> 
> Anyone knows of some workaround for this?


In Document->Settings->Language uncheck "Use language's default encoding".

This should enable the "Encoding:" combo box beneath.

Using the combo, choose "ascii" as the encoding and then try exporting.

-- 
Enrico



Re: Why do Inkscape drawing pixellate in LyX?

2008-03-17 Thread Dominik Böhm
On Mon, Mar 17, 2008 at 4:49 PM, Max <[EMAIL PROTECTED]> wrote:
>  There is a nice page on Inkscape and LyX in the wiki:
>  http://wiki.lyx.org/Tips/UseInkscapeSVGImages
>  It works very well for me (though especially with fonts I have some
>  difficulties sometimes but I guess thats because of the yet too bad
>  port of Inkscape in OS X).

I sometimes also have problems with fonts, but figured out, that
everything looks exactly like in Inkscape if I change all the text
elements to a font like "Arial". When I pick "Sans" as a font instead,
the pdf export seems to use some Courier (typewriter)-font that looks
really ugly.

Maybe inkscape doesn't include the right fonts into the exported
eps-file sometimes, but I don't really care as Arial works fine.


Re: Problems installing LyX 1.5.4

2008-03-17 Thread Joost Verburg

Uwe Stöhr wrote:
If LyX then still doesn't start, copy the attached file to the same 
folder where the lyx.exe is. Then it should definitively work.


Are you still using the previous version of Visual C++? The current CRT 
version is 9.0.21022.8.


Joost



Re: Why do Inkscape drawing pixellate in LyX?

2008-03-17 Thread Steve Litt
On Monday 17 March 2008 19:26, Dominik Böhm wrote:
> On Mon, Mar 17, 2008 at 4:49 PM, Max <[EMAIL PROTECTED]> 
wrote:
> >  There is a nice page on Inkscape and LyX in the wiki:
> >  http://wiki.lyx.org/Tips/UseInkscapeSVGImages
> >  It works very well for me (though especially with fonts I have some
> >  difficulties sometimes but I guess thats because of the yet too bad
> >  port of Inkscape in OS X).
>
> I sometimes also have problems with fonts, but figured out, that
> everything looks exactly like in Inkscape if I change all the text
> elements to a font like "Arial". When I pick "Sans" as a font instead,
> the pdf export seems to use some Courier (typewriter)-font that looks
> really ugly.
>
> Maybe inkscape doesn't include the right fonts into the exported
> eps-file sometimes, but I don't really care as Arial works fine.

I had the exact opposite problem. Arial didn't work -- Inkscape said it wasn't 
there, even though I installed Arial on my Mandriva Linux 2007 in the normal 
way.

SteveT


Re: Problems installing LyX 1.5.4

2008-03-17 Thread Uwe Stöhr

Joost Verburg schrieb:

Are you still using the previous version of Visual C++? The current CRT 
version is 9.0.21022.8.


I know and I ship the latest MSVC manifest file. What I attached was just for testing as either a 
dll or this file must cause the problem.


(The mail was not intended for lyx-users to avoid confusions)

regards Uwe