Re: LyX Memoir endnotes have form of footnotes

2010-12-09 Thread george legge
Hi Daron and Stefano,

Your shortened code for the pagenotes, Daron, works OK but I still need
\wide and \endwide to utilize the full width of text + notemargin.

Stefano, I tested your comments on only a single paragraph allowed within a
pagenote.
True, return or shift return are not accepted within a pagenote;
however cntrl return [a ragged linebreak] works fine.
This should suffice for most cases where one needs a second reference in a
pagenote, though it may not satisfy those who want paragraphs of text.

Incidentally, cntrl shift return [a justified linebreak] is not accepted.

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.



Re: LyX 2.0: problems using XeTeX and thesis template

2010-12-09 Thread Jürgen Spitzmüller
Guenter Milde wrote:

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

I have fontspec v2.1e (2010/11/17), which is the most recent version on 
CTAN. The documentation states:

Ross Moore’s xunicode package is now automatically loaded for users of both 
XELATEX and LuaLATEX.

So it seems to me that the situation is reverse (unless you use an 
unreleased pre-release)

Jürgen



Re: Error when converting to a readable format

2010-12-09 Thread Claudio Graziosi
*Hello, already tried what you said Liviu, but did not modify anything. The
headline of my article was:

\ Renewcommand {\ figurename} {Figure}
\ Renewcommand {\ listfigurename figures} {Index} \ renewcommand {\
tablename} {Table}
\ Renewcommand {\ listtablename}} {Table of Tables
\ Pagestyle {fancy}
\ {} Fancyhf
\ Fancyfoot {}% clear all header fields
\ Fancyhead [LO] {\ leftmark}% In the odd pages, left of the header, the
name of chapter
\ Fancyhead [RE] {\ RightMark}% In the even pages, right side of the header,
the name of section
\ Fancyfoot [RO, LE] {\ thepage}% page numbers in the corners of the headers
\ Renewcommand {\ chaptermark} [1] {% \ markboth {\ thechapter. \ # 1} {}}%
format for Chapter N. Name \ renewcommand {\ sectionmark} [1] {\ markright
{\ thesection. \ # 1}}% Format for the section: NM Name
\ Renewcommand {\ headrulewidth} {0.6pt}% Width of horizontal line under the
heading

I deleted from \ pagestyle {fancy} until the last line and file compiles
again. But still get the message: error when converting to a readable
format.
which is the problem? at least I can work*.
*Thanks*

2010/12/7 Liviu Andronic landronim...@gmail.com

 Hello
 Thank you for writing in English, but please turn the HTML mode off.
 The reason is that such flashy messages may turn many of potential
 helpers off.


 On Tue, Dec 7, 2010 at 3:57 PM, Claudio Graziosi colo...@gmail.com
 wrote:
  Hi I have problems with images in lyx. I finished a chapter of the book
 I'm
  preparing for the school and suddenly does not compile more, none of the
  formats and gives me the following error: Failed to convert to a
 readable
  format. Here I leave an image of the error:
 
 
 http://www.uploadfilesystem.com//viewimage.php?file=/imagenes/10/12/04/Yvf84089.jpg
 
  Try changing the image formats (. Bmp. Jpg. Jpeg. Eps) and same thing
  happens.
 
  I try all sorts of names, changing the direction, everything that
 occurred
  to me about it. Also opened the lyx file, which is Help - inserted
  objects, which has a pair of recording of the program and also gives me
 the
  same error.
  Start a new file, inserting other images and is the same. It seems like
 it's
  a program problem.
  I'm the one who has this problem?
 
 
 http://www.uploadfilesystem.com//viewimage.php?file=/imagenes/10/12/07/5rY92326.jpg
 
 It seems that you have trouble with all sorts of images.


  PS 1: At first I did everything with embedded pdf files as images and it
  worked perfect. Also I have a couple of previous work, also done well and
  had no problem. It appeared suddenly, I thought it was the file extension
 to
  insert the image and try to change it, but the same happens.
 
 Have you tried my original suggestion to re-install imagemagick? If it
 doesn't work and while you're at it, try un-installing LyX completely
 and re-installing using the AltInstaller-Complete.

 Perhaps others may have better ideas. Regards
 Liviu


  PS 2: I must say that I have problems only when I have pictures, because
 it
  compiles texts.
 
  Thanks, hope you can help
 
  Version Lyx 1.6.7.4
  SO Windows SP 3
 
  Greetings



 --
 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-mailhttp://garbl.home.comcast.net/%7Egarbl/stylemanual/e.htm#e-mail



Re: Error when converting to a readable format

2010-12-09 Thread Claudio Graziosi
*\ Renewcommand {\ figurename} {Figure}
\ Renewcommand {\ listfigurename figures} {Index} *
*\ renewcommand {\ tablename} {Table}**
\ Renewcommand {\ listtablename}} {Table of Tables**}
*
*\pagestyle{fancy}
\fancyhf{}
\fancyfoot{} % clear all header fields
\fancyhead[LO]{\leftmark} % En las páginas impares, parte izquierda del
encabezado, aparecerá el nombre de capítulo
\fancyhead[RE]{\rightmark} % En las páginas pares, parte derecha del
encabezado, aparecerá el nombre de sección
\fancyfoot[RO,LE]{\thepage} % Números de página en las esquinas de los
encabezados
\renewcommand{\chaptermark}[1]{% \markboth{\thechapter.\ #1}{}} % Formato
para el capítulo: N. Nombre
\renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}} % Formato para
la sección: N.M. Nombre
\renewcommand{\headrulewidth}{0.6pt} % Ancho de la línea horizontal bajo el
encabezado *

2010/12/9 Claudio Graziosi colo...@gmail.com

 *Hello, already tried what you said Liviu, but did not modify anything. The
 headline of my article was:

 \ Renewcommand {\ figurename} {Figure}
 \ Renewcommand {\ listfigurename figures} {Index} *


*\ renewcommand {\ tablename} {Table}
 \ Renewcommand {\ listtablename}} {Table of Tables
 \ Pagestyle {fancy}\ {} Fancyhf
 \ Fancyfoot {}% clear all header fields
 \ Fancyhead [LO] {\ leftmark}% In the odd pages, left of the header, the
 name of chapter
 \ Fancyhead [RE] {\ RightMark}% In the even pages, right side of the
 header, the name of section
 \ Fancyfoot [RO, LE] {\ thepage}% page numbers in the corners of the
 headers
 \ Renewcommand {\ chaptermark} [1] {% \ markboth {\ thechapter. \ # 1} {}}%
 format for Chapter N. Name \ renewcommand {\ sectionmark} [1] {\ markright
 {\ thesection. \ # 1}}% Format for the section: NM Name
 \ Renewcommand {\ headrulewidth} {0.6pt}% Width of horizontal line under
 the heading

 I deleted from \ pagestyle {fancy} until the last line and file compiles
 again. But still get the message: error when converting to a readable
 format.
 which is the problem? at least I can work*.
 *Thanks*

 2010/12/7 Liviu Andronic landronim...@gmail.com

 Hello
 Thank you for writing in English, but please turn the HTML mode off.
 The reason is that such flashy messages may turn many of potential
 helpers off.


 On Tue, Dec 7, 2010 at 3:57 PM, Claudio Graziosi colo...@gmail.com
 wrote:
  Hi I have problems with images in lyx. I finished a chapter of the book
 I'm
  preparing for the school and suddenly does not compile more, none of the
  formats and gives me the following error: Failed to convert to a
 readable
  format. Here I leave an image of the error:
 
 
 http://www.uploadfilesystem.com//viewimage.php?file=/imagenes/10/12/04/Yvf84089.jpg
 
  Try changing the image formats (. Bmp. Jpg. Jpeg. Eps) and same thing
  happens.
 
  I try all sorts of names, changing the direction, everything that
 occurred
  to me about it. Also opened the lyx file, which is Help - inserted
  objects, which has a pair of recording of the program and also gives me
 the
  same error.
  Start a new file, inserting other images and is the same. It seems like
 it's
  a program problem.
  I'm the one who has this problem?
 
 
 http://www.uploadfilesystem.com//viewimage.php?file=/imagenes/10/12/07/5rY92326.jpg
 
 It seems that you have trouble with all sorts of images.


  PS 1: At first I did everything with embedded pdf files as images and it
  worked perfect. Also I have a couple of previous work, also done well
 and
  had no problem. It appeared suddenly, I thought it was the file
 extension to
  insert the image and try to change it, but the same happens.
 
 Have you tried my original suggestion to re-install imagemagick? If it
 doesn't work and while you're at it, try un-installing LyX completely
 and re-installing using the AltInstaller-Complete.

 Perhaps others may have better ideas. Regards
 Liviu


  PS 2: I must say that I have problems only when I have pictures, because
 it
  compiles texts.
 
  Thanks, hope you can help
 
  Version Lyx 1.6.7.4
  SO Windows SP 3
 
  Greetings



 --
 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-mailhttp://garbl.home.comcast.net/%7Egarbl/stylemanual/e.htm#e-mail





Re: lyx-users Digest of: get.3687

2010-12-09 Thread Justin Wood
On 10 December 2010 12:37, lyx-users-h...@lists.lyx.org wrote:



 #\DeclareLyXModule{thesis styles}



 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,
Nope this is still happening with beta 2 (on OS X).


 Richard






Re: LyX 2.0: problems using XeTeX and thesis template

2010-12-09 Thread Justin Wood
On 10 December 2010 12:37, lyx-users-h...@lists.lyx.org 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}{%
 ...
 }{}


Yes, these are the thesis set of template files that ship with LyX 2.0.

I tried adding this to the chapter template preamble. The error is removed,
but it seems to be because the commands are not processed — the cross ref
labels are not applied.



  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-styleshttp://blog.oak-tree.us/index.php/2009/11/14/customize-lyx-%0Acharacter-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}

 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.


Is there documentation on the correct syntax? I've not been able to find
that until now.

Thanks again. [Sorry for accidentally posting to you twice, Jürgen]

 Jürgen

  Thanks!



Re: LyX 2.0: problems using XeTeX and thesis template

2010-12-09 Thread Justin Wood
On 10 December 2010 12:37, lyx-users-h...@lists.lyx.org wrote:

 
  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


The template files do actually have this embrace, but it doesn't prevent the
parsing error. Or do you mean the next release will do something else that
will fix the problem? Thanks Jürgen.

For completeness, this is the preamble, taken directly from the chapter
template:


 % increase link area for cross-references and autoname them

*\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1*

*\newlength{\abc}*

*\settowidth{\abc}{\space}*

*\addto\extrasenglish{*

* \renewcommand{\equationautorefname}{\hspace{-\abc}}*

* \renewcommand{\sectionautorefname}{sec.\negthinspace}*

* \renewcommand{\subsectionautorefname}{sec.\negthinspace}*

* \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}*

* \renewcommand{\figureautorefname}{Fig.\negthinspace}*

* \renewcommand{\tableautorefname}{Tab.\negthinspace}*

*}*

% in case somebody want to have the label Gleichung

%\renewcommand{\eqref}[1]{Gleichung~(\negthinspace\autoref{#1})}

% put the link to figure floats to the beginning

% of the figure and not to its end

\usepackage[figure]{hypcap}

% the pages of the TOC is numbered roman

% and a pdf-bookmark for the TOC is added

\let\myTOC\tableofcontents

\renewcommand\tableofcontents{%

\frontmatter

\pdfbookmark[1]{\contentsname}{}

\myTOC

\mainmatter }

% make caption labels bold

\setkomafont{captionlabel}{\bfseries}

\setcapindent{1em}

% enable calculations

\usepackage{calc}

% fancy page header/footer settings

\renewcommand{\chaptermark}[1]{\markboth{#1}{#1}}

\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}

% increase the bottom float placement fraction

\renewcommand{\bottomfraction}{0.5}

% avoid that floats are placed above its sections

\let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}


Re: LyX 2.0: problems using XeTeX and thesis template

2010-12-09 Thread Vincent van Ravesteijn
 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.


Note there is (correctly or not) a difference between amsmath and
amssymb. The Document-Settings-Math Options can only prevent using
\usepackages{amsmath}. amssymb is always loaded automatically or
loaded when you choose use amsmath.

This is the same as in 1.6.x.

Vincent


Re: LyX Memoir endnotes have form of footnotes

2010-12-09 Thread george legge
Hi Daron and Stefano,

Your shortened code for the pagenotes, Daron, works OK but I still need
\wide and \endwide to utilize the full width of text + notemargin.

Stefano, I tested your comments on only a single paragraph allowed within a
pagenote.
True, return or shift return are not accepted within a pagenote;
however cntrl return [a ragged linebreak] works fine.
This should suffice for most cases where one needs a second reference in a
pagenote, though it may not satisfy those who want paragraphs of text.

Incidentally, cntrl shift return [a justified linebreak] is not accepted.

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.



Re: LyX 2.0: problems using XeTeX and thesis template

2010-12-09 Thread Jürgen Spitzmüller
Guenter Milde wrote:

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

I have fontspec v2.1e (2010/11/17), which is the most recent version on 
CTAN. The documentation states:

Ross Moore’s xunicode package is now automatically loaded for users of both 
XELATEX and LuaLATEX.

So it seems to me that the situation is reverse (unless you use an 
unreleased pre-release)

Jürgen



Re: Error when converting to a readable format

2010-12-09 Thread Claudio Graziosi
*Hello, already tried what you said Liviu, but did not modify anything. The
headline of my article was:

\ Renewcommand {\ figurename} {Figure}
\ Renewcommand {\ listfigurename figures} {Index} \ renewcommand {\
tablename} {Table}
\ Renewcommand {\ listtablename}} {Table of Tables
\ Pagestyle {fancy}
\ {} Fancyhf
\ Fancyfoot {}% clear all header fields
\ Fancyhead [LO] {\ leftmark}% In the odd pages, left of the header, the
name of chapter
\ Fancyhead [RE] {\ RightMark}% In the even pages, right side of the header,
the name of section
\ Fancyfoot [RO, LE] {\ thepage}% page numbers in the corners of the headers
\ Renewcommand {\ chaptermark} [1] {% \ markboth {\ thechapter. \ # 1} {}}%
format for Chapter N. Name \ renewcommand {\ sectionmark} [1] {\ markright
{\ thesection. \ # 1}}% Format for the section: NM Name
\ Renewcommand {\ headrulewidth} {0.6pt}% Width of horizontal line under the
heading

I deleted from \ pagestyle {fancy} until the last line and file compiles
again. But still get the message: error when converting to a readable
format.
which is the problem? at least I can work*.
*Thanks*

2010/12/7 Liviu Andronic landronim...@gmail.com

 Hello
 Thank you for writing in English, but please turn the HTML mode off.
 The reason is that such flashy messages may turn many of potential
 helpers off.


 On Tue, Dec 7, 2010 at 3:57 PM, Claudio Graziosi colo...@gmail.com
 wrote:
  Hi I have problems with images in lyx. I finished a chapter of the book
 I'm
  preparing for the school and suddenly does not compile more, none of the
  formats and gives me the following error: Failed to convert to a
 readable
  format. Here I leave an image of the error:
 
 
 http://www.uploadfilesystem.com//viewimage.php?file=/imagenes/10/12/04/Yvf84089.jpg
 
  Try changing the image formats (. Bmp. Jpg. Jpeg. Eps) and same thing
  happens.
 
  I try all sorts of names, changing the direction, everything that
 occurred
  to me about it. Also opened the lyx file, which is Help - inserted
  objects, which has a pair of recording of the program and also gives me
 the
  same error.
  Start a new file, inserting other images and is the same. It seems like
 it's
  a program problem.
  I'm the one who has this problem?
 
 
 http://www.uploadfilesystem.com//viewimage.php?file=/imagenes/10/12/07/5rY92326.jpg
 
 It seems that you have trouble with all sorts of images.


  PS 1: At first I did everything with embedded pdf files as images and it
  worked perfect. Also I have a couple of previous work, also done well and
  had no problem. It appeared suddenly, I thought it was the file extension
 to
  insert the image and try to change it, but the same happens.
 
 Have you tried my original suggestion to re-install imagemagick? If it
 doesn't work and while you're at it, try un-installing LyX completely
 and re-installing using the AltInstaller-Complete.

 Perhaps others may have better ideas. Regards
 Liviu


  PS 2: I must say that I have problems only when I have pictures, because
 it
  compiles texts.
 
  Thanks, hope you can help
 
  Version Lyx 1.6.7.4
  SO Windows SP 3
 
  Greetings



 --
 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-mailhttp://garbl.home.comcast.net/%7Egarbl/stylemanual/e.htm#e-mail



Re: Error when converting to a readable format

2010-12-09 Thread Claudio Graziosi
*\ Renewcommand {\ figurename} {Figure}
\ Renewcommand {\ listfigurename figures} {Index} *
*\ renewcommand {\ tablename} {Table}**
\ Renewcommand {\ listtablename}} {Table of Tables**}
*
*\pagestyle{fancy}
\fancyhf{}
\fancyfoot{} % clear all header fields
\fancyhead[LO]{\leftmark} % En las páginas impares, parte izquierda del
encabezado, aparecerá el nombre de capítulo
\fancyhead[RE]{\rightmark} % En las páginas pares, parte derecha del
encabezado, aparecerá el nombre de sección
\fancyfoot[RO,LE]{\thepage} % Números de página en las esquinas de los
encabezados
\renewcommand{\chaptermark}[1]{% \markboth{\thechapter.\ #1}{}} % Formato
para el capítulo: N. Nombre
\renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}} % Formato para
la sección: N.M. Nombre
\renewcommand{\headrulewidth}{0.6pt} % Ancho de la línea horizontal bajo el
encabezado *

2010/12/9 Claudio Graziosi colo...@gmail.com

 *Hello, already tried what you said Liviu, but did not modify anything. The
 headline of my article was:

 \ Renewcommand {\ figurename} {Figure}
 \ Renewcommand {\ listfigurename figures} {Index} *


*\ renewcommand {\ tablename} {Table}
 \ Renewcommand {\ listtablename}} {Table of Tables
 \ Pagestyle {fancy}\ {} Fancyhf
 \ Fancyfoot {}% clear all header fields
 \ Fancyhead [LO] {\ leftmark}% In the odd pages, left of the header, the
 name of chapter
 \ Fancyhead [RE] {\ RightMark}% In the even pages, right side of the
 header, the name of section
 \ Fancyfoot [RO, LE] {\ thepage}% page numbers in the corners of the
 headers
 \ Renewcommand {\ chaptermark} [1] {% \ markboth {\ thechapter. \ # 1} {}}%
 format for Chapter N. Name \ renewcommand {\ sectionmark} [1] {\ markright
 {\ thesection. \ # 1}}% Format for the section: NM Name
 \ Renewcommand {\ headrulewidth} {0.6pt}% Width of horizontal line under
 the heading

 I deleted from \ pagestyle {fancy} until the last line and file compiles
 again. But still get the message: error when converting to a readable
 format.
 which is the problem? at least I can work*.
 *Thanks*

 2010/12/7 Liviu Andronic landronim...@gmail.com

 Hello
 Thank you for writing in English, but please turn the HTML mode off.
 The reason is that such flashy messages may turn many of potential
 helpers off.


 On Tue, Dec 7, 2010 at 3:57 PM, Claudio Graziosi colo...@gmail.com
 wrote:
  Hi I have problems with images in lyx. I finished a chapter of the book
 I'm
  preparing for the school and suddenly does not compile more, none of the
  formats and gives me the following error: Failed to convert to a
 readable
  format. Here I leave an image of the error:
 
 
 http://www.uploadfilesystem.com//viewimage.php?file=/imagenes/10/12/04/Yvf84089.jpg
 
  Try changing the image formats (. Bmp. Jpg. Jpeg. Eps) and same thing
  happens.
 
  I try all sorts of names, changing the direction, everything that
 occurred
  to me about it. Also opened the lyx file, which is Help - inserted
  objects, which has a pair of recording of the program and also gives me
 the
  same error.
  Start a new file, inserting other images and is the same. It seems like
 it's
  a program problem.
  I'm the one who has this problem?
 
 
 http://www.uploadfilesystem.com//viewimage.php?file=/imagenes/10/12/07/5rY92326.jpg
 
 It seems that you have trouble with all sorts of images.


  PS 1: At first I did everything with embedded pdf files as images and it
  worked perfect. Also I have a couple of previous work, also done well
 and
  had no problem. It appeared suddenly, I thought it was the file
 extension to
  insert the image and try to change it, but the same happens.
 
 Have you tried my original suggestion to re-install imagemagick? If it
 doesn't work and while you're at it, try un-installing LyX completely
 and re-installing using the AltInstaller-Complete.

 Perhaps others may have better ideas. Regards
 Liviu


  PS 2: I must say that I have problems only when I have pictures, because
 it
  compiles texts.
 
  Thanks, hope you can help
 
  Version Lyx 1.6.7.4
  SO Windows SP 3
 
  Greetings



 --
 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-mailhttp://garbl.home.comcast.net/%7Egarbl/stylemanual/e.htm#e-mail





Re: lyx-users Digest of: get.3687

2010-12-09 Thread Justin Wood
On 10 December 2010 12:37, lyx-users-h...@lists.lyx.org wrote:



 #\DeclareLyXModule{thesis styles}



 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,
Nope this is still happening with beta 2 (on OS X).


 Richard






Re: LyX 2.0: problems using XeTeX and thesis template

2010-12-09 Thread Justin Wood
On 10 December 2010 12:37, lyx-users-h...@lists.lyx.org 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}{%
 ...
 }{}


Yes, these are the thesis set of template files that ship with LyX 2.0.

I tried adding this to the chapter template preamble. The error is removed,
but it seems to be because the commands are not processed — the cross ref
labels are not applied.



  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-styleshttp://blog.oak-tree.us/index.php/2009/11/14/customize-lyx-%0Acharacter-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}

 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.


Is there documentation on the correct syntax? I've not been able to find
that until now.

Thanks again. [Sorry for accidentally posting to you twice, Jürgen]

 Jürgen

  Thanks!



Re: LyX 2.0: problems using XeTeX and thesis template

2010-12-09 Thread Justin Wood
On 10 December 2010 12:37, lyx-users-h...@lists.lyx.org wrote:

 
  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


The template files do actually have this embrace, but it doesn't prevent the
parsing error. Or do you mean the next release will do something else that
will fix the problem? Thanks Jürgen.

For completeness, this is the preamble, taken directly from the chapter
template:


 % increase link area for cross-references and autoname them

*\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1*

*\newlength{\abc}*

*\settowidth{\abc}{\space}*

*\addto\extrasenglish{*

* \renewcommand{\equationautorefname}{\hspace{-\abc}}*

* \renewcommand{\sectionautorefname}{sec.\negthinspace}*

* \renewcommand{\subsectionautorefname}{sec.\negthinspace}*

* \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}*

* \renewcommand{\figureautorefname}{Fig.\negthinspace}*

* \renewcommand{\tableautorefname}{Tab.\negthinspace}*

*}*

% in case somebody want to have the label Gleichung

%\renewcommand{\eqref}[1]{Gleichung~(\negthinspace\autoref{#1})}

% put the link to figure floats to the beginning

% of the figure and not to its end

\usepackage[figure]{hypcap}

% the pages of the TOC is numbered roman

% and a pdf-bookmark for the TOC is added

\let\myTOC\tableofcontents

\renewcommand\tableofcontents{%

\frontmatter

\pdfbookmark[1]{\contentsname}{}

\myTOC

\mainmatter }

% make caption labels bold

\setkomafont{captionlabel}{\bfseries}

\setcapindent{1em}

% enable calculations

\usepackage{calc}

% fancy page header/footer settings

\renewcommand{\chaptermark}[1]{\markboth{#1}{#1}}

\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}

% increase the bottom float placement fraction

\renewcommand{\bottomfraction}{0.5}

% avoid that floats are placed above its sections

\let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}


Re: LyX 2.0: problems using XeTeX and thesis template

2010-12-09 Thread Vincent van Ravesteijn
 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.


Note there is (correctly or not) a difference between amsmath and
amssymb. The Document-Settings-Math Options can only prevent using
\usepackages{amsmath}. amssymb is always loaded automatically or
loaded when you choose use amsmath.

This is the same as in 1.6.x.

Vincent


Re: LyX Memoir endnotes have form of footnotes

2010-12-09 Thread george legge
Hi Daron and Stefano,

Your shortened code for the pagenotes, Daron, works OK but I still need
\wide and \endwide to utilize the full width of text + notemargin.

Stefano, I tested your comments on "only a single paragraph allowed within a
pagenote".
True, "return" or "shift return" are not accepted within a pagenote;
however "cntrl return" [a ragged linebreak] works fine.
This should suffice for most cases where one needs a second reference in a
pagenote, though it may not satisfy those who want paragraphs of text.

Incidentally, "cntrl shift return" [a justified linebreak] is not accepted.

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


Re: LyX 2.0: problems using XeTeX and thesis template

2010-12-09 Thread Jürgen Spitzmüller
Guenter Milde wrote:

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

I have fontspec v2.1e (2010/11/17), which is the most recent version on 
CTAN. The documentation states:

"Ross Moore’s xunicode package is now automatically loaded for users of both 
XELATEX and LuaLATEX."

So it seems to me that the situation is reverse (unless you use an 
unreleased pre-release)

Jürgen



Re: Error when converting to a readable format

2010-12-09 Thread Claudio Graziosi
*Hello, already tried what you said Liviu, but did not modify anything. The
headline of my article was:

\ Renewcommand {\ figurename} {Figure}
\ Renewcommand {\ listfigurename figures} {Index} \ renewcommand {\
tablename} {Table}
\ Renewcommand {\ listtablename}} {Table of Tables
\ Pagestyle {fancy}
\ {} Fancyhf
\ Fancyfoot {}% clear all header fields
\ Fancyhead [LO] {\ leftmark}% In the odd pages, left of the header, the
name of chapter
\ Fancyhead [RE] {\ RightMark}% In the even pages, right side of the header,
the name of section
\ Fancyfoot [RO, LE] {\ thepage}% page numbers in the corners of the headers
\ Renewcommand {\ chaptermark} [1] {% \ markboth {\ thechapter. \ # 1} {}}%
format for Chapter N. Name \ renewcommand {\ sectionmark} [1] {\ markright
{\ thesection. \ # 1}}% Format for the section: NM Name
\ Renewcommand {\ headrulewidth} {0.6pt}% Width of horizontal line under the
heading

I deleted from \ pagestyle {fancy} until the last line and file compiles
again. But still get the message: "error when converting to a readable
format."
which is the problem? at least I can work*.
*Thanks*

2010/12/7 Liviu Andronic 

> Hello
> Thank you for writing in English, but please turn the HTML mode off.
> The reason is that such flashy messages may turn many of potential
> helpers off.
>
>
> On Tue, Dec 7, 2010 at 3:57 PM, Claudio Graziosi 
> wrote:
> > Hi I have problems with images in lyx. I finished a chapter of the book
> I'm
> > preparing for the school and suddenly does not compile more, none of the
> > formats and gives me the following error: "Failed to convert to a
> readable
> > format." Here I leave an image of the error:
> >
> >
> http://www.uploadfilesystem.com//viewimage.php?file=/imagenes/10/12/04/Yvf84089.jpg
> >
> > Try changing the image formats (. Bmp. Jpg. Jpeg. Eps) and same thing
> > happens.
> >
> > I try all sorts of names, changing the direction, everything that
> occurred
> > to me about it. Also opened the lyx file, which is "Help" -> "inserted
> > objects", which has a pair of recording of the program and also gives me
> the
> > same error.
> > Start a new file, inserting other images and is the same. It seems like
> it's
> > a program problem.
> > I'm the one who has this problem?
> >
> >
> http://www.uploadfilesystem.com//viewimage.php?file=/imagenes/10/12/07/5rY92326.jpg
> >
> It seems that you have trouble with all sorts of images.
>
>
> > PS 1: At first I did everything with embedded pdf files as images and it
> > worked perfect. Also I have a couple of previous work, also done well and
> > had no problem. It appeared suddenly, I thought it was the file extension
> to
> > insert the image and try to change it, but the same happens.
> >
> Have you tried my original suggestion to re-install imagemagick? If it
> doesn't work and while you're at it, try un-installing LyX completely
> and re-installing using the AltInstaller-Complete.
>
> Perhaps others may have better ideas. Regards
> Liviu
>
>
> > PS 2: I must say that I have problems only when I have pictures, because
> it
> > compiles texts.
> >
> > Thanks, hope you can help
> >
> > Version Lyx 1.6.7.4
> > SO Windows SP 3
> >
> > Greetings
>
>
>
> --
> 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: Error when converting to a readable format

2010-12-09 Thread Claudio Graziosi
*\ Renewcommand {\ figurename} {Figure}
\ Renewcommand {\ listfigurename figures} {Index} *
*\ renewcommand {\ tablename} {Table}**
\ Renewcommand {\ listtablename}} {Table of Tables**}
*
*\pagestyle{fancy}
\fancyhf{}
\fancyfoot{} % clear all header fields
\fancyhead[LO]{\leftmark} % En las páginas impares, parte izquierda del
encabezado, aparecerá el nombre de capítulo
\fancyhead[RE]{\rightmark} % En las páginas pares, parte derecha del
encabezado, aparecerá el nombre de sección
\fancyfoot[RO,LE]{\thepage} % Números de página en las esquinas de los
encabezados
\renewcommand{\chaptermark}[1]{% \markboth{\thechapter.\ #1}{}} % Formato
para el capítulo: N. Nombre
\renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}} % Formato para
la sección: N.M. Nombre
\renewcommand{\headrulewidth}{0.6pt} % Ancho de la línea horizontal bajo el
encabezado *

2010/12/9 Claudio Graziosi 

> *Hello, already tried what you said Liviu, but did not modify anything. The
> headline of my article was:
>
> \ Renewcommand {\ figurename} {Figure}
> \ Renewcommand {\ listfigurename figures} {Index} *


*\ renewcommand {\ tablename} {Table}
> \ Renewcommand {\ listtablename}} {Table of Tables
> \ Pagestyle {fancy}\ {} Fancyhf
> \ Fancyfoot {}% clear all header fields
> \ Fancyhead [LO] {\ leftmark}% In the odd pages, left of the header, the
> name of chapter
> \ Fancyhead [RE] {\ RightMark}% In the even pages, right side of the
> header, the name of section
> \ Fancyfoot [RO, LE] {\ thepage}% page numbers in the corners of the
> headers
> \ Renewcommand {\ chaptermark} [1] {% \ markboth {\ thechapter. \ # 1} {}}%
> format for Chapter N. Name \ renewcommand {\ sectionmark} [1] {\ markright
> {\ thesection. \ # 1}}% Format for the section: NM Name
> \ Renewcommand {\ headrulewidth} {0.6pt}% Width of horizontal line under
> the heading
>
> I deleted from \ pagestyle {fancy} until the last line and file compiles
> again. But still get the message: "error when converting to a readable
> format."
> which is the problem? at least I can work*.
> *Thanks*
>
> 2010/12/7 Liviu Andronic 
>
> Hello
>> Thank you for writing in English, but please turn the HTML mode off.
>> The reason is that such flashy messages may turn many of potential
>> helpers off.
>>
>>
>> On Tue, Dec 7, 2010 at 3:57 PM, Claudio Graziosi 
>> wrote:
>> > Hi I have problems with images in lyx. I finished a chapter of the book
>> I'm
>> > preparing for the school and suddenly does not compile more, none of the
>> > formats and gives me the following error: "Failed to convert to a
>> readable
>> > format." Here I leave an image of the error:
>> >
>> >
>> http://www.uploadfilesystem.com//viewimage.php?file=/imagenes/10/12/04/Yvf84089.jpg
>> >
>> > Try changing the image formats (. Bmp. Jpg. Jpeg. Eps) and same thing
>> > happens.
>> >
>> > I try all sorts of names, changing the direction, everything that
>> occurred
>> > to me about it. Also opened the lyx file, which is "Help" -> "inserted
>> > objects", which has a pair of recording of the program and also gives me
>> the
>> > same error.
>> > Start a new file, inserting other images and is the same. It seems like
>> it's
>> > a program problem.
>> > I'm the one who has this problem?
>> >
>> >
>> http://www.uploadfilesystem.com//viewimage.php?file=/imagenes/10/12/07/5rY92326.jpg
>> >
>> It seems that you have trouble with all sorts of images.
>>
>>
>> > PS 1: At first I did everything with embedded pdf files as images and it
>> > worked perfect. Also I have a couple of previous work, also done well
>> and
>> > had no problem. It appeared suddenly, I thought it was the file
>> extension to
>> > insert the image and try to change it, but the same happens.
>> >
>> Have you tried my original suggestion to re-install imagemagick? If it
>> doesn't work and while you're at it, try un-installing LyX completely
>> and re-installing using the AltInstaller-Complete.
>>
>> Perhaps others may have better ideas. Regards
>> Liviu
>>
>>
>> > PS 2: I must say that I have problems only when I have pictures, because
>> it
>> > compiles texts.
>> >
>> > Thanks, hope you can help
>> >
>> > Version Lyx 1.6.7.4
>> > SO Windows SP 3
>> >
>> > Greetings
>>
>>
>>
>> --
>> Do you know how to read?
>> http://www.alienetworks.com/srtest.cfm
>> http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
>> Do you know how to write?
>> http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
>>
>
>


Re: lyx-users Digest of: get.3687

2010-12-09 Thread Justin Wood
On 10 December 2010 12:37,  wrote:

>
>>>
>>> #\DeclareLyXModule{thesis styles}
>>>
>>>
>>>
>> 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,
Nope this is still happening with beta 2 (on OS X).


> Richard
>
>
>
>


Re: LyX 2.0: problems using XeTeX and thesis template

2010-12-09 Thread Justin Wood
On 10 December 2010 12:37,  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}{%
> ...
> }{}
>

Yes, these are the thesis set of template files that ship with LyX 2.0.

I tried adding this to the chapter template preamble. The error is removed,
but it seems to be because the commands are not processed — the cross ref
labels are not applied.


>
> > 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 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}
>
> 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.
>
>
Is there documentation on the correct syntax? I've not been able to find
that until now.

Thanks again. [Sorry for accidentally posting to you twice, Jürgen]

 Jürgen
>
> > Thanks!
>


Re: LyX 2.0: problems using XeTeX and thesis template

2010-12-09 Thread Justin Wood
On 10 December 2010 12:37,  wrote:

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

The template files do actually have this embrace, but it doesn't prevent the
parsing error. Or do you mean the next release will do something else that
will fix the problem? Thanks Jürgen.

For completeness, this is the preamble, taken directly from the chapter
template:


 % increase link area for cross-references and autoname them

*\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1*

*\newlength{\abc}*

*\settowidth{\abc}{\space}*

*\addto\extrasenglish{*

* \renewcommand{\equationautorefname}{\hspace{-\abc}}*

* \renewcommand{\sectionautorefname}{sec.\negthinspace}*

* \renewcommand{\subsectionautorefname}{sec.\negthinspace}*

* \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}*

* \renewcommand{\figureautorefname}{Fig.\negthinspace}*

* \renewcommand{\tableautorefname}{Tab.\negthinspace}*

*}*

% in case somebody want to have the label "Gleichung"

%\renewcommand{\eqref}[1]{Gleichung~(\negthinspace\autoref{#1})}

% put the link to figure floats to the beginning

% of the figure and not to its end

\usepackage[figure]{hypcap}

% the pages of the TOC is numbered roman

% and a pdf-bookmark for the TOC is added

\let\myTOC\tableofcontents

\renewcommand\tableofcontents{%

\frontmatter

\pdfbookmark[1]{\contentsname}{}

\myTOC

\mainmatter }

% make caption labels bold

\setkomafont{captionlabel}{\bfseries}

\setcapindent{1em}

% enable calculations

\usepackage{calc}

% fancy page header/footer settings

\renewcommand{\chaptermark}[1]{\markboth{#1}{#1}}

\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}

% increase the bottom float placement fraction

\renewcommand{\bottomfraction}{0.5}

% avoid that floats are placed above its sections

\let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}


Re: LyX 2.0: problems using XeTeX and thesis template

2010-12-09 Thread Vincent van Ravesteijn
> 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.


Note there is (correctly or not) a difference between amsmath and
amssymb. The Document->Settings->Math Options can only prevent using
\usepackages{amsmath}. amssymb is always loaded automatically or
loaded when you choose "use amsmath".

This is the same as in 1.6.x.

Vincent