Re: tensor notation : double overline and greek black-board character

2010-06-09 Thread Guenter Milde
On 2010-06-08, Julien Hillairet wrote:
 Hello,

 I want to write a tensor with either a double overline (or double
 underline), but the result is not really nice : the gap space between
 the two lines is too large to me. Is there a way to write double
 overline/underline which are brought closer ?

 An other possibility to me is to write a tensor as a black board
 letter (with mathbb). Since I use some greek letters, is there a way
 to make black-board type greek character ?

Not to my knowledge.

However, ISO 31 recommends *sans-serif bold italic* for typesetting
tensor symbols. This can be achieved by the isomath package
http://www.ctan.org/cgi-bin/ctanPackageInformation.py?id=isomath

Another possibility is to use index notation and Einstein
summation, e.g.

  D_{i}=\varepsilon_{ij}E_{j}+P_{i}^{\mathrm{rem}}

This has also the advantage that the description of the tensor operations
is more precise.

Günter



Re: keeping PDF output files

2010-06-09 Thread Guenter Milde
On 2010-06-07, Jürgen Spitzmüller wrote:
 Guenter Milde wrote:
 I suppose we can compare modification times of the corresponding *.lyx
 and *aux files and regenerate them only if there are changes.

 Yes, we can probably do that. But that means we need to re-generate the aux 
 file as soon as a LyX file is modified (IOW almost always).

...

 This is just one example. I think the only reliable way to maintain
 counter correctness is to run LaTeX on the whole document again.

I see.

So it looks like there are several ways to compile a child document:

  * compile as standalone (using its own preamble, no resolution of
references to siblings or parent),
  * compile with \includeonly using old *.aux files,
  * compile with \includeonly, updating *.aux files,
  * compile the parent.

I see use cases for all of them.

Independent of this, caching *.aux files will save some otherwise needed
(second or third) latex runs in any case and also with standalone documents.

Günter



Re: Beamer multitude problems with lyx

2010-06-09 Thread Daniel Lohmann

On 08.06.2010, at 11:00, E. Kaplan wrote:

 Thanks, Daniel, for sharing this solution.  

 Which style file are we talking about?  

The beamer theme I have developed for my department. Its a complete own theme 
that is included with \usetheme{i4} in your preamble and has to be put 
somewhere in your texmf-tree (or side by side to the presentation). I have 
zipped it together with a small example:
  http://www4.informatik.uni-erlangen.de/~lohmann/download/i4beamer.zip

As a (somewhat bigger) example I have also provided the Puma-Talk:
  http://www4.informatik.uni-erlangen.de/~lohmann/download/puma-slides.zip

Here I have put the style side by side to the presentation, as I was 
collaborating with a colleague on that.
DISCLAIMER: As most of my talks, this one went through some last-minute 
optimization that partly lead to, well, not so nice code.

 Since examples are the best teachers, could you please upload (or point to) a 
 Lyx file to produce (part of?) the very nice presentation of PUMA that was 
 showcased on your last message?

Sorry, there is no LyX file. I considered the discussion to be already at a 
point how to achieve such things with beamer at all.

I personally do not consider LyX to be the right front end for beamer. In my 
presentations, I tend to use a lot of visual effects and as little plain text 
as possible. The visual effects are mostly achieved with TikZ and some LaTeX 
(and sometimes even plain TeX) coding, which means that within LyX I would end 
up with 80% ERT, which would be a PITA. LyX is definitely not my editor of 
choice for LaTeX code.

Even though I never have tried it: the theme should be usable together with LyX 
as good (or as bad) as any Beamer theme, so feel free to experiment with it.


On 08.06.2010, at 20:29, Steve Litt wrote:

 Daniel, your solution inspired me to solve the other Beamer problem I'd been 
 having. I enjoy having text blocks in my presentations where the text block 
 is 
 maybe 60% of the width, and centered. The width of a Beamer block can be 
 altered by a \setlength{\textwidth}, but no matter what I did with \center, 
 \centering, \hskip, \leftskip, I couldn't center it.

Yeah, this LaTeX center commands are all a bit strange wrt when they work and 
when not; I have never really understood it. The one that works for me is the 
center *environment*. I usually combine it with minipages to achieve the 
desired text width:

 \begin{center}\begin{minipage}{0.8\textwidth}
   BLOCK 
\end{minipage}\end{center}


 Ehud and Daniel, what other Beamer difficulties can you think of? I'm having 
 a 
 lot of trouble getting onto the Beamer-Latex mailing list, so this is the 
 most 
 authoritative Beamer knowledge source I have.


There is probably plenty to say that (even more probably) I have forgot 
meanwhile. So, to just get this started:

** absolute positioning of elements.
IMHO an essential for presentation slides, but not natively supported by 
beamer. I ended up with using TikZ pictures with the [overlay] option and the 
(current page) node to achieve this (see the puma-slides example). In fact, 
TikZ has come to my rescue in many more cases, so I use it quite a lot in 
conjunction with beamer. A major downside of employing TikZ quite a lot, is, 
however...

** long compilation times.
I use the comment package (\begin{comment} ... \end{comment} to uncomment 
during authoring those parts of a presentation I am currently not working on.

** reusability of frames.
This is an issue I do not yet have found a good solution for. In theory, beamer 
frames should be simply reusable, that is, just copy the \begin{frame} ... 
\end{frame} block into your new presentation  -- right? 
In practice, this only works for the most trivial slides. LaTeX is all about 
easing your life with macros, packages, styles, and so on and I use all of it 
quite a lot. The downside is that after a while it is no longer obvious on 
which packages, listing-styles, tikz-styles, color definitions, custom macros, 
and so on -- all that stuff one usually puts (or has to put) in the preamble -- 
a certain frame depends. Things become even worse in a collaborative 
environment, where each of your colleagues has her own tool kit in this 
respect. An attempt to reuse just three slides from a colleague in one of my 
lectures turned out to be multi-hour project, because of such subtle 
dependencies, especially those that do not show up at compilation time, but 
just make the result looking weird, are hard to debug. 
 
Daniel

Re: keeping PDF output files

2010-06-09 Thread Jürgen Spitzmüller
2010/6/9 Guenter Milde:
 I see.

 So it looks like there are several ways to compile a child document:

  * compile as standalone (using its own preamble, no resolution of
    references to siblings or parent),
  * compile with \includeonly using old *.aux files,
  * compile with \includeonly, updating *.aux files,
  * compile the parent.

 I see use cases for all of them.

Me, too. Especially since recompiling everything is expensive, and
many people use includeonly to have faster compilation.
In trunk, I have therefore added a switch maintain counters that
basically provides option 2 or 3. The other two options are already
available with buffer-view and master-buffer-view (without
includeonly).

 Independent of this, caching *.aux files will save some otherwise needed
 (second or third) latex runs in any case and also with standalone documents.

Yes, caching still is valuable in itself. An open feature request.

Jürgen

 Günter




Re: PDF preview/export fails--filenames clipped?

2010-06-09 Thread Pavel Sanda
vp...@nyx.net wrote:
 Even stranger, it seems to be related to length of document.  I can get
 to the point where adding or subtracting a single character in a
 *different* child document causes this to fail or not.  All child
 documents render correctly in PDF.

have never seen this. if you are able to produce some example file,
file new bug in bugzilla and the attach there.

pavel


Re: Beamer multitude problems with lyx

2010-06-09 Thread E. Kaplan
All of this takes us away from Lyx and its usability as a slide 
presentations creator...


The two issues that Daniel brought up (absolute positioning ability on a 
slide and slide/package dependency) are very serious, and do not exist 
in Powerpoint-like programs.  The fact that Beamer suffers from them 
suggests that its creators have not produced enough real-life 
presentations-- otherwise they would have had to face (and fix) these 
obstacles.As for solutions:


  1. The first problem is really a Tex-Latex issue, and solving it will
 undermine the design philosophy of Tex. To me this suggests that
 using something like Scribus or Inkscape to generate a bunch of
 pdf pages as a presentation might be a better solution, although I
 find neither one particularly intuitive, and people who love
 dynamical visual effects (not me!) will need something else anyway.
  2. I can think of modifying Beamer to fix the second problem by
 somehow bundling the preamble with each slide as a (hidden) note,
 so it would travel with the slide, making each slide
 self-documenting.



Ehud Kaplan, Ph.D.
Jules and Doris Stein/Research to Prevent Blindness/  Professor
*The laboratory of Visual  Computational Neuroscience*
Depts. of Neuroscience, Ophthalmology, Chemical  Structural Biology
The Mount Sinai School of Medicine
One Gustave Levy Place
New York, NY, 10029


On 6/9/2010 5:17 AM, Daniel Lohmann wrote:

On 08.06.2010, at 11:00, E. Kaplan wrote:

   

Thanks, Daniel, for sharing this solution.
 
   

Which style file are we talking about?
 

The beamer theme I have developed for my department. Its a complete own theme 
that is included with \usetheme{i4} in your preamble and has to be put 
somewhere in your texmf-tree (or side by side to the presentation). I have 
zipped it together with a small example:
   http://www4.informatik.uni-erlangen.de/~lohmann/download/i4beamer.zip

As a (somewhat bigger) example I have also provided the Puma-Talk:
   http://www4.informatik.uni-erlangen.de/~lohmann/download/puma-slides.zip

Here I have put the style side by side to the presentation, as I was 
collaborating with a colleague on that.
DISCLAIMER: As most of my talks, this one went through some last-minute 
optimization that partly lead to, well, not so nice code.

   

Since examples are the best teachers, could you please upload (or point to) a 
Lyx file to produce (part of?) the very nice presentation of PUMA that was 
showcased on your last message?
 

Sorry, there is no LyX file. I considered the discussion to be already at a 
point how to achieve such things with beamer at all.

I personally do not consider LyX to be the right front end for beamer. In my 
presentations, I tend to use a lot of visual effects and as little plain text 
as possible. The visual effects are mostly achieved with TikZ and some LaTeX (and 
sometimes even plain TeX) coding, which means that within LyX I would end up with 80% 
ERT, which would be a PITA. LyX is definitely not my editor of choice for LaTeX code.

Even though I never have tried it: the theme should be usable together with LyX 
as good (or as bad) as any Beamer theme, so feel free to experiment with it.


On 08.06.2010, at 20:29, Steve Litt wrote:

   

Daniel, your solution inspired me to solve the other Beamer problem I'd been
having. I enjoy having text blocks in my presentations where the text block is
maybe 60% of the width, and centered. The width of a Beamer block can be
altered by a \setlength{\textwidth}, but no matter what I did with \center,
\centering, \hskip, \leftskip, I couldn't center it.
 

Yeah, this LaTeX center commands are all a bit strange wrt when they work and 
when not; I have never really understood it. The one that works for me is the 
center *environment*. I usually combine it with minipages to achieve the 
desired text width:

  \begin{center}\begin{minipage}{0.8\textwidth}
 BLOCK
\end{minipage}\end{center}


   

Ehud and Daniel, what other Beamer difficulties can you think of? I'm having a
lot of trouble getting onto the Beamer-Latex mailing list, so this is the most
authoritative Beamer knowledge source I have.
 


There is probably plenty to say that (even more probably) I have forgot 
meanwhile. So, to just get this started:

** absolute positioning of elements.
IMHO an essential for presentation slides, but not natively supported by 
beamer. I ended up with using TikZ pictures with the [overlay] option and the (current 
page) node to achieve this (see the puma-slides example). In fact, TikZ has come to my 
rescue in many more cases, so I use it quite a lot in conjunction with beamer. A major 
downside of employing TikZ quite a lot, is, however...

** long compilation times.
I use the comment package (\begin{comment} ... \end{comment} to uncomment 
during authoring those parts of a presentation I am currently not working on.

Re: Beamer multitude problems with lyx

2010-06-09 Thread Steve Litt
On Wednesday 09 June 2010 05:17:37 Daniel Lohmann wrote:
 On 08.06.2010, at 11:00, E. Kaplan wrote:

  Ehud and Daniel, what other Beamer difficulties can you think of? I'm
  having a lot of trouble getting onto the Beamer-Latex mailing list, so
  this is the most authoritative Beamer knowledge source I have.
 
 There is probably plenty to say that (even more probably) I have forgot
  meanwhile. So, to just get this started:
 
 ** absolute positioning of elements.
 IMHO an essential for presentation slides, but not natively supported by
  beamer. I ended up with using TikZ pictures with the [overlay] option and
  the (current page) node to achieve this (see the puma-slides example). In
  fact, TikZ has come to my rescue in many more cases, so I use it quite a
  lot in conjunction with beamer. A major downside of employing TikZ quite a
  lot, is, however...

I've been using \vskip, \hskip and columns to place individual graphics and 
special elements, and try to let LaTeX place my bulleted items. There's also a 
package called textpos that allow you to define the position more directly and 
with less trial and error, but being a one trick pony, I just use \vskip, 
\hskip and columns

 
 ** long compilation times.
 I use the comment package (\begin{comment} ... \end{comment} to uncomment
  during authoring those parts of a presentation I am currently not working
  on.

I do that too, or I put the currently authored frame in a little test-jig 
file. I also have a shellscript called compileBeamer.sh that compiles the 
named Beamer file and displays the resulting PDF.

 
 ** reusability of frames.
 This is an issue I do not yet have found a good solution for. In theory,
  beamer frames should be simply reusable, that is, just copy the
  \begin{frame} ... \end{frame} block into your new presentation  -- right?
  In practice, this only works for the most trivial slides. LaTeX is all
  about easing your life with macros, packages, styles, and so on and I use
  all of it quite a lot. The downside is that after a while it is no longer
  obvious on which packages, listing-styles, tikz-styles, color definitions,
  custom macros, and so on -- all that stuff one usually puts (or has to
  put) in the preamble -- a certain frame depends. Things become even worse
  in a collaborative environment, where each of your colleagues has her own
  tool kit in this respect. An attempt to reuse just three slides from a
  colleague in one of my lectures turned out to be multi-hour project,
  because of such subtle dependencies, especially those that do not show up
  at compilation time, but just make the result looking weird, are hard to
  debug.

This is a problem all through LaTeXdom and LyXdom. I think it's probably a 
problem in all styles-based content.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



how to insert latex code

2010-06-09 Thread hugo barona
I'm working with LyX version 1.6.4 in ubuntuc karmic koala. My book is
in spanish and I need to change CAPÍTULO for APÉNDICE. When I go to
VIEW-view source, I can not change or edit the latex source code to
adapt to the new enviroment. Can you say how to do that into LyX? Why
there isn't an edition panel for latex code into LyX?

with regards

hugo


Re: how to insert latex code

2010-06-09 Thread Richard Heck

On 06/09/2010 10:53 AM, hugo barona wrote:
I'm working with LyX version 1.6.4 in ubuntuc karmic koala. My book is 
in spanish and I need to change CAPÍTULO for APÉNDICE. When I go to 
VIEW-view source, I can not change or edit the latex source code to 
adapt to the new enviroment. Can you say how to do that into LyX? Why 
there isn't an edition panel for latex code into LyX?


If you want just to insert raw LaTeX into the document, use InsertTeX 
Code, and type away. The kind of change you want to make may, however, 
be better made in the preamble, for which look at 
DocumentSettingsPreamble.


It is NOT possible to edit the LaTeX code directly. That is because LyX 
is not a LaTeX editor but uses an output-neutral file format from which 
it generates LaTeX.


Richard



Re: how to insert latex code

2010-06-09 Thread Liviu Andronic
On Wed, Jun 9, 2010 at 3:53 PM, hugo barona baronahug...@gmail.com wrote:
 I'm working with LyX version 1.6.4 in ubuntuc karmic koala. My book is in
 spanish and I need to change CAPÍTULO for APÉNDICE. When I go to VIEW-view

http://wiki.lyx.org/FAQ/Unsorted#toc16

Liviu


Translating theorem-like statements: 75% solved

2010-06-09 Thread Daniel CLEMENT
Hello,

Here is just a little summary of what works and the (very) little that
doesn't work.

PDF with Beamer is fully translated in preview as well as in the LyX
window. (I don't know which setting in my ~/.lyx folder interfered...)

For printouts, I was able to get Ignacio Garcia's solution working
(thanks!) -- for reference:

http://www.mail-archive.com/lyx-users@lists.lyx.org/msg73409.html

What was wrong here in my case was a mismatch between modules and
document class (I tried an AMS module with a non-AMS article). With the
simple theorems module, it's OK.

However, I can't get independent numbering with this module. I can do
without it... But if I switch my document to an AMS-article, and load
AMS theorems modules, I don't get anything translated in preview (but
the LyX window does show the French names).

So it's practically solved for me, but there remains some things I don't
quite understand.

Thanks again to those who helped me,
-- 
Daniel CLEMENT




Re: how to insert latex code

2010-06-09 Thread Julien Rioux

On 09/06/2010 10:53 AM, hugo barona wrote:

I'm working with LyX version 1.6.4 in ubuntuc karmic koala. My book is
in spanish and I need to change CAPÍTULO for APÉNDICE. When I go to
VIEW-view source, I can not change or edit the latex source code to
adapt to the new enviroment. Can you say how to do that into LyX? Why
there isn't an edition panel for latex code into LyX?

with regards

hugo



Hi,
You have your answer regarding TeX code already, but I just want to 
point out: If what you want is an appendix, use the menu

Document  Start appendix here

--
Julien



is there any way to convert from lyx 2.0 format to 1.6?

2010-06-09 Thread Jose Quesada
Hi,

Is there any way to convert from lyx 2.0 format to 1.6?
Thanks!

Best,
-Jose

Jose Quesada, PhD.
Max Planck Institute,
Center for Adaptive Behavior and Cognition,
Berlin
http://www.josequesada.name/
http://twitter.com/Quesada


Re: is there any way to convert from lyx 2.0 format to 1.6?

2010-06-09 Thread Julien Rioux

On 09/06/2010 3:40 PM, Jose Quesada wrote:

Hi,

Is there any way to convert from lyx 2.0 format to 1.6?
Thanks!

Best,
-Jose

Jose Quesada, PhD.
Max Planck Institute,
Center for Adaptive Behavior and Cognition,
Berlin
http://www.josequesada.name/
http://twitter.com/Quesada



File  Export  LyX 1.6.x

--
Julien



Contents ... header appearing over first chapter

2010-06-09 Thread Frederick Noronha

Dear all:

I'm using Lyx with GNU/Linux.

The structure of my book (Memoire class) is that one-chapter comes 
before the \mainmatter.


Question: how do I avoid getting 'Contents' appearing on the top of 
every page of this chapter? Many thanks! FN



--
-
 June 2010|  Frederick Noronha +91-9822122436
Su Mo Tu We Th Fr Sa  |  +91-832-2409490
   1  2  3  4  5  |
 6  7  8  9 10 11 12  |  My latest photos from South India
13 14 15 16 17 18 19  |  http://photosfromgoa.notlong.com
20 21 22 23 24 25 26  |
27 28 29 30   |
-


All document classes unavailable

2010-06-09 Thread Kortink, Mark A
Hi

I am a reasonably experienced LyX user. I have installed MiKTex 2.4 and LyX 1.6 
on a new laptop running Windows XP with SP3. LyX works perfectly on my old 
laptop which is identical. When I install LyX it installs smoothly except it 
cannot find the aspell6-en dictionary so I have to skip that step. When I start 
LyX all document classes are marked as unavailable, but if I select one I get 
the message that it is not usable and a class or style file may not be 
available. I have tried the obvious and not so obvious stuff like:-
- Tools Reconfigure.
- Run configure.py, LaTeX found.
- Run kpsewhich, finds article.cls.
- Check textclass.lst, all false.

I have uninstalled and reinstalled both MikTex and Lyx several times, even 
tried several different versions of each.

How do I get LyX to see all the standard document classes, and as an aside, the 
spell checker to install without error?

Thanks
Mark





Re: tensor notation : double overline and greek black-board character

2010-06-09 Thread Guenter Milde
On 2010-06-08, Julien Hillairet wrote:
 Hello,

 I want to write a tensor with either a double overline (or double
 underline), but the result is not really nice : the gap space between
 the two lines is too large to me. Is there a way to write double
 overline/underline which are brought closer ?

 An other possibility to me is to write a tensor as a black board
 letter (with mathbb). Since I use some greek letters, is there a way
 to make black-board type greek character ?

Not to my knowledge.

However, ISO 31 recommends *sans-serif bold italic* for typesetting
tensor symbols. This can be achieved by the isomath package
http://www.ctan.org/cgi-bin/ctanPackageInformation.py?id=isomath

Another possibility is to use index notation and Einstein
summation, e.g.

  D_{i}=\varepsilon_{ij}E_{j}+P_{i}^{\mathrm{rem}}

This has also the advantage that the description of the tensor operations
is more precise.

Günter



Re: keeping PDF output files

2010-06-09 Thread Guenter Milde
On 2010-06-07, Jürgen Spitzmüller wrote:
 Guenter Milde wrote:
 I suppose we can compare modification times of the corresponding *.lyx
 and *aux files and regenerate them only if there are changes.

 Yes, we can probably do that. But that means we need to re-generate the aux 
 file as soon as a LyX file is modified (IOW almost always).

...

 This is just one example. I think the only reliable way to maintain
 counter correctness is to run LaTeX on the whole document again.

I see.

So it looks like there are several ways to compile a child document:

  * compile as standalone (using its own preamble, no resolution of
references to siblings or parent),
  * compile with \includeonly using old *.aux files,
  * compile with \includeonly, updating *.aux files,
  * compile the parent.

I see use cases for all of them.

Independent of this, caching *.aux files will save some otherwise needed
(second or third) latex runs in any case and also with standalone documents.

Günter



Re: Beamer multitude problems with lyx

2010-06-09 Thread Daniel Lohmann

On 08.06.2010, at 11:00, E. Kaplan wrote:

 Thanks, Daniel, for sharing this solution.  

 Which style file are we talking about?  

The beamer theme I have developed for my department. Its a complete own theme 
that is included with \usetheme{i4} in your preamble and has to be put 
somewhere in your texmf-tree (or side by side to the presentation). I have 
zipped it together with a small example:
  http://www4.informatik.uni-erlangen.de/~lohmann/download/i4beamer.zip

As a (somewhat bigger) example I have also provided the Puma-Talk:
  http://www4.informatik.uni-erlangen.de/~lohmann/download/puma-slides.zip

Here I have put the style side by side to the presentation, as I was 
collaborating with a colleague on that.
DISCLAIMER: As most of my talks, this one went through some last-minute 
optimization that partly lead to, well, not so nice code.

 Since examples are the best teachers, could you please upload (or point to) a 
 Lyx file to produce (part of?) the very nice presentation of PUMA that was 
 showcased on your last message?

Sorry, there is no LyX file. I considered the discussion to be already at a 
point how to achieve such things with beamer at all.

I personally do not consider LyX to be the right front end for beamer. In my 
presentations, I tend to use a lot of visual effects and as little plain text 
as possible. The visual effects are mostly achieved with TikZ and some LaTeX 
(and sometimes even plain TeX) coding, which means that within LyX I would end 
up with 80% ERT, which would be a PITA. LyX is definitely not my editor of 
choice for LaTeX code.

Even though I never have tried it: the theme should be usable together with LyX 
as good (or as bad) as any Beamer theme, so feel free to experiment with it.


On 08.06.2010, at 20:29, Steve Litt wrote:

 Daniel, your solution inspired me to solve the other Beamer problem I'd been 
 having. I enjoy having text blocks in my presentations where the text block 
 is 
 maybe 60% of the width, and centered. The width of a Beamer block can be 
 altered by a \setlength{\textwidth}, but no matter what I did with \center, 
 \centering, \hskip, \leftskip, I couldn't center it.

Yeah, this LaTeX center commands are all a bit strange wrt when they work and 
when not; I have never really understood it. The one that works for me is the 
center *environment*. I usually combine it with minipages to achieve the 
desired text width:

 \begin{center}\begin{minipage}{0.8\textwidth}
   BLOCK 
\end{minipage}\end{center}


 Ehud and Daniel, what other Beamer difficulties can you think of? I'm having 
 a 
 lot of trouble getting onto the Beamer-Latex mailing list, so this is the 
 most 
 authoritative Beamer knowledge source I have.


There is probably plenty to say that (even more probably) I have forgot 
meanwhile. So, to just get this started:

** absolute positioning of elements.
IMHO an essential for presentation slides, but not natively supported by 
beamer. I ended up with using TikZ pictures with the [overlay] option and the 
(current page) node to achieve this (see the puma-slides example). In fact, 
TikZ has come to my rescue in many more cases, so I use it quite a lot in 
conjunction with beamer. A major downside of employing TikZ quite a lot, is, 
however...

** long compilation times.
I use the comment package (\begin{comment} ... \end{comment} to uncomment 
during authoring those parts of a presentation I am currently not working on.

** reusability of frames.
This is an issue I do not yet have found a good solution for. In theory, beamer 
frames should be simply reusable, that is, just copy the \begin{frame} ... 
\end{frame} block into your new presentation  -- right? 
In practice, this only works for the most trivial slides. LaTeX is all about 
easing your life with macros, packages, styles, and so on and I use all of it 
quite a lot. The downside is that after a while it is no longer obvious on 
which packages, listing-styles, tikz-styles, color definitions, custom macros, 
and so on -- all that stuff one usually puts (or has to put) in the preamble -- 
a certain frame depends. Things become even worse in a collaborative 
environment, where each of your colleagues has her own tool kit in this 
respect. An attempt to reuse just three slides from a colleague in one of my 
lectures turned out to be multi-hour project, because of such subtle 
dependencies, especially those that do not show up at compilation time, but 
just make the result looking weird, are hard to debug. 
 
Daniel

Re: keeping PDF output files

2010-06-09 Thread Jürgen Spitzmüller
2010/6/9 Guenter Milde:
 I see.

 So it looks like there are several ways to compile a child document:

  * compile as standalone (using its own preamble, no resolution of
    references to siblings or parent),
  * compile with \includeonly using old *.aux files,
  * compile with \includeonly, updating *.aux files,
  * compile the parent.

 I see use cases for all of them.

Me, too. Especially since recompiling everything is expensive, and
many people use includeonly to have faster compilation.
In trunk, I have therefore added a switch maintain counters that
basically provides option 2 or 3. The other two options are already
available with buffer-view and master-buffer-view (without
includeonly).

 Independent of this, caching *.aux files will save some otherwise needed
 (second or third) latex runs in any case and also with standalone documents.

Yes, caching still is valuable in itself. An open feature request.

Jürgen

 Günter




Re: PDF preview/export fails--filenames clipped?

2010-06-09 Thread Pavel Sanda
vp...@nyx.net wrote:
 Even stranger, it seems to be related to length of document.  I can get
 to the point where adding or subtracting a single character in a
 *different* child document causes this to fail or not.  All child
 documents render correctly in PDF.

have never seen this. if you are able to produce some example file,
file new bug in bugzilla and the attach there.

pavel


Re: Beamer multitude problems with lyx

2010-06-09 Thread E. Kaplan
All of this takes us away from Lyx and its usability as a slide 
presentations creator...


The two issues that Daniel brought up (absolute positioning ability on a 
slide and slide/package dependency) are very serious, and do not exist 
in Powerpoint-like programs.  The fact that Beamer suffers from them 
suggests that its creators have not produced enough real-life 
presentations-- otherwise they would have had to face (and fix) these 
obstacles.As for solutions:


  1. The first problem is really a Tex-Latex issue, and solving it will
 undermine the design philosophy of Tex. To me this suggests that
 using something like Scribus or Inkscape to generate a bunch of
 pdf pages as a presentation might be a better solution, although I
 find neither one particularly intuitive, and people who love
 dynamical visual effects (not me!) will need something else anyway.
  2. I can think of modifying Beamer to fix the second problem by
 somehow bundling the preamble with each slide as a (hidden) note,
 so it would travel with the slide, making each slide
 self-documenting.



Ehud Kaplan, Ph.D.
Jules and Doris Stein/Research to Prevent Blindness/  Professor
*The laboratory of Visual  Computational Neuroscience*
Depts. of Neuroscience, Ophthalmology, Chemical  Structural Biology
The Mount Sinai School of Medicine
One Gustave Levy Place
New York, NY, 10029


On 6/9/2010 5:17 AM, Daniel Lohmann wrote:

On 08.06.2010, at 11:00, E. Kaplan wrote:

   

Thanks, Daniel, for sharing this solution.
 
   

Which style file are we talking about?
 

The beamer theme I have developed for my department. Its a complete own theme 
that is included with \usetheme{i4} in your preamble and has to be put 
somewhere in your texmf-tree (or side by side to the presentation). I have 
zipped it together with a small example:
   http://www4.informatik.uni-erlangen.de/~lohmann/download/i4beamer.zip

As a (somewhat bigger) example I have also provided the Puma-Talk:
   http://www4.informatik.uni-erlangen.de/~lohmann/download/puma-slides.zip

Here I have put the style side by side to the presentation, as I was 
collaborating with a colleague on that.
DISCLAIMER: As most of my talks, this one went through some last-minute 
optimization that partly lead to, well, not so nice code.

   

Since examples are the best teachers, could you please upload (or point to) a 
Lyx file to produce (part of?) the very nice presentation of PUMA that was 
showcased on your last message?
 

Sorry, there is no LyX file. I considered the discussion to be already at a 
point how to achieve such things with beamer at all.

I personally do not consider LyX to be the right front end for beamer. In my 
presentations, I tend to use a lot of visual effects and as little plain text 
as possible. The visual effects are mostly achieved with TikZ and some LaTeX (and 
sometimes even plain TeX) coding, which means that within LyX I would end up with 80% 
ERT, which would be a PITA. LyX is definitely not my editor of choice for LaTeX code.

Even though I never have tried it: the theme should be usable together with LyX 
as good (or as bad) as any Beamer theme, so feel free to experiment with it.


On 08.06.2010, at 20:29, Steve Litt wrote:

   

Daniel, your solution inspired me to solve the other Beamer problem I'd been
having. I enjoy having text blocks in my presentations where the text block is
maybe 60% of the width, and centered. The width of a Beamer block can be
altered by a \setlength{\textwidth}, but no matter what I did with \center,
\centering, \hskip, \leftskip, I couldn't center it.
 

Yeah, this LaTeX center commands are all a bit strange wrt when they work and 
when not; I have never really understood it. The one that works for me is the 
center *environment*. I usually combine it with minipages to achieve the 
desired text width:

  \begin{center}\begin{minipage}{0.8\textwidth}
 BLOCK
\end{minipage}\end{center}


   

Ehud and Daniel, what other Beamer difficulties can you think of? I'm having a
lot of trouble getting onto the Beamer-Latex mailing list, so this is the most
authoritative Beamer knowledge source I have.
 


There is probably plenty to say that (even more probably) I have forgot 
meanwhile. So, to just get this started:

** absolute positioning of elements.
IMHO an essential for presentation slides, but not natively supported by 
beamer. I ended up with using TikZ pictures with the [overlay] option and the (current 
page) node to achieve this (see the puma-slides example). In fact, TikZ has come to my 
rescue in many more cases, so I use it quite a lot in conjunction with beamer. A major 
downside of employing TikZ quite a lot, is, however...

** long compilation times.
I use the comment package (\begin{comment} ... \end{comment} to uncomment 
during authoring those parts of a presentation I am currently not working on.

Re: Beamer multitude problems with lyx

2010-06-09 Thread Steve Litt
On Wednesday 09 June 2010 05:17:37 Daniel Lohmann wrote:
 On 08.06.2010, at 11:00, E. Kaplan wrote:

  Ehud and Daniel, what other Beamer difficulties can you think of? I'm
  having a lot of trouble getting onto the Beamer-Latex mailing list, so
  this is the most authoritative Beamer knowledge source I have.
 
 There is probably plenty to say that (even more probably) I have forgot
  meanwhile. So, to just get this started:
 
 ** absolute positioning of elements.
 IMHO an essential for presentation slides, but not natively supported by
  beamer. I ended up with using TikZ pictures with the [overlay] option and
  the (current page) node to achieve this (see the puma-slides example). In
  fact, TikZ has come to my rescue in many more cases, so I use it quite a
  lot in conjunction with beamer. A major downside of employing TikZ quite a
  lot, is, however...

I've been using \vskip, \hskip and columns to place individual graphics and 
special elements, and try to let LaTeX place my bulleted items. There's also a 
package called textpos that allow you to define the position more directly and 
with less trial and error, but being a one trick pony, I just use \vskip, 
\hskip and columns

 
 ** long compilation times.
 I use the comment package (\begin{comment} ... \end{comment} to uncomment
  during authoring those parts of a presentation I am currently not working
  on.

I do that too, or I put the currently authored frame in a little test-jig 
file. I also have a shellscript called compileBeamer.sh that compiles the 
named Beamer file and displays the resulting PDF.

 
 ** reusability of frames.
 This is an issue I do not yet have found a good solution for. In theory,
  beamer frames should be simply reusable, that is, just copy the
  \begin{frame} ... \end{frame} block into your new presentation  -- right?
  In practice, this only works for the most trivial slides. LaTeX is all
  about easing your life with macros, packages, styles, and so on and I use
  all of it quite a lot. The downside is that after a while it is no longer
  obvious on which packages, listing-styles, tikz-styles, color definitions,
  custom macros, and so on -- all that stuff one usually puts (or has to
  put) in the preamble -- a certain frame depends. Things become even worse
  in a collaborative environment, where each of your colleagues has her own
  tool kit in this respect. An attempt to reuse just three slides from a
  colleague in one of my lectures turned out to be multi-hour project,
  because of such subtle dependencies, especially those that do not show up
  at compilation time, but just make the result looking weird, are hard to
  debug.

This is a problem all through LaTeXdom and LyXdom. I think it's probably a 
problem in all styles-based content.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



how to insert latex code

2010-06-09 Thread hugo barona
I'm working with LyX version 1.6.4 in ubuntuc karmic koala. My book is
in spanish and I need to change CAPÍTULO for APÉNDICE. When I go to
VIEW-view source, I can not change or edit the latex source code to
adapt to the new enviroment. Can you say how to do that into LyX? Why
there isn't an edition panel for latex code into LyX?

with regards

hugo


Re: how to insert latex code

2010-06-09 Thread Richard Heck

On 06/09/2010 10:53 AM, hugo barona wrote:
I'm working with LyX version 1.6.4 in ubuntuc karmic koala. My book is 
in spanish and I need to change CAPÍTULO for APÉNDICE. When I go to 
VIEW-view source, I can not change or edit the latex source code to 
adapt to the new enviroment. Can you say how to do that into LyX? Why 
there isn't an edition panel for latex code into LyX?


If you want just to insert raw LaTeX into the document, use InsertTeX 
Code, and type away. The kind of change you want to make may, however, 
be better made in the preamble, for which look at 
DocumentSettingsPreamble.


It is NOT possible to edit the LaTeX code directly. That is because LyX 
is not a LaTeX editor but uses an output-neutral file format from which 
it generates LaTeX.


Richard



Re: how to insert latex code

2010-06-09 Thread Liviu Andronic
On Wed, Jun 9, 2010 at 3:53 PM, hugo barona baronahug...@gmail.com wrote:
 I'm working with LyX version 1.6.4 in ubuntuc karmic koala. My book is in
 spanish and I need to change CAPÍTULO for APÉNDICE. When I go to VIEW-view

http://wiki.lyx.org/FAQ/Unsorted#toc16

Liviu


Translating theorem-like statements: 75% solved

2010-06-09 Thread Daniel CLEMENT
Hello,

Here is just a little summary of what works and the (very) little that
doesn't work.

PDF with Beamer is fully translated in preview as well as in the LyX
window. (I don't know which setting in my ~/.lyx folder interfered...)

For printouts, I was able to get Ignacio Garcia's solution working
(thanks!) -- for reference:

http://www.mail-archive.com/lyx-users@lists.lyx.org/msg73409.html

What was wrong here in my case was a mismatch between modules and
document class (I tried an AMS module with a non-AMS article). With the
simple theorems module, it's OK.

However, I can't get independent numbering with this module. I can do
without it... But if I switch my document to an AMS-article, and load
AMS theorems modules, I don't get anything translated in preview (but
the LyX window does show the French names).

So it's practically solved for me, but there remains some things I don't
quite understand.

Thanks again to those who helped me,
-- 
Daniel CLEMENT




Re: how to insert latex code

2010-06-09 Thread Julien Rioux

On 09/06/2010 10:53 AM, hugo barona wrote:

I'm working with LyX version 1.6.4 in ubuntuc karmic koala. My book is
in spanish and I need to change CAPÍTULO for APÉNDICE. When I go to
VIEW-view source, I can not change or edit the latex source code to
adapt to the new enviroment. Can you say how to do that into LyX? Why
there isn't an edition panel for latex code into LyX?

with regards

hugo



Hi,
You have your answer regarding TeX code already, but I just want to 
point out: If what you want is an appendix, use the menu

Document  Start appendix here

--
Julien



is there any way to convert from lyx 2.0 format to 1.6?

2010-06-09 Thread Jose Quesada
Hi,

Is there any way to convert from lyx 2.0 format to 1.6?
Thanks!

Best,
-Jose

Jose Quesada, PhD.
Max Planck Institute,
Center for Adaptive Behavior and Cognition,
Berlin
http://www.josequesada.name/
http://twitter.com/Quesada


Re: is there any way to convert from lyx 2.0 format to 1.6?

2010-06-09 Thread Julien Rioux

On 09/06/2010 3:40 PM, Jose Quesada wrote:

Hi,

Is there any way to convert from lyx 2.0 format to 1.6?
Thanks!

Best,
-Jose

Jose Quesada, PhD.
Max Planck Institute,
Center for Adaptive Behavior and Cognition,
Berlin
http://www.josequesada.name/
http://twitter.com/Quesada



File  Export  LyX 1.6.x

--
Julien



Contents ... header appearing over first chapter

2010-06-09 Thread Frederick Noronha

Dear all:

I'm using Lyx with GNU/Linux.

The structure of my book (Memoire class) is that one-chapter comes 
before the \mainmatter.


Question: how do I avoid getting 'Contents' appearing on the top of 
every page of this chapter? Many thanks! FN



--
-
 June 2010|  Frederick Noronha +91-9822122436
Su Mo Tu We Th Fr Sa  |  +91-832-2409490
   1  2  3  4  5  |
 6  7  8  9 10 11 12  |  My latest photos from South India
13 14 15 16 17 18 19  |  http://photosfromgoa.notlong.com
20 21 22 23 24 25 26  |
27 28 29 30   |
-


All document classes unavailable

2010-06-09 Thread Kortink, Mark A
Hi

I am a reasonably experienced LyX user. I have installed MiKTex 2.4 and LyX 1.6 
on a new laptop running Windows XP with SP3. LyX works perfectly on my old 
laptop which is identical. When I install LyX it installs smoothly except it 
cannot find the aspell6-en dictionary so I have to skip that step. When I start 
LyX all document classes are marked as unavailable, but if I select one I get 
the message that it is not usable and a class or style file may not be 
available. I have tried the obvious and not so obvious stuff like:-
- Tools Reconfigure.
- Run configure.py, LaTeX found.
- Run kpsewhich, finds article.cls.
- Check textclass.lst, all false.

I have uninstalled and reinstalled both MikTex and Lyx several times, even 
tried several different versions of each.

How do I get LyX to see all the standard document classes, and as an aside, the 
spell checker to install without error?

Thanks
Mark





Re: tensor notation : double overline and greek black-board character

2010-06-09 Thread Guenter Milde
On 2010-06-08, Julien Hillairet wrote:
> Hello,

> I want to write a tensor with either a double overline (or double
> underline), but the result is not really nice : the gap space between
> the two lines is too large to me. Is there a way to write double
> overline/underline which are brought closer ?

> An other possibility to me is to write a tensor as a black board
> letter (with mathbb). Since I use some greek letters, is there a way
> to make black-board type greek character ?

Not to my knowledge.

However, ISO 31 recommends *sans-serif bold italic* for typesetting
tensor symbols. This can be achieved by the isomath package
http://www.ctan.org/cgi-bin/ctanPackageInformation.py?id=isomath

Another possibility is to use index notation and Einstein
summation, e.g.

  D_{i}=\varepsilon_{ij}E_{j}+P_{i}^{\mathrm{rem}}

This has also the advantage that the description of the tensor operations
is more precise.

Günter



Re: keeping PDF output files

2010-06-09 Thread Guenter Milde
On 2010-06-07, Jürgen Spitzmüller wrote:
> Guenter Milde wrote:
>> I suppose we can compare modification times of the corresponding *.lyx
>> and *aux files and regenerate them only if there are changes.

> Yes, we can probably do that. But that means we need to re-generate the aux 
> file as soon as a LyX file is modified (IOW almost always).

...

> This is just one example. I think the only reliable way to maintain
> counter correctness is to run LaTeX on the whole document again.

I see.

So it looks like there are several ways to compile a child document:

  * compile as standalone (using its own preamble, no resolution of
references to siblings or parent),
  * compile with \includeonly using "old" *.aux files,
  * compile with \includeonly, updating *.aux files,
  * compile the parent.

I see use cases for all of them.

Independent of this, caching *.aux files will save some otherwise needed
(second or third) latex runs in any case and also with standalone documents.

Günter



Re: Beamer multitude problems with lyx

2010-06-09 Thread Daniel Lohmann

On 08.06.2010, at 11:00, E. Kaplan wrote:

> Thanks, Daniel, for sharing this solution.  

> Which style file are we talking about?  

The beamer theme I have developed for my department. Its a complete own theme 
that is included with \usetheme{i4} in your preamble and has to be put 
somewhere in your texmf-tree (or side by side to the presentation). I have 
zipped it together with a small example:
  http://www4.informatik.uni-erlangen.de/~lohmann/download/i4beamer.zip

As a (somewhat bigger) example I have also provided the Puma-Talk:
  http://www4.informatik.uni-erlangen.de/~lohmann/download/puma-slides.zip

Here I have put the style side by side to the presentation, as I was 
collaborating with a colleague on that.
DISCLAIMER: As most of my talks, this one went through some "last-minute 
optimization" that partly lead to, well, not so nice code.

> Since examples are the best teachers, could you please upload (or point to) a 
> Lyx file to produce (part of?) the very nice presentation of PUMA that was 
> showcased on your last message?

Sorry, there is no LyX file. I considered the discussion to be already at a 
point how to achieve such things with beamer at all.

I personally do not consider LyX to be the right front end for beamer. In my 
presentations, I tend to use a lot of visual effects and as little "plain text" 
as possible. The visual effects are mostly achieved with TikZ and some LaTeX 
(and sometimes even plain TeX) coding, which means that within LyX I would end 
up with 80% ERT, which would be a PITA. LyX is definitely not my editor of 
choice for LaTeX code.

Even though I never have tried it: the theme should be usable together with LyX 
as good (or as bad) as any Beamer theme, so feel free to experiment with it.


On 08.06.2010, at 20:29, Steve Litt wrote:

> Daniel, your solution inspired me to solve the other Beamer problem I'd been 
> having. I enjoy having text blocks in my presentations where the text block 
> is 
> maybe 60% of the width, and centered. The width of a Beamer block can be 
> altered by a \setlength{\textwidth}, but no matter what I did with \center, 
> \centering, \hskip, \leftskip, I couldn't center it.

Yeah, this LaTeX center commands are all a bit strange wrt when they work and 
when not; I have never really understood it. The one that works for me is the 
center *environment*. I usually combine it with minipages to achieve the 
desired text width:

 \begin{center}\begin{minipage}{0.8\textwidth}
  < BLOCK >
\end{minipage}\end{center}


> Ehud and Daniel, what other Beamer difficulties can you think of? I'm having 
> a 
> lot of trouble getting onto the Beamer-Latex mailing list, so this is the 
> most 
> authoritative Beamer knowledge source I have.


There is probably plenty to say that (even more probably) I have forgot 
meanwhile. So, to just get this started:

** absolute positioning of elements.
IMHO an essential for presentation slides, but not "natively" supported by 
beamer. I ended up with using TikZ pictures with the [overlay] option and the 
(current page) node to achieve this (see the puma-slides example). In fact, 
TikZ has come to my rescue in many more cases, so I use it quite a lot in 
conjunction with beamer. A major downside of employing TikZ quite a lot, is, 
however...

** long compilation times.
I use the comment package (\begin{comment} ... \end{comment} to uncomment 
during authoring those parts of a presentation I am currently not working on.

** reusability of frames.
This is an issue I do not yet have found a good solution for. In theory, beamer 
frames should be simply reusable, that is, just copy the \begin{frame} ... 
\end{frame} block into your new presentation  -- right? 
In practice, this only works for the most trivial slides. LaTeX is all about 
easing your life with macros, packages, styles, and so on and I use all of it 
quite a lot. The downside is that after a while it is no longer obvious on 
which packages, listing-styles, tikz-styles, color definitions, custom macros, 
and so on -- all that stuff one usually puts (or has to put) in the preamble -- 
a certain frame depends. Things become even worse in a collaborative 
environment, where each of your colleagues has her own tool kit in this 
respect. An attempt to reuse just three slides from a colleague in one of my 
lectures turned out to be multi-hour project, because of such subtle 
dependencies, especially those that do not show up at compilation time, but 
just make the result looking weird, are hard to debug. 
 
Daniel

Re: keeping PDF output files

2010-06-09 Thread Jürgen Spitzmüller
2010/6/9 Guenter Milde:
> I see.
>
> So it looks like there are several ways to compile a child document:
>
>  * compile as standalone (using its own preamble, no resolution of
>    references to siblings or parent),
>  * compile with \includeonly using "old" *.aux files,
>  * compile with \includeonly, updating *.aux files,
>  * compile the parent.
>
> I see use cases for all of them.

Me, too. Especially since recompiling everything is expensive, and
many people use includeonly to have faster compilation.
In trunk, I have therefore added a switch "maintain counters" that
basically provides option 2 or 3. The other two options are already
available with buffer-view and master-buffer-view (without
includeonly).

> Independent of this, caching *.aux files will save some otherwise needed
> (second or third) latex runs in any case and also with standalone documents.

Yes, caching still is valuable in itself. An open feature request.

Jürgen

> Günter
>
>


Re: PDF preview/export fails--filenames clipped?

2010-06-09 Thread Pavel Sanda
vp...@nyx.net wrote:
> Even stranger, it seems to be related to length of document.  I can get
> to the point where adding or subtracting a single character in a
> *different* child document causes this to fail or not.  All child
> documents render correctly in PDF.

have never seen this. if you are able to produce some example file,
file new bug in bugzilla and the attach there.

pavel


Re: Beamer multitude problems with lyx

2010-06-09 Thread E. Kaplan
All of this takes us away from Lyx and its usability as a slide 
presentations creator...


The two issues that Daniel brought up (absolute positioning ability on a 
slide and slide/package dependency) are very serious, and do not exist 
in Powerpoint-like programs.  The fact that Beamer suffers from them 
suggests that its creators have not produced enough real-life 
presentations-- otherwise they would have had to face (and fix) these 
obstacles.As for solutions:


  1. The first problem is really a Tex-Latex issue, and solving it will
 undermine the design philosophy of Tex. To me this suggests that
 using something like Scribus or Inkscape to generate a bunch of
 pdf pages as a presentation might be a better solution, although I
 find neither one particularly intuitive, and people who love
 dynamical visual effects (not me!) will need something else anyway.
  2. I can think of modifying Beamer to fix the second problem by
 somehow bundling the preamble with each slide as a (hidden) note,
 so it would travel with the slide, making each slide
 self-documenting.



Ehud Kaplan, Ph.D.
Jules and Doris Stein/Research to Prevent Blindness/  Professor
*The laboratory of Visual&  Computational Neuroscience*
Depts. of Neuroscience, Ophthalmology, Chemical&  Structural Biology
The Mount Sinai School of Medicine
One Gustave Levy Place
New York, NY, 10029


On 6/9/2010 5:17 AM, Daniel Lohmann wrote:

On 08.06.2010, at 11:00, E. Kaplan wrote:

   

Thanks, Daniel, for sharing this solution.
 
   

Which style file are we talking about?
 

The beamer theme I have developed for my department. Its a complete own theme 
that is included with \usetheme{i4} in your preamble and has to be put 
somewhere in your texmf-tree (or side by side to the presentation). I have 
zipped it together with a small example:
   http://www4.informatik.uni-erlangen.de/~lohmann/download/i4beamer.zip

As a (somewhat bigger) example I have also provided the Puma-Talk:
   http://www4.informatik.uni-erlangen.de/~lohmann/download/puma-slides.zip

Here I have put the style side by side to the presentation, as I was 
collaborating with a colleague on that.
DISCLAIMER: As most of my talks, this one went through some "last-minute 
optimization" that partly lead to, well, not so nice code.

   

Since examples are the best teachers, could you please upload (or point to) a 
Lyx file to produce (part of?) the very nice presentation of PUMA that was 
showcased on your last message?
 

Sorry, there is no LyX file. I considered the discussion to be already at a 
point how to achieve such things with beamer at all.

I personally do not consider LyX to be the right front end for beamer. In my 
presentations, I tend to use a lot of visual effects and as little "plain text" 
as possible. The visual effects are mostly achieved with TikZ and some LaTeX (and 
sometimes even plain TeX) coding, which means that within LyX I would end up with 80% 
ERT, which would be a PITA. LyX is definitely not my editor of choice for LaTeX code.

Even though I never have tried it: the theme should be usable together with LyX 
as good (or as bad) as any Beamer theme, so feel free to experiment with it.


On 08.06.2010, at 20:29, Steve Litt wrote:

   

Daniel, your solution inspired me to solve the other Beamer problem I'd been
having. I enjoy having text blocks in my presentations where the text block is
maybe 60% of the width, and centered. The width of a Beamer block can be
altered by a \setlength{\textwidth}, but no matter what I did with \center,
\centering, \hskip, \leftskip, I couldn't center it.
 

Yeah, this LaTeX center commands are all a bit strange wrt when they work and 
when not; I have never really understood it. The one that works for me is the 
center *environment*. I usually combine it with minipages to achieve the 
desired text width:

  \begin{center}\begin{minipage}{0.8\textwidth}
   <  BLOCK>
\end{minipage}\end{center}


   

Ehud and Daniel, what other Beamer difficulties can you think of? I'm having a
lot of trouble getting onto the Beamer-Latex mailing list, so this is the most
authoritative Beamer knowledge source I have.
 


There is probably plenty to say that (even more probably) I have forgot 
meanwhile. So, to just get this started:

** absolute positioning of elements.
IMHO an essential for presentation slides, but not "natively" supported by 
beamer. I ended up with using TikZ pictures with the [overlay] option and the (current 
page) node to achieve this (see the puma-slides example). In fact, TikZ has come to my 
rescue in many more cases, so I use it quite a lot in conjunction with beamer. A major 
downside of employing TikZ quite a lot, is, however...

** long compilation times.
I use the comment package (\begin{comment} ... \end{comment} to uncomment 
during authoring those parts of a presentation I am currently not 

Re: Beamer multitude problems with lyx

2010-06-09 Thread Steve Litt
On Wednesday 09 June 2010 05:17:37 Daniel Lohmann wrote:
> On 08.06.2010, at 11:00, E. Kaplan wrote:

> > Ehud and Daniel, what other Beamer difficulties can you think of? I'm
> > having a lot of trouble getting onto the Beamer-Latex mailing list, so
> > this is the most authoritative Beamer knowledge source I have.
> 
> There is probably plenty to say that (even more probably) I have forgot
>  meanwhile. So, to just get this started:
> 
> ** absolute positioning of elements.
> IMHO an essential for presentation slides, but not "natively" supported by
>  beamer. I ended up with using TikZ pictures with the [overlay] option and
>  the (current page) node to achieve this (see the puma-slides example). In
>  fact, TikZ has come to my rescue in many more cases, so I use it quite a
>  lot in conjunction with beamer. A major downside of employing TikZ quite a
>  lot, is, however...

I've been using \vskip, \hskip and columns to place individual graphics and 
special elements, and try to let LaTeX place my bulleted items. There's also a 
package called textpos that allow you to define the position more directly and 
with less trial and error, but being a one trick pony, I just use \vskip, 
\hskip and columns

> 
> ** long compilation times.
> I use the comment package (\begin{comment} ... \end{comment} to uncomment
>  during authoring those parts of a presentation I am currently not working
>  on.

I do that too, or I put the currently authored frame in a little test-jig 
file. I also have a shellscript called compileBeamer.sh that compiles the 
named Beamer file and displays the resulting PDF.

> 
> ** reusability of frames.
> This is an issue I do not yet have found a good solution for. In theory,
>  beamer frames should be simply reusable, that is, just copy the
>  \begin{frame} ... \end{frame} block into your new presentation  -- right?
>  In practice, this only works for the most trivial slides. LaTeX is all
>  about easing your life with macros, packages, styles, and so on and I use
>  all of it quite a lot. The downside is that after a while it is no longer
>  obvious on which packages, listing-styles, tikz-styles, color definitions,
>  custom macros, and so on -- all that stuff one usually puts (or has to
>  put) in the preamble -- a certain frame depends. Things become even worse
>  in a collaborative environment, where each of your colleagues has her own
>  tool kit in this respect. An attempt to reuse just three slides from a
>  colleague in one of my lectures turned out to be multi-hour project,
>  because of such subtle dependencies, especially those that do not show up
>  at compilation time, but just make the result looking weird, are hard to
>  debug.

This is a problem all through LaTeXdom and LyXdom. I think it's probably a 
problem in all styles-based content.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



how to insert latex code

2010-06-09 Thread hugo barona
I'm working with LyX version 1.6.4 in ubuntuc karmic koala. My book is
in spanish and I need to change CAPÍTULO for APÉNDICE. When I go to
VIEW->view source, I can not change or edit the latex source code to
adapt to the new enviroment. Can you say how to do that into LyX? Why
there isn't an edition panel for latex code into LyX?

with regards

hugo


Re: how to insert latex code

2010-06-09 Thread Richard Heck

On 06/09/2010 10:53 AM, hugo barona wrote:
I'm working with LyX version 1.6.4 in ubuntuc karmic koala. My book is 
in spanish and I need to change CAPÍTULO for APÉNDICE. When I go to 
VIEW->view source, I can not change or edit the latex source code to 
adapt to the new enviroment. Can you say how to do that into LyX? Why 
there isn't an edition panel for latex code into LyX?


If you want just to insert raw LaTeX into the document, use Insert>TeX 
Code, and type away. The kind of change you want to make may, however, 
be better made in the preamble, for which look at 
Document>Settings>Preamble.


It is NOT possible to edit the LaTeX code directly. That is because LyX 
is not a LaTeX editor but uses an output-neutral file format from which 
it generates LaTeX.


Richard



Re: how to insert latex code

2010-06-09 Thread Liviu Andronic
On Wed, Jun 9, 2010 at 3:53 PM, hugo barona  wrote:
> I'm working with LyX version 1.6.4 in ubuntuc karmic koala. My book is in
> spanish and I need to change CAPÍTULO for APÉNDICE. When I go to VIEW->view
>
http://wiki.lyx.org/FAQ/Unsorted#toc16

Liviu


Translating theorem-like statements: 75% solved

2010-06-09 Thread Daniel CLEMENT
Hello,

Here is just a little summary of what works and the (very) little that
doesn't work.

PDF with Beamer is fully translated in preview as well as in the LyX
window. (I don't know which setting in my ~/.lyx folder interfered...)

For printouts, I was able to get Ignacio Garcia's solution working
(thanks!) -- for reference:

http://www.mail-archive.com/lyx-users@lists.lyx.org/msg73409.html

What was wrong here in my case was a mismatch between modules and
document class (I tried an AMS module with a non-AMS article). With the
simple "theorems" module, it's OK.

However, I can't get independent numbering with this module. I can do
without it... But if I switch my document to an AMS-article, and load
AMS theorems modules, I don't get anything translated in preview (but
the LyX window does show the French names).

So it's practically solved for me, but there remains some things I don't
quite understand.

Thanks again to those who helped me,
-- 
Daniel CLEMENT




Re: how to insert latex code

2010-06-09 Thread Julien Rioux

On 09/06/2010 10:53 AM, hugo barona wrote:

I'm working with LyX version 1.6.4 in ubuntuc karmic koala. My book is
in spanish and I need to change CAPÍTULO for APÉNDICE. When I go to
VIEW->view source, I can not change or edit the latex source code to
adapt to the new enviroment. Can you say how to do that into LyX? Why
there isn't an edition panel for latex code into LyX?

with regards

hugo



Hi,
You have your answer regarding TeX code already, but I just want to 
point out: If what you want is an appendix, use the menu

Document > Start appendix here

--
Julien



is there any way to convert from lyx 2.0 format to 1.6?

2010-06-09 Thread Jose Quesada
Hi,

Is there any way to convert from lyx 2.0 format to 1.6?
Thanks!

Best,
-Jose

Jose Quesada, PhD.
Max Planck Institute,
Center for Adaptive Behavior and Cognition,
Berlin
http://www.josequesada.name/
http://twitter.com/Quesada


Re: is there any way to convert from lyx 2.0 format to 1.6?

2010-06-09 Thread Julien Rioux

On 09/06/2010 3:40 PM, Jose Quesada wrote:

Hi,

Is there any way to convert from lyx 2.0 format to 1.6?
Thanks!

Best,
-Jose

Jose Quesada, PhD.
Max Planck Institute,
Center for Adaptive Behavior and Cognition,
Berlin
http://www.josequesada.name/
http://twitter.com/Quesada



File > Export > LyX 1.6.x

--
Julien



"Contents" ... header appearing over first chapter

2010-06-09 Thread Frederick Noronha

Dear all:

I'm using Lyx with GNU/Linux.

The structure of my book (Memoire class) is that one-chapter comes 
before the \mainmatter.


Question: how do I avoid getting 'Contents' appearing on the top of 
every page of this chapter? Many thanks! FN



--
-
 June 2010|  Frederick Noronha +91-9822122436
Su Mo Tu We Th Fr Sa  |  +91-832-2409490
   1  2  3  4  5  |
 6  7  8  9 10 11 12  |  My latest photos from South India
13 14 15 16 17 18 19  |  http://photosfromgoa.notlong.com
20 21 22 23 24 25 26  |
27 28 29 30   |
-


All document classes unavailable

2010-06-09 Thread Kortink, Mark A
Hi

I am a reasonably experienced LyX user. I have installed MiKTex 2.4 and LyX 1.6 
on a new laptop running Windows XP with SP3. LyX works perfectly on my old 
laptop which is identical. When I install LyX it installs smoothly except it 
cannot find the aspell6-en dictionary so I have to skip that step. When I start 
LyX all document classes are marked as unavailable, but if I select one I get 
the message that it is not usable and a class or style file may not be 
available. I have tried the obvious and not so obvious stuff like:-
- Tools Reconfigure.
- Run configure.py, LaTeX found.
- Run kpsewhich, finds article.cls.
- Check textclass.lst, all false.

I have uninstalled and reinstalled both MikTex and Lyx several times, even 
tried several different versions of each.

How do I get LyX to see all the standard document classes, and as an aside, the 
spell checker to install without error?

Thanks
Mark