Re: LyX Reference Dialog broken

2009-01-12 Thread Guenter Milde
On 2009-01-10, Martin Görg wrote:
 Martin Görg wrote:

 I managed to get up and running with LyX 1.6.1 from the backports, but
 the references are still messed up. Interestingly, only the provided
 help documents had the problem of not showing any labels and crashing on
 update. It worked just fine with my own documents. Are the help docs
 maybe using some older commands which cause the error?

If I remember right, it has to do with read-only access of the file. What
happens, if you copy the help document to a directory with write-access?
(Or to your own documents if you change them to be read-only?)

...
  Only the problem with LyX not accepting any keyboard input after
 some Ctrl+ actions remains (see my other post [1]).

It might be a problem with X-Windows or your Desktop (KDE/Gnome/XFCE...)
or the QT library. Do you mix distributions or have more external
packages installed?

Günter




Re: Hyperlink question

2009-01-12 Thread Tao Cumplido
Uwe Stöhr wrote:
 Tao Cumplido schrieb:
 
 I tried to call a simple text file from C:\file.txt but got the
 following error:

  Text\href{file:C:\file.txt}
 {file-link}
 The control sequence at the end of the top line
 of your error message was never \def'ed.
 
 You found a bug. Can you please report it at bugzilla.lyx.org. I'll try
 to fix this as soon as possible.

Is that a bug? file:C:\file.txt is not a valid URL. It should be
file:///c:/file.txt. (Actually, even that isn't strictly valid; the
c: ought to be c|. But everyone uses and supports c:.)

Ok that kind of works.
But how am I supposed to know that the directory has to be written like this?
There's no mention about this in the Hyperlink-chapter of the manual.

Well, the PDF is processed and it works except in Acrobat where Firefox opens 
with an empty tab, but I guess that's an Acrobat problem?!

Thanks!

Tao
-- 
Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: 
http://www.gmx.net/de/go/multimessenger


Re: Hyperlink question: URL syntax

2009-01-12 Thread Hubert Christiaen
On maandag 12 januari 2009, Tao Cumplido wrote:
 file:///c:/file.txt. (Actually, even that isn't strictly valid; the

 c: ought to be c|. But everyone uses and supports c:.)

 Ok that kind of works.
 But how am I supposed to know that the directory has to be written like
 this? There's no mention about this in the Hyperlink-chapter of the manual.
An URL is composed of
- a protocol part ended with ':' ftp:' 'http:' or 'file:'
- an address of the server starting with '//' and ending in '/'
  if the server is the localmachine, one can put 'localhost' or sometimes also 
just nothing. In this case you have for a file on your machine 
already 'file:///' !
- then follows the location on the server, which is a bit OS dependent ...

Hope this helps!

Sincerely,
Hubert



-- 
Hubert Christiaen
Bloesemlaan 17
3360 Korbeek-Lo
Belgium   


Re: Hyperlink question

2009-01-12 Thread Uwe Stöhr

Tao Cumplido schrieb:


But how am I supposed to know that the directory has to be written like this?
There's no mention about this in the Hyperlink-chapter of the manual.


As said this is a bug in LyX I will fix soon. The LyX will automatically translate \ to / etc. 
Have you reported it at bugzilla.lyx.org?


regards Uwe


Re: STOP THIS ON PUBLIC MAILINGLISTS [WAS: nocomment bush]

2009-01-12 Thread Dotan Cohen
2009/1/12 Michelle Konzack linux4miche...@tamay-dogan.net:
 This has nothing to do here on the lists so please stop.


 There is absolutely no need to post it here!


Thanks, Michelle, but you are only feeding the trolls. Just as one
facet of their little world sees it fit to rain missiles on their
neighbors who do not recognize Muhamed as the final prophet of Allah,
so does this facet see it fit to rain spam on those who are happily
far enough away from them not to be caught in the crossfire. Have pity
on them, and pray for those citizens (Muslims, Jews, and Christians)
who either live under their influence or near enough to be affected by
more than spam.

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü


how to change output font

2009-01-12 Thread nur kholis majid
hi, i want to change typewriter output font to luximono font. but its state
as not installed in document  settings  font.
how to install luximono font in lyx?

thanks.

-- 
nur kholis majid
http://kholis.web.id


Hi, some doubt

2009-01-12 Thread Adrian Diaz
Sr. Lyx
I have been using Lyx to write my thesis. I have set up the format of the
page with a class document: book and a style of page fancy. It is
interesting to me to know how i can manage the properties of the size and
type of font of the headers. I mean to set up
some properties of book class, especially headers an numbers.

How can i know if in my computer has installed the fancyhdr  package?
How can i install the fancyhdr  package ?
How can i manage the fancyhdr  package ?

   Best Adrián


Re: Hi, some doubt

2009-01-12 Thread Bob Lounsbury
On Mon, Jan 12, 2009 at 8:48 AM, Adrian Diaz aedmci...@gmail.com wrote:
 Sr. Lyx
 I have been using Lyx to write my thesis. I have set up the format of the
 page with a class document: book and a style of page fancy. It is
 interesting to me to know how i can manage the properties of the size and
 type of font of the headers. I mean to set up
 some properties of book class, especially headers an numbers.

 How can i know if in my computer has installed the fancyhdr  package?
 How can i install the fancyhdr  package ?
 How can i manage the fancyhdr  package ?

   Best Adrián


The fancyhdr package is a default on most TeX distributions. If you
selected a page style of fancy and didn't receive any error messages
when viewing the pdf or dvi, you have the the fancyhdr package
installed. You can learn about the package and how to use it from its
documentation:

http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=fancyhdr

Cheers,
/Bob


Hi

2009-01-12 Thread Adrian Diaz
Sr Lix

How can i see the number of the equations when i am writting on text editos
fo Lyx?

 Grettings Adrián


Re: Hi, some doubt

2009-01-12 Thread Bob Lounsbury
 On Mon, Jan 12, 2009 at 8:48 AM, Adrian Diaz aedmci...@gmail.com wrote:
  Sr. Lyx
  I have been using Lyx to write my thesis. I have set up the format of
  the
  page with a class document: book and a style of page fancy. It is
  interesting to me to know how i can manage the properties of the size
  and
  type of font of the headers. I mean to set up
  some properties of book class, especially headers an numbers.
 
  How can i know if in my computer has installed the fancyhdr  package?
  How can i install the fancyhdr  package ?
  How can i manage the fancyhdr  package ?
 
Best Adrián
 
 
 2009/1/12 Bob Lounsbury boblounsb...@gmail.com

 The fancyhdr package is a default on most TeX distributions. If you
 selected a page style of fancy and didn't receive any error messages
 when viewing the pdf or dvi, you have the the fancyhdr package
 installed. You can learn about the package and how to use it from its
 documentation:

 http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=fancyhdr

 Cheers,
 /Bob

On Mon, Jan 12, 2009 at 11:46 AM, Adrian Diaz aedmci...@gmail.com wrote:

 Bob

 Thanks for your advice, but i do not understand how i can change the type
 and size of font.
 Cos, when i have changed the size in documents-parameters this change the
 size fonts of body and the size of the headers.
 I would like to change only the fonts and size of headers and footers

Saludos adrián


Changes are put into Document-Settings-LaTeX Preamble:

\cfoot{}\lhead{}\rhead{\thepage}
\renewcommand\headrulewidth{0pt}

Page 14 talks about it a little bit from the fancyhdr package docs.
So, if you wanted to change the right header font and size to \Huge
you would put:

\newcommand{\helv}{\fontfamily{phv}\fontseries{b}\selectfont}
\rhead{\Huge\helv \thepage}

Or you could change it to your own font name, it's just a name and arbitrary.

\newcommand{\myfont}{\fontfamily{phv}\fontseries{b}\selectfont}
\rhead{\Huge\myfont \thepage}

A little googling to find what options are available for \fontfamily
yielded the fonts in the attached fonts.txt. I'm sure there are others
if you wanted to search. From my testing the fourth letter doesn't
work. So, the options would just be 'pag, pbk, pcr, phv, pnc, ppl,
ptm'.

Obviously, if you don't want it to be bold then remove \fontseries{b},
and you can set what size you want the text to be by following (at the
bottom of the page):

http://texnik.dante.de/cgi-bin/mainFAQ.cgi?file=fonts/fonts#table

based on your default font size.

Hope that helps get you started.

Cheers,
/Bob
‘pagk’ ‘AvantGarde-Book’
‘pagko’ ‘AvantGarde-BookOblique’
‘pagd’ ‘AvantGarde-Demi’
‘pagdo’ ‘AvantGarde-DemiOblique’
‘pbkd’ ‘Bookman-Demi’
‘pbkdi’ ‘Bookman-DemiItalic’
‘pbkl’ ‘Bookman-Light’
‘pbkli’ ‘Bookman-LightItalic’
‘pcrb’ ‘Courier-Bold’
‘pcrbo’ ‘Courier-BoldOblique’
‘pcrr’ ‘Courier’
‘pcrro’ ‘Courier-Oblique’
‘phvb’ ‘Helvetica-Bold’
‘phvbo’ ‘Helvetica-BoldOblique’
‘phvbrn’ ‘Helvetica-NarrowBold’
‘phvbon’ ‘Helvetica-NarrowBoldOblique’
‘phvr’ ‘Helvetica’
‘phvro’ ‘Helvetica-Oblique’
‘phvrrn’ ‘Helvetica-Narrow’
‘phvron’ ‘Helvetica-NarrowOblique’
‘pncb’ ‘NewCenturySchlbk-Bold’
‘pncbi’ ‘NewCenturySchlbk-BoldItalic’
‘pncri’ ‘NewCenturySchlbk-Italic’
‘pncr’ ‘NewCenturySchlbk-Roman’
‘pplb’ ‘Palatino-Bold’
‘pplbi’ ‘Palatino-BoldItalic’
Appendix A: Font name lists 28
‘pplri’ ‘Palatino-Italic’
‘pplr’ ‘Palatino-Roman’
‘psyr’ ‘Symbol’
‘ptmb’ ‘Times-Bold’
‘ptmbi’ ‘Times-BoldItalic’
‘ptmri’ ‘Times-Italic’
‘ptmr’ ‘Times-Roman’
‘pzcmi’ ‘ZapfChancery-MediumItalic’
‘pzdr’ ‘ZapfDingbats’

Fonts in fancyhdr

2009-01-12 Thread Ehud Kaplan

Adrian,
Here is how you control the font size in the header/footer using 
fancyhdr.  Note that you can do that for each portion of the header or 
footer independently.

Hope this helps--
E. Kaplan
==

\usepackage{fancyhdr}
\pagestyle{fancy}

\lhead{\scriptsize \textsf{Principal Investigator/Program Director
(Last, First, Middle)}} %left header
\chead{}%Leave the center of the header empty
\rhead{Adrian}%Display this text on the right of the header
\lfoot{\scriptsize \textsf{PHS 398 (Rev. 05/01)}} %Display this text on 
the left of the footer
\cfoot{Page \  \thepage} % Print the page number in the center 
of the footer

\rfoot{\scriptsize \textsf{Continuation Format Page}} %right footer
\renewcommand{\headrulewidth}{0.4pt} %print a rule below the header
\renewcommand{\footrulewidth}{0.4pt} %print a rule above the footer



Trouble Printing Documents

2009-01-12 Thread Raymond Scott
I installed the software but I can not print the documents.  Any thoughts on how
to get the lyx software to recognize my printer?  Raymond



Customizing the TableOfContents

2009-01-12 Thread Balaji
Hi,

I have a LaTeX class called toptesi that has a special latex command \indici
that produces the table of contents, list of figures and list of tables
etc., in a specific format. I want to use this using the Inset features of
LyX. Now I know that you can insert LaTeX commands in LyX, but this is more
for my mother than for me, and so she cannot understand this. I want to
create a layout file that will modify the CommandInset for the TOC to
generate a different code.

The present CommandInset for TOC generates the following:
\begin_inset CommandInset toc
LatexCommand tableofcontents

\end_inset

Instead of producing this, I want LyX to generate the following code:

\begin_inset CommandInset toc
LatexCommand indici

\end_inset

I have been trying to do this for a long while with LyX 1.6.1 which follows
LyX layout format version 11, but failed miserably. Here is what I tried:

InsetLayout CommandInset toc
 LatexCommand   indici
End

I have tried several combinations and none of them seem to work. I think
there should be a way to customize CommandInset layouts just as it is
possible to customize Floats. Can anyone help me with this? The document on
Customizing LyX does not mention anything about CommandInsets.

Please help if you know how to do this. I don't even find an example layout
file in the LyX package that does something similar.

Balaji


Re: LyX Reference Dialog broken

2009-01-12 Thread Guenter Milde
On 2009-01-10, Martin Görg wrote:
 Martin Görg wrote:

 I managed to get up and running with LyX 1.6.1 from the backports, but
 the references are still messed up. Interestingly, only the provided
 help documents had the problem of not showing any labels and crashing on
 update. It worked just fine with my own documents. Are the help docs
 maybe using some older commands which cause the error?

If I remember right, it has to do with read-only access of the file. What
happens, if you copy the help document to a directory with write-access?
(Or to your own documents if you change them to be read-only?)

...
  Only the problem with LyX not accepting any keyboard input after
 some Ctrl+ actions remains (see my other post [1]).

It might be a problem with X-Windows or your Desktop (KDE/Gnome/XFCE...)
or the QT library. Do you mix distributions or have more external
packages installed?

Günter




Re: Hyperlink question

2009-01-12 Thread Tao Cumplido
Uwe Stöhr wrote:
 Tao Cumplido schrieb:
 
 I tried to call a simple text file from C:\file.txt but got the
 following error:

  Text\href{file:C:\file.txt}
 {file-link}
 The control sequence at the end of the top line
 of your error message was never \def'ed.
 
 You found a bug. Can you please report it at bugzilla.lyx.org. I'll try
 to fix this as soon as possible.

Is that a bug? file:C:\file.txt is not a valid URL. It should be
file:///c:/file.txt. (Actually, even that isn't strictly valid; the
c: ought to be c|. But everyone uses and supports c:.)

Ok that kind of works.
But how am I supposed to know that the directory has to be written like this?
There's no mention about this in the Hyperlink-chapter of the manual.

Well, the PDF is processed and it works except in Acrobat where Firefox opens 
with an empty tab, but I guess that's an Acrobat problem?!

Thanks!

Tao
-- 
Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: 
http://www.gmx.net/de/go/multimessenger


Re: Hyperlink question: URL syntax

2009-01-12 Thread Hubert Christiaen
On maandag 12 januari 2009, Tao Cumplido wrote:
 file:///c:/file.txt. (Actually, even that isn't strictly valid; the

 c: ought to be c|. But everyone uses and supports c:.)

 Ok that kind of works.
 But how am I supposed to know that the directory has to be written like
 this? There's no mention about this in the Hyperlink-chapter of the manual.
An URL is composed of
- a protocol part ended with ':' ftp:' 'http:' or 'file:'
- an address of the server starting with '//' and ending in '/'
  if the server is the localmachine, one can put 'localhost' or sometimes also 
just nothing. In this case you have for a file on your machine 
already 'file:///' !
- then follows the location on the server, which is a bit OS dependent ...

Hope this helps!

Sincerely,
Hubert



-- 
Hubert Christiaen
Bloesemlaan 17
3360 Korbeek-Lo
Belgium   


Re: Hyperlink question

2009-01-12 Thread Uwe Stöhr

Tao Cumplido schrieb:


But how am I supposed to know that the directory has to be written like this?
There's no mention about this in the Hyperlink-chapter of the manual.


As said this is a bug in LyX I will fix soon. The LyX will automatically translate \ to / etc. 
Have you reported it at bugzilla.lyx.org?


regards Uwe


Re: STOP THIS ON PUBLIC MAILINGLISTS [WAS: nocomment bush]

2009-01-12 Thread Dotan Cohen
2009/1/12 Michelle Konzack linux4miche...@tamay-dogan.net:
 This has nothing to do here on the lists so please stop.


 There is absolutely no need to post it here!


Thanks, Michelle, but you are only feeding the trolls. Just as one
facet of their little world sees it fit to rain missiles on their
neighbors who do not recognize Muhamed as the final prophet of Allah,
so does this facet see it fit to rain spam on those who are happily
far enough away from them not to be caught in the crossfire. Have pity
on them, and pray for those citizens (Muslims, Jews, and Christians)
who either live under their influence or near enough to be affected by
more than spam.

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü


how to change output font

2009-01-12 Thread nur kholis majid
hi, i want to change typewriter output font to luximono font. but its state
as not installed in document  settings  font.
how to install luximono font in lyx?

thanks.

-- 
nur kholis majid
http://kholis.web.id


Hi, some doubt

2009-01-12 Thread Adrian Diaz
Sr. Lyx
I have been using Lyx to write my thesis. I have set up the format of the
page with a class document: book and a style of page fancy. It is
interesting to me to know how i can manage the properties of the size and
type of font of the headers. I mean to set up
some properties of book class, especially headers an numbers.

How can i know if in my computer has installed the fancyhdr  package?
How can i install the fancyhdr  package ?
How can i manage the fancyhdr  package ?

   Best Adrián


Re: Hi, some doubt

2009-01-12 Thread Bob Lounsbury
On Mon, Jan 12, 2009 at 8:48 AM, Adrian Diaz aedmci...@gmail.com wrote:
 Sr. Lyx
 I have been using Lyx to write my thesis. I have set up the format of the
 page with a class document: book and a style of page fancy. It is
 interesting to me to know how i can manage the properties of the size and
 type of font of the headers. I mean to set up
 some properties of book class, especially headers an numbers.

 How can i know if in my computer has installed the fancyhdr  package?
 How can i install the fancyhdr  package ?
 How can i manage the fancyhdr  package ?

   Best Adrián


The fancyhdr package is a default on most TeX distributions. If you
selected a page style of fancy and didn't receive any error messages
when viewing the pdf or dvi, you have the the fancyhdr package
installed. You can learn about the package and how to use it from its
documentation:

http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=fancyhdr

Cheers,
/Bob


Hi

2009-01-12 Thread Adrian Diaz
Sr Lix

How can i see the number of the equations when i am writting on text editos
fo Lyx?

 Grettings Adrián


Re: Hi, some doubt

2009-01-12 Thread Bob Lounsbury
 On Mon, Jan 12, 2009 at 8:48 AM, Adrian Diaz aedmci...@gmail.com wrote:
  Sr. Lyx
  I have been using Lyx to write my thesis. I have set up the format of
  the
  page with a class document: book and a style of page fancy. It is
  interesting to me to know how i can manage the properties of the size
  and
  type of font of the headers. I mean to set up
  some properties of book class, especially headers an numbers.
 
  How can i know if in my computer has installed the fancyhdr  package?
  How can i install the fancyhdr  package ?
  How can i manage the fancyhdr  package ?
 
Best Adrián
 
 
 2009/1/12 Bob Lounsbury boblounsb...@gmail.com

 The fancyhdr package is a default on most TeX distributions. If you
 selected a page style of fancy and didn't receive any error messages
 when viewing the pdf or dvi, you have the the fancyhdr package
 installed. You can learn about the package and how to use it from its
 documentation:

 http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=fancyhdr

 Cheers,
 /Bob

On Mon, Jan 12, 2009 at 11:46 AM, Adrian Diaz aedmci...@gmail.com wrote:

 Bob

 Thanks for your advice, but i do not understand how i can change the type
 and size of font.
 Cos, when i have changed the size in documents-parameters this change the
 size fonts of body and the size of the headers.
 I would like to change only the fonts and size of headers and footers

Saludos adrián


Changes are put into Document-Settings-LaTeX Preamble:

\cfoot{}\lhead{}\rhead{\thepage}
\renewcommand\headrulewidth{0pt}

Page 14 talks about it a little bit from the fancyhdr package docs.
So, if you wanted to change the right header font and size to \Huge
you would put:

\newcommand{\helv}{\fontfamily{phv}\fontseries{b}\selectfont}
\rhead{\Huge\helv \thepage}

Or you could change it to your own font name, it's just a name and arbitrary.

\newcommand{\myfont}{\fontfamily{phv}\fontseries{b}\selectfont}
\rhead{\Huge\myfont \thepage}

A little googling to find what options are available for \fontfamily
yielded the fonts in the attached fonts.txt. I'm sure there are others
if you wanted to search. From my testing the fourth letter doesn't
work. So, the options would just be 'pag, pbk, pcr, phv, pnc, ppl,
ptm'.

Obviously, if you don't want it to be bold then remove \fontseries{b},
and you can set what size you want the text to be by following (at the
bottom of the page):

http://texnik.dante.de/cgi-bin/mainFAQ.cgi?file=fonts/fonts#table

based on your default font size.

Hope that helps get you started.

Cheers,
/Bob
‘pagk’ ‘AvantGarde-Book’
‘pagko’ ‘AvantGarde-BookOblique’
‘pagd’ ‘AvantGarde-Demi’
‘pagdo’ ‘AvantGarde-DemiOblique’
‘pbkd’ ‘Bookman-Demi’
‘pbkdi’ ‘Bookman-DemiItalic’
‘pbkl’ ‘Bookman-Light’
‘pbkli’ ‘Bookman-LightItalic’
‘pcrb’ ‘Courier-Bold’
‘pcrbo’ ‘Courier-BoldOblique’
‘pcrr’ ‘Courier’
‘pcrro’ ‘Courier-Oblique’
‘phvb’ ‘Helvetica-Bold’
‘phvbo’ ‘Helvetica-BoldOblique’
‘phvbrn’ ‘Helvetica-NarrowBold’
‘phvbon’ ‘Helvetica-NarrowBoldOblique’
‘phvr’ ‘Helvetica’
‘phvro’ ‘Helvetica-Oblique’
‘phvrrn’ ‘Helvetica-Narrow’
‘phvron’ ‘Helvetica-NarrowOblique’
‘pncb’ ‘NewCenturySchlbk-Bold’
‘pncbi’ ‘NewCenturySchlbk-BoldItalic’
‘pncri’ ‘NewCenturySchlbk-Italic’
‘pncr’ ‘NewCenturySchlbk-Roman’
‘pplb’ ‘Palatino-Bold’
‘pplbi’ ‘Palatino-BoldItalic’
Appendix A: Font name lists 28
‘pplri’ ‘Palatino-Italic’
‘pplr’ ‘Palatino-Roman’
‘psyr’ ‘Symbol’
‘ptmb’ ‘Times-Bold’
‘ptmbi’ ‘Times-BoldItalic’
‘ptmri’ ‘Times-Italic’
‘ptmr’ ‘Times-Roman’
‘pzcmi’ ‘ZapfChancery-MediumItalic’
‘pzdr’ ‘ZapfDingbats’

Fonts in fancyhdr

2009-01-12 Thread Ehud Kaplan

Adrian,
Here is how you control the font size in the header/footer using 
fancyhdr.  Note that you can do that for each portion of the header or 
footer independently.

Hope this helps--
E. Kaplan
==

\usepackage{fancyhdr}
\pagestyle{fancy}

\lhead{\scriptsize \textsf{Principal Investigator/Program Director
(Last, First, Middle)}} %left header
\chead{}%Leave the center of the header empty
\rhead{Adrian}%Display this text on the right of the header
\lfoot{\scriptsize \textsf{PHS 398 (Rev. 05/01)}} %Display this text on 
the left of the footer
\cfoot{Page \  \thepage} % Print the page number in the center 
of the footer

\rfoot{\scriptsize \textsf{Continuation Format Page}} %right footer
\renewcommand{\headrulewidth}{0.4pt} %print a rule below the header
\renewcommand{\footrulewidth}{0.4pt} %print a rule above the footer



Trouble Printing Documents

2009-01-12 Thread Raymond Scott
I installed the software but I can not print the documents.  Any thoughts on how
to get the lyx software to recognize my printer?  Raymond



Customizing the TableOfContents

2009-01-12 Thread Balaji
Hi,

I have a LaTeX class called toptesi that has a special latex command \indici
that produces the table of contents, list of figures and list of tables
etc., in a specific format. I want to use this using the Inset features of
LyX. Now I know that you can insert LaTeX commands in LyX, but this is more
for my mother than for me, and so she cannot understand this. I want to
create a layout file that will modify the CommandInset for the TOC to
generate a different code.

The present CommandInset for TOC generates the following:
\begin_inset CommandInset toc
LatexCommand tableofcontents

\end_inset

Instead of producing this, I want LyX to generate the following code:

\begin_inset CommandInset toc
LatexCommand indici

\end_inset

I have been trying to do this for a long while with LyX 1.6.1 which follows
LyX layout format version 11, but failed miserably. Here is what I tried:

InsetLayout CommandInset toc
 LatexCommand   indici
End

I have tried several combinations and none of them seem to work. I think
there should be a way to customize CommandInset layouts just as it is
possible to customize Floats. Can anyone help me with this? The document on
Customizing LyX does not mention anything about CommandInsets.

Please help if you know how to do this. I don't even find an example layout
file in the LyX package that does something similar.

Balaji


Re: LyX Reference Dialog broken

2009-01-12 Thread Guenter Milde
On 2009-01-10, Martin Görg wrote:
> Martin Görg wrote:

> I managed to get up and running with LyX 1.6.1 from the backports, but
> the references are still messed up. Interestingly, only the provided
> help documents had the problem of not showing any labels and crashing on
> update. It worked just fine with my own documents. Are the help docs
> maybe using some older commands which cause the error?

If I remember right, it has to do with read-only access of the file. What
happens, if you copy the help document to a directory with write-access?
(Or to your own documents if you change them to be read-only?)

...
>  Only the problem with LyX not accepting any keyboard input after
> some Ctrl+ actions remains (see my other post [1]).

It might be a problem with X-Windows or your Desktop (KDE/Gnome/XFCE...)
or the QT library. Do you mix distributions or have more "external"
packages installed?

Günter




Re: Hyperlink question

2009-01-12 Thread Tao Cumplido
>Uwe Stöhr wrote:
>> Tao Cumplido schrieb:
>> 
>>> I tried to call a simple text file from C:\file.txt but got the
>>> following error:
>>>
>>>  Text\href{file:C:\file.txt}
 {file-link}
>>> The control sequence at the end of the top line
>>> of your error message was never \def'ed.
>> 
>> You found a bug. Can you please report it at bugzilla.lyx.org. I'll try
>> to fix this as soon as possible.
>
>Is that a bug? "file:C:\file.txt" is not a valid URL. It should be
>"file:///c:/file.txt". (Actually, even that isn't strictly valid; the
>"c:" ought to be "c|". But everyone uses and supports "c:".)

Ok that kind of works.
But how am I supposed to know that the directory has to be written like this?
There's no mention about this in the Hyperlink-chapter of the manual.

Well, the PDF is processed and it works except in Acrobat where Firefox opens 
with an empty tab, but I guess that's an Acrobat problem?!

Thanks!

Tao
-- 
Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: 
http://www.gmx.net/de/go/multimessenger


Re: Hyperlink question: URL syntax

2009-01-12 Thread Hubert Christiaen
On maandag 12 januari 2009, Tao Cumplido wrote:
> "file:///c:/file.txt". (Actually, even that isn't strictly valid; the
>
> >"c:" ought to be "c|". But everyone uses and supports "c:".)
>
> Ok that kind of works.
> But how am I supposed to know that the directory has to be written like
> this? There's no mention about this in the Hyperlink-chapter of the manual.
An URL is composed of
- a protocol part ended with ':' ftp:' 'http:' or 'file:'
- an address of the server starting with '//' and ending in '/'
  if the server is the localmachine, one can put 'localhost' or sometimes also 
just nothing. In this case you have for a file on your machine 
already 'file:///' !
- then follows the location on the server, which is a bit OS dependent ...

Hope this helps!

Sincerely,
Hubert



-- 
Hubert Christiaen
Bloesemlaan 17
3360 Korbeek-Lo
Belgium   


Re: Hyperlink question

2009-01-12 Thread Uwe Stöhr

Tao Cumplido schrieb:


But how am I supposed to know that the directory has to be written like this?
There's no mention about this in the Hyperlink-chapter of the manual.


As said this is a bug in LyX I will fix soon. The LyX will automatically translate "\" to "/" etc. 
Have you reported it at bugzilla.lyx.org?


regards Uwe


Re: STOP THIS ON PUBLIC MAILINGLISTS [WAS: nocomment bush]

2009-01-12 Thread Dotan Cohen
2009/1/12 Michelle Konzack :
> This has nothing to do here on the lists so please stop.
>
>
> There is absolutely no need to post it here!
>

Thanks, Michelle, but you are only feeding the trolls. Just as one
facet of their little world sees it fit to rain missiles on their
neighbors who do not recognize Muhamed as the final prophet of Allah,
so does this facet see it fit to rain spam on those who are happily
far enough away from them not to be caught in the crossfire. Have pity
on them, and pray for those citizens (Muslims, Jews, and Christians)
who either live under their influence or near enough to be affected by
more than spam.

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü


how to change output font

2009-01-12 Thread nur kholis majid
hi, i want to change typewriter output font to luximono font. but its state
as not installed in document > settings > font.
how to install luximono font in lyx?

thanks.

-- 
nur kholis majid
http://kholis.web.id


Hi, some doubt

2009-01-12 Thread Adrian Diaz
Sr. Lyx
I have been using Lyx to write my thesis. I have set up the format of the
page with a class document: "book" and a style of page "fancy". It is
interesting to me to know how i can manage the properties of the size and
type of font of the headers. I mean to set up
some properties of book class, especially headers an numbers.

How can i know if in my computer has installed the "fancyhdr"  package?
How can i install the "fancyhdr"  package ?
How can i manage the "fancyhdr"  package ?

   Best Adrián


Re: Hi, some doubt

2009-01-12 Thread Bob Lounsbury
On Mon, Jan 12, 2009 at 8:48 AM, Adrian Diaz  wrote:
> Sr. Lyx
> I have been using Lyx to write my thesis. I have set up the format of the
> page with a class document: "book" and a style of page "fancy". It is
> interesting to me to know how i can manage the properties of the size and
> type of font of the headers. I mean to set up
> some properties of book class, especially headers an numbers.
>
> How can i know if in my computer has installed the "fancyhdr"  package?
> How can i install the "fancyhdr"  package ?
> How can i manage the "fancyhdr"  package ?
>
>   Best Adrián
>

The fancyhdr package is a default on most TeX distributions. If you
selected a page style of fancy and didn't receive any error messages
when viewing the pdf or dvi, you have the the fancyhdr package
installed. You can learn about the package and how to use it from its
documentation:

http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=fancyhdr

Cheers,
/Bob


Hi

2009-01-12 Thread Adrian Diaz
Sr Lix

How can i see the number of the equations when i am writting on text editos
fo Lyx?

 Grettings Adrián


Re: Hi, some doubt

2009-01-12 Thread Bob Lounsbury
>> On Mon, Jan 12, 2009 at 8:48 AM, Adrian Diaz  wrote:
>> > Sr. Lyx
>> > I have been using Lyx to write my thesis. I have set up the format of
>> > the
>> > page with a class document: "book" and a style of page "fancy". It is
>> > interesting to me to know how i can manage the properties of the size
>> > and
>> > type of font of the headers. I mean to set up
>> > some properties of book class, especially headers an numbers.
>> >
>> > How can i know if in my computer has installed the "fancyhdr"  package?
>> > How can i install the "fancyhdr"  package ?
>> > How can i manage the "fancyhdr"  package ?
>> >
>> >   Best Adrián
>> >
>> >
>> 2009/1/12 Bob Lounsbury 
>>
>> The fancyhdr package is a default on most TeX distributions. If you
>> selected a page style of fancy and didn't receive any error messages
>> when viewing the pdf or dvi, you have the the fancyhdr package
>> installed. You can learn about the package and how to use it from its
>> documentation:
>>
>> http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=fancyhdr
>>
>> Cheers,
>> /Bob
>
>On Mon, Jan 12, 2009 at 11:46 AM, Adrian Diaz  wrote:
>
> Bob
>
> Thanks for your advice, but i do not understand how i can change the type
> and size of font.
> Cos, when i have changed the size in documents->parameters this change the
> size fonts of body and the size of the headers.
> I would like to change only the fonts and size of headers and footers
>
>Saludos adrián
>

Changes are put into Document->Settings->LaTeX Preamble:

\cfoot{}\lhead{}\rhead{\thepage}
\renewcommand\headrulewidth{0pt}

Page 14 talks about it a little bit from the fancyhdr package docs.
So, if you wanted to change the right header font and size to \Huge
you would put:

\newcommand{\helv}{\fontfamily{phv}\fontseries{b}\selectfont}
\rhead{\Huge\helv \thepage}

Or you could change it to your own font name, it's just a name and arbitrary.

\newcommand{\myfont}{\fontfamily{phv}\fontseries{b}\selectfont}
\rhead{\Huge\myfont \thepage}

A little googling to find what options are available for \fontfamily
yielded the fonts in the attached fonts.txt. I'm sure there are others
if you wanted to search. From my testing the fourth letter doesn't
work. So, the options would just be 'pag, pbk, pcr, phv, pnc, ppl,
ptm'.

Obviously, if you don't want it to be bold then remove \fontseries{b},
and you can set what size you want the text to be by following (at the
bottom of the page):

http://texnik.dante.de/cgi-bin/mainFAQ.cgi?file=fonts/fonts#table

based on your default font size.

Hope that helps get you started.

Cheers,
/Bob
‘pagk’ ‘AvantGarde-Book’
‘pagko’ ‘AvantGarde-BookOblique’
‘pagd’ ‘AvantGarde-Demi’
‘pagdo’ ‘AvantGarde-DemiOblique’
‘pbkd’ ‘Bookman-Demi’
‘pbkdi’ ‘Bookman-DemiItalic’
‘pbkl’ ‘Bookman-Light’
‘pbkli’ ‘Bookman-LightItalic’
‘pcrb’ ‘Courier-Bold’
‘pcrbo’ ‘Courier-BoldOblique’
‘pcrr’ ‘Courier’
‘pcrro’ ‘Courier-Oblique’
‘phvb’ ‘Helvetica-Bold’
‘phvbo’ ‘Helvetica-BoldOblique’
‘phvbrn’ ‘Helvetica-NarrowBold’
‘phvbon’ ‘Helvetica-NarrowBoldOblique’
‘phvr’ ‘Helvetica’
‘phvro’ ‘Helvetica-Oblique’
‘phvrrn’ ‘Helvetica-Narrow’
‘phvron’ ‘Helvetica-NarrowOblique’
‘pncb’ ‘NewCenturySchlbk-Bold’
‘pncbi’ ‘NewCenturySchlbk-BoldItalic’
‘pncri’ ‘NewCenturySchlbk-Italic’
‘pncr’ ‘NewCenturySchlbk-Roman’
‘pplb’ ‘Palatino-Bold’
‘pplbi’ ‘Palatino-BoldItalic’
Appendix A: Font name lists 28
‘pplri’ ‘Palatino-Italic’
‘pplr’ ‘Palatino-Roman’
‘psyr’ ‘Symbol’
‘ptmb’ ‘Times-Bold’
‘ptmbi’ ‘Times-BoldItalic’
‘ptmri’ ‘Times-Italic’
‘ptmr’ ‘Times-Roman’
‘pzcmi’ ‘ZapfChancery-MediumItalic’
‘pzdr’ ‘ZapfDingbats’

Fonts in fancyhdr

2009-01-12 Thread Ehud Kaplan

Adrian,
Here is how you control the font size in the header/footer using 
fancyhdr.  Note that you can do that for each portion of the header or 
footer independently.

Hope this helps--
E. Kaplan
==

\usepackage{fancyhdr}
\pagestyle{fancy}

\lhead{\scriptsize \textsf{Principal Investigator/Program Director
(Last, First, Middle)}} %left header
\chead{}%Leave the center of the header empty
\rhead{Adrian}%Display this text on the right of the header
\lfoot{\scriptsize \textsf{PHS 398 (Rev. 05/01)}} %Display this text on 
the left of the footer
\cfoot{Page \  \thepage} % Print the page number in the center 
of the footer

\rfoot{\scriptsize \textsf{Continuation Format Page}} %right footer
\renewcommand{\headrulewidth}{0.4pt} %print a rule below the header
\renewcommand{\footrulewidth}{0.4pt} %print a rule above the footer



Trouble Printing Documents

2009-01-12 Thread Raymond Scott
I installed the software but I can not print the documents.  Any thoughts on how
to get the lyx software to recognize my printer?  Raymond



Customizing the TableOfContents

2009-01-12 Thread Balaji
Hi,

I have a LaTeX class called toptesi that has a special latex command \indici
that produces the table of contents, list of figures and list of tables
etc., in a specific format. I want to use this using the Inset features of
LyX. Now I know that you can insert LaTeX commands in LyX, but this is more
for my mother than for me, and so she cannot understand this. I want to
create a layout file that will modify the CommandInset for the TOC to
generate a different code.

The present CommandInset for TOC generates the following:
\begin_inset CommandInset toc
LatexCommand tableofcontents

\end_inset

Instead of producing this, I want LyX to generate the following code:

\begin_inset CommandInset toc
LatexCommand indici

\end_inset

I have been trying to do this for a long while with LyX 1.6.1 which follows
LyX layout format version 11, but failed miserably. Here is what I tried:

InsetLayout "CommandInset toc"
 LatexCommand   indici
End

I have tried several combinations and none of them seem to work. I think
there should be a way to customize CommandInset layouts just as it is
possible to customize Floats. Can anyone help me with this? The document on
Customizing LyX does not mention anything about CommandInsets.

Please help if you know how to do this. I don't even find an example layout
file in the LyX package that does something similar.

Balaji