Re: Can I have bounding box around floating images?

2006-03-26 Thread Paul Medwell

Nagy Gabor wrote:

Hi, I have some floating figures in my paper, and I would like to have a
rectangle around the fload (or around the picture inside the float.

How can I do that?



An easy solution would be to stick in the figure inside a 1×1 table.

Lata,
Paul



Re: Can I have bounding box around floating images?

2006-03-26 Thread Paul Medwell

Nagy Gabor wrote:

Hi, I have some floating figures in my paper, and I would like to have a
rectangle around the fload (or around the picture inside the float.

How can I do that?



An easy solution would be to stick in the figure inside a 1×1 table.

Lata,
Paul



Re: Can I have bounding box around floating images?

2006-03-26 Thread Paul Medwell

Nagy Gabor wrote:

Hi, I have some floating figures in my paper, and I would like to have a
rectangle around the fload (or around the picture inside the float.

How can I do that?



An easy solution would be to stick in the figure inside a 1×1 table.

Lata,
Paul



Re: Center Head in Italic

2005-06-08 Thread Paul Medwell

Bruce Pourciau wrote:
Oh, and I forgot, using fancyheaders how can I make the header appear in 
italic?


in the preamble...

\chead{\textit{This is italics}}



Re: Center Head in Italic

2005-06-08 Thread Paul Medwell

Bruce Pourciau wrote:
Oh, and I forgot, using fancyheaders how can I make the header appear in 
italic?


in the preamble...

\chead{\textit{This is italics}}



Re: Center Head in Italic

2005-06-08 Thread Paul Medwell

Bruce Pourciau wrote:
Oh, and I forgot, using fancyheaders how can I make the header appear in 
italic?


in the preamble...

\chead{\textit{This is italics}}



Re: Right alignment of text

2005-05-19 Thread Paul Medwell
Angus Leeming wrote:
I'm having problems with right alignment of some text. The problem exists
(to my eyes anyway) with a standard article, but is much worse with the
curriculum vitae class. See attached .lyx files; the resulting .dvi files
are, well, ugly.
Is there any way I can make the text line up 'pleasingly'?
I'm running FC2, and don't seem to get the problem (attached is the 
generated dvi file from your cv sample lyx file).

lmodern isn't installed on this machine, so removed this from the 
preamble - *perhaps* this has something to do with it? :-/

Lata,
Paul
BTW: I don't like your chances of getting a job with CV like that...it's 
got nothing in it! ;-)


right_alignment_cv.dvi
Description: TeX dvi file


Re: Right alignment of text

2005-05-19 Thread Paul Medwell
Angus Leeming wrote:
I'm having problems with right alignment of some text. The problem exists
(to my eyes anyway) with a standard article, but is much worse with the
curriculum vitae class. See attached .lyx files; the resulting .dvi files
are, well, ugly.
Is there any way I can make the text line up 'pleasingly'?
I'm running FC2, and don't seem to get the problem (attached is the 
generated dvi file from your cv sample lyx file).

lmodern isn't installed on this machine, so removed this from the 
preamble - *perhaps* this has something to do with it? :-/

Lata,
Paul
BTW: I don't like your chances of getting a job with CV like that...it's 
got nothing in it! ;-)


right_alignment_cv.dvi
Description: TeX dvi file


Re: Right alignment of text

2005-05-19 Thread Paul Medwell
Angus Leeming wrote:
I'm having problems with right alignment of some text. The problem exists
(to my eyes anyway) with a standard article, but is much worse with the
curriculum vitae class. See attached .lyx files; the resulting .dvi files
are, well, ugly.
Is there any way I can make the text line up 'pleasingly'?
I'm running FC2, and don't seem to get the problem (attached is the 
generated dvi file from your cv sample lyx file).

"lmodern" isn't installed on this machine, so removed this from the 
preamble - *perhaps* this has something to do with it? :-/

Lata,
Paul
BTW: I don't like your chances of getting a job with CV like that...it's 
got nothing in it! ;-)


right_alignment_cv.dvi
Description: TeX dvi file


Re: case insertion in a lyx document

2005-05-05 Thread Paul Medwell
Harold Mouras wrote:
Dear Lyx Users,
would someone know how to insert in a Lyx document a symbol like ð.
Thanks,
Harold
get a copy of the latex symbol bible
http://www.ctan.org/tex-archive/info/symbols/comprehensive/symbols-a4.pdf


Re: case insertion in a lyx document

2005-05-05 Thread Paul Medwell
Harold Mouras wrote:
Dear Lyx Users,
would someone know how to insert in a Lyx document a symbol like ð.
Thanks,
Harold
get a copy of the latex symbol bible
http://www.ctan.org/tex-archive/info/symbols/comprehensive/symbols-a4.pdf


Re: case insertion in a lyx document

2005-05-05 Thread Paul Medwell
Harold Mouras wrote:
Dear Lyx Users,
would someone know how to insert in a Lyx document a symbol like ð.
Thanks,
Harold
get a copy of the latex "symbol bible"
http://www.ctan.org/tex-archive/info/symbols/comprehensive/symbols-a4.pdf


Re: Graphics on Float Figures

2005-05-04 Thread Paul Medwell
Pupeno wrote:
  Hello, I'm new to Lyx.
I have just created a Figure Float and put a Graphic on it, but when I try to 
render
it to DVI, I get a LaTeX error, well, two in fact.
probably because you are trying to put the graphic as the caption.
to get around this, insert - float - figure then press enter so that 
the cursor is on the line above Figure #:. now you can insert the graphic.

hope this helps.
lata,
paul


Re: Graphics on Float Figures

2005-05-04 Thread Paul Medwell
Pupeno wrote:
  Hello, I'm new to Lyx.
I have just created a Figure Float and put a Graphic on it, but when I try to 
render
it to DVI, I get a LaTeX error, well, two in fact.
probably because you are trying to put the graphic as the caption.
to get around this, insert - float - figure then press enter so that 
the cursor is on the line above Figure #:. now you can insert the graphic.

hope this helps.
lata,
paul


Re: Graphics on Float Figures

2005-05-04 Thread Paul Medwell
Pupeno wrote:
 > Hello, I'm new to Lyx.
I have just created a Figure Float and put a Graphic on it, but when I try to 
render
it to DVI, I get a LaTeX error, well, two in fact.
probably because you are trying to put the graphic as the caption.
to get around this, "insert -> float -> figure" then press enter so that 
the cursor is on the line above "Figure #:". now you can insert the graphic.

hope this helps.
lata,
paul


Re: Copiright Symbol, Registered Symbol and Trademark Symbol

2005-04-28 Thread Paul Medwell
Andrei Popov wrote:
Hello All.
I'm using LyX 1.3.4 on Linux, and ran into a small problem.
Can anyone tell how does one go about inserting a Copiright Symbol
(c), a Registered Symbol (r in a circle) and a Trademark Symbol (tm)
in LyX? Are there keyboard shortcuts for these?
In ERT mode...
\textcopyright
\textregistered
\texttrademark
I don't know how to do a centreline symbol (a C overlapped by an L).
Anyone know of a LaTeX code / package for this?
Lata,
Paul


Re: Copiright Symbol, Registered Symbol and Trademark Symbol

2005-04-28 Thread Paul Medwell
Uwe Stöhr wrote:
Paul Medwell wrote:
I don't know how to do a centreline symbol (a C overlapped by an L).
Anyone know of a LaTeX code / package for this?

Have a look at
http://www.ctan.org/tex-archive/info/symbols/comprehensive/symbols-a4.pdf
thanks for the response Uwe.
i regularly consult this document, and despite intensive searching have 
come to the conclusion that this symbol doesn't seem to exist in latex. 
not to worry - it was more so a facetious question.

lata,
paul


Re: Copiright Symbol, Registered Symbol and Trademark Symbol

2005-04-28 Thread Paul Medwell
Andrei Popov wrote:
Hello All.
I'm using LyX 1.3.4 on Linux, and ran into a small problem.
Can anyone tell how does one go about inserting a Copiright Symbol
(c), a Registered Symbol (r in a circle) and a Trademark Symbol (tm)
in LyX? Are there keyboard shortcuts for these?
In ERT mode...
\textcopyright
\textregistered
\texttrademark
I don't know how to do a centreline symbol (a C overlapped by an L).
Anyone know of a LaTeX code / package for this?
Lata,
Paul


Re: Copiright Symbol, Registered Symbol and Trademark Symbol

2005-04-28 Thread Paul Medwell
Uwe Stöhr wrote:
Paul Medwell wrote:
I don't know how to do a centreline symbol (a C overlapped by an L).
Anyone know of a LaTeX code / package for this?

Have a look at
http://www.ctan.org/tex-archive/info/symbols/comprehensive/symbols-a4.pdf
thanks for the response Uwe.
i regularly consult this document, and despite intensive searching have 
come to the conclusion that this symbol doesn't seem to exist in latex. 
not to worry - it was more so a facetious question.

lata,
paul


Re: Copiright Symbol, Registered Symbol and Trademark Symbol

2005-04-28 Thread Paul Medwell
Andrei Popov wrote:
Hello All.
I'm using LyX 1.3.4 on Linux, and ran into a small problem.
Can anyone tell how does one go about inserting a Copiright Symbol
(c), a Registered Symbol (r in a circle) and a Trademark Symbol (tm)
in LyX? Are there keyboard shortcuts for these?
In ERT mode...
\textcopyright
\textregistered
\texttrademark
I don't know how to do a centreline symbol (a C overlapped by an L).
Anyone know of a LaTeX code / package for this?
Lata,
Paul


Re: Copiright Symbol, Registered Symbol and Trademark Symbol

2005-04-28 Thread Paul Medwell
Uwe Stöhr wrote:
Paul Medwell wrote:
I don't know how to do a centreline symbol (a C overlapped by an L).
Anyone know of a LaTeX code / package for this?

Have a look at
http://www.ctan.org/tex-archive/info/symbols/comprehensive/symbols-a4.pdf
thanks for the response Uwe.
i regularly consult this document, and despite intensive searching have 
come to the conclusion that this symbol doesn't seem to exist in latex. 
not to worry - it was more so a facetious question.

lata,
paul


Re: How do you comment out content?

2005-04-21 Thread Paul Medwell
Steve Litt wrote:
Hi all,
I have a small ( 1 page) section of my book which I'd like to temporarily 
comment out. Is there an environment with which I can make this text into a 
comment, so it can later easily be reincorporated as Standard environment, 
but for now not be visible in the output?
Try chucking it into a note (Insert - Note, then cut-paste).
Lata,
Paul


Re: How do you comment out content?

2005-04-21 Thread Paul Medwell
Steve Litt wrote:
Hi all,
I have a small ( 1 page) section of my book which I'd like to temporarily 
comment out. Is there an environment with which I can make this text into a 
comment, so it can later easily be reincorporated as Standard environment, 
but for now not be visible in the output?
Try chucking it into a note (Insert - Note, then cut-paste).
Lata,
Paul


Re: How do you "comment out" content?

2005-04-21 Thread Paul Medwell
Steve Litt wrote:
Hi all,
I have a small (< 1 page) section of my book which I'd like to temporarily 
comment out. Is there an environment with which I can make this text into a 
comment, so it can later easily be reincorporated as Standard environment, 
but for now not be visible in the output?
Try chucking it into a note (Insert -> Note, then cut-paste).
Lata,
Paul


Re: TOC headache

2005-04-18 Thread Paul Medwell
Rich Drewes wrote:
I have a TOC that is two pages long.  I must number my abstract, TOC, list 
of figures, and other frontmatter with roman numerals and that's working.  
Also, the TOC itself must appear as an entry in the TOC.

Here's the problem:  If I put my
\addcontentsline{toc}{chapter}{Table of Contents}
before the Lyx TOC widget, then the number that appears for the TOC in the 
TOC is the page *before* the TOC actually starts.  If I put my 
\addcontentsline{toc} *after* the Lyx TOC widget, the page number that 
appears for the TOC in the TOC is the *second* page of the TOC!

In both cases the pages themselves are numbered correctly.  It's just the
page number in the TOC listing that is wrong.

Hi Rich,
Try adding to your preamble;
\usepackage{tocbibind}
Hope this helps.
Lata,
Paul


Re: TOC headache

2005-04-18 Thread Paul Medwell
Rich Drewes wrote:
I have a TOC that is two pages long.  I must number my abstract, TOC, list 
of figures, and other frontmatter with roman numerals and that's working.  
Also, the TOC itself must appear as an entry in the TOC.

Here's the problem:  If I put my
\addcontentsline{toc}{chapter}{Table of Contents}
before the Lyx TOC widget, then the number that appears for the TOC in the 
TOC is the page *before* the TOC actually starts.  If I put my 
\addcontentsline{toc} *after* the Lyx TOC widget, the page number that 
appears for the TOC in the TOC is the *second* page of the TOC!

In both cases the pages themselves are numbered correctly.  It's just the
page number in the TOC listing that is wrong.

Hi Rich,
Try adding to your preamble;
\usepackage{tocbibind}
Hope this helps.
Lata,
Paul


Re: TOC headache

2005-04-18 Thread Paul Medwell
Rich Drewes wrote:
I have a TOC that is two pages long.  I must number my abstract, TOC, list 
of figures, and other frontmatter with roman numerals and that's working.  
Also, the TOC itself must appear as an entry in the TOC.

Here's the problem:  If I put my
\addcontentsline{toc}{chapter}{Table of Contents}
before the Lyx TOC widget, then the number that appears for the TOC in the 
TOC is the page *before* the TOC actually starts.  If I put my 
\addcontentsline{toc} *after* the Lyx TOC widget, the page number that 
appears for the TOC in the TOC is the *second* page of the TOC!

In both cases the pages themselves are numbered correctly.  It's just the
page number in the TOC listing that is wrong.

Hi Rich,
Try adding to your preamble;
\usepackage{tocbibind}
Hope this helps.
Lata,
Paul


Re: Marvosym problem

2005-04-15 Thread Paul Medwell
Gunnar wrote:
Thanks Paul, great answer.
Just for curiosity, what version of TeTeX are you using?
I might have to suck eggs on the last comment I made - a colleague of 
mine has the same version of tetex, but he didn't have the commented 
marvosym style. I asked the other users of my machine if they ever 
changed it, and no-one admitted to it, so I don't really know if its a 
tetex thing or what. Anyway...

[/]$ rpm -q tetex
tetex-2.0.2-13
Lata,
Paul


Re: Marvosym problem

2005-04-15 Thread Paul Medwell
Gunnar wrote:
Thanks Paul, great answer.
Just for curiosity, what version of TeTeX are you using?
I might have to suck eggs on the last comment I made - a colleague of 
mine has the same version of tetex, but he didn't have the commented 
marvosym style. I asked the other users of my machine if they ever 
changed it, and no-one admitted to it, so I don't really know if its a 
tetex thing or what. Anyway...

[/]$ rpm -q tetex
tetex-2.0.2-13
Lata,
Paul


Re: Marvosym problem

2005-04-15 Thread Paul Medwell
Gunnar wrote:
Thanks Paul, great answer.
Just for curiosity, what version of TeTeX are you using?
I might have to suck eggs on the last comment I made - a colleague of 
mine has the same version of tetex, but he didn't have the commented 
marvosym style. I asked the other users of my machine if they ever 
changed it, and no-one admitted to it, so I don't really know if its a 
tetex thing or what. Anyway...

[/]$ rpm -q tetex
tetex-2.0.2-13
Lata,
Paul


Re: Marvosym problem

2005-04-14 Thread Paul Medwell
Gunnar wrote:
Hi
I wrote  \Rightarrow in mathmode and it looked good in Lyx, but when I 
previewed the postscript file I got 
  :
instead of
 =

the problem disapeared when I removed \usepackage{marvosym} from the preamble. 
What's wrong, and how can I both use marvosym and write \Rightarrow  and get 
what I want in math mode ( = )

Gunnar.

The problem stems from marvosym redefining \Rightarrow. I think that the 
easiest solution would be to comment out the definition of \Rightarrow 
in the marvosym.sty file;

%\def\Rightarrow{{\mvchr58}}
Strictly, you should probably save the new file under a different name 
(and subsequently change the name of the package} so that you could 
still use the marvosym versions of \Rightarrow (even though I think they 
are crap and wouldn't bother). In fact, my version of TeTeX actually 
came with this line already commented.

Hope this helps.
Lata,
Paul


Re: Marvosym problem

2005-04-14 Thread Paul Medwell
Gunnar wrote:
Hi
I wrote  \Rightarrow in mathmode and it looked good in Lyx, but when I 
previewed the postscript file I got 
  :
instead of
 =

the problem disapeared when I removed \usepackage{marvosym} from the preamble. 
What's wrong, and how can I both use marvosym and write \Rightarrow  and get 
what I want in math mode ( = )

Gunnar.

The problem stems from marvosym redefining \Rightarrow. I think that the 
easiest solution would be to comment out the definition of \Rightarrow 
in the marvosym.sty file;

%\def\Rightarrow{{\mvchr58}}
Strictly, you should probably save the new file under a different name 
(and subsequently change the name of the package} so that you could 
still use the marvosym versions of \Rightarrow (even though I think they 
are crap and wouldn't bother). In fact, my version of TeTeX actually 
came with this line already commented.

Hope this helps.
Lata,
Paul


Re: Marvosym problem

2005-04-14 Thread Paul Medwell
Gunnar wrote:
Hi
I wrote  \Rightarrow in mathmode and it looked good in Lyx, but when I 
previewed the postscript file I got 
  :
instead of
 =>

the problem disapeared when I removed \usepackage{marvosym} from the preamble. 
What's wrong, and how can I both use marvosym and write \Rightarrow  and get 
what I want in math mode ( => )

Gunnar.

The problem stems from marvosym redefining \Rightarrow. I think that the 
easiest solution would be to comment out the definition of \Rightarrow 
in the marvosym.sty file;

%\def\Rightarrow{{\mvchr58}}
Strictly, you should probably save the new file under a different name 
(and subsequently change the name of the package} so that you could 
still use the marvosym versions of \Rightarrow (even though I think they 
are crap and wouldn't bother). In fact, my version of TeTeX actually 
came with this line already commented.

Hope this helps.
Lata,
Paul


Re: Wrong papersize when using pdflatex

2005-04-13 Thread Paul Medwell
Paul Medwell wrote:
If my LyX documents contain images then the papersize of the pdflatex 
output gets set to letter (8.5 × 11 inch), whereas I want it to be A4.
I don't have this problem if the margins are set to default or custom.
Sorry to reply to my own question, but I've had a bit of a play around 
with pdflatex, and have narrowed the problem down a bit.

Below is an excerpt of latex code;
\documentclass[english]{article}
\usepackage{graphicx}
\usepackage{a4wide}
\begin{document}
aaa
\end{document}
If I comment out the \usepackage{graphicx} line, then the result of the 
pdflatex output is a4, otherwise it gives letter size. So in this sense 
it seems as if the problem is a conflict with the graphicx package, 
however...if I change the first line to 
\documentclass[english,a4paper]{article} then it's all okay.

I realise that I could just use a different PDF generator, but any clues 
how I can get LyX to give pdflatex the extra flag in the document class 
definition?

Lata,
Paul


Re: Wrong papersize when using pdflatex

2005-04-13 Thread Paul Medwell
Uwe Stöhr wrote:
The problem is the package a4wide. It is obsolete and actual 
LaTeX-packages won't take care of it. Have also a look at

http://www.ctan.org/tex-archive/info/l2tabu/english/l2tabuen.pdf
to read what is also obsolete.
Thanks Uwe.
The document you suggested contained a few other things that I weren't 
aware of which have caused me grief in the past. For those who haven't, 
I highly recommend reading it.

Ta,
Paul


Re: Wrong papersize when using pdflatex

2005-04-13 Thread Paul Medwell
Paul Medwell wrote:
If my LyX documents contain images then the papersize of the pdflatex 
output gets set to letter (8.5 × 11 inch), whereas I want it to be A4.
I don't have this problem if the margins are set to default or custom.
Sorry to reply to my own question, but I've had a bit of a play around 
with pdflatex, and have narrowed the problem down a bit.

Below is an excerpt of latex code;
\documentclass[english]{article}
\usepackage{graphicx}
\usepackage{a4wide}
\begin{document}
aaa
\end{document}
If I comment out the \usepackage{graphicx} line, then the result of the 
pdflatex output is a4, otherwise it gives letter size. So in this sense 
it seems as if the problem is a conflict with the graphicx package, 
however...if I change the first line to 
\documentclass[english,a4paper]{article} then it's all okay.

I realise that I could just use a different PDF generator, but any clues 
how I can get LyX to give pdflatex the extra flag in the document class 
definition?

Lata,
Paul


Re: Wrong papersize when using pdflatex

2005-04-13 Thread Paul Medwell
Uwe Stöhr wrote:
The problem is the package a4wide. It is obsolete and actual 
LaTeX-packages won't take care of it. Have also a look at

http://www.ctan.org/tex-archive/info/l2tabu/english/l2tabuen.pdf
to read what is also obsolete.
Thanks Uwe.
The document you suggested contained a few other things that I weren't 
aware of which have caused me grief in the past. For those who haven't, 
I highly recommend reading it.

Ta,
Paul


Re: Wrong papersize when using pdflatex

2005-04-13 Thread Paul Medwell
Paul Medwell wrote:
If my LyX documents contain images then the papersize of the pdflatex 
output gets set to "letter" (8.5 × 11 inch), whereas I want it to be A4.
I don't have this problem if the margins are set to default or custom.
Sorry to reply to my own question, but I've had a bit of a play around 
with pdflatex, and have narrowed the problem down a bit.

Below is an excerpt of latex code;
\documentclass[english]{article}
\usepackage{graphicx}
\usepackage{a4wide}
\begin{document}
aaa
\end{document}
If I comment out the \usepackage{graphicx} line, then the result of the 
pdflatex output is a4, otherwise it gives letter size. So in this sense 
it seems as if the problem is a conflict with the graphicx package, 
however...if I change the first line to 
\documentclass[english,a4paper]{article} then it's all okay.

I realise that I could just use a different PDF generator, but any clues 
how I can get LyX to give pdflatex the extra flag in the document class 
definition?

Lata,
Paul


Re: Wrong papersize when using pdflatex

2005-04-13 Thread Paul Medwell
Uwe Stöhr wrote:
The problem is the package a4wide. It is obsolete and actual 
LaTeX-packages won't take care of it. Have also a look at

http://www.ctan.org/tex-archive/info/l2tabu/english/l2tabuen.pdf
to read what is also obsolete.
Thanks Uwe.
The document you suggested contained a few other things that I weren't 
aware of which have caused me grief in the past. For those who haven't, 
I highly recommend reading it.

Ta,
Paul


Re: Wrong papersize when using pdflatex

2005-04-12 Thread Paul Medwell
Paul Smith wrote:
On Apr 12, 2005 5:31 AM, Paul Medwell [EMAIL PROTECTED] wrote:
If my LyX documents contain images then the papersize of the pdflatex
output gets set to letter (8.5 × 11 inch), whereas I want it to be A4.
I don't have this problem if the margins are set to default or custom.

Paul: have you selected A4 inside LyX? (Layout -- Document -- Paper
-- Paper size.)

Paul S,
Thanks for the suggestion - but yes, I have done this. As I say, it is 
*only* when I use pdflatex with the margins set to anything but default 
or custom, if I change either of these it will come out the selected A4.

Ta,
Paul M


Re: How do you make a bibliography?

2005-04-12 Thread Paul Medwell
Steve Litt wrote:
This will be my first book with a bibliography, and I don't know how to do it. 
I'll probably be listing 10-15 references. What do I do?
Within LyX, go Insert - Lists  TOC - BibTeX reference, then add 
your BibTeX database file, and select the style of your reference.

By the sounds of it though you are fairly new to this, so just to expand 
a little - you'll need a BibTeX database file (*.bib usually) which 
contains a list of all your references and all the details necessary.

Within the bib file, each reference is characterised by a unique tag 
(you can choose anything for this), and then a series of cells which 
contain information about the journal name, page numbers, etc. Although 
it is possible to create the bib file entirely by hand in a text-editor, 
you may find it easier to use a bib file editor. I use tkbibtex, 
although emacs has a BibTeX editor mode and is probably just as good, if 
not better. There are a heap of others out there as well.

Once you've got a bib file prepared, then select this as your database 
in the Bibtex generated refernces widget within LyX (note that you can 
select several such dataase files if needed). To insert a reference 
within your document, go to Insert - Citation reference and select 
one of the tags (you'll see the full details of the reference within the 
selection window).

It is possible to change the format and style of the reference 
appearances, but I'd suggest just getting the hang of inserting some 
references before moving on to anything too exotic.

Hope this helps.
Lata,
Paul


Re: Wrong papersize when using pdflatex

2005-04-12 Thread Paul Medwell
Paul Smith wrote:
On Apr 12, 2005 5:31 AM, Paul Medwell [EMAIL PROTECTED] wrote:
If my LyX documents contain images then the papersize of the pdflatex
output gets set to letter (8.5 × 11 inch), whereas I want it to be A4.
I don't have this problem if the margins are set to default or custom.

Paul: have you selected A4 inside LyX? (Layout -- Document -- Paper
-- Paper size.)

Paul S,
Thanks for the suggestion - but yes, I have done this. As I say, it is 
*only* when I use pdflatex with the margins set to anything but default 
or custom, if I change either of these it will come out the selected A4.

Ta,
Paul M


Re: How do you make a bibliography?

2005-04-12 Thread Paul Medwell
Steve Litt wrote:
This will be my first book with a bibliography, and I don't know how to do it. 
I'll probably be listing 10-15 references. What do I do?
Within LyX, go Insert - Lists  TOC - BibTeX reference, then add 
your BibTeX database file, and select the style of your reference.

By the sounds of it though you are fairly new to this, so just to expand 
a little - you'll need a BibTeX database file (*.bib usually) which 
contains a list of all your references and all the details necessary.

Within the bib file, each reference is characterised by a unique tag 
(you can choose anything for this), and then a series of cells which 
contain information about the journal name, page numbers, etc. Although 
it is possible to create the bib file entirely by hand in a text-editor, 
you may find it easier to use a bib file editor. I use tkbibtex, 
although emacs has a BibTeX editor mode and is probably just as good, if 
not better. There are a heap of others out there as well.

Once you've got a bib file prepared, then select this as your database 
in the Bibtex generated refernces widget within LyX (note that you can 
select several such dataase files if needed). To insert a reference 
within your document, go to Insert - Citation reference and select 
one of the tags (you'll see the full details of the reference within the 
selection window).

It is possible to change the format and style of the reference 
appearances, but I'd suggest just getting the hang of inserting some 
references before moving on to anything too exotic.

Hope this helps.
Lata,
Paul


Re: Wrong papersize when using pdflatex

2005-04-12 Thread Paul Medwell
Paul Smith wrote:
On Apr 12, 2005 5:31 AM, Paul Medwell <[EMAIL PROTECTED]> wrote:
If my LyX documents contain images then the papersize of the pdflatex
output gets set to "letter" (8.5 × 11 inch), whereas I want it to be A4.
I don't have this problem if the margins are set to default or custom.

Paul: have you selected A4 inside LyX? (Layout --> Document --> Paper
--> Paper size.)

Paul S,
Thanks for the suggestion - but yes, I have done this. As I say, it is 
*only* when I use pdflatex with the margins set to anything but default 
or custom, if I change either of these it will come out the selected A4.

Ta,
Paul M


Re: How do you make a bibliography?

2005-04-12 Thread Paul Medwell
Steve Litt wrote:
This will be my first book with a bibliography, and I don't know how to do it. 
I'll probably be listing 10-15 references. What do I do?
Within LyX, go "Insert -> Lists & TOC -> BibTeX reference", then add 
your BibTeX database file, and select the style of your reference.

By the sounds of it though you are fairly new to this, so just to expand 
a little - you'll need a BibTeX database file (*.bib usually) which 
contains a list of all your references and all the details necessary.

Within the bib file, each reference is characterised by a unique tag 
(you can choose anything for this), and then a series of cells which 
contain information about the journal name, page numbers, etc. Although 
it is possible to create the bib file entirely by hand in a text-editor, 
you may find it easier to use a bib file editor. I use tkbibtex, 
although emacs has a BibTeX editor mode and is probably just as good, if 
not better. There are a heap of others out there as well.

Once you've got a bib file prepared, then select this as your database 
in the "Bibtex generated refernces" widget within LyX (note that you can 
select several such dataase files if needed). To insert a reference 
within your document, go to "Insert -> Citation reference" and select 
one of the tags (you'll see the full details of the reference within the 
selection window).

It is possible to change the format and style of the reference 
appearances, but I'd suggest just getting the hang of inserting some 
references before moving on to anything too exotic.

Hope this helps.
Lata,
Paul


Wrong papersize when using pdflatex

2005-04-11 Thread Paul Medwell
Hi all,
If my LyX documents contain images then the papersize of the pdflatex 
output gets set to letter (8.5 × 11 inch), whereas I want it to be A4.
I don't have this problem if the margins are set to default or custom.

If I remove the images OR use a different pdf generator OR change the 
margin settings then the paper size is okay, but I would prefer having 
all of these things.

I'm guessing that if I update some packages the problem could probably 
be fixed, but I don't really want to update everything. If someone could 
suggest the exact cause that would be great.

I'm running LyX 1.3.5 (Qt) on Fedora Core 2, TeTex version 2.0.2-13. 
From what I can tell, the default paper size for pdflatex is set to A4.

Many thanks.
Lata,
Paul


Wrong papersize when using pdflatex

2005-04-11 Thread Paul Medwell
Hi all,
If my LyX documents contain images then the papersize of the pdflatex 
output gets set to letter (8.5 × 11 inch), whereas I want it to be A4.
I don't have this problem if the margins are set to default or custom.

If I remove the images OR use a different pdf generator OR change the 
margin settings then the paper size is okay, but I would prefer having 
all of these things.

I'm guessing that if I update some packages the problem could probably 
be fixed, but I don't really want to update everything. If someone could 
suggest the exact cause that would be great.

I'm running LyX 1.3.5 (Qt) on Fedora Core 2, TeTex version 2.0.2-13. 
From what I can tell, the default paper size for pdflatex is set to A4.

Many thanks.
Lata,
Paul


Wrong papersize when using pdflatex

2005-04-11 Thread Paul Medwell
Hi all,
If my LyX documents contain images then the papersize of the pdflatex 
output gets set to "letter" (8.5 × 11 inch), whereas I want it to be A4.
I don't have this problem if the margins are set to default or custom.

If I remove the images OR use a different pdf generator OR change the 
margin settings then the paper size is okay, but I would prefer having 
all of these things.

I'm guessing that if I update some packages the problem could probably 
be fixed, but I don't really want to update everything. If someone could 
suggest the exact cause that would be great.

I'm running LyX 1.3.5 (Qt) on Fedora Core 2, TeTex version 2.0.2-13. 
From what I can tell, the default paper size for pdflatex is set to A4.

Many thanks.
Lata,
Paul


TEST ONLY

2005-04-04 Thread Paul Medwell
appologies for the extra message


Re: linebreaks inside table cells

2005-04-04 Thread Paul Medwell
Alexander Blüm wrote:
hello again,
I'd like to create a table with linebreaks inside the cells.
Inserting linebreaks doesn't help, neither does C-enter...
any ideas?
perhaps try inserting a 2 by 1 table within a cell of the original table
lata,
paul


Re: linebreaks inside table cells

2005-04-04 Thread Paul Medwell
Alexander Blüm wrote:
hello again,
I'd like to create a table with linebreaks inside the cells.
Inserting linebreaks doesn't help, neither does C-enter...
any ideas?
i don't have lyx in front of me, but perhaps try inserting a 2×1 table 
within the cell you want the linebreak



TEST ONLY

2005-04-04 Thread Paul Medwell
appologies for the extra message


Re: linebreaks inside table cells

2005-04-04 Thread Paul Medwell
Alexander Blüm wrote:
hello again,
I'd like to create a table with linebreaks inside the cells.
Inserting linebreaks doesn't help, neither does C-enter...
any ideas?
perhaps try inserting a 2 by 1 table within a cell of the original table
lata,
paul


Re: linebreaks inside table cells

2005-04-04 Thread Paul Medwell
Alexander Blüm wrote:
hello again,
I'd like to create a table with linebreaks inside the cells.
Inserting linebreaks doesn't help, neither does C-enter...
any ideas?
i don't have lyx in front of me, but perhaps try inserting a 2×1 table 
within the cell you want the linebreak



TEST ONLY

2005-04-04 Thread Paul Medwell
appologies for the extra message


Re: linebreaks inside table cells

2005-04-04 Thread Paul Medwell
Alexander Blüm wrote:
hello again,
I'd like to create a table with linebreaks inside the cells.
Inserting linebreaks doesn't help, neither does C-enter...
any ideas?
perhaps try inserting a 2 by 1 table within a cell of the original table
lata,
paul


Re: linebreaks inside table cells

2005-04-04 Thread Paul Medwell
Alexander Blüm wrote:
hello again,
I'd like to create a table with linebreaks inside the cells.
Inserting linebreaks doesn't help, neither does C-enter...
any ideas?
i don't have lyx in front of me, but perhaps try inserting a 2×1 table 
within the cell you want the linebreak



Re: Problems with accentued letters (they're not displayed) in FC3

2005-03-28 Thread Paul Medwell
Oscar wrote:
SNIP problems with accented characters...
A (not particularly pretty) workaround *may* be to use the latex 
equivalents, viz;
 = {\O}
 = {\~a}
 = {\'a}
... et cetera

When I moved to FC2, I had similar problems with accented characters 
which turned out to be issues between UTF and ASCII. However, your 
problem sounds a little bit different so my suggestion might not work.

Good luck.
Lata,
Paul


Re: Problems with accentued letters (they're not displayed) in FC3

2005-03-28 Thread Paul Medwell
Oscar wrote:
SNIP problems with accented characters...
A (not particularly pretty) workaround *may* be to use the latex 
equivalents, viz;
 = {\O}
 = {\~a}
 = {\'a}
... et cetera

When I moved to FC2, I had similar problems with accented characters 
which turned out to be issues between UTF and ASCII. However, your 
problem sounds a little bit different so my suggestion might not work.

Good luck.
Lata,
Paul


Re: Problems with accentued letters (they're not displayed) in FC3

2005-03-28 Thread Paul Medwell
Oscar wrote:
ÂSNIPÂ problems with accented characters...
A (not particularly pretty) workaround *may* be to use the latex 
equivalents, viz;
à = {\"O}
à = {\~a}
à = {\'a}
... et cetera

When I moved to FC2, I had similar problems with accented characters 
which turned out to be issues between UTF and ASCII. However, your 
problem sounds a little bit different so my suggestion might not work.

Good luck.
Lata,
Paul


Re: Require et al in italics

2005-03-08 Thread Paul Medwell
Rob S wrote:
I'm at the stage of minor corrections in my thesis and I am required to 
change the et al in references to italics.

I'm using apalike.bst. Where and how do I ammend the .bst file?

Hi Rob,
If you're happy with the rest of the reference formatting, I'd simply 
search through your bst file and see where it adds the et al, then 
simply include it within an \emph.

For example, change the line from:
{  et~al. * }
to:
{  \emph{et~al.} * }
(...there is likely to be more than one occurance within the file)
Also, change the name of the modified bst file to avoid conflictions.
Hope this helps.
Lata,
Paul


Re: Require et al in italics

2005-03-08 Thread Paul Medwell
Rob S wrote:
I'm at the stage of minor corrections in my thesis and I am required to 
change the et al in references to italics.

I'm using apalike.bst. Where and how do I ammend the .bst file?

Hi Rob,
If you're happy with the rest of the reference formatting, I'd simply 
search through your bst file and see where it adds the et al, then 
simply include it within an \emph.

For example, change the line from:
{  et~al. * }
to:
{  \emph{et~al.} * }
(...there is likely to be more than one occurance within the file)
Also, change the name of the modified bst file to avoid conflictions.
Hope this helps.
Lata,
Paul


Re: Require "et al" in italics

2005-03-08 Thread Paul Medwell
Rob S wrote:
I'm at the stage of minor corrections in my thesis and I am required to 
change the "et al" in references to italics.

I'm using apalike.bst. Where and how do I ammend the .bst file?

Hi Rob,
If you're happy with the rest of the reference formatting, I'd simply 
search through your bst file and see where it adds the "et al", then 
simply include it within an \emph.

For example, change the line from:
{ " et~al." * }
to:
{ " \emph{et~al.}" * }
(...there is likely to be more than one occurance within the file)
Also, change the name of the modified bst file to avoid conflictions.
Hope this helps.
Lata,
Paul


Re: Equation labelling

2005-01-12 Thread Paul Medwell
Vaibhav Srivastava wrote:
Hi ,
I am new to Lyx. I have a problem with Lyx in equation labeling in the 
math  mode. I use the version 1.3.1
In UserGuide it has shown how to label equations and when I do 
Insert-Label from the math mode in the users guide and enter a label 
then it works by showing (mathed:label). However when I am working with 
my document and do the same then it does not do.
   However if I copy and paste from user guide onto my document then it 
shows that.
for eg 2-1=1  (mathed:first-equn) would show in the user guide and if I 
paste on my document then also it will work
But it will not work if I wrote 2-1=1(in mat mode of course ) and then 
did Insert-Label-mathed:first-equn

Please tell me what could be going wrong
Thanks
Just a thoughtare you using an inline formula (C-m) or a display 
formula (S-C-M) ?

The label will only appear for a display formula, not an inline.
Lata,
Paul


Re: Equation labelling

2005-01-12 Thread Paul Medwell
Vaibhav Srivastava wrote:
Thanks for your reply. I am not sure how to find out what mode it is in. 
I just type in the math mode without setting anyother thing. If could 
tell me how to see that I would be grateful

Thanks,
Vaibhav

I'm not sure what you have to type in the mini-buffer, but the shortcut 
key is C-m for inline formula and S-C-M for display formula. Otherwise, 
use Insert-Math-Display Formula from the toolbar.

I think that the equation label should then work.
Lata,
Paul


Re: Equation labelling

2005-01-12 Thread Paul Medwell
Vaibhav Srivastava wrote:
Hi ,
I am new to Lyx. I have a problem with Lyx in equation labeling in the 
math  mode. I use the version 1.3.1
In UserGuide it has shown how to label equations and when I do 
Insert-Label from the math mode in the users guide and enter a label 
then it works by showing (mathed:label). However when I am working with 
my document and do the same then it does not do.
   However if I copy and paste from user guide onto my document then it 
shows that.
for eg 2-1=1  (mathed:first-equn) would show in the user guide and if I 
paste on my document then also it will work
But it will not work if I wrote 2-1=1(in mat mode of course ) and then 
did Insert-Label-mathed:first-equn

Please tell me what could be going wrong
Thanks
Just a thoughtare you using an inline formula (C-m) or a display 
formula (S-C-M) ?

The label will only appear for a display formula, not an inline.
Lata,
Paul


Re: Equation labelling

2005-01-12 Thread Paul Medwell
Vaibhav Srivastava wrote:
Thanks for your reply. I am not sure how to find out what mode it is in. 
I just type in the math mode without setting anyother thing. If could 
tell me how to see that I would be grateful

Thanks,
Vaibhav

I'm not sure what you have to type in the mini-buffer, but the shortcut 
key is C-m for inline formula and S-C-M for display formula. Otherwise, 
use Insert-Math-Display Formula from the toolbar.

I think that the equation label should then work.
Lata,
Paul


Re: Equation labelling

2005-01-12 Thread Paul Medwell
Vaibhav Srivastava wrote:
Hi ,
I am new to Lyx. I have a problem with Lyx in equation labeling in the 
math  mode. I use the version 1.3.1
In UserGuide it has shown how to label equations and when I do 
Insert->Label from the math mode in the users guide and enter a label 
then it works by showing (mathed:label). However when I am working with 
my document and do the same then it does not do.
   However if I copy and paste from user guide onto my document then it 
shows that.
for eg 2-1=1  (mathed:first-equn) would show in the user guide and if I 
paste on my document then also it will work
But it will not work if I wrote 2-1=1(in mat mode of course ) and then 
did Insert->Label->mathed:first-equn

Please tell me what could be going wrong
Thanks
Just a thoughtare you using an "inline formula" (C-m) or a "display 
formula" (S-C-M) ?

The label will only appear for a display formula, not an inline.
Lata,
Paul


Re: Equation labelling

2005-01-12 Thread Paul Medwell
Vaibhav Srivastava wrote:
Thanks for your reply. I am not sure how to find out what mode it is in. 
I just type in the math mode without setting anyother thing. If could 
tell me how to see that I would be grateful

Thanks,
Vaibhav

I'm not sure what you have to type in the mini-buffer, but the shortcut 
key is C-m for inline formula and S-C-M for display formula. Otherwise, 
use Insert->Math->Display Formula from the toolbar.

I think that the equation label should then work.
Lata,
Paul


Re: Block alignment inside tables

2005-01-04 Thread Paul Medwell
Paul Smith wrote:
Dear All
I have downloaded a LyX file with an example which contains a table.
The horizontal alignment in this table is named block. If I create a
table in a different document, I do not get the alignment named block
in the list of possible alignments. How can I get the block alignment?
Well, I could always copy the first table and have the block
alignment, but this would not be the natural solution. (I am using LyX
1.3.5 on Linux.)
Thanks in advance,
Paul

Don't ask me why...but if you specify a column width then you'll get the 
block option for the horizontal alignment.

Lata,
Paul


Re: Block alignment inside tables

2005-01-04 Thread Paul Medwell
Paul Smith wrote:
Dear All
I have downloaded a LyX file with an example which contains a table.
The horizontal alignment in this table is named block. If I create a
table in a different document, I do not get the alignment named block
in the list of possible alignments. How can I get the block alignment?
Well, I could always copy the first table and have the block
alignment, but this would not be the natural solution. (I am using LyX
1.3.5 on Linux.)
Thanks in advance,
Paul

Don't ask me why...but if you specify a column width then you'll get the 
block option for the horizontal alignment.

Lata,
Paul


Re: Block alignment inside tables

2005-01-04 Thread Paul Medwell
Paul Smith wrote:
Dear All
I have downloaded a LyX file with an example which contains a table.
The horizontal alignment in this table is named block. If I create a
table in a different document, I do not get the alignment named block
in the list of possible alignments. How can I get the block alignment?
Well, I could always copy the first table and have the block
alignment, but this would not be the natural solution. (I am using LyX
1.3.5 on Linux.)
Thanks in advance,
Paul

Don't ask me why...but if you specify a column width then you'll get the 
"block" option for the horizontal alignment.

Lata,
Paul


Re: Changing PDF version generated

2004-12-08 Thread Paul Medwell
Jane McKean wrote:
«SNIP»
I need to change PDF generation process to produce PDF version 1.4. 

It probably depends a bit on what converters you use to generate your 
PDF. Perhaps start by looking at the Postscript - PDF converter  (Edit 
- Preferences - Converters). I'm running LyX 1.3.5 (qt) on Fedora Core 
2, and the converter used is ps2pdf -dCompatibilityLevel=1.3 $$i. I'd 
guess you should be able to change the compatability level this way.

HTH
Lata,
Paul


Re: Changing PDF version generated

2004-12-08 Thread Paul Medwell
Jane McKean wrote:
«SNIP»
I need to change PDF generation process to produce PDF version 1.4. 

It probably depends a bit on what converters you use to generate your 
PDF. Perhaps start by looking at the Postscript - PDF converter  (Edit 
- Preferences - Converters). I'm running LyX 1.3.5 (qt) on Fedora Core 
2, and the converter used is ps2pdf -dCompatibilityLevel=1.3 $$i. I'd 
guess you should be able to change the compatability level this way.

HTH
Lata,
Paul


Re: Changing PDF version generated

2004-12-08 Thread Paul Medwell
Jane McKean wrote:
«SNIP»
I need to change PDF generation process to produce PDF version 1.4. 

It probably depends a bit on what converters you use to generate your 
PDF. Perhaps start by looking at the Postscript -> PDF converter  (Edit 
-> Preferences -> Converters). I'm running LyX 1.3.5 (qt) on Fedora Core 
2, and the converter used is ps2pdf -dCompatibilityLevel=1.3 $$i. I'd 
guess you should be able to change the compatability level this way.

HTH
Lata,
Paul


Re: PICT conversion from LyX

2004-12-01 Thread Paul Medwell
Georg Baum wrote:
It is not new. I guess your are using the xforms frontend, and Angus
described the qt frontend. If it is not working for some reason, stop every
running instance of lyx. Edit ~/.lyx/preferences with a text editor of your
choice, and add the line
\format PICT PICT PICT 
Then restart lyx, and the new format should be available.
Thanks Georg.
yep it did work...
and yes I'm using xforms (sorry, should have mentioned that)
Ta,
Paul


Re: PICT conversion from LyX

2004-12-01 Thread Paul Medwell
Angus Leeming wrote:
Not many people seem to use the XForms frontend. Ahh well.
Edit-Preferences to launch the dialog.
Conversion-Formats tab.
Define the format and press 'Add' to add it to the list of formats in the
dialog.
Press 'Save' or 'Apply' to make this format available to the rest of LyX.

Thanks for your input.
As I said in one of the earlier posts, the Add option was greyed out 
for some reason. Not to worry now 'coz editing the preferences file 
worked a treat. I knew that it should be simple but didn't know where to 
look.

Ta,
Paul


Re: PICT conversion from LyX

2004-12-01 Thread Paul Medwell
Georg Baum wrote:
It is not new. I guess your are using the xforms frontend, and Angus
described the qt frontend. If it is not working for some reason, stop every
running instance of lyx. Edit ~/.lyx/preferences with a text editor of your
choice, and add the line
\format PICT PICT PICT 
Then restart lyx, and the new format should be available.
Thanks Georg.
yep it did work...
and yes I'm using xforms (sorry, should have mentioned that)
Ta,
Paul


Re: PICT conversion from LyX

2004-12-01 Thread Paul Medwell
Angus Leeming wrote:
Not many people seem to use the XForms frontend. Ahh well.
Edit-Preferences to launch the dialog.
Conversion-Formats tab.
Define the format and press 'Add' to add it to the list of formats in the
dialog.
Press 'Save' or 'Apply' to make this format available to the rest of LyX.

Thanks for your input.
As I said in one of the earlier posts, the Add option was greyed out 
for some reason. Not to worry now 'coz editing the preferences file 
worked a treat. I knew that it should be simple but didn't know where to 
look.

Ta,
Paul


Re: PICT conversion from LyX

2004-12-01 Thread Paul Medwell
Georg Baum wrote:
It is not new. I guess your are using the xforms frontend, and Angus
described the qt frontend. If it is not working for some reason, stop every
running instance of lyx. Edit ~/.lyx/preferences with a text editor of your
choice, and add the line
\format "PICT" "PICT" "PICT" ""
Then restart lyx, and the new format should be available.
Thanks Georg.
yep it did work...
and yes I'm using xforms (sorry, should have mentioned that)
Ta,
Paul


Re: PICT conversion from LyX

2004-12-01 Thread Paul Medwell
Angus Leeming wrote:
Not many people seem to use the XForms frontend. Ahh well.
Edit->Preferences to launch the dialog.
Conversion->Formats tab.
Define the format and press 'Add' to add it to the list of formats in the
dialog.
Press 'Save' or 'Apply' to make this format available to the rest of LyX.

Thanks for your input.
As I said in one of the earlier posts, the "Add" option was greyed out 
for some reason. Not to worry now 'coz editing the preferences file 
worked a treat. I knew that it should be simple but didn't know where to 
look.

Ta,
Paul


Re: PICT conversion from LyX

2004-11-30 Thread Paul Medwell
Georg Baum wrote:
Paul Medwell wrote:
I can use the convert programme to convert from PICT to PNG format,
but in the Converters tab of LyX preferences there is no where to
specify what LyX will do with PICT files. Is it possible to add a new
file format for LyX to automatically convert? (or is it easier to just
continue doing this from the command line)

Yes, it is possible. Define the PICT format, and automatic conversion will
work.
Georg

Thank you for your reply, and sorry for being ignorant, but the question 
of how to define a new format still stands. In other words, how do I 
define PICT format (or any others for that matter). A google search did 
not find anything particularly useful and I couldn't find anything in 
the documentation.

Regards,
Paul


Re: PICT conversion from LyX

2004-11-30 Thread Paul Medwell
Angus Leeming wrote:
Paul Medwell wrote:
Thank you for your reply, and sorry for being ignorant, but the question
of how to define a new format still stands. In other words, how do I
define PICT format (or any others for that matter). A google search did
not find anything particularly useful and I couldn't find anything in
the documentation.

Launch the Preferences dialog from the Edit menu:
Edit-Preferences
You'll see a 'File formats' item in the pane on the left hand side. Select
it.
Click 'New' on the right hand pane that just appeared.
Change the 'New' items in 'Format:', 'GUI name:', 'Extension:' to 'PICT'.
Press 'Modify' to add the new format to the list of formats in the dialog.
Press 'Save' or 'Apply' to get LyX to recognize this new format, either
permanently or for the rest of the current session.

Okay, now I feel like a fool.
Is this a new option in 1.3.5 ?
I'm running 1.3.4 and don't get this option. The closest thing is 
Preferences - Conversion - Converters.  It has a button for Add but 
it is greyed out.

If it's new in 1.3.5, then I can see why this seemed like a wank of a 
question. If not then I must be a bigger idiot than I thought, in which 
case other than upgrading (which I'll probably do anyway), just out of 
interest how would it be possible in 1.3.4 ?

Regards,
Paul


Re: PICT conversion from LyX

2004-11-30 Thread Paul Medwell
Georg Baum wrote:
Paul Medwell wrote:
I can use the convert programme to convert from PICT to PNG format,
but in the Converters tab of LyX preferences there is no where to
specify what LyX will do with PICT files. Is it possible to add a new
file format for LyX to automatically convert? (or is it easier to just
continue doing this from the command line)

Yes, it is possible. Define the PICT format, and automatic conversion will
work.
Georg

Thank you for your reply, and sorry for being ignorant, but the question 
of how to define a new format still stands. In other words, how do I 
define PICT format (or any others for that matter). A google search did 
not find anything particularly useful and I couldn't find anything in 
the documentation.

Regards,
Paul


Re: PICT conversion from LyX

2004-11-30 Thread Paul Medwell
Angus Leeming wrote:
Paul Medwell wrote:
Thank you for your reply, and sorry for being ignorant, but the question
of how to define a new format still stands. In other words, how do I
define PICT format (or any others for that matter). A google search did
not find anything particularly useful and I couldn't find anything in
the documentation.

Launch the Preferences dialog from the Edit menu:
Edit-Preferences
You'll see a 'File formats' item in the pane on the left hand side. Select
it.
Click 'New' on the right hand pane that just appeared.
Change the 'New' items in 'Format:', 'GUI name:', 'Extension:' to 'PICT'.
Press 'Modify' to add the new format to the list of formats in the dialog.
Press 'Save' or 'Apply' to get LyX to recognize this new format, either
permanently or for the rest of the current session.

Okay, now I feel like a fool.
Is this a new option in 1.3.5 ?
I'm running 1.3.4 and don't get this option. The closest thing is 
Preferences - Conversion - Converters.  It has a button for Add but 
it is greyed out.

If it's new in 1.3.5, then I can see why this seemed like a wank of a 
question. If not then I must be a bigger idiot than I thought, in which 
case other than upgrading (which I'll probably do anyway), just out of 
interest how would it be possible in 1.3.4 ?

Regards,
Paul


Re: PICT conversion from LyX

2004-11-30 Thread Paul Medwell
Georg Baum wrote:
Paul Medwell wrote:
I can use the "convert" programme to convert from PICT to PNG format,
but in the "Converters" tab of LyX preferences there is no where to
specify what LyX will do with PICT files. Is it possible to add a new
file format for LyX to automatically convert? (or is it easier to just
continue doing this from the command line)

Yes, it is possible. Define the PICT format, and automatic conversion will
work.
Georg

Thank you for your reply, and sorry for being ignorant, but the question 
of how to define a new format still stands. In other words, how do I 
define PICT format (or any others for that matter). A google search did 
not find anything particularly useful and I couldn't find anything in 
the documentation.

Regards,
Paul


Re: PICT conversion from LyX

2004-11-30 Thread Paul Medwell
Angus Leeming wrote:
Paul Medwell wrote:
Thank you for your reply, and sorry for being ignorant, but the question
of how to define a new format still stands. In other words, how do I
define PICT format (or any others for that matter). A google search did
not find anything particularly useful and I couldn't find anything in
the documentation.

Launch the Preferences dialog from the Edit menu:
Edit->Preferences
You'll see a 'File formats' item in the pane on the left hand side. Select
it.
Click 'New' on the right hand pane that just appeared.
Change the 'New' items in 'Format:', 'GUI name:', 'Extension:' to 'PICT'.
Press 'Modify' to add the new format to the list of formats in the dialog.
Press 'Save' or 'Apply' to get LyX to recognize this new format, either
permanently or for the rest of the current session.

Okay, now I feel like a fool.
Is this a new option in 1.3.5 ?
I'm running 1.3.4 and don't get this option. The closest thing is 
Preferences -> Conversion -> Converters.  It has a button for "Add" but 
it is greyed out.

If it's new in 1.3.5, then I can see why this seemed like a wank of a 
question. If not then I must be a bigger idiot than I thought, in which 
case other than upgrading (which I'll probably do anyway), just out of 
interest how would it be possible in 1.3.4 ?

Regards,
Paul


PICT conversion from LyX

2004-11-29 Thread Paul Medwell
At the moment I'm generating numerous PICT files on a Mac (that is the 
only format the software is capable of exporting), and I would like to 
get these into a LyX document on my Linux box.

I can use the convert programme to convert from PICT to PNG format, 
but in the Converters tab of LyX preferences there is no where to 
specify what LyX will do with PICT files. Is it possible to add a new 
file format for LyX to automatically convert? (or is it easier to just 
continue doing this from the command line)

(If it makes any difference I'm running Lyx 1.3.4)
Ta,
Paul


PICT conversion from LyX

2004-11-29 Thread Paul Medwell
At the moment I'm generating numerous PICT files on a Mac (that is the 
only format the software is capable of exporting), and I would like to 
get these into a LyX document on my Linux box.

I can use the convert programme to convert from PICT to PNG format, 
but in the Converters tab of LyX preferences there is no where to 
specify what LyX will do with PICT files. Is it possible to add a new 
file format for LyX to automatically convert? (or is it easier to just 
continue doing this from the command line)

(If it makes any difference I'm running Lyx 1.3.4)
Ta,
Paul


PICT conversion from LyX

2004-11-29 Thread Paul Medwell
At the moment I'm generating numerous PICT files on a Mac (that is the 
only format the software is capable of exporting), and I would like to 
get these into a LyX document on my Linux box.

I can use the "convert" programme to convert from PICT to PNG format, 
but in the "Converters" tab of LyX preferences there is no where to 
specify what LyX will do with PICT files. Is it possible to add a new 
file format for LyX to automatically convert? (or is it easier to just 
continue doing this from the command line)

(If it makes any difference I'm running Lyx 1.3.4)
Ta,
Paul


Re: Accented characters and BibTeX

2004-11-14 Thread Paul Medwell
Thanks Jürgen...works a treat.
Cheers,
Paul
Juergen Spitzmueller wrote:
Jon Riding wrote:
FC2 uses UTF-8 by default. To my recollection the anaconda
installer for fc2 doesn't give you the option to change to
ascii...

You may start emacs (and LyX) with
env LANG=en_US emacs
to avoid the production of unicode-encoded texts.
Files in unicode can be converted to ISO8859-1 with the following command:
iconv -f UTF-8 -t ISO8859-1 {utf8-encoded file} {iso8859-encoded file}
HTH,
Jürgen



Re: Accented characters and BibTeX

2004-11-14 Thread Paul Medwell
after looking around a bit it seems as though there is a push for 
unicode to replace ascii.  if this is the case, is it possible to get 
LyX/BibTeX to handle unicode?

Juergen Spitzmueller wrote:
Jon Riding wrote:
FC2 uses UTF-8 by default. To my recollection the anaconda
installer for fc2 doesn't give you the option to change to
ascii...

You may start emacs (and LyX) with
env LANG=en_US emacs
to avoid the production of unicode-encoded texts.
Files in unicode can be converted to ISO8859-1 with the following command:
iconv -f UTF-8 -t ISO8859-1 {utf8-encoded file} {iso8859-encoded file}
HTH,
Jürgen



Re: Accented characters and BibTeX

2004-11-14 Thread Paul Medwell
Thanks Jürgen...works a treat.
Cheers,
Paul
Juergen Spitzmueller wrote:
Jon Riding wrote:
FC2 uses UTF-8 by default. To my recollection the anaconda
installer for fc2 doesn't give you the option to change to
ascii...

You may start emacs (and LyX) with
env LANG=en_US emacs
to avoid the production of unicode-encoded texts.
Files in unicode can be converted to ISO8859-1 with the following command:
iconv -f UTF-8 -t ISO8859-1 {utf8-encoded file} {iso8859-encoded file}
HTH,
Jürgen



Re: Accented characters and BibTeX

2004-11-14 Thread Paul Medwell
after looking around a bit it seems as though there is a push for 
unicode to replace ascii.  if this is the case, is it possible to get 
LyX/BibTeX to handle unicode?

Juergen Spitzmueller wrote:
Jon Riding wrote:
FC2 uses UTF-8 by default. To my recollection the anaconda
installer for fc2 doesn't give you the option to change to
ascii...

You may start emacs (and LyX) with
env LANG=en_US emacs
to avoid the production of unicode-encoded texts.
Files in unicode can be converted to ISO8859-1 with the following command:
iconv -f UTF-8 -t ISO8859-1 {utf8-encoded file} {iso8859-encoded file}
HTH,
Jürgen



Re: Accented characters and BibTeX

2004-11-14 Thread Paul Medwell
Thanks Jürgen...works a treat.
Cheers,
Paul
Juergen Spitzmueller wrote:
Jon Riding wrote:
FC2 uses UTF-8 by default. To my recollection the anaconda
installer for fc2 doesn't give you the option to change to
ascii...

You may start emacs (and LyX) with
env LANG=en_US emacs
to avoid the production of unicode-encoded texts.
Files in unicode can be converted to ISO8859-1 with the following command:
iconv -f UTF-8 -t ISO8859-1 {utf8-encoded file} >{iso8859-encoded file}
HTH,
Jürgen



Re: Accented characters and BibTeX

2004-11-14 Thread Paul Medwell
after looking around a bit it seems as though there is a push for 
unicode to replace ascii.  if this is the case, is it possible to get 
LyX/BibTeX to handle unicode?

Juergen Spitzmueller wrote:
Jon Riding wrote:
FC2 uses UTF-8 by default. To my recollection the anaconda
installer for fc2 doesn't give you the option to change to
ascii...

You may start emacs (and LyX) with
env LANG=en_US emacs
to avoid the production of unicode-encoded texts.
Files in unicode can be converted to ISO8859-1 with the following command:
iconv -f UTF-8 -t ISO8859-1 {utf8-encoded file} >{iso8859-encoded file}
HTH,
Jürgen



Accented characters and BibTeX

2004-11-11 Thread Paul Medwell
Hi all,
What is the most efficient way of inserting accented characters into BibTeX?
In the past I simply inserted the ASCII character into the BibTeX file 
with emacs and never had any troubles. I've recently upgraded from 
RedHat 7.2 to Fedora Core 2 and now this no longer works. Depending on 
the ASCII character I insert, it either gives the wrong output, or it 
gives an error. For example;

é appears as é in both dvi and pdf output
Ö gives the error; Package inputenc Error: Keyboard character used is 
undefined ... {\em ^^c3^^96} ... You need to provide a definition with 
\DeclareInputText or \DeclareInputMate before using this key.

A hunt around only gave me the clue that accented characters should be 
inserted as TeX code...I tried this and it worked...but my BibTeX file 
already has a lot of these characters in it.

In the worst case I'll be able to work around, but it seems a little 
unusual to me that this used to work, but not anymore. Even more 
confusing is that if I copy and paste the characters from emacs into the 
LyX document text they come out fine.

Any clues?
Cheers,
Paul


Accented characters and BibTeX

2004-11-11 Thread Paul Medwell
Hi all,
What is the most efficient way of inserting accented characters into BibTeX?
In the past I simply inserted the ASCII character into the BibTeX file 
with emacs and never had any troubles. I've recently upgraded from 
RedHat 7.2 to Fedora Core 2 and now this no longer works. Depending on 
the ASCII character I insert, it either gives the wrong output, or it 
gives an error. For example;

é appears as é in both dvi and pdf output
Ö gives the error; Package inputenc Error: Keyboard character used is 
undefined ... {\em ^^c3^^96} ... You need to provide a definition with 
\DeclareInputText or \DeclareInputMate before using this key.

A hunt around only gave me the clue that accented characters should be 
inserted as TeX code...I tried this and it worked...but my BibTeX file 
already has a lot of these characters in it.

In the worst case I'll be able to work around, but it seems a little 
unusual to me that this used to work, but not anymore. Even more 
confusing is that if I copy and paste the characters from emacs into the 
LyX document text they come out fine.

Any clues?
Cheers,
Paul


Accented characters and BibTeX

2004-11-11 Thread Paul Medwell
Hi all,
What is the most efficient way of inserting accented characters into BibTeX?
In the past I simply inserted the ASCII character into the BibTeX file 
with emacs and never had any troubles. I've recently upgraded from 
RedHat 7.2 to Fedora Core 2 and now this no longer works. Depending on 
the ASCII character I insert, it either gives the wrong output, or it 
gives an error. For example;

é appears as "é" in both dvi and pdf output
Ö gives the error; "Package inputenc Error: Keyboard character used is 
undefined ... {\em ^^c3^^96} ... You need to provide a definition with 
\DeclareInputText or \DeclareInputMate before using this key."

A hunt around only gave me the clue that accented characters should be 
inserted as TeX code...I tried this and it worked...but my BibTeX file 
already has a lot of these characters in it.

In the worst case I'll be able to work around, but it seems a little 
unusual to me that this used to work, but not anymore. Even more 
confusing is that if I copy and paste the characters from emacs into the 
LyX document text they come out fine.

Any clues?
Cheers,
Paul


EPS graphics rotating page

2003-12-15 Thread Paul Medwell
Hi all,

I've got a formatted Excel spreadsheet that I need to insert into my 
document. Its got a heap of colour and formatting, so I can't just 
import it in as a LyX/LaTeX table. I have printed it out to an EPS file, 
and (eventually) I got it to insert into my LyX document. The problem is 
that it rotates the page when I view it in PDF, and when I try to print 
it just gives a blank page.

It doesn't matter whether I rotate the figure in LyX, or even if I 
rotate the EPS, that page in the PDF output is rotated (as a landscape).

Any clues?




  1   2   3   >