Fwd: Mac Install Problems

2006-02-04 Thread Ian Stevenson


Dear Bennett,

I hope the following may be helpful help but I suspect not as clear  
as you would like.


OK ... but what precisely is the bug? What goes wrong with the  
conversion from the old preferences file to the new? When I try it  
here, the conversion from 1.3.5 to 1.3.7 goes smoothly, so if  
there is a problem with the installer script I need more information.


I do not recall installing 1.3.5 so I think this is a fresh  
install, I can only assume the 1.3.7 creates the ~/.lyx directory


You'll have to be a bit more specific as there are at least 3 files  
called preferences these are:

~/.lyx/preferences
~/Library/Application Support/Lyx/preferences
/Applications/Lyx.App/Contents/Resources/lyx/preferences



Could you send me the following:

(a) your 1.3.5 preferences file,
(b) the 1.3.7 preferences file that the lyx installer produces, and


I deleted the following:
~/.lyx/preferences
~/Library/Application Support/Lyx/preferences

I have no way of knowing which is now in my trash folder


(c) the 1.3.7 preferences file that works?


The only file that remains is: /Applications/Lyx.App/Contents/ 
Resources/lyx/preferences attached below for your reference.

preferences
Description: Binary data


I hope this helps,
Ian



Bennett



On 03/02/2006, at 8:04 PM, Patrick De Visschere wrote:


Ian,

I had similar problems and solved it by removing all the  
preference-files (old and new).
From 1.3.5 on the preferences have been moved from ~/.lyx/ to ~/ 
Library/Application Support/lyx/
When upgrading the lyx installer moves the files but apparently  
something goes wrong causing lyx to look in the wrong places.
I upgraded from 1.3.5 to 1.3.7 and got your problem, although  
tetex and all classes were present as before. I'm not sure but  
it is possible that the paths in the preferences-dialog were  
empty; maybe supplying the missing paths may also help.






Re: Mac Install Problems

2006-02-04 Thread Bennett Helm

On Feb 4, 2006, at 5:41 AM, Ian Stevenson wrote:


Dear Bennett,

I hope the following may be helpful help but I suspect not as clear  
as you would like.


OK ... but what precisely is the bug? What goes wrong with the  
conversion from the old preferences file to the new? When I try it  
here, the conversion from 1.3.5 to 1.3.7 goes smoothly, so if  
there is a problem with the installer script I need more information.


I do not recall installing 1.3.5 so I think this is a fresh  
install, I can only assume the 1.3.7 creates the ~/.lyx directory


Actually, from 1.3.6 on (including 1.3.7), the user's directory is at  
~/Library/Application Support/LyX. 1.3.5 and earlier used ~/.lyx.


You'll have to be a bit more specific as there are at least 3 files  
called preferences these are:

~/.lyx/preferences
~/Library/Application Support/Lyx/preferences
/Applications/Lyx.App/Contents/Resources/lyx/preferences


Preferences located within LyX.app are the default ones I include  
with the binary, and they don't get changed by anything you do. So  
it's only the first two I'd be interested in: the former would be  
1.3.5, the latter 1.3.7.



Could you send me the following:

(a) your 1.3.5 preferences file,
(b) the 1.3.7 preferences file that the lyx installer produces, and


I deleted the following:
~/.lyx/preferences
~/Library/Application Support/Lyx/preferences

I have no way of knowing which is now in my trash folder


If you still have it, please send it: I can figure out which one it is.


(c) the 1.3.7 preferences file that works?


The only file that remains is: /Applications/Lyx.App/Contents/ 
Resources/lyx/preferences attached below for your reference.


Alas, that one won't help me.

Thanks for your persistence. I hope to have everything worked out  
before 1.4.0 ships, so any help you can provide in tracking this down  
would be appreciated.


Bennett


lyx install on mac broken

2006-02-04 Thread Ranjit Chacko
I installed Lyx 1.3.7 on my iBook running Tiger but for some reason  
it broke.  I upgraded from 1.3.5 but now Lyx doesn't see the Latex  
classes, and all the preview modes are gone.  When I go back to 1.3.5  
everything works again.





Re: Editors for LaTeX-files with syntax highlighting

2006-02-04 Thread Uwe Stöhr

Jack M. Lyon wrote:

Do you know other editors that offer syntax-highlighting for LaTeX and 
run on Windows?


Thanks for the lists of programs. I've now built in support for the 
following editors:


jEdit, PSPad, WinShell, ConTEXT, Crimson Editor, Vim, TeXnicCenter, 
LaTeXEditor, WinEdt, LEd, WinTeX, (notepad)


If no editor is found notepad will be used as viewer for LaTeX.

regards Uwe



Re: LyX is getting... very annoying.

2006-02-04 Thread Marc D.


(oops, sent to wrong mailbox due to reply-to settings)

On 2 Feb 06, at 00:09, Helge Hafting wrote:


Marc D. wrote:

I have created a rather large lyx file (all my course notes). In  
one  section, I can't get it to work. I have reduced the problem  
to a  minimum. There are 3 characters on my screen, in two lines.


I get SIX errors with those 3 characters.

Answer: it's the \textmf that causes ALL six errors. (and all 35   
errors in my original file). All from a a single, obviously   
misplaced, \textmf tag that I DID NOT INSERT (or knowingly insert.  
I  don't USE different fonts in my document!)



Seems you have found a bug in lyx, then.

When I write 2^Q (in math mode), I get something that works.   
However, if
I select the formula and change the font, I do get the same problem  
as you.

This problem exists in lyx 1.4 too.

If, however, I write 2^Q as text, then select it and press ctrl+M  
(to turn it into
a formula, then I also get that problem. This time without doing  
any font change.
This problem does not exist in the soon to be lyx 1.4, so it will  
go away.


So I suggest, as a workaround, that you press ctrl+M first, then  
type your formula in math mode.  Then it will work.


This is what I always do. I never select text and then use ctrl-M, as  
I find

it rarely does what I wanted


You may also note that a formula _not_ using
the troublesome \textrm will show up as blue in the lyx window,  
where the

wrong formulas are black.


It's a very dark blue then, because it looks quite black on my screen.

Thanks to George for pointing out the bug (I need to learn to check
bugzilla BEFORE posting to the list!).

I'm off to battle. Thanks all for your help.



Screen Captures in Documents

2006-02-04 Thread Rich Shepard

  A document requires screen shots as illustrations. I've used The GIMP to
capture the window, scaled the result to 100 pixels/inch resolution, and a
size of 4 inches wide. Then it's saved as a .png file. The document will
almost certainly be printed by readers on a laser or color inkjet printer.

  I'm seeking comments on whether there is a better way to represent these
images. That is, should the resolution be higher? Is a different file format
a better choice? They are raster images to begin with, so conversion to a
vector format such as .eps will almost certainly result in resolution loss.

  Your experience counts! What have you to suggest?

Rich

--
Richard B. Shepard, Ph.D.   |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863


Re: Screen Captures in Documents

2006-02-04 Thread Georg Baum
Am Samstag, 4. Februar 2006 17:58 schrieb Rich Shepard:
A document requires screen shots as illustrations. I've used The GIMP 
to
 capture the window, scaled the result to 100 pixels/inch resolution, and 
a
 size of 4 inches wide. Then it's saved as a .png file. The document will
 almost certainly be printed by readers on a laser or color inkjet 
printer.

I would not scale the image. The dimensions of the screenshot in inch 
don't matter at all, what matters is the number of pixels, and that is 
predetermined by the window you want to capture. You can do the final 
scaling in LyX, this is often preferable, because you scale to 100%  text 
width or some other document related size.
When I do screenshots, I simply save the resulting file as png. Sometimes 
I crop unnessecary borders away, but more manipulations are normally not 
needed.

I'm seeking comments on whether there is a better way to represent 
these
 images. That is, should the resolution be higher? Is a different file 
format
 a better choice?

PNG is a good file format for this task: it is a bitmap format, and has 
lossless compression that works well for typical screen contents. It will 
be included without conversion in the resulting pdf with pdflatex, and it 
can be easily converted to eps by LyX if you use latex with postscript 
output. JPEG would  also be an alternative, but only if you have file 
size probelms, since it compresses lossy. There are a lot of commercial 
software manuals with JPEG screenshots, but that looks ugly.

 They are raster images to begin with, so conversion to a 
 vector format such as .eps will almost certainly result in resolution 
loss.

I don't think so. EPS can contain vector and bitmap data, with a good 
converter the result will be equivalent to the original image (but 
typically require more storage on disk).


Georg



Heading Font in KomaScript Book Class

2006-02-04 Thread Rich Shepard

  I've looked through the KOMA-Script guide without seeing anything on how to
change the typefaces. In Layout-Document I can specify the body typeface and
size, but not that used for the title and headings.

  While I need the additional features in the KOMA classes, I much prefer the
serif typeface in titles and headings that is provided in the built-in
classes. Can I change this? If so, where and how?

Thanks,

Rich

--
Richard B. Shepard, Ph.D.   |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863


Re: Screen Captures in Documents

2006-02-04 Thread Rich Shepard

On Sat, 4 Feb 2006, Georg Baum wrote:


I would not scale the image. The dimensions of the screenshot in inch don't
matter at all, what matters is the number of pixels, and that is
predetermined by the window you want to capture. You can do the final
scaling in LyX, this is often preferable, because you scale to 100% text
width or some other document related size. When I do screenshots, I simply
save the resulting file as png. Sometimes I crop unnessecary borders away,
but more manipulations are normally not needed.


  Thanks, Georg. I considered doing that but the large size of the images in
the LyX document prompted me to shrink them before hand.

  What resolution do you use when you save the image?

Rich

--
Richard B. Shepard, Ph.D.   |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863


Re: Heading Font in KomaScript Book Class

2006-02-04 Thread Juergen Spitzmueller
Rich Shepard wrote:
  I've looked through the KOMA-Script guide without seeing anything on how
 to change the typefaces. In Layout-Document I can specify the body
 typeface and size, but not that used for the title and headings.

    While I need the additional features in the KOMA classes, I much prefer
 the serif typeface in titles and headings that is provided in the built-in
 classes. Can I change this? If so, where and how?

\setkomafont{sectioning}{\normalfont\bfseries}

Have a look at scrguien.pdf for more possibilities (setkomafont, 
addtokomafont).

Regards,
Jürgen


Re: Screen Captures in Documents

2006-02-04 Thread Rich Shepard

On Sat, 4 Feb 2006, Georg Baum wrote:


I would not scale the image. The dimensions of the screenshot in inch
don't matter at all, what matters is the number of pixels, and that is
predetermined by the window you want to capture. You can do the final
scaling in LyX, this is often preferable, because you scale to 100%  text
width or some other document related size.
When I do screenshots, I simply save the resulting file as png. Sometimes
I crop unnessecary borders away, but more manipulations are normally not
needed.


Georg,

  This is really strange. When I look at the screenshot attributes in The
GIMP, I see that it's 100 dpi resolution and 800-something pixels wide. The
image imports into the document and displays in the LyX float window. But,
now when I try to look at it using pdflatex, there is either no image at all
above the caption, or a black band.

  Within LyX I've tried scaling the image to 100% of the line and of the text
area. I've also tried 50% scale and 4 inches.

  I wonder why this is not working now, when the GIMP-scaled images displayed
just fine before, and your technique works well for you.

Rich

--
Richard B. Shepard, Ph.D.   |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863


Re: Screen Captures in Documents

2006-02-04 Thread Wolfgang Engelmann
Am Samstag, 4. Februar 2006 18:23 schrieb Rich Shepard:
 On Sat, 4 Feb 2006, Georg Baum wrote:
  I would not scale the image. The dimensions of the screenshot in inch
  don't matter at all, what matters is the number of pixels, and that is
  predetermined by the window you want to capture. You can do the final
  scaling in LyX, this is often preferable, because you scale to 100% text
  width or some other document related size. When I do screenshots, I
  simply save the resulting file as png. Sometimes I crop unnessecary
  borders away, but more manipulations are normally not needed.

how do you crop them away?
(e.g. eps-file). Do you do it in the eps description of the file or do you use 
a program? And which one?

Wolfgang


Re: Heading Font in KomaScript Book Class

2006-02-04 Thread Rich Shepard

On Sat, 4 Feb 2006, Juergen Spitzmueller wrote:


\setkomafont{sectioning}{\normalfont\bfseries}

Have a look at scrguien.pdf for more possibilities (setkomafont,
addtokomafont).


Jürgen,

  Thank you very much. I see that's in the command index and I was looking at
the table of contents.

Rich

--
Richard B. Shepard, Ph.D.   |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863

Re: Screen Captures in Documents

2006-02-04 Thread Georg Baum
Am Samstag, 4. Februar 2006 18:23 schrieb Rich Shepard:
Thanks, Georg. I considered doing that but the large size of the 
images in
 the LyX document prompted me to shrink them before hand.

You can adjust the onscreen display to 30% or something like that in the 
graphics dialog. Or did you mean file size? A screenshot of my 1280x1024 
desktop is typically about 160 kb, you can store lots of these images on 
todays storage media.

What resolution do you use when you save the image?

I don't set any, I simply save the image as png. The resolution that is 
saved in the png file does only matter if you use the size% units for 
scaling in LyX, but for my stuff I don't use this very often.


Georg



Re: Screen Captures in Documents

2006-02-04 Thread Georg Baum
Am Samstag, 4. Februar 2006 18:37 schrieb Rich Shepard:
This is really strange. When I look at the screenshot attributes in 
The
 GIMP, I see that it's 100 dpi resolution and 800-something pixels wide.

It probably took the 100dpi from your X setup.

 The 
 image imports into the document and displays in the LyX float window. 
But,
 now when I try to look at it using pdflatex, there is either no image at 
all
 above the caption, or a black band.
 
Within LyX I've tried scaling the image to 100% of the line and of 
the text
 area. I've also tried 50% scale and 4 inches.
 
I wonder why this is not working now, when the GIMP-scaled images 
displayed
 just fine before, and your technique works well for you.

Sorry, but I don't know what could be the problem. Running pdflatex by 
hand in the temp directory might give more insight.


Georg



Re: Screen Captures in Documents

2006-02-04 Thread Georg Baum
Am Samstag, 4. Februar 2006 18:41 schrieb Wolfgang Engelmann:
 how do you crop them away?
 (e.g. eps-file). Do you do it in the eps description of the file or do 
you use 
 a program? And which one?

When I need to crop white borders of eps files, I usually run them through 
pstoepsi, or use the crop options in the LyX graphics dialog.
What I meant here where screenshots, where I use the automatic cropping 
feature of the gimp to do that.


Georg



Re: lyx install on mac broken

2006-02-04 Thread Bennett Helm

On Feb 4, 2006, at 9:50 AM, Ranjit Chacko wrote:

I installed Lyx 1.3.7 on my iBook running Tiger but for some reason  
it broke.  I upgraded from 1.3.5 but now Lyx doesn't see the Latex  
classes, and all the preview modes are gone.  When I go back to  
1.3.5 everything works again.


I assume you ran the installer, right?

Apparently this is a problem for some users upgrading from 1.3.5 to  
1.3.7. Could you please send me the preferences file located at  
~/.lyx/preferences so that I can figure out what's going wrong?


Thanks.

Bennett


floating table caption placing

2006-02-04 Thread Cezary Morga
Hi there,

Could anyone tell me if there is a way to make floating table's caption align 
to left? I can't find it anywhere.

-- 
Cezary Morga
GG# 169903 ICQ# 328-700-565
Jabber: thereidos(at)jabber.autocom.pl
http://thereidos.co.nr/


Re: floating table caption placing

2006-02-04 Thread Rich Shepard

On Sat, 4 Feb 2006, Cezary Morga wrote:


Could anyone tell me if there is a way to make floating table's caption
align to left? I can't find it anywhere.


  Put the cursor at the head of the caption, then from the menu system:
Layout-Paragraph-Alignment. Change that to Center in the combo box and
press the Apply button.

Rich

--
Richard B. Shepard, Ph.D.   |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863


Re: floating table caption placing

2006-02-04 Thread Martin A. Hansen
if you use komascript, then try this in preamble:

\setcapindent{0pt}

else

go to www.texnik.de where there is a hint for left aligning captions.



martin


On 04/02/06, Rich Shepard [EMAIL PROTECTED] wrote:

 On Sat, 4 Feb 2006, Cezary Morga wrote:

  Could anyone tell me if there is a way to make floating table's caption
  align to left? I can't find it anywhere.

Put the cursor at the head of the caption, then from the menu system:
 Layout-Paragraph-Alignment. Change that to Center in the combo box and
 press the Apply button.

 Rich

 --
 Richard B. Shepard, Ph.D.   |   Author of Quantifying
 Environmental
 Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy
 Logic
 http://www.appl-ecosys.com Voice: 503-667-4517 Fax:
 503-667-8863



Lyx Layout file for exam package?

2006-02-04 Thread Thorsten Grothe
Hi,

I'm working quiet often with the exam package to create exams. Is there 
anywhere a Lyx Layout file for this package? I googled a lot but did 
not find something suitable.

Thank you in advance!

Regards

Thorsten


Re: floating table caption placing

2006-02-04 Thread Cezary Morga
Dnia sobota 04 lutego 2006 20:02, Rich Shepard napisał:
 On Sat, 4 Feb 2006, Cezary Morga wrote:
  Could anyone tell me if there is a way to make floating table's caption
  align to left? I can't find it anywhere.

Put the cursor at the head of the caption, then from the menu system:
 Layout-Paragraph-Alignment. Change that to Center in the combo box and
 press the Apply button.

 Rich

It is centered. I want it aligned to left and trying to do it this way doesn't 
work.
-- 
Cezary Morga
GG# 169903 ICQ# 328-700-565
Jabber: thereidos(at)jabber.autocom.pl
http://thereidos.co.nr/


Re: Screen Captures in Documents

2006-02-04 Thread Herbert Voss

Georg Baum wrote:

Am Samstag, 4. Februar 2006 18:41 schrieb Wolfgang Engelmann:


how do you crop them away?
(e.g. eps-file). Do you do it in the eps description of the file or do 


you use 


a program? And which one?



When I need to crop white borders of eps files, I usually run them through 
pstoepsi, or use the crop options in the LyX graphics dialog.
What I meant here where screenshots, where I use the automatic cropping 
feature of the gimp to do that.


pdfcrop --margins 10 file.pdf

can be done with a script ...

Herbert




Re: Screen Captures in Documents

2006-02-04 Thread Sara Stymne

Hi!

I have no solution, but a related problem...

In LyX I canot use insert-graphics from the menu. I think this is 
because LyX uses the graphics package and that it somehow conflicts with 
the gb4e package that I also use. When I remove gb4e graphic-insertion 
seems to work, but not the gb4e-stuff of course. I found a workaround to 
this, using graphicxs and include pictures with ERT. It works, but LyX 
does not seem to be capable to convert png to eps, when not using 
pdflatex, which I believe it does when inserting throw the menu.  And I 
prefer not to use pdflatex, because it seems to make the quality of my 
xypic-figures quite bad.


So then I have to manually convert png to eps for my screenshot. I tried 
to convert both with the Gimp and with the imagemagick convert tool, but 
both ways the quality of the eps-images are quite bad.


So, any ideas? Either how to produce nice xypic with pdflatex, or nice 
eps screenshots from png..


/Sara




Rich Shepard wrote:

  A document requires screen shots as illustrations. I've used The 
GIMP to
capture the window, scaled the result to 100 pixels/inch resolution, 
and a

size of 4 inches wide. Then it's saved as a .png file. The document will
almost certainly be printed by readers on a laser or color inkjet 
printer.


  I'm seeking comments on whether there is a better way to represent 
these
images. That is, should the resolution be higher? Is a different file 
format

a better choice? They are raster images to begin with, so conversion to a
vector format such as .eps will almost certainly result in resolution 
loss.


  Your experience counts! What have you to suggest?

Rich





LaTeX2html with Windows

2006-02-04 Thread Stephen Harris

I think that I read that Perl was no longer going to be
a required package for installing WinLyx since relyx
was going to be removed. Is Latex2html part of the
Latex total package? If Perl is no longer required does 
it mean that Latex2html is no longer a supported WinLyx 
option and that htlatex will be the default? I saw a post 
on the developer list about installing Windows/Latex2html.


Regards,
Stephen 



GUI Buttons In Text

2006-02-04 Thread Rich Shepard

  In my document I reference specific buttons on the GUI of an application;
buttons such as OK, Clear, Add, and Load. What I have done is place each word
in a \framebox{}. It looks pretty ugly; the frames extend slightly below the
baseline and above the line of text.

  Then I tried searching the symbol list, Google, and the TUG Tips and Tricks
web pages. Didn't find anything that looked like a solution.

  What do folks do in this situation? I suppose I could set the words in
Italics and let it go at that.

TIA,

Rich

--
Richard B. Shepard, Ph.D.   |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863


Re: Screen Captures in Documents

2006-02-04 Thread Sara Stymne

Stephen Harris wrote:



- Original Message - From: Sara Stymne [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Sent: Saturday, February 04, 2006 1:50 PM
Subject: Re: Screen Captures in Documents



Hi!

I have no solution, but a related problem...

In LyX I canot use insert-graphics from the menu. I think this is 
because LyX uses the graphics package and that it somehow conflicts 
with the gb4e package that I also use. When I remove gb4e 
graphic-insertion seems to work, but not the gb4e-stuff of course. I 
found a workaround to this, using graphicxs and include pictures with 
ERT. It works, but LyX does not seem to be capable to convert png to 
eps, when not using pdflatex, which I believe it does when inserting 
throw the menu.  And I prefer not to use pdflatex, because it seems 
to make the quality of my xypic-figures quite bad.


So then I have to manually convert png to eps for my screenshot. I 
tried to convert both with the Gimp and with the imagemagick convert 
tool, but both ways the quality of the eps-images are quite bad.


So, any ideas? Either how to produce nice xypic with pdflatex, or 
nice eps screenshots from png..


/Sara



Perhaps you are experienced with xypic, but if not, here is a 10 page
tutorial: http://www.mathematik.uni-marburg.de/~gumm/LyX/xypic/xypic.pdf

When I converted xypic.lyx with pdflatex I got the same image as above^.
This looks clear to me, but perhaps I don't have high standards. :-)
I attach xypic.lyx for comparison purposes, and a perhaps relevant 
portion:


\begin_inset Graphics
filename xyfigure.PNG
scale 62
clip

\end_inset

SH: I also converted xypic.tex to html with htlatex which generates 
png images

http://www.mathematik.uni-marburg.de/%7Egumm/LyX/Using_XYpic_in_LyX.htm

I think the pngs look ok but parts of the conversion require editing.
The LyX developers removed support for XYpic from LyX1.4.0
I was thinking Prof. Gumm might be more attuned to this problem area.

Regards,
Stephen 



I wasn't actually using xypic, but xyling which is a linguistic tree 
package built on xypic, and thus I could not use it in LyX directly, so 
I constructed the pictures in ERT. Should probably have mentioned that 
in the first mail, but I didn't think about it...


The pictures looks mostly fine, but the diagonal lines are not straight, 
neither when viewed with a pdf-viewer, or printed. They are actually not 
straight when not using pdflatex either, but they are much better.


On another topic, I think that LyX is great, and I started using it so 
that I would not have to learn too much latex, which I did not know at 
that stage. But in the end I found it easier to do it the latex way than 
the LyX way in very many cases.


/Sara


Re: GUI Buttons In Text

2006-02-04 Thread Kevin Pfeiffer
Rich Shepard writes:
In my document I reference specific buttons on the GUI of an
 application; buttons such as OK, Clear, Add, and Load. What I have
 done is place each word in a \framebox{}. It looks pretty ugly; the
 frames extend slightly below the baseline and above the line of text.

I would suggest that you use small caps (possibly set bold) and no 
frame. If you absolutely must draw a picture of each button, then place 
them in the margin or above the paragraph that references them (or 
below).

-K

-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


1.4 Pre for windows?

2006-02-04 Thread Stacia Hartleben
Is there a place where I can download the 1.4 pre version for windows?


Re: Can't install lyx 1.3.7 on OS X. Can't see my tetex install

2006-02-04 Thread Daryl Moulder


On 04/02/2006, at 6:27 PM, Stephen Harris wrote:



- Original Message - From: Daryl Moulder [EMAIL PROTECTED]
To: Bennett Helm [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Sent: Friday, February 03, 2006 5:06 PM
Subject: Re: Can't install lyx 1.3.7 on OS X. Can't see my tetex  
install



Deleting the /usr/local/teTex dir and reinstalling the full latex   
install did the trick thanks.  The only problem I have now is  
adding  my custom class.  I added it to the path with other .cls  
files and  have a LyX
layout file so I does come up in lyx but for some reason the   
reconfigure command does not pick it up.

Daryl Moulder


You didn't mention running texconfig rehash to update Tetex
before running LyX Reconfigure, Rescan.



Yes that did the trick thanks!

Daryl Moulder

-- When everything is not as square as it may seem.



Re: OT: Converter matrix to picture

2006-02-04 Thread John Pye

Hi Paul

Just to specify a bit, you should take a look at the 'spy' and 'spy2' 
commands from matplotlib


JP

Paul Smith wrote:


On 2/3/06, John Pye [EMAIL PROTECTED] wrote:
 


You should try Matplotlib under python. You've got a lot of the MATLAB
functionality re-implemented in python.
http://matplotlib.sourceforge.net/

There is a sample sparsity diagram that I produced, see here (scroll
down to near the bottom)
https://pse.cheme.cmu.edu/wiki/view/Ascend/PythonWrapper

Using matplotlib you can also render directly to various formats
including SVG, I believe.
   



Thanks, John. That is a quite useful set of commands.

Paul

 



Fwd: Mac Install Problems

2006-02-04 Thread Ian Stevenson


Dear Bennett,

I hope the following may be helpful help but I suspect not as clear  
as you would like.


OK ... but what precisely is the bug? What goes wrong with the  
conversion from the old preferences file to the new? When I try it  
here, the conversion from 1.3.5 to 1.3.7 goes smoothly, so if  
there is a problem with the installer script I need more information.


I do not recall installing 1.3.5 so I think this is a fresh  
install, I can only assume the 1.3.7 creates the ~/.lyx directory


You'll have to be a bit more specific as there are at least 3 files  
called preferences these are:

~/.lyx/preferences
~/Library/Application Support/Lyx/preferences
/Applications/Lyx.App/Contents/Resources/lyx/preferences



Could you send me the following:

(a) your 1.3.5 preferences file,
(b) the 1.3.7 preferences file that the lyx installer produces, and


I deleted the following:
~/.lyx/preferences
~/Library/Application Support/Lyx/preferences

I have no way of knowing which is now in my trash folder


(c) the 1.3.7 preferences file that works?


The only file that remains is: /Applications/Lyx.App/Contents/ 
Resources/lyx/preferences attached below for your reference.

preferences
Description: Binary data


I hope this helps,
Ian



Bennett



On 03/02/2006, at 8:04 PM, Patrick De Visschere wrote:


Ian,

I had similar problems and solved it by removing all the  
preference-files (old and new).
From 1.3.5 on the preferences have been moved from ~/.lyx/ to ~/ 
Library/Application Support/lyx/
When upgrading the lyx installer moves the files but apparently  
something goes wrong causing lyx to look in the wrong places.
I upgraded from 1.3.5 to 1.3.7 and got your problem, although  
tetex and all classes were present as before. I'm not sure but  
it is possible that the paths in the preferences-dialog were  
empty; maybe supplying the missing paths may also help.






Re: Mac Install Problems

2006-02-04 Thread Bennett Helm

On Feb 4, 2006, at 5:41 AM, Ian Stevenson wrote:


Dear Bennett,

I hope the following may be helpful help but I suspect not as clear  
as you would like.


OK ... but what precisely is the bug? What goes wrong with the  
conversion from the old preferences file to the new? When I try it  
here, the conversion from 1.3.5 to 1.3.7 goes smoothly, so if  
there is a problem with the installer script I need more information.


I do not recall installing 1.3.5 so I think this is a fresh  
install, I can only assume the 1.3.7 creates the ~/.lyx directory


Actually, from 1.3.6 on (including 1.3.7), the user's directory is at  
~/Library/Application Support/LyX. 1.3.5 and earlier used ~/.lyx.


You'll have to be a bit more specific as there are at least 3 files  
called preferences these are:

~/.lyx/preferences
~/Library/Application Support/Lyx/preferences
/Applications/Lyx.App/Contents/Resources/lyx/preferences


Preferences located within LyX.app are the default ones I include  
with the binary, and they don't get changed by anything you do. So  
it's only the first two I'd be interested in: the former would be  
1.3.5, the latter 1.3.7.



Could you send me the following:

(a) your 1.3.5 preferences file,
(b) the 1.3.7 preferences file that the lyx installer produces, and


I deleted the following:
~/.lyx/preferences
~/Library/Application Support/Lyx/preferences

I have no way of knowing which is now in my trash folder


If you still have it, please send it: I can figure out which one it is.


(c) the 1.3.7 preferences file that works?


The only file that remains is: /Applications/Lyx.App/Contents/ 
Resources/lyx/preferences attached below for your reference.


Alas, that one won't help me.

Thanks for your persistence. I hope to have everything worked out  
before 1.4.0 ships, so any help you can provide in tracking this down  
would be appreciated.


Bennett


lyx install on mac broken

2006-02-04 Thread Ranjit Chacko
I installed Lyx 1.3.7 on my iBook running Tiger but for some reason  
it broke.  I upgraded from 1.3.5 but now Lyx doesn't see the Latex  
classes, and all the preview modes are gone.  When I go back to 1.3.5  
everything works again.





Re: Editors for LaTeX-files with syntax highlighting

2006-02-04 Thread Uwe Stöhr

Jack M. Lyon wrote:

Do you know other editors that offer syntax-highlighting for LaTeX and 
run on Windows?


Thanks for the lists of programs. I've now built in support for the 
following editors:


jEdit, PSPad, WinShell, ConTEXT, Crimson Editor, Vim, TeXnicCenter, 
LaTeXEditor, WinEdt, LEd, WinTeX, (notepad)


If no editor is found notepad will be used as viewer for LaTeX.

regards Uwe



Re: LyX is getting... very annoying.

2006-02-04 Thread Marc D.


(oops, sent to wrong mailbox due to reply-to settings)

On 2 Feb 06, at 00:09, Helge Hafting wrote:


Marc D. wrote:

I have created a rather large lyx file (all my course notes). In  
one  section, I can't get it to work. I have reduced the problem  
to a  minimum. There are 3 characters on my screen, in two lines.


I get SIX errors with those 3 characters.

Answer: it's the \textmf that causes ALL six errors. (and all 35   
errors in my original file). All from a a single, obviously   
misplaced, \textmf tag that I DID NOT INSERT (or knowingly insert.  
I  don't USE different fonts in my document!)



Seems you have found a bug in lyx, then.

When I write 2^Q (in math mode), I get something that works.   
However, if
I select the formula and change the font, I do get the same problem  
as you.

This problem exists in lyx 1.4 too.

If, however, I write 2^Q as text, then select it and press ctrl+M  
(to turn it into
a formula, then I also get that problem. This time without doing  
any font change.
This problem does not exist in the soon to be lyx 1.4, so it will  
go away.


So I suggest, as a workaround, that you press ctrl+M first, then  
type your formula in math mode.  Then it will work.


This is what I always do. I never select text and then use ctrl-M, as  
I find

it rarely does what I wanted


You may also note that a formula _not_ using
the troublesome \textrm will show up as blue in the lyx window,  
where the

wrong formulas are black.


It's a very dark blue then, because it looks quite black on my screen.

Thanks to George for pointing out the bug (I need to learn to check
bugzilla BEFORE posting to the list!).

I'm off to battle. Thanks all for your help.



Screen Captures in Documents

2006-02-04 Thread Rich Shepard

  A document requires screen shots as illustrations. I've used The GIMP to
capture the window, scaled the result to 100 pixels/inch resolution, and a
size of 4 inches wide. Then it's saved as a .png file. The document will
almost certainly be printed by readers on a laser or color inkjet printer.

  I'm seeking comments on whether there is a better way to represent these
images. That is, should the resolution be higher? Is a different file format
a better choice? They are raster images to begin with, so conversion to a
vector format such as .eps will almost certainly result in resolution loss.

  Your experience counts! What have you to suggest?

Rich

--
Richard B. Shepard, Ph.D.   |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863


Re: Screen Captures in Documents

2006-02-04 Thread Georg Baum
Am Samstag, 4. Februar 2006 17:58 schrieb Rich Shepard:
A document requires screen shots as illustrations. I've used The GIMP 
to
 capture the window, scaled the result to 100 pixels/inch resolution, and 
a
 size of 4 inches wide. Then it's saved as a .png file. The document will
 almost certainly be printed by readers on a laser or color inkjet 
printer.

I would not scale the image. The dimensions of the screenshot in inch 
don't matter at all, what matters is the number of pixels, and that is 
predetermined by the window you want to capture. You can do the final 
scaling in LyX, this is often preferable, because you scale to 100%  text 
width or some other document related size.
When I do screenshots, I simply save the resulting file as png. Sometimes 
I crop unnessecary borders away, but more manipulations are normally not 
needed.

I'm seeking comments on whether there is a better way to represent 
these
 images. That is, should the resolution be higher? Is a different file 
format
 a better choice?

PNG is a good file format for this task: it is a bitmap format, and has 
lossless compression that works well for typical screen contents. It will 
be included without conversion in the resulting pdf with pdflatex, and it 
can be easily converted to eps by LyX if you use latex with postscript 
output. JPEG would  also be an alternative, but only if you have file 
size probelms, since it compresses lossy. There are a lot of commercial 
software manuals with JPEG screenshots, but that looks ugly.

 They are raster images to begin with, so conversion to a 
 vector format such as .eps will almost certainly result in resolution 
loss.

I don't think so. EPS can contain vector and bitmap data, with a good 
converter the result will be equivalent to the original image (but 
typically require more storage on disk).


Georg



Heading Font in KomaScript Book Class

2006-02-04 Thread Rich Shepard

  I've looked through the KOMA-Script guide without seeing anything on how to
change the typefaces. In Layout-Document I can specify the body typeface and
size, but not that used for the title and headings.

  While I need the additional features in the KOMA classes, I much prefer the
serif typeface in titles and headings that is provided in the built-in
classes. Can I change this? If so, where and how?

Thanks,

Rich

--
Richard B. Shepard, Ph.D.   |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863


Re: Screen Captures in Documents

2006-02-04 Thread Rich Shepard

On Sat, 4 Feb 2006, Georg Baum wrote:


I would not scale the image. The dimensions of the screenshot in inch don't
matter at all, what matters is the number of pixels, and that is
predetermined by the window you want to capture. You can do the final
scaling in LyX, this is often preferable, because you scale to 100% text
width or some other document related size. When I do screenshots, I simply
save the resulting file as png. Sometimes I crop unnessecary borders away,
but more manipulations are normally not needed.


  Thanks, Georg. I considered doing that but the large size of the images in
the LyX document prompted me to shrink them before hand.

  What resolution do you use when you save the image?

Rich

--
Richard B. Shepard, Ph.D.   |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863


Re: Heading Font in KomaScript Book Class

2006-02-04 Thread Juergen Spitzmueller
Rich Shepard wrote:
  I've looked through the KOMA-Script guide without seeing anything on how
 to change the typefaces. In Layout-Document I can specify the body
 typeface and size, but not that used for the title and headings.

    While I need the additional features in the KOMA classes, I much prefer
 the serif typeface in titles and headings that is provided in the built-in
 classes. Can I change this? If so, where and how?

\setkomafont{sectioning}{\normalfont\bfseries}

Have a look at scrguien.pdf for more possibilities (setkomafont, 
addtokomafont).

Regards,
Jürgen


Re: Screen Captures in Documents

2006-02-04 Thread Rich Shepard

On Sat, 4 Feb 2006, Georg Baum wrote:


I would not scale the image. The dimensions of the screenshot in inch
don't matter at all, what matters is the number of pixels, and that is
predetermined by the window you want to capture. You can do the final
scaling in LyX, this is often preferable, because you scale to 100%  text
width or some other document related size.
When I do screenshots, I simply save the resulting file as png. Sometimes
I crop unnessecary borders away, but more manipulations are normally not
needed.


Georg,

  This is really strange. When I look at the screenshot attributes in The
GIMP, I see that it's 100 dpi resolution and 800-something pixels wide. The
image imports into the document and displays in the LyX float window. But,
now when I try to look at it using pdflatex, there is either no image at all
above the caption, or a black band.

  Within LyX I've tried scaling the image to 100% of the line and of the text
area. I've also tried 50% scale and 4 inches.

  I wonder why this is not working now, when the GIMP-scaled images displayed
just fine before, and your technique works well for you.

Rich

--
Richard B. Shepard, Ph.D.   |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863


Re: Screen Captures in Documents

2006-02-04 Thread Wolfgang Engelmann
Am Samstag, 4. Februar 2006 18:23 schrieb Rich Shepard:
 On Sat, 4 Feb 2006, Georg Baum wrote:
  I would not scale the image. The dimensions of the screenshot in inch
  don't matter at all, what matters is the number of pixels, and that is
  predetermined by the window you want to capture. You can do the final
  scaling in LyX, this is often preferable, because you scale to 100% text
  width or some other document related size. When I do screenshots, I
  simply save the resulting file as png. Sometimes I crop unnessecary
  borders away, but more manipulations are normally not needed.

how do you crop them away?
(e.g. eps-file). Do you do it in the eps description of the file or do you use 
a program? And which one?

Wolfgang


Re: Heading Font in KomaScript Book Class

2006-02-04 Thread Rich Shepard

On Sat, 4 Feb 2006, Juergen Spitzmueller wrote:


\setkomafont{sectioning}{\normalfont\bfseries}

Have a look at scrguien.pdf for more possibilities (setkomafont,
addtokomafont).


Jürgen,

  Thank you very much. I see that's in the command index and I was looking at
the table of contents.

Rich

--
Richard B. Shepard, Ph.D.   |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863

Re: Screen Captures in Documents

2006-02-04 Thread Georg Baum
Am Samstag, 4. Februar 2006 18:23 schrieb Rich Shepard:
Thanks, Georg. I considered doing that but the large size of the 
images in
 the LyX document prompted me to shrink them before hand.

You can adjust the onscreen display to 30% or something like that in the 
graphics dialog. Or did you mean file size? A screenshot of my 1280x1024 
desktop is typically about 160 kb, you can store lots of these images on 
todays storage media.

What resolution do you use when you save the image?

I don't set any, I simply save the image as png. The resolution that is 
saved in the png file does only matter if you use the size% units for 
scaling in LyX, but for my stuff I don't use this very often.


Georg



Re: Screen Captures in Documents

2006-02-04 Thread Georg Baum
Am Samstag, 4. Februar 2006 18:37 schrieb Rich Shepard:
This is really strange. When I look at the screenshot attributes in 
The
 GIMP, I see that it's 100 dpi resolution and 800-something pixels wide.

It probably took the 100dpi from your X setup.

 The 
 image imports into the document and displays in the LyX float window. 
But,
 now when I try to look at it using pdflatex, there is either no image at 
all
 above the caption, or a black band.
 
Within LyX I've tried scaling the image to 100% of the line and of 
the text
 area. I've also tried 50% scale and 4 inches.
 
I wonder why this is not working now, when the GIMP-scaled images 
displayed
 just fine before, and your technique works well for you.

Sorry, but I don't know what could be the problem. Running pdflatex by 
hand in the temp directory might give more insight.


Georg



Re: Screen Captures in Documents

2006-02-04 Thread Georg Baum
Am Samstag, 4. Februar 2006 18:41 schrieb Wolfgang Engelmann:
 how do you crop them away?
 (e.g. eps-file). Do you do it in the eps description of the file or do 
you use 
 a program? And which one?

When I need to crop white borders of eps files, I usually run them through 
pstoepsi, or use the crop options in the LyX graphics dialog.
What I meant here where screenshots, where I use the automatic cropping 
feature of the gimp to do that.


Georg



Re: lyx install on mac broken

2006-02-04 Thread Bennett Helm

On Feb 4, 2006, at 9:50 AM, Ranjit Chacko wrote:

I installed Lyx 1.3.7 on my iBook running Tiger but for some reason  
it broke.  I upgraded from 1.3.5 but now Lyx doesn't see the Latex  
classes, and all the preview modes are gone.  When I go back to  
1.3.5 everything works again.


I assume you ran the installer, right?

Apparently this is a problem for some users upgrading from 1.3.5 to  
1.3.7. Could you please send me the preferences file located at  
~/.lyx/preferences so that I can figure out what's going wrong?


Thanks.

Bennett


floating table caption placing

2006-02-04 Thread Cezary Morga
Hi there,

Could anyone tell me if there is a way to make floating table's caption align 
to left? I can't find it anywhere.

-- 
Cezary Morga
GG# 169903 ICQ# 328-700-565
Jabber: thereidos(at)jabber.autocom.pl
http://thereidos.co.nr/


Re: floating table caption placing

2006-02-04 Thread Rich Shepard

On Sat, 4 Feb 2006, Cezary Morga wrote:


Could anyone tell me if there is a way to make floating table's caption
align to left? I can't find it anywhere.


  Put the cursor at the head of the caption, then from the menu system:
Layout-Paragraph-Alignment. Change that to Center in the combo box and
press the Apply button.

Rich

--
Richard B. Shepard, Ph.D.   |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863


Re: floating table caption placing

2006-02-04 Thread Martin A. Hansen
if you use komascript, then try this in preamble:

\setcapindent{0pt}

else

go to www.texnik.de where there is a hint for left aligning captions.



martin


On 04/02/06, Rich Shepard [EMAIL PROTECTED] wrote:

 On Sat, 4 Feb 2006, Cezary Morga wrote:

  Could anyone tell me if there is a way to make floating table's caption
  align to left? I can't find it anywhere.

Put the cursor at the head of the caption, then from the menu system:
 Layout-Paragraph-Alignment. Change that to Center in the combo box and
 press the Apply button.

 Rich

 --
 Richard B. Shepard, Ph.D.   |   Author of Quantifying
 Environmental
 Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy
 Logic
 http://www.appl-ecosys.com Voice: 503-667-4517 Fax:
 503-667-8863



Lyx Layout file for exam package?

2006-02-04 Thread Thorsten Grothe
Hi,

I'm working quiet often with the exam package to create exams. Is there 
anywhere a Lyx Layout file for this package? I googled a lot but did 
not find something suitable.

Thank you in advance!

Regards

Thorsten


Re: floating table caption placing

2006-02-04 Thread Cezary Morga
Dnia sobota 04 lutego 2006 20:02, Rich Shepard napisał:
 On Sat, 4 Feb 2006, Cezary Morga wrote:
  Could anyone tell me if there is a way to make floating table's caption
  align to left? I can't find it anywhere.

Put the cursor at the head of the caption, then from the menu system:
 Layout-Paragraph-Alignment. Change that to Center in the combo box and
 press the Apply button.

 Rich

It is centered. I want it aligned to left and trying to do it this way doesn't 
work.
-- 
Cezary Morga
GG# 169903 ICQ# 328-700-565
Jabber: thereidos(at)jabber.autocom.pl
http://thereidos.co.nr/


Re: Screen Captures in Documents

2006-02-04 Thread Herbert Voss

Georg Baum wrote:

Am Samstag, 4. Februar 2006 18:41 schrieb Wolfgang Engelmann:


how do you crop them away?
(e.g. eps-file). Do you do it in the eps description of the file or do 


you use 


a program? And which one?



When I need to crop white borders of eps files, I usually run them through 
pstoepsi, or use the crop options in the LyX graphics dialog.
What I meant here where screenshots, where I use the automatic cropping 
feature of the gimp to do that.


pdfcrop --margins 10 file.pdf

can be done with a script ...

Herbert




Re: Screen Captures in Documents

2006-02-04 Thread Sara Stymne

Hi!

I have no solution, but a related problem...

In LyX I canot use insert-graphics from the menu. I think this is 
because LyX uses the graphics package and that it somehow conflicts with 
the gb4e package that I also use. When I remove gb4e graphic-insertion 
seems to work, but not the gb4e-stuff of course. I found a workaround to 
this, using graphicxs and include pictures with ERT. It works, but LyX 
does not seem to be capable to convert png to eps, when not using 
pdflatex, which I believe it does when inserting throw the menu.  And I 
prefer not to use pdflatex, because it seems to make the quality of my 
xypic-figures quite bad.


So then I have to manually convert png to eps for my screenshot. I tried 
to convert both with the Gimp and with the imagemagick convert tool, but 
both ways the quality of the eps-images are quite bad.


So, any ideas? Either how to produce nice xypic with pdflatex, or nice 
eps screenshots from png..


/Sara




Rich Shepard wrote:

  A document requires screen shots as illustrations. I've used The 
GIMP to
capture the window, scaled the result to 100 pixels/inch resolution, 
and a

size of 4 inches wide. Then it's saved as a .png file. The document will
almost certainly be printed by readers on a laser or color inkjet 
printer.


  I'm seeking comments on whether there is a better way to represent 
these
images. That is, should the resolution be higher? Is a different file 
format

a better choice? They are raster images to begin with, so conversion to a
vector format such as .eps will almost certainly result in resolution 
loss.


  Your experience counts! What have you to suggest?

Rich





LaTeX2html with Windows

2006-02-04 Thread Stephen Harris

I think that I read that Perl was no longer going to be
a required package for installing WinLyx since relyx
was going to be removed. Is Latex2html part of the
Latex total package? If Perl is no longer required does 
it mean that Latex2html is no longer a supported WinLyx 
option and that htlatex will be the default? I saw a post 
on the developer list about installing Windows/Latex2html.


Regards,
Stephen 



GUI Buttons In Text

2006-02-04 Thread Rich Shepard

  In my document I reference specific buttons on the GUI of an application;
buttons such as OK, Clear, Add, and Load. What I have done is place each word
in a \framebox{}. It looks pretty ugly; the frames extend slightly below the
baseline and above the line of text.

  Then I tried searching the symbol list, Google, and the TUG Tips and Tricks
web pages. Didn't find anything that looked like a solution.

  What do folks do in this situation? I suppose I could set the words in
Italics and let it go at that.

TIA,

Rich

--
Richard B. Shepard, Ph.D.   |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863


Re: Screen Captures in Documents

2006-02-04 Thread Sara Stymne

Stephen Harris wrote:



- Original Message - From: Sara Stymne [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Sent: Saturday, February 04, 2006 1:50 PM
Subject: Re: Screen Captures in Documents



Hi!

I have no solution, but a related problem...

In LyX I canot use insert-graphics from the menu. I think this is 
because LyX uses the graphics package and that it somehow conflicts 
with the gb4e package that I also use. When I remove gb4e 
graphic-insertion seems to work, but not the gb4e-stuff of course. I 
found a workaround to this, using graphicxs and include pictures with 
ERT. It works, but LyX does not seem to be capable to convert png to 
eps, when not using pdflatex, which I believe it does when inserting 
throw the menu.  And I prefer not to use pdflatex, because it seems 
to make the quality of my xypic-figures quite bad.


So then I have to manually convert png to eps for my screenshot. I 
tried to convert both with the Gimp and with the imagemagick convert 
tool, but both ways the quality of the eps-images are quite bad.


So, any ideas? Either how to produce nice xypic with pdflatex, or 
nice eps screenshots from png..


/Sara



Perhaps you are experienced with xypic, but if not, here is a 10 page
tutorial: http://www.mathematik.uni-marburg.de/~gumm/LyX/xypic/xypic.pdf

When I converted xypic.lyx with pdflatex I got the same image as above^.
This looks clear to me, but perhaps I don't have high standards. :-)
I attach xypic.lyx for comparison purposes, and a perhaps relevant 
portion:


\begin_inset Graphics
filename xyfigure.PNG
scale 62
clip

\end_inset

SH: I also converted xypic.tex to html with htlatex which generates 
png images

http://www.mathematik.uni-marburg.de/%7Egumm/LyX/Using_XYpic_in_LyX.htm

I think the pngs look ok but parts of the conversion require editing.
The LyX developers removed support for XYpic from LyX1.4.0
I was thinking Prof. Gumm might be more attuned to this problem area.

Regards,
Stephen 



I wasn't actually using xypic, but xyling which is a linguistic tree 
package built on xypic, and thus I could not use it in LyX directly, so 
I constructed the pictures in ERT. Should probably have mentioned that 
in the first mail, but I didn't think about it...


The pictures looks mostly fine, but the diagonal lines are not straight, 
neither when viewed with a pdf-viewer, or printed. They are actually not 
straight when not using pdflatex either, but they are much better.


On another topic, I think that LyX is great, and I started using it so 
that I would not have to learn too much latex, which I did not know at 
that stage. But in the end I found it easier to do it the latex way than 
the LyX way in very many cases.


/Sara


Re: GUI Buttons In Text

2006-02-04 Thread Kevin Pfeiffer
Rich Shepard writes:
In my document I reference specific buttons on the GUI of an
 application; buttons such as OK, Clear, Add, and Load. What I have
 done is place each word in a \framebox{}. It looks pretty ugly; the
 frames extend slightly below the baseline and above the line of text.

I would suggest that you use small caps (possibly set bold) and no 
frame. If you absolutely must draw a picture of each button, then place 
them in the margin or above the paragraph that references them (or 
below).

-K

-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


1.4 Pre for windows?

2006-02-04 Thread Stacia Hartleben
Is there a place where I can download the 1.4 pre version for windows?


Re: Can't install lyx 1.3.7 on OS X. Can't see my tetex install

2006-02-04 Thread Daryl Moulder


On 04/02/2006, at 6:27 PM, Stephen Harris wrote:



- Original Message - From: Daryl Moulder [EMAIL PROTECTED]
To: Bennett Helm [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Sent: Friday, February 03, 2006 5:06 PM
Subject: Re: Can't install lyx 1.3.7 on OS X. Can't see my tetex  
install



Deleting the /usr/local/teTex dir and reinstalling the full latex   
install did the trick thanks.  The only problem I have now is  
adding  my custom class.  I added it to the path with other .cls  
files and  have a LyX
layout file so I does come up in lyx but for some reason the   
reconfigure command does not pick it up.

Daryl Moulder


You didn't mention running texconfig rehash to update Tetex
before running LyX Reconfigure, Rescan.



Yes that did the trick thanks!

Daryl Moulder

-- When everything is not as square as it may seem.



Re: OT: Converter matrix to picture

2006-02-04 Thread John Pye

Hi Paul

Just to specify a bit, you should take a look at the 'spy' and 'spy2' 
commands from matplotlib


JP

Paul Smith wrote:


On 2/3/06, John Pye [EMAIL PROTECTED] wrote:
 


You should try Matplotlib under python. You've got a lot of the MATLAB
functionality re-implemented in python.
http://matplotlib.sourceforge.net/

There is a sample sparsity diagram that I produced, see here (scroll
down to near the bottom)
https://pse.cheme.cmu.edu/wiki/view/Ascend/PythonWrapper

Using matplotlib you can also render directly to various formats
including SVG, I believe.
   



Thanks, John. That is a quite useful set of commands.

Paul

 



Fwd: Mac Install Problems

2006-02-04 Thread Ian Stevenson


Dear Bennett,

I hope the following may be helpful help but I suspect not as clear  
as you would like.


OK ... but what precisely is the bug? What goes wrong with the  
conversion from the old preferences file to the new? When I try it  
here, the conversion from 1.3.5 to 1.3.7 goes smoothly, so if  
there is a problem with the installer script I need more information.


I do not recall installing 1.3.5 so I think this is a fresh  
install, I can only assume the 1.3.7 creates the ~/.lyx directory


You'll have to be a bit more specific as there are at least 3 files  
called "preferences" these are:

~/.lyx/preferences
~/Library/Application Support/Lyx/preferences
/Applications/Lyx.App/Contents/Resources/lyx/preferences



Could you send me the following:

(a) your 1.3.5 preferences file,
(b) the 1.3.7 preferences file that the lyx installer produces, and


I deleted the following:
~/.lyx/preferences
~/Library/Application Support/Lyx/preferences

I have no way of knowing which is now in my "trash" folder


(c) the 1.3.7 preferences file that works?


The only file that remains is: /Applications/Lyx.App/Contents/ 
Resources/lyx/preferences attached below for your reference.

preferences
Description: Binary data


I hope this helps,
Ian



Bennett



On 03/02/2006, at 8:04 PM, Patrick De Visschere wrote:


Ian,

I had similar problems and solved it by removing all the  
preference-files (old and new).
From 1.3.5 on the preferences have been moved from ~/.lyx/ to ~/ 
Library/Application Support/lyx/
When upgrading the lyx installer moves the files but apparently  
something goes wrong causing lyx to look in the wrong places.
I upgraded from 1.3.5 to 1.3.7 and got your problem, although  
tetex and all classes were present as before. I'm not sure but  
it is possible that the paths in the preferences-dialog were  
empty; maybe supplying the missing paths may also help.






Re: Mac Install Problems

2006-02-04 Thread Bennett Helm

On Feb 4, 2006, at 5:41 AM, Ian Stevenson wrote:


Dear Bennett,

I hope the following may be helpful help but I suspect not as clear  
as you would like.


OK ... but what precisely is the bug? What goes wrong with the  
conversion from the old preferences file to the new? When I try it  
here, the conversion from 1.3.5 to 1.3.7 goes smoothly, so if  
there is a problem with the installer script I need more information.


I do not recall installing 1.3.5 so I think this is a fresh  
install, I can only assume the 1.3.7 creates the ~/.lyx directory


Actually, from 1.3.6 on (including 1.3.7), the user's directory is at  
~/Library/Application Support/LyX. 1.3.5 and earlier used ~/.lyx.


You'll have to be a bit more specific as there are at least 3 files  
called "preferences" these are:

~/.lyx/preferences
~/Library/Application Support/Lyx/preferences
/Applications/Lyx.App/Contents/Resources/lyx/preferences


Preferences located within LyX.app are the default ones I include  
with the binary, and they don't get changed by anything you do. So  
it's only the first two I'd be interested in: the former would be  
1.3.5, the latter 1.3.7.



Could you send me the following:

(a) your 1.3.5 preferences file,
(b) the 1.3.7 preferences file that the lyx installer produces, and


I deleted the following:
~/.lyx/preferences
~/Library/Application Support/Lyx/preferences

I have no way of knowing which is now in my "trash" folder


If you still have it, please send it: I can figure out which one it is.


(c) the 1.3.7 preferences file that works?


The only file that remains is: /Applications/Lyx.App/Contents/ 
Resources/lyx/preferences attached below for your reference.


Alas, that one won't help me.

Thanks for your persistence. I hope to have everything worked out  
before 1.4.0 ships, so any help you can provide in tracking this down  
would be appreciated.


Bennett


lyx install on mac broken

2006-02-04 Thread Ranjit Chacko
I installed Lyx 1.3.7 on my iBook running Tiger but for some reason  
it broke.  I upgraded from 1.3.5 but now Lyx doesn't see the Latex  
classes, and all the preview modes are gone.  When I go back to 1.3.5  
everything works again.





Re: Editors for LaTeX-files with syntax highlighting

2006-02-04 Thread Uwe Stöhr

Jack M. Lyon wrote:

Do you know other editors that offer syntax-highlighting for LaTeX and 
run on Windows?


Thanks for the lists of programs. I've now built in support for the 
following editors:


jEdit, PSPad, WinShell, ConTEXT, Crimson Editor, Vim, TeXnicCenter, 
LaTeXEditor, WinEdt, LEd, WinTeX, (notepad)


If no editor is found notepad will be used as viewer for LaTeX.

regards Uwe



Re: LyX is getting... very annoying.

2006-02-04 Thread Marc D.


(oops, sent to wrong mailbox due to reply-to settings)

On 2 Feb 06, at 00:09, Helge Hafting wrote:


Marc D. wrote:

I have created a rather large lyx file (all my course notes). In  
one  section, I can't get it to work. I have reduced the problem  
to a  minimum. There are 3 characters on my screen, in two lines.


I get SIX errors with those 3 characters.

Answer: it's the \textmf that causes ALL six errors. (and all 35   
errors in my original file). All from a a single, obviously   
misplaced, \textmf tag that I DID NOT INSERT (or knowingly insert.  
I  don't USE different fonts in my document!)



Seems you have found a bug in lyx, then.

When I write 2^Q (in math mode), I get something that works.   
However, if
I select the formula and change the font, I do get the same problem  
as you.

This problem exists in lyx 1.4 too.

If, however, I write 2^Q as text, then select it and press ctrl+M  
(to turn it into
a formula, then I also get that problem. This time without doing  
any font change.
This problem does not exist in the soon to be lyx 1.4, so it will  
go away.


So I suggest, as a workaround, that you press ctrl+M first, then  
type your formula in math mode.  Then it will work.


This is what I always do. I never select text and then use ctrl-M, as  
I find

it rarely "does what I wanted"


You may also note that a formula _not_ using
the troublesome \textrm will show up as blue in the lyx window,  
where the

wrong formulas are black.


It's a very dark blue then, because it looks quite black on my screen.

Thanks to George for pointing out the bug (I need to learn to check
bugzilla BEFORE posting to the list!).

I'm off to battle. Thanks all for your help.



Screen Captures in Documents

2006-02-04 Thread Rich Shepard

  A document requires screen shots as illustrations. I've used The GIMP to
capture the window, scaled the result to 100 pixels/inch resolution, and a
size of 4 inches wide. Then it's saved as a .png file. The document will
almost certainly be printed by readers on a laser or color inkjet printer.

  I'm seeking comments on whether there is a better way to represent these
images. That is, should the resolution be higher? Is a different file format
a better choice? They are raster images to begin with, so conversion to a
vector format such as .eps will almost certainly result in resolution loss.

  Your experience counts! What have you to suggest?

Rich

--
Richard B. Shepard, Ph.D.   |   Author of "Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic"
 Voice: 503-667-4517 Fax: 503-667-8863


Re: Screen Captures in Documents

2006-02-04 Thread Georg Baum
Am Samstag, 4. Februar 2006 17:58 schrieb Rich Shepard:
>A document requires screen shots as illustrations. I've used The GIMP 
to
> capture the window, scaled the result to 100 pixels/inch resolution, and 
a
> size of 4 inches wide. Then it's saved as a .png file. The document will
> almost certainly be printed by readers on a laser or color inkjet 
printer.

I would not scale the image. The dimensions of the screenshot in inch 
don't matter at all, what matters is the number of pixels, and that is 
predetermined by the window you want to capture. You can do the final 
scaling in LyX, this is often preferable, because you scale to 100%  text 
width or some other document related size.
When I do screenshots, I simply save the resulting file as png. Sometimes 
I crop unnessecary borders away, but more manipulations are normally not 
needed.

>I'm seeking comments on whether there is a better way to represent 
these
> images. That is, should the resolution be higher? Is a different file 
format
> a better choice?

PNG is a good file format for this task: it is a bitmap format, and has 
lossless compression that works well for typical screen contents. It will 
be included without conversion in the resulting pdf with pdflatex, and it 
can be easily converted to eps by LyX if you use latex with postscript 
output. JPEG would  also be an alternative, but only if you have file 
size probelms, since it compresses lossy. There are a lot of commercial 
software manuals with JPEG screenshots, but that looks ugly.

> They are raster images to begin with, so conversion to a 
> vector format such as .eps will almost certainly result in resolution 
loss.

I don't think so. EPS can contain vector and bitmap data, with a good 
converter the result will be equivalent to the original image (but 
typically require more storage on disk).


Georg



Heading Font in KomaScript Book Class

2006-02-04 Thread Rich Shepard

  I've looked through the KOMA-Script guide without seeing anything on how to
change the typefaces. In Layout->Document I can specify the body typeface and
size, but not that used for the title and headings.

  While I need the additional features in the KOMA classes, I much prefer the
serif typeface in titles and headings that is provided in the built-in
classes. Can I change this? If so, where and how?

Thanks,

Rich

--
Richard B. Shepard, Ph.D.   |   Author of "Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic"
 Voice: 503-667-4517 Fax: 503-667-8863


Re: Screen Captures in Documents

2006-02-04 Thread Rich Shepard

On Sat, 4 Feb 2006, Georg Baum wrote:


I would not scale the image. The dimensions of the screenshot in inch don't
matter at all, what matters is the number of pixels, and that is
predetermined by the window you want to capture. You can do the final
scaling in LyX, this is often preferable, because you scale to 100% text
width or some other document related size. When I do screenshots, I simply
save the resulting file as png. Sometimes I crop unnessecary borders away,
but more manipulations are normally not needed.


  Thanks, Georg. I considered doing that but the large size of the images in
the LyX document prompted me to shrink them before hand.

  What resolution do you use when you save the image?

Rich

--
Richard B. Shepard, Ph.D.   |   Author of "Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic"
 Voice: 503-667-4517 Fax: 503-667-8863


Re: Heading Font in KomaScript Book Class

2006-02-04 Thread Juergen Spitzmueller
Rich Shepard wrote:
>  I've looked through the KOMA-Script guide without seeing anything on how
> to change the typefaces. In Layout->Document I can specify the body
> typeface and size, but not that used for the title and headings.
>
>    While I need the additional features in the KOMA classes, I much prefer
> the serif typeface in titles and headings that is provided in the built-in
> classes. Can I change this? If so, where and how?

\setkomafont{sectioning}{\normalfont\bfseries}

Have a look at scrguien.pdf for more possibilities (setkomafont, 
addtokomafont).

Regards,
Jürgen


Re: Screen Captures in Documents

2006-02-04 Thread Rich Shepard

On Sat, 4 Feb 2006, Georg Baum wrote:


I would not scale the image. The dimensions of the screenshot in inch
don't matter at all, what matters is the number of pixels, and that is
predetermined by the window you want to capture. You can do the final
scaling in LyX, this is often preferable, because you scale to 100%  text
width or some other document related size.
When I do screenshots, I simply save the resulting file as png. Sometimes
I crop unnessecary borders away, but more manipulations are normally not
needed.


Georg,

  This is really strange. When I look at the screenshot attributes in The
GIMP, I see that it's 100 dpi resolution and 800-something pixels wide. The
image imports into the document and displays in the LyX float window. But,
now when I try to look at it using pdflatex, there is either no image at all
above the caption, or a black band.

  Within LyX I've tried scaling the image to 100% of the line and of the text
area. I've also tried 50% scale and 4 inches.

  I wonder why this is not working now, when the GIMP-scaled images displayed
just fine before, and your technique works well for you.

Rich

--
Richard B. Shepard, Ph.D.   |   Author of "Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic"
 Voice: 503-667-4517 Fax: 503-667-8863


Re: Screen Captures in Documents

2006-02-04 Thread Wolfgang Engelmann
Am Samstag, 4. Februar 2006 18:23 schrieb Rich Shepard:
> On Sat, 4 Feb 2006, Georg Baum wrote:
> > I would not scale the image. The dimensions of the screenshot in inch
> > don't matter at all, what matters is the number of pixels, and that is
> > predetermined by the window you want to capture. You can do the final
> > scaling in LyX, this is often preferable, because you scale to 100% text
> > width or some other document related size. When I do screenshots, I
> > simply save the resulting file as png. Sometimes I crop unnessecary
> > borders away, but more manipulations are normally not needed.

how do you crop them away?
(e.g. eps-file). Do you do it in the eps description of the file or do you use 
a program? And which one?

Wolfgang


Re: Heading Font in KomaScript Book Class

2006-02-04 Thread Rich Shepard

On Sat, 4 Feb 2006, Juergen Spitzmueller wrote:


\setkomafont{sectioning}{\normalfont\bfseries}

Have a look at scrguien.pdf for more possibilities (setkomafont,
addtokomafont).


Jürgen,

  Thank you very much. I see that's in the command index and I was looking at
the table of contents.

Rich

--
Richard B. Shepard, Ph.D.   |   Author of "Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic"
 Voice: 503-667-4517 Fax: 503-667-8863

Re: Screen Captures in Documents

2006-02-04 Thread Georg Baum
Am Samstag, 4. Februar 2006 18:23 schrieb Rich Shepard:
>Thanks, Georg. I considered doing that but the large size of the 
images in
> the LyX document prompted me to shrink them before hand.

You can adjust the onscreen display to 30% or something like that in the 
graphics dialog. Or did you mean file size? A screenshot of my 1280x1024 
desktop is typically about 160 kb, you can store lots of these images on 
todays storage media.

>What resolution do you use when you save the image?

I don't set any, I simply save the image as png. The resolution that is 
saved in the png file does only matter if you use the "size%" units for 
scaling in LyX, but for my stuff I don't use this very often.


Georg



Re: Screen Captures in Documents

2006-02-04 Thread Georg Baum
Am Samstag, 4. Februar 2006 18:37 schrieb Rich Shepard:
>This is really strange. When I look at the screenshot attributes in 
The
> GIMP, I see that it's 100 dpi resolution and 800-something pixels wide.

It probably took the 100dpi from your X setup.

> The 
> image imports into the document and displays in the LyX float window. 
But,
> now when I try to look at it using pdflatex, there is either no image at 
all
> above the caption, or a black band.
> 
>Within LyX I've tried scaling the image to 100% of the line and of 
the text
> area. I've also tried 50% scale and 4 inches.
> 
>I wonder why this is not working now, when the GIMP-scaled images 
displayed
> just fine before, and your technique works well for you.

Sorry, but I don't know what could be the problem. Running pdflatex by 
hand in the temp directory might give more insight.


Georg



Re: Screen Captures in Documents

2006-02-04 Thread Georg Baum
Am Samstag, 4. Februar 2006 18:41 schrieb Wolfgang Engelmann:
> how do you crop them away?
> (e.g. eps-file). Do you do it in the eps description of the file or do 
you use 
> a program? And which one?

When I need to crop white borders of eps files, I usually run them through 
pstoepsi, or use the crop options in the LyX graphics dialog.
What I meant here where screenshots, where I use the automatic cropping 
feature of the gimp to do that.


Georg



Re: lyx install on mac broken

2006-02-04 Thread Bennett Helm

On Feb 4, 2006, at 9:50 AM, Ranjit Chacko wrote:

I installed Lyx 1.3.7 on my iBook running Tiger but for some reason  
it broke.  I upgraded from 1.3.5 but now Lyx doesn't see the Latex  
classes, and all the preview modes are gone.  When I go back to  
1.3.5 everything works again.


I assume you ran the installer, right?

Apparently this is a problem for some users upgrading from 1.3.5 to  
1.3.7. Could you please send me the preferences file located at  
~/.lyx/preferences so that I can figure out what's going wrong?


Thanks.

Bennett


floating table caption placing

2006-02-04 Thread Cezary Morga
Hi there,

Could anyone tell me if there is a way to make floating table's caption align 
to left? I can't find it anywhere.

-- 
Cezary Morga
GG# 169903 ICQ# 328-700-565
Jabber: thereidos(at)jabber.autocom.pl
http://thereidos.co.nr/


Re: floating table caption placing

2006-02-04 Thread Rich Shepard

On Sat, 4 Feb 2006, Cezary Morga wrote:


Could anyone tell me if there is a way to make floating table's caption
align to left? I can't find it anywhere.


  Put the cursor at the head of the caption, then from the menu system:
Layout->Paragraph->Alignment. Change that to "Center" in the combo box and
press the "Apply" button.

Rich

--
Richard B. Shepard, Ph.D.   |   Author of "Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic"
 Voice: 503-667-4517 Fax: 503-667-8863


Re: floating table caption placing

2006-02-04 Thread Martin A. Hansen
if you use komascript, then try this in preamble:

\setcapindent{0pt}

else

go to www.texnik.de where there is a hint for left aligning captions.



martin


On 04/02/06, Rich Shepard <[EMAIL PROTECTED]> wrote:
>
> On Sat, 4 Feb 2006, Cezary Morga wrote:
>
> > Could anyone tell me if there is a way to make floating table's caption
> > align to left? I can't find it anywhere.
>
>Put the cursor at the head of the caption, then from the menu system:
> Layout->Paragraph->Alignment. Change that to "Center" in the combo box and
> press the "Apply" button.
>
> Rich
>
> --
> Richard B. Shepard, Ph.D.   |   Author of "Quantifying
> Environmental
> Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy
> Logic"
>  Voice: 503-667-4517 Fax:
> 503-667-8863
>


Lyx Layout file for exam package?

2006-02-04 Thread Thorsten Grothe
Hi,

I'm working quiet often with the exam package to create exams. Is there 
anywhere a Lyx Layout file for this package? I googled a lot but did 
not find something suitable.

Thank you in advance!

Regards

Thorsten


Re: floating table caption placing

2006-02-04 Thread Cezary Morga
Dnia sobota 04 lutego 2006 20:02, Rich Shepard napisał:
> On Sat, 4 Feb 2006, Cezary Morga wrote:
> > Could anyone tell me if there is a way to make floating table's caption
> > align to left? I can't find it anywhere.
>
>Put the cursor at the head of the caption, then from the menu system:
> Layout->Paragraph->Alignment. Change that to "Center" in the combo box and
> press the "Apply" button.
>
> Rich

It is centered. I want it aligned to left and trying to do it this way doesn't 
work.
-- 
Cezary Morga
GG# 169903 ICQ# 328-700-565
Jabber: thereidos(at)jabber.autocom.pl
http://thereidos.co.nr/


Re: Screen Captures in Documents

2006-02-04 Thread Herbert Voss

Georg Baum wrote:

Am Samstag, 4. Februar 2006 18:41 schrieb Wolfgang Engelmann:


how do you crop them away?
(e.g. eps-file). Do you do it in the eps description of the file or do 


you use 


a program? And which one?



When I need to crop white borders of eps files, I usually run them through 
pstoepsi, or use the crop options in the LyX graphics dialog.
What I meant here where screenshots, where I use the automatic cropping 
feature of the gimp to do that.


pdfcrop --margins "10" file.pdf

can be done with a script ...

Herbert




Re: Screen Captures in Documents

2006-02-04 Thread Sara Stymne

Hi!

I have no solution, but a related problem...

In LyX I canot use insert->graphics from the menu. I think this is 
because LyX uses the graphics package and that it somehow conflicts with 
the gb4e package that I also use. When I remove gb4e graphic-insertion 
seems to work, but not the gb4e-stuff of course. I found a workaround to 
this, using graphicxs and include pictures with ERT. It works, but LyX 
does not seem to be capable to convert png to eps, when not using 
pdflatex, which I believe it does when inserting throw the menu.  And I 
prefer not to use pdflatex, because it seems to make the quality of my 
xypic-figures quite bad.


So then I have to manually convert png to eps for my screenshot. I tried 
to convert both with the Gimp and with the imagemagick convert tool, but 
both ways the quality of the eps-images are quite bad.


So, any ideas? Either how to produce nice xypic with pdflatex, or nice 
eps screenshots from png..


/Sara




Rich Shepard wrote:

  A document requires screen shots as illustrations. I've used The 
GIMP to
capture the window, scaled the result to 100 pixels/inch resolution, 
and a

size of 4 inches wide. Then it's saved as a .png file. The document will
almost certainly be printed by readers on a laser or color inkjet 
printer.


  I'm seeking comments on whether there is a better way to represent 
these
images. That is, should the resolution be higher? Is a different file 
format

a better choice? They are raster images to begin with, so conversion to a
vector format such as .eps will almost certainly result in resolution 
loss.


  Your experience counts! What have you to suggest?

Rich





LaTeX2html with Windows

2006-02-04 Thread Stephen Harris

I think that I read that Perl was no longer going to be
a required package for installing WinLyx since relyx
was going to be removed. Is Latex2html part of the
Latex total package? If Perl is no longer required does 
it mean that Latex2html is no longer a supported WinLyx 
option and that htlatex will be the default? I saw a post 
on the developer list about installing Windows/Latex2html.


Regards,
Stephen 



GUI Buttons In Text

2006-02-04 Thread Rich Shepard

  In my document I reference specific buttons on the GUI of an application;
buttons such as OK, Clear, Add, and Load. What I have done is place each word
in a \framebox{}. It looks pretty ugly; the frames extend slightly below the
baseline and above the line of text.

  Then I tried searching the symbol list, Google, and the TUG Tips and Tricks
web pages. Didn't find anything that looked like a solution.

  What do folks do in this situation? I suppose I could set the words in
Italics and let it go at that.

TIA,

Rich

--
Richard B. Shepard, Ph.D.   |   Author of "Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic"
 Voice: 503-667-4517 Fax: 503-667-8863


Re: Screen Captures in Documents

2006-02-04 Thread Sara Stymne

Stephen Harris wrote:



- Original Message - From: "Sara Stymne" <[EMAIL PROTECTED]>
Cc: 
Sent: Saturday, February 04, 2006 1:50 PM
Subject: Re: Screen Captures in Documents



Hi!

I have no solution, but a related problem...

In LyX I canot use insert->graphics from the menu. I think this is 
because LyX uses the graphics package and that it somehow conflicts 
with the gb4e package that I also use. When I remove gb4e 
graphic-insertion seems to work, but not the gb4e-stuff of course. I 
found a workaround to this, using graphicxs and include pictures with 
ERT. It works, but LyX does not seem to be capable to convert png to 
eps, when not using pdflatex, which I believe it does when inserting 
throw the menu.  And I prefer not to use pdflatex, because it seems 
to make the quality of my xypic-figures quite bad.


So then I have to manually convert png to eps for my screenshot. I 
tried to convert both with the Gimp and with the imagemagick convert 
tool, but both ways the quality of the eps-images are quite bad.


So, any ideas? Either how to produce nice xypic with pdflatex, or 
nice eps screenshots from png..


/Sara



Perhaps you are experienced with xypic, but if not, here is a 10 page
tutorial: http://www.mathematik.uni-marburg.de/~gumm/LyX/xypic/xypic.pdf

When I converted xypic.lyx with pdflatex I got the same image as above^.
This looks clear to me, but perhaps I don't have high standards. :-)
I attach xypic.lyx for comparison purposes, and a perhaps relevant 
portion:


\begin_inset Graphics
filename xyfigure.PNG
scale 62
clip

\end_inset

SH: I also converted xypic.tex to html with htlatex which generates 
png images

http://www.mathematik.uni-marburg.de/%7Egumm/LyX/Using_XYpic_in_LyX.htm

I think the pngs look ok but parts of the conversion require editing.
The LyX developers removed support for XYpic from LyX1.4.0
I was thinking Prof. Gumm might be more attuned to this problem area.

Regards,
Stephen 



I wasn't actually using xypic, but xyling which is a linguistic tree 
package built on xypic, and thus I could not use it in LyX directly, so 
I constructed the pictures in ERT. Should probably have mentioned that 
in the first mail, but I didn't think about it...


The pictures looks mostly fine, but the diagonal lines are not straight, 
neither when viewed with a pdf-viewer, or printed. They are actually not 
straight when not using pdflatex either, but they are much better.


On another topic, I think that LyX is great, and I started using it so 
that I would not have to learn too much latex, which I did not know at 
that stage. But in the end I found it easier to do it the latex way than 
the LyX way in very many cases.


/Sara


Re: GUI Buttons In Text

2006-02-04 Thread Kevin Pfeiffer
Rich Shepard writes:
>In my document I reference specific buttons on the GUI of an
> application; buttons such as OK, Clear, Add, and Load. What I have
> done is place each word in a \framebox{}. It looks pretty ugly; the
> frames extend slightly below the baseline and above the line of text.

I would suggest that you use small caps (possibly set bold) and no 
frame. If you absolutely must draw a picture of each button, then place 
them in the margin or above the paragraph that references them (or 
below).

-K

-- 
Kevin Pfeiffer <[EMAIL PROTECTED]>
Tiros-Translations


1.4 Pre for windows?

2006-02-04 Thread Stacia Hartleben
Is there a place where I can download the 1.4 pre version for windows?


Re: Can't install lyx 1.3.7 on OS X. Can't see my tetex install

2006-02-04 Thread Daryl Moulder


On 04/02/2006, at 6:27 PM, Stephen Harris wrote:



- Original Message - From: "Daryl Moulder" <[EMAIL PROTECTED]>
To: "Bennett Helm" <[EMAIL PROTECTED]>
Cc: 
Sent: Friday, February 03, 2006 5:06 PM
Subject: Re: Can't install lyx 1.3.7 on OS X. Can't see my tetex  
install



Deleting the /usr/local/teTex dir and reinstalling the full latex   
install did the trick thanks.  The only problem I have now is  
adding  my custom class.  I added it to the path with other .cls  
files and  have a LyX
layout file so I does come up in lyx but for some reason the   
reconfigure command does not pick it up.

Daryl Moulder


You didn't mention running texconfig rehash to update Tetex
before running LyX Reconfigure, Rescan.



Yes that did the trick thanks!

Daryl Moulder

-- When everything is not as square as it may seem.



Re: OT: Converter matrix to picture

2006-02-04 Thread John Pye

Hi Paul

Just to specify a bit, you should take a look at the 'spy' and 'spy2' 
commands from matplotlib


JP

Paul Smith wrote:


On 2/3/06, John Pye <[EMAIL PROTECTED]> wrote:
 


You should try Matplotlib under python. You've got a lot of the MATLAB
functionality re-implemented in python.
http://matplotlib.sourceforge.net/

There is a sample sparsity diagram that I produced, see here (scroll
down to near the bottom)
https://pse.cheme.cmu.edu/wiki/view/Ascend/PythonWrapper

Using matplotlib you can also render directly to various formats
including SVG, I believe.
   



Thanks, John. That is a quite useful set of commands.

Paul