OT: Sharing LaTeX Documents with word users

2010-12-08 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi

Just a nice quote:

On the R mailing list, Greg Snow posted:

Sharing LaTeX documents with people using word processors only is no
more difficult than giving driving directions to someone who is
blindfolded and has all 4 limbs tied behind their back.  Collaboration
with people who insist on using programs that process their words much
like a food processor processes food is the one legitimate reason to not
use LaTeX (but untying them and removing the blindfold is much better).

That is more then true.

Cheers,

Rainer

- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Tel:+33 - (0)9 53 10 27 44
Cell:   +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkz/SwoACgkQoYgNqgF2egoHkACeORwqimaMZp9L7UfXOddgy8oA
GRsAn39gQdBzG9kScCAmbWVQAiOpasyD
=hkPV
-END PGP SIGNATURE-


Re: LyX 2.0: problems using XeTeX and thesis template

2010-12-08 Thread Jürgen Spitzmüller
Justin Wood wrote:
 1. conflict with AMS package
 I've found that simply activating XeTeX under *Document Settings –
 Fonts*will cause parsing errors on viewing if the document also has
 *Math Options – Use AMS math package* checked; eg, LaTeX Error: Command
 `\Finv' already defined, etc. I think this is a known conflict between
 XeTeX and the AMS package, is that right? By changing the setting to *Use
 AMS math package automatically* though, these particular errors go away.
 Note that this occurs in the generic default new document (*article*
 class) as well as the *KOMA-script book *class that the thesis uses.

Yes, I've seen this too. Not sure what to do. We could disable AMS always 
for XeTeX, if necessary, but I guess we need to do some more research yet.

 2. conflict in thesis template
 Beyond that, changing to the automatic AMS math package in the thesis
 document introduces new errors. In a brand new, entirely unmodified
 chapter template file, XeTeX compilation now complains about the use of '
 \addto \extrasenglish{' in the preamble (used to define cross reference
 identifiers). Is this another conflict between XeTeX and ... is it
 *hyperref * these overrides refer to?

The reason for this is that XeTeX now uses polyglossia, which does not know 
these \addto commands (which are from babel). Are these templates shipped 
with LyX? If so, we need to embrace these calls in

\...@ifpackageloaded{babel}{%
...
}{}

 3. custom character-style error
 Finally, and this is more an annoyance than an impediment, my custom
 character style module (based on info from Rob
 Oakeshttp://blog.oak-tree.us/index.php/2009/11/14/customize-lyx-
character-styles)
 generates an *Undefined flex inset *error: 'Flex inset TechnicalDefinition
 is undefined because of class conversion from article to article' (and the
 same occurs in scrbook). This only seems to get thrown if I save a change
 made within Document Settings, not on view, etc. Is there something in my
 module that might cause this?
 
 #\DeclareLyXModule{thesis styles}
 #DescriptionBegin
 #Adds character styles for PhD thesis
 #DescriptionEnd
 
 InsetLayoutCharStyle:TechnicalDefinition
 LyxType   charstyle
 LabelString   techdefn
 LatexType command
 LatexName techdefn
 Font
 Family  Sans
 EndFont
 Preamble
 \newcommand*{\techdefn}[1]{{\sffamily{\mdseries #1}}}
 EndPreamble
 End

There has been some syntax change. And if I remember well, it is difficult 
to handle self-defined modules. But I'm not sure. Richard can tell you more.

Jürgen

 Thanks!




Re: Still getting errors with 2.0.0beta1.

2010-12-08 Thread Rudi Gaelzer
Hi.  Has this bug been solved in the beta 2 release?
If not, what's the ticket #, so I can track it?
Thanks.

On Fri, Dec 3, 2010 at 2:00 PM, Richard Heck rgh...@comcast.net wrote:

 On 12/03/2010 08:02 AM, Rudi Gaelzer wrote:

 The LyX version offered on the Fedora 14 repositories has now upgraded to
 2.0.0beta1.
 When I load a 1.6x multi-document project into the beta version and try to
 process it, I get the following error:

 Paragraph ended before \gather* was complete.
 Missing $ inserted.
 Missing \endgroup inserted.
 Display math should end with $$.
 Misplaced \cr.
 Misplaced \noalign.
 Misplaced \noalign.
 Extra }, or forgotten \endgroup.
 Missing $ inserted.

 Of course, the document processed just fine with LyX 1.6x.
 When I backtraced the error line from the exported tex source, I found
 that the problem was in a gather* environment that contains an aligned
 sub-environment.  It seems that the lyx - tex conversion is generating an
 incorrect source code.
 Moreover, LyX stops displaying the equations the moment a sub-environment
 is created.  You can verify that very quickly.

 Here's the offending cell:

 \begin{gather*}
 \frac{d\boldsymbol{p}}{dt}=p_{\perp}\frac{d}{dt}\cos\phi\vu
 1+p_{\perp}\frac{d}{dt}\sen\phi\vu
 2=\frac{q_{\alpha}B_{0}}{c}\epsilon_{ij3}\vu
 iv_{j}=\frac{q_{\alpha}B_{0}}{c}\left(v_{2}\vu 1-v_{1}\vu 2\right),\\
 \begin{aligned}\sen\phi p_{\perp}\frac{d\phi}{dt} 
 =-\frac{q_{\alpha}B_{0}}{c}v_{2}=-\frac{q_{\alpha}B_{0}}{c}\frac{p_{\perp}\sen\phi}{\gamma
 m_{\alpha}}\\
 \cos\phi p_{\perp}\frac{d\phi}{dt} 
 =-\frac{q_{\alpha}B_{0}}{c}v_{1}=-\frac{q_{\alpha}B_{0}}{c}\frac{p_{\perp}\cos\phi}{\gamma
 m_{\alpha}},
 \end{aligned}

 \end{gather*}

 Processing the tex source directly, It complained that the paragraph was
 ended before \gather* was complete.  I just had to remove the empty line
 before \end{gather*} and the document processed all right.

 I guess this is a bug...

  A known bug. It has been fixed for the next release. Still, thanks for
 the report.

 Richard




-- 
Rudi Gaelzer
Departamento de Física
Instituto de Física e Matemática
Fundação Universidade Federal de Pelotas
Caixa Postal 354 - Campus UFPel
96001-970 Pelotas - RS
BRAZIL
Phone: +55-53-275-7468
FAX: +55-53-275-7343

Registered Linux user # 153741


Re: LyX Memoir endnotes have form of footnotes

2010-12-08 Thread stefano franchi
George, Daron,

please note that memoir's \pagenote and \foottopagenote use in Lyx currently
suffers from two   problems:

1. a 2-paragraphs (or more) pagenote produced with Lyx 's footnote command
and \foottopagenote will fail and produce a Latex error. One paragraph notes
are okay.

2. similarly, a pagenote produced with Lyx's footnote command and
\foottopagenote cannot contain \index commands unless they are protected
(you need to insert a \protect command as ERT **immediately before** the
\index command).

Lars Madsen, the maintainer of memoir, is working on both issues (the first
one is trivial, apparently, the second one less so).

You may follow up the details of the copnversation we have been having on
computer.text.tex:

http://groups.google.com/group/comp.text.tex/browse_thread/thread/4793e5cfd369907f#

Cheers,

Stefano
On Wed, Dec 8, 2010 at 12:33 AM, george legge gandmle...@gmail.com wrote:

 Thank you Darren. The first version works perfectly to give what I expect
 to see for endnotes.
 The only addition I made was to add \wide before and \endwide after
 \printpagenotes*.
 That allowed the endnotes to use the full width of text+notemargin.

 Incidentally, why the asterisk?
 With or without the asterisk, the notes get printed with their numbers.
 (and they won't appear in a T.O.C.).

 Thanks again -- you have been a great help.

 Cheers, George




 On Wed, Dec 8, 2010 at 1:00 AM, Daron Wilson daron.wil...@gmail.comwrote:

 George,

 The LyX endnote module uses the LaTeX endnote package, and so it would
 require some LaTeX hacking to change things much I think.  Memoir has its
 own commands to put notes at the end(it calls them pagenotes so as not to
 conflict with the endnotes package).  The memoir commands are not the same,
 but the class does provide all the same functionality, and a little more I
 believe.  I've been using memoir for  a short while, and so I have a little
 familiarity there, and I tried to hack something up from things I found
 before in the memoir manual.

 Caveats:
 *I'm new to the whole LaTeX thing, so it's probably pretty ugly, and the
 long way around, but it is working fine for me here (LyX 2.0 beta).
 *this will only work with the memoir class because it is built on
 class-specific commands.

 I wasn't sure exactly what result you wanted, but basically, what I've
 done is made memoir convert footnotes to endnotes, and hang the paragraphs
 off of the note numbers (I assume that is what you meant by indented for
 all lines).  There are two possible options (available by
 commenting/uncommenting a few appropriate lines): either to hang the
 paragraphs of of a superscript without a space, or to hang the paragraphs
 off of normal text size numbers with a period and a space.

 You should be able to copy the code below straight into the preamble
 section of your document settings, and then the only thing you have to do is
 put the following into ERT in LyX at the end of each chapter:

 \clearpage
 \printpagenotes*


 The memoir package manual has a lot more detail on endnotes in section
 17.4, and some helpful background in chapter 12.

 Regards,

 Daron




 =

 %% Depends on memoir
 %   tell memoir to use endnotes
 \makepagenote

 %   use Lyx footnote apparatus, but have memoir convert to endnotes
 \foottopagenote

 %   setup memoir for notes at the end of chapters
 \renewcommand*{\notedivision}{\section*{\notesname}}
 \renewcommand*{\pagenotesubhead}[3]{}

 %   prepare a new length for the width of the note numbers;  to be
 used later
 \newlength{\notenumberlength}

 %   tell memoir to hang the paragraphs from the width of the note
 numbers
 \renewcommand{\prenoteinnotes}{\par\noindent\hangindent\notenumberlength}

 %   add some space between notes
 \renewcommand{\postnoteinnotes}{\par\smallskip}

 %: use for hanging notes from normal text size numbers

 %   tell LaTeX to reserve note number space wide enough for the number
 99. and a space, in normal font
 \settowidth{\notenumberlength}{\normalfont 99.\space}

 %   tell memoir to typeset the note numbers as flushright in their own
 box

 \renewcommand*{\notenuminnotes}[1]{\makebox[\notenumberlength][r]{#1.\space}}



 %: use for hanging the notes from superscript numbers.
 %   tell LaTeX to reserve enough space for 99 notes, superscript size
 %\settowidth{\notenumberlength}{\textsuperscript{99}}

 %   tell memoir to typeset the note numbers as flushright
 (rightjustified).

 %\renewcommand*{\notenuminnotes}[1]{\makebox[\notenumberlength][r]{\textsuperscript{#1}}}

 =








 On 7 Dec 2010, at 07:43, george legge wrote:

  I am using Book-memoir and all the endnotes appear in the form of
 footnotes;
  that is, each starts with a superscript number which is indented and
 followed immediately by the endnote text.
  If there are subsequent lines for that footnote, they are not 

Re: unable to run biber on 1.6.8

2010-12-08 Thread Richard Heck

On 12/08/2010 01:39 AM, stefano franchi wrote:
My Lyx installation has suddenly decided that it won't run biber 
anymore, even though it is properly indicated in the preferences pane, 
biber is accessible from the command line etc. In fact, I can export 
the file to .tex and compile from the command line. But I cannot get 
biber to run from within Lyx. Any idea on what may be wrong, and how I 
can find out more information on the problem? I tried running lyx from 
console with -dbg 128 (latex), but all I see is a line saying Running 
BibTeX and no biber output (which should be rather abundant).



You could try -dbg all. Perhaps that will give more info.

Richard



Re: LyX 2.0: problems using XeTeX and thesis template

2010-12-08 Thread Richard Heck

On 12/08/2010 05:58 AM, Jürgen Spitzmüller wrote:

Justin Wood wrote:
   

1. conflict with AMS package
I've found that simply activating XeTeX under *Document Settings –
Fonts*will cause parsing errors on viewing if the document also has
*Math Options – Use AMS math package* checked; eg, LaTeX Error: Command
`\Finv' already defined, etc. I think this is a known conflict between
XeTeX and the AMS package, is that right? By changing the setting to *Use
AMS math package automatically* though, these particular errors go away.
Note that this occurs in the generic default new document (*article*
class) as well as the *KOMA-script book *class that the thesis uses.
 

Yes, I've seen this too. Not sure what to do. We could disable AMS always
for XeTeX, if necessary, but I guess we need to do some more research yet.

   

2. conflict in thesis template
Beyond that, changing to the automatic AMS math package in the thesis
document introduces new errors. In a brand new, entirely unmodified
chapter template file, XeTeX compilation now complains about the use of '
\addto \extrasenglish{' in the preamble (used to define cross reference
identifiers). Is this another conflict between XeTeX and ... is it
*hyperref * these overrides refer to?
 

The reason for this is that XeTeX now uses polyglossia, which does not know
these \addto commands (which are from babel). Are these templates shipped
with LyX? If so, we need to embrace these calls in

\...@ifpackageloaded{babel}{%
...
}{}

   

3. custom character-style error
Finally, and this is more an annoyance than an impediment, my custom
character style module generates an *Undefined flex inset *error: 'Flex inset 
TechnicalDefinition
is undefined because of class conversion from article to article' (and the
same occurs in scrbook). This only seems to get thrown if I save a change
made within Document Settings, not on view, etc. Is there something in my
module that might cause this?

#\DeclareLyXModule{thesis styles}
#DescriptionBegin
#Adds character styles for PhD thesis
#DescriptionEnd

InsetLayoutCharStyle:TechnicalDefinition
 LyxType   charstyle
 LabelString   techdefn
 LatexType command
 LatexName techdefn
 Font
 Family  Sans
 EndFont
 Preamble
 \newcommand*{\techdefn}[1]{{\sffamily{\mdseries #1}}}
 EndPreamble
End
 

There has been some syntax change. And if I remember well, it is difficult
to handle self-defined modules. But I'm not sure. Richard can tell you more.

   
I think this bug was in beta1 and has since been fixed. I know I spent 
some time looking at it. If it is still in beta2, please let me know.


Richard



Re: Still getting errors with 2.0.0beta1.

2010-12-08 Thread Richard Heck

On 12/08/2010 06:12 AM, Rudi Gaelzer wrote:

Hi.  Has this bug been solved in the beta 2 release?
If not, what's the ticket #, so I can track it?
Thanks.


I believe it was solved, yes.

rh

On Fri, Dec 3, 2010 at 2:00 PM, Richard Heck rgh...@comcast.net 
mailto:rgh...@comcast.net wrote:


On 12/03/2010 08:02 AM, Rudi Gaelzer wrote:

The LyX version offered on the Fedora 14 repositories has now
upgraded to 2.0.0beta1.
When I load a 1.6x multi-document project into the beta
version and try to process it, I get the following error:

Paragraph ended before \gather* was complete.
Missing $ inserted.
Missing \endgroup inserted.
Display math should end with $$.
Misplaced \cr.
Misplaced \noalign.
Misplaced \noalign.
Extra }, or forgotten \endgroup.
Missing $ inserted.

Of course, the document processed just fine with LyX 1.6x.
When I backtraced the error line from the exported tex source,
I found that the problem was in a gather* environment that
contains an aligned sub-environment.  It seems that the lyx -
tex conversion is generating an incorrect source code.
Moreover, LyX stops displaying the equations the moment a
sub-environment is created.  You can verify that very quickly.

Here's the offending cell:

\begin{gather*}
\frac{d\boldsymbol{p}}{dt}=p_{\perp}\frac{d}{dt}\cos\phi\vu
1+p_{\perp}\frac{d}{dt}\sen\phi\vu
2=\frac{q_{\alpha}B_{0}}{c}\epsilon_{ij3}\vu
iv_{j}=\frac{q_{\alpha}B_{0}}{c}\left(v_{2}\vu 1-v_{1}\vu
2\right),\\
\begin{aligned}\sen\phi p_{\perp}\frac{d\phi}{dt} 

=-\frac{q_{\alpha}B_{0}}{c}v_{2}=-\frac{q_{\alpha}B_{0}}{c}\frac{p_{\perp}\sen\phi}{\gamma
m_{\alpha}}\\
\cos\phi p_{\perp}\frac{d\phi}{dt} 

=-\frac{q_{\alpha}B_{0}}{c}v_{1}=-\frac{q_{\alpha}B_{0}}{c}\frac{p_{\perp}\cos\phi}{\gamma
m_{\alpha}},
\end{aligned}

\end{gather*}

Processing the tex source directly, It complained that the
paragraph was ended before \gather* was complete.  I just had
to remove the empty line before \end{gather*} and the document
processed all right.

I guess this is a bug...

A known bug. It has been fixed for the next release. Still, thanks
for the report.

Richard




--
Rudi Gaelzer
Departamento de Física
Instituto de Física e Matemática
Fundação Universidade Federal de Pelotas
Caixa Postal 354 - Campus UFPel
96001-970 Pelotas - RS
BRAZIL
Phone: +55-53-275-7468
FAX: +55-53-275-7343

Registered Linux user # 153741




problems with lyx2lyx after moving to beta2, from svn

2010-12-08 Thread Jose Quesada
Hi,

I've been using the svn version for the last 6 months. Today I tried beta 2,
and it seems to be incompatible with my templates and files produced with
the svn version (!).

This is what I get:

/home/quesada/Dropbox/exist.de/exist.de.16.lyx is from an older version of
LyX and the lyx2lyx script failed to convert it.
Warning: 410: Format not supported.
Warning: Quitting.
Error: Conversion script failed

/home/quesada/.lyx/templates/defaults.lyx is from an older version of LyX
and the lyx2lyx script failed to convert it.
Error: Could not read template

What was the workaround for this? I know there's one, but cannot find it...

-- 
Best,
-Jose

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


Re: problems with lyx2lyx after moving to beta2, from svn

2010-12-08 Thread Richard Heck

On 12/08/2010 09:26 AM, Jose Quesada wrote:

Hi,

I've been using the svn version for the last 6 months. Today I tried 
beta 2, and it seems to be incompatible with my templates and files 
produced with the svn version (!).


This is what I get:

/home/quesada/Dropbox/exist.de/exist.de.16.lyx 
http://exist.de/exist.de.16.lyx is from an older version of LyX and 
the lyx2lyx script failed to convert it.

Warning: 410: Format not supported.
Warning: Quitting.
Error: Conversion script failed

/home/quesada/.lyx/templates/defaults.lyx is from an older version of 
LyX and the lyx2lyx script failed to convert it.

Error: Could not read template

What was the workaround for this? I know there's one, but cannot find 
it...


I'm going to guess that somehow the upgrade has failed to upgrade the 
lyx2lyx script that is being called. Unless something went very badly, 
format 410 ought to be supported by the lyx2lyx script. It is, in fact, 
the last supported format.


Richard



Re: problems with lyx2lyx after moving to beta2, from svn

2010-12-08 Thread Liviu Andronic
On Wed, Dec 8, 2010 at 3:26 PM, Jose Quesada ques...@gmail.com wrote:
 Hi,

 I've been using the svn version for the last 6 months. Today I tried beta 2,
 and it seems to be incompatible with my templates and files produced with
 the svn version (!).

By chance, did you copy a specific copy of lyx2lyx in your user
folder? Try to run beta2 on a fresh ~/.lyx folder.
Liviu


 This is what I get:

 /home/quesada/Dropbox/exist.de/exist.de.16.lyx is from an older version of
 LyX and the lyx2lyx script failed to convert it.
 Warning: 410: Format not supported.
 Warning: Quitting.
 Error: Conversion script failed
 
 /home/quesada/.lyx/templates/defaults.lyx is from an older version of LyX
 and the lyx2lyx script failed to convert it.
 Error: Could not read template

 What was the workaround for this? I know there's one, but cannot find it...

 --
 Best,
 -Jose

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




-- 
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: unable to run biber on 1.6.8

2010-12-08 Thread stefano franchi
On Wed, Dec 8, 2010 at 7:52 AM, Richard Heck rgh...@comcast.net wrote:

 On 12/08/2010 01:39 AM, stefano franchi wrote:

 My Lyx installation has suddenly decided that it won't run biber anymore,
 even though it is properly indicated in the preferences pane, biber is
 accessible from the command line etc. In fact, I can export the file to .tex
 and compile from the command line. But I cannot get biber to run from within
 Lyx. Any idea on what may be wrong, and how I can find out more information
 on the problem? I tried running lyx from console with -dbg 128 (latex), but
 all I see is a line saying Running BibTeX and no biber output (which
 should be rather abundant).

  You could try -dbg all. Perhaps that will give more info.


I had tried that. But it's difficult to find anything useful in the mass of
debugging data it produces. What is Lyx supposed to say when it runs (or,
rather, were it to run) biber? Is there a specific Lyx module that is in
charge of it?

Stefano


Re: LyX 2.0: problems using XeTeX and thesis template

2010-12-08 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote:

 2. conflict in thesis template
 Beyond that, changing to the automatic AMS math package in the thesis
 document introduces new errors. In a brand new, entirely unmodified
 chapter template file, XeTeX compilation now complains about the use of '
 \addto \extrasenglish{' in the preamble (used to define cross reference
 identifiers). Is this another conflict between XeTeX and ... is it
 *hyperref * these overrides refer to?
 
 The reason for this is that XeTeX now uses polyglossia, which does not
 know these \addto commands (which are from babel). Are these templates
 shipped with LyX? If so, we need to embrace these calls in
 
 \...@ifpackageloaded{babel}{%
 ...
 }{}

This problem should be fixed in the next release. The trick is to embrace 
these calls in

\AtBeginDocument{%
...
}

so that they are executed after polyglossia (and babel).

Jürgen



Prof Support for Setup of a specific Doc Type

2010-12-08 Thread Manfred Hainer

Dear listers,
we are looking for a designer and Lyx professional that can set up / 
develop a doc type for manuals / user guides that resemble our website 
design. Who can help, for adequate payment?


--
Beste Gruesse / Kind Regards
Manfred Hainer

www.ubs-hainer.com
UBS Hainer GmbH, Am Zickmantel 16,
D-36341 Frischborn, Germany
+49(0)6641 6551 0
Geschaeftsfuehrer / Managing Directors:
Dipl. Math. Manfred Hainer
Karsten Philipp Betriebswirt DV
HRB Fulda: 4225
USt.-Nr.: DE 185 890 642
St.-Nr. : 18 247 001 43



Re: LyX 2.0: problems using XeTeX and thesis template

2010-12-08 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote:

 Justin Wood wrote:
 1. conflict with AMS package
 I've found that simply activating XeTeX under *Document Settings –
 Fonts*will cause parsing errors on viewing if the document also has
 *Math Options – Use AMS math package* checked; eg, LaTeX Error: Command
 `\Finv' already defined, etc. I think this is a known conflict between
 XeTeX and the AMS package, is that right? By changing the setting to *Use
 AMS math package automatically* though, these particular errors go away.
 Note that this occurs in the generic default new document (*article*
 class) as well as the *KOMA-script book *class that the thesis uses.
 
 Yes, I've seen this too. Not sure what to do. We could disable AMS
 always for XeTeX, if necessary, but I guess we need to do some more
 research yet.

This should be fixed as well in the next release. The trick is to load all 
AMS packages before fontspec (which itself loads xunicode, which has to be 
loaded after the AMS packages). See
http://www.macfreek.nl/mindmaster/LaTeX_package_conflicts#Amssymb_with_Xunicode

Jürgen



Re: problems with lyx2lyx after moving to beta2, from svn

2010-12-08 Thread Liviu Andronic
On Wed, Dec 8, 2010 at 6:51 PM, Jose Quesada ques...@gmail.com wrote:
 Nope, there's no lyx2lyx in .lyx.
 I installed using a --prefix. there, inside share, there's a lyx2lyx... but
 maybe the system doesn't see it, and it's using 1.6.8, which *maybe* can be
 found in the path.
 Funny thing is svn was working fine.

 Where would I get a clean .lyx? will it get recreated if I rename mine to
 something else?

Yes, it should suffice to 'mv .lyx .lyx.bak' or similar. Then, if it
still fails, try removing the lyx installation completely and check
specifically that lyx2lyx gets removed, and then re-install.
Otherwise, make sure that you're actually trying to use 2.0.0 beta and
not 1.6.8. ;)

Regards
Liviu


 On Wed, Dec 8, 2010 at 4:15 PM, Liviu Andronic landronim...@gmail.com
 wrote:

 On Wed, Dec 8, 2010 at 3:26 PM, Jose Quesada ques...@gmail.com wrote:
  Hi,
 
  I've been using the svn version for the last 6 months. Today I tried
  beta 2,
  and it seems to be incompatible with my templates and files produced
  with
  the svn version (!).
 
 By chance, did you copy a specific copy of lyx2lyx in your user
 folder? Try to run beta2 on a fresh ~/.lyx folder.
 Liviu


  This is what I get:
 
  /home/quesada/Dropbox/exist.de/exist.de.16.lyx is from an older version
  of
  LyX and the lyx2lyx script failed to convert it.
  Warning: 410: Format not supported.
  Warning: Quitting.
  Error: Conversion script failed
  
  /home/quesada/.lyx/templates/defaults.lyx is from an older version of
  LyX
  and the lyx2lyx script failed to convert it.
  Error: Could not read template
 
  What was the workaround for this? I know there's one, but cannot find
  it...
 
  --
  Best,
  -Jose
 
  Jose Quesada, PhD.
  Research scientist,
  Max Planck Institute,
  Center for Adaptive Behavior and Cognition,
  Berlin
  http://www.josequesada.name/
  http://twitter.com/Quesada
 



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



 --
 Best,
 -Jose

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




-- 
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: Questions and suggestions for spellcheck

2010-12-08 Thread Stephan Witt
Am 07.12.2010 um 19:53 schrieb Steve Litt:

 On Tuesday 07 December 2010 01:33:03 Stephan Witt wrote:
 Am 07.12.2010 um 00:18 schrieb Richard Heck:
 On 12/06/2010 06:06 PM, Steve Litt wrote:
 On Monday 06 December 2010 17:18:33 Paul Rubin wrote:
 
 With what will they replace the personal dictionary in LyX 2.0?
 
 I believe the intention is to manage the personal dictionary internally,
 though I am not the one doing this work. It is your namesake, Stephan
 Witt ;-). The main motivation is that the various backends we use aren't
 at all consistent in how they handle adding and removing words, and some
 of them don't even support removal. There's also the issue with
 persistence, which you seem to have experienced. So doing it all inside
 LyX, as far as the personal dictionary goes, makes sense.
 
 That's a good summary of my work, thanks. :-)
 
 The current state for LyX 2.0 beta2 is a working internal personal
 dictionary at a fixed location inside your LyX users directory.  Now
 adding and removing of words works for me with aspell and hunspell with
 the internal personal dictionary on Linux and Mac OS X (Windows I couldn't
 test).
 
 Next I want to make the location of the personal dictionary more flexible.
 
 For LyX 1.6.9 I'll have a look at #6688 - I didn't see it earlier.
 As I understand it the path to personal dictionary is used in 1.6.x for
 ispell (and external aspell?) only. And of course one should be able to
 clear the input field and save that.

This should be fixed now with the next stable release.

BTW, the removal of the path to personal dictionary file was not my doing.
The feature was implemented for ispell and external aspell only and together
with the support for external aspell it was removed.

 Hi Stephan,
 
 Thanks!
 
 Am I reading you correctly that the LyX internal dictionary is just a file? 
 If 
 so, is it a file I can add to and subtract from with a text editor or a perl 
 script?

Yes, but the file format is not that mature. 
I didn't expect such big audience for it.

Currently it's as simple as one header line and one line per word with utf-8 
charset.

After your question I'll make it more formal and will document it in place.

 You mention you want to make the personal dictionary location more flexible. 
 Sounds good to me. Let me ask you something -- besides being able to set it 
 in 
 Tools-Configure, would it be possible for you to add it on a per-document 
 basis?
 It might be as simple as adding a special comment to the document:
 
 # LYX_PERSONAL_DICTIONARY=/home/slitt/books/thrive/thrive.pws
 
 and then being able to edit it from a Document-Settings, and recognize it 
 when running spellcheck. The document's personal dictionary, if it exists, 
 would override the Tools-Configure based personal dictionary.

 The benefit of this is every document has words that belong to it, but these 
 words would be wrong in another document. Names of characters in a fiction 
 book come to mind instantly, but there could also be special acronyms for a 
 special technology, etc.
 
 Does that sound doable?

I'm not sure about the concrete incarnation of that feature.
Doable is not the question - how to do it right is.
That doesn't mean I don't like it...
 
See the post from Julien:

 Am 07.12.2010 um 20:52 schrieb Julien Rioux:
 
 You might even be able to store the private list of words itself in the LyX 
 document,
 instead of storing a pointer to an external file.

This would solve the problems when you exchange the document with co-workers.
But perhaps, exactly this is not wanted - I'm not sure. What do you think?

The biggest problem with this idea is the LyX file format change.
After 2.0 release it will remain fixed AFAIK - and this means the feature
will be a target for the 2.1 cycle. We want to get 2.0 out soon.

Stephan

Re: LyX Memoir endnotes have form of footnotes

2010-12-08 Thread george legge
Thank you Stefano for that useful information.
Cheers, George

On Thu, Dec 9, 2010 at 12:45 AM, stefano franchi
stefano.fran...@gmail.comwrote:

 George, Daron,

 please note that memoir's \pagenote and \foottopagenote use in Lyx
 currently suffers from two   problems:

 1. a 2-paragraphs (or more) pagenote produced with Lyx 's footnote command
 and \foottopagenote will fail and produce a Latex error. One paragraph notes
 are okay.

 2. similarly, a pagenote produced with Lyx's footnote command and
 \foottopagenote cannot contain \index commands unless they are protected
 (you need to insert a \protect command as ERT **immediately before** the
 \index command).



Re: LyX Memoir endnotes have form of footnotes

2010-12-08 Thread Daron Wilson
Thanks very much for the heads-up.  I've not run into the problem yet, but I 
can see it looming ahead.

Regards,

Daron   


On 8 Dec 2010, at 20:45, stefano franchi wrote:

 George, Daron,
 
 please note that memoir's \pagenote and \foottopagenote use in Lyx currently 
 suffers from two   problems:
 
 1. a 2-paragraphs (or more) pagenote produced with Lyx 's footnote command 
 and \foottopagenote will fail and produce a Latex error. One paragraph notes 
 are okay.
 
 2. similarly, a pagenote produced with Lyx's footnote command and 
 \foottopagenote cannot contain \index commands unless they are protected 
 (you need to insert a \protect command as ERT **immediately before** the 
 \index command).
 
 Lars Madsen, the maintainer of memoir, is working on both issues (the first 
 one is trivial, apparently, the second one less so).
 
 You may follow up the details of the copnversation we have been having on 
 computer.text.tex:
 
 http://groups.google.com/group/comp.text.tex/browse_thread/thread/4793e5cfd369907f#
 
 Cheers,
 
 Stefano
 On Wed, Dec 8, 2010 at 12:33 AM, george legge gandmle...@gmail.com wrote:
 Thank you Darren. The first version works perfectly to give what I expect to 
 see for endnotes.
 The only addition I made was to add \wide before and \endwide after 
 \printpagenotes*.
 That allowed the endnotes to use the full width of text+notemargin.
 
 Incidentally, why the asterisk?
 With or without the asterisk, the notes get printed with their numbers. (and 
 they won't appear in a T.O.C.).
 
 Thanks again -- you have been a great help.
 
 Cheers, George
 
 
 
 
 On Wed, Dec 8, 2010 at 1:00 AM, Daron Wilson daron.wil...@gmail.com wrote:
 George,
 
 The LyX endnote module uses the LaTeX endnote package, and so it would 
 require some LaTeX hacking to change things much I think.  Memoir has its own 
 commands to put notes at the end(it calls them pagenotes so as not to 
 conflict with the endnotes package).  The memoir commands are not the same, 
 but the class does provide all the same functionality, and a little more I 
 believe.  I've been using memoir for  a short while, and so I have a little 
 familiarity there, and I tried to hack something up from things I found 
 before in the memoir manual.
 
 Caveats:
 *I'm new to the whole LaTeX thing, so it's probably pretty ugly, and the long 
 way around, but it is working fine for me here (LyX 2.0 beta).
 *this will only work with the memoir class because it is built on 
 class-specific commands.
 
 I wasn't sure exactly what result you wanted, but basically, what I've done 
 is made memoir convert footnotes to endnotes, and hang the paragraphs off of 
 the note numbers (I assume that is what you meant by indented for all 
 lines).  There are two possible options (available by 
 commenting/uncommenting a few appropriate lines): either to hang the 
 paragraphs of of a superscript without a space, or to hang the paragraphs off 
 of normal text size numbers with a period and a space.
 
 You should be able to copy the code below straight into the preamble section 
 of your document settings, and then the only thing you have to do is put the 
 following into ERT in LyX at the end of each chapter:
 
 \clearpage
 \printpagenotes*
 
 
 The memoir package manual has a lot more detail on endnotes in section 17.4, 
 and some helpful background in chapter 12.
 
 Regards,
 
 Daron
 
 
 
 
 =
 
 %% Depends on memoir
 %   tell memoir to use endnotes
 \makepagenote
 
 %   use Lyx footnote apparatus, but have memoir convert to endnotes
 \foottopagenote
 
 %   setup memoir for notes at the end of chapters
 \renewcommand*{\notedivision}{\section*{\notesname}}
 \renewcommand*{\pagenotesubhead}[3]{}
 
 %   prepare a new length for the width of the note numbers;  to be used 
 later
 \newlength{\notenumberlength}
 
 %   tell memoir to hang the paragraphs from the width of the note numbers
 \renewcommand{\prenoteinnotes}{\par\noindent\hangindent\notenumberlength}
 
 %   add some space between notes
 \renewcommand{\postnoteinnotes}{\par\smallskip}
 
 %: use for hanging notes from normal text size numbers
 
 %   tell LaTeX to reserve note number space wide enough for the number 
 99. and a space, in normal font
 \settowidth{\notenumberlength}{\normalfont 99.\space}
 
 %   tell memoir to typeset the note numbers as flushright in their own box
 \renewcommand*{\notenuminnotes}[1]{\makebox[\notenumberlength][r]{#1.\space}}
 
 
 
 %: use for hanging the notes from superscript numbers.
 %   tell LaTeX to reserve enough space for 99 notes, superscript size
 %\settowidth{\notenumberlength}{\textsuperscript{99}}
 
 %   tell memoir to typeset the note numbers as flushright 
 (rightjustified).
 %\renewcommand*{\notenuminnotes}[1]{\makebox[\notenumberlength][r]{\textsuperscript{#1}}}
 
 =
 
 
 
 
 
 
 
 
 On 7 Dec 2010, at 07:43, george 

Spellchecker identifying correct words as incorrect

2010-12-08 Thread Pete Crite
Hi,

I'm running the latest LyX on Mac OS X. I've had the spellchecker work fine in 
the past, using aspell. I've just tried to spellcheck a new file, and strange 
things are happening. Quite frequently, words that are spelt correctly are 
marked as incorrect. For example Introduction, identification, 
differentially and alternatively come up as incorrect. What's even stranger 
is that the suggested spelling is the same identical word! I click Replace 
continually, but obviously the new word is then seen as misspelt. Oddly 
enough, if I add the word to the personal dictionary, it works next time. Is 
there anything I can do to fix this problem?

Cheers,
Pete.

Re: Spellchecker identifying correct words as incorrect

2010-12-08 Thread Stephan Witt
Am 09.12.2010 um 05:57 schrieb Pete Crite:

 Hi,
 
 I'm running the latest LyX on Mac OS X. I've had the spellchecker work fine 
 in the past, using aspell. I've just tried to spellcheck a new file, and 
 strange things are happening. Quite frequently, words that are spelt 
 correctly are marked as incorrect. For example Introduction, 
 identification, differentially and alternatively come up as incorrect. 
 What's even stranger is that the suggested spelling is the same identical 
 word! I click Replace continually, but obviously the new word is then 
 seen as misspelt. Oddly enough, if I add the word to the personal dictionary, 
 it works next time. Is there anything I can do to fix this problem?

Hi Pete,

please check in preferences the spell checker type you are using.
The default has changed to Macs native spell checker.

Stephan

Re: LyX 2.0: problems using XeTeX and thesis template

2010-12-08 Thread Guenter Milde
On 2010-12-08, Jürgen Spitzmüller wrote:
 Jürgen Spitzmüller wrote:

 Justin Wood wrote:
 1. conflict with AMS package
 I've found that simply activating XeTeX under *Document Settings –
 Fonts*will cause parsing errors on viewing if the document also has
 *Math Options – Use AMS math package* checked; eg, LaTeX Error: Command
 `\Finv' already defined, etc. I think this is a known conflict between
 XeTeX and the AMS package, is that right? By changing the setting to *Use
 AMS math package automatically* though, these particular errors go away.
 Note that this occurs in the generic default new document (*article*
 class) as well as the *KOMA-script book *class that the thesis uses.

 Yes, I've seen this too. Not sure what to do. We could disable AMS
 always for XeTeX, if necessary, but I guess we need to do some more
 research yet.

Please never disable AMS always but not AMS automatically: this would
lead to errors as soon as an AMS-requiring construct is put into the
document.

 This should be fixed as well in the next release. The trick is to load all 
 AMS packages before fontspec (which itself loads xunicode, which has to be 
 loaded after the AMS packages). See
 http://www.macfreek.nl/mindmaster/LaTeX_package_conflicts#Amssymb_with_Xunicode

I am glad you found the core of the problem.
(BTW: the current version of fontspec does no longer load xunicode, but
we should care for users with older versions.)

Testing here with a pre-beta-2 SVN version,

  LyX 2.0.0svn (not released yet)
  Built on Nov 26 2010, 14:31:19

I get

%% LyX 2.0.0svn created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[british]{article}
\usepackage{fontspec}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{xunicode}
\usepackage{xltxtra}
\usepackage{polyglossia}
\setdefaultlanguage[variant=british]{english}
\begin{document}
Hallo $\Rrightarrow$.
\end{document}

which compiles fine.

However, I also found that even if I do not check any of the AMS math
options, LyX 2 behaves as if the Load AMS math automatically option
were set:

a) the AMS symbols toolbox is enabled.
b) inserting a symbol from it inserts \usepackage{amssymb} in the preamble.
c) even writing \Rrightarrow in a math box (converts this to the symbol and)
   inserts \usepackage{amssymb} in the preamble.
   
Because of c), a work-around with disabling AMS math in the checkbox and
loading in the LaTeX preamble will fail.

Günter

   
 

Günter



OT: Sharing LaTeX Documents with word users

2010-12-08 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi

Just a nice quote:

On the R mailing list, Greg Snow posted:

Sharing LaTeX documents with people using word processors only is no
more difficult than giving driving directions to someone who is
blindfolded and has all 4 limbs tied behind their back.  Collaboration
with people who insist on using programs that process their words much
like a food processor processes food is the one legitimate reason to not
use LaTeX (but untying them and removing the blindfold is much better).

That is more then true.

Cheers,

Rainer

- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Tel:+33 - (0)9 53 10 27 44
Cell:   +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkz/SwoACgkQoYgNqgF2egoHkACeORwqimaMZp9L7UfXOddgy8oA
GRsAn39gQdBzG9kScCAmbWVQAiOpasyD
=hkPV
-END PGP SIGNATURE-


Re: LyX 2.0: problems using XeTeX and thesis template

2010-12-08 Thread Jürgen Spitzmüller
Justin Wood wrote:
 1. conflict with AMS package
 I've found that simply activating XeTeX under *Document Settings –
 Fonts*will cause parsing errors on viewing if the document also has
 *Math Options – Use AMS math package* checked; eg, LaTeX Error: Command
 `\Finv' already defined, etc. I think this is a known conflict between
 XeTeX and the AMS package, is that right? By changing the setting to *Use
 AMS math package automatically* though, these particular errors go away.
 Note that this occurs in the generic default new document (*article*
 class) as well as the *KOMA-script book *class that the thesis uses.

Yes, I've seen this too. Not sure what to do. We could disable AMS always 
for XeTeX, if necessary, but I guess we need to do some more research yet.

 2. conflict in thesis template
 Beyond that, changing to the automatic AMS math package in the thesis
 document introduces new errors. In a brand new, entirely unmodified
 chapter template file, XeTeX compilation now complains about the use of '
 \addto \extrasenglish{' in the preamble (used to define cross reference
 identifiers). Is this another conflict between XeTeX and ... is it
 *hyperref * these overrides refer to?

The reason for this is that XeTeX now uses polyglossia, which does not know 
these \addto commands (which are from babel). Are these templates shipped 
with LyX? If so, we need to embrace these calls in

\...@ifpackageloaded{babel}{%
...
}{}

 3. custom character-style error
 Finally, and this is more an annoyance than an impediment, my custom
 character style module (based on info from Rob
 Oakeshttp://blog.oak-tree.us/index.php/2009/11/14/customize-lyx-
character-styles)
 generates an *Undefined flex inset *error: 'Flex inset TechnicalDefinition
 is undefined because of class conversion from article to article' (and the
 same occurs in scrbook). This only seems to get thrown if I save a change
 made within Document Settings, not on view, etc. Is there something in my
 module that might cause this?
 
 #\DeclareLyXModule{thesis styles}
 #DescriptionBegin
 #Adds character styles for PhD thesis
 #DescriptionEnd
 
 InsetLayoutCharStyle:TechnicalDefinition
 LyxType   charstyle
 LabelString   techdefn
 LatexType command
 LatexName techdefn
 Font
 Family  Sans
 EndFont
 Preamble
 \newcommand*{\techdefn}[1]{{\sffamily{\mdseries #1}}}
 EndPreamble
 End

There has been some syntax change. And if I remember well, it is difficult 
to handle self-defined modules. But I'm not sure. Richard can tell you more.

Jürgen

 Thanks!




Re: Still getting errors with 2.0.0beta1.

2010-12-08 Thread Rudi Gaelzer
Hi.  Has this bug been solved in the beta 2 release?
If not, what's the ticket #, so I can track it?
Thanks.

On Fri, Dec 3, 2010 at 2:00 PM, Richard Heck rgh...@comcast.net wrote:

 On 12/03/2010 08:02 AM, Rudi Gaelzer wrote:

 The LyX version offered on the Fedora 14 repositories has now upgraded to
 2.0.0beta1.
 When I load a 1.6x multi-document project into the beta version and try to
 process it, I get the following error:

 Paragraph ended before \gather* was complete.
 Missing $ inserted.
 Missing \endgroup inserted.
 Display math should end with $$.
 Misplaced \cr.
 Misplaced \noalign.
 Misplaced \noalign.
 Extra }, or forgotten \endgroup.
 Missing $ inserted.

 Of course, the document processed just fine with LyX 1.6x.
 When I backtraced the error line from the exported tex source, I found
 that the problem was in a gather* environment that contains an aligned
 sub-environment.  It seems that the lyx - tex conversion is generating an
 incorrect source code.
 Moreover, LyX stops displaying the equations the moment a sub-environment
 is created.  You can verify that very quickly.

 Here's the offending cell:

 \begin{gather*}
 \frac{d\boldsymbol{p}}{dt}=p_{\perp}\frac{d}{dt}\cos\phi\vu
 1+p_{\perp}\frac{d}{dt}\sen\phi\vu
 2=\frac{q_{\alpha}B_{0}}{c}\epsilon_{ij3}\vu
 iv_{j}=\frac{q_{\alpha}B_{0}}{c}\left(v_{2}\vu 1-v_{1}\vu 2\right),\\
 \begin{aligned}\sen\phi p_{\perp}\frac{d\phi}{dt} 
 =-\frac{q_{\alpha}B_{0}}{c}v_{2}=-\frac{q_{\alpha}B_{0}}{c}\frac{p_{\perp}\sen\phi}{\gamma
 m_{\alpha}}\\
 \cos\phi p_{\perp}\frac{d\phi}{dt} 
 =-\frac{q_{\alpha}B_{0}}{c}v_{1}=-\frac{q_{\alpha}B_{0}}{c}\frac{p_{\perp}\cos\phi}{\gamma
 m_{\alpha}},
 \end{aligned}

 \end{gather*}

 Processing the tex source directly, It complained that the paragraph was
 ended before \gather* was complete.  I just had to remove the empty line
 before \end{gather*} and the document processed all right.

 I guess this is a bug...

  A known bug. It has been fixed for the next release. Still, thanks for
 the report.

 Richard




-- 
Rudi Gaelzer
Departamento de Física
Instituto de Física e Matemática
Fundação Universidade Federal de Pelotas
Caixa Postal 354 - Campus UFPel
96001-970 Pelotas - RS
BRAZIL
Phone: +55-53-275-7468
FAX: +55-53-275-7343

Registered Linux user # 153741


Re: LyX Memoir endnotes have form of footnotes

2010-12-08 Thread stefano franchi
George, Daron,

please note that memoir's \pagenote and \foottopagenote use in Lyx currently
suffers from two   problems:

1. a 2-paragraphs (or more) pagenote produced with Lyx 's footnote command
and \foottopagenote will fail and produce a Latex error. One paragraph notes
are okay.

2. similarly, a pagenote produced with Lyx's footnote command and
\foottopagenote cannot contain \index commands unless they are protected
(you need to insert a \protect command as ERT **immediately before** the
\index command).

Lars Madsen, the maintainer of memoir, is working on both issues (the first
one is trivial, apparently, the second one less so).

You may follow up the details of the copnversation we have been having on
computer.text.tex:

http://groups.google.com/group/comp.text.tex/browse_thread/thread/4793e5cfd369907f#

Cheers,

Stefano
On Wed, Dec 8, 2010 at 12:33 AM, george legge gandmle...@gmail.com wrote:

 Thank you Darren. The first version works perfectly to give what I expect
 to see for endnotes.
 The only addition I made was to add \wide before and \endwide after
 \printpagenotes*.
 That allowed the endnotes to use the full width of text+notemargin.

 Incidentally, why the asterisk?
 With or without the asterisk, the notes get printed with their numbers.
 (and they won't appear in a T.O.C.).

 Thanks again -- you have been a great help.

 Cheers, George




 On Wed, Dec 8, 2010 at 1:00 AM, Daron Wilson daron.wil...@gmail.comwrote:

 George,

 The LyX endnote module uses the LaTeX endnote package, and so it would
 require some LaTeX hacking to change things much I think.  Memoir has its
 own commands to put notes at the end(it calls them pagenotes so as not to
 conflict with the endnotes package).  The memoir commands are not the same,
 but the class does provide all the same functionality, and a little more I
 believe.  I've been using memoir for  a short while, and so I have a little
 familiarity there, and I tried to hack something up from things I found
 before in the memoir manual.

 Caveats:
 *I'm new to the whole LaTeX thing, so it's probably pretty ugly, and the
 long way around, but it is working fine for me here (LyX 2.0 beta).
 *this will only work with the memoir class because it is built on
 class-specific commands.

 I wasn't sure exactly what result you wanted, but basically, what I've
 done is made memoir convert footnotes to endnotes, and hang the paragraphs
 off of the note numbers (I assume that is what you meant by indented for
 all lines).  There are two possible options (available by
 commenting/uncommenting a few appropriate lines): either to hang the
 paragraphs of of a superscript without a space, or to hang the paragraphs
 off of normal text size numbers with a period and a space.

 You should be able to copy the code below straight into the preamble
 section of your document settings, and then the only thing you have to do is
 put the following into ERT in LyX at the end of each chapter:

 \clearpage
 \printpagenotes*


 The memoir package manual has a lot more detail on endnotes in section
 17.4, and some helpful background in chapter 12.

 Regards,

 Daron




 =

 %% Depends on memoir
 %   tell memoir to use endnotes
 \makepagenote

 %   use Lyx footnote apparatus, but have memoir convert to endnotes
 \foottopagenote

 %   setup memoir for notes at the end of chapters
 \renewcommand*{\notedivision}{\section*{\notesname}}
 \renewcommand*{\pagenotesubhead}[3]{}

 %   prepare a new length for the width of the note numbers;  to be
 used later
 \newlength{\notenumberlength}

 %   tell memoir to hang the paragraphs from the width of the note
 numbers
 \renewcommand{\prenoteinnotes}{\par\noindent\hangindent\notenumberlength}

 %   add some space between notes
 \renewcommand{\postnoteinnotes}{\par\smallskip}

 %: use for hanging notes from normal text size numbers

 %   tell LaTeX to reserve note number space wide enough for the number
 99. and a space, in normal font
 \settowidth{\notenumberlength}{\normalfont 99.\space}

 %   tell memoir to typeset the note numbers as flushright in their own
 box

 \renewcommand*{\notenuminnotes}[1]{\makebox[\notenumberlength][r]{#1.\space}}



 %: use for hanging the notes from superscript numbers.
 %   tell LaTeX to reserve enough space for 99 notes, superscript size
 %\settowidth{\notenumberlength}{\textsuperscript{99}}

 %   tell memoir to typeset the note numbers as flushright
 (rightjustified).

 %\renewcommand*{\notenuminnotes}[1]{\makebox[\notenumberlength][r]{\textsuperscript{#1}}}

 =








 On 7 Dec 2010, at 07:43, george legge wrote:

  I am using Book-memoir and all the endnotes appear in the form of
 footnotes;
  that is, each starts with a superscript number which is indented and
 followed immediately by the endnote text.
  If there are subsequent lines for that footnote, they are not 

Re: unable to run biber on 1.6.8

2010-12-08 Thread Richard Heck

On 12/08/2010 01:39 AM, stefano franchi wrote:
My Lyx installation has suddenly decided that it won't run biber 
anymore, even though it is properly indicated in the preferences pane, 
biber is accessible from the command line etc. In fact, I can export 
the file to .tex and compile from the command line. But I cannot get 
biber to run from within Lyx. Any idea on what may be wrong, and how I 
can find out more information on the problem? I tried running lyx from 
console with -dbg 128 (latex), but all I see is a line saying Running 
BibTeX and no biber output (which should be rather abundant).



You could try -dbg all. Perhaps that will give more info.

Richard



Re: LyX 2.0: problems using XeTeX and thesis template

2010-12-08 Thread Richard Heck

On 12/08/2010 05:58 AM, Jürgen Spitzmüller wrote:

Justin Wood wrote:
   

1. conflict with AMS package
I've found that simply activating XeTeX under *Document Settings –
Fonts*will cause parsing errors on viewing if the document also has
*Math Options – Use AMS math package* checked; eg, LaTeX Error: Command
`\Finv' already defined, etc. I think this is a known conflict between
XeTeX and the AMS package, is that right? By changing the setting to *Use
AMS math package automatically* though, these particular errors go away.
Note that this occurs in the generic default new document (*article*
class) as well as the *KOMA-script book *class that the thesis uses.
 

Yes, I've seen this too. Not sure what to do. We could disable AMS always
for XeTeX, if necessary, but I guess we need to do some more research yet.

   

2. conflict in thesis template
Beyond that, changing to the automatic AMS math package in the thesis
document introduces new errors. In a brand new, entirely unmodified
chapter template file, XeTeX compilation now complains about the use of '
\addto \extrasenglish{' in the preamble (used to define cross reference
identifiers). Is this another conflict between XeTeX and ... is it
*hyperref * these overrides refer to?
 

The reason for this is that XeTeX now uses polyglossia, which does not know
these \addto commands (which are from babel). Are these templates shipped
with LyX? If so, we need to embrace these calls in

\...@ifpackageloaded{babel}{%
...
}{}

   

3. custom character-style error
Finally, and this is more an annoyance than an impediment, my custom
character style module generates an *Undefined flex inset *error: 'Flex inset 
TechnicalDefinition
is undefined because of class conversion from article to article' (and the
same occurs in scrbook). This only seems to get thrown if I save a change
made within Document Settings, not on view, etc. Is there something in my
module that might cause this?

#\DeclareLyXModule{thesis styles}
#DescriptionBegin
#Adds character styles for PhD thesis
#DescriptionEnd

InsetLayoutCharStyle:TechnicalDefinition
 LyxType   charstyle
 LabelString   techdefn
 LatexType command
 LatexName techdefn
 Font
 Family  Sans
 EndFont
 Preamble
 \newcommand*{\techdefn}[1]{{\sffamily{\mdseries #1}}}
 EndPreamble
End
 

There has been some syntax change. And if I remember well, it is difficult
to handle self-defined modules. But I'm not sure. Richard can tell you more.

   
I think this bug was in beta1 and has since been fixed. I know I spent 
some time looking at it. If it is still in beta2, please let me know.


Richard



Re: Still getting errors with 2.0.0beta1.

2010-12-08 Thread Richard Heck

On 12/08/2010 06:12 AM, Rudi Gaelzer wrote:

Hi.  Has this bug been solved in the beta 2 release?
If not, what's the ticket #, so I can track it?
Thanks.


I believe it was solved, yes.

rh

On Fri, Dec 3, 2010 at 2:00 PM, Richard Heck rgh...@comcast.net 
mailto:rgh...@comcast.net wrote:


On 12/03/2010 08:02 AM, Rudi Gaelzer wrote:

The LyX version offered on the Fedora 14 repositories has now
upgraded to 2.0.0beta1.
When I load a 1.6x multi-document project into the beta
version and try to process it, I get the following error:

Paragraph ended before \gather* was complete.
Missing $ inserted.
Missing \endgroup inserted.
Display math should end with $$.
Misplaced \cr.
Misplaced \noalign.
Misplaced \noalign.
Extra }, or forgotten \endgroup.
Missing $ inserted.

Of course, the document processed just fine with LyX 1.6x.
When I backtraced the error line from the exported tex source,
I found that the problem was in a gather* environment that
contains an aligned sub-environment.  It seems that the lyx -
tex conversion is generating an incorrect source code.
Moreover, LyX stops displaying the equations the moment a
sub-environment is created.  You can verify that very quickly.

Here's the offending cell:

\begin{gather*}
\frac{d\boldsymbol{p}}{dt}=p_{\perp}\frac{d}{dt}\cos\phi\vu
1+p_{\perp}\frac{d}{dt}\sen\phi\vu
2=\frac{q_{\alpha}B_{0}}{c}\epsilon_{ij3}\vu
iv_{j}=\frac{q_{\alpha}B_{0}}{c}\left(v_{2}\vu 1-v_{1}\vu
2\right),\\
\begin{aligned}\sen\phi p_{\perp}\frac{d\phi}{dt} 

=-\frac{q_{\alpha}B_{0}}{c}v_{2}=-\frac{q_{\alpha}B_{0}}{c}\frac{p_{\perp}\sen\phi}{\gamma
m_{\alpha}}\\
\cos\phi p_{\perp}\frac{d\phi}{dt} 

=-\frac{q_{\alpha}B_{0}}{c}v_{1}=-\frac{q_{\alpha}B_{0}}{c}\frac{p_{\perp}\cos\phi}{\gamma
m_{\alpha}},
\end{aligned}

\end{gather*}

Processing the tex source directly, It complained that the
paragraph was ended before \gather* was complete.  I just had
to remove the empty line before \end{gather*} and the document
processed all right.

I guess this is a bug...

A known bug. It has been fixed for the next release. Still, thanks
for the report.

Richard




--
Rudi Gaelzer
Departamento de Física
Instituto de Física e Matemática
Fundação Universidade Federal de Pelotas
Caixa Postal 354 - Campus UFPel
96001-970 Pelotas - RS
BRAZIL
Phone: +55-53-275-7468
FAX: +55-53-275-7343

Registered Linux user # 153741




problems with lyx2lyx after moving to beta2, from svn

2010-12-08 Thread Jose Quesada
Hi,

I've been using the svn version for the last 6 months. Today I tried beta 2,
and it seems to be incompatible with my templates and files produced with
the svn version (!).

This is what I get:

/home/quesada/Dropbox/exist.de/exist.de.16.lyx is from an older version of
LyX and the lyx2lyx script failed to convert it.
Warning: 410: Format not supported.
Warning: Quitting.
Error: Conversion script failed

/home/quesada/.lyx/templates/defaults.lyx is from an older version of LyX
and the lyx2lyx script failed to convert it.
Error: Could not read template

What was the workaround for this? I know there's one, but cannot find it...

-- 
Best,
-Jose

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


Re: problems with lyx2lyx after moving to beta2, from svn

2010-12-08 Thread Richard Heck

On 12/08/2010 09:26 AM, Jose Quesada wrote:

Hi,

I've been using the svn version for the last 6 months. Today I tried 
beta 2, and it seems to be incompatible with my templates and files 
produced with the svn version (!).


This is what I get:

/home/quesada/Dropbox/exist.de/exist.de.16.lyx 
http://exist.de/exist.de.16.lyx is from an older version of LyX and 
the lyx2lyx script failed to convert it.

Warning: 410: Format not supported.
Warning: Quitting.
Error: Conversion script failed

/home/quesada/.lyx/templates/defaults.lyx is from an older version of 
LyX and the lyx2lyx script failed to convert it.

Error: Could not read template

What was the workaround for this? I know there's one, but cannot find 
it...


I'm going to guess that somehow the upgrade has failed to upgrade the 
lyx2lyx script that is being called. Unless something went very badly, 
format 410 ought to be supported by the lyx2lyx script. It is, in fact, 
the last supported format.


Richard



Re: problems with lyx2lyx after moving to beta2, from svn

2010-12-08 Thread Liviu Andronic
On Wed, Dec 8, 2010 at 3:26 PM, Jose Quesada ques...@gmail.com wrote:
 Hi,

 I've been using the svn version for the last 6 months. Today I tried beta 2,
 and it seems to be incompatible with my templates and files produced with
 the svn version (!).

By chance, did you copy a specific copy of lyx2lyx in your user
folder? Try to run beta2 on a fresh ~/.lyx folder.
Liviu


 This is what I get:

 /home/quesada/Dropbox/exist.de/exist.de.16.lyx is from an older version of
 LyX and the lyx2lyx script failed to convert it.
 Warning: 410: Format not supported.
 Warning: Quitting.
 Error: Conversion script failed
 
 /home/quesada/.lyx/templates/defaults.lyx is from an older version of LyX
 and the lyx2lyx script failed to convert it.
 Error: Could not read template

 What was the workaround for this? I know there's one, but cannot find it...

 --
 Best,
 -Jose

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




-- 
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: unable to run biber on 1.6.8

2010-12-08 Thread stefano franchi
On Wed, Dec 8, 2010 at 7:52 AM, Richard Heck rgh...@comcast.net wrote:

 On 12/08/2010 01:39 AM, stefano franchi wrote:

 My Lyx installation has suddenly decided that it won't run biber anymore,
 even though it is properly indicated in the preferences pane, biber is
 accessible from the command line etc. In fact, I can export the file to .tex
 and compile from the command line. But I cannot get biber to run from within
 Lyx. Any idea on what may be wrong, and how I can find out more information
 on the problem? I tried running lyx from console with -dbg 128 (latex), but
 all I see is a line saying Running BibTeX and no biber output (which
 should be rather abundant).

  You could try -dbg all. Perhaps that will give more info.


I had tried that. But it's difficult to find anything useful in the mass of
debugging data it produces. What is Lyx supposed to say when it runs (or,
rather, were it to run) biber? Is there a specific Lyx module that is in
charge of it?

Stefano


Re: LyX 2.0: problems using XeTeX and thesis template

2010-12-08 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote:

 2. conflict in thesis template
 Beyond that, changing to the automatic AMS math package in the thesis
 document introduces new errors. In a brand new, entirely unmodified
 chapter template file, XeTeX compilation now complains about the use of '
 \addto \extrasenglish{' in the preamble (used to define cross reference
 identifiers). Is this another conflict between XeTeX and ... is it
 *hyperref * these overrides refer to?
 
 The reason for this is that XeTeX now uses polyglossia, which does not
 know these \addto commands (which are from babel). Are these templates
 shipped with LyX? If so, we need to embrace these calls in
 
 \...@ifpackageloaded{babel}{%
 ...
 }{}

This problem should be fixed in the next release. The trick is to embrace 
these calls in

\AtBeginDocument{%
...
}

so that they are executed after polyglossia (and babel).

Jürgen



Prof Support for Setup of a specific Doc Type

2010-12-08 Thread Manfred Hainer

Dear listers,
we are looking for a designer and Lyx professional that can set up / 
develop a doc type for manuals / user guides that resemble our website 
design. Who can help, for adequate payment?


--
Beste Gruesse / Kind Regards
Manfred Hainer

www.ubs-hainer.com
UBS Hainer GmbH, Am Zickmantel 16,
D-36341 Frischborn, Germany
+49(0)6641 6551 0
Geschaeftsfuehrer / Managing Directors:
Dipl. Math. Manfred Hainer
Karsten Philipp Betriebswirt DV
HRB Fulda: 4225
USt.-Nr.: DE 185 890 642
St.-Nr. : 18 247 001 43



Re: LyX 2.0: problems using XeTeX and thesis template

2010-12-08 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote:

 Justin Wood wrote:
 1. conflict with AMS package
 I've found that simply activating XeTeX under *Document Settings –
 Fonts*will cause parsing errors on viewing if the document also has
 *Math Options – Use AMS math package* checked; eg, LaTeX Error: Command
 `\Finv' already defined, etc. I think this is a known conflict between
 XeTeX and the AMS package, is that right? By changing the setting to *Use
 AMS math package automatically* though, these particular errors go away.
 Note that this occurs in the generic default new document (*article*
 class) as well as the *KOMA-script book *class that the thesis uses.
 
 Yes, I've seen this too. Not sure what to do. We could disable AMS
 always for XeTeX, if necessary, but I guess we need to do some more
 research yet.

This should be fixed as well in the next release. The trick is to load all 
AMS packages before fontspec (which itself loads xunicode, which has to be 
loaded after the AMS packages). See
http://www.macfreek.nl/mindmaster/LaTeX_package_conflicts#Amssymb_with_Xunicode

Jürgen



Re: problems with lyx2lyx after moving to beta2, from svn

2010-12-08 Thread Liviu Andronic
On Wed, Dec 8, 2010 at 6:51 PM, Jose Quesada ques...@gmail.com wrote:
 Nope, there's no lyx2lyx in .lyx.
 I installed using a --prefix. there, inside share, there's a lyx2lyx... but
 maybe the system doesn't see it, and it's using 1.6.8, which *maybe* can be
 found in the path.
 Funny thing is svn was working fine.

 Where would I get a clean .lyx? will it get recreated if I rename mine to
 something else?

Yes, it should suffice to 'mv .lyx .lyx.bak' or similar. Then, if it
still fails, try removing the lyx installation completely and check
specifically that lyx2lyx gets removed, and then re-install.
Otherwise, make sure that you're actually trying to use 2.0.0 beta and
not 1.6.8. ;)

Regards
Liviu


 On Wed, Dec 8, 2010 at 4:15 PM, Liviu Andronic landronim...@gmail.com
 wrote:

 On Wed, Dec 8, 2010 at 3:26 PM, Jose Quesada ques...@gmail.com wrote:
  Hi,
 
  I've been using the svn version for the last 6 months. Today I tried
  beta 2,
  and it seems to be incompatible with my templates and files produced
  with
  the svn version (!).
 
 By chance, did you copy a specific copy of lyx2lyx in your user
 folder? Try to run beta2 on a fresh ~/.lyx folder.
 Liviu


  This is what I get:
 
  /home/quesada/Dropbox/exist.de/exist.de.16.lyx is from an older version
  of
  LyX and the lyx2lyx script failed to convert it.
  Warning: 410: Format not supported.
  Warning: Quitting.
  Error: Conversion script failed
  
  /home/quesada/.lyx/templates/defaults.lyx is from an older version of
  LyX
  and the lyx2lyx script failed to convert it.
  Error: Could not read template
 
  What was the workaround for this? I know there's one, but cannot find
  it...
 
  --
  Best,
  -Jose
 
  Jose Quesada, PhD.
  Research scientist,
  Max Planck Institute,
  Center for Adaptive Behavior and Cognition,
  Berlin
  http://www.josequesada.name/
  http://twitter.com/Quesada
 



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



 --
 Best,
 -Jose

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




-- 
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: Questions and suggestions for spellcheck

2010-12-08 Thread Stephan Witt
Am 07.12.2010 um 19:53 schrieb Steve Litt:

 On Tuesday 07 December 2010 01:33:03 Stephan Witt wrote:
 Am 07.12.2010 um 00:18 schrieb Richard Heck:
 On 12/06/2010 06:06 PM, Steve Litt wrote:
 On Monday 06 December 2010 17:18:33 Paul Rubin wrote:
 
 With what will they replace the personal dictionary in LyX 2.0?
 
 I believe the intention is to manage the personal dictionary internally,
 though I am not the one doing this work. It is your namesake, Stephan
 Witt ;-). The main motivation is that the various backends we use aren't
 at all consistent in how they handle adding and removing words, and some
 of them don't even support removal. There's also the issue with
 persistence, which you seem to have experienced. So doing it all inside
 LyX, as far as the personal dictionary goes, makes sense.
 
 That's a good summary of my work, thanks. :-)
 
 The current state for LyX 2.0 beta2 is a working internal personal
 dictionary at a fixed location inside your LyX users directory.  Now
 adding and removing of words works for me with aspell and hunspell with
 the internal personal dictionary on Linux and Mac OS X (Windows I couldn't
 test).
 
 Next I want to make the location of the personal dictionary more flexible.
 
 For LyX 1.6.9 I'll have a look at #6688 - I didn't see it earlier.
 As I understand it the path to personal dictionary is used in 1.6.x for
 ispell (and external aspell?) only. And of course one should be able to
 clear the input field and save that.

This should be fixed now with the next stable release.

BTW, the removal of the path to personal dictionary file was not my doing.
The feature was implemented for ispell and external aspell only and together
with the support for external aspell it was removed.

 Hi Stephan,
 
 Thanks!
 
 Am I reading you correctly that the LyX internal dictionary is just a file? 
 If 
 so, is it a file I can add to and subtract from with a text editor or a perl 
 script?

Yes, but the file format is not that mature. 
I didn't expect such big audience for it.

Currently it's as simple as one header line and one line per word with utf-8 
charset.

After your question I'll make it more formal and will document it in place.

 You mention you want to make the personal dictionary location more flexible. 
 Sounds good to me. Let me ask you something -- besides being able to set it 
 in 
 Tools-Configure, would it be possible for you to add it on a per-document 
 basis?
 It might be as simple as adding a special comment to the document:
 
 # LYX_PERSONAL_DICTIONARY=/home/slitt/books/thrive/thrive.pws
 
 and then being able to edit it from a Document-Settings, and recognize it 
 when running spellcheck. The document's personal dictionary, if it exists, 
 would override the Tools-Configure based personal dictionary.

 The benefit of this is every document has words that belong to it, but these 
 words would be wrong in another document. Names of characters in a fiction 
 book come to mind instantly, but there could also be special acronyms for a 
 special technology, etc.
 
 Does that sound doable?

I'm not sure about the concrete incarnation of that feature.
Doable is not the question - how to do it right is.
That doesn't mean I don't like it...
 
See the post from Julien:

 Am 07.12.2010 um 20:52 schrieb Julien Rioux:
 
 You might even be able to store the private list of words itself in the LyX 
 document,
 instead of storing a pointer to an external file.

This would solve the problems when you exchange the document with co-workers.
But perhaps, exactly this is not wanted - I'm not sure. What do you think?

The biggest problem with this idea is the LyX file format change.
After 2.0 release it will remain fixed AFAIK - and this means the feature
will be a target for the 2.1 cycle. We want to get 2.0 out soon.

Stephan

Re: LyX Memoir endnotes have form of footnotes

2010-12-08 Thread george legge
Thank you Stefano for that useful information.
Cheers, George

On Thu, Dec 9, 2010 at 12:45 AM, stefano franchi
stefano.fran...@gmail.comwrote:

 George, Daron,

 please note that memoir's \pagenote and \foottopagenote use in Lyx
 currently suffers from two   problems:

 1. a 2-paragraphs (or more) pagenote produced with Lyx 's footnote command
 and \foottopagenote will fail and produce a Latex error. One paragraph notes
 are okay.

 2. similarly, a pagenote produced with Lyx's footnote command and
 \foottopagenote cannot contain \index commands unless they are protected
 (you need to insert a \protect command as ERT **immediately before** the
 \index command).



Re: LyX Memoir endnotes have form of footnotes

2010-12-08 Thread Daron Wilson
Thanks very much for the heads-up.  I've not run into the problem yet, but I 
can see it looming ahead.

Regards,

Daron   


On 8 Dec 2010, at 20:45, stefano franchi wrote:

 George, Daron,
 
 please note that memoir's \pagenote and \foottopagenote use in Lyx currently 
 suffers from two   problems:
 
 1. a 2-paragraphs (or more) pagenote produced with Lyx 's footnote command 
 and \foottopagenote will fail and produce a Latex error. One paragraph notes 
 are okay.
 
 2. similarly, a pagenote produced with Lyx's footnote command and 
 \foottopagenote cannot contain \index commands unless they are protected 
 (you need to insert a \protect command as ERT **immediately before** the 
 \index command).
 
 Lars Madsen, the maintainer of memoir, is working on both issues (the first 
 one is trivial, apparently, the second one less so).
 
 You may follow up the details of the copnversation we have been having on 
 computer.text.tex:
 
 http://groups.google.com/group/comp.text.tex/browse_thread/thread/4793e5cfd369907f#
 
 Cheers,
 
 Stefano
 On Wed, Dec 8, 2010 at 12:33 AM, george legge gandmle...@gmail.com wrote:
 Thank you Darren. The first version works perfectly to give what I expect to 
 see for endnotes.
 The only addition I made was to add \wide before and \endwide after 
 \printpagenotes*.
 That allowed the endnotes to use the full width of text+notemargin.
 
 Incidentally, why the asterisk?
 With or without the asterisk, the notes get printed with their numbers. (and 
 they won't appear in a T.O.C.).
 
 Thanks again -- you have been a great help.
 
 Cheers, George
 
 
 
 
 On Wed, Dec 8, 2010 at 1:00 AM, Daron Wilson daron.wil...@gmail.com wrote:
 George,
 
 The LyX endnote module uses the LaTeX endnote package, and so it would 
 require some LaTeX hacking to change things much I think.  Memoir has its own 
 commands to put notes at the end(it calls them pagenotes so as not to 
 conflict with the endnotes package).  The memoir commands are not the same, 
 but the class does provide all the same functionality, and a little more I 
 believe.  I've been using memoir for  a short while, and so I have a little 
 familiarity there, and I tried to hack something up from things I found 
 before in the memoir manual.
 
 Caveats:
 *I'm new to the whole LaTeX thing, so it's probably pretty ugly, and the long 
 way around, but it is working fine for me here (LyX 2.0 beta).
 *this will only work with the memoir class because it is built on 
 class-specific commands.
 
 I wasn't sure exactly what result you wanted, but basically, what I've done 
 is made memoir convert footnotes to endnotes, and hang the paragraphs off of 
 the note numbers (I assume that is what you meant by indented for all 
 lines).  There are two possible options (available by 
 commenting/uncommenting a few appropriate lines): either to hang the 
 paragraphs of of a superscript without a space, or to hang the paragraphs off 
 of normal text size numbers with a period and a space.
 
 You should be able to copy the code below straight into the preamble section 
 of your document settings, and then the only thing you have to do is put the 
 following into ERT in LyX at the end of each chapter:
 
 \clearpage
 \printpagenotes*
 
 
 The memoir package manual has a lot more detail on endnotes in section 17.4, 
 and some helpful background in chapter 12.
 
 Regards,
 
 Daron
 
 
 
 
 =
 
 %% Depends on memoir
 %   tell memoir to use endnotes
 \makepagenote
 
 %   use Lyx footnote apparatus, but have memoir convert to endnotes
 \foottopagenote
 
 %   setup memoir for notes at the end of chapters
 \renewcommand*{\notedivision}{\section*{\notesname}}
 \renewcommand*{\pagenotesubhead}[3]{}
 
 %   prepare a new length for the width of the note numbers;  to be used 
 later
 \newlength{\notenumberlength}
 
 %   tell memoir to hang the paragraphs from the width of the note numbers
 \renewcommand{\prenoteinnotes}{\par\noindent\hangindent\notenumberlength}
 
 %   add some space between notes
 \renewcommand{\postnoteinnotes}{\par\smallskip}
 
 %: use for hanging notes from normal text size numbers
 
 %   tell LaTeX to reserve note number space wide enough for the number 
 99. and a space, in normal font
 \settowidth{\notenumberlength}{\normalfont 99.\space}
 
 %   tell memoir to typeset the note numbers as flushright in their own box
 \renewcommand*{\notenuminnotes}[1]{\makebox[\notenumberlength][r]{#1.\space}}
 
 
 
 %: use for hanging the notes from superscript numbers.
 %   tell LaTeX to reserve enough space for 99 notes, superscript size
 %\settowidth{\notenumberlength}{\textsuperscript{99}}
 
 %   tell memoir to typeset the note numbers as flushright 
 (rightjustified).
 %\renewcommand*{\notenuminnotes}[1]{\makebox[\notenumberlength][r]{\textsuperscript{#1}}}
 
 =
 
 
 
 
 
 
 
 
 On 7 Dec 2010, at 07:43, george 

Spellchecker identifying correct words as incorrect

2010-12-08 Thread Pete Crite
Hi,

I'm running the latest LyX on Mac OS X. I've had the spellchecker work fine in 
the past, using aspell. I've just tried to spellcheck a new file, and strange 
things are happening. Quite frequently, words that are spelt correctly are 
marked as incorrect. For example Introduction, identification, 
differentially and alternatively come up as incorrect. What's even stranger 
is that the suggested spelling is the same identical word! I click Replace 
continually, but obviously the new word is then seen as misspelt. Oddly 
enough, if I add the word to the personal dictionary, it works next time. Is 
there anything I can do to fix this problem?

Cheers,
Pete.

Re: Spellchecker identifying correct words as incorrect

2010-12-08 Thread Stephan Witt
Am 09.12.2010 um 05:57 schrieb Pete Crite:

 Hi,
 
 I'm running the latest LyX on Mac OS X. I've had the spellchecker work fine 
 in the past, using aspell. I've just tried to spellcheck a new file, and 
 strange things are happening. Quite frequently, words that are spelt 
 correctly are marked as incorrect. For example Introduction, 
 identification, differentially and alternatively come up as incorrect. 
 What's even stranger is that the suggested spelling is the same identical 
 word! I click Replace continually, but obviously the new word is then 
 seen as misspelt. Oddly enough, if I add the word to the personal dictionary, 
 it works next time. Is there anything I can do to fix this problem?

Hi Pete,

please check in preferences the spell checker type you are using.
The default has changed to Macs native spell checker.

Stephan

Re: LyX 2.0: problems using XeTeX and thesis template

2010-12-08 Thread Guenter Milde
On 2010-12-08, Jürgen Spitzmüller wrote:
 Jürgen Spitzmüller wrote:

 Justin Wood wrote:
 1. conflict with AMS package
 I've found that simply activating XeTeX under *Document Settings –
 Fonts*will cause parsing errors on viewing if the document also has
 *Math Options – Use AMS math package* checked; eg, LaTeX Error: Command
 `\Finv' already defined, etc. I think this is a known conflict between
 XeTeX and the AMS package, is that right? By changing the setting to *Use
 AMS math package automatically* though, these particular errors go away.
 Note that this occurs in the generic default new document (*article*
 class) as well as the *KOMA-script book *class that the thesis uses.

 Yes, I've seen this too. Not sure what to do. We could disable AMS
 always for XeTeX, if necessary, but I guess we need to do some more
 research yet.

Please never disable AMS always but not AMS automatically: this would
lead to errors as soon as an AMS-requiring construct is put into the
document.

 This should be fixed as well in the next release. The trick is to load all 
 AMS packages before fontspec (which itself loads xunicode, which has to be 
 loaded after the AMS packages). See
 http://www.macfreek.nl/mindmaster/LaTeX_package_conflicts#Amssymb_with_Xunicode

I am glad you found the core of the problem.
(BTW: the current version of fontspec does no longer load xunicode, but
we should care for users with older versions.)

Testing here with a pre-beta-2 SVN version,

  LyX 2.0.0svn (not released yet)
  Built on Nov 26 2010, 14:31:19

I get

%% LyX 2.0.0svn created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[british]{article}
\usepackage{fontspec}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{xunicode}
\usepackage{xltxtra}
\usepackage{polyglossia}
\setdefaultlanguage[variant=british]{english}
\begin{document}
Hallo $\Rrightarrow$.
\end{document}

which compiles fine.

However, I also found that even if I do not check any of the AMS math
options, LyX 2 behaves as if the Load AMS math automatically option
were set:

a) the AMS symbols toolbox is enabled.
b) inserting a symbol from it inserts \usepackage{amssymb} in the preamble.
c) even writing \Rrightarrow in a math box (converts this to the symbol and)
   inserts \usepackage{amssymb} in the preamble.
   
Because of c), a work-around with disabling AMS math in the checkbox and
loading in the LaTeX preamble will fail.

Günter

   
 

Günter



OT: Sharing LaTeX Documents with word users

2010-12-08 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi

Just a nice quote:

On the R mailing list, Greg Snow posted:

"Sharing LaTeX documents with people using word processors only is no
more difficult than giving driving directions to someone who is
blindfolded and has all 4 limbs tied behind their back.  Collaboration
with people who insist on using programs that process their words much
like a food processor processes food is the one legitimate reason to not
use LaTeX (but untying them and removing the blindfold is much better)."

That is more then true.

Cheers,

Rainer

- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Tel:+33 - (0)9 53 10 27 44
Cell:   +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkz/SwoACgkQoYgNqgF2egoHkACeORwqimaMZp9L7UfXOddgy8oA
GRsAn39gQdBzG9kScCAmbWVQAiOpasyD
=hkPV
-END PGP SIGNATURE-


Re: LyX 2.0: problems using XeTeX and thesis template

2010-12-08 Thread Jürgen Spitzmüller
Justin Wood wrote:
> 1. conflict with AMS package
> I've found that simply activating XeTeX under *Document Settings –
> Fonts*will cause parsing errors on viewing if the document also has
> *Math Options – Use AMS math package* checked; eg, LaTeX Error: Command
> `\Finv' already defined, etc. I think this is a known conflict between
> XeTeX and the AMS package, is that right? By changing the setting to *Use
> AMS math package automatically* though, these particular errors go away.
> Note that this occurs in the generic default new document (*article*
> class) as well as the *KOMA-script book *class that the thesis uses.

Yes, I've seen this too. Not sure what to do. We could disable "AMS always" 
for XeTeX, if necessary, but I guess we need to do some more research yet.

> 2. conflict in thesis template
> Beyond that, changing to the automatic AMS math package in the thesis
> document introduces new errors. In a brand new, entirely unmodified
> chapter template file, XeTeX compilation now complains about the use of '
> \addto \extrasenglish{' in the preamble (used to define cross reference
> identifiers). Is this another conflict between XeTeX and ... is it
> *hyperref * these overrides refer to?

The reason for this is that XeTeX now uses polyglossia, which does not know 
these \addto commands (which are from babel). Are these templates shipped 
with LyX? If so, we need to embrace these calls in

\...@ifpackageloaded{babel}{%
...
}{}

> 3. custom character-style error
> Finally, and this is more an annoyance than an impediment, my custom
> character style module (based on info from Rob
> Oakes)
> generates an *Undefined flex inset *error: 'Flex inset TechnicalDefinition
> is undefined because of class conversion from article to article' (and the
> same occurs in scrbook). This only seems to get thrown if I save a change
> made within Document Settings, not on view, etc. Is there something in my
> module that might cause this?
> 
> #\DeclareLyXModule{thesis styles}
> #DescriptionBegin
> #Adds character styles for PhD thesis
> #DescriptionEnd
> 
> InsetLayoutCharStyle:TechnicalDefinition
> LyxType   charstyle
> LabelString   techdefn
> LatexType command
> LatexName techdefn
> Font
> Family  Sans
> EndFont
> Preamble
> \newcommand*{\techdefn}[1]{{\sffamily{\mdseries #1}}}
> EndPreamble
> End

There has been some syntax change. And if I remember well, it is difficult 
to handle self-defined modules. But I'm not sure. Richard can tell you more.

Jürgen

> Thanks!




Re: Still getting errors with 2.0.0beta1.

2010-12-08 Thread Rudi Gaelzer
Hi.  Has this bug been solved in the beta 2 release?
If not, what's the ticket #, so I can track it?
Thanks.

On Fri, Dec 3, 2010 at 2:00 PM, Richard Heck  wrote:

> On 12/03/2010 08:02 AM, Rudi Gaelzer wrote:
>
>> The LyX version offered on the Fedora 14 repositories has now upgraded to
>> 2.0.0beta1.
>> When I load a 1.6x multi-document project into the beta version and try to
>> process it, I get the following error:
>>
>> Paragraph ended before \gather* was complete.
>> Missing $ inserted.
>> Missing \endgroup inserted.
>> Display math should end with $$.
>> Misplaced \cr.
>> Misplaced \noalign.
>> Misplaced \noalign.
>> Extra }, or forgotten \endgroup.
>> Missing $ inserted.
>>
>> Of course, the document processed just fine with LyX 1.6x.
>> When I backtraced the error line from the exported tex source, I found
>> that the problem was in a gather* environment that contains an aligned
>> sub-environment.  It seems that the lyx -> tex conversion is generating an
>> incorrect source code.
>> Moreover, LyX stops displaying the equations the moment a sub-environment
>> is created.  You can verify that very quickly.
>>
>> Here's the offending cell:
>>
>> \begin{gather*}
>> \frac{d\boldsymbol{p}}{dt}=p_{\perp}\frac{d}{dt}\cos\phi\vu
>> 1+p_{\perp}\frac{d}{dt}\sen\phi\vu
>> 2=\frac{q_{\alpha}B_{0}}{c}\epsilon_{ij3}\vu
>> iv_{j}=\frac{q_{\alpha}B_{0}}{c}\left(v_{2}\vu 1-v_{1}\vu 2\right),\\
>> \begin{aligned}\sen\phi p_{\perp}\frac{d\phi}{dt} &
>> =-\frac{q_{\alpha}B_{0}}{c}v_{2}=-\frac{q_{\alpha}B_{0}}{c}\frac{p_{\perp}\sen\phi}{\gamma
>> m_{\alpha}}\\
>> \cos\phi p_{\perp}\frac{d\phi}{dt} &
>> =-\frac{q_{\alpha}B_{0}}{c}v_{1}=-\frac{q_{\alpha}B_{0}}{c}\frac{p_{\perp}\cos\phi}{\gamma
>> m_{\alpha}},
>> \end{aligned}
>>
>> \end{gather*}
>>
>> Processing the tex source directly, It complained that the paragraph was
>> ended before \gather* was complete.  I just had to remove the empty line
>> before \end{gather*} and the document processed all right.
>>
>> I guess this is a bug...
>>
>>  A known bug. It has been fixed for the next release. Still, thanks for
> the report.
>
> Richard
>
>


-- 
Rudi Gaelzer
Departamento de Física
Instituto de Física e Matemática
Fundação Universidade Federal de Pelotas
Caixa Postal 354 - Campus UFPel
96001-970 Pelotas - RS
BRAZIL
Phone: +55-53-275-7468
FAX: +55-53-275-7343

Registered Linux user # 153741


Re: LyX Memoir endnotes have form of footnotes

2010-12-08 Thread stefano franchi
George, Daron,

please note that memoir's \pagenote and \foottopagenote use in Lyx currently
suffers from two   problems:

1. a 2-paragraphs (or more) pagenote produced with Lyx 's footnote command
and \foottopagenote will fail and produce a Latex error. One paragraph notes
are okay.

2. similarly, a pagenote produced with Lyx's footnote command and
\foottopagenote cannot contain \index commands unless they are "protected"
(you need to insert a \protect command as ERT **immediately before** the
\index command).

Lars Madsen, the maintainer of memoir, is working on both issues (the first
one is trivial, apparently, the second one less so).

You may follow up the details of the copnversation we have been having on
computer.text.tex:

http://groups.google.com/group/comp.text.tex/browse_thread/thread/4793e5cfd369907f#

Cheers,

Stefano
On Wed, Dec 8, 2010 at 12:33 AM, george legge  wrote:

> Thank you Darren. The first version works perfectly to give what I expect
> to see for endnotes.
> The only addition I made was to add "\wide" before and "\endwide" after
> "\printpagenotes*".
> That allowed the endnotes to use the full width of text+notemargin.
>
> Incidentally, why the asterisk?
> With or without the asterisk, the notes get printed with their numbers.
> (and they won't appear in a T.O.C.).
>
> Thanks again -- you have been a great help.
>
> Cheers, George
>
>
>
>
> On Wed, Dec 8, 2010 at 1:00 AM, Daron Wilson wrote:
>
>> George,
>>
>> The LyX endnote module uses the LaTeX endnote package, and so it would
>> require some LaTeX hacking to change things much I think.  Memoir has its
>> own commands to put notes at the end(it calls them pagenotes so as not to
>> conflict with the endnotes package).  The memoir commands are not the same,
>> but the class does provide all the same functionality, and a little more I
>> believe.  I've been using memoir for  a short while, and so I have a little
>> familiarity there, and I tried to hack something up from things I found
>> before in the memoir manual.
>>
>> Caveats:
>> *I'm new to the whole LaTeX thing, so it's probably pretty ugly, and the
>> long way around, but it is working fine for me here (LyX 2.0 beta).
>> *this will only work with the memoir class because it is built on
>> class-specific commands.
>>
>> I wasn't sure exactly what result you wanted, but basically, what I've
>> done is made memoir convert footnotes to endnotes, and hang the paragraphs
>> off of the note numbers (I assume that is what you meant by "indented for
>> all lines").  There are two possible options (available by
>> commenting/uncommenting a few appropriate lines): either to hang the
>> paragraphs of of a superscript without a space, or to hang the paragraphs
>> off of normal text size numbers with a period and a space.
>>
>> You should be able to copy the code below straight into the preamble
>> section of your document settings, and then the only thing you have to do is
>> put the following into ERT in LyX at the end of each chapter:
>>
>> \clearpage
>> \printpagenotes*
>>
>>
>> The memoir package manual has a lot more detail on endnotes in section
>> 17.4, and some helpful background in chapter 12.
>>
>> Regards,
>>
>> Daron
>>
>>
>>
>>
>> =
>>
>> %% Depends on memoir
>> %   tell memoir to use endnotes
>> \makepagenote
>>
>> %   use Lyx footnote apparatus, but have memoir convert to endnotes
>> \foottopagenote
>>
>> %   setup memoir for notes at the end of chapters
>> \renewcommand*{\notedivision}{\section*{\notesname}}
>> \renewcommand*{\pagenotesubhead}[3]{}
>>
>> %   prepare a new length for the width of the note numbers;  to be
>> used later
>> \newlength{\notenumberlength}
>>
>> %   tell memoir to hang the paragraphs from the width of the note
>> numbers
>> \renewcommand{\prenoteinnotes}{\par\noindent\hangindent\notenumberlength}
>>
>> %   add some space between notes
>> \renewcommand{\postnoteinnotes}{\par\smallskip}
>>
>> %:> use for hanging notes from normal text size numbers
>>
>> %   tell LaTeX to reserve note number space wide enough for the number
>> 99. and a space, in normal font
>> \settowidth{\notenumberlength}{\normalfont 99.\space}
>>
>> %   tell memoir to typeset the note numbers as flushright in their own
>> box
>>
>> \renewcommand*{\notenuminnotes}[1]{\makebox[\notenumberlength][r]{#1.\space}}
>>
>>
>>
>> %:> use for hanging the notes from superscript numbers.
>> %   tell LaTeX to reserve enough space for 99 notes, superscript size
>> %\settowidth{\notenumberlength}{\textsuperscript{99}}
>>
>> %   tell memoir to typeset the note numbers as flushright
>> (rightjustified).
>>
>> %\renewcommand*{\notenuminnotes}[1]{\makebox[\notenumberlength][r]{\textsuperscript{#1}}}
>>
>> =
>>
>>
>>
>>
>>
>>
>>
>>
>> On 7 Dec 2010, at 07:43, george legge wrote:
>>
>> > I am using 

Re: unable to run biber on 1.6.8

2010-12-08 Thread Richard Heck

On 12/08/2010 01:39 AM, stefano franchi wrote:
My Lyx installation has suddenly decided that it won't run biber 
anymore, even though it is properly indicated in the preferences pane, 
biber is accessible from the command line etc. In fact, I can export 
the file to .tex and compile from the command line. But I cannot get 
biber to run from within Lyx. Any idea on what may be wrong, and how I 
can find out more information on the problem? I tried running lyx from 
console with -dbg 128 (latex), but all I see is a line saying "Running 
BibTeX" and no biber output (which should be rather abundant).



You could try -dbg all. Perhaps that will give more info.

Richard



Re: LyX 2.0: problems using XeTeX and thesis template

2010-12-08 Thread Richard Heck

On 12/08/2010 05:58 AM, Jürgen Spitzmüller wrote:

Justin Wood wrote:
   

1. conflict with AMS package
I've found that simply activating XeTeX under *Document Settings –
Fonts*will cause parsing errors on viewing if the document also has
*Math Options – Use AMS math package* checked; eg, LaTeX Error: Command
`\Finv' already defined, etc. I think this is a known conflict between
XeTeX and the AMS package, is that right? By changing the setting to *Use
AMS math package automatically* though, these particular errors go away.
Note that this occurs in the generic default new document (*article*
class) as well as the *KOMA-script book *class that the thesis uses.
 

Yes, I've seen this too. Not sure what to do. We could disable "AMS always"
for XeTeX, if necessary, but I guess we need to do some more research yet.

   

2. conflict in thesis template
Beyond that, changing to the automatic AMS math package in the thesis
document introduces new errors. In a brand new, entirely unmodified
chapter template file, XeTeX compilation now complains about the use of '
\addto \extrasenglish{' in the preamble (used to define cross reference
identifiers). Is this another conflict between XeTeX and ... is it
*hyperref * these overrides refer to?
 

The reason for this is that XeTeX now uses polyglossia, which does not know
these \addto commands (which are from babel). Are these templates shipped
with LyX? If so, we need to embrace these calls in

\...@ifpackageloaded{babel}{%
...
}{}

   

3. custom character-style error
Finally, and this is more an annoyance than an impediment, my custom
character style module generates an *Undefined flex inset *error: 'Flex inset 
TechnicalDefinition
is undefined because of class conversion from article to article' (and the
same occurs in scrbook). This only seems to get thrown if I save a change
made within Document Settings, not on view, etc. Is there something in my
module that might cause this?

#\DeclareLyXModule{thesis styles}
#DescriptionBegin
#Adds character styles for PhD thesis
#DescriptionEnd

InsetLayoutCharStyle:TechnicalDefinition
 LyxType   charstyle
 LabelString   techdefn
 LatexType command
 LatexName techdefn
 Font
 Family  Sans
 EndFont
 Preamble
 \newcommand*{\techdefn}[1]{{\sffamily{\mdseries #1}}}
 EndPreamble
End
 

There has been some syntax change. And if I remember well, it is difficult
to handle self-defined modules. But I'm not sure. Richard can tell you more.

   
I think this bug was in beta1 and has since been fixed. I know I spent 
some time looking at it. If it is still in beta2, please let me know.


Richard



Re: Still getting errors with 2.0.0beta1.

2010-12-08 Thread Richard Heck

On 12/08/2010 06:12 AM, Rudi Gaelzer wrote:

Hi.  Has this bug been solved in the beta 2 release?
If not, what's the ticket #, so I can track it?
Thanks.


I believe it was solved, yes.

rh

On Fri, Dec 3, 2010 at 2:00 PM, Richard Heck > wrote:


On 12/03/2010 08:02 AM, Rudi Gaelzer wrote:

The LyX version offered on the Fedora 14 repositories has now
upgraded to 2.0.0beta1.
When I load a 1.6x multi-document project into the beta
version and try to process it, I get the following error:

Paragraph ended before \gather* was complete.
Missing $ inserted.
Missing \endgroup inserted.
Display math should end with $$.
Misplaced \cr.
Misplaced \noalign.
Misplaced \noalign.
Extra }, or forgotten \endgroup.
Missing $ inserted.

Of course, the document processed just fine with LyX 1.6x.
When I backtraced the error line from the exported tex source,
I found that the problem was in a gather* environment that
contains an aligned sub-environment.  It seems that the lyx ->
tex conversion is generating an incorrect source code.
Moreover, LyX stops displaying the equations the moment a
sub-environment is created.  You can verify that very quickly.

Here's the offending cell:

\begin{gather*}
\frac{d\boldsymbol{p}}{dt}=p_{\perp}\frac{d}{dt}\cos\phi\vu
1+p_{\perp}\frac{d}{dt}\sen\phi\vu
2=\frac{q_{\alpha}B_{0}}{c}\epsilon_{ij3}\vu
iv_{j}=\frac{q_{\alpha}B_{0}}{c}\left(v_{2}\vu 1-v_{1}\vu
2\right),\\
\begin{aligned}\sen\phi p_{\perp}\frac{d\phi}{dt} &

=-\frac{q_{\alpha}B_{0}}{c}v_{2}=-\frac{q_{\alpha}B_{0}}{c}\frac{p_{\perp}\sen\phi}{\gamma
m_{\alpha}}\\
\cos\phi p_{\perp}\frac{d\phi}{dt} &

=-\frac{q_{\alpha}B_{0}}{c}v_{1}=-\frac{q_{\alpha}B_{0}}{c}\frac{p_{\perp}\cos\phi}{\gamma
m_{\alpha}},
\end{aligned}

\end{gather*}

Processing the tex source directly, It complained that the
paragraph was ended before \gather* was complete.  I just had
to remove the empty line before \end{gather*} and the document
processed all right.

I guess this is a bug...

A known bug. It has been fixed for the next release. Still, thanks
for the report.

Richard




--
Rudi Gaelzer
Departamento de Física
Instituto de Física e Matemática
Fundação Universidade Federal de Pelotas
Caixa Postal 354 - Campus UFPel
96001-970 Pelotas - RS
BRAZIL
Phone: +55-53-275-7468
FAX: +55-53-275-7343

Registered Linux user # 153741




problems with lyx2lyx after moving to beta2, from svn

2010-12-08 Thread Jose Quesada
Hi,

I've been using the svn version for the last 6 months. Today I tried beta 2,
and it seems to be incompatible with my templates and files produced with
the svn version (!).

This is what I get:

/home/quesada/Dropbox/exist.de/exist.de.16.lyx is from an older version of
LyX and the lyx2lyx script failed to convert it.
Warning: 410: Format not supported.
Warning: Quitting.
Error: Conversion script failed

/home/quesada/.lyx/templates/defaults.lyx is from an older version of LyX
and the lyx2lyx script failed to convert it.
Error: Could not read template

What was the workaround for this? I know there's one, but cannot find it...

-- 
Best,
-Jose

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


Re: problems with lyx2lyx after moving to beta2, from svn

2010-12-08 Thread Richard Heck

On 12/08/2010 09:26 AM, Jose Quesada wrote:

Hi,

I've been using the svn version for the last 6 months. Today I tried 
beta 2, and it seems to be incompatible with my templates and files 
produced with the svn version (!).


This is what I get:

/home/quesada/Dropbox/exist.de/exist.de.16.lyx 
 is from an older version of LyX and 
the lyx2lyx script failed to convert it.

Warning: 410: Format not supported.
Warning: Quitting.
Error: Conversion script failed

/home/quesada/.lyx/templates/defaults.lyx is from an older version of 
LyX and the lyx2lyx script failed to convert it.

Error: Could not read template

What was the workaround for this? I know there's one, but cannot find 
it...


I'm going to guess that somehow the upgrade has failed to upgrade the 
lyx2lyx script that is being called. Unless something went very badly, 
format 410 ought to be supported by the lyx2lyx script. It is, in fact, 
the last supported format.


Richard



Re: problems with lyx2lyx after moving to beta2, from svn

2010-12-08 Thread Liviu Andronic
On Wed, Dec 8, 2010 at 3:26 PM, Jose Quesada  wrote:
> Hi,
>
> I've been using the svn version for the last 6 months. Today I tried beta 2,
> and it seems to be incompatible with my templates and files produced with
> the svn version (!).
>
By chance, did you copy a specific copy of lyx2lyx in your user
folder? Try to run beta2 on a fresh ~/.lyx folder.
Liviu


> This is what I get:
>
> /home/quesada/Dropbox/exist.de/exist.de.16.lyx is from an older version of
> LyX and the lyx2lyx script failed to convert it.
> Warning: 410: Format not supported.
> Warning: Quitting.
> Error: Conversion script failed
> 
> /home/quesada/.lyx/templates/defaults.lyx is from an older version of LyX
> and the lyx2lyx script failed to convert it.
> Error: Could not read template
>
> What was the workaround for this? I know there's one, but cannot find it...
>
> --
> Best,
> -Jose
>
> Jose Quesada, PhD.
> Research scientist,
> Max Planck Institute,
> Center for Adaptive Behavior and Cognition,
> Berlin
> http://www.josequesada.name/
> http://twitter.com/Quesada
>



-- 
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: unable to run biber on 1.6.8

2010-12-08 Thread stefano franchi
On Wed, Dec 8, 2010 at 7:52 AM, Richard Heck  wrote:

> On 12/08/2010 01:39 AM, stefano franchi wrote:
>
>> My Lyx installation has suddenly decided that it won't run biber anymore,
>> even though it is properly indicated in the preferences pane, biber is
>> accessible from the command line etc. In fact, I can export the file to .tex
>> and compile from the command line. But I cannot get biber to run from within
>> Lyx. Any idea on what may be wrong, and how I can find out more information
>> on the problem? I tried running lyx from console with -dbg 128 (latex), but
>> all I see is a line saying "Running BibTeX" and no biber output (which
>> should be rather abundant).
>>
>>  You could try -dbg all. Perhaps that will give more info.
>
>
I had tried that. But it's difficult to find anything useful in the mass of
debugging data it produces. What is Lyx supposed to say when it runs (or,
rather, were it to run) biber? Is there a specific Lyx module that is in
charge of it?

Stefano


Re: LyX 2.0: problems using XeTeX and thesis template

2010-12-08 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote:

>> 2. conflict in thesis template
>> Beyond that, changing to the automatic AMS math package in the thesis
>> document introduces new errors. In a brand new, entirely unmodified
>> chapter template file, XeTeX compilation now complains about the use of '
>> \addto \extrasenglish{' in the preamble (used to define cross reference
>> identifiers). Is this another conflict between XeTeX and ... is it
>> *hyperref * these overrides refer to?
> 
> The reason for this is that XeTeX now uses polyglossia, which does not
> know these \addto commands (which are from babel). Are these templates
> shipped with LyX? If so, we need to embrace these calls in
> 
> \...@ifpackageloaded{babel}{%
> ...
> }{}

This problem should be fixed in the next release. The trick is to embrace 
these calls in

\AtBeginDocument{%
...
}

so that they are executed after polyglossia (and babel).

Jürgen



Prof Support for Setup of a specific Doc Type

2010-12-08 Thread Manfred Hainer

Dear listers,
we are looking for a designer and Lyx professional that can set up / 
develop a doc type for manuals / user guides that resemble our website 
design. Who can help, for adequate payment?


--
Beste Gruesse / Kind Regards
Manfred Hainer

www.ubs-hainer.com
UBS Hainer GmbH, Am Zickmantel 16,
D-36341 Frischborn, Germany
+49(0)6641 6551 0
Geschaeftsfuehrer / Managing Directors:
Dipl. Math. Manfred Hainer
Karsten Philipp Betriebswirt DV
HRB Fulda: 4225
USt.-Nr.: DE 185 890 642
St.-Nr. : 18 247 001 43



Re: LyX 2.0: problems using XeTeX and thesis template

2010-12-08 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote:

> Justin Wood wrote:
>> 1. conflict with AMS package
>> I've found that simply activating XeTeX under *Document Settings –
>> Fonts*will cause parsing errors on viewing if the document also has
>> *Math Options – Use AMS math package* checked; eg, LaTeX Error: Command
>> `\Finv' already defined, etc. I think this is a known conflict between
>> XeTeX and the AMS package, is that right? By changing the setting to *Use
>> AMS math package automatically* though, these particular errors go away.
>> Note that this occurs in the generic default new document (*article*
>> class) as well as the *KOMA-script book *class that the thesis uses.
> 
> Yes, I've seen this too. Not sure what to do. We could disable "AMS
> always" for XeTeX, if necessary, but I guess we need to do some more
> research yet.

This should be fixed as well in the next release. The trick is to load all 
AMS packages before fontspec (which itself loads xunicode, which has to be 
loaded after the AMS packages). See
http://www.macfreek.nl/mindmaster/LaTeX_package_conflicts#Amssymb_with_Xunicode

Jürgen



Re: problems with lyx2lyx after moving to beta2, from svn

2010-12-08 Thread Liviu Andronic
On Wed, Dec 8, 2010 at 6:51 PM, Jose Quesada  wrote:
> Nope, there's no lyx2lyx in .lyx.
> I installed using a --prefix. there, inside share, there's a lyx2lyx... but
> maybe the system doesn't see it, and it's using 1.6.8, which *maybe* can be
> found in the path.
> Funny thing is svn was working fine.
>
> Where would I get a clean .lyx? will it get recreated if I rename mine to
> something else?
>
Yes, it should suffice to 'mv .lyx .lyx.bak' or similar. Then, if it
still fails, try removing the lyx installation completely and check
specifically that lyx2lyx gets removed, and then re-install.
Otherwise, make sure that you're actually trying to use 2.0.0 beta and
not 1.6.8. ;)

Regards
Liviu


> On Wed, Dec 8, 2010 at 4:15 PM, Liviu Andronic 
> wrote:
>>
>> On Wed, Dec 8, 2010 at 3:26 PM, Jose Quesada  wrote:
>> > Hi,
>> >
>> > I've been using the svn version for the last 6 months. Today I tried
>> > beta 2,
>> > and it seems to be incompatible with my templates and files produced
>> > with
>> > the svn version (!).
>> >
>> By chance, did you copy a specific copy of lyx2lyx in your user
>> folder? Try to run beta2 on a fresh ~/.lyx folder.
>> Liviu
>>
>>
>> > This is what I get:
>> >
>> > /home/quesada/Dropbox/exist.de/exist.de.16.lyx is from an older version
>> > of
>> > LyX and the lyx2lyx script failed to convert it.
>> > Warning: 410: Format not supported.
>> > Warning: Quitting.
>> > Error: Conversion script failed
>> > 
>> > /home/quesada/.lyx/templates/defaults.lyx is from an older version of
>> > LyX
>> > and the lyx2lyx script failed to convert it.
>> > Error: Could not read template
>> >
>> > What was the workaround for this? I know there's one, but cannot find
>> > it...
>> >
>> > --
>> > Best,
>> > -Jose
>> >
>> > Jose Quesada, PhD.
>> > Research scientist,
>> > Max Planck Institute,
>> > Center for Adaptive Behavior and Cognition,
>> > Berlin
>> > http://www.josequesada.name/
>> > http://twitter.com/Quesada
>> >
>>
>>
>>
>> --
>> 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
>
>
>
> --
> Best,
> -Jose
>
> Jose Quesada, PhD.
> Research scientist,
> Max Planck Institute,
> Center for Adaptive Behavior and Cognition,
> Berlin
> http://www.josequesada.name/
> http://twitter.com/Quesada
>



-- 
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: Questions and suggestions for spellcheck

2010-12-08 Thread Stephan Witt
Am 07.12.2010 um 19:53 schrieb Steve Litt:

> On Tuesday 07 December 2010 01:33:03 Stephan Witt wrote:
>> Am 07.12.2010 um 00:18 schrieb Richard Heck:
>>> On 12/06/2010 06:06 PM, Steve Litt wrote:
 On Monday 06 December 2010 17:18:33 Paul Rubin wrote:
 
 With what will they replace the personal dictionary in LyX 2.0?
>>> 
>>> I believe the intention is to manage the personal dictionary internally,
>>> though I am not the one doing this work. It is your namesake, Stephan
>>> Witt ;-). The main motivation is that the various backends we use aren't
>>> at all consistent in how they handle adding and removing words, and some
>>> of them don't even support removal. There's also the issue with
>>> persistence, which you seem to have experienced. So doing it all inside
>>> LyX, as far as the personal dictionary goes, makes sense.
>> 
>> That's a good summary of my work, thanks. :-)
>> 
>> The current state for LyX 2.0 beta2 is a working internal personal
>> dictionary at a fixed location inside your LyX users directory.  Now
>> adding and removing of words works for me with aspell and hunspell with
>> the internal personal dictionary on Linux and Mac OS X (Windows I couldn't
>> test).
>> 
>> Next I want to make the location of the personal dictionary more flexible.
>> 
>> For LyX 1.6.9 I'll have a look at #6688 - I didn't see it earlier.
>> As I understand it the path to personal dictionary is used in 1.6.x for
>> ispell (and external aspell?) only. And of course one should be able to
>> clear the input field and save that.

This should be fixed now with the next stable release.

BTW, the removal of the path to personal dictionary file was not my doing.
The feature was implemented for ispell and external aspell only and together
with the support for external aspell it was removed.

> Hi Stephan,
> 
> Thanks!
> 
> Am I reading you correctly that the LyX internal dictionary is just a file? 
> If 
> so, is it a file I can add to and subtract from with a text editor or a perl 
> script?

Yes, but the "file format" is not that mature. 
I didn't expect such "big audience" for it.

Currently it's as simple as one header line and one line per word with utf-8 
charset.

After your question I'll make it more formal and will document it in place.

> You mention you want to make the personal dictionary location more flexible. 
> Sounds good to me. Let me ask you something -- besides being able to set it 
> in 
> Tools->Configure, would it be possible for you to add it on a per-document 
> basis?
> It might be as simple as adding a special comment to the document:
> 
> # LYX_PERSONAL_DICTIONARY=/home/slitt/books/thrive/thrive.pws
> 
> and then being able to edit it from a Document->Settings, and recognize it 
> when running spellcheck. The document's personal dictionary, if it exists, 
> would override the Tools->Configure based personal dictionary.

> The benefit of this is every document has words that belong to it, but these 
> words would be wrong in another document. Names of characters in a fiction 
> book come to mind instantly, but there could also be special acronyms for a 
> special technology, etc.
> 
> Does that sound doable?

I'm not sure about the concrete incarnation of that feature.
Doable is not the question - how to do it right is.
That doesn't mean I don't like it...
 
See the post from Julien:

> Am 07.12.2010 um 20:52 schrieb Julien Rioux:
> 
> You might even be able to store the private list of words itself in the LyX 
> document,
> instead of storing a pointer to an external file.

This would solve the problems when you exchange the document with co-workers.
But perhaps, exactly this is not wanted - I'm not sure. What do you think?

The biggest problem with this idea is the LyX file format change.
After 2.0 release it will remain fixed AFAIK - and this means the feature
will be a target for the 2.1 cycle. We want to get 2.0 out soon.

Stephan

Re: LyX Memoir endnotes have form of footnotes

2010-12-08 Thread george legge
Thank you Stefano for that useful information.
Cheers, George

On Thu, Dec 9, 2010 at 12:45 AM, stefano franchi
wrote:

> George, Daron,
>
> please note that memoir's \pagenote and \foottopagenote use in Lyx
> currently suffers from two   problems:
>
> 1. a 2-paragraphs (or more) pagenote produced with Lyx 's footnote command
> and \foottopagenote will fail and produce a Latex error. One paragraph notes
> are okay.
>
> 2. similarly, a pagenote produced with Lyx's footnote command and
> \foottopagenote cannot contain \index commands unless they are "protected"
> (you need to insert a \protect command as ERT **immediately before** the
> \index command).
>


Re: LyX Memoir endnotes have form of footnotes

2010-12-08 Thread Daron Wilson
Thanks very much for the heads-up.  I've not run into the problem yet, but I 
can see it looming ahead.

Regards,

Daron   


On 8 Dec 2010, at 20:45, stefano franchi wrote:

> George, Daron,
> 
> please note that memoir's \pagenote and \foottopagenote use in Lyx currently 
> suffers from two   problems:
> 
> 1. a 2-paragraphs (or more) pagenote produced with Lyx 's footnote command 
> and \foottopagenote will fail and produce a Latex error. One paragraph notes 
> are okay.
> 
> 2. similarly, a pagenote produced with Lyx's footnote command and 
> \foottopagenote cannot contain \index commands unless they are "protected" 
> (you need to insert a \protect command as ERT **immediately before** the 
> \index command).
> 
> Lars Madsen, the maintainer of memoir, is working on both issues (the first 
> one is trivial, apparently, the second one less so).
> 
> You may follow up the details of the copnversation we have been having on 
> computer.text.tex:
> 
> http://groups.google.com/group/comp.text.tex/browse_thread/thread/4793e5cfd369907f#
> 
> Cheers,
> 
> Stefano
> On Wed, Dec 8, 2010 at 12:33 AM, george legge  wrote:
> Thank you Darren. The first version works perfectly to give what I expect to 
> see for endnotes.
> The only addition I made was to add "\wide" before and "\endwide" after 
> "\printpagenotes*".
> That allowed the endnotes to use the full width of text+notemargin.
> 
> Incidentally, why the asterisk?
> With or without the asterisk, the notes get printed with their numbers. (and 
> they won't appear in a T.O.C.).
> 
> Thanks again -- you have been a great help.
> 
> Cheers, George
> 
> 
> 
> 
> On Wed, Dec 8, 2010 at 1:00 AM, Daron Wilson  wrote:
> George,
> 
> The LyX endnote module uses the LaTeX endnote package, and so it would 
> require some LaTeX hacking to change things much I think.  Memoir has its own 
> commands to put notes at the end(it calls them pagenotes so as not to 
> conflict with the endnotes package).  The memoir commands are not the same, 
> but the class does provide all the same functionality, and a little more I 
> believe.  I've been using memoir for  a short while, and so I have a little 
> familiarity there, and I tried to hack something up from things I found 
> before in the memoir manual.
> 
> Caveats:
> *I'm new to the whole LaTeX thing, so it's probably pretty ugly, and the long 
> way around, but it is working fine for me here (LyX 2.0 beta).
> *this will only work with the memoir class because it is built on 
> class-specific commands.
> 
> I wasn't sure exactly what result you wanted, but basically, what I've done 
> is made memoir convert footnotes to endnotes, and hang the paragraphs off of 
> the note numbers (I assume that is what you meant by "indented for all 
> lines").  There are two possible options (available by 
> commenting/uncommenting a few appropriate lines): either to hang the 
> paragraphs of of a superscript without a space, or to hang the paragraphs off 
> of normal text size numbers with a period and a space.
> 
> You should be able to copy the code below straight into the preamble section 
> of your document settings, and then the only thing you have to do is put the 
> following into ERT in LyX at the end of each chapter:
> 
> \clearpage
> \printpagenotes*
> 
> 
> The memoir package manual has a lot more detail on endnotes in section 17.4, 
> and some helpful background in chapter 12.
> 
> Regards,
> 
> Daron
> 
> 
> 
> 
> =
> 
> %% Depends on memoir
> %   tell memoir to use endnotes
> \makepagenote
> 
> %   use Lyx footnote apparatus, but have memoir convert to endnotes
> \foottopagenote
> 
> %   setup memoir for notes at the end of chapters
> \renewcommand*{\notedivision}{\section*{\notesname}}
> \renewcommand*{\pagenotesubhead}[3]{}
> 
> %   prepare a new length for the width of the note numbers;  to be used 
> later
> \newlength{\notenumberlength}
> 
> %   tell memoir to hang the paragraphs from the width of the note numbers
> \renewcommand{\prenoteinnotes}{\par\noindent\hangindent\notenumberlength}
> 
> %   add some space between notes
> \renewcommand{\postnoteinnotes}{\par\smallskip}
> 
> %:> use for hanging notes from normal text size numbers
> 
> %   tell LaTeX to reserve note number space wide enough for the number 
> 99. and a space, in normal font
> \settowidth{\notenumberlength}{\normalfont 99.\space}
> 
> %   tell memoir to typeset the note numbers as flushright in their own box
> \renewcommand*{\notenuminnotes}[1]{\makebox[\notenumberlength][r]{#1.\space}}
> 
> 
> 
> %:> use for hanging the notes from superscript numbers.
> %   tell LaTeX to reserve enough space for 99 notes, superscript size
> %\settowidth{\notenumberlength}{\textsuperscript{99}}
> 
> %   tell memoir to typeset the note numbers as flushright 
> (rightjustified).
> 

Spellchecker identifying correct words as incorrect

2010-12-08 Thread Pete Crite
Hi,

I'm running the latest LyX on Mac OS X. I've had the spellchecker work fine in 
the past, using aspell. I've just tried to spellcheck a new file, and strange 
things are happening. Quite frequently, words that are spelt correctly are 
marked as incorrect. For example "Introduction", "identification", 
"differentially" and "alternatively" come up as incorrect. What's even stranger 
is that the suggested spelling is the same identical word! I click "Replace" 
continually, but obviously the "new" word is then seen as misspelt. Oddly 
enough, if I add the word to the personal dictionary, it works next time. Is 
there anything I can do to fix this problem?

Cheers,
Pete.

Re: Spellchecker identifying correct words as incorrect

2010-12-08 Thread Stephan Witt
Am 09.12.2010 um 05:57 schrieb Pete Crite:

> Hi,
> 
> I'm running the latest LyX on Mac OS X. I've had the spellchecker work fine 
> in the past, using aspell. I've just tried to spellcheck a new file, and 
> strange things are happening. Quite frequently, words that are spelt 
> correctly are marked as incorrect. For example "Introduction", 
> "identification", "differentially" and "alternatively" come up as incorrect. 
> What's even stranger is that the suggested spelling is the same identical 
> word! I click "Replace" continually, but obviously the "new" word is then 
> seen as misspelt. Oddly enough, if I add the word to the personal dictionary, 
> it works next time. Is there anything I can do to fix this problem?

Hi Pete,

please check in preferences the spell checker type you are using.
The default has changed to Macs native spell checker.

Stephan

Re: LyX 2.0: problems using XeTeX and thesis template

2010-12-08 Thread Guenter Milde
On 2010-12-08, Jürgen Spitzmüller wrote:
> Jürgen Spitzmüller wrote:

>> Justin Wood wrote:
>>> 1. conflict with AMS package
>>> I've found that simply activating XeTeX under *Document Settings –
>>> Fonts*will cause parsing errors on viewing if the document also has
>>> *Math Options – Use AMS math package* checked; eg, LaTeX Error: Command
>>> `\Finv' already defined, etc. I think this is a known conflict between
>>> XeTeX and the AMS package, is that right? By changing the setting to *Use
>>> AMS math package automatically* though, these particular errors go away.
>>> Note that this occurs in the generic default new document (*article*
>>> class) as well as the *KOMA-script book *class that the thesis uses.

>> Yes, I've seen this too. Not sure what to do. We could disable "AMS
>> always" for XeTeX, if necessary, but I guess we need to do some more
>> research yet.

Please never disable "AMS always" but not "AMS automatically": this would
lead to errors as soon as an AMS-requiring construct is put into the
document.

> This should be fixed as well in the next release. The trick is to load all 
> AMS packages before fontspec (which itself loads xunicode, which has to be 
> loaded after the AMS packages). See
> http://www.macfreek.nl/mindmaster/LaTeX_package_conflicts#Amssymb_with_Xunicode

I am glad you found the core of the problem.
(BTW: the current version of fontspec does no longer load xunicode, but
we should care for users with older versions.)

Testing here with a pre-beta-2 SVN version,

  LyX 2.0.0svn (not released yet)
  Built on Nov 26 2010, 14:31:19

I get

%% LyX 2.0.0svn created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[british]{article}
\usepackage{fontspec}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{xunicode}
\usepackage{xltxtra}
\usepackage{polyglossia}
\setdefaultlanguage[variant=british]{english}
\begin{document}
Hallo $\Rrightarrow$.
\end{document}

which compiles fine.

However, I also found that even if I do not check any of the AMS math
options, LyX 2 behaves as if the "Load AMS math automatically" option
were set:

a) the "AMS symbols" toolbox is enabled.
b) inserting a symbol from it inserts \usepackage{amssymb} in the preamble.
c) even writing \Rrightarrow in a math box (converts this to the symbol and)
   inserts \usepackage{amssymb} in the preamble.
   
Because of c), a work-around with disabling AMS math in the checkbox and
loading in the LaTeX preamble will fail.

Günter

   
 

Günter