Re: Making a presentation in LyX

2010-04-08 Thread Guenter Milde
On 2010-04-08, Typhoon wrote:

 Well, if you are going to abandon LyX for the job, you might also want
 to take a look at S5: http://meyerweb.com/eric/tools/s5/

 Depends on how fancy your presentation needs to be, but I like S5 for
 fairly simple ones (and I personally think that most *should* be
 simple).

 Sorry for the OT post.

To be even more OT: for simple presentations, the Docutils frontend to S5
provides an easy to understand WYSIWYM input language (reStructuredText).
http://docutils.sourceforge.net/docs/user/slide-shows.html


Günter




Re: insert custom layout

2010-04-08 Thread Guenter Milde
On 2010-04-08, Julien Rioux wrote:
 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.

I rather recommend to 

  Input book.layout

instead of copying. You can then add and override definitions in the rest
of the file (once the layout is up and working).
(See e.g. the dinbrief.layout for an example of this approach.)

Also, for debugging

* Test if the liuthesis document class works as expected in pure LaTeX.
  (Check if the sample LaTeX documents (or a self-written LaTeX file)
  works if compiled from the command line.)

* Export your non-working LyX document to LaTeX and see if this works
  fine or why it fails.


Günter



Re: Track Changes with Word

2010-04-08 Thread Guenter Milde
On 2010-04-07, Vincent van Ravesteijn wrote:
 Jack Desert schreef:
 El Tue, 06 Apr 2010 19:41:07 -0400
 rgheck rgh...@bobjweil.com escribió:


 How do I set up a shortcut to insert a greyed out note? Tools - Prefs
 - Editing - Shortcuts shows an option for Note, but not one for
 Greyed-out-note. 


 In Tools-Prefs-Editing-Shortcuts, hit New, enter note-insert 
 Greyedout, choose a shortcut, and press OK.


Is there a way to find the valid options of an lfun (like note-insert)
except asking on this list?

Could the TAB-expansion in the command buffer (M-x ...) be extended to
work also for command options (in cases where there is a set of
allowed options)? 

Günter



Re: First impressions of Beamer

2010-04-08 Thread Jean-Marc Lasgouttes
Steve Litt sl...@troubleshooters.com writes:
 For this little presentation I didn't need 3/4 of the features like
 table of contents, hierarchical outline, and the supremely ugly header
 and footer above and below the white of the presentation. So I need to
 expand the white to cover the full screen, but somehow need to put a
 footer on every page for my copyright notice. I guess I'll be making a
 layout file called mybeamer.

Since everybody is adding its own suggestion, I will cite foilTeX, which
is in the minimal but effective category. This is what I use for all
my presentations. The class is foils, but it may not be installed on
your system (it is free to use, but the IBM copyright forbids placing it
in miktex or texlive).

JMarc


Re: Translations to nynorsk and bokmål

2010-04-08 Thread Helge Hafting

Ingar Pareliussen wrote:
@ Ingar: LyX needs your translation help. LyX 1.6.6 comes out in 2 weeks and perhaps you find the 
time to update no.po and/or nn.po.


Yes, I know. Sadly my schedule is the next month is quite full (edit one book, write one 
bookchapter and my regular work on top), and it might be difficult to find the time.


It would be easier to find the time if I knew that there were people in addition to me that 
used these languages :). (send me a email). I promise anyway that I will come back and do 
better job for the next version.


There are 4 norwegian lyx users where I work. :-)

I try working on nb.po now and then. Unfortunately, I have run into an 
odd problem:


I can use M p 3 to select section, but not M p * 3 to select 
section*.


This is clearly a problem with my translation, because the problem
only shows when using the nb language. Unfortunately, I have no idea 
what causes this. Last time it happened, I had used a forbidden

keyboard shortcut. But I couldn't find something like that
this time.

So I plan on a binary search, blanking out half of the
translations in a test po-file. I should be able to find
the bad entry/entries this way - the problem is, as usual,
to find time. :-/

Helge Hafting


Re: Track Changes with Word

2010-04-08 Thread Jürgen Spitzmüller
Guenter Milde wrote:
 Is there a way to find the valid options of an lfun (like note-insert)
 except asking on this list?

Help  LyX Functions.

Jürgen


Re: Making a presentation in LyX

2010-04-08 Thread Anthony Campbell
On 07 Apr 2010, Steve Litt wrote:
 
[snip] 

 As I read that doc I begin to wonder whether pure LaTeX would be the 
 preferred 
 way to make a Beamer presentation. LyX is great for 50,000 word books, but 
 I'm 
 thinking the line oriented nature of LaTeX might better match the line 
 oriented nature of a presentation, and I find it easier to understand in 
 LaTeX.

I've used plain latex with Prosper to make my slides for the last 5
years or so. Recently I decided to have a go with Lyx Beamer and am
happy with the result. This is quite a large enterprise: 40 sequential
sets of slides, each with up to 20 slides. The main advantage is that it
is easy to modify a slide quickly and see what the result will look like
at once.

I used beameruserguide.pdf to learn how to do it and found it pretty
helpful. There are specific pointers to Lyx in it. The main difficulties
I found were working out how to use the columns environment and putting
things into blocks without invoking a title (solved this by starting
with Ctrl-Space).

Anthony


-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux 
http://www.acampbell.org.uk - sample my ebooks at
http://www.smashwords.com/profile/view/acampbell



Re: Translations to nynorsk and bokmål

2010-04-08 Thread Jürgen Spitzmüller
Helge Hafting wrote:
 I try working on nb.po now and then. Unfortunately, I have run into an 
 odd problem:
 
 I can use M p 3 to select section, but not M p * 3 to select 
 section*.
 
 This is clearly a problem with my translation, because the problem
 only shows when using the nb language. Unfortunately, I have no idea 
 what causes this. Last time it happened, I had used a forbidden
 keyboard shortcut. But I couldn't find something like that
 this time.

Works here without problem when running LANG=nb lyx (I have a German 
keyboard).

Jürgen


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

2010-04-08 Thread Anthony Campbell
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?
 

I always upload my lulu files in postscript form and let Lulu make the
pdf. This always works.

Anthony

-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux 
http://www.acampbell.org.uk - sample my ebooks at
http://www.smashwords.com/profile/view/acampbell



Re: Making a presentation in LyX

2010-04-08 Thread Typhoon
On Thu, 8 Apr 2010 07:24:33 + (UTC)
Guenter Milde mi...@users.berlios.de wrote:

 On 2010-04-08, Typhoon wrote:
 
  Well, if you are going to abandon LyX for the job, you might also
  want to take a look at S5: http://meyerweb.com/eric/tools/s5/
 
  Depends on how fancy your presentation needs to be, but I like S5
  for fairly simple ones (and I personally think that most *should* be
  simple).
 
  Sorry for the OT post.
 
 To be even more OT: for simple presentations, the Docutils frontend
 to S5 provides an easy to understand WYSIWYM input language
 (reStructuredText).
 http://docutils.sourceforge.net/docs/user/slide-shows.html

Hi Gunter,
Agree with that 100%! It is what I use for all my S5 presentations. I
like reStructuredText a lot - it is easy to get other people to do
simple things in it for interchangeable stuff.

But now I guess we are way off topic. Still, it is a nice way to do
simple presentations!

Cheers,
Alan

 
 
 Günter
 
 
 


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



biblatex: no urldate

2010-04-08 Thread Bastian Ulber
Dear list,

i have a problem regarding biblatex: the information about last visit of an 
online resource (urldate) in an @ONLINE entry isn´t in the output. Everything 
else looks OK.

I am using Lyx 1.6.5 with MacTeX on MacOSX 10.6.3, all packages are up to date. 
I am using JabRef 2.5 as reference manager (tried BibDesk but same result). I 
attached an Lyx Tex export and an example entry of my JabRef database. I am 
working with child documents (Include command) for the different parts of my 
thesis, which isnt shown below.

Regards

Bastian


--Tex-Export of LyX--
%% LyX 1.6.5 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[12pt,ngerman,toc=listof,ngerman]{scrartcl}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[a4paper]{geometry}
\geometry{verbose,tmargin=3cm,bmargin=2cm,lmargin=4cm,rmargin=2.5cm}
\usepackage{fancyhdr}
\pagestyle{fancy}
\usepackage{array}
\usepackage{booktabs}
\usepackage{setspace}
\usepackage{nomencl}
% the following is useful when we have the old nomencl.sty package
\providecommand{\printnomenclature}{\printglossary}
\providecommand{\makenomenclature}{\makeglossary}
\makenomenclature
\onehalfspacing
\usepackage[unicode=true, pdfusetitle,
bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
breaklinks=true,pdfborder={0 0 1},backref=false,colorlinks=false]
{hyperref}
\makeatletter
%% LyX specific LaTeX commands.
%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}
%% User specified LaTeX commands.
% --- schönere Schrift
\usepackage[T1]{fontenc}
\usepackage{lmodern}
% neue deutsche Rechtschreibung
\usepackage[ngerman]{babel}
% BibLaTeX als Literaturverzeichnis
\usepackage[style=chem-biochem,natbib=true,subentry,urldate=long]{biblatex}
\bibliography{/bibFile}
\usepackage{csquotes}
% --- Trennungsverhalten verbessern
\usepackage{microtype}
% Abschnittsweise Nummerierung
\usepackage{caption}
\captionsetup{within=section}
% --- Bezeichnungen ändern
% siehe http://wiki.lyx.org/LyX/I18nLabels und scrguide.pdf
\DeclareLanguageMapping{ngerman}{cms-ngerman}
\addto\captionsngerman{\renewcommand{\refname}{Literaturverzeichnis}\renewcommand{\bibname}{Literaturverzeichnis}\renewcommand{\figurename}{Abbildung}\renewcommand{\tablename}{Tabelle}}
% --- Kopf- und Fußzeilen definieren
\usepackage{fancyhdr}
\addtolength{\headheight}{1ex}
\fancyhead[L]{\leftmark} % links Kapitelname
\fancyhead[R]{\thepage} % rechts Seitenzahl
\fancyfoot[C]{\ } % Fußzeile leer
\lhead{\nouppercase{\leftmark}} % Kapitelname nur Anfangsbuchstabe groß
% --- Abkürzungsverzeichnis
% Befehl zur Erstellung der Nomenklatur umschreiben - vor Nomenklatur 
addsec/section/chapter ausführbar, siehe nomencl.pdf
\renewcommand{\thenomenclature}{%
\addsec{\nomname}
\nompreamble
\list{}{%
\labelwidth\...@tempdim
\leftmargin\labelwidth
\advance\leftmargin\labelsep
\itemsep\nomitemsep
\let\makelabel\nomlabel}
}
\renewcommand{\nomname}{Abkürzungsverzeichnis}
% Größe der Label einheitlich
\setlength{\nomlabelwidth}{.20\hsize}
\makeatother
\begin{document}
\cite{key}
\printbibliography[heading=bibintoc]
\end{document}




-- Entry in JabRef bibFile --
% This file was created with JabRef 2.5.
% Encoding: UTF8

@ONLINE{key,
  title = {Titel of online resource},
  url = {http://www.webpage.com},
  urldate = {2010-28-03},
  author = {Anonym},
  bdsk-url-1 = {http://www.webpage.com},
  owner = {bastian},
  timestamp = {2010.03.21}
}

LaTeX Linebreaking Question

2010-04-08 Thread rgheck


I need to refer to a book entitled The Semantics/Pragmatics 
Distinction. I'd like to inform LaTeX that it is OK to break after the 
slash, but without a hyphen. How?


rh



Re: LaTeX Linebreaking Question

2010-04-08 Thread Jürgen Spitzmüller
rgheck wrote:
 I need to refer to a book entitled The Semantics/Pragmatics 
 Distinction. I'd like to inform LaTeX that it is OK to break after the 
 slash, but without a hyphen. How?

\slash, or in LyX: Insert  Special Character  Breakable Slash

I usually use the following redefinition of the slash macro in the preamble:

\def\slash{/\penalty\exhyphenpenalty\hski...@skip}

Contrary to the original (which is defined in the LaTeX kernel), this one 
allows also hyphenations after the slash, as in Semantics/Pragma-tics

HTH,
Jürgen


Re: LaTeX Linebreaking Question

2010-04-08 Thread Julien Rioux

Insert  Special Chars  Breakable Slash

equivalent to \slash in LaTeX

--
Julien



Re: LaTeX Linebreaking Question

2010-04-08 Thread rgheck

On 04/08/2010 09:48 AM, Jürgen Spitzmüller wrote:

rgheck wrote:
   

I need to refer to a book entitled The Semantics/Pragmatics
Distinction. I'd like to inform LaTeX that it is OK to break after the
slash, but without a hyphen. How?
 

\slash, or in LyX: Insert  Special Character  Breakable Slash

I usually use the following redefinition of the slash macro in the preamble:

\def\slash{/\penalty\exhyphenpenalty\hski...@skip}

Contrary to the original (which is defined in the LaTeX kernel), this one
allows also hyphenations after the slash, as in Semantics/Pragma-tics

   

Thanks to you and to the others who replied.

rh



Re: Translations to nynorsk and bokmål

2010-04-08 Thread Helge Hafting

Jürgen Spitzmüller wrote:

Helge Hafting wrote:
I try working on nb.po now and then. Unfortunately, I have run into an 
odd problem:


I can use M p 3 to select section, but not M p * 3 to select 
section*.


This is clearly a problem with my translation, because the problem
only shows when using the nb language. Unfortunately, I have no idea 
what causes this. Last time it happened, I had used a forbidden

keyboard shortcut. But I couldn't find something like that
this time.


Works here without problem when running LANG=nb lyx (I have a German 
keyboard).


Interesting.

I use nb_NO.UTF-8, using nb merley falls back to english here. But I 
assume your lyx came up with Norwegian menus and so on.


I get the problem with lyx 1.6.5 from debian. Time to compile again,
it seems.

Helge Hafting



Re: Translations to nynorsk and bokmål

2010-04-08 Thread Jürgen Spitzmüller
Helge Hafting wrote:
 I use nb_NO.UTF-8, using nb merley falls back to english here. But I 
 assume your lyx came up with Norwegian menus and so on.

If I use LANG=nb, the menus are English (but the dialogs are Norwegian). If I 
use LANG=nb_NO, everything is Norwegian (and the problem you describe still 
doesn't show up).

This is latest 1.6.6svn branch. 

Jürgen


Re: A box... over two pages

2010-04-08 Thread Helge Hafting

Frederick Noronha wrote:
Could someone kindly help me on how to get a box continue over two pages 
of a book (it's too long to fit on one page). Thanks! FN


Insert-Box, if you haven't done that already.

Right-click the box, and set the type to Simple Frame, page breaks.

This is the only kind of box that can be broken across pages. The other
boxes can't do that.

Helge Hafting


A little help with LyX-Sweave-R

2010-04-08 Thread David Hewitt
This is a bit of a tangent from true LyX issues, but it is related and
I suspect the expertise exists on this list to solve my problem. I
appreciate any help. For those also on the R-Help mailing list, I
apologize for the duplication.

I use LyX on a Windows XP machine with R 2.10.1 and a recent
installation of MiKTeX 2.8. I followed Jeff Laake's instructions on
the LyX Wiki (which I recently posted! --
http://wiki.lyx.org/LyX/LyxWithRThroughSweave) and had things all set
up to run Sweave and Stangle and then make the PDF through R (though a
batch script called from LyX then on to a MakeSweave.R file that does
the work through R). All of this system worked just fine until I ran
some MiKTeX updates yesterday.

After the updates yesterday, which I noticed included the miktex core
stuff, everything goes smoothly except that the code in the
MakeSweave.R file that runs texi2dvi (an R function that calls the
MiKTeX-distributed texi2dvi.exe to do the work) seems not to produce a
PDF but gives no warnings or errors.

The contents of the batch file are:

Rterm --no-site-file --no-save -f C:/Program Files/LyX
1.6.5/bin/MakeSweave.R --args %1

The batch file is called in the temporary directory where LyX does its work,

The MakeSweave.R contents are:

library(tools)
args - commandArgs()
filename - args[length(args)]
Sweave(filename)
Stangle(filename)
basename - sub(\\.(Rnw|Rtex|nw)$, , filename)
texi2dvi(paste(basename, .tex, sep=), pdf=TRUE)

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.

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?

A potential complication (as always) is that I am working in a
non-Admin account on the machine. I can invoke Admin permissions to
change things and had managed to get everything working before.
Permissions may be an issue, but I have set full access to all the
folders involved in this process (R, LyX, MiKTeX bins for example),
and this got it working prior to updates. I am hoping that is not it.
It seems like an issue with texi2dvi.

Dave Hewitt
Research Fishery Biologist
USGS Western Fisheries Research Center
Klamath Falls Field Station, Oregon
http://profile.usgs.gov/dhewitt


Re: insert custom layout

2010-04-08 Thread Sajjad
On Thu, Apr 8, 2010 at 4:24 AM, Julien Rioux jri...@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 ?


 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.

 --
 Julien




LyX and Aspell in spanish

2010-04-08 Thread Mchapa
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



Re: Track Changes with Word

2010-04-08 Thread Jack Desert

  How do I set up a shortcut to insert a greyed out note? Tools - Prefs - 
  Editing - Shortcuts shows an option for Note, but not one for 
  Greyed-out-note. 
 
  -Jack
 

 In Tools-Prefs-Editing-Shortcuts, hit New, enter note-insert 
 Greyedout, choose a shortcut, and press OK.
 
 Vincent


Vincent, thanks. That did the trick.

-Jack
-- 
~~~
Jack Desert --Writer, Entrepeneur
Author and Spokesman: www.LetsEATalready.com
Software Developer:   http://GrooveTask.org
Email: jackdesert...@gmail.com
~~~


Re: A little help with LyX-Sweave-R

2010-04-08 Thread Liviu Andronic
Hello
I am not sure that I can help in this case, but I will still throw some ideas.

On Thu, Apr 8, 2010 at 7:28 PM, David Hewitt dhewit...@gmail.com wrote:
 This is a bit of a tangent from true LyX issues, but it is related and
 I suspect the expertise exists on this list to solve my problem. I
 appreciate any help. For those also on the R-Help mailing list, I
 apologize for the duplication.

 I use LyX on a Windows XP machine with R 2.10.1 and a recent
 installation of MiKTeX 2.8. I followed Jeff Laake's instructions on
 the LyX Wiki (which I recently posted! --
 http://wiki.lyx.org/LyX/LyxWithRThroughSweave) and had things all set
 up to run Sweave and Stangle and then make the PDF through R (though a
 batch script called from LyX then on to a MakeSweave.R file that does
 the work through R). All of this system worked just fine until I ran
 some MiKTeX updates yesterday.

 After the updates yesterday, which I noticed included the miktex core
 stuff, everything goes smoothly except that the code in the
 MakeSweave.R file that runs texi2dvi (an R function that calls the
 MiKTeX-distributed texi2dvi.exe to do the work) seems not to produce a
 PDF but gives no warnings or errors.

 The contents of the batch file are:

 Rterm --no-site-file --no-save -f C:/Program Files/LyX
 1.6.5/bin/MakeSweave.R --args %1

 The batch file is called in the temporary directory where LyX does its work,

 The MakeSweave.R contents are:

 library(tools)
 args - commandArgs()
 filename - args[length(args)]
 Sweave(filename)
 Stangle(filename)
 basename - sub(\\.(Rnw|Rtex|nw)$, , filename)
 texi2dvi(paste(basename, .tex, sep=), pdf=TRUE)

 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.


 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?
Liviu


 A potential complication (as always) is that I am working in a
 non-Admin account on the machine. I can invoke Admin permissions to
 change things and had managed to get everything working before.
 Permissions may be an issue, but I have set full access to all the
 folders involved in this process (R, LyX, MiKTeX bins for example),
 and this got it working prior to updates. I am hoping that is not it.
 It seems like an issue with texi2dvi.

 Dave Hewitt
 Research Fishery Biologist
 USGS Western Fisheries Research Center
 Klamath Falls Field Station, Oregon
 http://profile.usgs.gov/dhewitt




-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: LyX and Aspell in spanish

2010-04-08 Thread Uwe Stöhr

Mchapa schrieb:


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.


Strange, but a reinstallation should fix this:

- close LyX, log in as administrator
- uninstall only the Spanish Aspell dictionary via the Windows Software list
- check that there no file es.pws and es.prepl on your PC
- reinstall this Spanish Aspell dictionary:
http://prdownload.berlios.de/lyxwininstall/aspell6-es-0.50-2.exe
- start LyX and reconfigure it (only to be safe)

If this doesn't work:

- uninstall _all_ Aspell dictionaries via the Windows Software list
- uninstall Aspell the same way
- uninstall LyX _completely_
- check that there are no leftovers of spell in the registry
- check that there is no Aspell folder and file on your PC
- reinstall LyX using the complete version of this installer:
http://wiki.lyx.org/Windows/LyXWinInstaller

regards Uwe


Question: making a custom Koma report with colors

2010-04-08 Thread Néstor
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?

Thank you,
Néstor.


bibtopic usage

2010-04-08 Thread Thibaud Hulin

Hi lyx user !

I need of your assistance about a problem with multiple sectionned 
bibliographies. I compiled and installed bibtopic.sty, however, when I 
launch tex2pdf, I get this first error :


 \usepackage

[unicode=true,

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

misspelled its name. Try typing return to proceed.


I verified that my biblio.bib is well in iso-8859-1, it is. I try with 
just one bibliography, declare like that :


\ecvitem{Expertised articles}{\vspace*{-1.9cm}

\bibliographystyle{plain}

\begin{btSect}{pro/communications/biblio-th-noexpertised}

\btPrintAll


Thanks for help,
Thibaud.



Re: A little help with LyX-Sweave-R

2010-04-08 Thread David Hewitt
 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!


interesting narrowing feature in a text editor

2010-04-08 Thread Jose Quesada
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

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


Re: Making a presentation in LyX

2010-04-08 Thread Guenter Milde
On 2010-04-08, Typhoon wrote:

 Well, if you are going to abandon LyX for the job, you might also want
 to take a look at S5: http://meyerweb.com/eric/tools/s5/

 Depends on how fancy your presentation needs to be, but I like S5 for
 fairly simple ones (and I personally think that most *should* be
 simple).

 Sorry for the OT post.

To be even more OT: for simple presentations, the Docutils frontend to S5
provides an easy to understand WYSIWYM input language (reStructuredText).
http://docutils.sourceforge.net/docs/user/slide-shows.html


Günter




Re: insert custom layout

2010-04-08 Thread Guenter Milde
On 2010-04-08, Julien Rioux wrote:
 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.

I rather recommend to 

  Input book.layout

instead of copying. You can then add and override definitions in the rest
of the file (once the layout is up and working).
(See e.g. the dinbrief.layout for an example of this approach.)

Also, for debugging

* Test if the liuthesis document class works as expected in pure LaTeX.
  (Check if the sample LaTeX documents (or a self-written LaTeX file)
  works if compiled from the command line.)

* Export your non-working LyX document to LaTeX and see if this works
  fine or why it fails.


Günter



Re: Track Changes with Word

2010-04-08 Thread Guenter Milde
On 2010-04-07, Vincent van Ravesteijn wrote:
 Jack Desert schreef:
 El Tue, 06 Apr 2010 19:41:07 -0400
 rgheck rgh...@bobjweil.com escribió:


 How do I set up a shortcut to insert a greyed out note? Tools - Prefs
 - Editing - Shortcuts shows an option for Note, but not one for
 Greyed-out-note. 


 In Tools-Prefs-Editing-Shortcuts, hit New, enter note-insert 
 Greyedout, choose a shortcut, and press OK.


Is there a way to find the valid options of an lfun (like note-insert)
except asking on this list?

Could the TAB-expansion in the command buffer (M-x ...) be extended to
work also for command options (in cases where there is a set of
allowed options)? 

Günter



Re: First impressions of Beamer

2010-04-08 Thread Jean-Marc Lasgouttes
Steve Litt sl...@troubleshooters.com writes:
 For this little presentation I didn't need 3/4 of the features like
 table of contents, hierarchical outline, and the supremely ugly header
 and footer above and below the white of the presentation. So I need to
 expand the white to cover the full screen, but somehow need to put a
 footer on every page for my copyright notice. I guess I'll be making a
 layout file called mybeamer.

Since everybody is adding its own suggestion, I will cite foilTeX, which
is in the minimal but effective category. This is what I use for all
my presentations. The class is foils, but it may not be installed on
your system (it is free to use, but the IBM copyright forbids placing it
in miktex or texlive).

JMarc


Re: Translations to nynorsk and bokmål

2010-04-08 Thread Helge Hafting

Ingar Pareliussen wrote:
@ Ingar: LyX needs your translation help. LyX 1.6.6 comes out in 2 weeks and perhaps you find the 
time to update no.po and/or nn.po.


Yes, I know. Sadly my schedule is the next month is quite full (edit one book, write one 
bookchapter and my regular work on top), and it might be difficult to find the time.


It would be easier to find the time if I knew that there were people in addition to me that 
used these languages :). (send me a email). I promise anyway that I will come back and do 
better job for the next version.


There are 4 norwegian lyx users where I work. :-)

I try working on nb.po now and then. Unfortunately, I have run into an 
odd problem:


I can use M p 3 to select section, but not M p * 3 to select 
section*.


This is clearly a problem with my translation, because the problem
only shows when using the nb language. Unfortunately, I have no idea 
what causes this. Last time it happened, I had used a forbidden

keyboard shortcut. But I couldn't find something like that
this time.

So I plan on a binary search, blanking out half of the
translations in a test po-file. I should be able to find
the bad entry/entries this way - the problem is, as usual,
to find time. :-/

Helge Hafting


Re: Track Changes with Word

2010-04-08 Thread Jürgen Spitzmüller
Guenter Milde wrote:
 Is there a way to find the valid options of an lfun (like note-insert)
 except asking on this list?

Help  LyX Functions.

Jürgen


Re: Making a presentation in LyX

2010-04-08 Thread Anthony Campbell
On 07 Apr 2010, Steve Litt wrote:
 
[snip] 

 As I read that doc I begin to wonder whether pure LaTeX would be the 
 preferred 
 way to make a Beamer presentation. LyX is great for 50,000 word books, but 
 I'm 
 thinking the line oriented nature of LaTeX might better match the line 
 oriented nature of a presentation, and I find it easier to understand in 
 LaTeX.

I've used plain latex with Prosper to make my slides for the last 5
years or so. Recently I decided to have a go with Lyx Beamer and am
happy with the result. This is quite a large enterprise: 40 sequential
sets of slides, each with up to 20 slides. The main advantage is that it
is easy to modify a slide quickly and see what the result will look like
at once.

I used beameruserguide.pdf to learn how to do it and found it pretty
helpful. There are specific pointers to Lyx in it. The main difficulties
I found were working out how to use the columns environment and putting
things into blocks without invoking a title (solved this by starting
with Ctrl-Space).

Anthony


-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux 
http://www.acampbell.org.uk - sample my ebooks at
http://www.smashwords.com/profile/view/acampbell



Re: Translations to nynorsk and bokmål

2010-04-08 Thread Jürgen Spitzmüller
Helge Hafting wrote:
 I try working on nb.po now and then. Unfortunately, I have run into an 
 odd problem:
 
 I can use M p 3 to select section, but not M p * 3 to select 
 section*.
 
 This is clearly a problem with my translation, because the problem
 only shows when using the nb language. Unfortunately, I have no idea 
 what causes this. Last time it happened, I had used a forbidden
 keyboard shortcut. But I couldn't find something like that
 this time.

Works here without problem when running LANG=nb lyx (I have a German 
keyboard).

Jürgen


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

2010-04-08 Thread Anthony Campbell
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?
 

I always upload my lulu files in postscript form and let Lulu make the
pdf. This always works.

Anthony

-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux 
http://www.acampbell.org.uk - sample my ebooks at
http://www.smashwords.com/profile/view/acampbell



Re: Making a presentation in LyX

2010-04-08 Thread Typhoon
On Thu, 8 Apr 2010 07:24:33 + (UTC)
Guenter Milde mi...@users.berlios.de wrote:

 On 2010-04-08, Typhoon wrote:
 
  Well, if you are going to abandon LyX for the job, you might also
  want to take a look at S5: http://meyerweb.com/eric/tools/s5/
 
  Depends on how fancy your presentation needs to be, but I like S5
  for fairly simple ones (and I personally think that most *should* be
  simple).
 
  Sorry for the OT post.
 
 To be even more OT: for simple presentations, the Docutils frontend
 to S5 provides an easy to understand WYSIWYM input language
 (reStructuredText).
 http://docutils.sourceforge.net/docs/user/slide-shows.html

Hi Gunter,
Agree with that 100%! It is what I use for all my S5 presentations. I
like reStructuredText a lot - it is easy to get other people to do
simple things in it for interchangeable stuff.

But now I guess we are way off topic. Still, it is a nice way to do
simple presentations!

Cheers,
Alan

 
 
 Günter
 
 
 


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



biblatex: no urldate

2010-04-08 Thread Bastian Ulber
Dear list,

i have a problem regarding biblatex: the information about last visit of an 
online resource (urldate) in an @ONLINE entry isn´t in the output. Everything 
else looks OK.

I am using Lyx 1.6.5 with MacTeX on MacOSX 10.6.3, all packages are up to date. 
I am using JabRef 2.5 as reference manager (tried BibDesk but same result). I 
attached an Lyx Tex export and an example entry of my JabRef database. I am 
working with child documents (Include command) for the different parts of my 
thesis, which isnt shown below.

Regards

Bastian


--Tex-Export of LyX--
%% LyX 1.6.5 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[12pt,ngerman,toc=listof,ngerman]{scrartcl}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[a4paper]{geometry}
\geometry{verbose,tmargin=3cm,bmargin=2cm,lmargin=4cm,rmargin=2.5cm}
\usepackage{fancyhdr}
\pagestyle{fancy}
\usepackage{array}
\usepackage{booktabs}
\usepackage{setspace}
\usepackage{nomencl}
% the following is useful when we have the old nomencl.sty package
\providecommand{\printnomenclature}{\printglossary}
\providecommand{\makenomenclature}{\makeglossary}
\makenomenclature
\onehalfspacing
\usepackage[unicode=true, pdfusetitle,
bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
breaklinks=true,pdfborder={0 0 1},backref=false,colorlinks=false]
{hyperref}
\makeatletter
%% LyX specific LaTeX commands.
%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}
%% User specified LaTeX commands.
% --- schönere Schrift
\usepackage[T1]{fontenc}
\usepackage{lmodern}
% neue deutsche Rechtschreibung
\usepackage[ngerman]{babel}
% BibLaTeX als Literaturverzeichnis
\usepackage[style=chem-biochem,natbib=true,subentry,urldate=long]{biblatex}
\bibliography{/bibFile}
\usepackage{csquotes}
% --- Trennungsverhalten verbessern
\usepackage{microtype}
% Abschnittsweise Nummerierung
\usepackage{caption}
\captionsetup{within=section}
% --- Bezeichnungen ändern
% siehe http://wiki.lyx.org/LyX/I18nLabels und scrguide.pdf
\DeclareLanguageMapping{ngerman}{cms-ngerman}
\addto\captionsngerman{\renewcommand{\refname}{Literaturverzeichnis}\renewcommand{\bibname}{Literaturverzeichnis}\renewcommand{\figurename}{Abbildung}\renewcommand{\tablename}{Tabelle}}
% --- Kopf- und Fußzeilen definieren
\usepackage{fancyhdr}
\addtolength{\headheight}{1ex}
\fancyhead[L]{\leftmark} % links Kapitelname
\fancyhead[R]{\thepage} % rechts Seitenzahl
\fancyfoot[C]{\ } % Fußzeile leer
\lhead{\nouppercase{\leftmark}} % Kapitelname nur Anfangsbuchstabe groß
% --- Abkürzungsverzeichnis
% Befehl zur Erstellung der Nomenklatur umschreiben - vor Nomenklatur 
addsec/section/chapter ausführbar, siehe nomencl.pdf
\renewcommand{\thenomenclature}{%
\addsec{\nomname}
\nompreamble
\list{}{%
\labelwidth\...@tempdim
\leftmargin\labelwidth
\advance\leftmargin\labelsep
\itemsep\nomitemsep
\let\makelabel\nomlabel}
}
\renewcommand{\nomname}{Abkürzungsverzeichnis}
% Größe der Label einheitlich
\setlength{\nomlabelwidth}{.20\hsize}
\makeatother
\begin{document}
\cite{key}
\printbibliography[heading=bibintoc]
\end{document}




-- Entry in JabRef bibFile --
% This file was created with JabRef 2.5.
% Encoding: UTF8

@ONLINE{key,
  title = {Titel of online resource},
  url = {http://www.webpage.com},
  urldate = {2010-28-03},
  author = {Anonym},
  bdsk-url-1 = {http://www.webpage.com},
  owner = {bastian},
  timestamp = {2010.03.21}
}

LaTeX Linebreaking Question

2010-04-08 Thread rgheck


I need to refer to a book entitled The Semantics/Pragmatics 
Distinction. I'd like to inform LaTeX that it is OK to break after the 
slash, but without a hyphen. How?


rh



Re: LaTeX Linebreaking Question

2010-04-08 Thread Jürgen Spitzmüller
rgheck wrote:
 I need to refer to a book entitled The Semantics/Pragmatics 
 Distinction. I'd like to inform LaTeX that it is OK to break after the 
 slash, but without a hyphen. How?

\slash, or in LyX: Insert  Special Character  Breakable Slash

I usually use the following redefinition of the slash macro in the preamble:

\def\slash{/\penalty\exhyphenpenalty\hski...@skip}

Contrary to the original (which is defined in the LaTeX kernel), this one 
allows also hyphenations after the slash, as in Semantics/Pragma-tics

HTH,
Jürgen


Re: LaTeX Linebreaking Question

2010-04-08 Thread Julien Rioux

Insert  Special Chars  Breakable Slash

equivalent to \slash in LaTeX

--
Julien



Re: LaTeX Linebreaking Question

2010-04-08 Thread rgheck

On 04/08/2010 09:48 AM, Jürgen Spitzmüller wrote:

rgheck wrote:
   

I need to refer to a book entitled The Semantics/Pragmatics
Distinction. I'd like to inform LaTeX that it is OK to break after the
slash, but without a hyphen. How?
 

\slash, or in LyX: Insert  Special Character  Breakable Slash

I usually use the following redefinition of the slash macro in the preamble:

\def\slash{/\penalty\exhyphenpenalty\hski...@skip}

Contrary to the original (which is defined in the LaTeX kernel), this one
allows also hyphenations after the slash, as in Semantics/Pragma-tics

   

Thanks to you and to the others who replied.

rh



Re: Translations to nynorsk and bokmål

2010-04-08 Thread Helge Hafting

Jürgen Spitzmüller wrote:

Helge Hafting wrote:
I try working on nb.po now and then. Unfortunately, I have run into an 
odd problem:


I can use M p 3 to select section, but not M p * 3 to select 
section*.


This is clearly a problem with my translation, because the problem
only shows when using the nb language. Unfortunately, I have no idea 
what causes this. Last time it happened, I had used a forbidden

keyboard shortcut. But I couldn't find something like that
this time.


Works here without problem when running LANG=nb lyx (I have a German 
keyboard).


Interesting.

I use nb_NO.UTF-8, using nb merley falls back to english here. But I 
assume your lyx came up with Norwegian menus and so on.


I get the problem with lyx 1.6.5 from debian. Time to compile again,
it seems.

Helge Hafting



Re: Translations to nynorsk and bokmål

2010-04-08 Thread Jürgen Spitzmüller
Helge Hafting wrote:
 I use nb_NO.UTF-8, using nb merley falls back to english here. But I 
 assume your lyx came up with Norwegian menus and so on.

If I use LANG=nb, the menus are English (but the dialogs are Norwegian). If I 
use LANG=nb_NO, everything is Norwegian (and the problem you describe still 
doesn't show up).

This is latest 1.6.6svn branch. 

Jürgen


Re: A box... over two pages

2010-04-08 Thread Helge Hafting

Frederick Noronha wrote:
Could someone kindly help me on how to get a box continue over two pages 
of a book (it's too long to fit on one page). Thanks! FN


Insert-Box, if you haven't done that already.

Right-click the box, and set the type to Simple Frame, page breaks.

This is the only kind of box that can be broken across pages. The other
boxes can't do that.

Helge Hafting


A little help with LyX-Sweave-R

2010-04-08 Thread David Hewitt
This is a bit of a tangent from true LyX issues, but it is related and
I suspect the expertise exists on this list to solve my problem. I
appreciate any help. For those also on the R-Help mailing list, I
apologize for the duplication.

I use LyX on a Windows XP machine with R 2.10.1 and a recent
installation of MiKTeX 2.8. I followed Jeff Laake's instructions on
the LyX Wiki (which I recently posted! --
http://wiki.lyx.org/LyX/LyxWithRThroughSweave) and had things all set
up to run Sweave and Stangle and then make the PDF through R (though a
batch script called from LyX then on to a MakeSweave.R file that does
the work through R). All of this system worked just fine until I ran
some MiKTeX updates yesterday.

After the updates yesterday, which I noticed included the miktex core
stuff, everything goes smoothly except that the code in the
MakeSweave.R file that runs texi2dvi (an R function that calls the
MiKTeX-distributed texi2dvi.exe to do the work) seems not to produce a
PDF but gives no warnings or errors.

The contents of the batch file are:

Rterm --no-site-file --no-save -f C:/Program Files/LyX
1.6.5/bin/MakeSweave.R --args %1

The batch file is called in the temporary directory where LyX does its work,

The MakeSweave.R contents are:

library(tools)
args - commandArgs()
filename - args[length(args)]
Sweave(filename)
Stangle(filename)
basename - sub(\\.(Rnw|Rtex|nw)$, , filename)
texi2dvi(paste(basename, .tex, sep=), pdf=TRUE)

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.

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?

A potential complication (as always) is that I am working in a
non-Admin account on the machine. I can invoke Admin permissions to
change things and had managed to get everything working before.
Permissions may be an issue, but I have set full access to all the
folders involved in this process (R, LyX, MiKTeX bins for example),
and this got it working prior to updates. I am hoping that is not it.
It seems like an issue with texi2dvi.

Dave Hewitt
Research Fishery Biologist
USGS Western Fisheries Research Center
Klamath Falls Field Station, Oregon
http://profile.usgs.gov/dhewitt


Re: insert custom layout

2010-04-08 Thread Sajjad
On Thu, Apr 8, 2010 at 4:24 AM, Julien Rioux jri...@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 ?


 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.

 --
 Julien




LyX and Aspell in spanish

2010-04-08 Thread Mchapa
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



Re: Track Changes with Word

2010-04-08 Thread Jack Desert

  How do I set up a shortcut to insert a greyed out note? Tools - Prefs - 
  Editing - Shortcuts shows an option for Note, but not one for 
  Greyed-out-note. 
 
  -Jack
 

 In Tools-Prefs-Editing-Shortcuts, hit New, enter note-insert 
 Greyedout, choose a shortcut, and press OK.
 
 Vincent


Vincent, thanks. That did the trick.

-Jack
-- 
~~~
Jack Desert --Writer, Entrepeneur
Author and Spokesman: www.LetsEATalready.com
Software Developer:   http://GrooveTask.org
Email: jackdesert...@gmail.com
~~~


Re: A little help with LyX-Sweave-R

2010-04-08 Thread Liviu Andronic
Hello
I am not sure that I can help in this case, but I will still throw some ideas.

On Thu, Apr 8, 2010 at 7:28 PM, David Hewitt dhewit...@gmail.com wrote:
 This is a bit of a tangent from true LyX issues, but it is related and
 I suspect the expertise exists on this list to solve my problem. I
 appreciate any help. For those also on the R-Help mailing list, I
 apologize for the duplication.

 I use LyX on a Windows XP machine with R 2.10.1 and a recent
 installation of MiKTeX 2.8. I followed Jeff Laake's instructions on
 the LyX Wiki (which I recently posted! --
 http://wiki.lyx.org/LyX/LyxWithRThroughSweave) and had things all set
 up to run Sweave and Stangle and then make the PDF through R (though a
 batch script called from LyX then on to a MakeSweave.R file that does
 the work through R). All of this system worked just fine until I ran
 some MiKTeX updates yesterday.

 After the updates yesterday, which I noticed included the miktex core
 stuff, everything goes smoothly except that the code in the
 MakeSweave.R file that runs texi2dvi (an R function that calls the
 MiKTeX-distributed texi2dvi.exe to do the work) seems not to produce a
 PDF but gives no warnings or errors.

 The contents of the batch file are:

 Rterm --no-site-file --no-save -f C:/Program Files/LyX
 1.6.5/bin/MakeSweave.R --args %1

 The batch file is called in the temporary directory where LyX does its work,

 The MakeSweave.R contents are:

 library(tools)
 args - commandArgs()
 filename - args[length(args)]
 Sweave(filename)
 Stangle(filename)
 basename - sub(\\.(Rnw|Rtex|nw)$, , filename)
 texi2dvi(paste(basename, .tex, sep=), pdf=TRUE)

 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.


 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?
Liviu


 A potential complication (as always) is that I am working in a
 non-Admin account on the machine. I can invoke Admin permissions to
 change things and had managed to get everything working before.
 Permissions may be an issue, but I have set full access to all the
 folders involved in this process (R, LyX, MiKTeX bins for example),
 and this got it working prior to updates. I am hoping that is not it.
 It seems like an issue with texi2dvi.

 Dave Hewitt
 Research Fishery Biologist
 USGS Western Fisheries Research Center
 Klamath Falls Field Station, Oregon
 http://profile.usgs.gov/dhewitt




-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: LyX and Aspell in spanish

2010-04-08 Thread Uwe Stöhr

Mchapa schrieb:


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.


Strange, but a reinstallation should fix this:

- close LyX, log in as administrator
- uninstall only the Spanish Aspell dictionary via the Windows Software list
- check that there no file es.pws and es.prepl on your PC
- reinstall this Spanish Aspell dictionary:
http://prdownload.berlios.de/lyxwininstall/aspell6-es-0.50-2.exe
- start LyX and reconfigure it (only to be safe)

If this doesn't work:

- uninstall _all_ Aspell dictionaries via the Windows Software list
- uninstall Aspell the same way
- uninstall LyX _completely_
- check that there are no leftovers of spell in the registry
- check that there is no Aspell folder and file on your PC
- reinstall LyX using the complete version of this installer:
http://wiki.lyx.org/Windows/LyXWinInstaller

regards Uwe


Question: making a custom Koma report with colors

2010-04-08 Thread Néstor
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?

Thank you,
Néstor.


bibtopic usage

2010-04-08 Thread Thibaud Hulin

Hi lyx user !

I need of your assistance about a problem with multiple sectionned 
bibliographies. I compiled and installed bibtopic.sty, however, when I 
launch tex2pdf, I get this first error :


 \usepackage

[unicode=true,

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

misspelled its name. Try typing return to proceed.


I verified that my biblio.bib is well in iso-8859-1, it is. I try with 
just one bibliography, declare like that :


\ecvitem{Expertised articles}{\vspace*{-1.9cm}

\bibliographystyle{plain}

\begin{btSect}{pro/communications/biblio-th-noexpertised}

\btPrintAll


Thanks for help,
Thibaud.



Re: A little help with LyX-Sweave-R

2010-04-08 Thread David Hewitt
 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!


interesting narrowing feature in a text editor

2010-04-08 Thread Jose Quesada
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

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


Re: Making a presentation in LyX

2010-04-08 Thread Guenter Milde
On 2010-04-08, Typhoon wrote:

> Well, if you are going to abandon LyX for the job, you might also want
> to take a look at S5: http://meyerweb.com/eric/tools/s5/

> Depends on how fancy your presentation needs to be, but I like S5 for
> fairly simple ones (and I personally think that most *should* be
> simple).

> Sorry for the OT post.

To be even more OT: for simple presentations, the Docutils frontend to S5
provides an easy to understand WYSIWYM input language (reStructuredText).
http://docutils.sourceforge.net/docs/user/slide-shows.html


Günter




Re: insert custom layout

2010-04-08 Thread Guenter Milde
On 2010-04-08, Julien Rioux wrote:
> 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.

I rather recommend to 

  Input book.layout

instead of copying. You can then add and override definitions in the rest
of the file (once the layout is up and working).
(See e.g. the dinbrief.layout for an example of this approach.)

Also, for debugging

* Test if the liuthesis document class works as expected in pure LaTeX.
  (Check if the sample LaTeX documents (or a self-written LaTeX file)
  works if compiled from the command line.)

* Export your non-working LyX document to LaTeX and see if this works
  fine or why it fails.


Günter



Re: Track Changes with Word

2010-04-08 Thread Guenter Milde
On 2010-04-07, Vincent van Ravesteijn wrote:
> Jack Desert schreef:
>> El Tue, 06 Apr 2010 19:41:07 -0400
>> rgheck  escribió:


>> How do I set up a shortcut to insert a greyed out note? Tools -> Prefs
>> -> Editing -> Shortcuts shows an option for "Note", but not one for
>> "Greyed-out-note". 


> In Tools->Prefs->Editing->Shortcuts, hit "New", enter "note-insert 
> Greyedout", choose a shortcut, and press OK.


Is there a way to find the valid options of an lfun (like note-insert)
except asking on this list?

Could the TAB-expansion in the command buffer (M-x ...) be extended to
work also for command options (in cases where there is a set of
allowed options)? 

Günter



Re: First impressions of Beamer

2010-04-08 Thread Jean-Marc Lasgouttes
Steve Litt  writes:
> For this little presentation I didn't need 3/4 of the features like
> table of contents, hierarchical outline, and the supremely ugly header
> and footer above and below the white of the presentation. So I need to
> expand the white to cover the full screen, but somehow need to put a
> footer on every page for my copyright notice. I guess I'll be making a
> layout file called "mybeamer".

Since everybody is adding its own suggestion, I will cite foilTeX, which
is in the "minimal but effective category". This is what I use for all
my presentations. The class is "foils", but it may not be installed on
your system (it is free to use, but the IBM copyright forbids placing it
in miktex or texlive).

JMarc


Re: Translations to nynorsk and bokmål

2010-04-08 Thread Helge Hafting

Ingar Pareliussen wrote:
@ Ingar: LyX needs your translation help. LyX 1.6.6 comes out in 2 weeks and perhaps you find the 
time to update no.po and/or nn.po.


Yes, I know. Sadly my schedule is the next month is quite full (edit one book, write one 
bookchapter and my regular work on top), and it might be difficult to find the time.


It would be easier to find the time if I knew that there were people in addition to me that 
used these languages :). (send me a email). I promise anyway that I will come back and do 
better job for the next version.


There are 4 norwegian lyx users where I work. :-)

I try working on nb.po now and then. Unfortunately, I have run into an 
odd problem:


I can use "M p 3" to select "section", but not "M p * 3" to select 
"section*".


This is clearly a problem with my translation, because the problem
only shows when using the nb language. Unfortunately, I have no idea 
what causes this. Last time it happened, I had used a "forbidden"

keyboard shortcut. But I couldn't find something like that
this time.

So I plan on a "binary search", blanking out half of the
translations in a test po-file. I should be able to find
the bad entry/entries this way - the problem is, as usual,
to find time. :-/

Helge Hafting


Re: Track Changes with Word

2010-04-08 Thread Jürgen Spitzmüller
Guenter Milde wrote:
> Is there a way to find the valid options of an lfun (like note-insert)
> except asking on this list?

Help > LyX Functions.

Jürgen


Re: Making a presentation in LyX

2010-04-08 Thread Anthony Campbell
On 07 Apr 2010, Steve Litt wrote:
> 
[snip] 

> As I read that doc I begin to wonder whether pure LaTeX would be the 
> preferred 
> way to make a Beamer presentation. LyX is great for 50,000 word books, but 
> I'm 
> thinking the line oriented nature of LaTeX might better match the line 
> oriented nature of a presentation, and I find it easier to understand in 
> LaTeX.

I've used plain latex with Prosper to make my slides for the last 5
years or so. Recently I decided to have a go with Lyx Beamer and am
happy with the result. This is quite a large enterprise: 40 sequential
sets of slides, each with up to 20 slides. The main advantage is that it
is easy to modify a slide quickly and see what the result will look like
at once.

I used beameruserguide.pdf to learn how to do it and found it pretty
helpful. There are specific pointers to Lyx in it. The main difficulties
I found were working out how to use the columns environment and putting
things into blocks without invoking a title (solved this by starting
with Ctrl-Space).

Anthony


-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux 
http://www.acampbell.org.uk - sample my ebooks at
http://www.smashwords.com/profile/view/acampbell



Re: Translations to nynorsk and bokmål

2010-04-08 Thread Jürgen Spitzmüller
Helge Hafting wrote:
> I try working on nb.po now and then. Unfortunately, I have run into an 
> odd problem:
> 
> I can use "M p 3" to select "section", but not "M p * 3" to select 
> "section*".
> 
> This is clearly a problem with my translation, because the problem
> only shows when using the nb language. Unfortunately, I have no idea 
> what causes this. Last time it happened, I had used a "forbidden"
> keyboard shortcut. But I couldn't find something like that
> this time.

Works here without problem when running "LANG=nb lyx" (I have a German 
keyboard).

Jürgen


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

2010-04-08 Thread Anthony Campbell
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?
> 

I always upload my lulu files in postscript form and let Lulu make the
pdf. This always works.

Anthony

-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux 
http://www.acampbell.org.uk - sample my ebooks at
http://www.smashwords.com/profile/view/acampbell



Re: Making a presentation in LyX

2010-04-08 Thread Typhoon
On Thu, 8 Apr 2010 07:24:33 + (UTC)
Guenter Milde  wrote:

> On 2010-04-08, Typhoon wrote:
> 
> > Well, if you are going to abandon LyX for the job, you might also
> > want to take a look at S5: http://meyerweb.com/eric/tools/s5/
> 
> > Depends on how fancy your presentation needs to be, but I like S5
> > for fairly simple ones (and I personally think that most *should* be
> > simple).
> 
> > Sorry for the OT post.
> 
> To be even more OT: for simple presentations, the Docutils frontend
> to S5 provides an easy to understand WYSIWYM input language
> (reStructuredText).
> http://docutils.sourceforge.net/docs/user/slide-shows.html

Hi Gunter,
Agree with that 100%! It is what I use for all my S5 presentations. I
like reStructuredText a lot - it is easy to get other people to do
simple things in it for interchangeable stuff.

But now I guess we are way off topic. Still, it is a nice way to do
simple presentations!

Cheers,
Alan

> 
> 
> Günter
> 
> 
> 


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



biblatex: no urldate

2010-04-08 Thread Bastian Ulber
Dear list,

i have a problem regarding biblatex: the information about last visit of an 
online resource (urldate) in an @ONLINE entry isn´t in the output. Everything 
else looks OK.

I am using Lyx 1.6.5 with MacTeX on MacOSX 10.6.3, all packages are up to date. 
I am using JabRef 2.5 as reference manager (tried BibDesk but same result). I 
attached an Lyx Tex export and an example entry of my JabRef database. I am 
working with child documents ("Include" command) for the different parts of my 
thesis, which isnt shown below.

Regards

Bastian


--Tex-Export of LyX--
%% LyX 1.6.5 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[12pt,ngerman,toc=listof,ngerman]{scrartcl}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[a4paper]{geometry}
\geometry{verbose,tmargin=3cm,bmargin=2cm,lmargin=4cm,rmargin=2.5cm}
\usepackage{fancyhdr}
\pagestyle{fancy}
\usepackage{array}
\usepackage{booktabs}
\usepackage{setspace}
\usepackage{nomencl}
% the following is useful when we have the old nomencl.sty package
\providecommand{\printnomenclature}{\printglossary}
\providecommand{\makenomenclature}{\makeglossary}
\makenomenclature
\onehalfspacing
\usepackage[unicode=true, pdfusetitle,
bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
breaklinks=true,pdfborder={0 0 1},backref=false,colorlinks=false]
{hyperref}
\makeatletter
%% LyX specific LaTeX commands.
%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}
%% User specified LaTeX commands.
% --- schönere Schrift
\usepackage[T1]{fontenc}
\usepackage{lmodern}
% neue deutsche Rechtschreibung
\usepackage[ngerman]{babel}
% BibLaTeX als Literaturverzeichnis
\usepackage[style=chem-biochem,natbib=true,subentry,urldate=long]{biblatex}
\bibliography{/bibFile}
\usepackage{csquotes}
% --- Trennungsverhalten verbessern
\usepackage{microtype}
% Abschnittsweise Nummerierung
\usepackage{caption}
\captionsetup{within=section}
% --- Bezeichnungen ändern
% siehe http://wiki.lyx.org/LyX/I18nLabels und scrguide.pdf
\DeclareLanguageMapping{ngerman}{cms-ngerman}
\addto\captionsngerman{\renewcommand{\refname}{Literaturverzeichnis}\renewcommand{\bibname}{Literaturverzeichnis}\renewcommand{\figurename}{Abbildung}\renewcommand{\tablename}{Tabelle}}
% --- Kopf- und Fußzeilen definieren
\usepackage{fancyhdr}
\addtolength{\headheight}{1ex}
\fancyhead[L]{\leftmark} % links Kapitelname
\fancyhead[R]{\thepage} % rechts Seitenzahl
\fancyfoot[C]{\ } % Fußzeile leer
\lhead{\nouppercase{\leftmark}} % Kapitelname nur Anfangsbuchstabe groß
% --- Abkürzungsverzeichnis
% Befehl zur Erstellung der Nomenklatur umschreiben -> vor Nomenklatur 
addsec/section/chapter ausführbar, siehe nomencl.pdf
\renewcommand{\thenomenclature}{%
\addsec{\nomname}
\nompreamble
\list{}{%
\labelwidth\...@tempdim
\leftmargin\labelwidth
\advance\leftmargin\labelsep
\itemsep\nomitemsep
\let\makelabel\nomlabel}
}
\renewcommand{\nomname}{Abkürzungsverzeichnis}
% Größe der Label einheitlich
\setlength{\nomlabelwidth}{.20\hsize}
\makeatother
\begin{document}
\cite{key}
\printbibliography[heading=bibintoc]
\end{document}




-- Entry in JabRef bibFile --
% This file was created with JabRef 2.5.
% Encoding: UTF8

@ONLINE{key,
  title = {Titel of online resource},
  url = {http://www.webpage.com},
  urldate = {2010-28-03},
  author = {Anonym},
  bdsk-url-1 = {http://www.webpage.com},
  owner = {bastian},
  timestamp = {2010.03.21}
}

LaTeX Linebreaking Question

2010-04-08 Thread rgheck


I need to refer to a book entitled "The Semantics/Pragmatics 
Distinction". I'd like to inform LaTeX that it is OK to break after the 
slash, but without a hyphen. How?


rh



Re: LaTeX Linebreaking Question

2010-04-08 Thread Jürgen Spitzmüller
rgheck wrote:
> I need to refer to a book entitled "The Semantics/Pragmatics 
> Distinction". I'd like to inform LaTeX that it is OK to break after the 
> slash, but without a hyphen. How?

\slash, or in LyX: Insert > Special Character > Breakable Slash

I usually use the following redefinition of the slash macro in the preamble:

\def\slash{/\penalty\exhyphenpenalty\hski...@skip}

Contrary to the original (which is defined in the LaTeX kernel), this one 
allows also hyphenations after the slash, as in Semantics/Pragma-tics

HTH,
Jürgen


Re: LaTeX Linebreaking Question

2010-04-08 Thread Julien Rioux

Insert > Special Chars > Breakable Slash

equivalent to \slash in LaTeX

--
Julien



Re: LaTeX Linebreaking Question

2010-04-08 Thread rgheck

On 04/08/2010 09:48 AM, Jürgen Spitzmüller wrote:

rgheck wrote:
   

I need to refer to a book entitled "The Semantics/Pragmatics
Distinction". I'd like to inform LaTeX that it is OK to break after the
slash, but without a hyphen. How?
 

\slash, or in LyX: Insert>  Special Character>  Breakable Slash

I usually use the following redefinition of the slash macro in the preamble:

\def\slash{/\penalty\exhyphenpenalty\hski...@skip}

Contrary to the original (which is defined in the LaTeX kernel), this one
allows also hyphenations after the slash, as in Semantics/Pragma-tics

   

Thanks to you and to the others who replied.

rh



Re: Translations to nynorsk and bokmål

2010-04-08 Thread Helge Hafting

Jürgen Spitzmüller wrote:

Helge Hafting wrote:
I try working on nb.po now and then. Unfortunately, I have run into an 
odd problem:


I can use "M p 3" to select "section", but not "M p * 3" to select 
"section*".


This is clearly a problem with my translation, because the problem
only shows when using the nb language. Unfortunately, I have no idea 
what causes this. Last time it happened, I had used a "forbidden"

keyboard shortcut. But I couldn't find something like that
this time.


Works here without problem when running "LANG=nb lyx" (I have a German 
keyboard).


Interesting.

I use nb_NO.UTF-8, using "nb" merley falls back to english here. But I 
assume your lyx came up with Norwegian menus and so on.


I get the problem with lyx 1.6.5 from debian. Time to compile again,
it seems.

Helge Hafting



Re: Translations to nynorsk and bokmål

2010-04-08 Thread Jürgen Spitzmüller
Helge Hafting wrote:
> I use nb_NO.UTF-8, using "nb" merley falls back to english here. But I 
> assume your lyx came up with Norwegian menus and so on.

If I use LANG=nb, the menus are English (but the dialogs are Norwegian). If I 
use LANG=nb_NO, everything is Norwegian (and the problem you describe still 
doesn't show up).

This is latest 1.6.6svn branch. 

Jürgen


Re: A box... over two pages

2010-04-08 Thread Helge Hafting

Frederick Noronha wrote:
Could someone kindly help me on how to get a box continue over two pages 
of a book (it's too long to fit on one page). Thanks! FN


Insert->Box, if you haven't done that already.

Right-click the box, and set the type to "Simple Frame, page breaks".

This is the only kind of box that can be broken across pages. The other
boxes can't do that.

Helge Hafting


A little help with LyX-Sweave-R

2010-04-08 Thread David Hewitt
This is a bit of a tangent from true LyX issues, but it is related and
I suspect the expertise exists on this list to solve my problem. I
appreciate any help. For those also on the R-Help mailing list, I
apologize for the duplication.

I use LyX on a Windows XP machine with R 2.10.1 and a recent
installation of MiKTeX 2.8. I followed Jeff Laake's instructions on
the LyX Wiki (which I recently posted! --
http://wiki.lyx.org/LyX/LyxWithRThroughSweave) and had things all set
up to run Sweave and Stangle and then make the PDF through R (though a
batch script called from LyX then on to a MakeSweave.R file that does
the work through R). All of this system worked just fine until I ran
some MiKTeX updates yesterday.

After the updates yesterday, which I noticed included the miktex core
stuff, everything goes smoothly except that the code in the
MakeSweave.R file that runs texi2dvi (an R function that calls the
MiKTeX-distributed texi2dvi.exe to do the work) seems not to produce a
PDF but gives no warnings or errors.

The contents of the batch file are:

Rterm --no-site-file --no-save -f "C:/Program Files/LyX
1.6.5/bin/MakeSweave.R" --args %1

The batch file is called in the temporary directory where LyX does its work,

The MakeSweave.R contents are:

library(tools)
args <- commandArgs()
filename <- args[length(args)]
Sweave(filename)
Stangle(filename)
basename <- sub("\\.(Rnw|Rtex|nw)$", "", filename)
texi2dvi(paste(basename, ".tex", sep=""), pdf=TRUE)

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.

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?

A potential complication (as always) is that I am working in a
non-Admin account on the machine. I can invoke Admin permissions to
change things and had managed to get everything working before.
Permissions may be an issue, but I have set full access to all the
folders involved in this process (R, LyX, MiKTeX bins for example),
and this got it working prior to updates. I am hoping that is not it.
It seems like an issue with texi2dvi.

Dave Hewitt
Research Fishery Biologist
USGS Western Fisheries Research Center
Klamath Falls Field Station, Oregon
http://profile.usgs.gov/dhewitt


Re: insert custom layout

2010-04-08 Thread Sajjad
On Thu, Apr 8, 2010 at 4:24 AM, Julien Rioux wrote:

>
>
> 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 ?

>
> 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.
>
> --
> Julien
>
>


LyX and Aspell in spanish

2010-04-08 Thread Mchapa
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



Re: Track Changes with Word

2010-04-08 Thread Jack Desert

> > How do I set up a shortcut to insert a greyed out note? Tools -> Prefs -> 
> > Editing -> Shortcuts shows an option for "Note", but not one for 
> > "Greyed-out-note". 
> >
> > -Jack
> >
> >   
> In Tools->Prefs->Editing->Shortcuts, hit "New", enter "note-insert 
> Greyedout", choose a shortcut, and press OK.
> 
> Vincent


Vincent, thanks. That did the trick.

-Jack
-- 
~~~
Jack Desert --Writer, Entrepeneur
Author and Spokesman: www.LetsEATalready.com
Software Developer:   http://GrooveTask.org
Email: jackdesert...@gmail.com
~~~


Re: A little help with LyX-Sweave-R

2010-04-08 Thread Liviu Andronic
Hello
I am not sure that I can help in this case, but I will still throw some ideas.

On Thu, Apr 8, 2010 at 7:28 PM, David Hewitt  wrote:
> This is a bit of a tangent from true LyX issues, but it is related and
> I suspect the expertise exists on this list to solve my problem. I
> appreciate any help. For those also on the R-Help mailing list, I
> apologize for the duplication.
>
> I use LyX on a Windows XP machine with R 2.10.1 and a recent
> installation of MiKTeX 2.8. I followed Jeff Laake's instructions on
> the LyX Wiki (which I recently posted! --
> http://wiki.lyx.org/LyX/LyxWithRThroughSweave) and had things all set
> up to run Sweave and Stangle and then make the PDF through R (though a
> batch script called from LyX then on to a MakeSweave.R file that does
> the work through R). All of this system worked just fine until I ran
> some MiKTeX updates yesterday.
>
> After the updates yesterday, which I noticed included the miktex core
> stuff, everything goes smoothly except that the code in the
> MakeSweave.R file that runs texi2dvi (an R function that calls the
> MiKTeX-distributed texi2dvi.exe to do the work) seems not to produce a
> PDF but gives no warnings or errors.
>
> The contents of the batch file are:
>
> Rterm --no-site-file --no-save -f "C:/Program Files/LyX
> 1.6.5/bin/MakeSweave.R" --args %1
>
> The batch file is called in the temporary directory where LyX does its work,
>
> The MakeSweave.R contents are:
>
> library(tools)
> args <- commandArgs()
> filename <- args[length(args)]
> Sweave(filename)
> Stangle(filename)
> basename <- sub("\\.(Rnw|Rtex|nw)$", "", filename)
> texi2dvi(paste(basename, ".tex", sep=""), pdf=TRUE)
>
> 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.


> 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?
Liviu


> A potential complication (as always) is that I am working in a
> non-Admin account on the machine. I can invoke Admin permissions to
> change things and had managed to get everything working before.
> Permissions may be an issue, but I have set full access to all the
> folders involved in this process (R, LyX, MiKTeX bins for example),
> and this got it working prior to updates. I am hoping that is not it.
> It seems like an issue with texi2dvi.
>
> Dave Hewitt
> Research Fishery Biologist
> USGS Western Fisheries Research Center
> Klamath Falls Field Station, Oregon
> http://profile.usgs.gov/dhewitt
>



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: LyX and Aspell in spanish

2010-04-08 Thread Uwe Stöhr

Mchapa schrieb:


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.


Strange, but a reinstallation should fix this:

- close LyX, log in as administrator
- uninstall only the Spanish Aspell dictionary via the Windows Software list
- check that there no file "es.pws" and "es.prepl" on your PC
- reinstall this Spanish Aspell dictionary:
http://prdownload.berlios.de/lyxwininstall/aspell6-es-0.50-2.exe
- start LyX and reconfigure it (only to be safe)

If this doesn't work:

- uninstall _all_ Aspell dictionaries via the Windows Software list
- uninstall Aspell the same way
- uninstall LyX _completely_
- check that there are no leftovers of spell in the registry
- check that there is no Aspell folder and file on your PC
- reinstall LyX using the complete version of this installer:
http://wiki.lyx.org/Windows/LyXWinInstaller

regards Uwe


Question: making a custom Koma report with colors

2010-04-08 Thread Néstor
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?

Thank you,
Néstor.


bibtopic usage

2010-04-08 Thread Thibaud Hulin

Hi lyx user !

I need of your assistance about a problem with multiple sectionned 
bibliographies. I compiled and installed bibtopic.sty, however, when I 
launch tex2pdf, I get this first error :


 \usepackage

[unicode=true,

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

misspelled its name. Try typing  to proceed.


I verified that my biblio.bib is well in iso-8859-1, it is. I try with 
just one bibliography, declare like that :


\ecvitem{Expertised articles}{\vspace*{-1.9cm}

\bibliographystyle{plain}

\begin{btSect}{pro/communications/biblio-th-noexpertised}

\btPrintAll


Thanks for help,
Thibaud.



Re: A little help with LyX-Sweave-R

2010-04-08 Thread David Hewitt
>> 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!


interesting narrowing feature in a text editor

2010-04-08 Thread Jose Quesada
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

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