Re: How to edit when Lyx doesn't show the text?

2011-09-05 Thread Julien Rioux

On 04/09/2011 12:58 PM, Bernd Kappenberg wrote:

That's what I did - but the lines don't show up.


Here is what the LyX file says when opened in WordPad:

#LyX 2.0 created this file. For more info see http://www.lyx.org/
\lyxformat 413
\begin_document
\begin_header
\textclass scrartcl
\begin_preamble

  \usepackage[ table]{xcolor}



Here is what the LyX file says when opened with LyX (2.0):

%% LyX 2.0.0 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[twoside, fontsize=14, headinclude=true, DIV=calc]{scrartcl}
\usepackage{fontspec}
\setmainfont[Mapping=tex-text,Numbers=OldStyle]{Copperplate Gothic Bold}
\setsansfont[Mapping=tex-text]{Comic Sans MS}
\usepackage{geometry}
\geometry{verbose,tmargin=2.7cm,bmargin=2cm,lmargin=2cm,rmargin=2cm,headsep=0.021\textheight,footskip=0.7cm}
\usepackage{rotating}
\usepackage{tipa}
\usepackage{tipx}
\usepackage{textcomp}
\usepackage{graphicx}
\usepackage{setspace}
\usepackage{esint}

\makeatletter

%% LyX specific LaTeX commands.
\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
\DeclareRobustCommand{\greektext}{%
   \fontencoding{LGR}\selectfont\def\encodingdefault{LGR}}
\DeclareRobustCommand{\textgreek}[1]{\leavevmode{\greektext #1}}
\DeclareFontEncoding{LGR}{}{}
\DeclareTextSymbol{\~}{LGR}{126}
\DeclareRobustCommand{\cyrtext}{%
   \fontencoding{T2A}\selectfont\def\encodingdefault{T2A}}
\DeclareRobustCommand{\textcyr}[1]{\leavevmode{\cyrtext #1}}
\AtBeginDocument{\DeclareFontEncoding{T2A}{}{}}

%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}
%% A simple dot to overcome graphicx limitations
\newcommand{\lyxdot}{.}


%% User specified LaTeX commands.

  \usepackage[ table]{xcolor}



So where are those additional settings hiding?

Bernd


 Original-Nachricht 

Datum: Sat, 03 Sep 2011 10:14:38 -0400
Von: Richard Heckrgh...@comcast.net
An: Guest_NPbernd.kappenb...@gmx.de
CC: lyx-users@lists.lyx.org
Betreff: Re: How to edit when Lyx doesn\'t show the text?



On 09/03/2011 09:46 AM, Guest_NP wrote:

Dear Sirs,

I need to manually correct some source text (XeTeX, textgreek shows up
in the wrong encoding).
However, the source code doesn't show the lines in question.
How else can I do it?




Try opening the LyX file itself in a text editor, e.g., Notepad (on
Windows) or Kate (on Linux). Then you can find the problematic text and
fix it. The syntax of the file should be intelligible.

Richard





I think there is confusion here. LyX is not an editor for LaTeX files. 
LyX uses its own file format. This is what you see when you open the 
.lyx file in wordpad. LyX also uses LaTeX, but only for exporting. The 
menu View  Source allows you to see what LyX would export as LaTeX.


It sounds as if you want to edit the LaTeX exported by LyX. You could do 
so using the menu File  Export  LaTeX (plain) to generate a .tex file, 
and edit that externally.


Note, however, that your modifications might not be understood when you 
import the LaTeX back into LyX. In case that your intention is to export 
to LaTeX, modifies the file to your liking, and then export back into 
LyX, I would strongly advice not to do this. Instead, ask for help on 
how to achieve what you actually want to achieve in LyX. In most cases 
the LaTeX output generated by LyX can be tweaked by understanding LyX 
better, or with the use of modules to achieve what you want. This is the 
simpler way.


So, what exactly is wrong with the LaTeX output generated by LyX?

Regards,
Julien



CAS in LyX 2.0 Windows doesn't work

2011-09-05 Thread Anders Høg
Hi

 

Is there any workaround for using octave/maxima etc. in LyX 2.0 on windows?

 

I read somewhere on the mail-list, that this release is not able to execute
batch-files on windows anymore.

Why would they remove this feature? 

It works great in 1.6 (and for other OS in ver. 2.0 for that matter).

 

Regards

Anders



Re: How to edit when Lyx doesn't show the text?

2011-09-05 Thread Guest_NP
Everything that shows up in LyX (from  /userpackage(rotating) to  
User-specified LaTeX commands.).


I imagine that it must be somewhere in a file.

I can't change it in LyX itself because it is not editable.

Bernd


On Sep 5, 2011, at 12:08 AM, Richard Heck wrote:


On 09/04/2011 06:58 AM, Bernd Kappenberg wrote:

That's what I did - but the lines don't show up.


Here is what the LyX file says when opened in WordPad:

#LyX 2.0 created this file. For more info see http://www.lyx.org/
\lyxformat 413
\begin_document
\begin_header
\textclass scrartcl
\begin_preamble

 \usepackage[ table]{xcolor}
...


Here is what the LyX file says when opened with LyX (2.0):

%% LyX 2.0.0 created this file.  For more info, see  
http://www.lyx.org/.

%% Do not edit unless you really know what you are doing.
\documentclass[twoside, fontsize=14, headinclude=true,  
DIV=calc]{scrartcl}

\usepackage{fontspec}
\setmainfont[Mapping=tex-text,Numbers=OldStyle]{Copperplate Gothic  
Bold}

\setsansfont[Mapping=tex-text]{Comic Sans MS}
\usepackage{geometry}
\geometry{verbose,tmargin=2.7cm,bmargin=2cm,lmargin=2cm,rmargin=2cm,he 
adsep=0.021\textheight,footskip=0.7cm}

\usepackage{rotating}
\usepackage{tipa}
\usepackage{tipx}
\usepackage{textcomp}
\usepackage{graphicx}
\usepackage{setspace}
\usepackage{esint}

\makeatletter

%% LyX specific LaTeX commands.
\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern- 
.125emX\@}

\DeclareRobustCommand{\greektext}{%
  \fontencoding{LGR}\selectfont\def\encodingdefault{LGR}}
\DeclareRobustCommand{\textgreek}[1]{\leavevmode{\greektext #1}}
\DeclareFontEncoding{LGR}{}{}
\DeclareTextSymbol{\~}{LGR}{126}
\DeclareRobustCommand{\cyrtext}{%
  \fontencoding{T2A}\selectfont\def\encodingdefault{T2A}}
\DeclareRobustCommand{\textcyr}[1]{\leavevmode{\cyrtext #1}}
\AtBeginDocument{\DeclareFontEncoding{T2A}{}{}}

%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}
%% A simple dot to overcome graphicx limitations
\newcommand{\lyxdot}{.}


%% User specified LaTeX commands.

 \usepackage[ table]{xcolor}
...


So where are those additional settings hiding?


What settings are you looking for?

Richard





Re: How to edit when Lyx doesn't show the text?

2011-09-05 Thread Richard Heck
On 09/05/2011 07:04 AM, Guest_NP wrote:
 Everything that shows up in LyX (from  /userpackage(rotating) to
 User-specified LaTeX commands.).

 I imagine that it must be somewhere in a file.

All of that is added automatically by LyX, depending upon various
factors in DocumentSettings. Some of it you can suppress (e.g., whether
esint is loaded automatically). What exactly do you wish to do?

Richard

 I can't change it in LyX itself because it is not editable.

 Bernd


 On Sep 5, 2011, at 12:08 AM, Richard Heck wrote:

 On 09/04/2011 06:58 AM, Bernd Kappenberg wrote:
 That's what I did - but the lines don't show up.


 Here is what the LyX file says when opened in WordPad:

 #LyX 2.0 created this file. For more info see http://www.lyx.org/
 \lyxformat 413
 \begin_document
 \begin_header
 \textclass scrartcl
 \begin_preamble

  \usepackage[ table]{xcolor}
 ...


 Here is what the LyX file says when opened with LyX (2.0):

 %% LyX 2.0.0 created this file.  For more info, see
 http://www.lyx.org/.
 %% Do not edit unless you really know what you are doing.
 \documentclass[twoside, fontsize=14, headinclude=true,
 DIV=calc]{scrartcl}
 \usepackage{fontspec}
 \setmainfont[Mapping=tex-text,Numbers=OldStyle]{Copperplate Gothic
 Bold}
 \setsansfont[Mapping=tex-text]{Comic Sans MS}
 \usepackage{geometry}
 \geometry{verbose,tmargin=2.7cm,bmargin=2cm,lmargin=2cm,rmargin=2cm,headsep=0.021\textheight,footskip=0.7cm}

 \usepackage{rotating}
 \usepackage{tipa}
 \usepackage{tipx}
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{setspace}
 \usepackage{esint}

 \makeatletter

 %% LyX specific LaTeX commands.
 \providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
 \DeclareRobustCommand{\greektext}{%
   \fontencoding{LGR}\selectfont\def\encodingdefault{LGR}}
 \DeclareRobustCommand{\textgreek}[1]{\leavevmode{\greektext #1}}
 \DeclareFontEncoding{LGR}{}{}
 \DeclareTextSymbol{\~}{LGR}{126}
 \DeclareRobustCommand{\cyrtext}{%
   \fontencoding{T2A}\selectfont\def\encodingdefault{T2A}}
 \DeclareRobustCommand{\textcyr}[1]{\leavevmode{\cyrtext #1}}
 \AtBeginDocument{\DeclareFontEncoding{T2A}{}{}}

 %% Because html converters don't know tabularnewline
 \providecommand{\tabularnewline}{\\}
 %% A simple dot to overcome graphicx limitations
 \newcommand{\lyxdot}{.}


 %% User specified LaTeX commands.

  \usepackage[ table]{xcolor}
 ...


 So where are those additional settings hiding?

 What settings are you looking for?

 Richard




LyX 2.0.1 Released

2011-09-05 Thread Richard Heck

Public release of LyX version 2.0.1
===

We are pleased to announce the release of LyX 2.0.1. This is the first
maintenance release in the 2.0.x series.

LyX 2.0.1 is the result of on-going efforts to make our stable version
even more reliable and stable. We have fixed a number of bugs and made
a number of improvements. These are detailed below. We encourage all
LyX users to upgrade to this version.

LyX is a document processor that encourages an approach to writing based
on the structure of your documents and not simply their appearance. It is
released under a Free and Open Source Software license.

You can download LyX 2.0.1 from http://www.lyx.org/Download/.

If you think you found a bug in LyX 2.0.1, either e-mail the LyX
developers' mailing list (lyx-devel at lists.lyx.org), or open a bug
report at http://www.lyx.org/trac/wiki/BugTrackerHome.

If you have trouble using LyX or have a question, consult the
documentation that comes with LyX and the LyX wiki, which lives at
http://wiki.lyx.org/. If you can't find the answer there, e-mail the LyX
users' list (lyx-users at lists.lyx.org).

We hope you enjoy using LyX 2.0.1.

The LyX team.
http://www.lyx.org


What's new in LyX 2.0.1
===

The support for using external files in ERT has been improved by the
introduction of a prefix for the TEXINPUTS environment variable.
This prefix can be set in preferences and by default includes the
document directory (represented by a single '.'). The prefix can
be set to any list of paths separated by the default separator for
a given platform (':' on unix like systems and ';' on windows).
When a file should be included by LaTeX, the paths listed in TEXINPUTS
will be searched in turn for finding it. Note that any non-absolute
path listed in the TEXINPUTS prefix is considered to be relative to the
document directory, i.e., the directory where the LyX file lives.
Users are advised to always include '.' (the document dir) as one of
the path components, otherwise compilation may fail for some documents.
This is because the previous (undocumented) mechanism based on the use
of the \input@path macro has been dropped. The old mechanism did not
work in all cases and was kind of a hack. Old documents using that
undocumented hack for obtaining the path of the LyX file will have to
be revised. A clean way for obtaining the document path is using the
info inset through the info-insert buffer path LyX function.


** Updates:
***

* DOCUMENT INPUT/OUTPUT

- Allow for a maximum of 3 minutes for the completion of a spawned command
  except on Windows, where 30 minutes are allowed. This is because the
  Windows installer may trigger MiKTeX updates that suffer from network
  latencies.

- Improved XHTML output of various fractions.

- A prefix for the TEXINPUTS environment variable can be specified in the
  preferences. The directory of a LyX document is represented by a single
  dot '.' or by the prefix ./. Also, any non-absolute path will be
  prepended with the LyX document directory.

- Updated templates to current LyX format, so no conversion will be
  needed.

- Allow LaTeX import of \uline (bug 7640).

- Fix compilation error occurring when a LyX document resides in a directory
  whose name contains characters that are special to LaTeX (bug 6170).


* USER INTERFACE

- Updated Czech, French, German, Japanese, Interlingua, Italian, Polish,
  Portuguese, Serbian (Latin), Spanish, Swedish and Ukrainian User
  Interface Localization.

- Now it is not necessary to restart LyX after changing the default
  document directory and/or the PATH prefix in the preferences for them
  to take effect.

- Menu View-Source for documents with XHTML default output format now
displays
  only the current paragraph, except when complete source is requested
  (bug 7463).

- Size tab now enables and disables correctly depending on the capabilities
  configured for the current external template (selected via the combo).

- Sort entries in the More Formats and Options dialog (bug 7714).

- Enable Accept compound preference setting for Aspell backend only.
  Reconfigure the aspell backend when Accept compound preference is
  changed immediately.


* DOCUMENTATION AND LOCALIZATION

- UserGuide:
  - new section how to define custom header/footer lines
(bug 7196).
  - new section about customized lists
  - new section about comparison of LyX documents
  - new section about the document's colors settings
  - revised Appendix A and B

- EnbeddedObjects manual:
  - describe that LyX supports now the changing of the color of the
greyed-out box text
  - new chapter about objects surrounded by text

- Math manual: add a note about column limit for decorated matrices.

- Updated French documentation files.

- updated template file for the latest version of the ACM siggraph
  LaTeX-package.

- updated layout and template file for the latest version of the IJMPC
  LaTeX-package.

- updated layout and 

Re: LyX 2.0.1 Released

2011-09-05 Thread ehud.kap...@gmail.com

No Windows installer yet?

On 09/05/2011 12:03 PM, Richard Heck wrote:

Public release of LyX version 2.0.1
===

We are pleased to announce the release of LyX 2.0.1. This is the first
maintenance release in the 2.0.x series.

LyX 2.0.1 is the result of on-going efforts to make our stable version
even more reliable and stable. We have fixed a number of bugs and made
a number of improvements. These are detailed below. We encourage all
LyX users to upgrade to this version.

LyX is a document processor that encourages an approach to writing based
on the structure of your documents and not simply their appearance. It is
released under a Free and Open Source Software license.

You can download LyX 2.0.1 from http://www.lyx.org/Download/.

If you think you found a bug in LyX 2.0.1, either e-mail the LyX
developers' mailing list (lyx-develat  lists.lyx.org), or open a bug
report at http://www.lyx.org/trac/wiki/BugTrackerHome.

If you have trouble using LyX or have a question, consult the
documentation that comes with LyX and the LyX wiki, which lives at
http://wiki.lyx.org/. If you can't find the answer there, e-mail the LyX
users' list (lyx-users at lists.lyx.org).

We hope you enjoy using LyX 2.0.1.

The LyX team.
http://www.lyx.org


What's new in LyX 2.0.1
===

The support for using external files in ERT has been improved by the
introduction of a prefix for the TEXINPUTS environment variable.
This prefix can be set in preferences and by default includes the
document directory (represented by a single '.'). The prefix can
be set to any list of paths separated by the default separator for
a given platform (':' on unix like systems and ';' on windows).
When a file should be included by LaTeX, the paths listed in TEXINPUTS
will be searched in turn for finding it. Note that any non-absolute
path listed in the TEXINPUTS prefix is considered to be relative to the
document directory, i.e., the directory where the LyX file lives.
Users are advised to always include '.' (the document dir) as one of
the path components, otherwise compilation may fail for some documents.
This is because the previous (undocumented) mechanism based on the use
of the \input@path macro has been dropped. The old mechanism did not
work in all cases and was kind of a hack. Old documents using that
undocumented hack for obtaining the path of the LyX file will have to
be revised. A clean way for obtaining the document path is using the
info inset through the info-insert buffer path LyX function.


** Updates:
***

* DOCUMENT INPUT/OUTPUT

- Allow for a maximum of 3 minutes for the completion of a spawned command
   except on Windows, where 30 minutes are allowed. This is because the
   Windows installer may trigger MiKTeX updates that suffer from network
   latencies.

- Improved XHTML output of various fractions.

- A prefix for the TEXINPUTS environment variable can be specified in the
   preferences. The directory of a LyX document is represented by a single
   dot '.' or by the prefix ./. Also, any non-absolute path will be
   prepended with the LyX document directory.

- Updated templates to current LyX format, so no conversion will be
   needed.

- Allow LaTeX import of \uline (bug 7640).

- Fix compilation error occurring when a LyX document resides in a directory
   whose name contains characters that are special to LaTeX (bug 6170).


* USER INTERFACE

- Updated Czech, French, German, Japanese, Interlingua, Italian, Polish,
   Portuguese, Serbian (Latin), Spanish, Swedish and Ukrainian User
   Interface Localization.

- Now it is not necessary to restart LyX after changing the default
   document directory and/or the PATH prefix in the preferences for them
   to take effect.

- Menu View-Source for documents with XHTML default output format now
displays
   only the current paragraph, except when complete source is requested
   (bug 7463).

- Size tab now enables and disables correctly depending on the capabilities
   configured for the current external template (selected via the combo).

- Sort entries in the More Formats and Options dialog (bug 7714).

- Enable Accept compound preference setting for Aspell backend only.
   Reconfigure the aspell backend when Accept compound preference is
   changed immediately.


* DOCUMENTATION AND LOCALIZATION

- UserGuide:
   - new section how to define custom header/footer lines
 (bug 7196).
   - new section about customized lists
   - new section about comparison of LyX documents
   - new section about the document's colors settings
   - revised Appendix A and B

- EnbeddedObjects manual:
   - describe that LyX supports now the changing of the color of the
 greyed-out box text
   - new chapter about objects surrounded by text

- Math manual: add a note about column limit for decorated matrices.

- Updated French documentation files.

- updated template file for the latest version of the ACM siggraph
   LaTeX-package.

- updated 

Re: CAS in LyX 2.0 Windows doesn't work

2011-09-05 Thread Liviu Andronic
On Mon, Sep 5, 2011 at 10:25 AM, Anders Høg 08...@iha.dk wrote:
 Is there any workaround for using octave/maxima etc. in LyX 2.0 on windows?

I haven't followed this particular development, but it may be fixed in
2.0.1. From the log:
- On Windows, fix call to Computer Algebra System programs (bug 7715).

Liviu


Re: How to edit when Lyx doesn't show the text?

2011-09-05 Thread Guest_NP
The biggest concern is everything that follows the LyX  specific LaTeX  
commands (especially /greektext and /cyrtext).


Bernd


On Sep 5, 2011, at 4:49 PM, Richard Heck wrote:


On 09/05/2011 07:04 AM, Guest_NP wrote:

Everything that shows up in LyX (from  /userpackage(rotating) to
User-specified LaTeX commands.).

I imagine that it must be somewhere in a file.


All of that is added automatically by LyX, depending upon various
factors in DocumentSettings. Some of it you can suppress (e.g.,  
whether

esint is loaded automatically). What exactly do you wish to do?

Richard


I can't change it in LyX itself because it is not editable.

Bernd


On Sep 5, 2011, at 12:08 AM, Richard Heck wrote:


On 09/04/2011 06:58 AM, Bernd Kappenberg wrote:

That's what I did - but the lines don't show up.


Here is what the LyX file says when opened in WordPad:

#LyX 2.0 created this file. For more info see http://www.lyx.org/
\lyxformat 413
\begin_document
\begin_header
\textclass scrartcl
\begin_preamble

 \usepackage[ table]{xcolor}
...


Here is what the LyX file says when opened with LyX (2.0):

%% LyX 2.0.0 created this file.  For more info, see
http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[twoside, fontsize=14, headinclude=true,
DIV=calc]{scrartcl}
\usepackage{fontspec}
\setmainfont[Mapping=tex-text,Numbers=OldStyle]{Copperplate Gothic
Bold}
\setsansfont[Mapping=tex-text]{Comic Sans MS}
\usepackage{geometry}
\geometry{verbose,tmargin=2.7cm,bmargin=2cm,lmargin=2cm,rmargin=2cm, 
headsep=0.021\textheight,footskip=0.7cm}


\usepackage{rotating}
\usepackage{tipa}
\usepackage{tipx}
\usepackage{textcomp}
\usepackage{graphicx}
\usepackage{setspace}
\usepackage{esint}

\makeatletter

%% LyX specific LaTeX commands.
\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern- 
.125emX\@}

\DeclareRobustCommand{\greektext}{%
  \fontencoding{LGR}\selectfont\def\encodingdefault{LGR}}
\DeclareRobustCommand{\textgreek}[1]{\leavevmode{\greektext #1}}
\DeclareFontEncoding{LGR}{}{}
\DeclareTextSymbol{\~}{LGR}{126}
\DeclareRobustCommand{\cyrtext}{%
  \fontencoding{T2A}\selectfont\def\encodingdefault{T2A}}
\DeclareRobustCommand{\textcyr}[1]{\leavevmode{\cyrtext #1}}
\AtBeginDocument{\DeclareFontEncoding{T2A}{}{}}

%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}
%% A simple dot to overcome graphicx limitations
\newcommand{\lyxdot}{.}


%% User specified LaTeX commands.

 \usepackage[ table]{xcolor}
...


So where are those additional settings hiding?


What settings are you looking for?

Richard







Problem getting started -- cant find ecm fonts

2011-09-05 Thread Michael Rothschild
When I try to view a document with the dvi viewer as suggested at the beginning 
of the tutorial I get the message:

[Description: C:\Users\mrothsch\AppData\Local\Temp\SNAGHTML2d01d007.PNG]

I have no idea what this means or how to install the ecm fonts or set the 
correct path.  I am - obviously - a rank beginner.

Any help would be appreciated.

(I think this is not crucial as I can export files using pdflatx but it is 
difficult not to be able to do the first thing in the tutorial for beginners. )

I would appreciate any help.

Thank you,

Michael Rothschild
Visiting Professor of Economics UCLA

inline: image001.png

Re: Problem getting started -- cant find ecm fonts

2011-09-05 Thread Liviu Andronic
Hello


On Mon, Sep 5, 2011 at 8:38 PM, Michael Rothschild
mroth...@princeton.edu wrote:
 I have no idea what this means or how to install the ecm fonts or set the 
 correct path.  I am – obviously – a rank beginner.

Something may be wrong with your LaTeX installation. Please try
compiling with something other than the DVI output; I would suggest
'pdflatex'. Second, try to change Document  Settings  Fonts to Latin
Modern. Maybe this would help.

Regards
Liviu


Re: LyX 2.0.1 Released

2011-09-05 Thread Richard Heck
On 09/05/2011 12:56 PM, ehud.kap...@gmail.com wrote:
 No Windows installer yet?

Not so far as I know.

Richard

 On 09/05/2011 12:03 PM, Richard Heck wrote:
 Public release of LyX version 2.0.1
 ===

 We are pleased to announce the release of LyX 2.0.1. This is the first
 maintenance release in the 2.0.x series.

 LyX 2.0.1 is the result of on-going efforts to make our stable version
 even more reliable and stable. We have fixed a number of bugs and made
 a number of improvements. These are detailed below. We encourage all
 LyX users to upgrade to this version.

 LyX is a document processor that encourages an approach to writing based
 on the structure of your documents and not simply their appearance. It is
 released under a Free and Open Source Software license.

 You can download LyX 2.0.1 from http://www.lyx.org/Download/.

 If you think you found a bug in LyX 2.0.1, either e-mail the LyX
 developers' mailing list (lyx-devel at lists.lyx.org), or open a bug
 report at http://www.lyx.org/trac/wiki/BugTrackerHome.

 If you have trouble using LyX or have a question, consult the
 documentation that comes with LyX and the LyX wiki, which lives at
 http://wiki.lyx.org/. If you can't find the answer there, e-mail the LyX
 users' list (lyx-users at lists.lyx.org).

 We hope you enjoy using LyX 2.0.1.

 The LyX team.
 http://www.lyx.org


 What's new in LyX 2.0.1
 ===

 The support for using external files in ERT has been improved by the
 introduction of a prefix for the TEXINPUTS environment variable.
 This prefix can be set in preferences and by default includes the
 document directory (represented by a single '.'). The prefix can
 be set to any list of paths separated by the default separator for
 a given platform (':' on unix like systems and ';' on windows).
 When a file should be included by LaTeX, the paths listed in TEXINPUTS
 will be searched in turn for finding it. Note that any non-absolute
 path listed in the TEXINPUTS prefix is considered to be relative to the
 document directory, i.e., the directory where the LyX file lives.
 Users are advised to always include '.' (the document dir) as one of
 the path components, otherwise compilation may fail for some documents.
 This is because the previous (undocumented) mechanism based on the use
 of the \input@path macro has been dropped. The old mechanism did not
 work in all cases and was kind of a hack. Old documents using that
 undocumented hack for obtaining the path of the LyX file will have to
 be revised. A clean way for obtaining the document path is using the
 info inset through the info-insert buffer path LyX function.


 ** Updates:
 ***

 * DOCUMENT INPUT/OUTPUT

 - Allow for a maximum of 3 minutes for the completion of a spawned command
   except on Windows, where 30 minutes are allowed. This is because the
   Windows installer may trigger MiKTeX updates that suffer from network
   latencies.

 - Improved XHTML output of various fractions.

 - A prefix for the TEXINPUTS environment variable can be specified in the
   preferences. The directory of a LyX document is represented by a single
   dot '.' or by the prefix ./. Also, any non-absolute path will be
   prepended with the LyX document directory.

 - Updated templates to current LyX format, so no conversion will be
   needed.

 - Allow LaTeX import of \uline (bug 7640).

 - Fix compilation error occurring when a LyX document resides in a directory
   whose name contains characters that are special to LaTeX (bug 6170).


 * USER INTERFACE

 - Updated Czech, French, German, Japanese, Interlingua, Italian, Polish,
   Portuguese, Serbian (Latin), Spanish, Swedish and Ukrainian User
   Interface Localization.

 - Now it is not necessary to restart LyX after changing the default
   document directory and/or the PATH prefix in the preferences for them
   to take effect.

 - Menu View-Source for documents with XHTML default output format now
 displays
   only the current paragraph, except when complete source is requested
   (bug 7463).

 - Size tab now enables and disables correctly depending on the capabilities
   configured for the current external template (selected via the combo).

 - Sort entries in the More Formats and Options dialog (bug 7714).

 - Enable Accept compound preference setting for Aspell backend only.
   Reconfigure the aspell backend when Accept compound preference is
   changed immediately.


 * DOCUMENTATION AND LOCALIZATION

 - UserGuide:
   - new section how to define custom header/footer lines
 (bug 7196).
   - new section about customized lists
   - new section about comparison of LyX documents
   - new section about the document's colors settings
   - revised Appendix A and B

 - EnbeddedObjects manual:
   - describe that LyX supports now the changing of the color of the
 greyed-out box text
   - new chapter about objects surrounded by text

 - Math manual: add a note about column limit for decorated 

textgreek and textcyr

2011-09-05 Thread Richard Heck
On 09/05/2011 01:32 PM, Guest_NP wrote:
 The biggest concern is everything that follows the LyX  specific
 LaTeX commands (especially /greektext and /cyrtext).

What is the problem with these? LyX adds them for a reason, though the
people who added them would have to explain what the reason is.

It may be possible to suppress them by adding:
Provides textgreek 1
Provides textcry 1
to your layout, e.g., in Local Layout under DocumentSettings. (Do not
forget the format tag, though.) However, you will need to declare some
alternate declarations, I believe, since LyX uses the macros they declare.

Richard

 Bernd


 On Sep 5, 2011, at 4:49 PM, Richard Heck wrote:

 On 09/05/2011 07:04 AM, Guest_NP wrote:
 Everything that shows up in LyX (from  /userpackage(rotating) to
 User-specified LaTeX commands.).

 I imagine that it must be somewhere in a file.

 All of that is added automatically by LyX, depending upon various
 factors in DocumentSettings. Some of it you can suppress (e.g., whether
 esint is loaded automatically). What exactly do you wish to do?

 Richard

 I can't change it in LyX itself because it is not editable.

 Bernd


 On Sep 5, 2011, at 12:08 AM, Richard Heck wrote:

 On 09/04/2011 06:58 AM, Bernd Kappenberg wrote:
 That's what I did - but the lines don't show up.


 Here is what the LyX file says when opened in WordPad:

 #LyX 2.0 created this file. For more info see http://www.lyx.org/
 \lyxformat 413
 \begin_document
 \begin_header
 \textclass scrartcl
 \begin_preamble

  \usepackage[ table]{xcolor}
 ...


 Here is what the LyX file says when opened with LyX (2.0):

 %% LyX 2.0.0 created this file.  For more info, see
 http://www.lyx.org/.
 %% Do not edit unless you really know what you are doing.
 \documentclass[twoside, fontsize=14, headinclude=true,
 DIV=calc]{scrartcl}
 \usepackage{fontspec}
 \setmainfont[Mapping=tex-text,Numbers=OldStyle]{Copperplate Gothic
 Bold}
 \setsansfont[Mapping=tex-text]{Comic Sans MS}
 \usepackage{geometry}
 \geometry{verbose,tmargin=2.7cm,bmargin=2cm,lmargin=2cm,rmargin=2cm,headsep=0.021\textheight,footskip=0.7cm}


 \usepackage{rotating}
 \usepackage{tipa}
 \usepackage{tipx}
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{setspace}
 \usepackage{esint}

 \makeatletter

 %% LyX specific LaTeX commands.
 \providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}

 \DeclareRobustCommand{\greektext}{%
   \fontencoding{LGR}\selectfont\def\encodingdefault{LGR}}
 \DeclareRobustCommand{\textgreek}[1]{\leavevmode{\greektext #1}}
 \DeclareFontEncoding{LGR}{}{}
 \DeclareTextSymbol{\~}{LGR}{126}
 \DeclareRobustCommand{\cyrtext}{%
   \fontencoding{T2A}\selectfont\def\encodingdefault{T2A}}
 \DeclareRobustCommand{\textcyr}[1]{\leavevmode{\cyrtext #1}}
 \AtBeginDocument{\DeclareFontEncoding{T2A}{}{}}

 %% Because html converters don't know tabularnewline
 \providecommand{\tabularnewline}{\\}
 %% A simple dot to overcome graphicx limitations
 \newcommand{\lyxdot}{.}


 %% User specified LaTeX commands.

  \usepackage[ table]{xcolor}
 ...


 So where are those additional settings hiding?

 What settings are you looking for?

 Richard





Re: Problem getting started -- cant find ecm fonts

2011-09-05 Thread Richard Heck
On 09/05/2011 03:59 PM, Liviu Andronic wrote:
 Hello


 On Mon, Sep 5, 2011 at 8:38 PM, Michael Rothschild
 mroth...@princeton.edu wrote:
 I have no idea what this means or how to install the ecm fonts or set the 
 correct path.  I am – obviously – a rank beginner.

 Something may be wrong with your LaTeX installation. Please try
 compiling with something other than the DVI output; I would suggest
 'pdflatex'. Second, try to change Document  Settings  Fonts to Latin
 Modern. Maybe this would help.

There were lots of such errors in the TeXLive 2011 packages for Fedora
at one point. Something to do with the font maps not being updated
properly. I don't know if there's a connection, though.

Richard



Re: Problem getting started -- cant find ecm fonts

2011-09-05 Thread Paul Rubin
This is a problem with either the DVI viewer or your LaTeX implementation; it is
external to LyX.  Judging by the error message, it appears that (a) you are on
some flavor of Windows (happens to even the best of us at times) and (b) you are
using TrueTeX rather than the more common (on Windows) MiKTeX.  It's possible
there are some TrueTeX users on the list, but you're best bet is probably to
look for whatever help forums TrueTeX might offer.

Good luck,
Paul



Re: LyX 2.0.1 Released

2011-09-05 Thread Gilles Mioni
Thanks to the team lyx for the new release, it's my birthday.

Richard Heck a écrit :
 Public release of LyX version 2.0.1
 ===

 We are pleased to announce the release of LyX 2.0.1. This is the first
 maintenance release in the 2.0.x series.

 LyX 2.0.1 is the result of on-going efforts to make our stable version
 even more reliable and stable. We have fixed a number of bugs and made
 a number of improvements. These are detailed below. We encourage all
 LyX users to upgrade to this version.

 LyX is a document processor that encourages an approach to writing based
 on the structure of your documents and not simply their appearance. It is
 released under a Free and Open Source Software license.

 You can download LyX 2.0.1 from http://www.lyx.org/Download/.

 If you think you found a bug in LyX 2.0.1, either e-mail the LyX
 developers' mailing list (lyx-devel at lists.lyx.org), or open a bug
 report at http://www.lyx.org/trac/wiki/BugTrackerHome.

 If you have trouble using LyX or have a question, consult the
 documentation that comes with LyX and the LyX wiki, which lives at
 http://wiki.lyx.org/. If you can't find the answer there, e-mail the LyX
 users' list (lyx-users at lists.lyx.org).

 We hope you enjoy using LyX 2.0.1.

 The LyX team.
 http://www.lyx.org


 What's new in LyX 2.0.1
 ===

 The support for using external files in ERT has been improved by the
 introduction of a prefix for the TEXINPUTS environment variable.
 This prefix can be set in preferences and by default includes the
 document directory (represented by a single '.'). The prefix can
 be set to any list of paths separated by the default separator for
 a given platform (':' on unix like systems and ';' on windows).
 When a file should be included by LaTeX, the paths listed in TEXINPUTS
 will be searched in turn for finding it. Note that any non-absolute
 path listed in the TEXINPUTS prefix is considered to be relative to the
 document directory, i.e., the directory where the LyX file lives.
 Users are advised to always include '.' (the document dir) as one of
 the path components, otherwise compilation may fail for some documents.
 This is because the previous (undocumented) mechanism based on the use
 of the \input@path macro has been dropped. The old mechanism did not
 work in all cases and was kind of a hack. Old documents using that
 undocumented hack for obtaining the path of the LyX file will have to
 be revised. A clean way for obtaining the document path is using the
 info inset through the info-insert buffer path LyX function.


 ** Updates:
 ***

 * DOCUMENT INPUT/OUTPUT

 - Allow for a maximum of 3 minutes for the completion of a spawned command
   except on Windows, where 30 minutes are allowed. This is because the
   Windows installer may trigger MiKTeX updates that suffer from network
   latencies.

 - Improved XHTML output of various fractions.

 - A prefix for the TEXINPUTS environment variable can be specified in the
   preferences. The directory of a LyX document is represented by a single
   dot '.' or by the prefix ./. Also, any non-absolute path will be
   prepended with the LyX document directory.

 - Updated templates to current LyX format, so no conversion will be
   needed.

 - Allow LaTeX import of \uline (bug 7640).

 - Fix compilation error occurring when a LyX document resides in a directory
   whose name contains characters that are special to LaTeX (bug 6170).


 * USER INTERFACE

 - Updated Czech, French, German, Japanese, Interlingua, Italian, Polish,
   Portuguese, Serbian (Latin), Spanish, Swedish and Ukrainian User
   Interface Localization.

 - Now it is not necessary to restart LyX after changing the default
   document directory and/or the PATH prefix in the preferences for them
   to take effect.

 - Menu View-Source for documents with XHTML default output format now
 displays
   only the current paragraph, except when complete source is requested
   (bug 7463).

 - Size tab now enables and disables correctly depending on the capabilities
   configured for the current external template (selected via the combo).

 - Sort entries in the More Formats and Options dialog (bug 7714).

 - Enable Accept compound preference setting for Aspell backend only.
   Reconfigure the aspell backend when Accept compound preference is
   changed immediately.


 * DOCUMENTATION AND LOCALIZATION

 - UserGuide:
   - new section how to define custom header/footer lines
 (bug 7196).
   - new section about customized lists
   - new section about comparison of LyX documents
   - new section about the document's colors settings
   - revised Appendix A and B

 - EnbeddedObjects manual:
   - describe that LyX supports now the changing of the color of the
 greyed-out box text
   - new chapter about objects surrounded by text

 - Math manual: add a note about column limit for decorated matrices.

 - Updated French documentation files.

 - updated template 

Re: indicate page number of floats

2011-09-05 Thread Julien Rioux

On 06/09/2011 12:09 AM, Csikos Bela wrote:

Hello:

Is it possible to indicate page number of floating figures automatically?
For example:

some text in document (fig. 5, page z)

Page number z would be inserted by latex/lyx at compilation.

Thanks,

bcsikos





Absolutely! Please see Section 6.1 of the User's Guide that you find in 
the Help menu.


--
Julien



Re: How to edit when Lyx doesn't show the text?

2011-09-05 Thread Dr Eberhard Lisse
On 2011-09-04 13:00 , H. Hodges wrote:
 Guest_NP bernd.kappenberg at gmx.de writes:
 

 Dear Sirs,

 
 Bernd,
 
 Please do not address the entire list as Sirs. It is disrespectful to assume
 that all list members are male.

Or knighted :-))-O

el



Re: How to edit when Lyx doesn't show the text?

2011-09-05 Thread Julien Rioux

On 04/09/2011 12:58 PM, Bernd Kappenberg wrote:

That's what I did - but the lines don't show up.


Here is what the LyX file says when opened in WordPad:

#LyX 2.0 created this file. For more info see http://www.lyx.org/
\lyxformat 413
\begin_document
\begin_header
\textclass scrartcl
\begin_preamble

  \usepackage[ table]{xcolor}



Here is what the LyX file says when opened with LyX (2.0):

%% LyX 2.0.0 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[twoside, fontsize=14, headinclude=true, DIV=calc]{scrartcl}
\usepackage{fontspec}
\setmainfont[Mapping=tex-text,Numbers=OldStyle]{Copperplate Gothic Bold}
\setsansfont[Mapping=tex-text]{Comic Sans MS}
\usepackage{geometry}
\geometry{verbose,tmargin=2.7cm,bmargin=2cm,lmargin=2cm,rmargin=2cm,headsep=0.021\textheight,footskip=0.7cm}
\usepackage{rotating}
\usepackage{tipa}
\usepackage{tipx}
\usepackage{textcomp}
\usepackage{graphicx}
\usepackage{setspace}
\usepackage{esint}

\makeatletter

%% LyX specific LaTeX commands.
\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
\DeclareRobustCommand{\greektext}{%
   \fontencoding{LGR}\selectfont\def\encodingdefault{LGR}}
\DeclareRobustCommand{\textgreek}[1]{\leavevmode{\greektext #1}}
\DeclareFontEncoding{LGR}{}{}
\DeclareTextSymbol{\~}{LGR}{126}
\DeclareRobustCommand{\cyrtext}{%
   \fontencoding{T2A}\selectfont\def\encodingdefault{T2A}}
\DeclareRobustCommand{\textcyr}[1]{\leavevmode{\cyrtext #1}}
\AtBeginDocument{\DeclareFontEncoding{T2A}{}{}}

%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}
%% A simple dot to overcome graphicx limitations
\newcommand{\lyxdot}{.}


%% User specified LaTeX commands.

  \usepackage[ table]{xcolor}



So where are those additional settings hiding?

Bernd


 Original-Nachricht 

Datum: Sat, 03 Sep 2011 10:14:38 -0400
Von: Richard Heckrgh...@comcast.net
An: Guest_NPbernd.kappenb...@gmx.de
CC: lyx-users@lists.lyx.org
Betreff: Re: How to edit when Lyx doesn\'t show the text?



On 09/03/2011 09:46 AM, Guest_NP wrote:

Dear Sirs,

I need to manually correct some source text (XeTeX, textgreek shows up
in the wrong encoding).
However, the source code doesn't show the lines in question.
How else can I do it?




Try opening the LyX file itself in a text editor, e.g., Notepad (on
Windows) or Kate (on Linux). Then you can find the problematic text and
fix it. The syntax of the file should be intelligible.

Richard





I think there is confusion here. LyX is not an editor for LaTeX files. 
LyX uses its own file format. This is what you see when you open the 
.lyx file in wordpad. LyX also uses LaTeX, but only for exporting. The 
menu View  Source allows you to see what LyX would export as LaTeX.


It sounds as if you want to edit the LaTeX exported by LyX. You could do 
so using the menu File  Export  LaTeX (plain) to generate a .tex file, 
and edit that externally.


Note, however, that your modifications might not be understood when you 
import the LaTeX back into LyX. In case that your intention is to export 
to LaTeX, modifies the file to your liking, and then export back into 
LyX, I would strongly advice not to do this. Instead, ask for help on 
how to achieve what you actually want to achieve in LyX. In most cases 
the LaTeX output generated by LyX can be tweaked by understanding LyX 
better, or with the use of modules to achieve what you want. This is the 
simpler way.


So, what exactly is wrong with the LaTeX output generated by LyX?

Regards,
Julien



CAS in LyX 2.0 Windows doesn't work

2011-09-05 Thread Anders Høg
Hi

 

Is there any workaround for using octave/maxima etc. in LyX 2.0 on windows?

 

I read somewhere on the mail-list, that this release is not able to execute
batch-files on windows anymore.

Why would they remove this feature? 

It works great in 1.6 (and for other OS in ver. 2.0 for that matter).

 

Regards

Anders



Re: How to edit when Lyx doesn't show the text?

2011-09-05 Thread Guest_NP
Everything that shows up in LyX (from  /userpackage(rotating) to  
User-specified LaTeX commands.).


I imagine that it must be somewhere in a file.

I can't change it in LyX itself because it is not editable.

Bernd


On Sep 5, 2011, at 12:08 AM, Richard Heck wrote:


On 09/04/2011 06:58 AM, Bernd Kappenberg wrote:

That's what I did - but the lines don't show up.


Here is what the LyX file says when opened in WordPad:

#LyX 2.0 created this file. For more info see http://www.lyx.org/
\lyxformat 413
\begin_document
\begin_header
\textclass scrartcl
\begin_preamble

 \usepackage[ table]{xcolor}
...


Here is what the LyX file says when opened with LyX (2.0):

%% LyX 2.0.0 created this file.  For more info, see  
http://www.lyx.org/.

%% Do not edit unless you really know what you are doing.
\documentclass[twoside, fontsize=14, headinclude=true,  
DIV=calc]{scrartcl}

\usepackage{fontspec}
\setmainfont[Mapping=tex-text,Numbers=OldStyle]{Copperplate Gothic  
Bold}

\setsansfont[Mapping=tex-text]{Comic Sans MS}
\usepackage{geometry}
\geometry{verbose,tmargin=2.7cm,bmargin=2cm,lmargin=2cm,rmargin=2cm,he 
adsep=0.021\textheight,footskip=0.7cm}

\usepackage{rotating}
\usepackage{tipa}
\usepackage{tipx}
\usepackage{textcomp}
\usepackage{graphicx}
\usepackage{setspace}
\usepackage{esint}

\makeatletter

%% LyX specific LaTeX commands.
\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern- 
.125emX\@}

\DeclareRobustCommand{\greektext}{%
  \fontencoding{LGR}\selectfont\def\encodingdefault{LGR}}
\DeclareRobustCommand{\textgreek}[1]{\leavevmode{\greektext #1}}
\DeclareFontEncoding{LGR}{}{}
\DeclareTextSymbol{\~}{LGR}{126}
\DeclareRobustCommand{\cyrtext}{%
  \fontencoding{T2A}\selectfont\def\encodingdefault{T2A}}
\DeclareRobustCommand{\textcyr}[1]{\leavevmode{\cyrtext #1}}
\AtBeginDocument{\DeclareFontEncoding{T2A}{}{}}

%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}
%% A simple dot to overcome graphicx limitations
\newcommand{\lyxdot}{.}


%% User specified LaTeX commands.

 \usepackage[ table]{xcolor}
...


So where are those additional settings hiding?


What settings are you looking for?

Richard





Re: How to edit when Lyx doesn't show the text?

2011-09-05 Thread Richard Heck
On 09/05/2011 07:04 AM, Guest_NP wrote:
 Everything that shows up in LyX (from  /userpackage(rotating) to
 User-specified LaTeX commands.).

 I imagine that it must be somewhere in a file.

All of that is added automatically by LyX, depending upon various
factors in DocumentSettings. Some of it you can suppress (e.g., whether
esint is loaded automatically). What exactly do you wish to do?

Richard

 I can't change it in LyX itself because it is not editable.

 Bernd


 On Sep 5, 2011, at 12:08 AM, Richard Heck wrote:

 On 09/04/2011 06:58 AM, Bernd Kappenberg wrote:
 That's what I did - but the lines don't show up.


 Here is what the LyX file says when opened in WordPad:

 #LyX 2.0 created this file. For more info see http://www.lyx.org/
 \lyxformat 413
 \begin_document
 \begin_header
 \textclass scrartcl
 \begin_preamble

  \usepackage[ table]{xcolor}
 ...


 Here is what the LyX file says when opened with LyX (2.0):

 %% LyX 2.0.0 created this file.  For more info, see
 http://www.lyx.org/.
 %% Do not edit unless you really know what you are doing.
 \documentclass[twoside, fontsize=14, headinclude=true,
 DIV=calc]{scrartcl}
 \usepackage{fontspec}
 \setmainfont[Mapping=tex-text,Numbers=OldStyle]{Copperplate Gothic
 Bold}
 \setsansfont[Mapping=tex-text]{Comic Sans MS}
 \usepackage{geometry}
 \geometry{verbose,tmargin=2.7cm,bmargin=2cm,lmargin=2cm,rmargin=2cm,headsep=0.021\textheight,footskip=0.7cm}

 \usepackage{rotating}
 \usepackage{tipa}
 \usepackage{tipx}
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{setspace}
 \usepackage{esint}

 \makeatletter

 %% LyX specific LaTeX commands.
 \providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
 \DeclareRobustCommand{\greektext}{%
   \fontencoding{LGR}\selectfont\def\encodingdefault{LGR}}
 \DeclareRobustCommand{\textgreek}[1]{\leavevmode{\greektext #1}}
 \DeclareFontEncoding{LGR}{}{}
 \DeclareTextSymbol{\~}{LGR}{126}
 \DeclareRobustCommand{\cyrtext}{%
   \fontencoding{T2A}\selectfont\def\encodingdefault{T2A}}
 \DeclareRobustCommand{\textcyr}[1]{\leavevmode{\cyrtext #1}}
 \AtBeginDocument{\DeclareFontEncoding{T2A}{}{}}

 %% Because html converters don't know tabularnewline
 \providecommand{\tabularnewline}{\\}
 %% A simple dot to overcome graphicx limitations
 \newcommand{\lyxdot}{.}


 %% User specified LaTeX commands.

  \usepackage[ table]{xcolor}
 ...


 So where are those additional settings hiding?

 What settings are you looking for?

 Richard




LyX 2.0.1 Released

2011-09-05 Thread Richard Heck

Public release of LyX version 2.0.1
===

We are pleased to announce the release of LyX 2.0.1. This is the first
maintenance release in the 2.0.x series.

LyX 2.0.1 is the result of on-going efforts to make our stable version
even more reliable and stable. We have fixed a number of bugs and made
a number of improvements. These are detailed below. We encourage all
LyX users to upgrade to this version.

LyX is a document processor that encourages an approach to writing based
on the structure of your documents and not simply their appearance. It is
released under a Free and Open Source Software license.

You can download LyX 2.0.1 from http://www.lyx.org/Download/.

If you think you found a bug in LyX 2.0.1, either e-mail the LyX
developers' mailing list (lyx-devel at lists.lyx.org), or open a bug
report at http://www.lyx.org/trac/wiki/BugTrackerHome.

If you have trouble using LyX or have a question, consult the
documentation that comes with LyX and the LyX wiki, which lives at
http://wiki.lyx.org/. If you can't find the answer there, e-mail the LyX
users' list (lyx-users at lists.lyx.org).

We hope you enjoy using LyX 2.0.1.

The LyX team.
http://www.lyx.org


What's new in LyX 2.0.1
===

The support for using external files in ERT has been improved by the
introduction of a prefix for the TEXINPUTS environment variable.
This prefix can be set in preferences and by default includes the
document directory (represented by a single '.'). The prefix can
be set to any list of paths separated by the default separator for
a given platform (':' on unix like systems and ';' on windows).
When a file should be included by LaTeX, the paths listed in TEXINPUTS
will be searched in turn for finding it. Note that any non-absolute
path listed in the TEXINPUTS prefix is considered to be relative to the
document directory, i.e., the directory where the LyX file lives.
Users are advised to always include '.' (the document dir) as one of
the path components, otherwise compilation may fail for some documents.
This is because the previous (undocumented) mechanism based on the use
of the \input@path macro has been dropped. The old mechanism did not
work in all cases and was kind of a hack. Old documents using that
undocumented hack for obtaining the path of the LyX file will have to
be revised. A clean way for obtaining the document path is using the
info inset through the info-insert buffer path LyX function.


** Updates:
***

* DOCUMENT INPUT/OUTPUT

- Allow for a maximum of 3 minutes for the completion of a spawned command
  except on Windows, where 30 minutes are allowed. This is because the
  Windows installer may trigger MiKTeX updates that suffer from network
  latencies.

- Improved XHTML output of various fractions.

- A prefix for the TEXINPUTS environment variable can be specified in the
  preferences. The directory of a LyX document is represented by a single
  dot '.' or by the prefix ./. Also, any non-absolute path will be
  prepended with the LyX document directory.

- Updated templates to current LyX format, so no conversion will be
  needed.

- Allow LaTeX import of \uline (bug 7640).

- Fix compilation error occurring when a LyX document resides in a directory
  whose name contains characters that are special to LaTeX (bug 6170).


* USER INTERFACE

- Updated Czech, French, German, Japanese, Interlingua, Italian, Polish,
  Portuguese, Serbian (Latin), Spanish, Swedish and Ukrainian User
  Interface Localization.

- Now it is not necessary to restart LyX after changing the default
  document directory and/or the PATH prefix in the preferences for them
  to take effect.

- Menu View-Source for documents with XHTML default output format now
displays
  only the current paragraph, except when complete source is requested
  (bug 7463).

- Size tab now enables and disables correctly depending on the capabilities
  configured for the current external template (selected via the combo).

- Sort entries in the More Formats and Options dialog (bug 7714).

- Enable Accept compound preference setting for Aspell backend only.
  Reconfigure the aspell backend when Accept compound preference is
  changed immediately.


* DOCUMENTATION AND LOCALIZATION

- UserGuide:
  - new section how to define custom header/footer lines
(bug 7196).
  - new section about customized lists
  - new section about comparison of LyX documents
  - new section about the document's colors settings
  - revised Appendix A and B

- EnbeddedObjects manual:
  - describe that LyX supports now the changing of the color of the
greyed-out box text
  - new chapter about objects surrounded by text

- Math manual: add a note about column limit for decorated matrices.

- Updated French documentation files.

- updated template file for the latest version of the ACM siggraph
  LaTeX-package.

- updated layout and template file for the latest version of the IJMPC
  LaTeX-package.

- updated layout and 

Re: LyX 2.0.1 Released

2011-09-05 Thread ehud.kap...@gmail.com

No Windows installer yet?

On 09/05/2011 12:03 PM, Richard Heck wrote:

Public release of LyX version 2.0.1
===

We are pleased to announce the release of LyX 2.0.1. This is the first
maintenance release in the 2.0.x series.

LyX 2.0.1 is the result of on-going efforts to make our stable version
even more reliable and stable. We have fixed a number of bugs and made
a number of improvements. These are detailed below. We encourage all
LyX users to upgrade to this version.

LyX is a document processor that encourages an approach to writing based
on the structure of your documents and not simply their appearance. It is
released under a Free and Open Source Software license.

You can download LyX 2.0.1 from http://www.lyx.org/Download/.

If you think you found a bug in LyX 2.0.1, either e-mail the LyX
developers' mailing list (lyx-develat  lists.lyx.org), or open a bug
report at http://www.lyx.org/trac/wiki/BugTrackerHome.

If you have trouble using LyX or have a question, consult the
documentation that comes with LyX and the LyX wiki, which lives at
http://wiki.lyx.org/. If you can't find the answer there, e-mail the LyX
users' list (lyx-users at lists.lyx.org).

We hope you enjoy using LyX 2.0.1.

The LyX team.
http://www.lyx.org


What's new in LyX 2.0.1
===

The support for using external files in ERT has been improved by the
introduction of a prefix for the TEXINPUTS environment variable.
This prefix can be set in preferences and by default includes the
document directory (represented by a single '.'). The prefix can
be set to any list of paths separated by the default separator for
a given platform (':' on unix like systems and ';' on windows).
When a file should be included by LaTeX, the paths listed in TEXINPUTS
will be searched in turn for finding it. Note that any non-absolute
path listed in the TEXINPUTS prefix is considered to be relative to the
document directory, i.e., the directory where the LyX file lives.
Users are advised to always include '.' (the document dir) as one of
the path components, otherwise compilation may fail for some documents.
This is because the previous (undocumented) mechanism based on the use
of the \input@path macro has been dropped. The old mechanism did not
work in all cases and was kind of a hack. Old documents using that
undocumented hack for obtaining the path of the LyX file will have to
be revised. A clean way for obtaining the document path is using the
info inset through the info-insert buffer path LyX function.


** Updates:
***

* DOCUMENT INPUT/OUTPUT

- Allow for a maximum of 3 minutes for the completion of a spawned command
   except on Windows, where 30 minutes are allowed. This is because the
   Windows installer may trigger MiKTeX updates that suffer from network
   latencies.

- Improved XHTML output of various fractions.

- A prefix for the TEXINPUTS environment variable can be specified in the
   preferences. The directory of a LyX document is represented by a single
   dot '.' or by the prefix ./. Also, any non-absolute path will be
   prepended with the LyX document directory.

- Updated templates to current LyX format, so no conversion will be
   needed.

- Allow LaTeX import of \uline (bug 7640).

- Fix compilation error occurring when a LyX document resides in a directory
   whose name contains characters that are special to LaTeX (bug 6170).


* USER INTERFACE

- Updated Czech, French, German, Japanese, Interlingua, Italian, Polish,
   Portuguese, Serbian (Latin), Spanish, Swedish and Ukrainian User
   Interface Localization.

- Now it is not necessary to restart LyX after changing the default
   document directory and/or the PATH prefix in the preferences for them
   to take effect.

- Menu View-Source for documents with XHTML default output format now
displays
   only the current paragraph, except when complete source is requested
   (bug 7463).

- Size tab now enables and disables correctly depending on the capabilities
   configured for the current external template (selected via the combo).

- Sort entries in the More Formats and Options dialog (bug 7714).

- Enable Accept compound preference setting for Aspell backend only.
   Reconfigure the aspell backend when Accept compound preference is
   changed immediately.


* DOCUMENTATION AND LOCALIZATION

- UserGuide:
   - new section how to define custom header/footer lines
 (bug 7196).
   - new section about customized lists
   - new section about comparison of LyX documents
   - new section about the document's colors settings
   - revised Appendix A and B

- EnbeddedObjects manual:
   - describe that LyX supports now the changing of the color of the
 greyed-out box text
   - new chapter about objects surrounded by text

- Math manual: add a note about column limit for decorated matrices.

- Updated French documentation files.

- updated template file for the latest version of the ACM siggraph
   LaTeX-package.

- updated 

Re: CAS in LyX 2.0 Windows doesn't work

2011-09-05 Thread Liviu Andronic
On Mon, Sep 5, 2011 at 10:25 AM, Anders Høg 08...@iha.dk wrote:
 Is there any workaround for using octave/maxima etc. in LyX 2.0 on windows?

I haven't followed this particular development, but it may be fixed in
2.0.1. From the log:
- On Windows, fix call to Computer Algebra System programs (bug 7715).

Liviu


Re: How to edit when Lyx doesn't show the text?

2011-09-05 Thread Guest_NP
The biggest concern is everything that follows the LyX  specific LaTeX  
commands (especially /greektext and /cyrtext).


Bernd


On Sep 5, 2011, at 4:49 PM, Richard Heck wrote:


On 09/05/2011 07:04 AM, Guest_NP wrote:

Everything that shows up in LyX (from  /userpackage(rotating) to
User-specified LaTeX commands.).

I imagine that it must be somewhere in a file.


All of that is added automatically by LyX, depending upon various
factors in DocumentSettings. Some of it you can suppress (e.g.,  
whether

esint is loaded automatically). What exactly do you wish to do?

Richard


I can't change it in LyX itself because it is not editable.

Bernd


On Sep 5, 2011, at 12:08 AM, Richard Heck wrote:


On 09/04/2011 06:58 AM, Bernd Kappenberg wrote:

That's what I did - but the lines don't show up.


Here is what the LyX file says when opened in WordPad:

#LyX 2.0 created this file. For more info see http://www.lyx.org/
\lyxformat 413
\begin_document
\begin_header
\textclass scrartcl
\begin_preamble

 \usepackage[ table]{xcolor}
...


Here is what the LyX file says when opened with LyX (2.0):

%% LyX 2.0.0 created this file.  For more info, see
http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[twoside, fontsize=14, headinclude=true,
DIV=calc]{scrartcl}
\usepackage{fontspec}
\setmainfont[Mapping=tex-text,Numbers=OldStyle]{Copperplate Gothic
Bold}
\setsansfont[Mapping=tex-text]{Comic Sans MS}
\usepackage{geometry}
\geometry{verbose,tmargin=2.7cm,bmargin=2cm,lmargin=2cm,rmargin=2cm, 
headsep=0.021\textheight,footskip=0.7cm}


\usepackage{rotating}
\usepackage{tipa}
\usepackage{tipx}
\usepackage{textcomp}
\usepackage{graphicx}
\usepackage{setspace}
\usepackage{esint}

\makeatletter

%% LyX specific LaTeX commands.
\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern- 
.125emX\@}

\DeclareRobustCommand{\greektext}{%
  \fontencoding{LGR}\selectfont\def\encodingdefault{LGR}}
\DeclareRobustCommand{\textgreek}[1]{\leavevmode{\greektext #1}}
\DeclareFontEncoding{LGR}{}{}
\DeclareTextSymbol{\~}{LGR}{126}
\DeclareRobustCommand{\cyrtext}{%
  \fontencoding{T2A}\selectfont\def\encodingdefault{T2A}}
\DeclareRobustCommand{\textcyr}[1]{\leavevmode{\cyrtext #1}}
\AtBeginDocument{\DeclareFontEncoding{T2A}{}{}}

%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}
%% A simple dot to overcome graphicx limitations
\newcommand{\lyxdot}{.}


%% User specified LaTeX commands.

 \usepackage[ table]{xcolor}
...


So where are those additional settings hiding?


What settings are you looking for?

Richard







Problem getting started -- cant find ecm fonts

2011-09-05 Thread Michael Rothschild
When I try to view a document with the dvi viewer as suggested at the beginning 
of the tutorial I get the message:

[Description: C:\Users\mrothsch\AppData\Local\Temp\SNAGHTML2d01d007.PNG]

I have no idea what this means or how to install the ecm fonts or set the 
correct path.  I am - obviously - a rank beginner.

Any help would be appreciated.

(I think this is not crucial as I can export files using pdflatx but it is 
difficult not to be able to do the first thing in the tutorial for beginners. )

I would appreciate any help.

Thank you,

Michael Rothschild
Visiting Professor of Economics UCLA

inline: image001.png

Re: Problem getting started -- cant find ecm fonts

2011-09-05 Thread Liviu Andronic
Hello


On Mon, Sep 5, 2011 at 8:38 PM, Michael Rothschild
mroth...@princeton.edu wrote:
 I have no idea what this means or how to install the ecm fonts or set the 
 correct path.  I am – obviously – a rank beginner.

Something may be wrong with your LaTeX installation. Please try
compiling with something other than the DVI output; I would suggest
'pdflatex'. Second, try to change Document  Settings  Fonts to Latin
Modern. Maybe this would help.

Regards
Liviu


Re: LyX 2.0.1 Released

2011-09-05 Thread Richard Heck
On 09/05/2011 12:56 PM, ehud.kap...@gmail.com wrote:
 No Windows installer yet?

Not so far as I know.

Richard

 On 09/05/2011 12:03 PM, Richard Heck wrote:
 Public release of LyX version 2.0.1
 ===

 We are pleased to announce the release of LyX 2.0.1. This is the first
 maintenance release in the 2.0.x series.

 LyX 2.0.1 is the result of on-going efforts to make our stable version
 even more reliable and stable. We have fixed a number of bugs and made
 a number of improvements. These are detailed below. We encourage all
 LyX users to upgrade to this version.

 LyX is a document processor that encourages an approach to writing based
 on the structure of your documents and not simply their appearance. It is
 released under a Free and Open Source Software license.

 You can download LyX 2.0.1 from http://www.lyx.org/Download/.

 If you think you found a bug in LyX 2.0.1, either e-mail the LyX
 developers' mailing list (lyx-devel at lists.lyx.org), or open a bug
 report at http://www.lyx.org/trac/wiki/BugTrackerHome.

 If you have trouble using LyX or have a question, consult the
 documentation that comes with LyX and the LyX wiki, which lives at
 http://wiki.lyx.org/. If you can't find the answer there, e-mail the LyX
 users' list (lyx-users at lists.lyx.org).

 We hope you enjoy using LyX 2.0.1.

 The LyX team.
 http://www.lyx.org


 What's new in LyX 2.0.1
 ===

 The support for using external files in ERT has been improved by the
 introduction of a prefix for the TEXINPUTS environment variable.
 This prefix can be set in preferences and by default includes the
 document directory (represented by a single '.'). The prefix can
 be set to any list of paths separated by the default separator for
 a given platform (':' on unix like systems and ';' on windows).
 When a file should be included by LaTeX, the paths listed in TEXINPUTS
 will be searched in turn for finding it. Note that any non-absolute
 path listed in the TEXINPUTS prefix is considered to be relative to the
 document directory, i.e., the directory where the LyX file lives.
 Users are advised to always include '.' (the document dir) as one of
 the path components, otherwise compilation may fail for some documents.
 This is because the previous (undocumented) mechanism based on the use
 of the \input@path macro has been dropped. The old mechanism did not
 work in all cases and was kind of a hack. Old documents using that
 undocumented hack for obtaining the path of the LyX file will have to
 be revised. A clean way for obtaining the document path is using the
 info inset through the info-insert buffer path LyX function.


 ** Updates:
 ***

 * DOCUMENT INPUT/OUTPUT

 - Allow for a maximum of 3 minutes for the completion of a spawned command
   except on Windows, where 30 minutes are allowed. This is because the
   Windows installer may trigger MiKTeX updates that suffer from network
   latencies.

 - Improved XHTML output of various fractions.

 - A prefix for the TEXINPUTS environment variable can be specified in the
   preferences. The directory of a LyX document is represented by a single
   dot '.' or by the prefix ./. Also, any non-absolute path will be
   prepended with the LyX document directory.

 - Updated templates to current LyX format, so no conversion will be
   needed.

 - Allow LaTeX import of \uline (bug 7640).

 - Fix compilation error occurring when a LyX document resides in a directory
   whose name contains characters that are special to LaTeX (bug 6170).


 * USER INTERFACE

 - Updated Czech, French, German, Japanese, Interlingua, Italian, Polish,
   Portuguese, Serbian (Latin), Spanish, Swedish and Ukrainian User
   Interface Localization.

 - Now it is not necessary to restart LyX after changing the default
   document directory and/or the PATH prefix in the preferences for them
   to take effect.

 - Menu View-Source for documents with XHTML default output format now
 displays
   only the current paragraph, except when complete source is requested
   (bug 7463).

 - Size tab now enables and disables correctly depending on the capabilities
   configured for the current external template (selected via the combo).

 - Sort entries in the More Formats and Options dialog (bug 7714).

 - Enable Accept compound preference setting for Aspell backend only.
   Reconfigure the aspell backend when Accept compound preference is
   changed immediately.


 * DOCUMENTATION AND LOCALIZATION

 - UserGuide:
   - new section how to define custom header/footer lines
 (bug 7196).
   - new section about customized lists
   - new section about comparison of LyX documents
   - new section about the document's colors settings
   - revised Appendix A and B

 - EnbeddedObjects manual:
   - describe that LyX supports now the changing of the color of the
 greyed-out box text
   - new chapter about objects surrounded by text

 - Math manual: add a note about column limit for decorated 

textgreek and textcyr

2011-09-05 Thread Richard Heck
On 09/05/2011 01:32 PM, Guest_NP wrote:
 The biggest concern is everything that follows the LyX  specific
 LaTeX commands (especially /greektext and /cyrtext).

What is the problem with these? LyX adds them for a reason, though the
people who added them would have to explain what the reason is.

It may be possible to suppress them by adding:
Provides textgreek 1
Provides textcry 1
to your layout, e.g., in Local Layout under DocumentSettings. (Do not
forget the format tag, though.) However, you will need to declare some
alternate declarations, I believe, since LyX uses the macros they declare.

Richard

 Bernd


 On Sep 5, 2011, at 4:49 PM, Richard Heck wrote:

 On 09/05/2011 07:04 AM, Guest_NP wrote:
 Everything that shows up in LyX (from  /userpackage(rotating) to
 User-specified LaTeX commands.).

 I imagine that it must be somewhere in a file.

 All of that is added automatically by LyX, depending upon various
 factors in DocumentSettings. Some of it you can suppress (e.g., whether
 esint is loaded automatically). What exactly do you wish to do?

 Richard

 I can't change it in LyX itself because it is not editable.

 Bernd


 On Sep 5, 2011, at 12:08 AM, Richard Heck wrote:

 On 09/04/2011 06:58 AM, Bernd Kappenberg wrote:
 That's what I did - but the lines don't show up.


 Here is what the LyX file says when opened in WordPad:

 #LyX 2.0 created this file. For more info see http://www.lyx.org/
 \lyxformat 413
 \begin_document
 \begin_header
 \textclass scrartcl
 \begin_preamble

  \usepackage[ table]{xcolor}
 ...


 Here is what the LyX file says when opened with LyX (2.0):

 %% LyX 2.0.0 created this file.  For more info, see
 http://www.lyx.org/.
 %% Do not edit unless you really know what you are doing.
 \documentclass[twoside, fontsize=14, headinclude=true,
 DIV=calc]{scrartcl}
 \usepackage{fontspec}
 \setmainfont[Mapping=tex-text,Numbers=OldStyle]{Copperplate Gothic
 Bold}
 \setsansfont[Mapping=tex-text]{Comic Sans MS}
 \usepackage{geometry}
 \geometry{verbose,tmargin=2.7cm,bmargin=2cm,lmargin=2cm,rmargin=2cm,headsep=0.021\textheight,footskip=0.7cm}


 \usepackage{rotating}
 \usepackage{tipa}
 \usepackage{tipx}
 \usepackage{textcomp}
 \usepackage{graphicx}
 \usepackage{setspace}
 \usepackage{esint}

 \makeatletter

 %% LyX specific LaTeX commands.
 \providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}

 \DeclareRobustCommand{\greektext}{%
   \fontencoding{LGR}\selectfont\def\encodingdefault{LGR}}
 \DeclareRobustCommand{\textgreek}[1]{\leavevmode{\greektext #1}}
 \DeclareFontEncoding{LGR}{}{}
 \DeclareTextSymbol{\~}{LGR}{126}
 \DeclareRobustCommand{\cyrtext}{%
   \fontencoding{T2A}\selectfont\def\encodingdefault{T2A}}
 \DeclareRobustCommand{\textcyr}[1]{\leavevmode{\cyrtext #1}}
 \AtBeginDocument{\DeclareFontEncoding{T2A}{}{}}

 %% Because html converters don't know tabularnewline
 \providecommand{\tabularnewline}{\\}
 %% A simple dot to overcome graphicx limitations
 \newcommand{\lyxdot}{.}


 %% User specified LaTeX commands.

  \usepackage[ table]{xcolor}
 ...


 So where are those additional settings hiding?

 What settings are you looking for?

 Richard





Re: Problem getting started -- cant find ecm fonts

2011-09-05 Thread Richard Heck
On 09/05/2011 03:59 PM, Liviu Andronic wrote:
 Hello


 On Mon, Sep 5, 2011 at 8:38 PM, Michael Rothschild
 mroth...@princeton.edu wrote:
 I have no idea what this means or how to install the ecm fonts or set the 
 correct path.  I am – obviously – a rank beginner.

 Something may be wrong with your LaTeX installation. Please try
 compiling with something other than the DVI output; I would suggest
 'pdflatex'. Second, try to change Document  Settings  Fonts to Latin
 Modern. Maybe this would help.

There were lots of such errors in the TeXLive 2011 packages for Fedora
at one point. Something to do with the font maps not being updated
properly. I don't know if there's a connection, though.

Richard



Re: Problem getting started -- cant find ecm fonts

2011-09-05 Thread Paul Rubin
This is a problem with either the DVI viewer or your LaTeX implementation; it is
external to LyX.  Judging by the error message, it appears that (a) you are on
some flavor of Windows (happens to even the best of us at times) and (b) you are
using TrueTeX rather than the more common (on Windows) MiKTeX.  It's possible
there are some TrueTeX users on the list, but you're best bet is probably to
look for whatever help forums TrueTeX might offer.

Good luck,
Paul



Re: LyX 2.0.1 Released

2011-09-05 Thread Gilles Mioni
Thanks to the team lyx for the new release, it's my birthday.

Richard Heck a écrit :
 Public release of LyX version 2.0.1
 ===

 We are pleased to announce the release of LyX 2.0.1. This is the first
 maintenance release in the 2.0.x series.

 LyX 2.0.1 is the result of on-going efforts to make our stable version
 even more reliable and stable. We have fixed a number of bugs and made
 a number of improvements. These are detailed below. We encourage all
 LyX users to upgrade to this version.

 LyX is a document processor that encourages an approach to writing based
 on the structure of your documents and not simply their appearance. It is
 released under a Free and Open Source Software license.

 You can download LyX 2.0.1 from http://www.lyx.org/Download/.

 If you think you found a bug in LyX 2.0.1, either e-mail the LyX
 developers' mailing list (lyx-devel at lists.lyx.org), or open a bug
 report at http://www.lyx.org/trac/wiki/BugTrackerHome.

 If you have trouble using LyX or have a question, consult the
 documentation that comes with LyX and the LyX wiki, which lives at
 http://wiki.lyx.org/. If you can't find the answer there, e-mail the LyX
 users' list (lyx-users at lists.lyx.org).

 We hope you enjoy using LyX 2.0.1.

 The LyX team.
 http://www.lyx.org


 What's new in LyX 2.0.1
 ===

 The support for using external files in ERT has been improved by the
 introduction of a prefix for the TEXINPUTS environment variable.
 This prefix can be set in preferences and by default includes the
 document directory (represented by a single '.'). The prefix can
 be set to any list of paths separated by the default separator for
 a given platform (':' on unix like systems and ';' on windows).
 When a file should be included by LaTeX, the paths listed in TEXINPUTS
 will be searched in turn for finding it. Note that any non-absolute
 path listed in the TEXINPUTS prefix is considered to be relative to the
 document directory, i.e., the directory where the LyX file lives.
 Users are advised to always include '.' (the document dir) as one of
 the path components, otherwise compilation may fail for some documents.
 This is because the previous (undocumented) mechanism based on the use
 of the \input@path macro has been dropped. The old mechanism did not
 work in all cases and was kind of a hack. Old documents using that
 undocumented hack for obtaining the path of the LyX file will have to
 be revised. A clean way for obtaining the document path is using the
 info inset through the info-insert buffer path LyX function.


 ** Updates:
 ***

 * DOCUMENT INPUT/OUTPUT

 - Allow for a maximum of 3 minutes for the completion of a spawned command
   except on Windows, where 30 minutes are allowed. This is because the
   Windows installer may trigger MiKTeX updates that suffer from network
   latencies.

 - Improved XHTML output of various fractions.

 - A prefix for the TEXINPUTS environment variable can be specified in the
   preferences. The directory of a LyX document is represented by a single
   dot '.' or by the prefix ./. Also, any non-absolute path will be
   prepended with the LyX document directory.

 - Updated templates to current LyX format, so no conversion will be
   needed.

 - Allow LaTeX import of \uline (bug 7640).

 - Fix compilation error occurring when a LyX document resides in a directory
   whose name contains characters that are special to LaTeX (bug 6170).


 * USER INTERFACE

 - Updated Czech, French, German, Japanese, Interlingua, Italian, Polish,
   Portuguese, Serbian (Latin), Spanish, Swedish and Ukrainian User
   Interface Localization.

 - Now it is not necessary to restart LyX after changing the default
   document directory and/or the PATH prefix in the preferences for them
   to take effect.

 - Menu View-Source for documents with XHTML default output format now
 displays
   only the current paragraph, except when complete source is requested
   (bug 7463).

 - Size tab now enables and disables correctly depending on the capabilities
   configured for the current external template (selected via the combo).

 - Sort entries in the More Formats and Options dialog (bug 7714).

 - Enable Accept compound preference setting for Aspell backend only.
   Reconfigure the aspell backend when Accept compound preference is
   changed immediately.


 * DOCUMENTATION AND LOCALIZATION

 - UserGuide:
   - new section how to define custom header/footer lines
 (bug 7196).
   - new section about customized lists
   - new section about comparison of LyX documents
   - new section about the document's colors settings
   - revised Appendix A and B

 - EnbeddedObjects manual:
   - describe that LyX supports now the changing of the color of the
 greyed-out box text
   - new chapter about objects surrounded by text

 - Math manual: add a note about column limit for decorated matrices.

 - Updated French documentation files.

 - updated template 

Re: indicate page number of floats

2011-09-05 Thread Julien Rioux

On 06/09/2011 12:09 AM, Csikos Bela wrote:

Hello:

Is it possible to indicate page number of floating figures automatically?
For example:

some text in document (fig. 5, page z)

Page number z would be inserted by latex/lyx at compilation.

Thanks,

bcsikos





Absolutely! Please see Section 6.1 of the User's Guide that you find in 
the Help menu.


--
Julien



Re: How to edit when Lyx doesn't show the text?

2011-09-05 Thread Dr Eberhard Lisse
On 2011-09-04 13:00 , H. Hodges wrote:
 Guest_NP bernd.kappenberg at gmx.de writes:
 

 Dear Sirs,

 
 Bernd,
 
 Please do not address the entire list as Sirs. It is disrespectful to assume
 that all list members are male.

Or knighted :-))-O

el



Re: How to edit when Lyx doesn't show the text?

2011-09-05 Thread Julien Rioux

On 04/09/2011 12:58 PM, Bernd Kappenberg wrote:

That's what I did - but the lines don't show up.


Here is what the LyX file says when opened in WordPad:

#LyX 2.0 created this file. For more info see http://www.lyx.org/
\lyxformat 413
\begin_document
\begin_header
\textclass scrartcl
\begin_preamble

  \usepackage[ table]{xcolor}



Here is what the LyX file says when opened with LyX (2.0):

%% LyX 2.0.0 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[twoside, fontsize=14, headinclude=true, DIV=calc]{scrartcl}
\usepackage{fontspec}
\setmainfont[Mapping=tex-text,Numbers=OldStyle]{Copperplate Gothic Bold}
\setsansfont[Mapping=tex-text]{Comic Sans MS}
\usepackage{geometry}
\geometry{verbose,tmargin=2.7cm,bmargin=2cm,lmargin=2cm,rmargin=2cm,headsep=0.021\textheight,footskip=0.7cm}
\usepackage{rotating}
\usepackage{tipa}
\usepackage{tipx}
\usepackage{textcomp}
\usepackage{graphicx}
\usepackage{setspace}
\usepackage{esint}

\makeatletter

%% LyX specific LaTeX commands.
\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
\DeclareRobustCommand{\greektext}{%
   \fontencoding{LGR}\selectfont\def\encodingdefault{LGR}}
\DeclareRobustCommand{\textgreek}[1]{\leavevmode{\greektext #1}}
\DeclareFontEncoding{LGR}{}{}
\DeclareTextSymbol{\~}{LGR}{126}
\DeclareRobustCommand{\cyrtext}{%
   \fontencoding{T2A}\selectfont\def\encodingdefault{T2A}}
\DeclareRobustCommand{\textcyr}[1]{\leavevmode{\cyrtext #1}}
\AtBeginDocument{\DeclareFontEncoding{T2A}{}{}}

%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}
%% A simple dot to overcome graphicx limitations
\newcommand{\lyxdot}{.}


%% User specified LaTeX commands.

  \usepackage[ table]{xcolor}



So where are those additional settings hiding?

Bernd


 Original-Nachricht 

Datum: Sat, 03 Sep 2011 10:14:38 -0400
Von: Richard Heck
An: Guest_NP
CC: lyx-users@lists.lyx.org
Betreff: Re: How to edit when Lyx doesn\'t show the text?



On 09/03/2011 09:46 AM, Guest_NP wrote:

Dear Sirs,

I need to manually correct some source text (XeTeX, textgreek shows up
in the wrong encoding).
However, the source code doesn't show the lines in question.
How else can I do it?




Try opening the LyX file itself in a text editor, e.g., Notepad (on
Windows) or Kate (on Linux). Then you can find the problematic text and
fix it. The syntax of the file should be intelligible.

Richard





I think there is confusion here. LyX is not an editor for LaTeX files. 
LyX uses its own file format. This is what you see when you open the 
.lyx file in wordpad. LyX also uses LaTeX, but only for exporting. The 
menu View > Source allows you to see what LyX would export as LaTeX.


It sounds as if you want to edit the LaTeX exported by LyX. You could do 
so using the menu File > Export > LaTeX (plain) to generate a .tex file, 
and edit that externally.


Note, however, that your modifications might not be understood when you 
import the LaTeX back into LyX. In case that your intention is to export 
to LaTeX, modifies the file to your liking, and then export back into 
LyX, I would strongly advice not to do this. Instead, ask for help on 
how to achieve what you actually want to achieve in LyX. In most cases 
the LaTeX output generated by LyX can be tweaked by understanding LyX 
better, or with the use of modules to achieve what you want. This is the 
simpler way.


So, what exactly is wrong with the LaTeX output generated by LyX?

Regards,
Julien



CAS in LyX 2.0 Windows doesn't work

2011-09-05 Thread Anders Høg
Hi

 

Is there any workaround for using octave/maxima etc. in LyX 2.0 on windows?

 

I read somewhere on the mail-list, that this release is not able to execute
batch-files on windows anymore.

Why would they remove this feature? 

It works great in 1.6 (and for other OS in ver. 2.0 for that matter).

 

Regards

Anders



Re: How to edit when Lyx doesn't show the text?

2011-09-05 Thread Guest_NP
Everything that shows up in LyX (from  /userpackage(rotating) to  
"User-specified LaTeX commands.").


I imagine that it must be somewhere in a file.

I can't change it in LyX itself because it is not editable.

Bernd


On Sep 5, 2011, at 12:08 AM, Richard Heck wrote:


On 09/04/2011 06:58 AM, Bernd Kappenberg wrote:

That's what I did - but the lines don't show up.


Here is what the LyX file says when opened in WordPad:

#LyX 2.0 created this file. For more info see http://www.lyx.org/
\lyxformat 413
\begin_document
\begin_header
\textclass scrartcl
\begin_preamble

 \usepackage[ table]{xcolor}
...


Here is what the LyX file says when opened with LyX (2.0):

%% LyX 2.0.0 created this file.  For more info, see  
http://www.lyx.org/.

%% Do not edit unless you really know what you are doing.
\documentclass[twoside, fontsize=14, headinclude=true,  
DIV=calc]{scrartcl}

\usepackage{fontspec}
\setmainfont[Mapping=tex-text,Numbers=OldStyle]{Copperplate Gothic  
Bold}

\setsansfont[Mapping=tex-text]{Comic Sans MS}
\usepackage{geometry}
\geometry{verbose,tmargin=2.7cm,bmargin=2cm,lmargin=2cm,rmargin=2cm,he 
adsep=0.021\textheight,footskip=0.7cm}

\usepackage{rotating}
\usepackage{tipa}
\usepackage{tipx}
\usepackage{textcomp}
\usepackage{graphicx}
\usepackage{setspace}
\usepackage{esint}

\makeatletter

%% LyX specific LaTeX commands.
\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern- 
.125emX\@}

\DeclareRobustCommand{\greektext}{%
  \fontencoding{LGR}\selectfont\def\encodingdefault{LGR}}
\DeclareRobustCommand{\textgreek}[1]{\leavevmode{\greektext #1}}
\DeclareFontEncoding{LGR}{}{}
\DeclareTextSymbol{\~}{LGR}{126}
\DeclareRobustCommand{\cyrtext}{%
  \fontencoding{T2A}\selectfont\def\encodingdefault{T2A}}
\DeclareRobustCommand{\textcyr}[1]{\leavevmode{\cyrtext #1}}
\AtBeginDocument{\DeclareFontEncoding{T2A}{}{}}

%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}
%% A simple dot to overcome graphicx limitations
\newcommand{\lyxdot}{.}


%% User specified LaTeX commands.

 \usepackage[ table]{xcolor}
...


So where are those additional settings hiding?


What settings are you looking for?

Richard





Re: How to edit when Lyx doesn't show the text?

2011-09-05 Thread Richard Heck
On 09/05/2011 07:04 AM, Guest_NP wrote:
> Everything that shows up in LyX (from  /userpackage(rotating) to
> "User-specified LaTeX commands.").
>
> I imagine that it must be somewhere in a file.
>
All of that is added automatically by LyX, depending upon various
factors in Document>Settings. Some of it you can suppress (e.g., whether
esint is loaded "automatically"). What exactly do you wish to do?

Richard

> I can't change it in LyX itself because it is not editable.
>
> Bernd
>
>
> On Sep 5, 2011, at 12:08 AM, Richard Heck wrote:
>
>> On 09/04/2011 06:58 AM, Bernd Kappenberg wrote:
>>> That's what I did - but the lines don't show up.
>>>
>>>
>>> Here is what the LyX file says when opened in WordPad:
>>>
>>> #LyX 2.0 created this file. For more info see http://www.lyx.org/
>>> \lyxformat 413
>>> \begin_document
>>> \begin_header
>>> \textclass scrartcl
>>> \begin_preamble
>>>
>>>  \usepackage[ table]{xcolor}
>>> ...
>>>
>>>
>>> Here is what the LyX file says when opened with LyX (2.0):
>>>
>>> %% LyX 2.0.0 created this file.  For more info, see
>>> http://www.lyx.org/.
>>> %% Do not edit unless you really know what you are doing.
>>> \documentclass[twoside, fontsize=14, headinclude=true,
>>> DIV=calc]{scrartcl}
>>> \usepackage{fontspec}
>>> \setmainfont[Mapping=tex-text,Numbers=OldStyle]{Copperplate Gothic
>>> Bold}
>>> \setsansfont[Mapping=tex-text]{Comic Sans MS}
>>> \usepackage{geometry}
>>> \geometry{verbose,tmargin=2.7cm,bmargin=2cm,lmargin=2cm,rmargin=2cm,headsep=0.021\textheight,footskip=0.7cm}
>>>
>>> \usepackage{rotating}
>>> \usepackage{tipa}
>>> \usepackage{tipx}
>>> \usepackage{textcomp}
>>> \usepackage{graphicx}
>>> \usepackage{setspace}
>>> \usepackage{esint}
>>>
>>> \makeatletter
>>>
>>> %% LyX specific LaTeX commands.
>>> \providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
>>> \DeclareRobustCommand{\greektext}{%
>>>   \fontencoding{LGR}\selectfont\def\encodingdefault{LGR}}
>>> \DeclareRobustCommand{\textgreek}[1]{\leavevmode{\greektext #1}}
>>> \DeclareFontEncoding{LGR}{}{}
>>> \DeclareTextSymbol{\~}{LGR}{126}
>>> \DeclareRobustCommand{\cyrtext}{%
>>>   \fontencoding{T2A}\selectfont\def\encodingdefault{T2A}}
>>> \DeclareRobustCommand{\textcyr}[1]{\leavevmode{\cyrtext #1}}
>>> \AtBeginDocument{\DeclareFontEncoding{T2A}{}{}}
>>>
>>> %% Because html converters don't know tabularnewline
>>> \providecommand{\tabularnewline}{\\}
>>> %% A simple dot to overcome graphicx limitations
>>> \newcommand{\lyxdot}{.}
>>>
>>>
>>> %% User specified LaTeX commands.
>>>
>>>  \usepackage[ table]{xcolor}
>>> ...
>>>
>>>
>>> So where are those additional settings hiding?
>>>
>> What settings are you looking for?
>>
>> Richard
>>



LyX 2.0.1 Released

2011-09-05 Thread Richard Heck

Public release of LyX version 2.0.1
===

We are pleased to announce the release of LyX 2.0.1. This is the first
maintenance release in the 2.0.x series.

LyX 2.0.1 is the result of on-going efforts to make our stable version
even more reliable and stable. We have fixed a number of bugs and made
a number of improvements. These are detailed below. We encourage all
LyX users to upgrade to this version.

LyX is a document processor that encourages an approach to writing based
on the structure of your documents and not simply their appearance. It is
released under a Free and Open Source Software license.

You can download LyX 2.0.1 from http://www.lyx.org/Download/.

If you think you found a bug in LyX 2.0.1, either e-mail the LyX
developers' mailing list (lyx-devel  lists.lyx.org), or open a bug
report at http://www.lyx.org/trac/wiki/BugTrackerHome.

If you have trouble using LyX or have a question, consult the
documentation that comes with LyX and the LyX wiki, which lives at
http://wiki.lyx.org/. If you can't find the answer there, e-mail the LyX
users' list (lyx-users at lists.lyx.org).

We hope you enjoy using LyX 2.0.1.

The LyX team.
http://www.lyx.org


What's new in LyX 2.0.1
===

The support for using external files in ERT has been improved by the
introduction of a prefix for the TEXINPUTS environment variable.
This prefix can be set in preferences and by default includes the
document directory (represented by a single '.'). The prefix can
be set to any list of paths separated by the default separator for
a given platform (':' on unix like systems and ';' on windows).
When a file should be included by LaTeX, the paths listed in TEXINPUTS
will be searched in turn for finding it. Note that any non-absolute
path listed in the TEXINPUTS prefix is considered to be relative to the
document directory, i.e., the directory where the LyX file lives.
Users are advised to always include '.' (the document dir) as one of
the path components, otherwise compilation may fail for some documents.
This is because the previous (undocumented) mechanism based on the use
of the \input@path macro has been dropped. The old mechanism did not
work in all cases and was kind of a hack. Old documents using that
undocumented hack for obtaining the path of the LyX file will have to
be revised. A clean way for obtaining the document path is using the
info inset through the "info-insert buffer path" LyX function.


** Updates:
***

* DOCUMENT INPUT/OUTPUT

- Allow for a maximum of 3 minutes for the completion of a spawned command
  except on Windows, where 30 minutes are allowed. This is because the
  Windows installer may trigger MiKTeX updates that suffer from network
  latencies.

- Improved XHTML output of various fractions.

- A prefix for the TEXINPUTS environment variable can be specified in the
  preferences. The directory of a LyX document is represented by a single
  dot '.' or by the prefix "./". Also, any non-absolute path will be
  prepended with the LyX document directory.

- Updated templates to current LyX format, so no conversion will be
  needed.

- Allow LaTeX import of \uline (bug 7640).

- Fix compilation error occurring when a LyX document resides in a directory
  whose name contains characters that are special to LaTeX (bug 6170).


* USER INTERFACE

- Updated Czech, French, German, Japanese, Interlingua, Italian, Polish,
  Portuguese, Serbian (Latin), Spanish, Swedish and Ukrainian User
  Interface Localization.

- Now it is not necessary to restart LyX after changing the default
  document directory and/or the PATH prefix in the preferences for them
  to take effect.

- Menu View->Source for documents with XHTML default output format now
displays
  only the current paragraph, except when complete source is requested
  (bug 7463).

- Size tab now enables and disables correctly depending on the capabilities
  configured for the current external template (selected via the combo).

- Sort entries in the "More Formats and Options" dialog (bug 7714).

- Enable "Accept compound" preference setting for Aspell backend only.
  Reconfigure the aspell backend when "Accept compound" preference is
  changed immediately.


* DOCUMENTATION AND LOCALIZATION

- UserGuide:
  - new section how to define custom header/footer lines
(bug 7196).
  - new section about customized lists
  - new section about comparison of LyX documents
  - new section about the document's colors settings
  - revised Appendix A and B

- EnbeddedObjects manual:
  - describe that LyX supports now the changing of the color of the
greyed-out box text
  - new chapter about objects surrounded by text

- Math manual: add a note about column limit for decorated matrices.

- Updated French documentation files.

- updated template file for the latest version of the ACM siggraph
  LaTeX-package.

- updated layout and template file for the latest version of the IJMPC
  LaTeX-package.

- updated 

Re: LyX 2.0.1 Released

2011-09-05 Thread ehud.kap...@gmail.com

No Windows installer yet?

On 09/05/2011 12:03 PM, Richard Heck wrote:

Public release of LyX version 2.0.1
===

We are pleased to announce the release of LyX 2.0.1. This is the first
maintenance release in the 2.0.x series.

LyX 2.0.1 is the result of on-going efforts to make our stable version
even more reliable and stable. We have fixed a number of bugs and made
a number of improvements. These are detailed below. We encourage all
LyX users to upgrade to this version.

LyX is a document processor that encourages an approach to writing based
on the structure of your documents and not simply their appearance. It is
released under a Free and Open Source Software license.

You can download LyX 2.0.1 from http://www.lyx.org/Download/.

If you think you found a bug in LyX 2.0.1, either e-mail the LyX
developers' mailing list (lyx-devel  lists.lyx.org), or open a bug
report at http://www.lyx.org/trac/wiki/BugTrackerHome.

If you have trouble using LyX or have a question, consult the
documentation that comes with LyX and the LyX wiki, which lives at
http://wiki.lyx.org/. If you can't find the answer there, e-mail the LyX
users' list (lyx-users at lists.lyx.org).

We hope you enjoy using LyX 2.0.1.

The LyX team.
http://www.lyx.org


What's new in LyX 2.0.1
===

The support for using external files in ERT has been improved by the
introduction of a prefix for the TEXINPUTS environment variable.
This prefix can be set in preferences and by default includes the
document directory (represented by a single '.'). The prefix can
be set to any list of paths separated by the default separator for
a given platform (':' on unix like systems and ';' on windows).
When a file should be included by LaTeX, the paths listed in TEXINPUTS
will be searched in turn for finding it. Note that any non-absolute
path listed in the TEXINPUTS prefix is considered to be relative to the
document directory, i.e., the directory where the LyX file lives.
Users are advised to always include '.' (the document dir) as one of
the path components, otherwise compilation may fail for some documents.
This is because the previous (undocumented) mechanism based on the use
of the \input@path macro has been dropped. The old mechanism did not
work in all cases and was kind of a hack. Old documents using that
undocumented hack for obtaining the path of the LyX file will have to
be revised. A clean way for obtaining the document path is using the
info inset through the "info-insert buffer path" LyX function.


** Updates:
***

* DOCUMENT INPUT/OUTPUT

- Allow for a maximum of 3 minutes for the completion of a spawned command
   except on Windows, where 30 minutes are allowed. This is because the
   Windows installer may trigger MiKTeX updates that suffer from network
   latencies.

- Improved XHTML output of various fractions.

- A prefix for the TEXINPUTS environment variable can be specified in the
   preferences. The directory of a LyX document is represented by a single
   dot '.' or by the prefix "./". Also, any non-absolute path will be
   prepended with the LyX document directory.

- Updated templates to current LyX format, so no conversion will be
   needed.

- Allow LaTeX import of \uline (bug 7640).

- Fix compilation error occurring when a LyX document resides in a directory
   whose name contains characters that are special to LaTeX (bug 6170).


* USER INTERFACE

- Updated Czech, French, German, Japanese, Interlingua, Italian, Polish,
   Portuguese, Serbian (Latin), Spanish, Swedish and Ukrainian User
   Interface Localization.

- Now it is not necessary to restart LyX after changing the default
   document directory and/or the PATH prefix in the preferences for them
   to take effect.

- Menu View->Source for documents with XHTML default output format now
displays
   only the current paragraph, except when complete source is requested
   (bug 7463).

- Size tab now enables and disables correctly depending on the capabilities
   configured for the current external template (selected via the combo).

- Sort entries in the "More Formats and Options" dialog (bug 7714).

- Enable "Accept compound" preference setting for Aspell backend only.
   Reconfigure the aspell backend when "Accept compound" preference is
   changed immediately.


* DOCUMENTATION AND LOCALIZATION

- UserGuide:
   - new section how to define custom header/footer lines
 (bug 7196).
   - new section about customized lists
   - new section about comparison of LyX documents
   - new section about the document's colors settings
   - revised Appendix A and B

- EnbeddedObjects manual:
   - describe that LyX supports now the changing of the color of the
 greyed-out box text
   - new chapter about objects surrounded by text

- Math manual: add a note about column limit for decorated matrices.

- Updated French documentation files.

- updated template file for the latest version of the ACM siggraph
   LaTeX-package.

- 

Re: CAS in LyX 2.0 Windows doesn't work

2011-09-05 Thread Liviu Andronic
On Mon, Sep 5, 2011 at 10:25 AM, Anders Høg <08...@iha.dk> wrote:
> Is there any workaround for using octave/maxima etc. in LyX 2.0 on windows?
>
I haven't followed this particular development, but it may be fixed in
2.0.1. From the log:
- On Windows, fix call to Computer Algebra System programs (bug 7715).

Liviu


Re: How to edit when Lyx doesn't show the text?

2011-09-05 Thread Guest_NP
The biggest concern is everything that follows the "LyX  specific LaTeX  
commands" (especially /greektext and /cyrtext).


Bernd


On Sep 5, 2011, at 4:49 PM, Richard Heck wrote:


On 09/05/2011 07:04 AM, Guest_NP wrote:

Everything that shows up in LyX (from  /userpackage(rotating) to
"User-specified LaTeX commands.").

I imagine that it must be somewhere in a file.


All of that is added automatically by LyX, depending upon various
factors in Document>Settings. Some of it you can suppress (e.g.,  
whether

esint is loaded "automatically"). What exactly do you wish to do?

Richard


I can't change it in LyX itself because it is not editable.

Bernd


On Sep 5, 2011, at 12:08 AM, Richard Heck wrote:


On 09/04/2011 06:58 AM, Bernd Kappenberg wrote:

That's what I did - but the lines don't show up.


Here is what the LyX file says when opened in WordPad:

#LyX 2.0 created this file. For more info see http://www.lyx.org/
\lyxformat 413
\begin_document
\begin_header
\textclass scrartcl
\begin_preamble

 \usepackage[ table]{xcolor}
...


Here is what the LyX file says when opened with LyX (2.0):

%% LyX 2.0.0 created this file.  For more info, see
http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[twoside, fontsize=14, headinclude=true,
DIV=calc]{scrartcl}
\usepackage{fontspec}
\setmainfont[Mapping=tex-text,Numbers=OldStyle]{Copperplate Gothic
Bold}
\setsansfont[Mapping=tex-text]{Comic Sans MS}
\usepackage{geometry}
\geometry{verbose,tmargin=2.7cm,bmargin=2cm,lmargin=2cm,rmargin=2cm, 
headsep=0.021\textheight,footskip=0.7cm}


\usepackage{rotating}
\usepackage{tipa}
\usepackage{tipx}
\usepackage{textcomp}
\usepackage{graphicx}
\usepackage{setspace}
\usepackage{esint}

\makeatletter

%% LyX specific LaTeX commands.
\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern- 
.125emX\@}

\DeclareRobustCommand{\greektext}{%
  \fontencoding{LGR}\selectfont\def\encodingdefault{LGR}}
\DeclareRobustCommand{\textgreek}[1]{\leavevmode{\greektext #1}}
\DeclareFontEncoding{LGR}{}{}
\DeclareTextSymbol{\~}{LGR}{126}
\DeclareRobustCommand{\cyrtext}{%
  \fontencoding{T2A}\selectfont\def\encodingdefault{T2A}}
\DeclareRobustCommand{\textcyr}[1]{\leavevmode{\cyrtext #1}}
\AtBeginDocument{\DeclareFontEncoding{T2A}{}{}}

%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}
%% A simple dot to overcome graphicx limitations
\newcommand{\lyxdot}{.}


%% User specified LaTeX commands.

 \usepackage[ table]{xcolor}
...


So where are those additional settings hiding?


What settings are you looking for?

Richard







Problem getting started -- cant find ecm fonts

2011-09-05 Thread Michael Rothschild
When I try to view a document with the dvi viewer as suggested at the beginning 
of the tutorial I get the message:

[Description: C:\Users\mrothsch\AppData\Local\Temp\SNAGHTML2d01d007.PNG]

I have no idea what this means or how to install the ecm fonts or set the 
correct path.  I am - obviously - a rank beginner.

Any help would be appreciated.

(I think this is not crucial as I can export files using pdflatx but it is 
difficult not to be able to do the first thing in the tutorial for beginners. )

I would appreciate any help.

Thank you,

Michael Rothschild
Visiting Professor of Economics UCLA

<>

Re: Problem getting started -- cant find ecm fonts

2011-09-05 Thread Liviu Andronic
Hello


On Mon, Sep 5, 2011 at 8:38 PM, Michael Rothschild
 wrote:
> I have no idea what this means or how to install the ecm fonts or set the 
> correct path.  I am – obviously – a rank beginner.
>
Something may be wrong with your LaTeX installation. Please try
compiling with something other than the DVI output; I would suggest
'pdflatex'. Second, try to change Document > Settings > Fonts to Latin
Modern. Maybe this would help.

Regards
Liviu


Re: LyX 2.0.1 Released

2011-09-05 Thread Richard Heck
On 09/05/2011 12:56 PM, ehud.kap...@gmail.com wrote:
> No Windows installer yet?
>
Not so far as I know.

Richard

> On 09/05/2011 12:03 PM, Richard Heck wrote:
>> Public release of LyX version 2.0.1
>> ===
>>
>> We are pleased to announce the release of LyX 2.0.1. This is the first
>> maintenance release in the 2.0.x series.
>>
>> LyX 2.0.1 is the result of on-going efforts to make our stable version
>> even more reliable and stable. We have fixed a number of bugs and made
>> a number of improvements. These are detailed below. We encourage all
>> LyX users to upgrade to this version.
>>
>> LyX is a document processor that encourages an approach to writing based
>> on the structure of your documents and not simply their appearance. It is
>> released under a Free and Open Source Software license.
>>
>> You can download LyX 2.0.1 from http://www.lyx.org/Download/.
>>
>> If you think you found a bug in LyX 2.0.1, either e-mail the LyX
>> developers' mailing list (lyx-devel  lists.lyx.org), or open a bug
>> report at http://www.lyx.org/trac/wiki/BugTrackerHome.
>>
>> If you have trouble using LyX or have a question, consult the
>> documentation that comes with LyX and the LyX wiki, which lives at
>> http://wiki.lyx.org/. If you can't find the answer there, e-mail the LyX
>> users' list (lyx-users at lists.lyx.org).
>>
>> We hope you enjoy using LyX 2.0.1.
>>
>> The LyX team.
>> http://www.lyx.org
>>
>>
>> What's new in LyX 2.0.1
>> ===
>>
>> The support for using external files in ERT has been improved by the
>> introduction of a prefix for the TEXINPUTS environment variable.
>> This prefix can be set in preferences and by default includes the
>> document directory (represented by a single '.'). The prefix can
>> be set to any list of paths separated by the default separator for
>> a given platform (':' on unix like systems and ';' on windows).
>> When a file should be included by LaTeX, the paths listed in TEXINPUTS
>> will be searched in turn for finding it. Note that any non-absolute
>> path listed in the TEXINPUTS prefix is considered to be relative to the
>> document directory, i.e., the directory where the LyX file lives.
>> Users are advised to always include '.' (the document dir) as one of
>> the path components, otherwise compilation may fail for some documents.
>> This is because the previous (undocumented) mechanism based on the use
>> of the \input@path macro has been dropped. The old mechanism did not
>> work in all cases and was kind of a hack. Old documents using that
>> undocumented hack for obtaining the path of the LyX file will have to
>> be revised. A clean way for obtaining the document path is using the
>> info inset through the "info-insert buffer path" LyX function.
>>
>>
>> ** Updates:
>> ***
>>
>> * DOCUMENT INPUT/OUTPUT
>>
>> - Allow for a maximum of 3 minutes for the completion of a spawned command
>>   except on Windows, where 30 minutes are allowed. This is because the
>>   Windows installer may trigger MiKTeX updates that suffer from network
>>   latencies.
>>
>> - Improved XHTML output of various fractions.
>>
>> - A prefix for the TEXINPUTS environment variable can be specified in the
>>   preferences. The directory of a LyX document is represented by a single
>>   dot '.' or by the prefix "./". Also, any non-absolute path will be
>>   prepended with the LyX document directory.
>>
>> - Updated templates to current LyX format, so no conversion will be
>>   needed.
>>
>> - Allow LaTeX import of \uline (bug 7640).
>>
>> - Fix compilation error occurring when a LyX document resides in a directory
>>   whose name contains characters that are special to LaTeX (bug 6170).
>>
>>
>> * USER INTERFACE
>>
>> - Updated Czech, French, German, Japanese, Interlingua, Italian, Polish,
>>   Portuguese, Serbian (Latin), Spanish, Swedish and Ukrainian User
>>   Interface Localization.
>>
>> - Now it is not necessary to restart LyX after changing the default
>>   document directory and/or the PATH prefix in the preferences for them
>>   to take effect.
>>
>> - Menu View->Source for documents with XHTML default output format now
>> displays
>>   only the current paragraph, except when complete source is requested
>>   (bug 7463).
>>
>> - Size tab now enables and disables correctly depending on the capabilities
>>   configured for the current external template (selected via the combo).
>>
>> - Sort entries in the "More Formats and Options" dialog (bug 7714).
>>
>> - Enable "Accept compound" preference setting for Aspell backend only.
>>   Reconfigure the aspell backend when "Accept compound" preference is
>>   changed immediately.
>>
>>
>> * DOCUMENTATION AND LOCALIZATION
>>
>> - UserGuide:
>>   - new section how to define custom header/footer lines
>> (bug 7196).
>>   - new section about customized lists
>>   - new section about comparison of LyX documents
>>   - new section about the document's colors settings
>>   - revised Appendix 

textgreek and textcyr

2011-09-05 Thread Richard Heck
On 09/05/2011 01:32 PM, Guest_NP wrote:
> The biggest concern is everything that follows the "LyX  specific
> LaTeX commands" (especially /greektext and /cyrtext).
>
What is the problem with these? LyX adds them for a reason, though the
people who added them would have to explain what the reason is.

It may be possible to suppress them by adding:
Provides textgreek 1
Provides textcry 1
to your layout, e.g., in Local Layout under Document>Settings. (Do not
forget the format tag, though.) However, you will need to declare some
alternate declarations, I believe, since LyX uses the macros they declare.

Richard

> Bernd
>
>
> On Sep 5, 2011, at 4:49 PM, Richard Heck wrote:
>
>> On 09/05/2011 07:04 AM, Guest_NP wrote:
>>> Everything that shows up in LyX (from  /userpackage(rotating) to
>>> "User-specified LaTeX commands.").
>>>
>>> I imagine that it must be somewhere in a file.
>>>
>> All of that is added automatically by LyX, depending upon various
>> factors in Document>Settings. Some of it you can suppress (e.g., whether
>> esint is loaded "automatically"). What exactly do you wish to do?
>>
>> Richard
>>
>>> I can't change it in LyX itself because it is not editable.
>>>
>>> Bernd
>>>
>>>
>>> On Sep 5, 2011, at 12:08 AM, Richard Heck wrote:
>>>
 On 09/04/2011 06:58 AM, Bernd Kappenberg wrote:
> That's what I did - but the lines don't show up.
>
>
> Here is what the LyX file says when opened in WordPad:
>
> #LyX 2.0 created this file. For more info see http://www.lyx.org/
> \lyxformat 413
> \begin_document
> \begin_header
> \textclass scrartcl
> \begin_preamble
>
>  \usepackage[ table]{xcolor}
> ...
>
>
> Here is what the LyX file says when opened with LyX (2.0):
>
> %% LyX 2.0.0 created this file.  For more info, see
> http://www.lyx.org/.
> %% Do not edit unless you really know what you are doing.
> \documentclass[twoside, fontsize=14, headinclude=true,
> DIV=calc]{scrartcl}
> \usepackage{fontspec}
> \setmainfont[Mapping=tex-text,Numbers=OldStyle]{Copperplate Gothic
> Bold}
> \setsansfont[Mapping=tex-text]{Comic Sans MS}
> \usepackage{geometry}
> \geometry{verbose,tmargin=2.7cm,bmargin=2cm,lmargin=2cm,rmargin=2cm,headsep=0.021\textheight,footskip=0.7cm}
>
>
> \usepackage{rotating}
> \usepackage{tipa}
> \usepackage{tipx}
> \usepackage{textcomp}
> \usepackage{graphicx}
> \usepackage{setspace}
> \usepackage{esint}
>
> \makeatletter
>
> %% LyX specific LaTeX commands.
> \providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
>
> \DeclareRobustCommand{\greektext}{%
>   \fontencoding{LGR}\selectfont\def\encodingdefault{LGR}}
> \DeclareRobustCommand{\textgreek}[1]{\leavevmode{\greektext #1}}
> \DeclareFontEncoding{LGR}{}{}
> \DeclareTextSymbol{\~}{LGR}{126}
> \DeclareRobustCommand{\cyrtext}{%
>   \fontencoding{T2A}\selectfont\def\encodingdefault{T2A}}
> \DeclareRobustCommand{\textcyr}[1]{\leavevmode{\cyrtext #1}}
> \AtBeginDocument{\DeclareFontEncoding{T2A}{}{}}
>
> %% Because html converters don't know tabularnewline
> \providecommand{\tabularnewline}{\\}
> %% A simple dot to overcome graphicx limitations
> \newcommand{\lyxdot}{.}
>
>
> %% User specified LaTeX commands.
>
>  \usepackage[ table]{xcolor}
> ...
>
>
> So where are those additional settings hiding?
>
 What settings are you looking for?

 Richard

>>



Re: Problem getting started -- cant find ecm fonts

2011-09-05 Thread Richard Heck
On 09/05/2011 03:59 PM, Liviu Andronic wrote:
> Hello
>
>
> On Mon, Sep 5, 2011 at 8:38 PM, Michael Rothschild
>  wrote:
>> I have no idea what this means or how to install the ecm fonts or set the 
>> correct path.  I am – obviously – a rank beginner.
>>
> Something may be wrong with your LaTeX installation. Please try
> compiling with something other than the DVI output; I would suggest
> 'pdflatex'. Second, try to change Document > Settings > Fonts to Latin
> Modern. Maybe this would help.
>
There were lots of such errors in the TeXLive 2011 packages for Fedora
at one point. Something to do with the font maps not being updated
properly. I don't know if there's a connection, though.

Richard



Re: Problem getting started -- cant find ecm fonts

2011-09-05 Thread Paul Rubin
This is a problem with either the DVI viewer or your LaTeX implementation; it is
external to LyX.  Judging by the error message, it appears that (a) you are on
some flavor of Windows (happens to even the best of us at times) and (b) you are
using TrueTeX rather than the more common (on Windows) MiKTeX.  It's possible
there are some TrueTeX users on the list, but you're best bet is probably to
look for whatever help forums TrueTeX might offer.

Good luck,
Paul



Re: LyX 2.0.1 Released

2011-09-05 Thread Gilles Mioni
Thanks to the team lyx for the new release, it's my birthday.

Richard Heck a écrit :
> Public release of LyX version 2.0.1
> ===
>
> We are pleased to announce the release of LyX 2.0.1. This is the first
> maintenance release in the 2.0.x series.
>
> LyX 2.0.1 is the result of on-going efforts to make our stable version
> even more reliable and stable. We have fixed a number of bugs and made
> a number of improvements. These are detailed below. We encourage all
> LyX users to upgrade to this version.
>
> LyX is a document processor that encourages an approach to writing based
> on the structure of your documents and not simply their appearance. It is
> released under a Free and Open Source Software license.
>
> You can download LyX 2.0.1 from http://www.lyx.org/Download/.
>
> If you think you found a bug in LyX 2.0.1, either e-mail the LyX
> developers' mailing list (lyx-devel  lists.lyx.org), or open a bug
> report at http://www.lyx.org/trac/wiki/BugTrackerHome.
>
> If you have trouble using LyX or have a question, consult the
> documentation that comes with LyX and the LyX wiki, which lives at
> http://wiki.lyx.org/. If you can't find the answer there, e-mail the LyX
> users' list (lyx-users at lists.lyx.org).
>
> We hope you enjoy using LyX 2.0.1.
>
> The LyX team.
> http://www.lyx.org
>
>
> What's new in LyX 2.0.1
> ===
>
> The support for using external files in ERT has been improved by the
> introduction of a prefix for the TEXINPUTS environment variable.
> This prefix can be set in preferences and by default includes the
> document directory (represented by a single '.'). The prefix can
> be set to any list of paths separated by the default separator for
> a given platform (':' on unix like systems and ';' on windows).
> When a file should be included by LaTeX, the paths listed in TEXINPUTS
> will be searched in turn for finding it. Note that any non-absolute
> path listed in the TEXINPUTS prefix is considered to be relative to the
> document directory, i.e., the directory where the LyX file lives.
> Users are advised to always include '.' (the document dir) as one of
> the path components, otherwise compilation may fail for some documents.
> This is because the previous (undocumented) mechanism based on the use
> of the \input@path macro has been dropped. The old mechanism did not
> work in all cases and was kind of a hack. Old documents using that
> undocumented hack for obtaining the path of the LyX file will have to
> be revised. A clean way for obtaining the document path is using the
> info inset through the "info-insert buffer path" LyX function.
>
>
> ** Updates:
> ***
>
> * DOCUMENT INPUT/OUTPUT
>
> - Allow for a maximum of 3 minutes for the completion of a spawned command
>   except on Windows, where 30 minutes are allowed. This is because the
>   Windows installer may trigger MiKTeX updates that suffer from network
>   latencies.
>
> - Improved XHTML output of various fractions.
>
> - A prefix for the TEXINPUTS environment variable can be specified in the
>   preferences. The directory of a LyX document is represented by a single
>   dot '.' or by the prefix "./". Also, any non-absolute path will be
>   prepended with the LyX document directory.
>
> - Updated templates to current LyX format, so no conversion will be
>   needed.
>
> - Allow LaTeX import of \uline (bug 7640).
>
> - Fix compilation error occurring when a LyX document resides in a directory
>   whose name contains characters that are special to LaTeX (bug 6170).
>
>
> * USER INTERFACE
>
> - Updated Czech, French, German, Japanese, Interlingua, Italian, Polish,
>   Portuguese, Serbian (Latin), Spanish, Swedish and Ukrainian User
>   Interface Localization.
>
> - Now it is not necessary to restart LyX after changing the default
>   document directory and/or the PATH prefix in the preferences for them
>   to take effect.
>
> - Menu View->Source for documents with XHTML default output format now
> displays
>   only the current paragraph, except when complete source is requested
>   (bug 7463).
>
> - Size tab now enables and disables correctly depending on the capabilities
>   configured for the current external template (selected via the combo).
>
> - Sort entries in the "More Formats and Options" dialog (bug 7714).
>
> - Enable "Accept compound" preference setting for Aspell backend only.
>   Reconfigure the aspell backend when "Accept compound" preference is
>   changed immediately.
>
>
> * DOCUMENTATION AND LOCALIZATION
>
> - UserGuide:
>   - new section how to define custom header/footer lines
> (bug 7196).
>   - new section about customized lists
>   - new section about comparison of LyX documents
>   - new section about the document's colors settings
>   - revised Appendix A and B
>
> - EnbeddedObjects manual:
>   - describe that LyX supports now the changing of the color of the
> greyed-out box text
>   - new chapter about objects surrounded by text
>
> 

Re: indicate page number of floats

2011-09-05 Thread Julien Rioux

On 06/09/2011 12:09 AM, Csikos Bela wrote:

Hello:

Is it possible to indicate page number of floating figures automatically?
For example:

"some text in document (fig. 5, page z)"

Page number z would be inserted by latex/lyx at compilation.

Thanks,

bcsikos





Absolutely! Please see Section 6.1 of the User's Guide that you find in 
the Help menu.


--
Julien



Re: How to edit when Lyx doesn't show the text?

2011-09-05 Thread Dr Eberhard Lisse
On 2011-09-04 13:00 , H. Hodges wrote:
> Guest_NP  gmx.de> writes:
> 
>>
>> Dear Sirs,
>>
> 
> Bernd,
> 
> Please do not address the entire list as "Sirs." It is disrespectful to assume
> that all list members are male.

Or knighted :-))-O

el