beamer: xcolo r in part of equations, to \note[item]?

2009-10-20 Thread furutaka
Hi,

I am preparing a presentation with beamer on LyX 1.6.4 and have a few questions.

1. (How) is it possible to specify xcolor-defined colours for parts of 
equations?

2. (How) can I give overlay specifiers to \note[item]s (NoteItem)?

Thanks in advance,

Kazuyoshi



Re: How to embed PDF as PDF and not PNG with pdflatex in LYX

2009-10-20 Thread Michael Joyner ᏩᏯ
pdfpages ?


Jan-Hendrik Prinz wrote:
> Hello there,
>
> I am a Lyx User for quite a while now and I had recently some troubles
> with the usage of PDF Files.
> Still LyX is phantastic and keeps getting better. I was just
> wondering, if I am doing something really
> simple wrong and that for a long time.
>
> First: I use 1.6.4.1 under MacOS 10.5.7, use TexLive2008 and have
> recently updatet ghostscript to 8.70
>
>
> All the best and I appreciate all help,
>
> Jan


-- 
LyX: http://www.lyx.org/ OpenOffice: http://www.openoffice.org/
Inkscape: http://www.inkscape.org/ Scribus: http://www.scribus.net/
GIMP: http://www.gimp.org/ PDF: http://www.pdfforge.org/




signature.asc
Description: OpenPGP digital signature


Re: Page numbers in abstract, section numbering, and TOC modification

2009-10-20 Thread Pete Crite

On 20/10/2009, at 11:26 AM, rgheck wrote:


On 10/19/2009 01:10 AM, Pete Crite wrote:


1. How do I get the page numbers to continue in the abstract? The  
abstract is the third page in, and appears to reset the page count.


I don't know about this one. Presumably, your document class has  
\abstract reset the page numbers. So the solution is likely to look  
in report.cls, find the abstract command, copy it to your preamble,  
change "newcommand" to "renewcommand", and delete whichever bit  
resets the page numbers.


Absolutely brilliant! Thank you so much for your help!
I'm not very familiar with LaTeX, so I'm probably doing it all wrong,  
but just to record what I did… The following lines found in /usr/local/ 
texlive/2008/texmf-dist/tex/latex/base/report.cls


\...@titlepage
  \newenvironment{abstract}{%
  \titlepage
  \null\vfil
  \...@beginparpenalty\@lowpenalty
  \begin{center}%
\bfseries \abstractname
\...@endparpenalty\@M
  \end{center}}%
 {\par\vfil\null\endtitlepage}
\else
  \newenvironment{abstract}{%
  \...@twocolumn
\section*{\abstractname}%
  \else
\small
\begin{center}%
  {\bfseries \abstractname\vspace{-.5em}\vspace...@}}%
\end{center}%
\quotation
  \fi}
  {...@twocolumn\else\endquotation\fi}
\fi

After some trial and error, I added the first part to the preamble,  
with "\titlepage" removed and "newcommand" replaced by "renewcommand"  
as suggested. This seems to work. Hence, in the preamble:


  \renewenvironment{abstract}{%
  \null\vfil
  \...@beginparpenalty\@lowpenalty
  \begin{center}%
\bfseries \abstractname
\...@endparpenalty\@M
  \end{center}}%
 {\par\vfil\null\endtitlepage}


2. I have two major Parts in my document. The first Part consists  
of sections (no chapters), with the second Part including  
chapters. I don't want chapters in the first section, for both  
inline effect (e.g. don't want new pages), and Table of Contents  
listing (i.e. don't want bold and no dots. What I _would_ like, if  
possible, if for the sections to be numbered similarly to  
chapters. i.e. 1 instead of 0.1, with the rest of its formatting  
remaining as a section. Is it possible to change the numbering of  
the sections (in the first Part only) without changing anything  
else?



Yes:
\let\oldthesection=\thesection
\renewcommand{\thesection}{\arabic{section}}
in ERT at the beginning of Part I. Then at Part II:
\renewcommand{\thesection}{\oldthesection}
again in ERT. I think.


This works perfectly!

3. In the second Part, I'd like the chapters in the TOC to be  
listed as "Chapter 1. Foobar" rather than "1 Foobar". i.e. I'd  
like it to be consistent with the inline chapter headings.


Look into the titlesec and titletoc packages. I think one of those  
will do what you want.


Again, I've probably done this totally wrong, but this works. Again,  
for future reference…


Firstly, in the preamble:

\usepackage[compact]{titlesec}
\newenvironment{notintoc}
{\addtocontents{toc}{\protect\setcounter{tocdepth}{-1}\ignorespaces}}
{\setcounter{secnumdepth}{2}%
\addtocontents{toc}{\protect\setcounter{tocdepth}{2}\ignorespaces}}

Then, just before the chapter begins, insert "clear page", then ERT  
"\addcontentsline{toc}{chapter}{Chapter 1: Yourtitle}", which adds the  
nicely formatted title to the TOC.
Then ERT "\begin{notintoc}", and the write the chapter heading itself  
(e.g. "Yourtitle"). After the heading, ERT "\end{notintoc}". This part  
suppresses sending of the title to the TOC.


From preliminary testing, this seems to work well, with my headers,  
etc. looking as expected. I don't really know exactly what the  
preamble settings do, but they seem okay. I find the titlesec  
documentation a little opaque.



Richard


Thanks again for your help!!

Re: Missing link

2009-10-20 Thread Anders Ekberg


On 20 okt 2009, at 17.29, christer von der Burg wrote:


Hello,

...
*There is no link to any teTex. The space after *see* is empty!


MacTeX should (probably) be your choise:
http://www.tug.org/mactex/

My question: Do I need to download teTex? I wish to use Chinese  
characters

mixed with roman text. Where do I download from?
That is something I know nothing about. Hopefully others can give you  
advice.


/Anders



Missing link

2009-10-20 Thread christer von der Burg
Hello,

I have just downloaded the new Tex 2009 and Lyx 1.6.4.1 on my Mac 10.6.1
Snow Leopard

In the documentation Read Me First.pdf to Lyx it says:

*Further Help
LYX normally requires a working teTEX installation. It can be installed
without teTEX, but it cannot then produce any output. For information on
using LYX/Mac and on installing teTEX, see:
Questions or comments about LYX/Mac can be directed to the LYX Users mailing
list at
lyx-us...@lists.lyx.org. For general information about LYX, see
or
http://w w w.ly x.org/ http://wiki.ly x.org/LyX/LyXOnMac.

*There is no link to any teTex. The space after *see* is empty!

My question: Do I need to download teTex? I wish to use Chinese characters
mixed with roman text. Where do I download from?

Thanks for answers.

Christer


Re: Lyx/BibLaTeX/Memoir problems

2009-10-20 Thread Piero

> \bibliography{/Users/xxx/Desktop/THESIS/CENTRAL BIB/CENTRAL BIB}
> 
> This is an absolute path, yes?

In Windows onlu absolute path works. Can't help you




Re: Documenting python code using LyX

2009-10-20 Thread Wolfgang Keller
> Does anybody use LyX to document python code? Any hints?

PyLit already allows to round-trip between Python code with embedded ReST 
comments and ReST documents with embedded Python code blocks. From ReST, you 
can then convert to LaTeX, which should be somewhat importable to LyX.

However, I haven't found a possibility yet to export ReST with embedded Python 
code blocks from Lyx.

Full round-tripping between LyX and Python (or any other programming language) 
code with embedded ReST comments would be pretty close to "The Holy Grail Of 
Literate Programming" imho. *duck*

Sincerely,

Wolfgang


Maintaining a translation of a LyX document

2009-10-20 Thread Roland Clobus
Hello all,

I’m wondering if someone encountered this situation before:
I’ve written a LyX document in language A, and now I want to have the same 
contents/images/layout/etc. in language B.
When something changes In the master document in language A, I would like to 
have minimal work to keep the translation to language B up-to-date.

I’ve looked at po4a (it looks really promising) but it doesn’t have native LyX 
support (yet). I’m well known with working with po-files, that would be the 
method I would prefer.

I could not find this question being asked before on the mailing list, so I 
hope someone has the answer.

With kind regards,
Roland Clobus MSc.
Software Engineer
ATS Applied Tech Systems B.V.
 
Korenstraat 33
7722 RS Dalfsen, The Netherlands
Tel.: (+31)(0)529438310
Fax: (+31)(0)529438319
roland.clo...@ats-global.com  
www.ats-global.com  

Note: ATS Applied Tech Systems is now a VCA** (2008/05) certified company!

 <>  <> 
__
Disclaimer:

 “The content of this e-mail and attachments is exclusively provided to the 
addressees and is strictly private or protected by laws otherwise. Publication, 
multiplying, distribution and/or providing this information, even otherwise 
then mentioned, to third parties is not allowed. ATS Applied Tech Systems B.V. 
is not responsible for viruses within this e-mail and/or attachments. ATS 
Applied Tech Systems B.V. cannot be liable for any damage or consequences 
caused by incorrect, incomplete and/or not sending or receiving in time of the 
content of this e-mail message.”


<><>