Re: Multiple Choice Tests

2006-10-08 Thread Christian von Lani-Fischer

Hi there,
thanks for your quick answers. I'll take Uwe's Kreuzeltest-Solution  
and use the frameboxes. Should be enough for me, since i only have to  
do a short test with 15 questions for my class.

If you're interested, I found this on ctan :

http://www.ctan.org/tex-archive/help/Catalogue/entries/examdesign.html

But this seems to be quite old and i didn't get LyX to notice the  
document class.


Regards
Christian


Re: pdf metadata

2006-10-08 Thread Pavel Sanda
 Yes ther is. Here is an example preamble sequence to get this:
 
  % link all cross references and URLs in pdf output
  \usepackage[colorlinks=true, bookmarks, bookmarksnumbered,
   bookmarksopen,
   linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,
   pdfpagelayout=OneColumn, pdfnewwindow=true,
   pdfstartview=XYZ, plainpages=false, pdfpagelabels,
   pdfauthor={LyX Team}, pdftex,
   pdftitle={LyX's Table Manual},
   pdfsubject={LyX-documentation about tables},
   pdfkeywords={LyX}]{hyperref}

thanks for help. however hyperref causes that number of
tex errors pop up during latex compilation.

finally i made script using pdftk, which adds metadata
to completed pdf.

pavel


Re: pdf metadata

2006-10-08 Thread Uwe Stöhr

Pavel Sanda schrieb:


thanks for help. however hyperref causes that number of
tex errors pop up during latex compilation.


It shouldn't. Assure that hyperref is loaded in your preamble as the 
first package if possible.


regagards Uwe


Re: Hawaiian in LyX

2006-10-08 Thread Juergen Spitzmueller
Maria Gouskova wrote:
 The accent you are looking for is called a macron.

 A macron a is \={a}. The macron is on p. 50 of the TIPA manual. It's
 also in the Comprehensive LaTeX Symbol List (link on the wiki you
 mentioned).

And in LyX, you can enter it directly with, for instance
Alt-x accent-macron a
(where Alt-x opens the mini-buffer).

Jürgen


Re: pdf metadata

2006-10-08 Thread Daniel Lohmann

2006/10/8, Uwe Stöhr [EMAIL PROTECTED]:


It shouldn't. Assure that hyperref is loaded in your preamble as the
first package if possible.


Some classes (I know this from the Springer LNCS article class) don't
like the hyperref redefinitions for implicit hyperlinks. However, in
such cases hyperref can still be used to tag the PDF metadata, just
pass it an implicit = false as option.

The following is an example snipped from my preamble in such cases (it
wraps the usepackage into an \ifpdf, as hyperref caused problems here
if one does not use pdflatex)

Daniel

%
% PDF related
%
\newif\ifpdf
\ifx\pdfoutput\undefined
 \pdffalse % we are not running PDFLaTeX
\else
 \pdfoutput=1% we are running PDFLaTeX
 \pdftrue
\fi



\ifpdf
\usepackage[pdftex, implicit = false ]{hyperref}
\hypersetup
{
pdftitle = {Lean and Efficient System Software Product Lines: Where
Aspects Beat Objects},
pdfsubject = {to appear in Transactions on Aspect-Oriented Software
Development},
pdfauthor = {Daniel Lohmann, Olaf Spinczyk, Wolfgang Schröder-Preikschat},
pdfkeywords = {AOP, OOP, AspectC++, Embedded Systems, Footprint, Methodology},
pdfcreator = LyX 1.3.3-Win32 :-)
}
\fi


Re: Multiple Choice Tests

2006-10-08 Thread Paul A. Rubin

Christian von Lani-Fischer wrote:

Hi there,
thanks for your quick answers. I'll take Uwe's Kreuzeltest-Solution and 
use the frameboxes. Should be enough for me, since i only have to do a 
short test with 15 questions for my class.

If you're interested, I found this on ctan :

http://www.ctan.org/tex-archive/help/Catalogue/entries/examdesign.html

But this seems to be quite old and i didn't get LyX to notice the 
document class.




You probably do not have a LyX layout file for it.  LyX only recognizes 
classes for which it has a layout installed.  (The layout file is 
essentially the map from the LaTeX class to the GUI display of it.)  You 
might be able to modify an existing layout; there is a modicum of help 
for doing so in the LyX documentation.  You need to put the modified 
layout file where LyX will see it (there is a layout directory in the 
LyX tree under your home directory for such things), make sure LaTeX can 
see the class file (texhash or whatever your distribution calls for), 
then Tools-Reconfigure in LyX and restart LyX.


/Paul



Re: Multi-paragraph description

2006-10-08 Thread Paul A. Rubin

Laurent Duperval wrote:

Hello,

Is it possible to create a multi-paragraph description in LyX, the same
way you can do so in LaTex? Something like this:

\begin{description}
\item[Para] This is a shorter item label, and some text that talks about it.
   The text is wrapped into a paragraph, with successive lines indented.

   This is another paragraph under the Para item.

   \begin{description}
   \item[Sub-Item] This is a description of an item which is within the
  Para item.

   \item[Sub-Item] Another sub-item.
   \end{description}
\item[Short] A short item that's not part of that really long Para item.
\end{description}



Yes.  Enter the description, start a new paragraph, set the environment 
to either Standard (for a paragraph) or Itemize (for a bullet list), 
type madly, then increase the depth of the paragraph (Edit-Increase 
List Depth, M-S-right or the appropriate tool bar button, which has a 
right-pointing arrow).


/Paul



Installing new doc types?

2006-10-08 Thread Timothy Reaves
	I'd like to use the DocBook Book document class, but it is listed as 
unavailable.  I have all the DocBook tools installed (as that's what 
I've used the last several years).  What do I need to do to make the 
classes available to LyX?


Thanks.



Re: Multiple Choice Tests

2006-10-08 Thread Christian von Lani-Fischer

Hi there,
thanks for your quick answers. I'll take Uwe's Kreuzeltest-Solution  
and use the frameboxes. Should be enough for me, since i only have to  
do a short test with 15 questions for my class.

If you're interested, I found this on ctan :

http://www.ctan.org/tex-archive/help/Catalogue/entries/examdesign.html

But this seems to be quite old and i didn't get LyX to notice the  
document class.


Regards
Christian


Re: pdf metadata

2006-10-08 Thread Pavel Sanda
 Yes ther is. Here is an example preamble sequence to get this:
 
  % link all cross references and URLs in pdf output
  \usepackage[colorlinks=true, bookmarks, bookmarksnumbered,
   bookmarksopen,
   linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,
   pdfpagelayout=OneColumn, pdfnewwindow=true,
   pdfstartview=XYZ, plainpages=false, pdfpagelabels,
   pdfauthor={LyX Team}, pdftex,
   pdftitle={LyX's Table Manual},
   pdfsubject={LyX-documentation about tables},
   pdfkeywords={LyX}]{hyperref}

thanks for help. however hyperref causes that number of
tex errors pop up during latex compilation.

finally i made script using pdftk, which adds metadata
to completed pdf.

pavel


Re: pdf metadata

2006-10-08 Thread Uwe Stöhr

Pavel Sanda schrieb:


thanks for help. however hyperref causes that number of
tex errors pop up during latex compilation.


It shouldn't. Assure that hyperref is loaded in your preamble as the 
first package if possible.


regagards Uwe


Re: Hawaiian in LyX

2006-10-08 Thread Juergen Spitzmueller
Maria Gouskova wrote:
 The accent you are looking for is called a macron.

 A macron a is \={a}. The macron is on p. 50 of the TIPA manual. It's
 also in the Comprehensive LaTeX Symbol List (link on the wiki you
 mentioned).

And in LyX, you can enter it directly with, for instance
Alt-x accent-macron a
(where Alt-x opens the mini-buffer).

Jürgen


Re: pdf metadata

2006-10-08 Thread Daniel Lohmann

2006/10/8, Uwe Stöhr [EMAIL PROTECTED]:


It shouldn't. Assure that hyperref is loaded in your preamble as the
first package if possible.


Some classes (I know this from the Springer LNCS article class) don't
like the hyperref redefinitions for implicit hyperlinks. However, in
such cases hyperref can still be used to tag the PDF metadata, just
pass it an implicit = false as option.

The following is an example snipped from my preamble in such cases (it
wraps the usepackage into an \ifpdf, as hyperref caused problems here
if one does not use pdflatex)

Daniel

%
% PDF related
%
\newif\ifpdf
\ifx\pdfoutput\undefined
 \pdffalse % we are not running PDFLaTeX
\else
 \pdfoutput=1% we are running PDFLaTeX
 \pdftrue
\fi



\ifpdf
\usepackage[pdftex, implicit = false ]{hyperref}
\hypersetup
{
pdftitle = {Lean and Efficient System Software Product Lines: Where
Aspects Beat Objects},
pdfsubject = {to appear in Transactions on Aspect-Oriented Software
Development},
pdfauthor = {Daniel Lohmann, Olaf Spinczyk, Wolfgang Schröder-Preikschat},
pdfkeywords = {AOP, OOP, AspectC++, Embedded Systems, Footprint, Methodology},
pdfcreator = LyX 1.3.3-Win32 :-)
}
\fi


Re: Multiple Choice Tests

2006-10-08 Thread Paul A. Rubin

Christian von Lani-Fischer wrote:

Hi there,
thanks for your quick answers. I'll take Uwe's Kreuzeltest-Solution and 
use the frameboxes. Should be enough for me, since i only have to do a 
short test with 15 questions for my class.

If you're interested, I found this on ctan :

http://www.ctan.org/tex-archive/help/Catalogue/entries/examdesign.html

But this seems to be quite old and i didn't get LyX to notice the 
document class.




You probably do not have a LyX layout file for it.  LyX only recognizes 
classes for which it has a layout installed.  (The layout file is 
essentially the map from the LaTeX class to the GUI display of it.)  You 
might be able to modify an existing layout; there is a modicum of help 
for doing so in the LyX documentation.  You need to put the modified 
layout file where LyX will see it (there is a layout directory in the 
LyX tree under your home directory for such things), make sure LaTeX can 
see the class file (texhash or whatever your distribution calls for), 
then Tools-Reconfigure in LyX and restart LyX.


/Paul



Re: Multi-paragraph description

2006-10-08 Thread Paul A. Rubin

Laurent Duperval wrote:

Hello,

Is it possible to create a multi-paragraph description in LyX, the same
way you can do so in LaTex? Something like this:

\begin{description}
\item[Para] This is a shorter item label, and some text that talks about it.
   The text is wrapped into a paragraph, with successive lines indented.

   This is another paragraph under the Para item.

   \begin{description}
   \item[Sub-Item] This is a description of an item which is within the
  Para item.

   \item[Sub-Item] Another sub-item.
   \end{description}
\item[Short] A short item that's not part of that really long Para item.
\end{description}



Yes.  Enter the description, start a new paragraph, set the environment 
to either Standard (for a paragraph) or Itemize (for a bullet list), 
type madly, then increase the depth of the paragraph (Edit-Increase 
List Depth, M-S-right or the appropriate tool bar button, which has a 
right-pointing arrow).


/Paul



Installing new doc types?

2006-10-08 Thread Timothy Reaves
	I'd like to use the DocBook Book document class, but it is listed as 
unavailable.  I have all the DocBook tools installed (as that's what 
I've used the last several years).  What do I need to do to make the 
classes available to LyX?


Thanks.



Re: Multiple Choice Tests

2006-10-08 Thread Christian von Lani-Fischer

Hi there,
thanks for your quick answers. I'll take Uwe's Kreuzeltest-Solution  
and use the frameboxes. Should be enough for me, since i only have to  
do a short test with 15 questions for my class.

If you're interested, I found this on ctan :

http://www.ctan.org/tex-archive/help/Catalogue/entries/examdesign.html

But this seems to be quite old and i didn't get LyX to notice the  
document class.


Regards
Christian


Re: pdf metadata

2006-10-08 Thread Pavel Sanda
> Yes ther is. Here is an example preamble sequence to get this:
> 
>  % link all cross references and URLs in pdf output
>  \usepackage[colorlinks=true, bookmarks, bookmarksnumbered,
>   bookmarksopen,
>   linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,
>   pdfpagelayout=OneColumn, pdfnewwindow=true,
>   pdfstartview=XYZ, plainpages=false, pdfpagelabels,
>   pdfauthor={LyX Team}, pdftex,
>   pdftitle={LyX's Table Manual},
>   pdfsubject={LyX-documentation about tables},
>   pdfkeywords={LyX}]{hyperref}

thanks for help. however hyperref causes that number of
tex errors pop up during latex compilation.

finally i made script using pdftk, which adds metadata
to completed pdf.

pavel


Re: pdf metadata

2006-10-08 Thread Uwe Stöhr

Pavel Sanda schrieb:


thanks for help. however hyperref causes that number of
tex errors pop up during latex compilation.


It shouldn't. Assure that hyperref is loaded in your preamble as the 
first package if possible.


regagards Uwe


Re: Hawaiian in LyX

2006-10-08 Thread Juergen Spitzmueller
Maria Gouskova wrote:
> The accent you are looking for is called a "macron."
>
> A macron "a" is \={a}. The macron is on p. 50 of the TIPA manual. It's
> also in the Comprehensive LaTeX Symbol List (link on the wiki you
> mentioned).

And in LyX, you can enter it directly with, for instance
Alt-x accent-macron a
(where Alt-x opens the "mini-buffer").

Jürgen


Re: pdf metadata

2006-10-08 Thread Daniel Lohmann

2006/10/8, Uwe Stöhr <[EMAIL PROTECTED]>:


It shouldn't. Assure that hyperref is loaded in your preamble as the
first package if possible.


Some classes (I know this from the Springer LNCS article class) don't
like the hyperref redefinitions for implicit hyperlinks. However, in
such cases hyperref can still be used to tag the PDF metadata, just
pass it an implicit = false as option.

The following is an example snipped from my preamble in such cases (it
wraps the usepackage into an \ifpdf, as hyperref caused problems here
if one does not use pdflatex)

Daniel

%
% PDF related
%
\newif\ifpdf
\ifx\pdfoutput\undefined
 \pdffalse % we are not running PDFLaTeX
\else
 \pdfoutput=1% we are running PDFLaTeX
 \pdftrue
\fi



\ifpdf
\usepackage[pdftex, implicit = false ]{hyperref}
\hypersetup
{
pdftitle = {Lean and Efficient System Software Product Lines: Where
Aspects Beat Objects},
pdfsubject = {to appear in Transactions on Aspect-Oriented Software
Development},
pdfauthor = {Daniel Lohmann, Olaf Spinczyk, Wolfgang Schröder-Preikschat},
pdfkeywords = {AOP, OOP, AspectC++, Embedded Systems, Footprint, Methodology},
pdfcreator = LyX 1.3.3-Win32 :-)
}
\fi


Re: Multiple Choice Tests

2006-10-08 Thread Paul A. Rubin

Christian von Lani-Fischer wrote:

Hi there,
thanks for your quick answers. I'll take Uwe's Kreuzeltest-Solution and 
use the frameboxes. Should be enough for me, since i only have to do a 
short test with 15 questions for my class.

If you're interested, I found this on ctan :

http://www.ctan.org/tex-archive/help/Catalogue/entries/examdesign.html

But this seems to be quite old and i didn't get LyX to notice the 
document class.




You probably do not have a LyX layout file for it.  LyX only recognizes 
classes for which it has a layout installed.  (The layout file is 
essentially the map from the LaTeX class to the GUI display of it.)  You 
might be able to modify an existing layout; there is a modicum of help 
for doing so in the LyX documentation.  You need to put the modified 
layout file where LyX will see it (there is a layout directory in the 
LyX tree under your home directory for such things), make sure LaTeX can 
see the class file (texhash or whatever your distribution calls for), 
then Tools->Reconfigure in LyX and restart LyX.


/Paul



Re: Multi-paragraph description

2006-10-08 Thread Paul A. Rubin

Laurent Duperval wrote:

Hello,

Is it possible to create a multi-paragraph description in LyX, the same
way you can do so in LaTex? Something like this:

\begin{description}
\item[Para] This is a shorter item label, and some text that talks about it.
   The text is wrapped into a paragraph, with successive lines indented.

   This is another paragraph under the "Para" item.

   \begin{description}
   \item[Sub-Item] This is a description of an item which is within the
  "Para" item.

   \item[Sub-Item] Another sub-item.
   \end{description}
\item[Short] A short item that's not part of that really long "Para" item.
\end{description}



Yes.  Enter the description, start a new paragraph, set the environment 
to either Standard (for a paragraph) or Itemize (for a bullet list), 
type madly, then increase the depth of the paragraph (Edit->Increase 
List Depth, M-S-right or the appropriate tool bar button, which has a 
right-pointing arrow).


/Paul



Installing new doc types?

2006-10-08 Thread Timothy Reaves
	I'd like to use the DocBook Book document class, but it is listed as 
unavailable.  I have all the DocBook tools installed (as that's what 
I've used the last several years).  What do I need to do to make the 
classes available to LyX?


Thanks.