Re: Latexcad help Again

2008-05-23 Thread Angel Amat

Still not working. This is the latex file generated from lyx:

%% LyX 1.5.4 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{geometry}
\geometry{verbose,letterpaper,tmargin=1in,bmargin=1in,lmargin=1in,rmargin=1in}

\makeatletter
%% User specified LaTeX commands.
\usepackage{latexcad}

\usepackage{babel}
\makeatother

\begin{document}
blah blah blah

\placedrawing{/temp/lcadeg.lp}{\LaTeX-CAD objects}{fig:lcadeg}
\end{document}


The problem is de .sty file, because without adding any file to the document
(empty document with \usepackage{latexcad} in the preamble), the output
errors are shown in the capture i attached previously. Moreover, I exported
the file to latex code and try to complie from TeXnicCenter and the errors
are the same.

About the language, my Lyx interface is in spanish, but the default document
language is in english.

/Angel
-- 
View this message in context: 
http://www.nabble.com/Latexcad-help-Again-tp17411764p17422292.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Plus/minus signs appear 'thin' in PDF and problems with greek letters

2008-05-23 Thread Boffinboy

Hi all, I have two minor problems using LyX to prepare my thesis. I have
tried a search but can't seem to come up with an answer - though this could
be because I am not searching for the right thing!

The first problem I have is that, plus and minus signs appear very 'thin' in
the PDF output of Lyx - this doesn't affect DVI output.

The second problem I have is that I am using quite a few greek letters for
units e.g. mu for micro. I don't want the italisised style that comes from
inputting them in maths mode so I have copied the characters from word in to
lyx and then just copied and pasted any time I need them. However, if I
change the default font to e.g. times, I get an error message when I attempt
to make a PDF or DVI which I have copied below.

Font LGR/ptm/m/n/10=grtm10 at 10.0pt not loadable: Metric (TFM) file not
foun

 }
  
I wasn't able to read the size data for this font,
so I will ignore the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.]
You might try inserting a different font spec;
e.g., type `I\fontsame font id=substitute font name'.

Any help would be much appreciated! Thanks in advance - Ben
-- 
View this message in context: 
http://www.nabble.com/Plus-minus-signs-appear-%27thin%27-in-PDF-and-problems-with-greek-letters-tp17423084p17423084.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Lyx crash after selecting document - settings from the menu

2008-05-23 Thread Jürgen Spitzmüller
Juergen Spitzmueller wrote:
  Is this a known bug?

 Yes:
 http://bugzilla.lyx.org/show_bug.cgi?id=4861

 although we are not yet sure about the actual cause.

We have now uploaded new Windows installers where this bug is fixed:

ftp://ftp.lyx.org/pub/lyx/bin/1.5.5/LyX-1.5.5-2-Installer.exe
and
ftp://ftp.lyx.org/pub/lyx/bin/1.5.5/LyX-1.5.5-2-Installer-Bundle.exe

Jürgen


Re: How to config Lyx to use CJK?

2008-05-23 Thread Jürgen Spitzmüller
Yaoguang Wei wrote:
 I just installed Lyx 1.5.5 (5/12/2008) on vista. The CJK I used is 4.5.2.
 Miktex is 2.4.1769. I want to config Lyx to use Chinese. First, in the tab
 Document-settings- language , I changed language to
 Chinese(simplified), and Encoding to GBK. When I created a Lyx
 document and viewed its latex source, I found Lyx has added
 \usepackage{CJK}  in preamble, and added \begin{CJK}{GBK}{}% and
 \end{CJK} in the beginning and the ending of the document. It seems work.
 But the only problem is that, the second argument for font is null. If I
 changed {} to kai, then I can use latex to get the correct PDF with
 Chinese characters. My question is how to change the commands Lyx adds to
 what I want. In fact, I prefer to use \begin{CJK*}{GBK}{kai} and
 \end{CJK*}.

Currently, these commands are hardcoded. Note, however, that it works with the 
empty font argument if you install the fonts for the given encoding 
correctly. Following this HowTo for the cyberbit fonts worked for me (for 
UTF-8):
http://www.math.nus.edu.sg/aslaksen/cs/cjk.html

HTH,
Jürgen


Math pannel disapeared

2008-05-23 Thread Maka Mohu
Hi,

I moved some tools bars (math panel and math) to be
vertical. They seemed to be on top of each other then but I could use
both of them.
After a while I could access the math tool bar but I can not find the
math panel. I tried switching it on and off and put it back horizontal
but I can not see it any more. Can any body help?

Best regards,
Maka.


Re: Math pannel disapeared

2008-05-23 Thread Maka Mohu
Sorry for the inconvenience, I found it. It went to upper part of the window
with other tool bars and was turncated. Sorry for the inconvenience!

On 5/23/08, Maka Mohu [EMAIL PROTECTED] wrote:

 Hi,

 I moved some tools bars (math panel and math) to be
 vertical. They seemed to be on top of each other then but I could use both of 
 them.

 After a while I could access the math tool bar but I can not find the math 
 panel. I tried switching it on and off and put it back horizontal but I can 
 not see it any more. Can any body help?

 Best regards,
 Maka.



Re: Text wrap float problems

2008-05-23 Thread Dawid Ciecierski
Hello again,

Thanks for the suggestions but I still am unclear about possible solutions
to the problem. According to what you're saying Uwe, neither LyX 1.6 is
going to fix the wrapping problem, nor ERT that LyX 1.6 is going to use. Is
this really the case?

If so, is it really the case that the whole LaTeX community simply abstains
from using wraps and is having to insert images taking up whole lines even
if they are tiny?

Regards,
Dawid Ciecierski

2008/5/16 Uwe Stöhr [EMAIL PROTECTED]:


  The upcoming Lyx 1.6 (hopefully) fixes this by using a better latex
 package to do the wrapping.


 What do you expect? Since LyX 1.5.4 we switched to the best available
 LaTeX-package for wrap floats. LyX 1.6 will also use this package, but
 provides some more customizations for wrap floats and also table wrap
 floats. But that wrapping will fail at line breaks will stay and is not
 fixable by any LaTeX-package.

  There are two ways I can recommend, if you want to use wrapped figures:

 1. Install one of the alpha releases of LyX-1.6, where this is fixed.


 Don't do this!!! Alpha releases are very buggy and you could loose parts of
 your thesis. Use LyX 1.5.4 or Lyx 1.5.5.

  2. Alternatively, use a released version of LyX, and use ERT to make the
 figures
   manually using the same technique as lyx-1.6 do it.

 For the latter, put
 \usepackage{wrapfig} in the document preamble.


 Since LyX 1.5.4 we use wrapfig, so you don't need to do this.



Re: Latexcad help Again

2008-05-23 Thread Paul A. Rubin

Angel Amat wrote:

Still not working. This is the latex file generated from lyx:

%% LyX 1.5.4 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{geometry}
\geometry{verbose,letterpaper,tmargin=1in,bmargin=1in,lmargin=1in,rmargin=1in}

\makeatletter
%% User specified LaTeX commands.
\usepackage{latexcad}

\usepackage{babel}
\makeatother

\begin{document}
blah blah blah

\placedrawing{/temp/lcadeg.lp}{\LaTeX-CAD objects}{fig:lcadeg}
\end{document}


The problem is de .sty file, because without adding any file to the document
(empty document with \usepackage{latexcad} in the preamble), the output
errors are shown in the capture i attached previously. Moreover, I exported
the file to latex code and try to complie from TeXnicCenter and the errors
are the same.

About the language, my Lyx interface is in spanish, but the default document
language is in english.

/Angel


Very mysterious.  The .tex file above compiles just fine here.  I 
suppose the next step is to make sure the package is fully installed. 
As I recall, you're using MikTeX, right?  Did you unzip the entire 
latexcad.zip archive into one folder whatever\tex\latex?  There are 
eight .sty files, and the latexcad.sty file loads five of them (rotate, 
fancybox, epic, eepic and epsf).  There's a note at the bottom of 
latexcad.sty that for some reason, the order of these \input's is 
crucial (generates missing \begin{document} errors).  Perhaps if one of 
them is not loaded, the same thing happens?  To test, you can open a 
command window and run 'kpsewhich rotate.sty', 'kpsewhich fancybox.sty' 
etc. to verify that MikTeX is aware of all of them.


/Paul




Re: Plus/minus signs appear 'thin' in PDF and problems with greek letters

2008-05-23 Thread Paul A. Rubin

Boffinboy wrote:


The second problem I have is that I am using quite a few greek letters for
units e.g. mu for micro. I don't want the italisised style that comes from
inputting them in maths mode so I have copied the characters from word in to
lyx and then just copied and pasted any time I need them.


Try loading either the txfonts, pxfonts or upgreek package.  The first 
two introduce upright lower case letters using \alphaup, \betaup etc. 
The third uses \upalpha, \upbeta etc., and also provides upper case 
versions (e.g., \Upgamma) for those letters whose upper case variant 
isn't in the Roman character set.  I'm not sure why that's necessary -- 
they're already upright -- but the upper case glyphs look a bit 
different from ordinary math-mode upper case Greek letters. 
Incidentally, all these have to be done in math mode ($...$).


/Paul



Re: Math pannel disapeared

2008-05-23 Thread David Hewitt

On a somewhat related note, I've done the same thing and gotten weird
behavior. It happened on three different machines with LyX 1.5.3 - 1.5.5,
WinXP.

I move the toolbars to be on the right and vertical, but each time I open
LyX they show up in different places. They stay on the right, but seem to
switch order at random (nearest the document to farthest from it). I wonder
why they don't stay put.


Maka Mohu wrote:
 
 Sorry for the inconvenience, I found it. It went to upper part of the
 window
 with other tool bars and was turncated. Sorry for the inconvenience!
 
 On 5/23/08, Maka Mohu [EMAIL PROTECTED] wrote:
 I moved some tools bars (math panel and math) to be
 vertical. They seemed to be on top of each other then but I could use
 both of them.

 After a while I could access the math tool bar but I can not find the
 math panel. I tried switching it on and off and put it back horizontal
 but I can not see it any more. Can any body help?
 


-
David Hewitt
Research Fishery Biologist
USGS Klamath Falls Field Station (USA)
-- 
View this message in context: 
http://www.nabble.com/Math-pannel-disapeared-tp17426750p17428159.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Plus/minus signs appear 'thin' in PDF and problems with greek letters

2008-05-23 Thread Boffinboy

Thanks, after a bit of experimentation I loaded txfonts and that's done the
trick! Also fixes the problem I had with the minus signs being too small and
not being able to set the default font to times!


Paul A. Rubin wrote:
 
 Boffinboy wrote:
 
 The second problem I have is that I am using quite a few greek letters
 for
 units e.g. mu for micro. I don't want the italisised style that comes
 from
 inputting them in maths mode so I have copied the characters from word in
 to
 lyx and then just copied and pasted any time I need them.
 
 Try loading either the txfonts, pxfonts or upgreek package.  The first 
 two introduce upright lower case letters using \alphaup, \betaup etc. 
 The third uses \upalpha, \upbeta etc., and also provides upper case 
 versions (e.g., \Upgamma) for those letters whose upper case variant 
 isn't in the Roman character set.  I'm not sure why that's necessary -- 
 they're already upright -- but the upper case glyphs look a bit 
 different from ordinary math-mode upper case Greek letters. 
 Incidentally, all these have to be done in math mode ($...$).
 
 /Paul
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Plus-minus-signs-appear-%27thin%27-in-PDF-and-problems-with-greek-letters-tp17423084p17429903.html
Sent from the LyX - Users mailing list archive at Nabble.com.



suppressing captions in some floats

2008-05-23 Thread Brian Guenter
I want to insert program listings into my document. I don't want the program 
listings to be broken across pages so I put them inside figures. Now each 
program listing has a figure label and number which I don't want.  Is there 
some way for me to insert these listings inside a float and suppress the 
caption printing of just that float?

-brian

This e-mail was created using speech recognition software.  If the spelling, 
grammar, or wording seems strange it's the software's fault not mine.



Re: suppressing captions in some floats

2008-05-23 Thread Andre Poenitz
On Fri, May 23, 2008 at 11:49:37AM -0700, Brian Guenter wrote:
 I want to insert program listings into my document. I don't want the
 program listings to be broken across pages so I put them inside
 figures. Now each program listing has a figure label and number which
 I don't want.  Is there some way for me to insert these listings
 inside a float and suppress the caption printing of just that float?

Each time I bang my head against a wall it hurts.  I do not want to be
hurt.  Is there a way to make the wall softer so that it doesn't hurt so
much?

Andre'

PS:

 This e-mail was created using speech recognition software.  If the
 spelling, grammar, or wording seems strange it's the software's fault
 not mine.

Strange wording, indeed.

PPS: Ever tried Insert-Box ?


Re: suppressing captions in some floats

2008-05-23 Thread Abdelrazak Younes

Andre Poenitz wrote:

On Fri, May 23, 2008 at 11:49:37AM -0700, Brian Guenter wrote:

I want to insert program listings into my document. I don't want the
program listings to be broken across pages so I put them inside
figures. Now each program listing has a figure label and number which
I don't want.  Is there some way for me to insert these listings
inside a float and suppress the caption printing of just that float?




PPS: Ever tried Insert-Box ?


Or Insert-Listing?

Abdel.



Collaboration using LyX in a MS Office workplace

2008-05-23 Thread David Hewitt

In the past, latex2rtf solved my problems regarding collaborating with folks
tied to MS Office
(http://wiki.lyx.org/Tips/ExportingRichTextFormatWithLaTeX2rtf). Now I work
with documents that are a little much for latex2rtf, and I get nothing but
error messages upon Export attempts.

So, I am generally interested in your strategies for working on documents
when you use LyX and the other people are wedded to Word and Excel. (No
make them switch suggestions, please.) If they don't have full Acrobat,
they can't annotate the PDF files directly as far as I know, so what to do?
What works best for you?

-
David Hewitt
Research Fishery Biologist
USGS Klamath Falls Field Station (USA)
-- 
View this message in context: 
http://www.nabble.com/Collaboration-using-LyX-in-a-MS-Office-workplace-tp17442859p17442859.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Collaboration using LyX in a MS Office workplace

2008-05-23 Thread Typhoon
On Fri, 23 May 2008 17:00:23 -0700 (PDT)
David Hewitt [EMAIL PROTECTED] wrote:

 
 In the past, latex2rtf solved my problems regarding collaborating
 with folks tied to MS Office
 (http://wiki.lyx.org/Tips/ExportingRichTextFormatWithLaTeX2rtf). Now
 I work with documents that are a little much for latex2rtf, and I get
 nothing but error messages upon Export attempts.
 
 So, I am generally interested in your strategies for working on
 documents when you use LyX and the other people are wedded to Word
 and Excel. (No make them switch suggestions, please.) If they don't
 have full Acrobat, they can't annotate the PDF files directly as far
 as I know, so what to do? What works best for you?

I use oolatex to convert to an OpenOffice.org file, then save in Word
format. It works for me, but most of my documents are structurally
simple. On the other hand, some of them are quite large (600+ A4 pages).

Alan

 
 -
 David Hewitt
 Research Fishery Biologist
 USGS Klamath Falls Field Station (USA)
 -- 
 View this message in context:
 http://www.nabble.com/Collaboration-using-LyX-in-a-MS-Office-workplace-tp17442859p17442859.html
 Sent from the LyX - Users mailing list archive at Nabble.com.
 
 


Re: Latexcad help Again

2008-05-23 Thread Angel Amat

Still not working. This is the latex file generated from lyx:

%% LyX 1.5.4 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{geometry}
\geometry{verbose,letterpaper,tmargin=1in,bmargin=1in,lmargin=1in,rmargin=1in}

\makeatletter
%% User specified LaTeX commands.
\usepackage{latexcad}

\usepackage{babel}
\makeatother

\begin{document}
blah blah blah

\placedrawing{/temp/lcadeg.lp}{\LaTeX-CAD objects}{fig:lcadeg}
\end{document}


The problem is de .sty file, because without adding any file to the document
(empty document with \usepackage{latexcad} in the preamble), the output
errors are shown in the capture i attached previously. Moreover, I exported
the file to latex code and try to complie from TeXnicCenter and the errors
are the same.

About the language, my Lyx interface is in spanish, but the default document
language is in english.

/Angel
-- 
View this message in context: 
http://www.nabble.com/Latexcad-help-Again-tp17411764p17422292.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Plus/minus signs appear 'thin' in PDF and problems with greek letters

2008-05-23 Thread Boffinboy

Hi all, I have two minor problems using LyX to prepare my thesis. I have
tried a search but can't seem to come up with an answer - though this could
be because I am not searching for the right thing!

The first problem I have is that, plus and minus signs appear very 'thin' in
the PDF output of Lyx - this doesn't affect DVI output.

The second problem I have is that I am using quite a few greek letters for
units e.g. mu for micro. I don't want the italisised style that comes from
inputting them in maths mode so I have copied the characters from word in to
lyx and then just copied and pasted any time I need them. However, if I
change the default font to e.g. times, I get an error message when I attempt
to make a PDF or DVI which I have copied below.

Font LGR/ptm/m/n/10=grtm10 at 10.0pt not loadable: Metric (TFM) file not
foun

 }
  
I wasn't able to read the size data for this font,
so I will ignore the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.]
You might try inserting a different font spec;
e.g., type `I\fontsame font id=substitute font name'.

Any help would be much appreciated! Thanks in advance - Ben
-- 
View this message in context: 
http://www.nabble.com/Plus-minus-signs-appear-%27thin%27-in-PDF-and-problems-with-greek-letters-tp17423084p17423084.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Lyx crash after selecting document - settings from the menu

2008-05-23 Thread Jürgen Spitzmüller
Juergen Spitzmueller wrote:
  Is this a known bug?

 Yes:
 http://bugzilla.lyx.org/show_bug.cgi?id=4861

 although we are not yet sure about the actual cause.

We have now uploaded new Windows installers where this bug is fixed:

ftp://ftp.lyx.org/pub/lyx/bin/1.5.5/LyX-1.5.5-2-Installer.exe
and
ftp://ftp.lyx.org/pub/lyx/bin/1.5.5/LyX-1.5.5-2-Installer-Bundle.exe

Jürgen


Re: How to config Lyx to use CJK?

2008-05-23 Thread Jürgen Spitzmüller
Yaoguang Wei wrote:
 I just installed Lyx 1.5.5 (5/12/2008) on vista. The CJK I used is 4.5.2.
 Miktex is 2.4.1769. I want to config Lyx to use Chinese. First, in the tab
 Document-settings- language , I changed language to
 Chinese(simplified), and Encoding to GBK. When I created a Lyx
 document and viewed its latex source, I found Lyx has added
 \usepackage{CJK}  in preamble, and added \begin{CJK}{GBK}{}% and
 \end{CJK} in the beginning and the ending of the document. It seems work.
 But the only problem is that, the second argument for font is null. If I
 changed {} to kai, then I can use latex to get the correct PDF with
 Chinese characters. My question is how to change the commands Lyx adds to
 what I want. In fact, I prefer to use \begin{CJK*}{GBK}{kai} and
 \end{CJK*}.

Currently, these commands are hardcoded. Note, however, that it works with the 
empty font argument if you install the fonts for the given encoding 
correctly. Following this HowTo for the cyberbit fonts worked for me (for 
UTF-8):
http://www.math.nus.edu.sg/aslaksen/cs/cjk.html

HTH,
Jürgen


Math pannel disapeared

2008-05-23 Thread Maka Mohu
Hi,

I moved some tools bars (math panel and math) to be
vertical. They seemed to be on top of each other then but I could use
both of them.
After a while I could access the math tool bar but I can not find the
math panel. I tried switching it on and off and put it back horizontal
but I can not see it any more. Can any body help?

Best regards,
Maka.


Re: Math pannel disapeared

2008-05-23 Thread Maka Mohu
Sorry for the inconvenience, I found it. It went to upper part of the window
with other tool bars and was turncated. Sorry for the inconvenience!

On 5/23/08, Maka Mohu [EMAIL PROTECTED] wrote:

 Hi,

 I moved some tools bars (math panel and math) to be
 vertical. They seemed to be on top of each other then but I could use both of 
 them.

 After a while I could access the math tool bar but I can not find the math 
 panel. I tried switching it on and off and put it back horizontal but I can 
 not see it any more. Can any body help?

 Best regards,
 Maka.



Re: Text wrap float problems

2008-05-23 Thread Dawid Ciecierski
Hello again,

Thanks for the suggestions but I still am unclear about possible solutions
to the problem. According to what you're saying Uwe, neither LyX 1.6 is
going to fix the wrapping problem, nor ERT that LyX 1.6 is going to use. Is
this really the case?

If so, is it really the case that the whole LaTeX community simply abstains
from using wraps and is having to insert images taking up whole lines even
if they are tiny?

Regards,
Dawid Ciecierski

2008/5/16 Uwe Stöhr [EMAIL PROTECTED]:


  The upcoming Lyx 1.6 (hopefully) fixes this by using a better latex
 package to do the wrapping.


 What do you expect? Since LyX 1.5.4 we switched to the best available
 LaTeX-package for wrap floats. LyX 1.6 will also use this package, but
 provides some more customizations for wrap floats and also table wrap
 floats. But that wrapping will fail at line breaks will stay and is not
 fixable by any LaTeX-package.

  There are two ways I can recommend, if you want to use wrapped figures:

 1. Install one of the alpha releases of LyX-1.6, where this is fixed.


 Don't do this!!! Alpha releases are very buggy and you could loose parts of
 your thesis. Use LyX 1.5.4 or Lyx 1.5.5.

  2. Alternatively, use a released version of LyX, and use ERT to make the
 figures
   manually using the same technique as lyx-1.6 do it.

 For the latter, put
 \usepackage{wrapfig} in the document preamble.


 Since LyX 1.5.4 we use wrapfig, so you don't need to do this.



Re: Latexcad help Again

2008-05-23 Thread Paul A. Rubin

Angel Amat wrote:

Still not working. This is the latex file generated from lyx:

%% LyX 1.5.4 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{geometry}
\geometry{verbose,letterpaper,tmargin=1in,bmargin=1in,lmargin=1in,rmargin=1in}

\makeatletter
%% User specified LaTeX commands.
\usepackage{latexcad}

\usepackage{babel}
\makeatother

\begin{document}
blah blah blah

\placedrawing{/temp/lcadeg.lp}{\LaTeX-CAD objects}{fig:lcadeg}
\end{document}


The problem is de .sty file, because without adding any file to the document
(empty document with \usepackage{latexcad} in the preamble), the output
errors are shown in the capture i attached previously. Moreover, I exported
the file to latex code and try to complie from TeXnicCenter and the errors
are the same.

About the language, my Lyx interface is in spanish, but the default document
language is in english.

/Angel


Very mysterious.  The .tex file above compiles just fine here.  I 
suppose the next step is to make sure the package is fully installed. 
As I recall, you're using MikTeX, right?  Did you unzip the entire 
latexcad.zip archive into one folder whatever\tex\latex?  There are 
eight .sty files, and the latexcad.sty file loads five of them (rotate, 
fancybox, epic, eepic and epsf).  There's a note at the bottom of 
latexcad.sty that for some reason, the order of these \input's is 
crucial (generates missing \begin{document} errors).  Perhaps if one of 
them is not loaded, the same thing happens?  To test, you can open a 
command window and run 'kpsewhich rotate.sty', 'kpsewhich fancybox.sty' 
etc. to verify that MikTeX is aware of all of them.


/Paul




Re: Plus/minus signs appear 'thin' in PDF and problems with greek letters

2008-05-23 Thread Paul A. Rubin

Boffinboy wrote:


The second problem I have is that I am using quite a few greek letters for
units e.g. mu for micro. I don't want the italisised style that comes from
inputting them in maths mode so I have copied the characters from word in to
lyx and then just copied and pasted any time I need them.


Try loading either the txfonts, pxfonts or upgreek package.  The first 
two introduce upright lower case letters using \alphaup, \betaup etc. 
The third uses \upalpha, \upbeta etc., and also provides upper case 
versions (e.g., \Upgamma) for those letters whose upper case variant 
isn't in the Roman character set.  I'm not sure why that's necessary -- 
they're already upright -- but the upper case glyphs look a bit 
different from ordinary math-mode upper case Greek letters. 
Incidentally, all these have to be done in math mode ($...$).


/Paul



Re: Math pannel disapeared

2008-05-23 Thread David Hewitt

On a somewhat related note, I've done the same thing and gotten weird
behavior. It happened on three different machines with LyX 1.5.3 - 1.5.5,
WinXP.

I move the toolbars to be on the right and vertical, but each time I open
LyX they show up in different places. They stay on the right, but seem to
switch order at random (nearest the document to farthest from it). I wonder
why they don't stay put.


Maka Mohu wrote:
 
 Sorry for the inconvenience, I found it. It went to upper part of the
 window
 with other tool bars and was turncated. Sorry for the inconvenience!
 
 On 5/23/08, Maka Mohu [EMAIL PROTECTED] wrote:
 I moved some tools bars (math panel and math) to be
 vertical. They seemed to be on top of each other then but I could use
 both of them.

 After a while I could access the math tool bar but I can not find the
 math panel. I tried switching it on and off and put it back horizontal
 but I can not see it any more. Can any body help?
 


-
David Hewitt
Research Fishery Biologist
USGS Klamath Falls Field Station (USA)
-- 
View this message in context: 
http://www.nabble.com/Math-pannel-disapeared-tp17426750p17428159.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Plus/minus signs appear 'thin' in PDF and problems with greek letters

2008-05-23 Thread Boffinboy

Thanks, after a bit of experimentation I loaded txfonts and that's done the
trick! Also fixes the problem I had with the minus signs being too small and
not being able to set the default font to times!


Paul A. Rubin wrote:
 
 Boffinboy wrote:
 
 The second problem I have is that I am using quite a few greek letters
 for
 units e.g. mu for micro. I don't want the italisised style that comes
 from
 inputting them in maths mode so I have copied the characters from word in
 to
 lyx and then just copied and pasted any time I need them.
 
 Try loading either the txfonts, pxfonts or upgreek package.  The first 
 two introduce upright lower case letters using \alphaup, \betaup etc. 
 The third uses \upalpha, \upbeta etc., and also provides upper case 
 versions (e.g., \Upgamma) for those letters whose upper case variant 
 isn't in the Roman character set.  I'm not sure why that's necessary -- 
 they're already upright -- but the upper case glyphs look a bit 
 different from ordinary math-mode upper case Greek letters. 
 Incidentally, all these have to be done in math mode ($...$).
 
 /Paul
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Plus-minus-signs-appear-%27thin%27-in-PDF-and-problems-with-greek-letters-tp17423084p17429903.html
Sent from the LyX - Users mailing list archive at Nabble.com.



suppressing captions in some floats

2008-05-23 Thread Brian Guenter
I want to insert program listings into my document. I don't want the program 
listings to be broken across pages so I put them inside figures. Now each 
program listing has a figure label and number which I don't want.  Is there 
some way for me to insert these listings inside a float and suppress the 
caption printing of just that float?

-brian

This e-mail was created using speech recognition software.  If the spelling, 
grammar, or wording seems strange it's the software's fault not mine.



Re: suppressing captions in some floats

2008-05-23 Thread Andre Poenitz
On Fri, May 23, 2008 at 11:49:37AM -0700, Brian Guenter wrote:
 I want to insert program listings into my document. I don't want the
 program listings to be broken across pages so I put them inside
 figures. Now each program listing has a figure label and number which
 I don't want.  Is there some way for me to insert these listings
 inside a float and suppress the caption printing of just that float?

Each time I bang my head against a wall it hurts.  I do not want to be
hurt.  Is there a way to make the wall softer so that it doesn't hurt so
much?

Andre'

PS:

 This e-mail was created using speech recognition software.  If the
 spelling, grammar, or wording seems strange it's the software's fault
 not mine.

Strange wording, indeed.

PPS: Ever tried Insert-Box ?


Re: suppressing captions in some floats

2008-05-23 Thread Abdelrazak Younes

Andre Poenitz wrote:

On Fri, May 23, 2008 at 11:49:37AM -0700, Brian Guenter wrote:

I want to insert program listings into my document. I don't want the
program listings to be broken across pages so I put them inside
figures. Now each program listing has a figure label and number which
I don't want.  Is there some way for me to insert these listings
inside a float and suppress the caption printing of just that float?




PPS: Ever tried Insert-Box ?


Or Insert-Listing?

Abdel.



Collaboration using LyX in a MS Office workplace

2008-05-23 Thread David Hewitt

In the past, latex2rtf solved my problems regarding collaborating with folks
tied to MS Office
(http://wiki.lyx.org/Tips/ExportingRichTextFormatWithLaTeX2rtf). Now I work
with documents that are a little much for latex2rtf, and I get nothing but
error messages upon Export attempts.

So, I am generally interested in your strategies for working on documents
when you use LyX and the other people are wedded to Word and Excel. (No
make them switch suggestions, please.) If they don't have full Acrobat,
they can't annotate the PDF files directly as far as I know, so what to do?
What works best for you?

-
David Hewitt
Research Fishery Biologist
USGS Klamath Falls Field Station (USA)
-- 
View this message in context: 
http://www.nabble.com/Collaboration-using-LyX-in-a-MS-Office-workplace-tp17442859p17442859.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Collaboration using LyX in a MS Office workplace

2008-05-23 Thread Typhoon
On Fri, 23 May 2008 17:00:23 -0700 (PDT)
David Hewitt [EMAIL PROTECTED] wrote:

 
 In the past, latex2rtf solved my problems regarding collaborating
 with folks tied to MS Office
 (http://wiki.lyx.org/Tips/ExportingRichTextFormatWithLaTeX2rtf). Now
 I work with documents that are a little much for latex2rtf, and I get
 nothing but error messages upon Export attempts.
 
 So, I am generally interested in your strategies for working on
 documents when you use LyX and the other people are wedded to Word
 and Excel. (No make them switch suggestions, please.) If they don't
 have full Acrobat, they can't annotate the PDF files directly as far
 as I know, so what to do? What works best for you?

I use oolatex to convert to an OpenOffice.org file, then save in Word
format. It works for me, but most of my documents are structurally
simple. On the other hand, some of them are quite large (600+ A4 pages).

Alan

 
 -
 David Hewitt
 Research Fishery Biologist
 USGS Klamath Falls Field Station (USA)
 -- 
 View this message in context:
 http://www.nabble.com/Collaboration-using-LyX-in-a-MS-Office-workplace-tp17442859p17442859.html
 Sent from the LyX - Users mailing list archive at Nabble.com.
 
 


Re: Latexcad help Again

2008-05-23 Thread Angel Amat

Still not working. This is the latex file generated from lyx:

%% LyX 1.5.4 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{geometry}
\geometry{verbose,letterpaper,tmargin=1in,bmargin=1in,lmargin=1in,rmargin=1in}

\makeatletter
%% User specified LaTeX commands.
\usepackage{latexcad}

\usepackage{babel}
\makeatother

\begin{document}
blah blah blah

\placedrawing{/temp/lcadeg.lp}{\LaTeX-CAD objects}{fig:lcadeg}
\end{document}


The problem is de .sty file, because without adding any file to the document
(empty document with \usepackage{latexcad} in the preamble), the output
errors are shown in the capture i attached previously. Moreover, I exported
the file to latex code and try to complie from TeXnicCenter and the errors
are the same.

About the language, my Lyx interface is in spanish, but the default document
language is in english.

/Angel
-- 
View this message in context: 
http://www.nabble.com/Latexcad-help-Again-tp17411764p17422292.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Plus/minus signs appear 'thin' in PDF and problems with greek letters

2008-05-23 Thread Boffinboy

Hi all, I have two minor problems using LyX to prepare my thesis. I have
tried a search but can't seem to come up with an answer - though this could
be because I am not searching for the right thing!

The first problem I have is that, plus and minus signs appear very 'thin' in
the PDF output of Lyx - this doesn't affect DVI output.

The second problem I have is that I am using quite a few greek letters for
units e.g. mu for micro. I don't want the italisised style that comes from
inputting them in maths mode so I have copied the characters from word in to
lyx and then just copied and pasted any time I need them. However, if I
change the default font to e.g. times, I get an error message when I attempt
to make a PDF or DVI which I have copied below.

Font LGR/ptm/m/n/10=grtm10 at 10.0pt not loadable: Metric (TFM) file not
foun

 }
  
I wasn't able to read the size data for this font,
so I will ignore the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.]
You might try inserting a different font spec;
e.g., type `I\font='.

Any help would be much appreciated! Thanks in advance - Ben
-- 
View this message in context: 
http://www.nabble.com/Plus-minus-signs-appear-%27thin%27-in-PDF-and-problems-with-greek-letters-tp17423084p17423084.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Lyx crash after selecting document -> settings from the menu

2008-05-23 Thread Jürgen Spitzmüller
Juergen Spitzmueller wrote:
> > Is this a known bug?
>
> Yes:
> http://bugzilla.lyx.org/show_bug.cgi?id=4861
>
> although we are not yet sure about the actual cause.

We have now uploaded new Windows installers where this bug is fixed:

ftp://ftp.lyx.org/pub/lyx/bin/1.5.5/LyX-1.5.5-2-Installer.exe
and
ftp://ftp.lyx.org/pub/lyx/bin/1.5.5/LyX-1.5.5-2-Installer-Bundle.exe

Jürgen


Re: How to config Lyx to use CJK?

2008-05-23 Thread Jürgen Spitzmüller
Yaoguang Wei wrote:
> I just installed Lyx 1.5.5 (5/12/2008) on vista. The CJK I used is 4.5.2.
> Miktex is 2.4.1769. I want to config Lyx to use Chinese. First, in the tab
> "Document"->"settings"->" language ", I changed "language" to
> "Chinese(simplified)", and "Encoding" to "GBK". When I created a Lyx
> document and viewed its latex source, I found Lyx has added
> "\usepackage{CJK} " in preamble, and added "\begin{CJK}{GBK}{}%" and
> "\end{CJK}" in the beginning and the ending of the document. It seems work.
> But the only problem is that, the second argument for font is null. If I
> changed {} to "kai", then I can use latex to get the correct PDF with
> Chinese characters. My question is how to change the commands Lyx adds to
> what I want. In fact, I prefer to use "\begin{CJK*}{GBK}{kai}" and
> "\end{CJK*}".

Currently, these commands are hardcoded. Note, however, that it works with the 
empty font argument if you install the fonts for the given encoding 
correctly. Following this HowTo for the cyberbit fonts worked for me (for 
UTF-8):
http://www.math.nus.edu.sg/aslaksen/cs/cjk.html

HTH,
Jürgen


Math pannel disapeared

2008-05-23 Thread Maka Mohu
Hi,

I moved some tools bars (math panel and math) to be
vertical. They seemed to be on top of each other then but I could use
both of them.
After a while I could access the math tool bar but I can not find the
math panel. I tried switching it on and off and put it back horizontal
but I can not see it any more. Can any body help?

Best regards,
Maka.


Re: Math pannel disapeared

2008-05-23 Thread Maka Mohu
Sorry for the inconvenience, I found it. It went to upper part of the window
with other tool bars and was turncated. Sorry for the inconvenience!

On 5/23/08, Maka Mohu <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I moved some tools bars (math panel and math) to be
> vertical. They seemed to be on top of each other then but I could use both of 
> them.
>
> After a while I could access the math tool bar but I can not find the math 
> panel. I tried switching it on and off and put it back horizontal but I can 
> not see it any more. Can any body help?
>
> Best regards,
> Maka.
>


Re: Text wrap float problems

2008-05-23 Thread Dawid Ciecierski
Hello again,

Thanks for the suggestions but I still am unclear about possible solutions
to the problem. According to what you're saying Uwe, neither LyX 1.6 is
going to fix the wrapping problem, nor ERT that LyX 1.6 is going to use. Is
this really the case?

If so, is it really the case that the whole LaTeX community simply abstains
from using wraps and is having to insert images taking up whole lines even
if they are tiny?

Regards,
Dawid Ciecierski

2008/5/16 Uwe Stöhr <[EMAIL PROTECTED]>:

>
>  The upcoming Lyx 1.6 (hopefully) fixes this by using a better latex
>> package to do the wrapping.
>>
>
> What do you expect? Since LyX 1.5.4 we switched to the best available
> LaTeX-package for wrap floats. LyX 1.6 will also use this package, but
> provides some more customizations for wrap floats and also table wrap
> floats. But that wrapping will fail at line breaks will stay and is not
> fixable by any LaTeX-package.
>
>  There are two ways I can recommend, if you want to use wrapped figures:
>>
>> 1. Install one of the alpha releases of LyX-1.6, where this is fixed.
>>
>
> Don't do this!!! Alpha releases are very buggy and you could loose parts of
> your thesis. Use LyX 1.5.4 or Lyx 1.5.5.
>
>  2. Alternatively, use a released version of LyX, and use ERT to make the
>> figures
>>   manually using the same technique as lyx-1.6 do it.
>>
>> For the latter, put
>> \usepackage{wrapfig} in the document preamble.
>>
>
> Since LyX 1.5.4 we use wrapfig, so you don't need to do this.
>


Re: Latexcad help Again

2008-05-23 Thread Paul A. Rubin

Angel Amat wrote:

Still not working. This is the latex file generated from lyx:

%% LyX 1.5.4 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{geometry}
\geometry{verbose,letterpaper,tmargin=1in,bmargin=1in,lmargin=1in,rmargin=1in}

\makeatletter
%% User specified LaTeX commands.
\usepackage{latexcad}

\usepackage{babel}
\makeatother

\begin{document}
blah blah blah

\placedrawing{/temp/lcadeg.lp}{\LaTeX-CAD objects}{fig:lcadeg}
\end{document}


The problem is de .sty file, because without adding any file to the document
(empty document with \usepackage{latexcad} in the preamble), the output
errors are shown in the capture i attached previously. Moreover, I exported
the file to latex code and try to complie from TeXnicCenter and the errors
are the same.

About the language, my Lyx interface is in spanish, but the default document
language is in english.

/Angel


Very mysterious.  The .tex file above compiles just fine here.  I 
suppose the next step is to make sure the package is fully installed. 
As I recall, you're using MikTeX, right?  Did you unzip the entire 
latexcad.zip archive into one folder \tex\latex?  There are 
eight .sty files, and the latexcad.sty file loads five of them (rotate, 
fancybox, epic, eepic and epsf).  There's a note at the bottom of 
latexcad.sty that "for some reason, the order of these \input's is 
crucial (generates missing \begin{document} errors)".  Perhaps if one of 
them is not loaded, the same thing happens?  To test, you can open a 
command window and run 'kpsewhich rotate.sty', 'kpsewhich fancybox.sty' 
etc. to verify that MikTeX is aware of all of them.


/Paul




Re: Plus/minus signs appear 'thin' in PDF and problems with greek letters

2008-05-23 Thread Paul A. Rubin

Boffinboy wrote:


The second problem I have is that I am using quite a few greek letters for
units e.g. mu for micro. I don't want the italisised style that comes from
inputting them in maths mode so I have copied the characters from word in to
lyx and then just copied and pasted any time I need them.


Try loading either the txfonts, pxfonts or upgreek package.  The first 
two introduce upright lower case letters using \alphaup, \betaup etc. 
The third uses \upalpha, \upbeta etc., and also provides upper case 
versions (e.g., \Upgamma) for those letters whose upper case variant 
isn't in the Roman character set.  I'm not sure why that's necessary -- 
they're already upright -- but the upper case glyphs look a bit 
different from ordinary math-mode upper case Greek letters. 
Incidentally, all these have to be done in math mode ($...$).


/Paul



Re: Math pannel disapeared

2008-05-23 Thread David Hewitt

On a somewhat related note, I've done the same thing and gotten weird
behavior. It happened on three different machines with LyX 1.5.3 - 1.5.5,
WinXP.

I move the toolbars to be on the right and vertical, but each time I open
LyX they show up in different places. They stay on the right, but seem to
switch order at random (nearest the document to farthest from it). I wonder
why they don't "stay put."


Maka Mohu wrote:
> 
> Sorry for the inconvenience, I found it. It went to upper part of the
> window
> with other tool bars and was turncated. Sorry for the inconvenience!
> 
> On 5/23/08, Maka Mohu <[EMAIL PROTECTED]> wrote:
>> I moved some tools bars (math panel and math) to be
>> vertical. They seemed to be on top of each other then but I could use
>> both of them.
>>
>> After a while I could access the math tool bar but I can not find the
>> math panel. I tried switching it on and off and put it back horizontal
>> but I can not see it any more. Can any body help?
> 


-
David Hewitt
Research Fishery Biologist
USGS Klamath Falls Field Station (USA)
-- 
View this message in context: 
http://www.nabble.com/Math-pannel-disapeared-tp17426750p17428159.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Plus/minus signs appear 'thin' in PDF and problems with greek letters

2008-05-23 Thread Boffinboy

Thanks, after a bit of experimentation I loaded txfonts and that's done the
trick! Also fixes the problem I had with the minus signs being too small and
not being able to set the default font to times!


Paul A. Rubin wrote:
> 
> Boffinboy wrote:
>> 
>> The second problem I have is that I am using quite a few greek letters
>> for
>> units e.g. mu for micro. I don't want the italisised style that comes
>> from
>> inputting them in maths mode so I have copied the characters from word in
>> to
>> lyx and then just copied and pasted any time I need them.
> 
> Try loading either the txfonts, pxfonts or upgreek package.  The first 
> two introduce upright lower case letters using \alphaup, \betaup etc. 
> The third uses \upalpha, \upbeta etc., and also provides upper case 
> versions (e.g., \Upgamma) for those letters whose upper case variant 
> isn't in the Roman character set.  I'm not sure why that's necessary -- 
> they're already upright -- but the upper case glyphs look a bit 
> different from ordinary math-mode upper case Greek letters. 
> Incidentally, all these have to be done in math mode ($...$).
> 
> /Paul
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Plus-minus-signs-appear-%27thin%27-in-PDF-and-problems-with-greek-letters-tp17423084p17429903.html
Sent from the LyX - Users mailing list archive at Nabble.com.



suppressing captions in some floats

2008-05-23 Thread Brian Guenter
I want to insert program listings into my document. I don't want the program 
listings to be broken across pages so I put them inside figures. Now each 
program listing has a figure label and number which I don't want.  Is there 
some way for me to insert these listings inside a float and suppress the 
caption printing of just that float?

-brian

This e-mail was created using speech recognition software.  If the spelling, 
grammar, or wording seems strange it's the software's fault not mine.



Re: suppressing captions in some floats

2008-05-23 Thread Andre Poenitz
On Fri, May 23, 2008 at 11:49:37AM -0700, Brian Guenter wrote:
> I want to insert program listings into my document. I don't want the
> program listings to be broken across pages so I put them inside
> figures. Now each program listing has a figure label and number which
> I don't want.  Is there some way for me to insert these listings
> inside a float and suppress the caption printing of just that float?

Each time I bang my head against a wall it hurts.  I do not want to be
hurt.  Is there a way to make the wall softer so that it doesn't hurt so
much?

Andre'

PS:

> This e-mail was created using speech recognition software.  If the
> spelling, grammar, or wording seems strange it's the software's fault
> not mine.

Strange wording, indeed.

PPS: Ever tried Insert->Box ?


Re: suppressing captions in some floats

2008-05-23 Thread Abdelrazak Younes

Andre Poenitz wrote:

On Fri, May 23, 2008 at 11:49:37AM -0700, Brian Guenter wrote:

I want to insert program listings into my document. I don't want the
program listings to be broken across pages so I put them inside
figures. Now each program listing has a figure label and number which
I don't want.  Is there some way for me to insert these listings
inside a float and suppress the caption printing of just that float?




PPS: Ever tried Insert->Box ?


Or Insert->Listing?

Abdel.



Collaboration using LyX in a MS Office workplace

2008-05-23 Thread David Hewitt

In the past, latex2rtf solved my problems regarding collaborating with folks
tied to MS Office
(http://wiki.lyx.org/Tips/ExportingRichTextFormatWithLaTeX2rtf). Now I work
with documents that are a little much for latex2rtf, and I get nothing but
error messages upon Export attempts.

So, I am generally interested in your strategies for working on documents
when you use LyX and the other people are wedded to Word and Excel. (No
"make them switch" suggestions, please.) If they don't have full Acrobat,
they can't annotate the PDF files directly as far as I know, so what to do?
What works best for you?

-
David Hewitt
Research Fishery Biologist
USGS Klamath Falls Field Station (USA)
-- 
View this message in context: 
http://www.nabble.com/Collaboration-using-LyX-in-a-MS-Office-workplace-tp17442859p17442859.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Collaboration using LyX in a MS Office workplace

2008-05-23 Thread Typhoon
On Fri, 23 May 2008 17:00:23 -0700 (PDT)
David Hewitt <[EMAIL PROTECTED]> wrote:

> 
> In the past, latex2rtf solved my problems regarding collaborating
> with folks tied to MS Office
> (http://wiki.lyx.org/Tips/ExportingRichTextFormatWithLaTeX2rtf). Now
> I work with documents that are a little much for latex2rtf, and I get
> nothing but error messages upon Export attempts.
> 
> So, I am generally interested in your strategies for working on
> documents when you use LyX and the other people are wedded to Word
> and Excel. (No "make them switch" suggestions, please.) If they don't
> have full Acrobat, they can't annotate the PDF files directly as far
> as I know, so what to do? What works best for you?

I use oolatex to convert to an OpenOffice.org file, then save in Word
format. It works for me, but most of my documents are structurally
simple. On the other hand, some of them are quite large (600+ A4 pages).

Alan

> 
> -
> David Hewitt
> Research Fishery Biologist
> USGS Klamath Falls Field Station (USA)
> -- 
> View this message in context:
> http://www.nabble.com/Collaboration-using-LyX-in-a-MS-Office-workplace-tp17442859p17442859.html
> Sent from the LyX - Users mailing list archive at Nabble.com.
> 
>