Re: interesting narrowing feature in a text editor

2010-04-09 Thread Alan Tyree
On Fri, Apr 9, 2010 at 3:31 PM, Jose Quesada ques...@gmail.com wrote:

 Hi,

 Since many people here edit long documents, they may have faced the
 following problem.
 It's difficult to keep in your mind a large chunk of content. This is why
 we
 divide text into sections.
 In lyx/latex, you can also have a master document and insert sections as
 \input. This is very helpful because each section is then its own file.
 This
 has an immediate effect on mental workload: for me, just seen that I cannot
 scroll out of the section, and the right scrollbar has a bigger handle
 makes
 a big difference, making me more relaxed. I try to make sections that fit
 one screen; this is common advice in programming too (don't make functions
 that scroll out of sight) for the same mental workload reasons.

 The problem is that splitting a doc into files and \input them is not as
 flexible as just taking care of sections. It adds overhead. A price I've
 been willing to pay. Then I saw this:

 (scroll down to narrowing)
 http://www.emeditor.com/modules/feature1/rewrite/tc_35.html

 This is exactly what I want. The only thing I'd add would be to make the
 grayed out parts non-scrollable, ie lock the scrolling to the narrowed down
 section.

 Clicking on the outline sidebar would optionally narrow down the section.
 This way one can navigate a long doc, nave very focused editing, and not
 have to deal with a master file with \inputs.

 Change tracking would be improved as a side effect. If you remove a
 paragraph and paste it on another section (which is an independent file)
 most vcs and diff programs would have completely lost track of it: it would
 work as if you added brand new text to  the section. It's harder to undo
 too. So having one single file has advantages.

 What I would like to know is... is this narrowing feature interesting for
 people here? Or is it just me who thinks that it would improve workflow and
 reduce mental load? In case it's interesting, I'll file an enhancement
 request. Doesn't sound terribly difficult to implement, but I may be
 wrong...

 Best,
 -Jose


Hi Jose

If I understand what you are talking about, it is what the old Thinktank
program called hoisting: take one part of the outline tree and make it
appear for the time being to be the entire outline.

Hoisting is available with certain Emacs modes (including Auctex), but it
is not implemented as cleanly as in the old outliners like Thinktank,
Grandview and others.

I found it to be one of the most valuable aids to writing long works back in
those days. I would strongly support it as a feature request.

Cheers,
Alan


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




-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206


Re: interesting narrowing feature in a text editor

2010-04-09 Thread Jose Quesada
Hi Alan,

Yes, hoisting is an interesting feature. But I would consider it a different
one, as it would operate on the outline sidebar. In my use case, I would
still prefer to have the full outline (i.e., no hoisting) available, because
that is what I'd use for moving around this large hypothetical doc.

I'd support hoisting too, but maybe making it not coupled with the narrowing
feature.

Best,
-Jose

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


On Fri, Apr 9, 2010 at 8:37 AM, Alan Tyree typh...@aanet.com.au wrote:



 On Fri, Apr 9, 2010 at 3:31 PM, Jose Quesada ques...@gmail.com wrote:

 Hi,

 Since many people here edit long documents, they may have faced the
 following problem.
 It's difficult to keep in your mind a large chunk of content. This is why
 we
 divide text into sections.
 In lyx/latex, you can also have a master document and insert sections as
 \input. This is very helpful because each section is then its own file.
 This
 has an immediate effect on mental workload: for me, just seen that I
 cannot
 scroll out of the section, and the right scrollbar has a bigger handle
 makes
 a big difference, making me more relaxed. I try to make sections that fit
 one screen; this is common advice in programming too (don't make functions
 that scroll out of sight) for the same mental workload reasons.

 The problem is that splitting a doc into files and \input them is not as
 flexible as just taking care of sections. It adds overhead. A price I've
 been willing to pay. Then I saw this:

 (scroll down to narrowing)
 http://www.emeditor.com/modules/feature1/rewrite/tc_35.html

 This is exactly what I want. The only thing I'd add would be to make the
 grayed out parts non-scrollable, ie lock the scrolling to the narrowed
 down
 section.

 Clicking on the outline sidebar would optionally narrow down the section.
 This way one can navigate a long doc, nave very focused editing, and not
 have to deal with a master file with \inputs.

 Change tracking would be improved as a side effect. If you remove a
 paragraph and paste it on another section (which is an independent file)
 most vcs and diff programs would have completely lost track of it: it
 would
 work as if you added brand new text to  the section. It's harder to undo
 too. So having one single file has advantages.

 What I would like to know is... is this narrowing feature interesting for
 people here? Or is it just me who thinks that it would improve workflow
 and
 reduce mental load? In case it's interesting, I'll file an enhancement
 request. Doesn't sound terribly difficult to implement, but I may be
 wrong...

 Best,
 -Jose


 Hi Jose

 If I understand what you are talking about, it is what the old Thinktank
 program called hoisting: take one part of the outline tree and make it
 appear for the time being to be the entire outline.

 Hoisting is available with certain Emacs modes (including Auctex), but it
 is not implemented as cleanly as in the old outliners like Thinktank,
 Grandview and others.

 I found it to be one of the most valuable aids to writing long works back
 in those days. I would strongly support it as a feature request.

 Cheers,
 Alan


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




 --
 Alan L Tyreehttp://www2.austlii.edu.au/~alan
 Tel:  04 2748 6206




Re: interesting narrowing feature in a text editor

2010-04-09 Thread Abdelrazak Younes

On 04/09/2010 07:31 AM, Jose Quesada wrote:

What I would like to know is... is this narrowing feature interesting for
people here?


Yes.


Or is it just me who thinks that it would improve workflow and
reduce mental load?


Not just you. The good thing with LyX is that you can navigate easily 
from paragraph to paragraph with the keyboard. But in order to make that 
feature really useful without being forced to use the mouse, you would 
also need shortcuts for navigating between sections.



In case it's interesting, I'll file an enhancement
request. Doesn't sound terribly difficult to implement, but I may be
wrong...


Should not be terribly hard indeed. All the code for scrolling settings 
is in BufferView class if you want to experiment.


On a related note, Rob Oak is working on improving the outliner so you 
might want to joind the development list and discuss the matter there 
with Rob and us.


Cheers,
Abdel.



Re: 64bit Lyx 1.6.4 cannot view postscript

2010-04-09 Thread george legge
Progress report on Lyx with 64bit Suse 11:
There have been no further comments on this problem of not being able to
view a postscript file, because Lyx could not find header file tex.pro.
This inability to find the file is despite the file being present and able
to be read with cat.
I thought the problem might be that the file was not in a local directory;
so I copied it across, with no effect.
I applied, saved, reconfigured and texhashed to no effect.
Finally I inserted the correct paths in Path prefix and success: I can now
view in postscript as well as the previously available dvi and pdf and can
print from all.
Thank for suggestions. I shall press on with my trial of Memoir.

Cheers, GeorgeL

On Thu, Apr 1, 2010 at 8:35 AM, rgheck rgh...@bobjweil.com wrote:

 On 03/31/2010 04:18 PM, george legge wrote:

 On Thu, Apr 1, 2010 at 1:19 AM, rgheckrgh...@bobjweil.com  wrote:





 I don't know myself. Let me try to bring Uwe in here. He knows more about
 this kind of thing. Or JMarc?

 rh




Re: bibtopic usage

2010-04-09 Thread Jürgen Spitzmüller
Thibaud Hulin wrote:
 The option `dot' was not declared in package `bibtopic', perhaps you
 
 misspelled its name. Try typing return to proceed.

Could you post an example file?

Jürgen


Re: Question: making a custom Koma report with colors

2010-04-09 Thread rgheck

On 04/08/2010 05:52 PM, Néstor wrote:

Hi all,

I'm trying to make a document with some colors, and it's a report, so
I took a look at the Customization Manual of Lyx (chapter 5), and
based my new style in Koma report.

I have created a new sty file, named myreport.sty, and a new layout,
including both scrreprt (for Koma report) and my own style,
myreport.sty.

Everything loads correctly when generating a PDF, and if myreport.sty
is empty, I get no errors (and no improvements, just a normal Koma
report).

The question is: now, what do I have to write in myreport.sty to
change, for instance, the document's title's color to Blue?

   

Look at the komascript documentation, which you can find here:
http://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/
There's a lot of it, so you may have to search. But one of the nice 
things about those classes is that they provide a lot of hooks for you 
to change things, without having to get deep into the LaTeX internals. 
As for changing the color of the title, I do not know, as I have never 
had to do anything like that.


Richard



Re: interesting narrowing feature in a text editor

2010-04-09 Thread rgheck

On 04/09/2010 03:49 AM, Abdelrazak Younes wrote:

On 04/09/2010 07:31 AM, Jose Quesada wrote:
What I would like to know is... is this narrowing feature interesting 
for

people here?


Yes.


Or is it just me who thinks that it would improve workflow and
reduce mental load?


Not just you. The good thing with LyX is that you can navigate easily 
from paragraph to paragraph with the keyboard. But in order to make 
that feature really useful without being forced to use the mouse, you 
would also need shortcuts for navigating between sections.



In case it's interesting, I'll file an enhancement
request. Doesn't sound terribly difficult to implement, but I may be
wrong...


Should not be terribly hard indeed. All the code for scrolling 
settings is in BufferView class if you want to experiment.


The other thing I've considered, along these lines, is the ability to 
collapse sections, a la the ability to collapse for loops, functions, 
etc, in any decent programming editor. That would in some ways serve a 
very similar purpose, especially if you could just hit Collapse All 
and then use the outliner to uncollapse what you actually wanted to 
edit. Little triangles at the side, like in QtCreator, would work too.


rh



Re: insert custom layout

2010-04-09 Thread rgheck

On 04/08/2010 03:29 PM, Sajjad wrote:

On Thu, Apr 8, 2010 at 4:24 AM, Julien Riouxjri...@physics.utoronto.cawrote:

   


On 07/04/2010 7:08 PM, Sajjad wrote:

 

6. The liuthesis.layout file contain the following:

#% Do not delete this line below; configure depends on this
#  \DeclareLaTeXClass{liuthesis}


   

If that's all you have in there, this is not sufficient. As suggested, a
good starting point for you would be to copy the book.layout file.

 

If it not then , i did copy the contents of book.layout and put it into the
liuthesis.layout.

What should i do now? Any reference ?

   

Yes. Do this:


If that is what you did, I don't know what the matter is. If you start LyX
from a console you might get useful information for debugging.

 

You probably have an error somewhere in the layout file.

rh



Re: 64bit Lyx 1.6.4 cannot view postscript

2010-04-09 Thread Guenter Milde
On 2010-04-09, george legge wrote:

 Progress report on Lyx with 64bit Suse 11:
 There have been no further comments on this problem of not being able to
 view a postscript file, because Lyx could not find header file tex.pro.
 This inability to find the file is despite the file being present and able
 to be read with cat.

I wonder whether this is a problem with LyX on SuSe, with LaTeX on
SuSe or some local mis-configuration.

Is the problem also present when exporting to a LaTeX source file and
running latex from the command line?

What is the result of 

  # kpsewhich tex.pro

?

Günter



Re: A little help with LyX-Sweave-R

2010-04-09 Thread phgrosjean
It's a couple of months that I prepare an alternate, complete LyX/R/Sweave
solution (for SciViews). It provides more than just the possibility to
weaving/tangling LyX documents (new styles, menu entries and toolbar
buttons to easily create various R chunks, a weaving/tangling log or
errors or warnings, Sweave features contaibned in a LyX module, etc.)

It is not completely finished, but pretty usable for now. If you like, I
have put everything in a zip file you can get from here:
http://www.sciviews.org/LyX/SciViewsLyX16.zip. Then, follow the ReadMe.txt
file included in it.

Take care: it completely replaces your whole LyX configuration! You have
to backup it first (as explained in the ReadMe.txt file).

With this version, R only converts the LyX file to .tex and LyX does the
rest like producing a DVI, PDF or PS. Also, you can produce the .Rnw file
to compile it outside of LyX (useful for packages vignettes, for
instance).

I have it also running on Mac OS X and Linux, but the files and
instructions in the link provided above are for Windows only (tested on
Windows XP sp3). Please, ask me later on for the other configs... but for
today, I don't have time to compile them.

Best,

Philippe Grosjean

..°}))
 ) ) ) ) )
( ( ( ( (Prof. Philippe Grosjean
 ) ) ) ) )
( ( ( ( (Numerical Ecology of Aquatic Systems
 ) ) ) ) )   Mons University, Belgium
( ( ( ( (
..

On 09/04/10 00:41, David Hewitt wrote:
 I run LyX from a command window and watch what goes on in the
 background. All goes fine through the whole process, texi2dvi runs and
 finishes (and I can confirm that it finds and executes texi2dvi.exe in
 the MiKTeX bin), and then LyX pukes an error that it cannot open the
 PDF because the PDF does not exist. Indeed, if I check the temp
 directory
 for LyX, all files are present but the PDF. I get no other warnings or
 errors from texi2dvi and cannot figure out why this happens.

 Did you look at Document  LaTeX log? Sometimes it will display errors
 that are not popped-up by LyX.

 That menu item is greyed out, presumably because I used a converter
 through the batch file to make the PDF, so LyX wasn't really doing the
 work (and thus does not have record of the transaction?).

 Can someone help me figure out why texi2dvi fails to produce a PDF?
 Does anyone know if it is perhaps something about MiKTeX and the way
 the texi2dvi.exe works? Might it be possible to bypass that program
 and do the conversion via LyX more directly after R finishes the
 Sweaving and Stangling?

 Did you try pdflatex, or ps2pdf?

 Yeah, pdflatex works a charm when called on the tex file resulting
 from Sweaving directly from the command line. That's what I was
 getting at here. It seems like the issue is in R's function texi2dvi
 (which calls MiKTeX's texi2dvi.exe to do the work), so I was hoping
 there was some way to let the converter in LyX run the batch file,
 pass the Sweaving/Stangling and TeX file production off to R, then
 come back and run pdflatex out of LyX to get the PDF from the TeX
 file. Surely this is possible?


 Thanks a million for the help!






Re: Error for xetex generated pdf on lulu.com: Your document could not be created: The Times-Bold font is not embedded.

2010-04-09 Thread Guenter Milde
On 2010-04-08, Anthony Campbell wrote:
 On 07 Apr 2010, Michael Joyner ᏩᏯ wrote:
 Error for xetex generated pdf on lulu.com: Your document could not
 be created: The Times-Bold font is not embedded.

 How do I tell it to embed what Lulu is expecting to be embedded?

AFAIK, XeTeX does not embed the PDF-standard fonts
(Times/Helvetica/Courier) that are required to be present for any
PDF-using application by the PDF standard.

You might find a config setting or command line switch to change this
behaviour in the XeTeX documentation.

Alternatively, you can select a lookalike font like TeX-Gyre Termes.

Günter




Re: bibtopic usage

2010-04-09 Thread Thibaud Hulin

Hi,
This is my CV in lyx format, with bibtopic.sty and 2 bibliography for tests.
Thanks,
Thibaud.

Le 09/04/2010 10:38, Jürgen Spitzmüller a écrit :

Thibaud Hulin wrote:
   

The option `dot' was not declared in package `bibtopic', perhaps you

misspelled its name. Try typingreturn  to proceed.
 

Could you post an example file?

Jürgen
   




cv-th.lyx
Description: application/lyx
%% BIBTOPICS.STY, a  package following from the
%% BIBUNITS.STY	by Jose Alberto Fernandez (albe...@cs.umd.edu)
%%
%% BIBTOPICS.STY is a style to generate a single bibliography
%% made up of several topics. For instance: books, procedings
%% articles, thesis, .. However we want the bibitems alphabetically 
%% sorted by authors but a single numeration 
%% for all this bibliography. This is the main difference with
%% BIBUNITS.STY, because at the beginning of each unit, corresponding 
%% to a new topic, the counter of the bibitems is not reinitialized.
%%
%%
%% The environment \begin{bibunit}[style] .. \end{bibunit} allows 
%% the creation of a unit. The 
%% optional parameter style specifies a style for the bibliography 
%% different from the default if any. 
%%
%% The \bibliographyunit  command has been removed because not useful.
%%
%% Use \cite and \nocite to generate citations. \cite* and \nocite* 
%% can be use to generate citations to be added in the local 
%% bibliography  inside a unit. 
%%
%% You must insert the command \putbib[bibtex-files] before the end 
%% of each unit in the location where you want the bibliography to 
%% be inserted. If the optional argument is ommited, \putbib uses the 
%% default bibtex-files if any.
%%
%% BIBTEX processing:
%% For each unit, in sequence, there is now a corresponding file 
%% \jobname.\t...@bibunitauxcnt.aux that need to be compiled though 
%% BIBTEX as well as the \jobname.aux that generates the global 
%% database.
%%
%% The global bibliography is given in a \bibliography command.
%% In the same way, a global \bibliographystyle command.
%% Both are needed for the creation of the \jobname.aux file
%% But the \bibliography command is modified so that the file 
%% \jobname.bbl is not read.
%%
%% Suppose your document is foo.tex, you must now invoke bibtex not only 
%% on foo, but also on foo.1, ..., foo.n given that there are n 
%% different units with separate bibliography. 
%%
%% Pierre Basso
%% Laboratoire Informatique de Marseille - CNRS URA 1787
%% email: ba...@lim.univ-mrs.fr

\newwri...@bibunitaux	%File desc.
\newcou...@bibunitauxcnt \...@bibunitauxcnt = 0	%Units cnt.
\newif...@localcite	%Local/Global cite
\newif...@globalbiblio %% 
\...@globalbibliotrue %%%
\d...@localcitedflt{\@localcitetrue} \...@localcitedflt 
%
% \cite definition
%
%\let\REALcite\cite% --bg
\def\NEWcite{
\...@ifstar{\@localcitefalse\REALcite}
{...@localcitetrue\realcite}}
%
% \...@cite new definition
\let\r...@citex\@citex
\def\...@citex[#1]#2{\if@filesw
\immediate\wri...@bibunitaux{\string\citation{#2}}\fi \...@localcite
\...@filesw
\...@fileswfalse\real@citex[#1]{#...@fileswtrue \else\r...@citex[#1]{#2}\fi
\else\r...@citex[#1]{#2}\fi
\...@localcitedflt}
%
% \nocite definition
%
%\let\REALnocite\nocite% --bg
\def\NEWnocite{
\...@ifstar{\@localcitefal...@newnocite}
{...@localcitetrue\@NEWnocite}}
\d...@newnocite#1{\@bsphack
\...@filesw
\immediate\wri...@bibunitaux{\string\citation{#1}}\fi 
\...@esphack
\...@localcite\else\realnocite{#1}\fi\@localcitedflt} 
%
% \bibliography definition
%
\def\bibliography#1{%
  \...@filesw
\immediate\wri...@auxout{\string\bibdata{#1}}%
  \fi
\...@globalbiblio\null
\el...@input@{\jobname.bbl}\fi}
\d...@bibdata{}	%Data files store
\let\REALbibliography\bibliography
\def\NEWbibliography{
\...@ifstar{\@localcitetr...@newbibliography} 
{...@localcitefalse\@NEWbibliography}}
\d...@newbibliography#1{
\...@filesw
\immediate\wri...@auxout{\string\gdef\string\@bibdata{#1}}\fi 
\...@localcite\else\realbibliography{#1}\fi\@localcitedflt} 
%
% \bibliographystyle definition
%
\d...@bibstyle{}	%Style store
\let\REALbibliographystyle\bibliographystyle 
\def\NEWbibliographystyle{
\...@ifstar{\@localcitetr...@newbibliographystyle} 
{...@localcitefalse\@NEWbibliographystyle}} 
\d...@newbibliographystyle#1{
  \...@filesw
  \immediate\wri...@auxout{\string\gdef\string\@bibstyle{#1}}\fi 
  \...@localcite\else\realbibliographystyle{#1}\fi\@localcitedflt} 
%
% \begin{bibunit} .. \end{bibunit} definition 
%
\def\bibunit{\global\advan...@bibunitauxcnt 1 \let\REALcite\cite% --bg
\let\REALnocite\nocite% --bg
\global\let\cite\NEWcite
\global\l...@citex\new@citex
\global\let\nocite\NEWnocite
\...@filesw
\immediate\openo...@bibunitaux \jobname.\t...@bibunitauxcnt.aux 
\...@ifnextchar[{\@bibunitx...@bibunitx[\@bibstyle]} }
\d...@bibunitx[#1]{\if@filesw
\immediate\wri...@bibunitaux{\string\bibstyle{#1}}\fi} 
\def\endbibunit{
  \ifx\undefined\REALcite\else% --bg
\global\let\cite\REALcite
 \global\l...@citex\real@citex
 \global\let\nocite\REALnocite
  \fi% --bg
 

Re: A little help with LyX-Sweave-R

2010-04-09 Thread Pavel Sanda
phgrosj...@sciviews.org wrote:
 I have it also running on Mac OS X and Linux, but the files and
 instructions in the link provided above are for Windows only (tested on
 Windows XP sp3). Please, ask me later on for the other configs... but for
 today, I don't have time to compile them.

fyi there should better support in lyx 2.0 and in case you want something
to contribute directly into lyx distribution, its just the right time to
check out lyx 2.0 alpha and discuss things on devel list so 2.0 is compatible...

pavel


Re: interesting narrowing feature in a text editor

2010-04-09 Thread Rob Oakes
On Fri, 2010-04-09 at 07:37 -0400, rgheck wrote:
 On 04/09/2010 03:49 AM, Abdelrazak Younes wrote:
  On 04/09/2010 07:31 AM, Jose Quesada wrote:
  What I would like to know is... is this narrowing feature interesting 
  for
  people here?
 
  Yes.
 
  Or is it just me who thinks that it would improve workflow and
  reduce mental load?
 
  Not just you. The good thing with LyX is that you can navigate easily 
  from paragraph to paragraph with the keyboard. But in order to make 
  that feature really useful without being forced to use the mouse, you 
  would also need shortcuts for navigating between sections.
 
  In case it's interesting, I'll file an enhancement
  request. Doesn't sound terribly difficult to implement, but I may be
  wrong...
 
  Should not be terribly hard indeed. All the code for scrolling 
  settings is in BufferView class if you want to experiment.
 
 The other thing I've considered, along these lines, is the ability to 
 collapse sections, a la the ability to collapse for loops, functions, 
 etc, in any decent programming editor. That would in some ways serve a 
 very similar purpose, especially if you could just hit Collapse All 
 and then use the outliner to uncollapse what you actually wanted to 
 edit. Little triangles at the side, like in QtCreator, would work too.
 
 rh
 

This is something that I would like to implement.  I also have some
other ideas regarding how to filter sections, but I haven't really
thought through them yet.  I've just been trying to get a simple
implementation of the outline improvements first.

I've found that my appetite can greatly exceed my available time if I'm
not careful.

Cheers,

Rob




Re: LyX and Aspell in spanish

2010-04-09 Thread Andrés Becerra Sandoval
On Thu, Apr 8, 2010 at 3:07 PM, Mchapa bliz...@hotmail.com wrote:
 Hello everyone. I have a problem with Aspell in LyX, it works pretty nice in
 English, but i cannot use it in spanish, i got an error message that says:

 The spellcheker could not be started
 No word list can be found for the language es_ES.

 I installed both dicc. at the same time. I created an Alias file called 
 es_ES
 but it did not solve the problem.

 Could someone lend me a hand, please? Thanks a lot in advance



Hello,

I use aspell (in spanish) everyday in LyX and in KDE-4 applications.

¿Can you use aspell in other programs?

¿What is your operating system?


-- 
  Andrés


Re: A little help with LyX-Sweave-R

2010-04-09 Thread David Hewitt
Man, this will be awesome. To clarify, Prof. Grosjean, can you
indicate what specific connection this will require with SciViews? I
use Tinn-R for code editing, but my workflow with LyX-R-Sweave
requires no editor. Would the same be true for what you are
developing?

Lastly, I think I may have discovered part of the problem. Perhaps
someone on this list is familiar enough with LaTeX config in MiKTeX in
Windows to sort it out for me. It might be related to having some
MiKTeX packages as All Users that are installed and updated with
Admin privileges and others that are specific to my own account. I get
a Windows API Error if I run texify.exe on a file:

Windows API error 14001: This application has failed to start because the
application configuration is incorrect. Reinstalling the application
may fix this problem.
texify: Data: C:\Documents and Settings\dhewitt\Application
Data\MiKTeX\2.8\miktex\bin\pdflatex.EXE

But if I run pdflatex.exe (which I believe calls the EXE in C:\Program
Files\MiKTeX 2.8\miktex\bin) on the same file, it all works.

In general, I don't understand the details of pdflatex, texify,
texi2dvi, etc. that are used in the processing, and how they relate to
each other. If I did, I could probably troubleshoot this more easily.

- Dave


On Fri, Apr 9, 2010 at 4:45 AM,  phgrosj...@sciviews.org wrote:
 It's a couple of months that I prepare an alternate, complete LyX/R/Sweave
 solution (for SciViews). It provides more than just the possibility to
 weaving/tangling LyX documents (new styles, menu entries and toolbar
 buttons to easily create various R chunks, a weaving/tangling log or
 errors or warnings, Sweave features contaibned in a LyX module, etc.)

 It is not completely finished, but pretty usable for now. If you like, I
 have put everything in a zip file you can get from here:
 http://www.sciviews.org/LyX/SciViewsLyX16.zip. Then, follow the ReadMe.txt
 file included in it.

 Take care: it completely replaces your whole LyX configuration! You have
 to backup it first (as explained in the ReadMe.txt file).

 With this version, R only converts the LyX file to .tex and LyX does the
 rest like producing a DVI, PDF or PS. Also, you can produce the .Rnw file
 to compile it outside of LyX (useful for packages vignettes, for
 instance).

 I have it also running on Mac OS X and Linux, but the files and
 instructions in the link provided above are for Windows only (tested on
 Windows XP sp3). Please, ask me later on for the other configs... but for
 today, I don't have time to compile them.

 Best,

 Philippe Grosjean

 On 09/04/10 00:41, David Hewitt wrote:
 I run LyX from a command window and watch what goes on in the
 background. All goes fine through the whole process, texi2dvi runs and
 finishes (and I can confirm that it finds and executes texi2dvi.exe in
 the MiKTeX bin), and then LyX pukes an error that it cannot open the
 PDF because the PDF does not exist. Indeed, if I check the temp
 directory
 for LyX, all files are present but the PDF. I get no other warnings or
 errors from texi2dvi and cannot figure out why this happens.

 Did you look at Document  LaTeX log? Sometimes it will display errors
 that are not popped-up by LyX.

 That menu item is greyed out, presumably because I used a converter
 through the batch file to make the PDF, so LyX wasn't really doing the
 work (and thus does not have record of the transaction?).

 Can someone help me figure out why texi2dvi fails to produce a PDF?
 Does anyone know if it is perhaps something about MiKTeX and the way
 the texi2dvi.exe works? Might it be possible to bypass that program
 and do the conversion via LyX more directly after R finishes the
 Sweaving and Stangling?

 Did you try pdflatex, or ps2pdf?

 Yeah, pdflatex works a charm when called on the tex file resulting
 from Sweaving directly from the command line. That's what I was
 getting at here. It seems like the issue is in R's function texi2dvi
 (which calls MiKTeX's texi2dvi.exe to do the work), so I was hoping
 there was some way to let the converter in LyX run the batch file,
 pass the Sweaving/Stangling and TeX file production off to R, then
 come back and run pdflatex out of LyX to get the PDF from the TeX
 file. Surely this is possible?


Re: Error for xetex generated pdf on lulu.com: Your document could not be created: The Times-Bold font is not embedded.

2010-04-09 Thread Michael Joyner
Actually the only fonts I am using are 'Digohweli', 'Aborginal Serif', and
'Aboriginal Sans' so I was definitely surprised by Lulu asking me for
the Times font I will try and Google for XeTeX font embedding
information. Or maybe just put in a 'Times' segment in somewhere to maybe
trigger embed...

On Fri, Apr 9, 2010 at 8:03 AM, Guenter Milde mi...@users.berlios.dewrote:

 On 2010-04-08, Anthony Campbell wrote:
  On 07 Apr 2010, Michael Joyner ᏩᏯ wrote:
  Error for xetex generated pdf on lulu.com: Your document could not
  be created: The Times-Bold font is not embedded.

  How do I tell it to embed what Lulu is expecting to be embedded?

 AFAIK, XeTeX does not embed the PDF-standard fonts
 (Times/Helvetica/Courier) that are required to be present for any
 PDF-using application by the PDF standard.

 You might find a config setting or command line switch to change this
 behaviour in the XeTeX documentation.

 Alternatively, you can select a lookalike font like TeX-Gyre Termes.

 Günter





LyX success story

2010-04-09 Thread Les Denham
Back in December, I was working on a research project which was winding down, 
and we were drafting the final report.  The team leader complained to me that 
he could not see a reasonable way to get everything into a decent looking 
report using MS Word. He was having a lot of trouble with cross-references in 
particular.

So I suggested using LyX, and installed it on his laptop for him.

After a day working with it, he became enthusiastic about LyX, and over the 
next few weeks I received occasional phone calls asking how to achieve some 
particular layout, etc.

Finally, he called to tell me he had delivered the report to the client.

Yesterday I was visiting him, and he showed me the final paper version of the 
report.  It certainly does look impressive.  I don't think any other system 
could produce a document with 458 pages, over 400 figures, and a bibliography 
of about 100 items.  Especially with cross-references and citations on nearly 
every page.

And this was put together by one person in about three weeks.
-- 
..
Les Denham


beamer: AMS label color changed

2010-04-09 Thread Ignacio García
Translating the AMS environment labels (theorem, proof, etc) is now 
(from LyX 2.0) automagically made in modules. (thanks to Richard H.:)

Unfortunately, using these modules it's no possible in beamer.
Therefore, translating the theorem labels can be achieved through
two ways ( http://wiki.lyx.org/LyX/I18nLabels ) 
- translator with a foo.dict (it's my way by now) or
- through the commands:

\newtheorem{exa}{Ejemplo}
\renewenvironment{example}{\begin{exa}}{\end{exa}}
and the like

There is an issue with colors. Without the commands above:
'Example' appears green in LyX, green in pdf output
'Theorem' or 'corollary' appear blue in LyX and output. All OK

Using the commands above, the green color is changed to blue (?) in
the output. It happens with 1.6.5 or 2.0.0, for English or French
documents, too. (E.g., template (fr_)beamer-conference-ornate-20min.lyx) 
   
Otherwise, it seems to work without any problem.

Regards
Ignacio 



Re: LyX and Aspell in spanish

2010-04-09 Thread Mchapa

 Hello,
 
 I use aspell (in spanish) everyday in LyX and in KDE-4 applications.
 
 ¿Can you use aspell in other programs?
 
 ¿What is your operating system?
 

Hi. I am using Win. Vista home premium. I haven't tried to use aspell with any
other program, but it does not respond from the comman line either. i tried to
reinstall the spanish dicc. but it didnt work. I wonder what is wrong. 




Re: LyX and Aspell in spanish

2010-04-09 Thread Mchapa


Hello Mr. Uwe

I tried  to solve it reinstaling the spanish dicc. with the one you suggest, but
unfortunatelly it didn't work if i dont get results, I will try to reinstall LyX
completelly. Thanks 





Re: beamer: AMS label color changed

2010-04-09 Thread Uwe Stöhr

Ignacio García schrieb:

Translating the AMS environment labels (theorem, proof, etc) is now 
(from LyX 2.0) automagically made in modules. (thanks to Richard H.:)


Unfortunately, using these modules it's no possible in beamer.
Therefore, translating the theorem labels can be achieved through
two ways ( http://wiki.lyx.org/LyX/I18nLabels ) 
- translator with a foo.dict (it's my way by now) or

- through the commands:

\newtheorem{exa}{Ejemplo}
\renewenvironment{example}{\begin{exa}}{\end{exa}}
and the like

There is an issue with colors.


Does it help if you use this code instead:

\theoremstyle{plain}
\newtheorem{exa}{Ejemplo}
\renewenvironment{example}{\begin{exa}}{\end{exa}}

If not, I have no idea for now.

regards Uwe


Re: Error for xetex generated pdf on lulu.com: Your document could not be created: The Times-Bold font is not embedded.

2010-04-09 Thread Guenter Milde
On 2010-04-09, Michael Joyner wrote:
 On Fri, Apr 9, 2010 at 8:03 AM, Guenter Milde mi...@users.berlios.dewrote=
  On 07 Apr 2010, Michael Joyner =E1=8F=A9=E1=8F=AF wrote:

  Error for xetex generated pdf on lulu.com: Your document could not
  be created: The Times-Bold font is not embedded.

 Actually the only fonts I am using are 'Digohweli', 'Aborginal Serif', and
 'Aboriginal Sans' so I was definitely surprised by Lulu asking me for
 the Times font 

I *guess* that at least one of your fonts is missing a bold variant
and Times Bold is used as fallback.

 I will try and Google for XeTeX font embedding
 information. Or maybe just put in a 'Times' segment in somewhere to maybe
 trigger embed...

Maybe defining a different fallback font could help (or eleminating
the bold text part or setting it in a font that has a bold variant or
...)

Günter





Re: beamer: AMS label color changed

2010-04-09 Thread Ignacio García
Uwe Stöhr uwesto...@... writes:


 
 Does it help if you use this code instead:
 
 \theoremstyle{plain}
 \newtheorem{exa}{Ejemplo}
 \renewenvironment{example}{\begin{exa}}{\end{exa}}
 
Already I had checked that, but there is no changes.
The translator package solution works fine

Many thanks
Ignacio 
  






Re: Error for xetex generated pdf on lulu.com: Your document could not be created: The Times-Bold font is not embedded.

2010-04-09 Thread Michael Joyner ᏩᏯ

Guenter Milde wrote:



Actually the only fonts I am using are 'Digohweli', 'Aborginal Serif', and
'Aboriginal Sans' so I was definitely surprised by Lulu asking me for
the Times font 



I *guess* that at least one of your fonts is missing a bold variant
and Times Bold is used as fallback.
  


Indeed!
  
Maybe defining a different fallback font could help (or eleminating

the bold text part or setting it in a font that has a bold variant or
...)
  
I would I define a different fall-back font? The Digohweli font does not 
have any variations to it. :(

I currently have the following in my header:


%\usepackage{musictex}


\usepackage{abc}


\usepackage{multicol}


\usepackage{fontspec}


\usepackage{xunicode}


\usepackage{xltxtra}


\usepackage{epigraph}


\setmainfont[BoldFont={Aboriginal Serif Bold},ItalicFont={Aboriginal 
Serif Italic},BoldItalicFont={Aboriginal Serif Bold Italic}]{Digohweli}



\setsansfont[]{Aboriginal Sans}



eLyXer 0.43 released

2010-04-09 Thread Alex Fernandez
Hi folks,

Version 0.43 of eLyXer has just been released. This version features
integration with jsMath, which improves output quality in several
cases:
  http://www.nongnu.org/elyxer/math-jsmath.html
and the next-generation MathJax which enables MathML output:
  http://www.nongnu.org/elyxer/math-mathjax.html
Changes include:
---
- Many BibTeX improvements: new style abbrvnat, conditional
formatting, look up types in lowercase, understand “--” as dash.
- Added options for mathematical equations: --jsmath to use jsMath and
--mathjax to use MathJax.
- Added command help to loremipsumize.py so it can be used outside of eLyXer.
- Include internationalization files in .zip file.
- Solved bug in table parsing: separate different plain layouts (thanks, Sara!).
- eLyXer compressed files now contain a single directory called
elyxer-$VERSION, instead of just elyxer.
- Added italicized uppercase Greek letters. De-italicized regular
uppercase Greek letters.
---
Complete changelog:
 http://www.nongnu.org/elyxer/changelog.html

Download from nongnu.org mirrors:
 https://savannah.nongnu.org/files/?group=elyxer

If the new version has not hit your favorite mirror yet:
 http://download.savannah.gnu.org/releases-noredirect/elyxer/

Thanks,

Alex Fernández.


Re: Error for xetex generated pdf on lulu.com: Your document could not be created: The Times-Bold font is not embedded.

2010-04-09 Thread Typhoon
On Fri, 09 Apr 2010 18:46:07 -0400
Michael Joyner ᏩᏯ mjoy...@vbservices.net wrote:

 Guenter Milde wrote:
 
  Actually the only fonts I am using are 'Digohweli', 'Aborginal
  Serif', and 'Aboriginal Sans' so I was definitely surprised by
  Lulu asking me for the Times font 
  
 
  I *guess* that at least one of your fonts is missing a bold
  variant and Times Bold is used as fallback.

 
 Indeed!

  Maybe defining a different fallback font could help (or eleminating
  the bold text part or setting it in a font that has a bold variant
  or ...)

 I would I define a different fall-back font? The Digohweli font does
 not have any variations to it. :(
 I currently have the following in my header:
 
 
 %\usepackage{musictex}
 
 
 \usepackage{abc}
 
 
 \usepackage{multicol}
 
 
 \usepackage{fontspec}
 
 
 \usepackage{xunicode}
 
 
 \usepackage{xltxtra}
 
 
 \usepackage{epigraph}
 
 
 \setmainfont[BoldFont={Aboriginal Serif Bold},ItalicFont={Aboriginal 
 Serif Italic},BoldItalicFont={Aboriginal Serif Bold Italic}]
 {Digohweli}
 
 
 \setsansfont[]{Aboriginal Sans}
 

I haven't checked lately, and it was never properly advertised, but
lulu.com will (or at least would) accept a postscript manuscript and do
the conversion to pdf. That might be one way to solve your problem.

Cheers,
Alan


-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206



Re: Alternating Context in a Beamer Presentation

2010-04-09 Thread Paul Rubin
Srinivas Nedunuri nedun...@... writes:

 
 Ideally I'd like something like Theory to appear on 
 theory slides and Example on example slides.

You could just add one or the other to the title of each relevant slide -- maybe
in a funky typeface or color, perhaps in a shadowed box.  I'd flush it to the
right.  Alternatively, you could add a small graphic to the title, maybe a
picture of a tool for the application and a picture of someone napping for the
theory?

/Paul




Re: interesting narrowing feature in a text editor

2010-04-09 Thread Steve Litt
On Friday 09 April 2010 07:37:18 rgheck wrote:
 On 04/09/2010 03:49 AM, Abdelrazak Younes wrote:
  On 04/09/2010 07:31 AM, Jose Quesada wrote:
  What I would like to know is... is this narrowing feature interesting
  for
  people here?
 
  Yes.
 
  Or is it just me who thinks that it would improve workflow and
  reduce mental load?
 
  Not just you. The good thing with LyX is that you can navigate easily
  from paragraph to paragraph with the keyboard. But in order to make
  that feature really useful without being forced to use the mouse, you
  would also need shortcuts for navigating between sections.
 
  In case it's interesting, I'll file an enhancement
  request. Doesn't sound terribly difficult to implement, but I may be
  wrong...
 
  Should not be terribly hard indeed. All the code for scrolling
  settings is in BufferView class if you want to experiment.
 
 The other thing I've considered, along these lines, is the ability to
 collapse sections, a la the ability to collapse for loops, functions,
 etc, in any decent programming editor. That would in some ways serve a
 very similar purpose, especially if you could just hit Collapse All
 and then use the outliner to uncollapse what you actually wanted to
 edit. Little triangles at the side, like in QtCreator, would work too.
 
 rh

Vim does this with its Folding feature. Because it uses the Vim engine, 
VimOutliner also does collapse/expand. VimOutliner also does hoisting, 
although in my opinion VimOutliner hoisting isn't ready for prime time and can 
lose data.

SteveT



Re: interesting narrowing feature in a text editor

2010-04-09 Thread Alan Tyree
On Fri, Apr 9, 2010 at 3:31 PM, Jose Quesada ques...@gmail.com wrote:

 Hi,

 Since many people here edit long documents, they may have faced the
 following problem.
 It's difficult to keep in your mind a large chunk of content. This is why
 we
 divide text into sections.
 In lyx/latex, you can also have a master document and insert sections as
 \input. This is very helpful because each section is then its own file.
 This
 has an immediate effect on mental workload: for me, just seen that I cannot
 scroll out of the section, and the right scrollbar has a bigger handle
 makes
 a big difference, making me more relaxed. I try to make sections that fit
 one screen; this is common advice in programming too (don't make functions
 that scroll out of sight) for the same mental workload reasons.

 The problem is that splitting a doc into files and \input them is not as
 flexible as just taking care of sections. It adds overhead. A price I've
 been willing to pay. Then I saw this:

 (scroll down to narrowing)
 http://www.emeditor.com/modules/feature1/rewrite/tc_35.html

 This is exactly what I want. The only thing I'd add would be to make the
 grayed out parts non-scrollable, ie lock the scrolling to the narrowed down
 section.

 Clicking on the outline sidebar would optionally narrow down the section.
 This way one can navigate a long doc, nave very focused editing, and not
 have to deal with a master file with \inputs.

 Change tracking would be improved as a side effect. If you remove a
 paragraph and paste it on another section (which is an independent file)
 most vcs and diff programs would have completely lost track of it: it would
 work as if you added brand new text to  the section. It's harder to undo
 too. So having one single file has advantages.

 What I would like to know is... is this narrowing feature interesting for
 people here? Or is it just me who thinks that it would improve workflow and
 reduce mental load? In case it's interesting, I'll file an enhancement
 request. Doesn't sound terribly difficult to implement, but I may be
 wrong...

 Best,
 -Jose


Hi Jose

If I understand what you are talking about, it is what the old Thinktank
program called hoisting: take one part of the outline tree and make it
appear for the time being to be the entire outline.

Hoisting is available with certain Emacs modes (including Auctex), but it
is not implemented as cleanly as in the old outliners like Thinktank,
Grandview and others.

I found it to be one of the most valuable aids to writing long works back in
those days. I would strongly support it as a feature request.

Cheers,
Alan


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




-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206


Re: interesting narrowing feature in a text editor

2010-04-09 Thread Jose Quesada
Hi Alan,

Yes, hoisting is an interesting feature. But I would consider it a different
one, as it would operate on the outline sidebar. In my use case, I would
still prefer to have the full outline (i.e., no hoisting) available, because
that is what I'd use for moving around this large hypothetical doc.

I'd support hoisting too, but maybe making it not coupled with the narrowing
feature.

Best,
-Jose

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


On Fri, Apr 9, 2010 at 8:37 AM, Alan Tyree typh...@aanet.com.au wrote:



 On Fri, Apr 9, 2010 at 3:31 PM, Jose Quesada ques...@gmail.com wrote:

 Hi,

 Since many people here edit long documents, they may have faced the
 following problem.
 It's difficult to keep in your mind a large chunk of content. This is why
 we
 divide text into sections.
 In lyx/latex, you can also have a master document and insert sections as
 \input. This is very helpful because each section is then its own file.
 This
 has an immediate effect on mental workload: for me, just seen that I
 cannot
 scroll out of the section, and the right scrollbar has a bigger handle
 makes
 a big difference, making me more relaxed. I try to make sections that fit
 one screen; this is common advice in programming too (don't make functions
 that scroll out of sight) for the same mental workload reasons.

 The problem is that splitting a doc into files and \input them is not as
 flexible as just taking care of sections. It adds overhead. A price I've
 been willing to pay. Then I saw this:

 (scroll down to narrowing)
 http://www.emeditor.com/modules/feature1/rewrite/tc_35.html

 This is exactly what I want. The only thing I'd add would be to make the
 grayed out parts non-scrollable, ie lock the scrolling to the narrowed
 down
 section.

 Clicking on the outline sidebar would optionally narrow down the section.
 This way one can navigate a long doc, nave very focused editing, and not
 have to deal with a master file with \inputs.

 Change tracking would be improved as a side effect. If you remove a
 paragraph and paste it on another section (which is an independent file)
 most vcs and diff programs would have completely lost track of it: it
 would
 work as if you added brand new text to  the section. It's harder to undo
 too. So having one single file has advantages.

 What I would like to know is... is this narrowing feature interesting for
 people here? Or is it just me who thinks that it would improve workflow
 and
 reduce mental load? In case it's interesting, I'll file an enhancement
 request. Doesn't sound terribly difficult to implement, but I may be
 wrong...

 Best,
 -Jose


 Hi Jose

 If I understand what you are talking about, it is what the old Thinktank
 program called hoisting: take one part of the outline tree and make it
 appear for the time being to be the entire outline.

 Hoisting is available with certain Emacs modes (including Auctex), but it
 is not implemented as cleanly as in the old outliners like Thinktank,
 Grandview and others.

 I found it to be one of the most valuable aids to writing long works back
 in those days. I would strongly support it as a feature request.

 Cheers,
 Alan


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




 --
 Alan L Tyreehttp://www2.austlii.edu.au/~alan
 Tel:  04 2748 6206




Re: interesting narrowing feature in a text editor

2010-04-09 Thread Abdelrazak Younes

On 04/09/2010 07:31 AM, Jose Quesada wrote:

What I would like to know is... is this narrowing feature interesting for
people here?


Yes.


Or is it just me who thinks that it would improve workflow and
reduce mental load?


Not just you. The good thing with LyX is that you can navigate easily 
from paragraph to paragraph with the keyboard. But in order to make that 
feature really useful without being forced to use the mouse, you would 
also need shortcuts for navigating between sections.



In case it's interesting, I'll file an enhancement
request. Doesn't sound terribly difficult to implement, but I may be
wrong...


Should not be terribly hard indeed. All the code for scrolling settings 
is in BufferView class if you want to experiment.


On a related note, Rob Oak is working on improving the outliner so you 
might want to joind the development list and discuss the matter there 
with Rob and us.


Cheers,
Abdel.



Re: 64bit Lyx 1.6.4 cannot view postscript

2010-04-09 Thread george legge
Progress report on Lyx with 64bit Suse 11:
There have been no further comments on this problem of not being able to
view a postscript file, because Lyx could not find header file tex.pro.
This inability to find the file is despite the file being present and able
to be read with cat.
I thought the problem might be that the file was not in a local directory;
so I copied it across, with no effect.
I applied, saved, reconfigured and texhashed to no effect.
Finally I inserted the correct paths in Path prefix and success: I can now
view in postscript as well as the previously available dvi and pdf and can
print from all.
Thank for suggestions. I shall press on with my trial of Memoir.

Cheers, GeorgeL

On Thu, Apr 1, 2010 at 8:35 AM, rgheck rgh...@bobjweil.com wrote:

 On 03/31/2010 04:18 PM, george legge wrote:

 On Thu, Apr 1, 2010 at 1:19 AM, rgheckrgh...@bobjweil.com  wrote:





 I don't know myself. Let me try to bring Uwe in here. He knows more about
 this kind of thing. Or JMarc?

 rh




Re: bibtopic usage

2010-04-09 Thread Jürgen Spitzmüller
Thibaud Hulin wrote:
 The option `dot' was not declared in package `bibtopic', perhaps you
 
 misspelled its name. Try typing return to proceed.

Could you post an example file?

Jürgen


Re: Question: making a custom Koma report with colors

2010-04-09 Thread rgheck

On 04/08/2010 05:52 PM, Néstor wrote:

Hi all,

I'm trying to make a document with some colors, and it's a report, so
I took a look at the Customization Manual of Lyx (chapter 5), and
based my new style in Koma report.

I have created a new sty file, named myreport.sty, and a new layout,
including both scrreprt (for Koma report) and my own style,
myreport.sty.

Everything loads correctly when generating a PDF, and if myreport.sty
is empty, I get no errors (and no improvements, just a normal Koma
report).

The question is: now, what do I have to write in myreport.sty to
change, for instance, the document's title's color to Blue?

   

Look at the komascript documentation, which you can find here:
http://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/
There's a lot of it, so you may have to search. But one of the nice 
things about those classes is that they provide a lot of hooks for you 
to change things, without having to get deep into the LaTeX internals. 
As for changing the color of the title, I do not know, as I have never 
had to do anything like that.


Richard



Re: interesting narrowing feature in a text editor

2010-04-09 Thread rgheck

On 04/09/2010 03:49 AM, Abdelrazak Younes wrote:

On 04/09/2010 07:31 AM, Jose Quesada wrote:
What I would like to know is... is this narrowing feature interesting 
for

people here?


Yes.


Or is it just me who thinks that it would improve workflow and
reduce mental load?


Not just you. The good thing with LyX is that you can navigate easily 
from paragraph to paragraph with the keyboard. But in order to make 
that feature really useful without being forced to use the mouse, you 
would also need shortcuts for navigating between sections.



In case it's interesting, I'll file an enhancement
request. Doesn't sound terribly difficult to implement, but I may be
wrong...


Should not be terribly hard indeed. All the code for scrolling 
settings is in BufferView class if you want to experiment.


The other thing I've considered, along these lines, is the ability to 
collapse sections, a la the ability to collapse for loops, functions, 
etc, in any decent programming editor. That would in some ways serve a 
very similar purpose, especially if you could just hit Collapse All 
and then use the outliner to uncollapse what you actually wanted to 
edit. Little triangles at the side, like in QtCreator, would work too.


rh



Re: insert custom layout

2010-04-09 Thread rgheck

On 04/08/2010 03:29 PM, Sajjad wrote:

On Thu, Apr 8, 2010 at 4:24 AM, Julien Riouxjri...@physics.utoronto.cawrote:

   


On 07/04/2010 7:08 PM, Sajjad wrote:

 

6. The liuthesis.layout file contain the following:

#% Do not delete this line below; configure depends on this
#  \DeclareLaTeXClass{liuthesis}


   

If that's all you have in there, this is not sufficient. As suggested, a
good starting point for you would be to copy the book.layout file.

 

If it not then , i did copy the contents of book.layout and put it into the
liuthesis.layout.

What should i do now? Any reference ?

   

Yes. Do this:


If that is what you did, I don't know what the matter is. If you start LyX
from a console you might get useful information for debugging.

 

You probably have an error somewhere in the layout file.

rh



Re: 64bit Lyx 1.6.4 cannot view postscript

2010-04-09 Thread Guenter Milde
On 2010-04-09, george legge wrote:

 Progress report on Lyx with 64bit Suse 11:
 There have been no further comments on this problem of not being able to
 view a postscript file, because Lyx could not find header file tex.pro.
 This inability to find the file is despite the file being present and able
 to be read with cat.

I wonder whether this is a problem with LyX on SuSe, with LaTeX on
SuSe or some local mis-configuration.

Is the problem also present when exporting to a LaTeX source file and
running latex from the command line?

What is the result of 

  # kpsewhich tex.pro

?

Günter



Re: A little help with LyX-Sweave-R

2010-04-09 Thread phgrosjean
It's a couple of months that I prepare an alternate, complete LyX/R/Sweave
solution (for SciViews). It provides more than just the possibility to
weaving/tangling LyX documents (new styles, menu entries and toolbar
buttons to easily create various R chunks, a weaving/tangling log or
errors or warnings, Sweave features contaibned in a LyX module, etc.)

It is not completely finished, but pretty usable for now. If you like, I
have put everything in a zip file you can get from here:
http://www.sciviews.org/LyX/SciViewsLyX16.zip. Then, follow the ReadMe.txt
file included in it.

Take care: it completely replaces your whole LyX configuration! You have
to backup it first (as explained in the ReadMe.txt file).

With this version, R only converts the LyX file to .tex and LyX does the
rest like producing a DVI, PDF or PS. Also, you can produce the .Rnw file
to compile it outside of LyX (useful for packages vignettes, for
instance).

I have it also running on Mac OS X and Linux, but the files and
instructions in the link provided above are for Windows only (tested on
Windows XP sp3). Please, ask me later on for the other configs... but for
today, I don't have time to compile them.

Best,

Philippe Grosjean

..°}))
 ) ) ) ) )
( ( ( ( (Prof. Philippe Grosjean
 ) ) ) ) )
( ( ( ( (Numerical Ecology of Aquatic Systems
 ) ) ) ) )   Mons University, Belgium
( ( ( ( (
..

On 09/04/10 00:41, David Hewitt wrote:
 I run LyX from a command window and watch what goes on in the
 background. All goes fine through the whole process, texi2dvi runs and
 finishes (and I can confirm that it finds and executes texi2dvi.exe in
 the MiKTeX bin), and then LyX pukes an error that it cannot open the
 PDF because the PDF does not exist. Indeed, if I check the temp
 directory
 for LyX, all files are present but the PDF. I get no other warnings or
 errors from texi2dvi and cannot figure out why this happens.

 Did you look at Document  LaTeX log? Sometimes it will display errors
 that are not popped-up by LyX.

 That menu item is greyed out, presumably because I used a converter
 through the batch file to make the PDF, so LyX wasn't really doing the
 work (and thus does not have record of the transaction?).

 Can someone help me figure out why texi2dvi fails to produce a PDF?
 Does anyone know if it is perhaps something about MiKTeX and the way
 the texi2dvi.exe works? Might it be possible to bypass that program
 and do the conversion via LyX more directly after R finishes the
 Sweaving and Stangling?

 Did you try pdflatex, or ps2pdf?

 Yeah, pdflatex works a charm when called on the tex file resulting
 from Sweaving directly from the command line. That's what I was
 getting at here. It seems like the issue is in R's function texi2dvi
 (which calls MiKTeX's texi2dvi.exe to do the work), so I was hoping
 there was some way to let the converter in LyX run the batch file,
 pass the Sweaving/Stangling and TeX file production off to R, then
 come back and run pdflatex out of LyX to get the PDF from the TeX
 file. Surely this is possible?


 Thanks a million for the help!






Re: Error for xetex generated pdf on lulu.com: Your document could not be created: The Times-Bold font is not embedded.

2010-04-09 Thread Guenter Milde
On 2010-04-08, Anthony Campbell wrote:
 On 07 Apr 2010, Michael Joyner ᏩᏯ wrote:
 Error for xetex generated pdf on lulu.com: Your document could not
 be created: The Times-Bold font is not embedded.

 How do I tell it to embed what Lulu is expecting to be embedded?

AFAIK, XeTeX does not embed the PDF-standard fonts
(Times/Helvetica/Courier) that are required to be present for any
PDF-using application by the PDF standard.

You might find a config setting or command line switch to change this
behaviour in the XeTeX documentation.

Alternatively, you can select a lookalike font like TeX-Gyre Termes.

Günter




Re: bibtopic usage

2010-04-09 Thread Thibaud Hulin

Hi,
This is my CV in lyx format, with bibtopic.sty and 2 bibliography for tests.
Thanks,
Thibaud.

Le 09/04/2010 10:38, Jürgen Spitzmüller a écrit :

Thibaud Hulin wrote:
   

The option `dot' was not declared in package `bibtopic', perhaps you

misspelled its name. Try typingreturn  to proceed.
 

Could you post an example file?

Jürgen
   




cv-th.lyx
Description: application/lyx
%% BIBTOPICS.STY, a  package following from the
%% BIBUNITS.STY	by Jose Alberto Fernandez (albe...@cs.umd.edu)
%%
%% BIBTOPICS.STY is a style to generate a single bibliography
%% made up of several topics. For instance: books, procedings
%% articles, thesis, .. However we want the bibitems alphabetically 
%% sorted by authors but a single numeration 
%% for all this bibliography. This is the main difference with
%% BIBUNITS.STY, because at the beginning of each unit, corresponding 
%% to a new topic, the counter of the bibitems is not reinitialized.
%%
%%
%% The environment \begin{bibunit}[style] .. \end{bibunit} allows 
%% the creation of a unit. The 
%% optional parameter style specifies a style for the bibliography 
%% different from the default if any. 
%%
%% The \bibliographyunit  command has been removed because not useful.
%%
%% Use \cite and \nocite to generate citations. \cite* and \nocite* 
%% can be use to generate citations to be added in the local 
%% bibliography  inside a unit. 
%%
%% You must insert the command \putbib[bibtex-files] before the end 
%% of each unit in the location where you want the bibliography to 
%% be inserted. If the optional argument is ommited, \putbib uses the 
%% default bibtex-files if any.
%%
%% BIBTEX processing:
%% For each unit, in sequence, there is now a corresponding file 
%% \jobname.\t...@bibunitauxcnt.aux that need to be compiled though 
%% BIBTEX as well as the \jobname.aux that generates the global 
%% database.
%%
%% The global bibliography is given in a \bibliography command.
%% In the same way, a global \bibliographystyle command.
%% Both are needed for the creation of the \jobname.aux file
%% But the \bibliography command is modified so that the file 
%% \jobname.bbl is not read.
%%
%% Suppose your document is foo.tex, you must now invoke bibtex not only 
%% on foo, but also on foo.1, ..., foo.n given that there are n 
%% different units with separate bibliography. 
%%
%% Pierre Basso
%% Laboratoire Informatique de Marseille - CNRS URA 1787
%% email: ba...@lim.univ-mrs.fr

\newwri...@bibunitaux	%File desc.
\newcou...@bibunitauxcnt \...@bibunitauxcnt = 0	%Units cnt.
\newif...@localcite	%Local/Global cite
\newif...@globalbiblio %% 
\...@globalbibliotrue %%%
\d...@localcitedflt{\@localcitetrue} \...@localcitedflt 
%
% \cite definition
%
%\let\REALcite\cite% --bg
\def\NEWcite{
\...@ifstar{\@localcitefalse\REALcite}
{...@localcitetrue\realcite}}
%
% \...@cite new definition
\let\r...@citex\@citex
\def\...@citex[#1]#2{\if@filesw
\immediate\wri...@bibunitaux{\string\citation{#2}}\fi \...@localcite
\...@filesw
\...@fileswfalse\real@citex[#1]{#...@fileswtrue \else\r...@citex[#1]{#2}\fi
\else\r...@citex[#1]{#2}\fi
\...@localcitedflt}
%
% \nocite definition
%
%\let\REALnocite\nocite% --bg
\def\NEWnocite{
\...@ifstar{\@localcitefal...@newnocite}
{...@localcitetrue\@NEWnocite}}
\d...@newnocite#1{\@bsphack
\...@filesw
\immediate\wri...@bibunitaux{\string\citation{#1}}\fi 
\...@esphack
\...@localcite\else\realnocite{#1}\fi\@localcitedflt} 
%
% \bibliography definition
%
\def\bibliography#1{%
  \...@filesw
\immediate\wri...@auxout{\string\bibdata{#1}}%
  \fi
\...@globalbiblio\null
\el...@input@{\jobname.bbl}\fi}
\d...@bibdata{}	%Data files store
\let\REALbibliography\bibliography
\def\NEWbibliography{
\...@ifstar{\@localcitetr...@newbibliography} 
{...@localcitefalse\@NEWbibliography}}
\d...@newbibliography#1{
\...@filesw
\immediate\wri...@auxout{\string\gdef\string\@bibdata{#1}}\fi 
\...@localcite\else\realbibliography{#1}\fi\@localcitedflt} 
%
% \bibliographystyle definition
%
\d...@bibstyle{}	%Style store
\let\REALbibliographystyle\bibliographystyle 
\def\NEWbibliographystyle{
\...@ifstar{\@localcitetr...@newbibliographystyle} 
{...@localcitefalse\@NEWbibliographystyle}} 
\d...@newbibliographystyle#1{
  \...@filesw
  \immediate\wri...@auxout{\string\gdef\string\@bibstyle{#1}}\fi 
  \...@localcite\else\realbibliographystyle{#1}\fi\@localcitedflt} 
%
% \begin{bibunit} .. \end{bibunit} definition 
%
\def\bibunit{\global\advan...@bibunitauxcnt 1 \let\REALcite\cite% --bg
\let\REALnocite\nocite% --bg
\global\let\cite\NEWcite
\global\l...@citex\new@citex
\global\let\nocite\NEWnocite
\...@filesw
\immediate\openo...@bibunitaux \jobname.\t...@bibunitauxcnt.aux 
\...@ifnextchar[{\@bibunitx...@bibunitx[\@bibstyle]} }
\d...@bibunitx[#1]{\if@filesw
\immediate\wri...@bibunitaux{\string\bibstyle{#1}}\fi} 
\def\endbibunit{
  \ifx\undefined\REALcite\else% --bg
\global\let\cite\REALcite
 \global\l...@citex\real@citex
 \global\let\nocite\REALnocite
  \fi% --bg
 

Re: A little help with LyX-Sweave-R

2010-04-09 Thread Pavel Sanda
phgrosj...@sciviews.org wrote:
 I have it also running on Mac OS X and Linux, but the files and
 instructions in the link provided above are for Windows only (tested on
 Windows XP sp3). Please, ask me later on for the other configs... but for
 today, I don't have time to compile them.

fyi there should better support in lyx 2.0 and in case you want something
to contribute directly into lyx distribution, its just the right time to
check out lyx 2.0 alpha and discuss things on devel list so 2.0 is compatible...

pavel


Re: interesting narrowing feature in a text editor

2010-04-09 Thread Rob Oakes
On Fri, 2010-04-09 at 07:37 -0400, rgheck wrote:
 On 04/09/2010 03:49 AM, Abdelrazak Younes wrote:
  On 04/09/2010 07:31 AM, Jose Quesada wrote:
  What I would like to know is... is this narrowing feature interesting 
  for
  people here?
 
  Yes.
 
  Or is it just me who thinks that it would improve workflow and
  reduce mental load?
 
  Not just you. The good thing with LyX is that you can navigate easily 
  from paragraph to paragraph with the keyboard. But in order to make 
  that feature really useful without being forced to use the mouse, you 
  would also need shortcuts for navigating between sections.
 
  In case it's interesting, I'll file an enhancement
  request. Doesn't sound terribly difficult to implement, but I may be
  wrong...
 
  Should not be terribly hard indeed. All the code for scrolling 
  settings is in BufferView class if you want to experiment.
 
 The other thing I've considered, along these lines, is the ability to 
 collapse sections, a la the ability to collapse for loops, functions, 
 etc, in any decent programming editor. That would in some ways serve a 
 very similar purpose, especially if you could just hit Collapse All 
 and then use the outliner to uncollapse what you actually wanted to 
 edit. Little triangles at the side, like in QtCreator, would work too.
 
 rh
 

This is something that I would like to implement.  I also have some
other ideas regarding how to filter sections, but I haven't really
thought through them yet.  I've just been trying to get a simple
implementation of the outline improvements first.

I've found that my appetite can greatly exceed my available time if I'm
not careful.

Cheers,

Rob




Re: LyX and Aspell in spanish

2010-04-09 Thread Andrés Becerra Sandoval
On Thu, Apr 8, 2010 at 3:07 PM, Mchapa bliz...@hotmail.com wrote:
 Hello everyone. I have a problem with Aspell in LyX, it works pretty nice in
 English, but i cannot use it in spanish, i got an error message that says:

 The spellcheker could not be started
 No word list can be found for the language es_ES.

 I installed both dicc. at the same time. I created an Alias file called 
 es_ES
 but it did not solve the problem.

 Could someone lend me a hand, please? Thanks a lot in advance



Hello,

I use aspell (in spanish) everyday in LyX and in KDE-4 applications.

¿Can you use aspell in other programs?

¿What is your operating system?


-- 
  Andrés


Re: A little help with LyX-Sweave-R

2010-04-09 Thread David Hewitt
Man, this will be awesome. To clarify, Prof. Grosjean, can you
indicate what specific connection this will require with SciViews? I
use Tinn-R for code editing, but my workflow with LyX-R-Sweave
requires no editor. Would the same be true for what you are
developing?

Lastly, I think I may have discovered part of the problem. Perhaps
someone on this list is familiar enough with LaTeX config in MiKTeX in
Windows to sort it out for me. It might be related to having some
MiKTeX packages as All Users that are installed and updated with
Admin privileges and others that are specific to my own account. I get
a Windows API Error if I run texify.exe on a file:

Windows API error 14001: This application has failed to start because the
application configuration is incorrect. Reinstalling the application
may fix this problem.
texify: Data: C:\Documents and Settings\dhewitt\Application
Data\MiKTeX\2.8\miktex\bin\pdflatex.EXE

But if I run pdflatex.exe (which I believe calls the EXE in C:\Program
Files\MiKTeX 2.8\miktex\bin) on the same file, it all works.

In general, I don't understand the details of pdflatex, texify,
texi2dvi, etc. that are used in the processing, and how they relate to
each other. If I did, I could probably troubleshoot this more easily.

- Dave


On Fri, Apr 9, 2010 at 4:45 AM,  phgrosj...@sciviews.org wrote:
 It's a couple of months that I prepare an alternate, complete LyX/R/Sweave
 solution (for SciViews). It provides more than just the possibility to
 weaving/tangling LyX documents (new styles, menu entries and toolbar
 buttons to easily create various R chunks, a weaving/tangling log or
 errors or warnings, Sweave features contaibned in a LyX module, etc.)

 It is not completely finished, but pretty usable for now. If you like, I
 have put everything in a zip file you can get from here:
 http://www.sciviews.org/LyX/SciViewsLyX16.zip. Then, follow the ReadMe.txt
 file included in it.

 Take care: it completely replaces your whole LyX configuration! You have
 to backup it first (as explained in the ReadMe.txt file).

 With this version, R only converts the LyX file to .tex and LyX does the
 rest like producing a DVI, PDF or PS. Also, you can produce the .Rnw file
 to compile it outside of LyX (useful for packages vignettes, for
 instance).

 I have it also running on Mac OS X and Linux, but the files and
 instructions in the link provided above are for Windows only (tested on
 Windows XP sp3). Please, ask me later on for the other configs... but for
 today, I don't have time to compile them.

 Best,

 Philippe Grosjean

 On 09/04/10 00:41, David Hewitt wrote:
 I run LyX from a command window and watch what goes on in the
 background. All goes fine through the whole process, texi2dvi runs and
 finishes (and I can confirm that it finds and executes texi2dvi.exe in
 the MiKTeX bin), and then LyX pukes an error that it cannot open the
 PDF because the PDF does not exist. Indeed, if I check the temp
 directory
 for LyX, all files are present but the PDF. I get no other warnings or
 errors from texi2dvi and cannot figure out why this happens.

 Did you look at Document  LaTeX log? Sometimes it will display errors
 that are not popped-up by LyX.

 That menu item is greyed out, presumably because I used a converter
 through the batch file to make the PDF, so LyX wasn't really doing the
 work (and thus does not have record of the transaction?).

 Can someone help me figure out why texi2dvi fails to produce a PDF?
 Does anyone know if it is perhaps something about MiKTeX and the way
 the texi2dvi.exe works? Might it be possible to bypass that program
 and do the conversion via LyX more directly after R finishes the
 Sweaving and Stangling?

 Did you try pdflatex, or ps2pdf?

 Yeah, pdflatex works a charm when called on the tex file resulting
 from Sweaving directly from the command line. That's what I was
 getting at here. It seems like the issue is in R's function texi2dvi
 (which calls MiKTeX's texi2dvi.exe to do the work), so I was hoping
 there was some way to let the converter in LyX run the batch file,
 pass the Sweaving/Stangling and TeX file production off to R, then
 come back and run pdflatex out of LyX to get the PDF from the TeX
 file. Surely this is possible?


Re: Error for xetex generated pdf on lulu.com: Your document could not be created: The Times-Bold font is not embedded.

2010-04-09 Thread Michael Joyner
Actually the only fonts I am using are 'Digohweli', 'Aborginal Serif', and
'Aboriginal Sans' so I was definitely surprised by Lulu asking me for
the Times font I will try and Google for XeTeX font embedding
information. Or maybe just put in a 'Times' segment in somewhere to maybe
trigger embed...

On Fri, Apr 9, 2010 at 8:03 AM, Guenter Milde mi...@users.berlios.dewrote:

 On 2010-04-08, Anthony Campbell wrote:
  On 07 Apr 2010, Michael Joyner ᏩᏯ wrote:
  Error for xetex generated pdf on lulu.com: Your document could not
  be created: The Times-Bold font is not embedded.

  How do I tell it to embed what Lulu is expecting to be embedded?

 AFAIK, XeTeX does not embed the PDF-standard fonts
 (Times/Helvetica/Courier) that are required to be present for any
 PDF-using application by the PDF standard.

 You might find a config setting or command line switch to change this
 behaviour in the XeTeX documentation.

 Alternatively, you can select a lookalike font like TeX-Gyre Termes.

 Günter





LyX success story

2010-04-09 Thread Les Denham
Back in December, I was working on a research project which was winding down, 
and we were drafting the final report.  The team leader complained to me that 
he could not see a reasonable way to get everything into a decent looking 
report using MS Word. He was having a lot of trouble with cross-references in 
particular.

So I suggested using LyX, and installed it on his laptop for him.

After a day working with it, he became enthusiastic about LyX, and over the 
next few weeks I received occasional phone calls asking how to achieve some 
particular layout, etc.

Finally, he called to tell me he had delivered the report to the client.

Yesterday I was visiting him, and he showed me the final paper version of the 
report.  It certainly does look impressive.  I don't think any other system 
could produce a document with 458 pages, over 400 figures, and a bibliography 
of about 100 items.  Especially with cross-references and citations on nearly 
every page.

And this was put together by one person in about three weeks.
-- 
..
Les Denham


beamer: AMS label color changed

2010-04-09 Thread Ignacio García
Translating the AMS environment labels (theorem, proof, etc) is now 
(from LyX 2.0) automagically made in modules. (thanks to Richard H.:)

Unfortunately, using these modules it's no possible in beamer.
Therefore, translating the theorem labels can be achieved through
two ways ( http://wiki.lyx.org/LyX/I18nLabels ) 
- translator with a foo.dict (it's my way by now) or
- through the commands:

\newtheorem{exa}{Ejemplo}
\renewenvironment{example}{\begin{exa}}{\end{exa}}
and the like

There is an issue with colors. Without the commands above:
'Example' appears green in LyX, green in pdf output
'Theorem' or 'corollary' appear blue in LyX and output. All OK

Using the commands above, the green color is changed to blue (?) in
the output. It happens with 1.6.5 or 2.0.0, for English or French
documents, too. (E.g., template (fr_)beamer-conference-ornate-20min.lyx) 
   
Otherwise, it seems to work without any problem.

Regards
Ignacio 



Re: LyX and Aspell in spanish

2010-04-09 Thread Mchapa

 Hello,
 
 I use aspell (in spanish) everyday in LyX and in KDE-4 applications.
 
 ¿Can you use aspell in other programs?
 
 ¿What is your operating system?
 

Hi. I am using Win. Vista home premium. I haven't tried to use aspell with any
other program, but it does not respond from the comman line either. i tried to
reinstall the spanish dicc. but it didnt work. I wonder what is wrong. 




Re: LyX and Aspell in spanish

2010-04-09 Thread Mchapa


Hello Mr. Uwe

I tried  to solve it reinstaling the spanish dicc. with the one you suggest, but
unfortunatelly it didn't work if i dont get results, I will try to reinstall LyX
completelly. Thanks 





Re: beamer: AMS label color changed

2010-04-09 Thread Uwe Stöhr

Ignacio García schrieb:

Translating the AMS environment labels (theorem, proof, etc) is now 
(from LyX 2.0) automagically made in modules. (thanks to Richard H.:)


Unfortunately, using these modules it's no possible in beamer.
Therefore, translating the theorem labels can be achieved through
two ways ( http://wiki.lyx.org/LyX/I18nLabels ) 
- translator with a foo.dict (it's my way by now) or

- through the commands:

\newtheorem{exa}{Ejemplo}
\renewenvironment{example}{\begin{exa}}{\end{exa}}
and the like

There is an issue with colors.


Does it help if you use this code instead:

\theoremstyle{plain}
\newtheorem{exa}{Ejemplo}
\renewenvironment{example}{\begin{exa}}{\end{exa}}

If not, I have no idea for now.

regards Uwe


Re: Error for xetex generated pdf on lulu.com: Your document could not be created: The Times-Bold font is not embedded.

2010-04-09 Thread Guenter Milde
On 2010-04-09, Michael Joyner wrote:
 On Fri, Apr 9, 2010 at 8:03 AM, Guenter Milde mi...@users.berlios.dewrote=
  On 07 Apr 2010, Michael Joyner =E1=8F=A9=E1=8F=AF wrote:

  Error for xetex generated pdf on lulu.com: Your document could not
  be created: The Times-Bold font is not embedded.

 Actually the only fonts I am using are 'Digohweli', 'Aborginal Serif', and
 'Aboriginal Sans' so I was definitely surprised by Lulu asking me for
 the Times font 

I *guess* that at least one of your fonts is missing a bold variant
and Times Bold is used as fallback.

 I will try and Google for XeTeX font embedding
 information. Or maybe just put in a 'Times' segment in somewhere to maybe
 trigger embed...

Maybe defining a different fallback font could help (or eleminating
the bold text part or setting it in a font that has a bold variant or
...)

Günter





Re: beamer: AMS label color changed

2010-04-09 Thread Ignacio García
Uwe Stöhr uwesto...@... writes:


 
 Does it help if you use this code instead:
 
 \theoremstyle{plain}
 \newtheorem{exa}{Ejemplo}
 \renewenvironment{example}{\begin{exa}}{\end{exa}}
 
Already I had checked that, but there is no changes.
The translator package solution works fine

Many thanks
Ignacio 
  






Re: Error for xetex generated pdf on lulu.com: Your document could not be created: The Times-Bold font is not embedded.

2010-04-09 Thread Michael Joyner ᏩᏯ

Guenter Milde wrote:



Actually the only fonts I am using are 'Digohweli', 'Aborginal Serif', and
'Aboriginal Sans' so I was definitely surprised by Lulu asking me for
the Times font 



I *guess* that at least one of your fonts is missing a bold variant
and Times Bold is used as fallback.
  


Indeed!
  
Maybe defining a different fallback font could help (or eleminating

the bold text part or setting it in a font that has a bold variant or
...)
  
I would I define a different fall-back font? The Digohweli font does not 
have any variations to it. :(

I currently have the following in my header:


%\usepackage{musictex}


\usepackage{abc}


\usepackage{multicol}


\usepackage{fontspec}


\usepackage{xunicode}


\usepackage{xltxtra}


\usepackage{epigraph}


\setmainfont[BoldFont={Aboriginal Serif Bold},ItalicFont={Aboriginal 
Serif Italic},BoldItalicFont={Aboriginal Serif Bold Italic}]{Digohweli}



\setsansfont[]{Aboriginal Sans}



eLyXer 0.43 released

2010-04-09 Thread Alex Fernandez
Hi folks,

Version 0.43 of eLyXer has just been released. This version features
integration with jsMath, which improves output quality in several
cases:
  http://www.nongnu.org/elyxer/math-jsmath.html
and the next-generation MathJax which enables MathML output:
  http://www.nongnu.org/elyxer/math-mathjax.html
Changes include:
---
- Many BibTeX improvements: new style abbrvnat, conditional
formatting, look up types in lowercase, understand “--” as dash.
- Added options for mathematical equations: --jsmath to use jsMath and
--mathjax to use MathJax.
- Added command help to loremipsumize.py so it can be used outside of eLyXer.
- Include internationalization files in .zip file.
- Solved bug in table parsing: separate different plain layouts (thanks, Sara!).
- eLyXer compressed files now contain a single directory called
elyxer-$VERSION, instead of just elyxer.
- Added italicized uppercase Greek letters. De-italicized regular
uppercase Greek letters.
---
Complete changelog:
 http://www.nongnu.org/elyxer/changelog.html

Download from nongnu.org mirrors:
 https://savannah.nongnu.org/files/?group=elyxer

If the new version has not hit your favorite mirror yet:
 http://download.savannah.gnu.org/releases-noredirect/elyxer/

Thanks,

Alex Fernández.


Re: Error for xetex generated pdf on lulu.com: Your document could not be created: The Times-Bold font is not embedded.

2010-04-09 Thread Typhoon
On Fri, 09 Apr 2010 18:46:07 -0400
Michael Joyner ᏩᏯ mjoy...@vbservices.net wrote:

 Guenter Milde wrote:
 
  Actually the only fonts I am using are 'Digohweli', 'Aborginal
  Serif', and 'Aboriginal Sans' so I was definitely surprised by
  Lulu asking me for the Times font 
  
 
  I *guess* that at least one of your fonts is missing a bold
  variant and Times Bold is used as fallback.

 
 Indeed!

  Maybe defining a different fallback font could help (or eleminating
  the bold text part or setting it in a font that has a bold variant
  or ...)

 I would I define a different fall-back font? The Digohweli font does
 not have any variations to it. :(
 I currently have the following in my header:
 
 
 %\usepackage{musictex}
 
 
 \usepackage{abc}
 
 
 \usepackage{multicol}
 
 
 \usepackage{fontspec}
 
 
 \usepackage{xunicode}
 
 
 \usepackage{xltxtra}
 
 
 \usepackage{epigraph}
 
 
 \setmainfont[BoldFont={Aboriginal Serif Bold},ItalicFont={Aboriginal 
 Serif Italic},BoldItalicFont={Aboriginal Serif Bold Italic}]
 {Digohweli}
 
 
 \setsansfont[]{Aboriginal Sans}
 

I haven't checked lately, and it was never properly advertised, but
lulu.com will (or at least would) accept a postscript manuscript and do
the conversion to pdf. That might be one way to solve your problem.

Cheers,
Alan


-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206



Re: Alternating Context in a Beamer Presentation

2010-04-09 Thread Paul Rubin
Srinivas Nedunuri nedun...@... writes:

 
 Ideally I'd like something like Theory to appear on 
 theory slides and Example on example slides.

You could just add one or the other to the title of each relevant slide -- maybe
in a funky typeface or color, perhaps in a shadowed box.  I'd flush it to the
right.  Alternatively, you could add a small graphic to the title, maybe a
picture of a tool for the application and a picture of someone napping for the
theory?

/Paul




Re: interesting narrowing feature in a text editor

2010-04-09 Thread Steve Litt
On Friday 09 April 2010 07:37:18 rgheck wrote:
 On 04/09/2010 03:49 AM, Abdelrazak Younes wrote:
  On 04/09/2010 07:31 AM, Jose Quesada wrote:
  What I would like to know is... is this narrowing feature interesting
  for
  people here?
 
  Yes.
 
  Or is it just me who thinks that it would improve workflow and
  reduce mental load?
 
  Not just you. The good thing with LyX is that you can navigate easily
  from paragraph to paragraph with the keyboard. But in order to make
  that feature really useful without being forced to use the mouse, you
  would also need shortcuts for navigating between sections.
 
  In case it's interesting, I'll file an enhancement
  request. Doesn't sound terribly difficult to implement, but I may be
  wrong...
 
  Should not be terribly hard indeed. All the code for scrolling
  settings is in BufferView class if you want to experiment.
 
 The other thing I've considered, along these lines, is the ability to
 collapse sections, a la the ability to collapse for loops, functions,
 etc, in any decent programming editor. That would in some ways serve a
 very similar purpose, especially if you could just hit Collapse All
 and then use the outliner to uncollapse what you actually wanted to
 edit. Little triangles at the side, like in QtCreator, would work too.
 
 rh

Vim does this with its Folding feature. Because it uses the Vim engine, 
VimOutliner also does collapse/expand. VimOutliner also does hoisting, 
although in my opinion VimOutliner hoisting isn't ready for prime time and can 
lose data.

SteveT



Re: interesting narrowing feature in a text editor

2010-04-09 Thread Alan Tyree
On Fri, Apr 9, 2010 at 3:31 PM, Jose Quesada  wrote:

> Hi,
>
> Since many people here edit long documents, they may have faced the
> following problem.
> It's difficult to keep in your mind a large chunk of content. This is why
> we
> divide text into sections.
> In lyx/latex, you can also have a master document and insert sections as
> \input. This is very helpful because each section is then its own file.
> This
> has an immediate effect on mental workload: for me, just seen that I cannot
> scroll out of the section, and the right scrollbar has a bigger handle
> makes
> a big difference, making me more relaxed. I try to make sections that fit
> one screen; this is common advice in programming too (don't make functions
> that scroll out of sight) for the same mental workload reasons.
>
> The problem is that splitting a doc into files and \input them is not as
> flexible as just taking care of sections. It adds overhead. A price I've
> been willing to pay. Then I saw this:
>
> (scroll down to narrowing)
> http://www.emeditor.com/modules/feature1/rewrite/tc_35.html
>
> This is exactly what I want. The only thing I'd add would be to make the
> grayed out parts non-scrollable, ie lock the scrolling to the narrowed down
> section.
>
> Clicking on the outline sidebar would optionally narrow down the section.
> This way one can navigate a long doc, nave very focused editing, and not
> have to deal with a master file with \inputs.
>
> Change tracking would be improved as a side effect. If you remove a
> paragraph and paste it on another section (which is an independent file)
> most vcs and diff programs would have completely lost track of it: it would
> work as if you added brand new text to  the section. It's harder to undo
> too. So having one single file has advantages.
>
> What I would like to know is... is this narrowing feature interesting for
> people here? Or is it just me who thinks that it would improve workflow and
> reduce mental load? In case it's interesting, I'll file an enhancement
> request. Doesn't sound terribly difficult to implement, but I may be
> wrong...
>
> Best,
> -Jose
>

Hi Jose

If I understand what you are talking about, it is what the old Thinktank
program called "hoisting": take one part of the outline tree and make it
appear for the time being to be the entire outline.

"Hoisting" is available with certain Emacs modes (including Auctex), but it
is not implemented as cleanly as in the old outliners like Thinktank,
Grandview and others.

I found it to be one of the most valuable aids to writing long works back in
those days. I would strongly support it as a feature request.

Cheers,
Alan

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



-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206


Re: interesting narrowing feature in a text editor

2010-04-09 Thread Jose Quesada
Hi Alan,

Yes, hoisting is an interesting feature. But I would consider it a different
one, as it would operate on the outline sidebar. In my use case, I would
still prefer to have the full outline (i.e., no hoisting) available, because
that is what I'd use for moving around this large hypothetical doc.

I'd support hoisting too, but maybe making it not coupled with the narrowing
feature.

Best,
-Jose

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


On Fri, Apr 9, 2010 at 8:37 AM, Alan Tyree  wrote:

>
>
> On Fri, Apr 9, 2010 at 3:31 PM, Jose Quesada  wrote:
>
>> Hi,
>>
>> Since many people here edit long documents, they may have faced the
>> following problem.
>> It's difficult to keep in your mind a large chunk of content. This is why
>> we
>> divide text into sections.
>> In lyx/latex, you can also have a master document and insert sections as
>> \input. This is very helpful because each section is then its own file.
>> This
>> has an immediate effect on mental workload: for me, just seen that I
>> cannot
>> scroll out of the section, and the right scrollbar has a bigger handle
>> makes
>> a big difference, making me more relaxed. I try to make sections that fit
>> one screen; this is common advice in programming too (don't make functions
>> that scroll out of sight) for the same mental workload reasons.
>>
>> The problem is that splitting a doc into files and \input them is not as
>> flexible as just taking care of sections. It adds overhead. A price I've
>> been willing to pay. Then I saw this:
>>
>> (scroll down to narrowing)
>> http://www.emeditor.com/modules/feature1/rewrite/tc_35.html
>>
>> This is exactly what I want. The only thing I'd add would be to make the
>> grayed out parts non-scrollable, ie lock the scrolling to the narrowed
>> down
>> section.
>>
>> Clicking on the outline sidebar would optionally narrow down the section.
>> This way one can navigate a long doc, nave very focused editing, and not
>> have to deal with a master file with \inputs.
>>
>> Change tracking would be improved as a side effect. If you remove a
>> paragraph and paste it on another section (which is an independent file)
>> most vcs and diff programs would have completely lost track of it: it
>> would
>> work as if you added brand new text to  the section. It's harder to undo
>> too. So having one single file has advantages.
>>
>> What I would like to know is... is this narrowing feature interesting for
>> people here? Or is it just me who thinks that it would improve workflow
>> and
>> reduce mental load? In case it's interesting, I'll file an enhancement
>> request. Doesn't sound terribly difficult to implement, but I may be
>> wrong...
>>
>> Best,
>> -Jose
>>
>
> Hi Jose
>
> If I understand what you are talking about, it is what the old Thinktank
> program called "hoisting": take one part of the outline tree and make it
> appear for the time being to be the entire outline.
>
> "Hoisting" is available with certain Emacs modes (including Auctex), but it
> is not implemented as cleanly as in the old outliners like Thinktank,
> Grandview and others.
>
> I found it to be one of the most valuable aids to writing long works back
> in those days. I would strongly support it as a feature request.
>
> Cheers,
> Alan
>
>>
>> Jose Quesada, PhD.
>> Max Planck Institute,
>> Center for Adaptive Behavior and Cognition,
>> Berlin
>> http://www.josequesada.name/
>> http://twitter.com/Quesada
>>
>
>
>
> --
> Alan L Tyreehttp://www2.austlii.edu.au/~alan
> Tel:  04 2748 6206
>
>


Re: interesting narrowing feature in a text editor

2010-04-09 Thread Abdelrazak Younes

On 04/09/2010 07:31 AM, Jose Quesada wrote:

What I would like to know is... is this narrowing feature interesting for
people here?


Yes.


Or is it just me who thinks that it would improve workflow and
reduce mental load?


Not just you. The good thing with LyX is that you can navigate easily 
from paragraph to paragraph with the keyboard. But in order to make that 
feature really useful without being forced to use the mouse, you would 
also need shortcuts for navigating between sections.



In case it's interesting, I'll file an enhancement
request. Doesn't sound terribly difficult to implement, but I may be
wrong...


Should not be terribly hard indeed. All the code for scrolling settings 
is in BufferView class if you want to experiment.


On a related note, Rob Oak is working on improving the outliner so you 
might want to joind the development list and discuss the matter there 
with Rob and us.


Cheers,
Abdel.



Re: 64bit Lyx 1.6.4 cannot view postscript

2010-04-09 Thread george legge
Progress report on Lyx with 64bit Suse 11:
There have been no further comments on this problem of not being able to
view a postscript file, because Lyx "could not find header file tex.pro".
This inability to find the file is despite the file being present and able
to be read with cat.
I thought the problem might be that the file was not in a local directory;
so I copied it across, with no effect.
I applied, saved, reconfigured and texhashed to no effect.
Finally I inserted the correct paths in Path prefix and success: I can now
view in postscript as well as the previously available dvi and pdf and can
print from all.
Thank for suggestions. I shall press on with my trial of Memoir.

Cheers, GeorgeL

On Thu, Apr 1, 2010 at 8:35 AM, rgheck  wrote:

> On 03/31/2010 04:18 PM, george legge wrote:
>
>> On Thu, Apr 1, 2010 at 1:19 AM, rgheck  wrote:
>>
>>
>>
>>
>>
> I don't know myself. Let me try to bring Uwe in here. He knows more about
> this kind of thing. Or JMarc?
>
> rh
>
>


Re: bibtopic usage

2010-04-09 Thread Jürgen Spitzmüller
Thibaud Hulin wrote:
> The option `dot' was not declared in package `bibtopic', perhaps you
> 
> misspelled its name. Try typing  to proceed.

Could you post an example file?

Jürgen


Re: Question: making a custom Koma report with colors

2010-04-09 Thread rgheck

On 04/08/2010 05:52 PM, Néstor wrote:

Hi all,

I'm trying to make a document with some colors, and it's a report, so
I took a look at the Customization Manual of Lyx (chapter 5), and
based my new style in Koma report.

I have created a new sty file, named myreport.sty, and a new layout,
including both scrreprt (for Koma report) and my own style,
myreport.sty.

Everything loads correctly when generating a PDF, and if myreport.sty
is empty, I get no errors (and no improvements, just a normal Koma
report).

The question is: now, what do I have to write in myreport.sty to
change, for instance, the document's title's color to Blue?

   

Look at the komascript documentation, which you can find here:
http://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/
There's a lot of it, so you may have to search. But one of the nice 
things about those classes is that they provide a lot of "hooks" for you 
to change things, without having to get deep into the LaTeX internals. 
As for changing the color of the title, I do not know, as I have never 
had to do anything like that.


Richard



Re: interesting narrowing feature in a text editor

2010-04-09 Thread rgheck

On 04/09/2010 03:49 AM, Abdelrazak Younes wrote:

On 04/09/2010 07:31 AM, Jose Quesada wrote:
What I would like to know is... is this narrowing feature interesting 
for

people here?


Yes.


Or is it just me who thinks that it would improve workflow and
reduce mental load?


Not just you. The good thing with LyX is that you can navigate easily 
from paragraph to paragraph with the keyboard. But in order to make 
that feature really useful without being forced to use the mouse, you 
would also need shortcuts for navigating between sections.



In case it's interesting, I'll file an enhancement
request. Doesn't sound terribly difficult to implement, but I may be
wrong...


Should not be terribly hard indeed. All the code for scrolling 
settings is in BufferView class if you want to experiment.


The other thing I've considered, along these lines, is the ability to 
collapse sections, a la the ability to collapse for loops, functions, 
etc, in any decent programming editor. That would in some ways serve a 
very similar purpose, especially if you could just hit "Collapse All" 
and then use the outliner to uncollapse what you actually wanted to 
edit. Little triangles at the side, like in QtCreator, would work too.


rh



Re: insert custom layout

2010-04-09 Thread rgheck

On 04/08/2010 03:29 PM, Sajjad wrote:

On Thu, Apr 8, 2010 at 4:24 AM, Julien Riouxwrote:

   


On 07/04/2010 7:08 PM, Sajjad wrote:

 

6. The liuthesis.layout file contain the following:

#% Do not delete this line below; configure depends on this
#  \DeclareLaTeXClass{liuthesis}


   

If that's all you have in there, this is not sufficient. As suggested, a
good starting point for you would be to copy the book.layout file.

 

If it not then , i did copy the contents of book.layout and put it into the
liuthesis.layout.

What should i do now? Any reference ?

   

Yes. Do this:


If that is what you did, I don't know what the matter is. If you start LyX
from a console you might get useful information for debugging.

 

You probably have an error somewhere in the layout file.

rh



Re: 64bit Lyx 1.6.4 cannot view postscript

2010-04-09 Thread Guenter Milde
On 2010-04-09, george legge wrote:

> Progress report on Lyx with 64bit Suse 11:
> There have been no further comments on this problem of not being able to
> view a postscript file, because Lyx "could not find header file tex.pro".
> This inability to find the file is despite the file being present and able
> to be read with cat.

I wonder whether this is a problem with LyX on SuSe, with LaTeX on
SuSe or some local mis-configuration.

Is the problem also present when exporting to a LaTeX source file and
running latex from the command line?

What is the result of 

  #> kpsewhich tex.pro

?

Günter



Re: A little help with LyX-Sweave-R

2010-04-09 Thread phgrosjean
It's a couple of months that I prepare an alternate, complete LyX/R/Sweave
solution (for SciViews). It provides more than just the possibility to
weaving/tangling LyX documents (new styles, menu entries and toolbar
buttons to easily create various R chunks, a weaving/tangling log or
errors or warnings, Sweave features contaibned in a LyX module, etc.)

It is not completely finished, but pretty usable for now. If you like, I
have put everything in a zip file you can get from here:
http://www.sciviews.org/LyX/SciViewsLyX16.zip. Then, follow the ReadMe.txt
file included in it.

Take care: it completely replaces your whole LyX configuration! You have
to backup it first (as explained in the ReadMe.txt file).

With this version, R only converts the LyX file to .tex and LyX does the
rest like producing a DVI, PDF or PS. Also, you can produce the .Rnw file
to compile it outside of LyX (useful for packages vignettes, for
instance).

I have it also running on Mac OS X and Linux, but the files and
instructions in the link provided above are for Windows only (tested on
Windows XP sp3). Please, ask me later on for the other configs... but for
today, I don't have time to compile them.

Best,

Philippe Grosjean

..<°}))><
 ) ) ) ) )
( ( ( ( (Prof. Philippe Grosjean
 ) ) ) ) )
( ( ( ( (Numerical Ecology of Aquatic Systems
 ) ) ) ) )   Mons University, Belgium
( ( ( ( (
..

On 09/04/10 00:41, David Hewitt wrote:
>>> I run LyX from a command window and watch what goes on in the
>>> background. All goes fine through the whole process, texi2dvi runs and
>>> finishes (and I can confirm that it finds and executes texi2dvi.exe in
>>> the MiKTeX bin), and then LyX pukes an error that it cannot open the
>>> PDF because the PDF does not exist. Indeed, if I check the temp
>>> directory
>>> for LyX, all files are present but the PDF. I get no other warnings or
>>> errors from texi2dvi and cannot figure out why this happens.
>>>
>> Did you look at Document>  LaTeX log? Sometimes it will display errors
>> that are not popped-up by LyX.
>
> That menu item is greyed out, presumably because I used a converter
> through the batch file to make the PDF, so LyX wasn't really doing the
> work (and thus does not have record of the transaction?).
>
>>> Can someone help me figure out why texi2dvi fails to produce a PDF?
>>> Does anyone know if it is perhaps something about MiKTeX and the way
>>> the texi2dvi.exe works? Might it be possible to bypass that program
>>> and do the conversion via LyX more directly after R finishes the
>>> Sweaving and Stangling?
>>>
>> Did you try pdflatex, or ps2pdf?
>
> Yeah, pdflatex works a charm when called on the tex file resulting
> from Sweaving directly from the command line. That's what I was
> getting at here. It seems like the issue is in R's function texi2dvi
> (which calls MiKTeX's texi2dvi.exe to do the work), so I was hoping
> there was some way to let the converter in LyX run the batch file,
> pass the Sweaving/Stangling and TeX file production off to R, then
> come back and run pdflatex out of LyX to get the PDF from the TeX
> file. Surely this is possible?
>
>
> Thanks a million for the help!
>
>




Re: Error for xetex generated pdf on lulu.com: Your document could not be created: The Times-Bold font is not embedded.

2010-04-09 Thread Guenter Milde
On 2010-04-08, Anthony Campbell wrote:
> On 07 Apr 2010, Michael Joyner ᏩᏯ wrote:
>> Error for xetex generated pdf on lulu.com: Your document could not
>> be created: The Times-Bold font is not embedded.

>> How do I tell it to embed what Lulu is expecting to be embedded?

AFAIK, XeTeX does not embed the PDF-standard fonts
(Times/Helvetica/Courier) that are required to be present for any
PDF-using application by the PDF standard.

You might find a config setting or command line switch to change this
behaviour in the XeTeX documentation.

Alternatively, you can select a lookalike font like TeX-Gyre Termes.

Günter




Re: bibtopic usage

2010-04-09 Thread Thibaud Hulin

Hi,
This is my CV in lyx format, with bibtopic.sty and 2 bibliography for tests.
Thanks,
Thibaud.

Le 09/04/2010 10:38, Jürgen Spitzmüller a écrit :

Thibaud Hulin wrote:
   

The option `dot' was not declared in package `bibtopic', perhaps you

misspelled its name. Try typing  to proceed.
 

Could you post an example file?

Jürgen
   




cv-th.lyx
Description: application/lyx
%% BIBTOPICS.STY, a  package following from the
%% BIBUNITS.STY	by Jose Alberto Fernandez (albe...@cs.umd.edu)
%%
%% BIBTOPICS.STY is a style to generate a single bibliography
%% made up of several topics. For instance: books, procedings
%% articles, thesis, .. However we want the bibitems alphabetically 
%% sorted by authors but a single numeration 
%% for all this bibliography. This is the main difference with
%% BIBUNITS.STY, because at the beginning of each unit, corresponding 
%% to a new topic, the counter of the bibitems is not reinitialized.
%%
%%
%% The environment 

Re: A little help with LyX-Sweave-R

2010-04-09 Thread Pavel Sanda
phgrosj...@sciviews.org wrote:
> I have it also running on Mac OS X and Linux, but the files and
> instructions in the link provided above are for Windows only (tested on
> Windows XP sp3). Please, ask me later on for the other configs... but for
> today, I don't have time to compile them.

fyi there should better support in lyx 2.0 and in case you want something
to contribute directly into lyx distribution, its just the right time to
check out lyx 2.0 alpha and discuss things on devel list so 2.0 is compatible...

pavel


Re: interesting narrowing feature in a text editor

2010-04-09 Thread Rob Oakes
On Fri, 2010-04-09 at 07:37 -0400, rgheck wrote:
> On 04/09/2010 03:49 AM, Abdelrazak Younes wrote:
> > On 04/09/2010 07:31 AM, Jose Quesada wrote:
> >> What I would like to know is... is this narrowing feature interesting 
> >> for
> >> people here?
> >
> > Yes.
> >
> >> Or is it just me who thinks that it would improve workflow and
> >> reduce mental load?
> >
> > Not just you. The good thing with LyX is that you can navigate easily 
> > from paragraph to paragraph with the keyboard. But in order to make 
> > that feature really useful without being forced to use the mouse, you 
> > would also need shortcuts for navigating between sections.
> >
> >> In case it's interesting, I'll file an enhancement
> >> request. Doesn't sound terribly difficult to implement, but I may be
> >> wrong...
> >
> > Should not be terribly hard indeed. All the code for scrolling 
> > settings is in BufferView class if you want to experiment.
> >
> The other thing I've considered, along these lines, is the ability to 
> collapse sections, a la the ability to collapse for loops, functions, 
> etc, in any decent programming editor. That would in some ways serve a 
> very similar purpose, especially if you could just hit "Collapse All" 
> and then use the outliner to uncollapse what you actually wanted to 
> edit. Little triangles at the side, like in QtCreator, would work too.
> 
> rh
> 

This is something that I would like to implement.  I also have some
other ideas regarding how to filter sections, but I haven't really
thought through them yet.  I've just been trying to get a simple
implementation of the outline improvements first.

I've found that my appetite can greatly exceed my available time if I'm
not careful.

Cheers,

Rob




Re: LyX and Aspell in spanish

2010-04-09 Thread Andrés Becerra Sandoval
On Thu, Apr 8, 2010 at 3:07 PM, Mchapa  wrote:
> Hello everyone. I have a problem with Aspell in LyX, it works pretty nice in
> English, but i cannot use it in spanish, i got an error message that says:
>
> The spellcheker could not be started
> No word list can be found for the language "es_ES".
>
> I installed both dicc. at the same time. I created an Alias file called 
> "es_ES"
> but it did not solve the problem.
>
> Could someone lend me a hand, please? Thanks a lot in advance
>
>

Hello,

I use aspell (in spanish) everyday in LyX and in KDE-4 applications.

¿Can you use aspell in other programs?

¿What is your operating system?


-- 
  Andrés


Re: A little help with LyX-Sweave-R

2010-04-09 Thread David Hewitt
Man, this will be awesome. To clarify, Prof. Grosjean, can you
indicate what specific connection this will require with SciViews? I
use Tinn-R for code editing, but my workflow with LyX-R-Sweave
requires no editor. Would the same be true for what you are
developing?

Lastly, I think I may have discovered part of the problem. Perhaps
someone on this list is familiar enough with LaTeX config in MiKTeX in
Windows to sort it out for me. It might be related to having some
MiKTeX packages as "All Users" that are installed and updated with
Admin privileges and others that are specific to my own account. I get
a Windows API Error if I run texify.exe on a file:

Windows API error 14001: This application has failed to start because the
application configuration is incorrect. Reinstalling the application
may fix this problem.
texify: Data: C:\Documents and Settings\dhewitt\Application
Data\MiKTeX\2.8\miktex\bin\pdflatex.EXE

But if I run pdflatex.exe (which I believe calls the EXE in C:\Program
Files\MiKTeX 2.8\miktex\bin) on the same file, it all works.

In general, I don't understand the details of pdflatex, texify,
texi2dvi, etc. that are used in the processing, and how they relate to
each other. If I did, I could probably troubleshoot this more easily.

- Dave


On Fri, Apr 9, 2010 at 4:45 AM,   wrote:
> It's a couple of months that I prepare an alternate, complete LyX/R/Sweave
> solution (for SciViews). It provides more than just the possibility to
> weaving/tangling LyX documents (new styles, menu entries and toolbar
> buttons to easily create various R chunks, a weaving/tangling log or
> errors or warnings, Sweave features contaibned in a LyX module, etc.)
>
> It is not completely finished, but pretty usable for now. If you like, I
> have put everything in a zip file you can get from here:
> http://www.sciviews.org/LyX/SciViewsLyX16.zip. Then, follow the ReadMe.txt
> file included in it.
>
> Take care: it completely replaces your whole LyX configuration! You have
> to backup it first (as explained in the ReadMe.txt file).
>
> With this version, R only converts the LyX file to .tex and LyX does the
> rest like producing a DVI, PDF or PS. Also, you can produce the .Rnw file
> to compile it outside of LyX (useful for packages vignettes, for
> instance).
>
> I have it also running on Mac OS X and Linux, but the files and
> instructions in the link provided above are for Windows only (tested on
> Windows XP sp3). Please, ask me later on for the other configs... but for
> today, I don't have time to compile them.
>
> Best,
>
> Philippe Grosjean
>
> On 09/04/10 00:41, David Hewitt wrote:
 I run LyX from a command window and watch what goes on in the
 background. All goes fine through the whole process, texi2dvi runs and
 finishes (and I can confirm that it finds and executes texi2dvi.exe in
 the MiKTeX bin), and then LyX pukes an error that it cannot open the
 PDF because the PDF does not exist. Indeed, if I check the temp
 directory
 for LyX, all files are present but the PDF. I get no other warnings or
 errors from texi2dvi and cannot figure out why this happens.

>>> Did you look at Document>  LaTeX log? Sometimes it will display errors
>>> that are not popped-up by LyX.
>>
>> That menu item is greyed out, presumably because I used a converter
>> through the batch file to make the PDF, so LyX wasn't really doing the
>> work (and thus does not have record of the transaction?).
>>
 Can someone help me figure out why texi2dvi fails to produce a PDF?
 Does anyone know if it is perhaps something about MiKTeX and the way
 the texi2dvi.exe works? Might it be possible to bypass that program
 and do the conversion via LyX more directly after R finishes the
 Sweaving and Stangling?

>>> Did you try pdflatex, or ps2pdf?
>>
>> Yeah, pdflatex works a charm when called on the tex file resulting
>> from Sweaving directly from the command line. That's what I was
>> getting at here. It seems like the issue is in R's function texi2dvi
>> (which calls MiKTeX's texi2dvi.exe to do the work), so I was hoping
>> there was some way to let the converter in LyX run the batch file,
>> pass the Sweaving/Stangling and TeX file production off to R, then
>> come back and run pdflatex out of LyX to get the PDF from the TeX
>> file. Surely this is possible?


Re: Error for xetex generated pdf on lulu.com: Your document could not be created: The Times-Bold font is not embedded.

2010-04-09 Thread Michael Joyner
Actually the only fonts I am using are 'Digohweli', 'Aborginal Serif', and
'Aboriginal Sans' so I was definitely surprised by Lulu asking me for
the Times font I will try and Google for XeTeX font embedding
information. Or maybe just put in a 'Times' segment in somewhere to maybe
trigger embed...

On Fri, Apr 9, 2010 at 8:03 AM, Guenter Milde wrote:

> On 2010-04-08, Anthony Campbell wrote:
> > On 07 Apr 2010, Michael Joyner ᏩᏯ wrote:
> >> Error for xetex generated pdf on lulu.com: Your document could not
> >> be created: The Times-Bold font is not embedded.
>
> >> How do I tell it to embed what Lulu is expecting to be embedded?
>
> AFAIK, XeTeX does not embed the PDF-standard fonts
> (Times/Helvetica/Courier) that are required to be present for any
> PDF-using application by the PDF standard.
>
> You might find a config setting or command line switch to change this
> behaviour in the XeTeX documentation.
>
> Alternatively, you can select a lookalike font like TeX-Gyre Termes.
>
> Günter
>
>
>


LyX success story

2010-04-09 Thread Les Denham
Back in December, I was working on a research project which was winding down, 
and we were drafting the final report.  The team leader complained to me that 
he could not see a reasonable way to get everything into a decent looking 
report using MS Word. He was having a lot of trouble with cross-references in 
particular.

So I suggested using LyX, and installed it on his laptop for him.

After a day working with it, he became enthusiastic about LyX, and over the 
next few weeks I received occasional phone calls asking how to achieve some 
particular layout, etc.

Finally, he called to tell me he had delivered the report to the client.

Yesterday I was visiting him, and he showed me the final paper version of the 
report.  It certainly does look impressive.  I don't think any other system 
could produce a document with 458 pages, over 400 figures, and a bibliography 
of about 100 items.  Especially with cross-references and citations on nearly 
every page.

And this was put together by one person in about three weeks.
-- 
..
Les Denham


beamer: AMS label color changed

2010-04-09 Thread Ignacio García
Translating the AMS environment labels (theorem, proof, etc) is now 
(from LyX 2.0) automagically made in modules. (thanks to Richard H.:)

Unfortunately, using these modules it's no possible in beamer.
Therefore, translating the theorem labels can be achieved through
two ways ( http://wiki.lyx.org/LyX/I18nLabels ) 
- translator with a foo.dict (it's my way by now) or
- through the commands:

\newtheorem{exa}{Ejemplo}
\renewenvironment{example}{\begin{exa}}{\end{exa}}
and the like

There is an issue with colors. Without the commands above:
'Example' appears green in LyX, green in pdf output
'Theorem' or 'corollary' appear blue in LyX and output. All OK

Using the commands above, the green color is changed to blue (?) in
the output. It happens with 1.6.5 or 2.0.0, for English or French
documents, too. (E.g., template (fr_)beamer-conference-ornate-20min.lyx) 
   
Otherwise, it seems to work without any problem.

Regards
Ignacio 



Re: LyX and Aspell in spanish

2010-04-09 Thread Mchapa

> Hello,
> 
> I use aspell (in spanish) everyday in LyX and in KDE-4 applications.
> 
> ¿Can you use aspell in other programs?
> 
> ¿What is your operating system?
> 

Hi. I am using Win. Vista home premium. I haven't tried to use aspell with any
other program, but it does not respond from the comman line either. i tried to
reinstall the spanish dicc. but it didnt work. I wonder what is wrong. 




Re: LyX and Aspell in spanish

2010-04-09 Thread Mchapa


Hello Mr. Uwe

I tried  to solve it reinstaling the spanish dicc. with the one you suggest, but
unfortunatelly it didn't work if i dont get results, I will try to reinstall LyX
completelly. Thanks 





Re: beamer: AMS label color changed

2010-04-09 Thread Uwe Stöhr

Ignacio García schrieb:

Translating the AMS environment labels (theorem, proof, etc) is now 
(from LyX 2.0) automagically made in modules. (thanks to Richard H.:)


Unfortunately, using these modules it's no possible in beamer.
Therefore, translating the theorem labels can be achieved through
two ways ( http://wiki.lyx.org/LyX/I18nLabels ) 
- translator with a foo.dict (it's my way by now) or

- through the commands:

\newtheorem{exa}{Ejemplo}
\renewenvironment{example}{\begin{exa}}{\end{exa}}
and the like

There is an issue with colors.


Does it help if you use this code instead:

\theoremstyle{plain}
\newtheorem{exa}{Ejemplo}
\renewenvironment{example}{\begin{exa}}{\end{exa}}

If not, I have no idea for now.

regards Uwe


Re: Error for xetex generated pdf on lulu.com: Your document could not be created: The Times-Bold font is not embedded.

2010-04-09 Thread Guenter Milde
On 2010-04-09, Michael Joyner wrote:
> On Fri, Apr 9, 2010 at 8:03 AM, Guenter Milde wrote=
>> > On 07 Apr 2010, Michael Joyner =E1=8F=A9=E1=8F=AF wrote:

>> >> Error for xetex generated pdf on lulu.com: Your document could not
>> >> be created: The Times-Bold font is not embedded.

> Actually the only fonts I am using are 'Digohweli', 'Aborginal Serif', and
> 'Aboriginal Sans' so I was definitely surprised by Lulu asking me for
> the Times font 

I *guess* that at least one of your fonts is missing a "bold" variant
and Times Bold is used as fallback.

> I will try and Google for XeTeX font embedding
> information. Or maybe just put in a 'Times' segment in somewhere to maybe
> trigger embed...

Maybe defining a different fallback font could help (or eleminating
the bold text part or setting it in a font that has a bold variant or
...)

Günter





Re: beamer: AMS label color changed

2010-04-09 Thread Ignacio García
Uwe Stöhr  writes:


> 
> Does it help if you use this code instead:
> 
> \theoremstyle{plain}
> \newtheorem{exa}{Ejemplo}
> \renewenvironment{example}{\begin{exa}}{\end{exa}}
 
Already I had checked that, but there is no changes.
The translator package solution works fine

Many thanks
Ignacio 
  






Re: Error for xetex generated pdf on lulu.com: Your document could not be created: The Times-Bold font is not embedded.

2010-04-09 Thread Michael Joyner ᏩᏯ

Guenter Milde wrote:



Actually the only fonts I am using are 'Digohweli', 'Aborginal Serif', and
'Aboriginal Sans' so I was definitely surprised by Lulu asking me for
the Times font 



I *guess* that at least one of your fonts is missing a "bold" variant
and Times Bold is used as fallback.
  


Indeed!
  
Maybe defining a different fallback font could help (or eleminating

the bold text part or setting it in a font that has a bold variant or
...)
  
I would I define a different fall-back font? The Digohweli font does not 
have any variations to it. :(

I currently have the following in my header:


%\usepackage{musictex}


\usepackage{abc}


\usepackage{multicol}


\usepackage{fontspec}


\usepackage{xunicode}


\usepackage{xltxtra}


\usepackage{epigraph}


\setmainfont[BoldFont={Aboriginal Serif Bold},ItalicFont={Aboriginal 
Serif Italic},BoldItalicFont={Aboriginal Serif Bold Italic}]{Digohweli}



\setsansfont[]{Aboriginal Sans}



eLyXer 0.43 released

2010-04-09 Thread Alex Fernandez
Hi folks,

Version 0.43 of eLyXer has just been released. This version features
integration with jsMath, which improves output quality in several
cases:
  http://www.nongnu.org/elyxer/math-jsmath.html
and the next-generation MathJax which enables MathML output:
  http://www.nongnu.org/elyxer/math-mathjax.html
Changes include:
---
- Many BibTeX improvements: new style abbrvnat, conditional
formatting, look up types in lowercase, understand “--” as dash.
- Added options for mathematical equations: --jsmath to use jsMath and
--mathjax to use MathJax.
- Added command help to loremipsumize.py so it can be used outside of eLyXer.
- Include internationalization files in .zip file.
- Solved bug in table parsing: separate different plain layouts (thanks, Sara!).
- eLyXer compressed files now contain a single directory called
elyxer-$VERSION, instead of just elyxer.
- Added italicized uppercase Greek letters. De-italicized regular
uppercase Greek letters.
---
Complete changelog:
 http://www.nongnu.org/elyxer/changelog.html

Download from nongnu.org mirrors:
 https://savannah.nongnu.org/files/?group=elyxer

If the new version has not hit your favorite mirror yet:
 http://download.savannah.gnu.org/releases-noredirect/elyxer/

Thanks,

Alex Fernández.


Re: Error for xetex generated pdf on lulu.com: Your document could not be created: The Times-Bold font is not embedded.

2010-04-09 Thread Typhoon
On Fri, 09 Apr 2010 18:46:07 -0400
Michael Joyner ᏩᏯ  wrote:

> Guenter Milde wrote:
> >
> >> Actually the only fonts I am using are 'Digohweli', 'Aborginal
> >> Serif', and 'Aboriginal Sans' so I was definitely surprised by
> >> Lulu asking me for the Times font 
> >> 
> >
> > I *guess* that at least one of your fonts is missing a "bold"
> > variant and Times Bold is used as fallback.
> >   
> 
> Indeed!
> >   
> > Maybe defining a different fallback font could help (or eleminating
> > the bold text part or setting it in a font that has a bold variant
> > or ...)
> >   
> I would I define a different fall-back font? The Digohweli font does
> not have any variations to it. :(
> I currently have the following in my header:
> 
> 
> %\usepackage{musictex}
> 
> 
> \usepackage{abc}
> 
> 
> \usepackage{multicol}
> 
> 
> \usepackage{fontspec}
> 
> 
> \usepackage{xunicode}
> 
> 
> \usepackage{xltxtra}
> 
> 
> \usepackage{epigraph}
> 
> 
> \setmainfont[BoldFont={Aboriginal Serif Bold},ItalicFont={Aboriginal 
> Serif Italic},BoldItalicFont={Aboriginal Serif Bold Italic}]
> {Digohweli}
> 
> 
> \setsansfont[]{Aboriginal Sans}
> 

I haven't checked lately, and it was never properly advertised, but
lulu.com will (or at least would) accept a postscript manuscript and do
the conversion to pdf. That might be one way to solve your problem.

Cheers,
Alan


-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206



Re: Alternating Context in a Beamer Presentation

2010-04-09 Thread Paul Rubin
Srinivas Nedunuri  writes:

> 
> Ideally I'd like something like "Theory" to appear on 
> theory slides and "Example" on example slides.

You could just add one or the other to the title of each relevant slide -- maybe
in a funky typeface or color, perhaps in a shadowed box.  I'd flush it to the
right.  Alternatively, you could add a small graphic to the title, maybe a
picture of a tool for the application and a picture of someone napping for the
theory?

/Paul




Re: interesting narrowing feature in a text editor

2010-04-09 Thread Steve Litt
On Friday 09 April 2010 07:37:18 rgheck wrote:
> On 04/09/2010 03:49 AM, Abdelrazak Younes wrote:
> > On 04/09/2010 07:31 AM, Jose Quesada wrote:
> >> What I would like to know is... is this narrowing feature interesting
> >> for
> >> people here?
> >
> > Yes.
> >
> >> Or is it just me who thinks that it would improve workflow and
> >> reduce mental load?
> >
> > Not just you. The good thing with LyX is that you can navigate easily
> > from paragraph to paragraph with the keyboard. But in order to make
> > that feature really useful without being forced to use the mouse, you
> > would also need shortcuts for navigating between sections.
> >
> >> In case it's interesting, I'll file an enhancement
> >> request. Doesn't sound terribly difficult to implement, but I may be
> >> wrong...
> >
> > Should not be terribly hard indeed. All the code for scrolling
> > settings is in BufferView class if you want to experiment.
> 
> The other thing I've considered, along these lines, is the ability to
> collapse sections, a la the ability to collapse for loops, functions,
> etc, in any decent programming editor. That would in some ways serve a
> very similar purpose, especially if you could just hit "Collapse All"
> and then use the outliner to uncollapse what you actually wanted to
> edit. Little triangles at the side, like in QtCreator, would work too.
> 
> rh

Vim does this with its "Folding" feature. Because it uses the Vim engine, 
VimOutliner also does collapse/expand. VimOutliner also does hoisting, 
although in my opinion VimOutliner hoisting isn't ready for prime time and can 
lose data.

SteveT