Re: Any possible way to have clickable table of contents when exporting to PDF?

2010-05-20 Thread Francois Berenger

Hello,

I played with this option without any effect.
Whatever PDF reader I use, TOC is not clickable.

Is there a trick when exporting the document?
Like only some way to generate the PDF will manage/preserve links?

My LyX version is 1.6.5 for RHEL 5, if it matters.
---
lyx-common-1.6.5-5.el5
lyx-fonts-1.6.5-5.el5
lyx-1.6.5-5.el5
---

Regards,
F.

Wolfgang Engelmann wrote:

Am Thursday 20 May 2010 07:08:07 schrieb Francois Berenger:

Hello,

When I export my document to PDF, the TOC is not composed
of links to corresponding parts (although URLs are clickable
inside my document).

What can I do to make TOC clickable?


DocumentpreferencesPDF propertieshyperref support
 ..hyperlinks
 
..backreferencepage

Wolfgang

It would be a killer feature in order to show
my colleagues we can get rid of MS Word and produce
documents in format that is easy to version control
(and so to work on at several people at the same time,
like source code). :-)

Thanks a lot for any help,
Francois.

PS:
This question was asked long time ago on this ML,
but I cannot find answers to it.
cf.
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg66853.html








RE: Multiple formatting questions with LyX 1.6.5 - book (Memoir)

2010-05-20 Thread Yannick Fournier
Dear Richard,

First: thanks, your tricks with openany and setting the Biblio to \smaller
(simply by changing Text style, I feel stupid) provoked a reduction of 10
pages out of 240 :)
For the remaining open questions:

|  a) Changing cross-references links of subsubsection to a 
| nicer section:
|  Is there a command similar to the one for renaming figure 
| captions (see
|  below), in order to have for example subsections 3.4.3.2 
| or section
|  3.4.3.2 instead of subsubsections 3.4.3.2 ?
|  \renewcommand{\f...@figure}{fig.~\thefigure}
| 
| 
| How are you getting the subsubsection... text? I just get 
| numbers for 
| references to subsubsections.

I simply use the standard option Reference and the associated On Page
On Page. The formatted reference and the Reference On Page On Page
do not work, but we have been knowing that for weeks.
I think that my problems comes from this preamble line, that I found
somewhere in a FAQ some months ago:
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1

 
|  d) Capital letters for cross-reference links at beginning 
| of sentences:
|  When I make reference to a chapter at the beginning of a 
| sentence, the
|  cross-reference link is:
|  chapter 2 discusses blablabla, instead of having a 
| capital letter:
|  Chapter 2 discusses blablabla
|  Can I correct that?
| 
| 
| Again, what are you using to get these cross-references? If I do a 
| formatted reference to a chapter, I always get caps. If 
| you're using 
| memoir's Cref command, etc, then see the memoir manual for what to do.

See above.


One more question I forgot to ask:
How do you reduce the vertical space, in itemize and enumerate listings,
between the first item and the preceeding paragraph? I tried the following
preamble commands with success only between item lines:
\let\oldenumerate=\enumerate
\def\enumerate{\oldenumerate%
\setlength{\itemsep}{-1pt}\setlength{\parsep}{-1pt}}%
\let\olditemize=\itemize
\def\itemize{\olditemize%
\setlength{\itemsep}{-1pt}
\setlength{\parsep}{-1pt}}%

However, these commands generate an undefined controlled sequence upon
compilation:
\usepackage{setspace}
\let\olditemize=\itemize
\def\itemize{
\olditemize
\setlength{\itemsep}{-0.0ex}
\setstretch{0.8}
}
\let\oldenumerate=\enumerate
\def\enumerate{
\oldenumerate
\setlength{\itemsep}{-0.0ex}
\setstretch{0.8}
}

Yannick



Re: Any possible way to have clickable table of contents when exporting to PDF?

2010-05-20 Thread Olivier Ripoll

Francois Berenger wrote:

Hello,

I played with this option without any effect.
Whatever PDF reader I use, TOC is not clickable.

Is there a trick when exporting the document?
Like only some way to generate the PDF will manage/preserve links?


There are 3 pdf export methods. At least, with pdflatex and ps2pdf, the 
TOC is made with clickable links here (LyX 1.6.5, WinXP) (you need to 
check the use hyperref support box).


However, I would advise you to use pdf bookmarks instead of a clickable 
TOC. They are always available, while the TOC needs you to come back to 
its page. Of course you may use both, but to impress your colleagues, 
the pdf bookmarks on the sides are much better. That in the same 
settings place, on the Bookmarks tab.


Best regards,

Olivier



My LyX version is 1.6.5 for RHEL 5, if it matters.
---
lyx-common-1.6.5-5.el5
lyx-fonts-1.6.5-5.el5
lyx-1.6.5-5.el5
---

Regards,
F.

Wolfgang Engelmann wrote:

Am Thursday 20 May 2010 07:08:07 schrieb Francois Berenger:

Hello,

When I export my document to PDF, the TOC is not composed
of links to corresponding parts (although URLs are clickable
inside my document).

What can I do to make TOC clickable?


DocumentpreferencesPDF propertieshyperref support
 
..hyperlinks
 
..backreferencepage


Wolfgang

It would be a killer feature in order to show
my colleagues we can get rid of MS Word and produce
documents in format that is easy to version control
(and so to work on at several people at the same time,
like source code). :-)

Thanks a lot for any help,
Francois.

PS:
This question was asked long time ago on this ML,
but I cannot find answers to it.
cf.
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg66853.html











Re: Any possible way to have clickable table of contents when exporting to PDF?

2010-05-20 Thread Francois Berenger

Hello,

Thanks for your help, it started working.
I was almost going to givup.

Here is what I did:
Document - Settings - PDF Properties

Then I checked almost everything, to be sure I would see
if any of these feature has some effect.

Then, I hit the Save as Document Defaults button.
I think this button made all of these options being activated.

Then Ok button then Close button.
I exported to PDF using pdflatex facility.
Then, my PDF have all these sexy features. :)

Regards,
F.

Olivier Ripoll wrote:

Francois Berenger wrote:

Hello,

I played with this option without any effect.
Whatever PDF reader I use, TOC is not clickable.

Is there a trick when exporting the document?
Like only some way to generate the PDF will manage/preserve links?


There are 3 pdf export methods. At least, with pdflatex and ps2pdf, the 
TOC is made with clickable links here (LyX 1.6.5, WinXP) (you need to 
check the use hyperref support box).


However, I would advise you to use pdf bookmarks instead of a clickable 
TOC. They are always available, while the TOC needs you to come back to 
its page. Of course you may use both, but to impress your colleagues, 
the pdf bookmarks on the sides are much better. That in the same 
settings place, on the Bookmarks tab.


Best regards,

Olivier



My LyX version is 1.6.5 for RHEL 5, if it matters.
---
lyx-common-1.6.5-5.el5
lyx-fonts-1.6.5-5.el5
lyx-1.6.5-5.el5
---

Regards,
F.

Wolfgang Engelmann wrote:

Am Thursday 20 May 2010 07:08:07 schrieb Francois Berenger:

Hello,

When I export my document to PDF, the TOC is not composed
of links to corresponding parts (although URLs are clickable
inside my document).

What can I do to make TOC clickable?


DocumentpreferencesPDF propertieshyperref support
 
..hyperlinks
 
..backreferencepage


Wolfgang

It would be a killer feature in order to show
my colleagues we can get rid of MS Word and produce
documents in format that is easy to version control
(and so to work on at several people at the same time,
like source code). :-)

Thanks a lot for any help,
Francois.

PS:
This question was asked long time ago on this ML,
but I cannot find answers to it.
cf.
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg66853.html













Package installation question

2010-05-20 Thread Artimess
Could someone tell me:

1) Where does Lyx stores the packages in Mac, Linux, and Windows  if they
are different?
2) Should I do anything special to install a package beyond moving it to the
right directory and do a reconfigure?
3) How can I check if a package is available or installed?
4) Are the commands of the installed new package visible to Lyx front-end
and one  can select them through menu bar?
or should we use ERT for them?

Many thanks for your help,

Artimess


[ANNOUNCE] LyX 1.6.6 is released

2010-05-20 Thread Jürgen Spitzmüller
Public release of LyX version 1.6.6
===

We are pleased to announce the release of LyX 1.6.6. This is the sixth
maintenance release in the 1.6.x series.

The release features a long list of fixes and improvements. Yet a number
of crashes, reported by our users or our automatic stability testing
program, were fixed. Moreover, LyX was improved in many details. It also
introduces new features, such as support for the enchant spell checking
backend and for aspell language varieties (such as old and new German
spelling in parallel).

A detailed list of changes is appended below, remaining known problems
are listed in the file RELEASE-NOTES.

Please note particularly that there's an unresolved bug (#6680) that might
crash LyX when using undo with the outliner opened. This bug only manifests
itself when LyX is compiled against Qt 4.6, so we encourage you to compile
LyX against Qt 4.5, if possible. Also note that LyX 1.6.6 behaves way better
with Qt 4.6 than its predecessors. So despite the aforementioned problem, we
urge all distributors who use Qt 4.6 to upgrade to this version.

All users are encouraged to upgrade to this version.

In case you are wondering what LyX is, here is what
http://www.lyx.org/ has to say on the subject:

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

   LyX is for people that write and want their writing to look great,
   right out of the box. No more endless tinkering with formatting
   details, 'finger painting' font attributes or futzing around with
   page boundaries. You just write. In the background, Prof. Knuth's
   legendary TeX typesetting engine makes you look good.

   On screen, LyX looks like any word processor; its printed output --
   or richly cross-referenced PDF, just as readily produced -- looks
   like nothing else. Gone are the days of industrially bland .docs,
   all looking similarly not-quite-right, yet coming out unpredictably
   different on different printer drivers. Gone are the crashes
   'eating' your dissertation the evening before going to press.

   LyX is stable and fully featured. It is a multi-platform, fully
   internationalized application running natively on Unix/Linux, the
   Macintosh and modern Windows platforms.

You can download LyX 1.6.6 here (the .bz2 are compressed with bzip2,
which yields smaller files):

ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/lyx-1.6.6.tar.gz
ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/lyx-1.6.6.tar.bz2
ftp://ftp.devel.lyx.org/pub/lyx/stable/lyx-1.6.6.tar.gz
ftp://ftp.devel.lyx.org/pub/lyx/stable/lyx-1.6.6.tar.bz2

and it should propagate shortly to the following mirrors (which will
also host the .bz2 versions):

ftp://ftp.lip6.fr/pub/lyx/stable/1.6.x/lyx-1.6.6.tar.gz
http://lyx.cybermirror.org/stable/1.6.x/lyx-1.6.6.tar.gz
ftp://gd.tuwien.ac.at/publishing/tex/lyx/stable/1.6.x/lyx-1.6.6.tar.gz
ftp://ftp.ntua.gr/pub/X11/LyX/stable/1.6.x/lyx-1.6.6.tar.gz

http://sunsite.icm.edu.pl/pub/unix/editors/lyx/stable/1.6.x/lyx-1.6.6.tar.gz
http://lyx.mirror.fr/stable/1.6.x/lyx-1.6.6.tar.gz

Prebuilt binaries (rpms for Linux distributions, Mac OS X and Windows
installers) should soon be available at:

ftp://ftp.lyx.org/pub/lyx/bin/1.6.6/

If you already have the sources of the previous release (1.6.4.2), you may
want to apply one of the following patches instead:

ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/patch-1.6.6.gz
ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/patch-1.6.6.bz2

If you find what you think is a bug in LyX 1.6.6, you may 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/

If you're having trouble using the new version of LyX, or have a
question, first check out http://www.lyx.org/help/. If you can't find
the answer there, e-mail the LyX users' list (lyx-users at lists.lyx.org).

Enjoy!

The LyX team.


What's new in version 1.6.6?


** Updates:
***

* DOCUMENT INPUT/OUTPUT

- LyX now supports SVG images when either the librsvg library or
  Inkscape (version 0.47 recommended) is installed (bug 3349).

- LaTeX import (tex2lyx) now recognizes the types of quotes dependent
  on the document language. (When importing e.g. a Spanish document,
  LyX will use comillas latinas as quotes.)

- Add support for Aspell language varieties. This enables proper support
  of German old and new spelling in parallel when aspell (library) is
  used (bug 4657).

- Add support for the enchant spellchecker (bug 6226). LyX needs to be
  compiled --with-enchant in order to use this feature.


* USER INTERFACE

- Checking all opened files for external change after updating from SVN
  repository (part of bug 5211).

- Add a Close All menu item to the menu (bug 

Re: Package installation question

2010-05-20 Thread RIchard Heck

On 05/20/2010 07:38 AM, Artimess wrote:

Could someone tell me:

1) Where does Lyx stores the packages in Mac, Linux, and Windows  if
they are different?

If by package you mean LaTeX package, then the answer is: LyX 
doesn't store LaTeX packages or even have much to do with them. That is 
entirely a LaTeX issue, and the answer will therefore depend upon which 
TeX distribution you are using and how you have it configured. Plus, TeX 
can store packages in lots of locations. E.g., on my system, I have 
packages under /usr/share/texmf/, /usr/local/share/texmf/, and 
$HOME/texmf/, which is pretty normal.


If on the other hand by package you mean LyX layout file or module, 
then the answer is, yes, it is different on different OSs and, to make 
it more complex still, you can select your user directory using a 
command line option -userdir. On Linux, though, the user directory 
defaults to $HOME/.lyx/. I don't know what it is on Mac or Windows.



2) Should I do anything special to install a package beyond moving it
to the right directory and do a reconfigure?


Please see chapter 5 of the Customization manual.


3) How can I check if a package is available or installed?

If it's a LaTeX package, try HelpTeX Info, or just use the TeX tools 
for checking this, e.g., on *nix: kpsewhich mypackage.sty.



4) Are the commands of the installed new package visible to Lyx
front-end and one  can select them through menu bar? or should we use
ERT for them?

Unless LyX knows about this package, then its commands will not be 
available. You can tell LyX about the commands using a module, for some 
things. See e.g. the endnotes.module file that ships with LyX for an 
example.


Richard



Re: Multiple formatting questions with LyX 1.6.5 - book (Memoir)

2010-05-20 Thread RIchard Heck

On 05/20/2010 02:33 AM, Yannick Fournier wrote:


|  a) Changing cross-references links of subsubsection to a
| nicer section:
|  Is there a command similar to the one for renaming figure
| captions (see
|  below), in order to have for example subsections 3.4.3.2
| or section
|  3.4.3.2 instead of subsubsections 3.4.3.2 ?
|  \renewcommand{\f...@figure}{fig.~\thefigure}
|
|
| How are you getting the subsubsection... text? I just get
| numbers for
| references to subsubsections.

I simply use the standard option Reference and the associated On Page
On Page. The formatted reference and theReference  On PageOn Page
do not work, but we have been knowing that for weeks.
I think that my problems comes from this preamble line, that I found
somewhere in a FAQ some months ago:
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1

   
Ahh. In that case, \def\subsubsectionautorefname{Section} should do. See 
hyperref.sty.




|  d) Capital letters for cross-reference links at beginning
| of sentences:
|  When I make reference to a chapter at the beginning of a
| sentence, the
|  cross-reference link is:
|  chapter 2 discusses blablabla, instead of having a
| capital letter:
|  Chapter 2 discusses blablabla
|  Can I correct that?
|
|
| Again, what are you using to get these cross-references? If I do a
| formatted reference to a chapter, I always get caps. If
| you're using
| memoir's Cref command, etc, then see the memoir manual for what to do.

   
\renewcommand\chaptername{Chapter} will get you caps all the time, if 
I'm not mistaken. So far as I know, there is no way to get them some of 
the time.



One more question I forgot to ask:
How do you reduce the vertical space, in itemize and enumerate listings,
between the first item and the preceeding paragraph? I tried the following
preamble commands with success only between item lines:

   

Try posting this question separately. I'm not sure about this.

rh



Re: Multiple formatting questions with LyX 1.6.5 - book (Memoir)

2010-05-20 Thread Guenter Milde
On 2010-05-20, RIchard Heck wrote:
 On 05/20/2010 02:33 AM, Yannick Fournier wrote:

 One more question I forgot to ask:
 How do you reduce the vertical space, in itemize and enumerate listings,
 between the first item and the preceeding paragraph? I tried the following
 preamble commands with success only between item lines:
...

Do you use vertical space to separate paragraphs? 
There is a LyX bug. 

Workaround: in DocumentSettingsText
FormatParagaph Separator select 
  
   (*) Indent

and in the LaTeX preamble write 

   \usepackage{parskip}.

Otherwise, search for enumitem on wiki.lyx.org.

Günter




Fwd: request feature (again)

2010-05-20 Thread Sergio Celani



 Mensaje original 
Asunto: request feature (again)
Fecha:  Fri, 07 May 2010 12:51:49 -0300
De: Sergio Celani sergiocel...@gmail.com
A:  lyx-users-h...@lists.lyx.org



El 20/04/2010 11:42 a.m., Pavel Sanda escribió:

Sergio Celani wrote:
   

Actually, with some text editor it is possible to construct a panel with
particular  symbols, but this method is not good for beginer in LyX.
 

if you dont mind little bit hackery, its possible to do this manually by
editing stdtoolbars.inc file (adding new toolbar).

pavel

   



In fact, I have done just that and I've built two new toolbar, and it is 
not very difficult. But you have to manually edit stdtoolbars.inc file, 
but this is difficult for a beginner.
My idea is to have a new o extra customizable toolbar,   with symbols 
that are in other toolbars and easily editable.
I think in a customizable Symbol toolbar  with buttons of the frequently 
used symbols.
In this Extra toolbar , you can add as many symbols as you want from the 
the others toolbars, and also  and you can remove those symbols you 
don't need.  In this form, you can have a panel with symbols of the 
other panels.
I am now an enthusiastic user of Lyx, but I remember that this feature 
is present in Scientific Workplace, and it is really very useful. In SWP 
this panel is called Symbol Cache Toolbar.


sergio


configuration of modified toolbars

2010-05-20 Thread Sergio Celani



Hello users

I modified the original stdtoolbars.inc of LyX 1.6.5. according to my 
needs.


1. I added two new toolbars calledLetras griegas y otras  and 
Sets and Logic.
But in a computer with linux or with windows when I select these two new 
toolbar nothing happens in Lyx.
With LyX 2.0 (alpha) there exists the same problem, nothing happens in 
Lyx screen.


2. So, if I modified also the file default.ui and I add at the end the 
two new lines:


   Toolbars
standard on,top
view/update on,top
extra on,top,samerow
review auto,review,top
vcs off,top
table auto,table,bottom
math_panels auto,math,bottom
math auto,math,bottom
mathmacrotemplate auto,mathmacrotemplate,bottom
minibuffer off,bottom

 setandlogic on,bottom
Letrasgriegasyotras on,bottom

Then, in this case appear now correctly on the screen the new two toobars.

This is correct ?  It is necessary to modified the two files ?

Thanks

sergio



Spellcheck in 1.6.6 misses every second word

2010-05-20 Thread Sven Hoexter
Hi,
it seems to me that the spellcheck in LyX 1.6.6 misses every second word.
Am I the only one seeing this?

Running on Debian/sid with aspell aswell as enchant.

Sven
-- 
If God passed a mic to me to speak
I'd say stay in bed, world
Sleep in peace
   [The Cardigans - 03:45: No sleep]


Re: Spellcheck in 1.6.6 misses every second word

2010-05-20 Thread Uwe Stöhr

Am 20.05.2010 18:14, schrieb Sven Hoexter:


it seems to me that the spellcheck in LyX 1.6.6 misses every second word.
Am I the only one seeing this?


I don't see this on Windows with Aspell.

regards Uwe


[announce] LyXWinInstaller for LyX 1.6.6

2010-05-20 Thread Uwe Stöhr

Hello LyXers,

the alternative Windows installer for LyX 1.6.6 is now available.

This installer comes again with an update installer to update existing 
LyX 1.6.5 installation to LyX
1.6.6. NOTE: To be able to use this update installer, LyX 1.6.5 must 
have been installed with the

alternative Windows installer.

-

The installer for this version can be downloaded from:
http://developer.berlios.de/project/showfiles.php?group_id=5117release_id=17569
and
http://ftp.lyx.org/pub/lyx/bin/1.6.6/

(General infos about the installer can be found here:
 http://wiki.lyx.org/Windows/LyXWinInstaller )

Installer Changelog:
-
Version 4.23
- LyX 1.6.6
- updated to eLyXer 0.98
- updated to Ghostscript 8.71
- updated to ImageMagick 6.6.1-10
- updated to Python 2.6.5
- updated to MiKTeX 2.8 (build 3761)
- support to set Greek as LyX menu language (new feature in LyX 1.6.6)
- fix bug that it was not possible to change the language of the
  LyX menus via the LyX menu Tools-Preferences-Language Settings
- no longer use a *.bat file to start LyX
  (avoids one of the two windows that appeared for a few milliseconds
   when starting LyX)
-

happy LyXing
Uwe


Re: Spellcheck in 1.6.6 misses every second word

2010-05-20 Thread Hal Kierstead
I have this problem on my Mac.
Hal
On May 20, 2010, at 9:14 AM, Sven Hoexter wrote:

 Hi,
 it seems to me that the spellcheck in LyX 1.6.6 misses every second word.
 Am I the only one seeing this?
 
 Running on Debian/sid with aspell aswell as enchant.
 
 Sven
 -- 
 If God passed a mic to me to speak
 I'd say stay in bed, world
 Sleep in peace
   [The Cardigans - 03:45: No sleep]



Re: [announce] LyXWinInstaller for LyX 1.6.6

2010-05-20 Thread Hal Kierstead
Actually, I think the problem may be that it fails to check the next word after 
it finds a misspelled word.
Hal
On May 20, 2010, at 9:34 AM, Uwe Stöhr wrote:

 Hello LyXers,
 
 the alternative Windows installer for LyX 1.6.6 is now available.
 
 This installer comes again with an update installer to update existing LyX 
 1.6.5 installation to LyX
 1.6.6. NOTE: To be able to use this update installer, LyX 1.6.5 must have 
 been installed with the
 alternative Windows installer.
 
 -
 
 The installer for this version can be downloaded from:
 http://developer.berlios.de/project/showfiles.php?group_id=5117release_id=17569
 and
 http://ftp.lyx.org/pub/lyx/bin/1.6.6/
 
 (General infos about the installer can be found here:
 http://wiki.lyx.org/Windows/LyXWinInstaller )
 
 Installer Changelog:
 -
 Version 4.23
 - LyX 1.6.6
 - updated to eLyXer 0.98
 - updated to Ghostscript 8.71
 - updated to ImageMagick 6.6.1-10
 - updated to Python 2.6.5
 - updated to MiKTeX 2.8 (build 3761)
 - support to set Greek as LyX menu language (new feature in LyX 1.6.6)
 - fix bug that it was not possible to change the language of the
  LyX menus via the LyX menu Tools-Preferences-Language Settings
 - no longer use a *.bat file to start LyX
  (avoids one of the two windows that appeared for a few milliseconds
   when starting LyX)
 -
 
 happy LyXing
 Uwe



Re: Spellcheck in 1.6.6 misses every second word

2010-05-20 Thread Uwe Stöhr

Am 20.05.2010 19:01, schrieb Hal Kierstead:


Actually, I think the problem may be that it fails to check the next word after 
it finds a misspelled word.


As said, I cannot reproduce that with LyX 1.6.6 on Windows. Here every 
misspelled word is correctly recognized.


regards Uwe


Re: Spellcheck in 1.6.6 misses every second word

2010-05-20 Thread BH
On Thu, May 20, 2010 at 1:10 PM, Uwe Stöhr uwesto...@web.de wrote:
 Am 20.05.2010 19:01, schrieb Hal Kierstead:

 Actually, I think the problem may be that it fails to check the next word
 after it finds a misspelled word.

 As said, I cannot reproduce that with LyX 1.6.6 on Windows. Here every
 misspelled word is correctly recognized.

And I cannot reproduce it on Mac.

BH


Re: Package installation question

2010-05-20 Thread Uwe Stöhr

Am 20.05.2010 13:38, schrieb Artimess:


1) Where does Lyx stores the packages in Mac, Linux, and Windows  if
they are different?


What do you mean with package? They are different compared to what?


2) Should I do anything special to install a package beyond moving it to
the right directory and do a reconfigure?
3) How can I check if a package is available or installed?


I assume that you are talking about LaTeX-packages. These are handles 
and managed by your LaTeX distribution. Have a look at the documentation 
of your LaTeX distribution how to install packages.
(A list of installed LaTeX-packages can also be created via the LyX menu 
Tools-TeX-Information.)



4) Are the commands of the installed new package visible to Lyx
front-end and one  can select them through menu bar?
or should we use ERT for them?


In general you can use all LaTeX-packages in LyX via the TeX code inset 
(shortcut Crtl+L). The commands supported by LyX can of course be 
accessed via a LyX menu.

What package are you talking about?

regards Uwe


Enumeration of Theorems and definitions in a certain hierarchy...

2010-05-20 Thread iustifico
Hello,

In Lyx I am using the koma-skript. And I want this enumeration hierarchy

\part I  --  ROMAN Enumeration
\section 1 -- Arabic Enumeration
\subsection 1 -- Arabic Enumeration

Defintion I.1.1.1

\section 2
\subsection 1

Definition I.2.1.1

\section 3

Definition I.3.1  ==  Here it is one level lower!

\part II
\section 1
\subsection 1

Definition II.1.1.1

I would be glad if someone could tell me how to realize that.

Thank you very much,
iustifico


Enumeration of Theorems and definitions in a certain hierarchy...

2010-05-20 Thread iustifico
Hello,

In Lyx I am using the koma-skript. And I want this enumeration hierarchy

\part I  --  ROMAN Enumeration
\section 1 -- Arabic Enumeration
\subsection 1 -- Arabic Enumeration

Defintion I.1.1.1

\section 2
\subsection 1

Definition I.2.1.1

\section 3

Definition I.3.1  ==  Here it is one level lower!

\part II
\section 1
\subsection 1

Definition II.1.1.1

I would be glad if someone could tell me how to realize that.

Thank you very much,
iustifico


Re: Any possible way to have clickable table of contents when exporting to PDF?

2010-05-20 Thread Uwe Stöhr

Am 20.05.2010 11:09, schrieb Francois Berenger:


Here is what I did:
Document - Settings - PDF Properties

Then I checked almost everything, to be sure I would see
if any of these feature has some effect.


You don't need all of them the same time. the different options are 
described in sec. 6.9 PDF Properties of the LyX UserGuide (that you 
find in LyX's Help menu).
You can also have a look at the document settings of the LyX UserGuide 
as example what options are usually set.



Then, I hit the Save as Document Defaults button.
I think this button made all of these options being activated.


No, the options are already activated when pressing Apply or Save.
Save as Document Defaults is to make the current document settings the 
default settings when creating new LyX files.


regards Uwe


Re: Enumeration of Theorems and definitions in a certain hierarchy...

2010-05-20 Thread Uwe Stöhr

Am 20.05.2010 19:24, schrieb iustifico:


In Lyx I am using the koma-skript. And I want this enumeration hierarchy

\part I--  ROMAN Enumeration
\section 1-- Arabic Enumeration
\subsection 1-- Arabic Enumeration

Defintion I.1.1.1


This is hard to achieve and also uncommon. usually the chapter is not 
part of theorem numbering.

LyX supports this numbering style:

Definition 1.1.1

To get this, load the theorems module and additionally the theorems 
module numbered by section.

Attached is an example.

regards Uwe


newfile1.lyx
Description: application/lyx


Wrapping text around an image

2010-05-20 Thread Vladimir Giszpenc
Hi,

I am trying to wrap text around an image.  I attached how I was doing it
in HTML but I can't seem to figure out how to do this with LyX.

When I used the floating figure, the image was centered which was not
the style I was looking for.
When I used the \begin{wrapfigure} LaTex directive all the text was
placed under the image (sized to the image) instead of wrapping around.

Has anyone figured out how to do this?

I am using version 1.6.5 if that makes a difference.


Thanks,

Vlad

PS  I am not on the list so please CC me if you respond to the list.
Title: Example




Warning:  A bunch of text that wraps around the image. Ksj hdfklsj hlks jfhslkdf jsdf lkjs hdflksj flksjf hslkd jhsd lkfjhsdf lkjsahf ksaldjf haslkd sajlkhsadflk j hsflkjs hflksfslkdf jhsldfk
Sdlkfhsadflkjhf lkjsa hflksad hsalkd jfhslkd jfhsadflk jsa hflkajs hflkasj hfaslkd hsajlkfhsaldf kj hfl
Sdlkfhsadflkjhf lkjsa hflksad hsalkd jfhslkd jfhsadflk jsa hflkajs hflkasj hfaslkd hsajlkfhsaldf kj hfl
Sdlkfhsadflkjhf lkjsa hflksad hsalkd jfhslkd jfhsadflk jsa hflkajs hflkasj hfaslkd hsajlkfhsaldf kj hfl
Sdlkfhsadflkjhf lkjsa hflksad hsalkd jfhslkd jfhsadflk jsa hflkajs hflkasj hfaslkd hsajlkfhsaldf kj hfl
Sdlkfhsadflkjhf lkjsa hflksad hsalkd jfhslkd jfhsadflk jsa hflkajs hflkasj hfaslkd hsajlkfhsaldf kj hfl
Sdlkfhsadflkjhf lkjsa hflksad hsalkd jfhslkd jfhsadflk jsa hflkajs hflkasj hfaslkd hsajlkfhsaldf kj hfl
Sdlkfhsadflkjhf lkjsa hflksad hsalkd jfhslkd jfhsadflk jsa hflkajs hflkasj hfaslkd hsajlkfhsaldf kj hfl




Re: Spellcheck in 1.6.6 misses every second word

2010-05-20 Thread Jürgen Spitzmüller
Sven Hoexter wrote:
 it seems to me that the spellcheck in LyX 1.6.6 misses every second word.
 Am I the only one seeing this?

I don't see this (and I cannot imagine what could have caused this). Could you 
post a test file?

Jürgen


Re: Wrapping text around an image

2010-05-20 Thread Uwe Stöhr

Am 20.05.2010 19:39, schrieb Vladimir Giszpenc:


When I used the floating figure, the image was centered which was not
the style I was looking for.
When I used the \begin{wrapfigure} LaTex directive all the text was
placed under the image (sized to the image) instead of wrapping around.

Has anyone figured out how to do this?


Have a look at sec. 3.2.2 Wrap Floats of the EmbeddedObjects manual 
that you find in LyX's help menu. It is also described in the LyX 
Userguide, sec. 4.6.1.4 Wrap Floats.


regards Uwe


Re: Question: Skipping Numbers in Enumeration

2010-05-20 Thread Uwe Stöhr

Am 20.05.2010 19:36, schrieb Andreas Brack:


In LaTeX there is a command like \stepcounter{}, which skips a number in
the Numeration. For Example
1
1.1
\stepcounter{?}
1.3

Is there a command in lyx, which reaches the same??


You can do everything that you can do with LaTeX also in LyX. So simply 
use the \stepcounter command in a TeX code inset (shortcut Ctrl+L).

Attached is an example LyX file.

regards Uwe


newfile1.lyx
Description: application/lyx


Re: Nested Environments

2010-05-20 Thread Uwe Stöhr

Am 20.05.2010 20:24, schrieb iustifico:


Is there a way to do this:

Environment 1
Some Text...
Environment 2
Some Text...
Some Other Text--- This Text goes to environment 1!

Let's say Our Environment is a Definition or Proposition...


No, because Definitions and the like don't have nesting levels.
For enumeration and list items this is possible. See
http://wiki.lyx.org/LyX/Numbering

(I propose to use the mdwlist solution.)

regards Uwe


Re: Spellcheck in 1.6.6 misses every second word

2010-05-20 Thread Sven Hoexter
On Thu, May 20, 2010 at 08:28:59PM +0200, Sven Hoexter wrote:

 Round one:
 Catches Deis, correct it to Dies, next word detected is eni.
 
 Round two:
 Ignore Deis, next word detected is istt.

Thanks to xvidcap I could even create a short demo video (1.5MB).
http://sven.stormbind.net/lyx/spellchecklyx.mpeg

Sven
-- 
If God passed a mic to me to speak
I'd say stay in bed, world
Sleep in peace
   [The Cardigans - 03:45: No sleep]


Re: Equation Numbering change in RTL languages

2010-05-20 Thread Uwe Stöhr

Am 17.05.2010 21:49, schrieb Nosrat Maghsoudi:


Greetings, I am using LyX to typeset a book in Farsi. Equation numbers
change when referenced. For example  (2-12), becomes (21-2). Please help
if you have a solution.


Can you please provide a LyX example file?

I tried to reproduce with the attached LyX file, but there it seems to 
work correctly.


regards Uwe


newfile3.lyx
Description: application/lyx


Re: Spellcheck in 1.6.6 misses every second word

2010-05-20 Thread Sven Hoexter
On Thu, May 20, 2010 at 08:52:09PM +0200, Uwe Stöhr wrote:

Hi,

 Can you please report this as LyX bug?

Done:
http://www.lyx.org/trac/ticket/6708

Sven
-- 
If God passed a mic to me to speak
I'd say stay in bed, world
Sleep in peace
   [The Cardigans - 03:45: No sleep]


Re: Document-internal hyperlinks

2010-05-20 Thread Uwe Stöhr

Am 16.05.2010 20:41, schrieb Shawn Willden:


What I'd really like is for something like:

begin example
\label{code:53-5-703}\paragraph{...}...
...
As can be seen in \hyperlink{code:53-5-703}{53-5-703}, the composition
of the board is...
-end example-

where the first parameter to my hypothetical hyperlink function is the
label to be referenced and the second is the text of the reference.


I failed to achieve this in LaTeX. But when you ask this question on the 
comp.text.text newsgroup you will surely get a reply how to do this with 
LaTeX. If you know the solution for LaTeX, please report back and I'll 
help you to get it to work in an appropriate way in LyX.
I would like to post the result at the LyX Wiki so that others can use 
the same solution for legal texts.


thanks in advance and regards
Uwe


entry-level question

2010-05-20 Thread [Ricardo Rodriguez] eBioTIC.

Hi all,

New to this incredible edition framework, please, forgive me if I am 
missing something obvious.


One the most difficult decisions I'm facing while starting to work with 
LyX is to chose what Document class I must use for a given work. It 
seems to me really hard do decide between the multiple options without 
having an in depth knowledge of the whole LyX ecosystem.


So, please, could you advice me on what Document class I must use to 
edit a problems book?


It will accompany a Quantitative Genetics essay. It will include text 
paragraphs presenting the problems by themselves, each of them composed 
of several parts. After each part, some text paragraphs explaining the 
theoretical basis of the proposed solution will appear followed by the 
solution by itself that will include numbered mathematical formulas 
(they will be cross-referenced in the text) and some more text 
explaining the reasoning.


Must I use book? book (KOMA-Script)? Any other Document class?

Thank you so much for your help!

Greetings,

Ricardo

--
Ricardo Rodríguez
CTO
eBioTIC.
Life Sciences, Data Modeling and Information Management Systems



Re: Spellcheck in 1.6.6 misses every second word

2010-05-20 Thread Jürgen Spitzmüller
Sven Hoexter wrote:
 Sure see the attached german one.

Yes, I see it now. And I found out which bug fix caused this (fix for #6217).

Jürgen


Re: entry-level question

2010-05-20 Thread RIchard Heck

On 05/20/2010 03:58 PM, [Ricardo Rodriguez] eBioTIC. wrote:

Hi all,

New to this incredible edition framework, please, forgive me if I am
missing something obvious.

One the most difficult decisions I'm facing while starting to work
with LyX is to chose what Document class I must use for a given work.
It seems to me really hard do decide between the multiple options
without having an in depth knowledge of the whole LyX ecosystem.

So, please, could you advice me on what Document class I must use to
edit a problems book?

This decision is not as momentous as you might think. It's generally 
pretty easy to change from one class to another, within reason, e.g., 
from one book class to another. Going from book to article is a bit more 
of a challenge, because you lose chapters and so have to choose new 
layouts for them. But that's about it.


So: Do you need Chapters? If so, start with Book; if not, start with 
Article. If you want to know about the difference between the various 
book classes, then you can look at the koma-script docs (scrguien.pdf) 
for those, at the memoir docs, etc. All of these have lots of 
flexibility, but you may or may not need it.



It will accompany a Quantitative Genetics essay. It will include text
paragraphs presenting the problems by themselves, each of them
composed of several parts. After each part, some text paragraphs
explaining the theoretical basis of the proposed solution will appear
followed by the solution by itself that will include numbered
mathematical formulas (they will be cross-referenced in the text) and
some more text explaining the reasoning.

What I definitely WILL suggest is that you spend a bit of time creating 
character styles, or paragraph layouts, for these different sorts of 
things (Problem, Basis, Solution). This will allow you to apply a 
consistent format across your book. It will take work to get it 
right---you'll want to study chapter 5 of the customization manual, and 
you'll need to learn a little LaTeX (or else just ask questions)---but 
you do not have to do this work now and can mess with it over time. I'm 
attaching a trivial module that does nothing but define those three 
layouts, give them pretty labels, and make them do nothing special. Use 
them now; define their behavior later.


Richard


#\DeclareLyXModule{Problem Book}
#DescriptionBegin
#Trivial starting layouts for a problem book
#DescriptionEnd

Format 11

Style Problem
CopyStyleStandard
#   LatexTypeEnvironment
#   LatexNameproblem
LabelTypeStatic
LabelString  Problem
LabelSep MM
End

Style Basis
CopyStyleStandard
#   LatexTypeEnvironment
#   LatexNamebasis
LabelTypeStatic
LabelString  Theoretical Basis
LabelSep MM
End

Style Solution
CopyStyleStandard
#   LatexTypeEnvironment
#   LatexNamesolution
LabelTypeStatic
LabelString  Solution
LabelSep MM
End



Re: entry-level question

2010-05-20 Thread Rob Oakes
Hi Ricardo,

If you'd find it helpful, I've been working on a book appendix that
compares some of the most common LaTeX document classes.  It shows
examples, and goes over their more common features.  It's still in draft
form, but I would be happy to provide a download link if you think it
would be helpful.

If so, just send me a private message. It's a little bit too big to send
over emails.

Cheers,

Rob



Typographical devices, instead of numbers, for footnotes

2010-05-20 Thread Frederick Noronha
Is it possible for me to use typographical devices [like *, †, ‡, §,
‖, ¶] instead of number for footnotes, as I have end-notes as well
using numbers? Many thanks! FN

Frederick Noronha
+91-9822122436
+91-832-2409490


Re: Typographical devices, instead of numbers, for footnotes

2010-05-20 Thread curtis osterhoudt
I may be wrong here, but in looking at an old preamble file I have for which 
typograpical footnote devices work as you'd like, try the following: 

\renewcommand{\thefootnote}{\fnsymbol{footnote}}


 /**
As a species, we are forever sticking our fingers into the electric socket of 
the Universe to see what'll happen next. It's a trait that'll either save us or 
kill us, but by god it's what makes us human beings. I'd rather be in the 
company of people who look at Mars than people who contemplate humanity's navel 
-- other worlds are better than fluff. ~~Sir Terence David John Pratchett
***/





From: Frederick Noronha fredericknoro...@gmail.com
To: lyx-users@lists.lyx.org
Sent: Thu, May 20, 2010 3:26:32 PM
Subject: Typographical devices, instead of numbers, for footnotes

Is it possible for me to use typographical devices [like *, †, ‡, §,
‖, ¶] instead of number for footnotes, as I have end-notes as well
using numbers? Many thanks! FN

Frederick Noronha
+91-9822122436
+91-832-2409490



  

Re: Typographical devices, instead of numbers, for footnotes

2010-05-20 Thread Frederick Noronha
Thank you very much, it works fine! FN

Frederick Noronha
+91-9822122436
+91-832-2409490




On 21 May 2010 05:08, curtis osterhoudt flutz...@yahoo.com wrote:
 \renewcommand{\thefootnote}{\fnsymbol{footnote}}


Editing while spell-checking

2010-05-20 Thread Frederick Noronha
Is there some way I could edit (make small changes) to a file, at the
same time as I'm spellchecking it?

Reason: I notice some small word needs to be italicised or changed to
lower-case, but under the current way of doing things, I have to exit
from the spellchecker, make the change, and then go back.

Please help if possible. FN

Frederick Noronha
+91-9822122436
+91-832-2409490


Re: Lyx for Farsi under Mac OS

2010-05-20 Thread Uwe Stöhr

Am 21.05.2010 00:12, schrieb Amir:


I was wondering whether or not I can use Lyx to create
  Farsi/English documents under Mac OS.
I saw that Lyx can be used for creating Farsi documents
  under Windows. How about Mac OS?


It should work on all platforms. You only need to install the LaTeX-package arabi. Then 
reconfigure LyX.


regards Uwe


Re: Typographical devices, instead of numbers, for footnotes

2010-05-20 Thread Uwe Stöhr

Am 20.05.2010 23:26, schrieb Frederick Noronha:


Is it possible for me to use typographical devices [like *, †, ‡, §,
‖, ¶] instead of number for footnotes, as I have end-notes as well
using numbers?


Se sec. 4.2.1 Footnote Numbering of the EmbeddedObjects manual that you find 
in LyX's Help menu.

regards Uwe


Lower-res PDFs

2010-05-20 Thread Frederick Noronha
Is there some way I could create lower-res PDFs, if I want to share
them via the Net? Hi-res photos meant for printing can make for slow
transmission via the Net. Thanks! FN

Frederick Noronha
+91-9822122436
+91-832-2409490


Re: Editing while spell-checking

2010-05-20 Thread Uwe Stöhr

Am 21.05.2010 01:50, schrieb Frederick Noronha:


Is there some way I could edit (make small changes) to a file, at the
same time as I'm spellchecking it?


Due to a bug not in LyX 1.6.6. In LyX 2.0 this will be possible.

regards Uwe


Re: Lower-res PDFs

2010-05-20 Thread Uwe Stöhr

Am 21.05.2010 01:54, schrieb Frederick Noronha:


Is there some way I could create lower-res PDFs, if I want to share
them via the Net?


Not With LyX but with PDF tools. You can force to compress the images inside existing PDFs, for 
example with Acrobat or Foxit PDF Editor.


regards Uwe


Re: Any possible way to have clickable table of contents when exporting to PDF?

2010-05-20 Thread Francois Berenger

Hello,

I played with this option without any effect.
Whatever PDF reader I use, TOC is not clickable.

Is there a trick when exporting the document?
Like only some way to generate the PDF will manage/preserve links?

My LyX version is 1.6.5 for RHEL 5, if it matters.
---
lyx-common-1.6.5-5.el5
lyx-fonts-1.6.5-5.el5
lyx-1.6.5-5.el5
---

Regards,
F.

Wolfgang Engelmann wrote:

Am Thursday 20 May 2010 07:08:07 schrieb Francois Berenger:

Hello,

When I export my document to PDF, the TOC is not composed
of links to corresponding parts (although URLs are clickable
inside my document).

What can I do to make TOC clickable?


DocumentpreferencesPDF propertieshyperref support
 ..hyperlinks
 
..backreferencepage

Wolfgang

It would be a killer feature in order to show
my colleagues we can get rid of MS Word and produce
documents in format that is easy to version control
(and so to work on at several people at the same time,
like source code). :-)

Thanks a lot for any help,
Francois.

PS:
This question was asked long time ago on this ML,
but I cannot find answers to it.
cf.
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg66853.html








RE: Multiple formatting questions with LyX 1.6.5 - book (Memoir)

2010-05-20 Thread Yannick Fournier
Dear Richard,

First: thanks, your tricks with openany and setting the Biblio to \smaller
(simply by changing Text style, I feel stupid) provoked a reduction of 10
pages out of 240 :)
For the remaining open questions:

|  a) Changing cross-references links of subsubsection to a 
| nicer section:
|  Is there a command similar to the one for renaming figure 
| captions (see
|  below), in order to have for example subsections 3.4.3.2 
| or section
|  3.4.3.2 instead of subsubsections 3.4.3.2 ?
|  \renewcommand{\f...@figure}{fig.~\thefigure}
| 
| 
| How are you getting the subsubsection... text? I just get 
| numbers for 
| references to subsubsections.

I simply use the standard option Reference and the associated On Page
On Page. The formatted reference and the Reference On Page On Page
do not work, but we have been knowing that for weeks.
I think that my problems comes from this preamble line, that I found
somewhere in a FAQ some months ago:
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1

 
|  d) Capital letters for cross-reference links at beginning 
| of sentences:
|  When I make reference to a chapter at the beginning of a 
| sentence, the
|  cross-reference link is:
|  chapter 2 discusses blablabla, instead of having a 
| capital letter:
|  Chapter 2 discusses blablabla
|  Can I correct that?
| 
| 
| Again, what are you using to get these cross-references? If I do a 
| formatted reference to a chapter, I always get caps. If 
| you're using 
| memoir's Cref command, etc, then see the memoir manual for what to do.

See above.


One more question I forgot to ask:
How do you reduce the vertical space, in itemize and enumerate listings,
between the first item and the preceeding paragraph? I tried the following
preamble commands with success only between item lines:
\let\oldenumerate=\enumerate
\def\enumerate{\oldenumerate%
\setlength{\itemsep}{-1pt}\setlength{\parsep}{-1pt}}%
\let\olditemize=\itemize
\def\itemize{\olditemize%
\setlength{\itemsep}{-1pt}
\setlength{\parsep}{-1pt}}%

However, these commands generate an undefined controlled sequence upon
compilation:
\usepackage{setspace}
\let\olditemize=\itemize
\def\itemize{
\olditemize
\setlength{\itemsep}{-0.0ex}
\setstretch{0.8}
}
\let\oldenumerate=\enumerate
\def\enumerate{
\oldenumerate
\setlength{\itemsep}{-0.0ex}
\setstretch{0.8}
}

Yannick



Re: Any possible way to have clickable table of contents when exporting to PDF?

2010-05-20 Thread Olivier Ripoll

Francois Berenger wrote:

Hello,

I played with this option without any effect.
Whatever PDF reader I use, TOC is not clickable.

Is there a trick when exporting the document?
Like only some way to generate the PDF will manage/preserve links?


There are 3 pdf export methods. At least, with pdflatex and ps2pdf, the 
TOC is made with clickable links here (LyX 1.6.5, WinXP) (you need to 
check the use hyperref support box).


However, I would advise you to use pdf bookmarks instead of a clickable 
TOC. They are always available, while the TOC needs you to come back to 
its page. Of course you may use both, but to impress your colleagues, 
the pdf bookmarks on the sides are much better. That in the same 
settings place, on the Bookmarks tab.


Best regards,

Olivier



My LyX version is 1.6.5 for RHEL 5, if it matters.
---
lyx-common-1.6.5-5.el5
lyx-fonts-1.6.5-5.el5
lyx-1.6.5-5.el5
---

Regards,
F.

Wolfgang Engelmann wrote:

Am Thursday 20 May 2010 07:08:07 schrieb Francois Berenger:

Hello,

When I export my document to PDF, the TOC is not composed
of links to corresponding parts (although URLs are clickable
inside my document).

What can I do to make TOC clickable?


DocumentpreferencesPDF propertieshyperref support
 
..hyperlinks
 
..backreferencepage


Wolfgang

It would be a killer feature in order to show
my colleagues we can get rid of MS Word and produce
documents in format that is easy to version control
(and so to work on at several people at the same time,
like source code). :-)

Thanks a lot for any help,
Francois.

PS:
This question was asked long time ago on this ML,
but I cannot find answers to it.
cf.
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg66853.html











Re: Any possible way to have clickable table of contents when exporting to PDF?

2010-05-20 Thread Francois Berenger

Hello,

Thanks for your help, it started working.
I was almost going to givup.

Here is what I did:
Document - Settings - PDF Properties

Then I checked almost everything, to be sure I would see
if any of these feature has some effect.

Then, I hit the Save as Document Defaults button.
I think this button made all of these options being activated.

Then Ok button then Close button.
I exported to PDF using pdflatex facility.
Then, my PDF have all these sexy features. :)

Regards,
F.

Olivier Ripoll wrote:

Francois Berenger wrote:

Hello,

I played with this option without any effect.
Whatever PDF reader I use, TOC is not clickable.

Is there a trick when exporting the document?
Like only some way to generate the PDF will manage/preserve links?


There are 3 pdf export methods. At least, with pdflatex and ps2pdf, the 
TOC is made with clickable links here (LyX 1.6.5, WinXP) (you need to 
check the use hyperref support box).


However, I would advise you to use pdf bookmarks instead of a clickable 
TOC. They are always available, while the TOC needs you to come back to 
its page. Of course you may use both, but to impress your colleagues, 
the pdf bookmarks on the sides are much better. That in the same 
settings place, on the Bookmarks tab.


Best regards,

Olivier



My LyX version is 1.6.5 for RHEL 5, if it matters.
---
lyx-common-1.6.5-5.el5
lyx-fonts-1.6.5-5.el5
lyx-1.6.5-5.el5
---

Regards,
F.

Wolfgang Engelmann wrote:

Am Thursday 20 May 2010 07:08:07 schrieb Francois Berenger:

Hello,

When I export my document to PDF, the TOC is not composed
of links to corresponding parts (although URLs are clickable
inside my document).

What can I do to make TOC clickable?


DocumentpreferencesPDF propertieshyperref support
 
..hyperlinks
 
..backreferencepage


Wolfgang

It would be a killer feature in order to show
my colleagues we can get rid of MS Word and produce
documents in format that is easy to version control
(and so to work on at several people at the same time,
like source code). :-)

Thanks a lot for any help,
Francois.

PS:
This question was asked long time ago on this ML,
but I cannot find answers to it.
cf.
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg66853.html













Package installation question

2010-05-20 Thread Artimess
Could someone tell me:

1) Where does Lyx stores the packages in Mac, Linux, and Windows  if they
are different?
2) Should I do anything special to install a package beyond moving it to the
right directory and do a reconfigure?
3) How can I check if a package is available or installed?
4) Are the commands of the installed new package visible to Lyx front-end
and one  can select them through menu bar?
or should we use ERT for them?

Many thanks for your help,

Artimess


[ANNOUNCE] LyX 1.6.6 is released

2010-05-20 Thread Jürgen Spitzmüller
Public release of LyX version 1.6.6
===

We are pleased to announce the release of LyX 1.6.6. This is the sixth
maintenance release in the 1.6.x series.

The release features a long list of fixes and improvements. Yet a number
of crashes, reported by our users or our automatic stability testing
program, were fixed. Moreover, LyX was improved in many details. It also
introduces new features, such as support for the enchant spell checking
backend and for aspell language varieties (such as old and new German
spelling in parallel).

A detailed list of changes is appended below, remaining known problems
are listed in the file RELEASE-NOTES.

Please note particularly that there's an unresolved bug (#6680) that might
crash LyX when using undo with the outliner opened. This bug only manifests
itself when LyX is compiled against Qt 4.6, so we encourage you to compile
LyX against Qt 4.5, if possible. Also note that LyX 1.6.6 behaves way better
with Qt 4.6 than its predecessors. So despite the aforementioned problem, we
urge all distributors who use Qt 4.6 to upgrade to this version.

All users are encouraged to upgrade to this version.

In case you are wondering what LyX is, here is what
http://www.lyx.org/ has to say on the subject:

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

   LyX is for people that write and want their writing to look great,
   right out of the box. No more endless tinkering with formatting
   details, 'finger painting' font attributes or futzing around with
   page boundaries. You just write. In the background, Prof. Knuth's
   legendary TeX typesetting engine makes you look good.

   On screen, LyX looks like any word processor; its printed output --
   or richly cross-referenced PDF, just as readily produced -- looks
   like nothing else. Gone are the days of industrially bland .docs,
   all looking similarly not-quite-right, yet coming out unpredictably
   different on different printer drivers. Gone are the crashes
   'eating' your dissertation the evening before going to press.

   LyX is stable and fully featured. It is a multi-platform, fully
   internationalized application running natively on Unix/Linux, the
   Macintosh and modern Windows platforms.

You can download LyX 1.6.6 here (the .bz2 are compressed with bzip2,
which yields smaller files):

ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/lyx-1.6.6.tar.gz
ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/lyx-1.6.6.tar.bz2
ftp://ftp.devel.lyx.org/pub/lyx/stable/lyx-1.6.6.tar.gz
ftp://ftp.devel.lyx.org/pub/lyx/stable/lyx-1.6.6.tar.bz2

and it should propagate shortly to the following mirrors (which will
also host the .bz2 versions):

ftp://ftp.lip6.fr/pub/lyx/stable/1.6.x/lyx-1.6.6.tar.gz
http://lyx.cybermirror.org/stable/1.6.x/lyx-1.6.6.tar.gz
ftp://gd.tuwien.ac.at/publishing/tex/lyx/stable/1.6.x/lyx-1.6.6.tar.gz
ftp://ftp.ntua.gr/pub/X11/LyX/stable/1.6.x/lyx-1.6.6.tar.gz

http://sunsite.icm.edu.pl/pub/unix/editors/lyx/stable/1.6.x/lyx-1.6.6.tar.gz
http://lyx.mirror.fr/stable/1.6.x/lyx-1.6.6.tar.gz

Prebuilt binaries (rpms for Linux distributions, Mac OS X and Windows
installers) should soon be available at:

ftp://ftp.lyx.org/pub/lyx/bin/1.6.6/

If you already have the sources of the previous release (1.6.4.2), you may
want to apply one of the following patches instead:

ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/patch-1.6.6.gz
ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/patch-1.6.6.bz2

If you find what you think is a bug in LyX 1.6.6, you may 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/

If you're having trouble using the new version of LyX, or have a
question, first check out http://www.lyx.org/help/. If you can't find
the answer there, e-mail the LyX users' list (lyx-users at lists.lyx.org).

Enjoy!

The LyX team.


What's new in version 1.6.6?


** Updates:
***

* DOCUMENT INPUT/OUTPUT

- LyX now supports SVG images when either the librsvg library or
  Inkscape (version 0.47 recommended) is installed (bug 3349).

- LaTeX import (tex2lyx) now recognizes the types of quotes dependent
  on the document language. (When importing e.g. a Spanish document,
  LyX will use comillas latinas as quotes.)

- Add support for Aspell language varieties. This enables proper support
  of German old and new spelling in parallel when aspell (library) is
  used (bug 4657).

- Add support for the enchant spellchecker (bug 6226). LyX needs to be
  compiled --with-enchant in order to use this feature.


* USER INTERFACE

- Checking all opened files for external change after updating from SVN
  repository (part of bug 5211).

- Add a Close All menu item to the menu (bug 

Re: Package installation question

2010-05-20 Thread RIchard Heck

On 05/20/2010 07:38 AM, Artimess wrote:

Could someone tell me:

1) Where does Lyx stores the packages in Mac, Linux, and Windows  if
they are different?

If by package you mean LaTeX package, then the answer is: LyX 
doesn't store LaTeX packages or even have much to do with them. That is 
entirely a LaTeX issue, and the answer will therefore depend upon which 
TeX distribution you are using and how you have it configured. Plus, TeX 
can store packages in lots of locations. E.g., on my system, I have 
packages under /usr/share/texmf/, /usr/local/share/texmf/, and 
$HOME/texmf/, which is pretty normal.


If on the other hand by package you mean LyX layout file or module, 
then the answer is, yes, it is different on different OSs and, to make 
it more complex still, you can select your user directory using a 
command line option -userdir. On Linux, though, the user directory 
defaults to $HOME/.lyx/. I don't know what it is on Mac or Windows.



2) Should I do anything special to install a package beyond moving it
to the right directory and do a reconfigure?


Please see chapter 5 of the Customization manual.


3) How can I check if a package is available or installed?

If it's a LaTeX package, try HelpTeX Info, or just use the TeX tools 
for checking this, e.g., on *nix: kpsewhich mypackage.sty.



4) Are the commands of the installed new package visible to Lyx
front-end and one  can select them through menu bar? or should we use
ERT for them?

Unless LyX knows about this package, then its commands will not be 
available. You can tell LyX about the commands using a module, for some 
things. See e.g. the endnotes.module file that ships with LyX for an 
example.


Richard



Re: Multiple formatting questions with LyX 1.6.5 - book (Memoir)

2010-05-20 Thread RIchard Heck

On 05/20/2010 02:33 AM, Yannick Fournier wrote:


|  a) Changing cross-references links of subsubsection to a
| nicer section:
|  Is there a command similar to the one for renaming figure
| captions (see
|  below), in order to have for example subsections 3.4.3.2
| or section
|  3.4.3.2 instead of subsubsections 3.4.3.2 ?
|  \renewcommand{\f...@figure}{fig.~\thefigure}
|
|
| How are you getting the subsubsection... text? I just get
| numbers for
| references to subsubsections.

I simply use the standard option Reference and the associated On Page
On Page. The formatted reference and theReference  On PageOn Page
do not work, but we have been knowing that for weeks.
I think that my problems comes from this preamble line, that I found
somewhere in a FAQ some months ago:
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1

   
Ahh. In that case, \def\subsubsectionautorefname{Section} should do. See 
hyperref.sty.




|  d) Capital letters for cross-reference links at beginning
| of sentences:
|  When I make reference to a chapter at the beginning of a
| sentence, the
|  cross-reference link is:
|  chapter 2 discusses blablabla, instead of having a
| capital letter:
|  Chapter 2 discusses blablabla
|  Can I correct that?
|
|
| Again, what are you using to get these cross-references? If I do a
| formatted reference to a chapter, I always get caps. If
| you're using
| memoir's Cref command, etc, then see the memoir manual for what to do.

   
\renewcommand\chaptername{Chapter} will get you caps all the time, if 
I'm not mistaken. So far as I know, there is no way to get them some of 
the time.



One more question I forgot to ask:
How do you reduce the vertical space, in itemize and enumerate listings,
between the first item and the preceeding paragraph? I tried the following
preamble commands with success only between item lines:

   

Try posting this question separately. I'm not sure about this.

rh



Re: Multiple formatting questions with LyX 1.6.5 - book (Memoir)

2010-05-20 Thread Guenter Milde
On 2010-05-20, RIchard Heck wrote:
 On 05/20/2010 02:33 AM, Yannick Fournier wrote:

 One more question I forgot to ask:
 How do you reduce the vertical space, in itemize and enumerate listings,
 between the first item and the preceeding paragraph? I tried the following
 preamble commands with success only between item lines:
...

Do you use vertical space to separate paragraphs? 
There is a LyX bug. 

Workaround: in DocumentSettingsText
FormatParagaph Separator select 
  
   (*) Indent

and in the LaTeX preamble write 

   \usepackage{parskip}.

Otherwise, search for enumitem on wiki.lyx.org.

Günter




Fwd: request feature (again)

2010-05-20 Thread Sergio Celani



 Mensaje original 
Asunto: request feature (again)
Fecha:  Fri, 07 May 2010 12:51:49 -0300
De: Sergio Celani sergiocel...@gmail.com
A:  lyx-users-h...@lists.lyx.org



El 20/04/2010 11:42 a.m., Pavel Sanda escribió:

Sergio Celani wrote:
   

Actually, with some text editor it is possible to construct a panel with
particular  symbols, but this method is not good for beginer in LyX.
 

if you dont mind little bit hackery, its possible to do this manually by
editing stdtoolbars.inc file (adding new toolbar).

pavel

   



In fact, I have done just that and I've built two new toolbar, and it is 
not very difficult. But you have to manually edit stdtoolbars.inc file, 
but this is difficult for a beginner.
My idea is to have a new o extra customizable toolbar,   with symbols 
that are in other toolbars and easily editable.
I think in a customizable Symbol toolbar  with buttons of the frequently 
used symbols.
In this Extra toolbar , you can add as many symbols as you want from the 
the others toolbars, and also  and you can remove those symbols you 
don't need.  In this form, you can have a panel with symbols of the 
other panels.
I am now an enthusiastic user of Lyx, but I remember that this feature 
is present in Scientific Workplace, and it is really very useful. In SWP 
this panel is called Symbol Cache Toolbar.


sergio


configuration of modified toolbars

2010-05-20 Thread Sergio Celani



Hello users

I modified the original stdtoolbars.inc of LyX 1.6.5. according to my 
needs.


1. I added two new toolbars calledLetras griegas y otras  and 
Sets and Logic.
But in a computer with linux or with windows when I select these two new 
toolbar nothing happens in Lyx.
With LyX 2.0 (alpha) there exists the same problem, nothing happens in 
Lyx screen.


2. So, if I modified also the file default.ui and I add at the end the 
two new lines:


   Toolbars
standard on,top
view/update on,top
extra on,top,samerow
review auto,review,top
vcs off,top
table auto,table,bottom
math_panels auto,math,bottom
math auto,math,bottom
mathmacrotemplate auto,mathmacrotemplate,bottom
minibuffer off,bottom

 setandlogic on,bottom
Letrasgriegasyotras on,bottom

Then, in this case appear now correctly on the screen the new two toobars.

This is correct ?  It is necessary to modified the two files ?

Thanks

sergio



Spellcheck in 1.6.6 misses every second word

2010-05-20 Thread Sven Hoexter
Hi,
it seems to me that the spellcheck in LyX 1.6.6 misses every second word.
Am I the only one seeing this?

Running on Debian/sid with aspell aswell as enchant.

Sven
-- 
If God passed a mic to me to speak
I'd say stay in bed, world
Sleep in peace
   [The Cardigans - 03:45: No sleep]


Re: Spellcheck in 1.6.6 misses every second word

2010-05-20 Thread Uwe Stöhr

Am 20.05.2010 18:14, schrieb Sven Hoexter:


it seems to me that the spellcheck in LyX 1.6.6 misses every second word.
Am I the only one seeing this?


I don't see this on Windows with Aspell.

regards Uwe


[announce] LyXWinInstaller for LyX 1.6.6

2010-05-20 Thread Uwe Stöhr

Hello LyXers,

the alternative Windows installer for LyX 1.6.6 is now available.

This installer comes again with an update installer to update existing 
LyX 1.6.5 installation to LyX
1.6.6. NOTE: To be able to use this update installer, LyX 1.6.5 must 
have been installed with the

alternative Windows installer.

-

The installer for this version can be downloaded from:
http://developer.berlios.de/project/showfiles.php?group_id=5117release_id=17569
and
http://ftp.lyx.org/pub/lyx/bin/1.6.6/

(General infos about the installer can be found here:
 http://wiki.lyx.org/Windows/LyXWinInstaller )

Installer Changelog:
-
Version 4.23
- LyX 1.6.6
- updated to eLyXer 0.98
- updated to Ghostscript 8.71
- updated to ImageMagick 6.6.1-10
- updated to Python 2.6.5
- updated to MiKTeX 2.8 (build 3761)
- support to set Greek as LyX menu language (new feature in LyX 1.6.6)
- fix bug that it was not possible to change the language of the
  LyX menus via the LyX menu Tools-Preferences-Language Settings
- no longer use a *.bat file to start LyX
  (avoids one of the two windows that appeared for a few milliseconds
   when starting LyX)
-

happy LyXing
Uwe


Re: Spellcheck in 1.6.6 misses every second word

2010-05-20 Thread Hal Kierstead
I have this problem on my Mac.
Hal
On May 20, 2010, at 9:14 AM, Sven Hoexter wrote:

 Hi,
 it seems to me that the spellcheck in LyX 1.6.6 misses every second word.
 Am I the only one seeing this?
 
 Running on Debian/sid with aspell aswell as enchant.
 
 Sven
 -- 
 If God passed a mic to me to speak
 I'd say stay in bed, world
 Sleep in peace
   [The Cardigans - 03:45: No sleep]



Re: [announce] LyXWinInstaller for LyX 1.6.6

2010-05-20 Thread Hal Kierstead
Actually, I think the problem may be that it fails to check the next word after 
it finds a misspelled word.
Hal
On May 20, 2010, at 9:34 AM, Uwe Stöhr wrote:

 Hello LyXers,
 
 the alternative Windows installer for LyX 1.6.6 is now available.
 
 This installer comes again with an update installer to update existing LyX 
 1.6.5 installation to LyX
 1.6.6. NOTE: To be able to use this update installer, LyX 1.6.5 must have 
 been installed with the
 alternative Windows installer.
 
 -
 
 The installer for this version can be downloaded from:
 http://developer.berlios.de/project/showfiles.php?group_id=5117release_id=17569
 and
 http://ftp.lyx.org/pub/lyx/bin/1.6.6/
 
 (General infos about the installer can be found here:
 http://wiki.lyx.org/Windows/LyXWinInstaller )
 
 Installer Changelog:
 -
 Version 4.23
 - LyX 1.6.6
 - updated to eLyXer 0.98
 - updated to Ghostscript 8.71
 - updated to ImageMagick 6.6.1-10
 - updated to Python 2.6.5
 - updated to MiKTeX 2.8 (build 3761)
 - support to set Greek as LyX menu language (new feature in LyX 1.6.6)
 - fix bug that it was not possible to change the language of the
  LyX menus via the LyX menu Tools-Preferences-Language Settings
 - no longer use a *.bat file to start LyX
  (avoids one of the two windows that appeared for a few milliseconds
   when starting LyX)
 -
 
 happy LyXing
 Uwe



Re: Spellcheck in 1.6.6 misses every second word

2010-05-20 Thread Uwe Stöhr

Am 20.05.2010 19:01, schrieb Hal Kierstead:


Actually, I think the problem may be that it fails to check the next word after 
it finds a misspelled word.


As said, I cannot reproduce that with LyX 1.6.6 on Windows. Here every 
misspelled word is correctly recognized.


regards Uwe


Re: Spellcheck in 1.6.6 misses every second word

2010-05-20 Thread BH
On Thu, May 20, 2010 at 1:10 PM, Uwe Stöhr uwesto...@web.de wrote:
 Am 20.05.2010 19:01, schrieb Hal Kierstead:

 Actually, I think the problem may be that it fails to check the next word
 after it finds a misspelled word.

 As said, I cannot reproduce that with LyX 1.6.6 on Windows. Here every
 misspelled word is correctly recognized.

And I cannot reproduce it on Mac.

BH


Re: Package installation question

2010-05-20 Thread Uwe Stöhr

Am 20.05.2010 13:38, schrieb Artimess:


1) Where does Lyx stores the packages in Mac, Linux, and Windows  if
they are different?


What do you mean with package? They are different compared to what?


2) Should I do anything special to install a package beyond moving it to
the right directory and do a reconfigure?
3) How can I check if a package is available or installed?


I assume that you are talking about LaTeX-packages. These are handles 
and managed by your LaTeX distribution. Have a look at the documentation 
of your LaTeX distribution how to install packages.
(A list of installed LaTeX-packages can also be created via the LyX menu 
Tools-TeX-Information.)



4) Are the commands of the installed new package visible to Lyx
front-end and one  can select them through menu bar?
or should we use ERT for them?


In general you can use all LaTeX-packages in LyX via the TeX code inset 
(shortcut Crtl+L). The commands supported by LyX can of course be 
accessed via a LyX menu.

What package are you talking about?

regards Uwe


Enumeration of Theorems and definitions in a certain hierarchy...

2010-05-20 Thread iustifico
Hello,

In Lyx I am using the koma-skript. And I want this enumeration hierarchy

\part I  --  ROMAN Enumeration
\section 1 -- Arabic Enumeration
\subsection 1 -- Arabic Enumeration

Defintion I.1.1.1

\section 2
\subsection 1

Definition I.2.1.1

\section 3

Definition I.3.1  ==  Here it is one level lower!

\part II
\section 1
\subsection 1

Definition II.1.1.1

I would be glad if someone could tell me how to realize that.

Thank you very much,
iustifico


Enumeration of Theorems and definitions in a certain hierarchy...

2010-05-20 Thread iustifico
Hello,

In Lyx I am using the koma-skript. And I want this enumeration hierarchy

\part I  --  ROMAN Enumeration
\section 1 -- Arabic Enumeration
\subsection 1 -- Arabic Enumeration

Defintion I.1.1.1

\section 2
\subsection 1

Definition I.2.1.1

\section 3

Definition I.3.1  ==  Here it is one level lower!

\part II
\section 1
\subsection 1

Definition II.1.1.1

I would be glad if someone could tell me how to realize that.

Thank you very much,
iustifico


Re: Any possible way to have clickable table of contents when exporting to PDF?

2010-05-20 Thread Uwe Stöhr

Am 20.05.2010 11:09, schrieb Francois Berenger:


Here is what I did:
Document - Settings - PDF Properties

Then I checked almost everything, to be sure I would see
if any of these feature has some effect.


You don't need all of them the same time. the different options are 
described in sec. 6.9 PDF Properties of the LyX UserGuide (that you 
find in LyX's Help menu).
You can also have a look at the document settings of the LyX UserGuide 
as example what options are usually set.



Then, I hit the Save as Document Defaults button.
I think this button made all of these options being activated.


No, the options are already activated when pressing Apply or Save.
Save as Document Defaults is to make the current document settings the 
default settings when creating new LyX files.


regards Uwe


Re: Enumeration of Theorems and definitions in a certain hierarchy...

2010-05-20 Thread Uwe Stöhr

Am 20.05.2010 19:24, schrieb iustifico:


In Lyx I am using the koma-skript. And I want this enumeration hierarchy

\part I--  ROMAN Enumeration
\section 1-- Arabic Enumeration
\subsection 1-- Arabic Enumeration

Defintion I.1.1.1


This is hard to achieve and also uncommon. usually the chapter is not 
part of theorem numbering.

LyX supports this numbering style:

Definition 1.1.1

To get this, load the theorems module and additionally the theorems 
module numbered by section.

Attached is an example.

regards Uwe


newfile1.lyx
Description: application/lyx


Wrapping text around an image

2010-05-20 Thread Vladimir Giszpenc
Hi,

I am trying to wrap text around an image.  I attached how I was doing it
in HTML but I can't seem to figure out how to do this with LyX.

When I used the floating figure, the image was centered which was not
the style I was looking for.
When I used the \begin{wrapfigure} LaTex directive all the text was
placed under the image (sized to the image) instead of wrapping around.

Has anyone figured out how to do this?

I am using version 1.6.5 if that makes a difference.


Thanks,

Vlad

PS  I am not on the list so please CC me if you respond to the list.
Title: Example




Warning:  A bunch of text that wraps around the image. Ksj hdfklsj hlks jfhslkdf jsdf lkjs hdflksj flksjf hslkd jhsd lkfjhsdf lkjsahf ksaldjf haslkd sajlkhsadflk j hsflkjs hflksfslkdf jhsldfk
Sdlkfhsadflkjhf lkjsa hflksad hsalkd jfhslkd jfhsadflk jsa hflkajs hflkasj hfaslkd hsajlkfhsaldf kj hfl
Sdlkfhsadflkjhf lkjsa hflksad hsalkd jfhslkd jfhsadflk jsa hflkajs hflkasj hfaslkd hsajlkfhsaldf kj hfl
Sdlkfhsadflkjhf lkjsa hflksad hsalkd jfhslkd jfhsadflk jsa hflkajs hflkasj hfaslkd hsajlkfhsaldf kj hfl
Sdlkfhsadflkjhf lkjsa hflksad hsalkd jfhslkd jfhsadflk jsa hflkajs hflkasj hfaslkd hsajlkfhsaldf kj hfl
Sdlkfhsadflkjhf lkjsa hflksad hsalkd jfhslkd jfhsadflk jsa hflkajs hflkasj hfaslkd hsajlkfhsaldf kj hfl
Sdlkfhsadflkjhf lkjsa hflksad hsalkd jfhslkd jfhsadflk jsa hflkajs hflkasj hfaslkd hsajlkfhsaldf kj hfl
Sdlkfhsadflkjhf lkjsa hflksad hsalkd jfhslkd jfhsadflk jsa hflkajs hflkasj hfaslkd hsajlkfhsaldf kj hfl




Re: Spellcheck in 1.6.6 misses every second word

2010-05-20 Thread Jürgen Spitzmüller
Sven Hoexter wrote:
 it seems to me that the spellcheck in LyX 1.6.6 misses every second word.
 Am I the only one seeing this?

I don't see this (and I cannot imagine what could have caused this). Could you 
post a test file?

Jürgen


Re: Wrapping text around an image

2010-05-20 Thread Uwe Stöhr

Am 20.05.2010 19:39, schrieb Vladimir Giszpenc:


When I used the floating figure, the image was centered which was not
the style I was looking for.
When I used the \begin{wrapfigure} LaTex directive all the text was
placed under the image (sized to the image) instead of wrapping around.

Has anyone figured out how to do this?


Have a look at sec. 3.2.2 Wrap Floats of the EmbeddedObjects manual 
that you find in LyX's help menu. It is also described in the LyX 
Userguide, sec. 4.6.1.4 Wrap Floats.


regards Uwe


Re: Question: Skipping Numbers in Enumeration

2010-05-20 Thread Uwe Stöhr

Am 20.05.2010 19:36, schrieb Andreas Brack:


In LaTeX there is a command like \stepcounter{}, which skips a number in
the Numeration. For Example
1
1.1
\stepcounter{?}
1.3

Is there a command in lyx, which reaches the same??


You can do everything that you can do with LaTeX also in LyX. So simply 
use the \stepcounter command in a TeX code inset (shortcut Ctrl+L).

Attached is an example LyX file.

regards Uwe


newfile1.lyx
Description: application/lyx


Re: Nested Environments

2010-05-20 Thread Uwe Stöhr

Am 20.05.2010 20:24, schrieb iustifico:


Is there a way to do this:

Environment 1
Some Text...
Environment 2
Some Text...
Some Other Text--- This Text goes to environment 1!

Let's say Our Environment is a Definition or Proposition...


No, because Definitions and the like don't have nesting levels.
For enumeration and list items this is possible. See
http://wiki.lyx.org/LyX/Numbering

(I propose to use the mdwlist solution.)

regards Uwe


Re: Spellcheck in 1.6.6 misses every second word

2010-05-20 Thread Sven Hoexter
On Thu, May 20, 2010 at 08:28:59PM +0200, Sven Hoexter wrote:

 Round one:
 Catches Deis, correct it to Dies, next word detected is eni.
 
 Round two:
 Ignore Deis, next word detected is istt.

Thanks to xvidcap I could even create a short demo video (1.5MB).
http://sven.stormbind.net/lyx/spellchecklyx.mpeg

Sven
-- 
If God passed a mic to me to speak
I'd say stay in bed, world
Sleep in peace
   [The Cardigans - 03:45: No sleep]


Re: Equation Numbering change in RTL languages

2010-05-20 Thread Uwe Stöhr

Am 17.05.2010 21:49, schrieb Nosrat Maghsoudi:


Greetings, I am using LyX to typeset a book in Farsi. Equation numbers
change when referenced. For example  (2-12), becomes (21-2). Please help
if you have a solution.


Can you please provide a LyX example file?

I tried to reproduce with the attached LyX file, but there it seems to 
work correctly.


regards Uwe


newfile3.lyx
Description: application/lyx


Re: Spellcheck in 1.6.6 misses every second word

2010-05-20 Thread Sven Hoexter
On Thu, May 20, 2010 at 08:52:09PM +0200, Uwe Stöhr wrote:

Hi,

 Can you please report this as LyX bug?

Done:
http://www.lyx.org/trac/ticket/6708

Sven
-- 
If God passed a mic to me to speak
I'd say stay in bed, world
Sleep in peace
   [The Cardigans - 03:45: No sleep]


Re: Document-internal hyperlinks

2010-05-20 Thread Uwe Stöhr

Am 16.05.2010 20:41, schrieb Shawn Willden:


What I'd really like is for something like:

begin example
\label{code:53-5-703}\paragraph{...}...
...
As can be seen in \hyperlink{code:53-5-703}{53-5-703}, the composition
of the board is...
-end example-

where the first parameter to my hypothetical hyperlink function is the
label to be referenced and the second is the text of the reference.


I failed to achieve this in LaTeX. But when you ask this question on the 
comp.text.text newsgroup you will surely get a reply how to do this with 
LaTeX. If you know the solution for LaTeX, please report back and I'll 
help you to get it to work in an appropriate way in LyX.
I would like to post the result at the LyX Wiki so that others can use 
the same solution for legal texts.


thanks in advance and regards
Uwe


entry-level question

2010-05-20 Thread [Ricardo Rodriguez] eBioTIC.

Hi all,

New to this incredible edition framework, please, forgive me if I am 
missing something obvious.


One the most difficult decisions I'm facing while starting to work with 
LyX is to chose what Document class I must use for a given work. It 
seems to me really hard do decide between the multiple options without 
having an in depth knowledge of the whole LyX ecosystem.


So, please, could you advice me on what Document class I must use to 
edit a problems book?


It will accompany a Quantitative Genetics essay. It will include text 
paragraphs presenting the problems by themselves, each of them composed 
of several parts. After each part, some text paragraphs explaining the 
theoretical basis of the proposed solution will appear followed by the 
solution by itself that will include numbered mathematical formulas 
(they will be cross-referenced in the text) and some more text 
explaining the reasoning.


Must I use book? book (KOMA-Script)? Any other Document class?

Thank you so much for your help!

Greetings,

Ricardo

--
Ricardo Rodríguez
CTO
eBioTIC.
Life Sciences, Data Modeling and Information Management Systems



Re: Spellcheck in 1.6.6 misses every second word

2010-05-20 Thread Jürgen Spitzmüller
Sven Hoexter wrote:
 Sure see the attached german one.

Yes, I see it now. And I found out which bug fix caused this (fix for #6217).

Jürgen


Re: entry-level question

2010-05-20 Thread RIchard Heck

On 05/20/2010 03:58 PM, [Ricardo Rodriguez] eBioTIC. wrote:

Hi all,

New to this incredible edition framework, please, forgive me if I am
missing something obvious.

One the most difficult decisions I'm facing while starting to work
with LyX is to chose what Document class I must use for a given work.
It seems to me really hard do decide between the multiple options
without having an in depth knowledge of the whole LyX ecosystem.

So, please, could you advice me on what Document class I must use to
edit a problems book?

This decision is not as momentous as you might think. It's generally 
pretty easy to change from one class to another, within reason, e.g., 
from one book class to another. Going from book to article is a bit more 
of a challenge, because you lose chapters and so have to choose new 
layouts for them. But that's about it.


So: Do you need Chapters? If so, start with Book; if not, start with 
Article. If you want to know about the difference between the various 
book classes, then you can look at the koma-script docs (scrguien.pdf) 
for those, at the memoir docs, etc. All of these have lots of 
flexibility, but you may or may not need it.



It will accompany a Quantitative Genetics essay. It will include text
paragraphs presenting the problems by themselves, each of them
composed of several parts. After each part, some text paragraphs
explaining the theoretical basis of the proposed solution will appear
followed by the solution by itself that will include numbered
mathematical formulas (they will be cross-referenced in the text) and
some more text explaining the reasoning.

What I definitely WILL suggest is that you spend a bit of time creating 
character styles, or paragraph layouts, for these different sorts of 
things (Problem, Basis, Solution). This will allow you to apply a 
consistent format across your book. It will take work to get it 
right---you'll want to study chapter 5 of the customization manual, and 
you'll need to learn a little LaTeX (or else just ask questions)---but 
you do not have to do this work now and can mess with it over time. I'm 
attaching a trivial module that does nothing but define those three 
layouts, give them pretty labels, and make them do nothing special. Use 
them now; define their behavior later.


Richard


#\DeclareLyXModule{Problem Book}
#DescriptionBegin
#Trivial starting layouts for a problem book
#DescriptionEnd

Format 11

Style Problem
CopyStyleStandard
#   LatexTypeEnvironment
#   LatexNameproblem
LabelTypeStatic
LabelString  Problem
LabelSep MM
End

Style Basis
CopyStyleStandard
#   LatexTypeEnvironment
#   LatexNamebasis
LabelTypeStatic
LabelString  Theoretical Basis
LabelSep MM
End

Style Solution
CopyStyleStandard
#   LatexTypeEnvironment
#   LatexNamesolution
LabelTypeStatic
LabelString  Solution
LabelSep MM
End



Re: entry-level question

2010-05-20 Thread Rob Oakes
Hi Ricardo,

If you'd find it helpful, I've been working on a book appendix that
compares some of the most common LaTeX document classes.  It shows
examples, and goes over their more common features.  It's still in draft
form, but I would be happy to provide a download link if you think it
would be helpful.

If so, just send me a private message. It's a little bit too big to send
over emails.

Cheers,

Rob



Typographical devices, instead of numbers, for footnotes

2010-05-20 Thread Frederick Noronha
Is it possible for me to use typographical devices [like *, †, ‡, §,
‖, ¶] instead of number for footnotes, as I have end-notes as well
using numbers? Many thanks! FN

Frederick Noronha
+91-9822122436
+91-832-2409490


Re: Typographical devices, instead of numbers, for footnotes

2010-05-20 Thread curtis osterhoudt
I may be wrong here, but in looking at an old preamble file I have for which 
typograpical footnote devices work as you'd like, try the following: 

\renewcommand{\thefootnote}{\fnsymbol{footnote}}


 /**
As a species, we are forever sticking our fingers into the electric socket of 
the Universe to see what'll happen next. It's a trait that'll either save us or 
kill us, but by god it's what makes us human beings. I'd rather be in the 
company of people who look at Mars than people who contemplate humanity's navel 
-- other worlds are better than fluff. ~~Sir Terence David John Pratchett
***/





From: Frederick Noronha fredericknoro...@gmail.com
To: lyx-users@lists.lyx.org
Sent: Thu, May 20, 2010 3:26:32 PM
Subject: Typographical devices, instead of numbers, for footnotes

Is it possible for me to use typographical devices [like *, †, ‡, §,
‖, ¶] instead of number for footnotes, as I have end-notes as well
using numbers? Many thanks! FN

Frederick Noronha
+91-9822122436
+91-832-2409490



  

Re: Typographical devices, instead of numbers, for footnotes

2010-05-20 Thread Frederick Noronha
Thank you very much, it works fine! FN

Frederick Noronha
+91-9822122436
+91-832-2409490




On 21 May 2010 05:08, curtis osterhoudt flutz...@yahoo.com wrote:
 \renewcommand{\thefootnote}{\fnsymbol{footnote}}


Editing while spell-checking

2010-05-20 Thread Frederick Noronha
Is there some way I could edit (make small changes) to a file, at the
same time as I'm spellchecking it?

Reason: I notice some small word needs to be italicised or changed to
lower-case, but under the current way of doing things, I have to exit
from the spellchecker, make the change, and then go back.

Please help if possible. FN

Frederick Noronha
+91-9822122436
+91-832-2409490


Re: Lyx for Farsi under Mac OS

2010-05-20 Thread Uwe Stöhr

Am 21.05.2010 00:12, schrieb Amir:


I was wondering whether or not I can use Lyx to create
  Farsi/English documents under Mac OS.
I saw that Lyx can be used for creating Farsi documents
  under Windows. How about Mac OS?


It should work on all platforms. You only need to install the LaTeX-package arabi. Then 
reconfigure LyX.


regards Uwe


Re: Typographical devices, instead of numbers, for footnotes

2010-05-20 Thread Uwe Stöhr

Am 20.05.2010 23:26, schrieb Frederick Noronha:


Is it possible for me to use typographical devices [like *, †, ‡, §,
‖, ¶] instead of number for footnotes, as I have end-notes as well
using numbers?


Se sec. 4.2.1 Footnote Numbering of the EmbeddedObjects manual that you find 
in LyX's Help menu.

regards Uwe


Lower-res PDFs

2010-05-20 Thread Frederick Noronha
Is there some way I could create lower-res PDFs, if I want to share
them via the Net? Hi-res photos meant for printing can make for slow
transmission via the Net. Thanks! FN

Frederick Noronha
+91-9822122436
+91-832-2409490


Re: Editing while spell-checking

2010-05-20 Thread Uwe Stöhr

Am 21.05.2010 01:50, schrieb Frederick Noronha:


Is there some way I could edit (make small changes) to a file, at the
same time as I'm spellchecking it?


Due to a bug not in LyX 1.6.6. In LyX 2.0 this will be possible.

regards Uwe


Re: Lower-res PDFs

2010-05-20 Thread Uwe Stöhr

Am 21.05.2010 01:54, schrieb Frederick Noronha:


Is there some way I could create lower-res PDFs, if I want to share
them via the Net?


Not With LyX but with PDF tools. You can force to compress the images inside existing PDFs, for 
example with Acrobat or Foxit PDF Editor.


regards Uwe


Re: Any possible way to have clickable table of contents when exporting to PDF?

2010-05-20 Thread Francois Berenger

Hello,

I played with this option without any effect.
Whatever PDF reader I use, TOC is not clickable.

Is there a trick when exporting the document?
Like only some way to generate the PDF will manage/preserve links?

My LyX version is 1.6.5 for RHEL 5, if it matters.
---
lyx-common-1.6.5-5.el5
lyx-fonts-1.6.5-5.el5
lyx-1.6.5-5.el5
---

Regards,
F.

Wolfgang Engelmann wrote:

Am Thursday 20 May 2010 07:08:07 schrieb Francois Berenger:

Hello,

When I export my document to PDF, the TOC is not composed
of links to corresponding parts (although URLs are clickable
inside my document).

What can I do to make TOC clickable?


Document>preferences>PDF properties>hyperref support
 ..>hyperlinks
 
..>backreference>page

Wolfgang

It would be a killer feature in order to show
my colleagues we can get rid of MS Word and produce
documents in format that is easy to version control
(and so to work on at several people at the same time,
like source code). :-)

Thanks a lot for any help,
Francois.

PS:
This question was asked long time ago on this ML,
but I cannot find answers to it.
cf.
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg66853.html








RE: Multiple formatting questions with LyX 1.6.5 - book (Memoir)

2010-05-20 Thread Yannick Fournier
Dear Richard,

First: thanks, your tricks with "openany" and setting the Biblio to \smaller
(simply by changing Text style, I feel stupid) provoked a reduction of 10
pages out of 240 :)
For the remaining open questions:

| > a) Changing cross-references links of "subsubsection" to a 
| nicer "section":
| > Is there a command similar to the one for renaming figure 
| captions (see
| > below), in order to have for example "subsections 3.4.3.2" 
| or "section
| > 3.4.3.2" instead of "subsubsections 3.4.3.2" ?
| > \renewcommand{\f...@figure}{fig.~\thefigure}
| >
| >
| How are you getting the "subsubsection..." text? I just get 
| numbers for 
| references to subsubsections.

I simply use the standard option "" and the associated "On Page
". The formatted reference and the " On Page "
do not work, but we have been knowing that for weeks.
I think that my problems comes from this preamble line, that I found
somewhere in a FAQ some months ago:
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1

 
| > d) Capital letters for cross-reference links at beginning 
| of sentences:
| > When I make reference to a chapter at the beginning of a 
| sentence, the
| > cross-reference link is:
| > "chapter 2 discusses blablabla", instead of having a 
| capital letter:
| > "Chapter 2 discusses blablabla"
| > Can I correct that?
| >
| >
| Again, what are you using to get these cross-references? If I do a 
| "formatted reference" to a chapter, I always get caps. If 
| you're using 
| memoir's Cref command, etc, then see the memoir manual for what to do.

See above.


One more question I forgot to ask:
How do you reduce the vertical space, in itemize and enumerate listings,
between the first item and the preceeding paragraph? I tried the following
preamble commands with success only between item lines:
\let\oldenumerate=\enumerate
\def\enumerate{\oldenumerate%
\setlength{\itemsep}{-1pt}\setlength{\parsep}{-1pt}}%
\let\olditemize=\itemize
\def\itemize{\olditemize%
\setlength{\itemsep}{-1pt}
\setlength{\parsep}{-1pt}}%

However, these commands generate an undefined controlled sequence upon
compilation:
\usepackage{setspace}
\let\olditemize=\itemize
\def\itemize{
\olditemize
\setlength{\itemsep}{-0.0ex}
\setstretch{0.8}
}
\let\oldenumerate=\enumerate
\def\enumerate{
\oldenumerate
\setlength{\itemsep}{-0.0ex}
\setstretch{0.8}
}

Yannick



Re: Any possible way to have clickable table of contents when exporting to PDF?

2010-05-20 Thread Olivier Ripoll

Francois Berenger wrote:

Hello,

I played with this option without any effect.
Whatever PDF reader I use, TOC is not clickable.

Is there a trick when exporting the document?
Like only some way to generate the PDF will manage/preserve links?


There are 3 pdf export methods. At least, with pdflatex and ps2pdf, the 
TOC is made with clickable links here (LyX 1.6.5, WinXP) (you need to 
check the "use hyperref support" box).


However, I would advise you to use pdf bookmarks instead of a clickable 
TOC. They are always available, while the TOC needs you to come back to 
its page. Of course you may use both, but to impress your colleagues, 
the pdf bookmarks on the sides are much better. That in the same 
settings place, on the "Bookmarks" tab.


Best regards,

Olivier



My LyX version is 1.6.5 for RHEL 5, if it matters.
---
lyx-common-1.6.5-5.el5
lyx-fonts-1.6.5-5.el5
lyx-1.6.5-5.el5
---

Regards,
F.

Wolfgang Engelmann wrote:

Am Thursday 20 May 2010 07:08:07 schrieb Francois Berenger:

Hello,

When I export my document to PDF, the TOC is not composed
of links to corresponding parts (although URLs are clickable
inside my document).

What can I do to make TOC clickable?


Document>preferences>PDF properties>hyperref support
 
..>hyperlinks
 
..>backreference>page


Wolfgang

It would be a killer feature in order to show
my colleagues we can get rid of MS Word and produce
documents in format that is easy to version control
(and so to work on at several people at the same time,
like source code). :-)

Thanks a lot for any help,
Francois.

PS:
This question was asked long time ago on this ML,
but I cannot find answers to it.
cf.
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg66853.html











Re: Any possible way to have clickable table of contents when exporting to PDF?

2010-05-20 Thread Francois Berenger

Hello,

Thanks for your help, it started working.
I was almost going to givup.

Here is what I did:
Document -> Settings -> PDF Properties

Then I checked almost everything, to be sure I would see
if any of these feature has some effect.

Then, I hit the "Save as Document Defaults" button.
I think this button made all of these options being activated.

Then Ok button then Close button.
I exported to PDF using pdflatex facility.
Then, my PDF have all these sexy features. :)

Regards,
F.

Olivier Ripoll wrote:

Francois Berenger wrote:

Hello,

I played with this option without any effect.
Whatever PDF reader I use, TOC is not clickable.

Is there a trick when exporting the document?
Like only some way to generate the PDF will manage/preserve links?


There are 3 pdf export methods. At least, with pdflatex and ps2pdf, the 
TOC is made with clickable links here (LyX 1.6.5, WinXP) (you need to 
check the "use hyperref support" box).


However, I would advise you to use pdf bookmarks instead of a clickable 
TOC. They are always available, while the TOC needs you to come back to 
its page. Of course you may use both, but to impress your colleagues, 
the pdf bookmarks on the sides are much better. That in the same 
settings place, on the "Bookmarks" tab.


Best regards,

Olivier



My LyX version is 1.6.5 for RHEL 5, if it matters.
---
lyx-common-1.6.5-5.el5
lyx-fonts-1.6.5-5.el5
lyx-1.6.5-5.el5
---

Regards,
F.

Wolfgang Engelmann wrote:

Am Thursday 20 May 2010 07:08:07 schrieb Francois Berenger:

Hello,

When I export my document to PDF, the TOC is not composed
of links to corresponding parts (although URLs are clickable
inside my document).

What can I do to make TOC clickable?


Document>preferences>PDF properties>hyperref support
 
..>hyperlinks
 
..>backreference>page


Wolfgang

It would be a killer feature in order to show
my colleagues we can get rid of MS Word and produce
documents in format that is easy to version control
(and so to work on at several people at the same time,
like source code). :-)

Thanks a lot for any help,
Francois.

PS:
This question was asked long time ago on this ML,
but I cannot find answers to it.
cf.
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg66853.html













Package installation question

2010-05-20 Thread Artimess
Could someone tell me:

1) Where does Lyx stores the packages in Mac, Linux, and Windows  if they
are different?
2) Should I do anything special to install a package beyond moving it to the
right directory and do a reconfigure?
3) How can I check if a package is available or installed?
4) Are the commands of the installed new package visible to Lyx front-end
and one  can select them through menu bar?
or should we use ERT for them?

Many thanks for your help,

Artimess


[ANNOUNCE] LyX 1.6.6 is released

2010-05-20 Thread Jürgen Spitzmüller
Public release of LyX version 1.6.6
===

We are pleased to announce the release of LyX 1.6.6. This is the sixth
maintenance release in the 1.6.x series.

The release features a long list of fixes and improvements. Yet a number
of crashes, reported by our users or our automatic stability testing
program, were fixed. Moreover, LyX was improved in many details. It also
introduces new features, such as support for the enchant spell checking
backend and for aspell language varieties (such as old and new German
spelling in parallel).

A detailed list of changes is appended below, remaining known problems
are listed in the file RELEASE-NOTES.

Please note particularly that there's an unresolved bug (#6680) that might
crash LyX when using undo with the outliner opened. This bug only manifests
itself when LyX is compiled against Qt 4.6, so we encourage you to compile
LyX against Qt 4.5, if possible. Also note that LyX 1.6.6 behaves way better
with Qt 4.6 than its predecessors. So despite the aforementioned problem, we
urge all distributors who use Qt 4.6 to upgrade to this version.

All users are encouraged to upgrade to this version.

In case you are wondering what LyX is, here is what
http://www.lyx.org/ has to say on the subject:

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

   LyX is for people that write and want their writing to look great,
   right out of the box. No more endless tinkering with formatting
   details, 'finger painting' font attributes or futzing around with
   page boundaries. You just write. In the background, Prof. Knuth's
   legendary TeX typesetting engine makes you look good.

   On screen, LyX looks like any word processor; its printed output --
   or richly cross-referenced PDF, just as readily produced -- looks
   like nothing else. Gone are the days of industrially bland .docs,
   all looking similarly not-quite-right, yet coming out unpredictably
   different on different printer drivers. Gone are the crashes
   'eating' your dissertation the evening before going to press.

   LyX is stable and fully featured. It is a multi-platform, fully
   internationalized application running natively on Unix/Linux, the
   Macintosh and modern Windows platforms.

You can download LyX 1.6.6 here (the .bz2 are compressed with bzip2,
which yields smaller files):

ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/lyx-1.6.6.tar.gz
ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/lyx-1.6.6.tar.bz2
ftp://ftp.devel.lyx.org/pub/lyx/stable/lyx-1.6.6.tar.gz
ftp://ftp.devel.lyx.org/pub/lyx/stable/lyx-1.6.6.tar.bz2

and it should propagate shortly to the following mirrors (which will
also host the .bz2 versions):

ftp://ftp.lip6.fr/pub/lyx/stable/1.6.x/lyx-1.6.6.tar.gz
http://lyx.cybermirror.org/stable/1.6.x/lyx-1.6.6.tar.gz
ftp://gd.tuwien.ac.at/publishing/tex/lyx/stable/1.6.x/lyx-1.6.6.tar.gz
ftp://ftp.ntua.gr/pub/X11/LyX/stable/1.6.x/lyx-1.6.6.tar.gz

http://sunsite.icm.edu.pl/pub/unix/editors/lyx/stable/1.6.x/lyx-1.6.6.tar.gz
http://lyx.mirror.fr/stable/1.6.x/lyx-1.6.6.tar.gz

Prebuilt binaries (rpms for Linux distributions, Mac OS X and Windows
installers) should soon be available at:

ftp://ftp.lyx.org/pub/lyx/bin/1.6.6/

If you already have the sources of the previous release (1.6.4.2), you may
want to apply one of the following patches instead:

ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/patch-1.6.6.gz
ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/patch-1.6.6.bz2

If you find what you think is a bug in LyX 1.6.6, you may either
e-mail the LyX developers' mailing list (lyx-devel  lists.lyx.org),
or open a bug report at http://www.lyx.org/trac/

If you're having trouble using the new version of LyX, or have a
question, first check out http://www.lyx.org/help/. If you can't find
the answer there, e-mail the LyX users' list (lyx-users  lists.lyx.org).

Enjoy!

The LyX team.


What's new in version 1.6.6?


** Updates:
***

* DOCUMENT INPUT/OUTPUT

- LyX now supports SVG images when either the librsvg library or
  Inkscape (version 0.47 recommended) is installed (bug 3349).

- LaTeX import (tex2lyx) now recognizes the types of quotes dependent
  on the document language. (When importing e.g. a Spanish document,
  LyX will use comillas latinas as quotes.)

- Add support for Aspell language varieties. This enables proper support
  of German old and new spelling in parallel when "aspell (library)" is
  used (bug 4657).

- Add support for the enchant spellchecker (bug 6226). LyX needs to be
  compiled --with-enchant in order to use this feature.


* USER INTERFACE

- Checking all opened files for external change after updating from SVN
  repository (part of bug 5211).

- Add a Close All menu item to the menu (bug 740).


Re: Package installation question

2010-05-20 Thread RIchard Heck

On 05/20/2010 07:38 AM, Artimess wrote:

Could someone tell me:

1) Where does Lyx stores the packages in Mac, Linux, and Windows  if
they are different?

If by "package" you mean "LaTeX package", then the answer is: LyX 
doesn't store LaTeX packages or even have much to do with them. That is 
entirely a LaTeX issue, and the answer will therefore depend upon which 
TeX distribution you are using and how you have it configured. Plus, TeX 
can store packages in lots of locations. E.g., on my system, I have 
packages under /usr/share/texmf/, /usr/local/share/texmf/, and 
$HOME/texmf/, which is pretty normal.


If on the other hand by "package" you mean "LyX layout file or module", 
then the answer is, yes, it is different on different OSs and, to make 
it more complex still, you can select your user directory using a 
command line option "-userdir". On Linux, though, the user directory 
defaults to $HOME/.lyx/. I don't know what it is on Mac or Windows.



2) Should I do anything special to install a package beyond moving it
to the right directory and do a reconfigure?


Please see chapter 5 of the Customization manual.


3) How can I check if a package is available or installed?

If it's a LaTeX package, try Help>TeX Info, or just use the TeX tools 
for checking this, e.g., on *nix: kpsewhich mypackage.sty.



4) Are the commands of the installed new package visible to Lyx
front-end and one  can select them through menu bar? or should we use
ERT for them?

Unless LyX knows about this package, then its commands will not be 
available. You can tell LyX about the commands using a module, for some 
things. See e.g. the endnotes.module file that ships with LyX for an 
example.


Richard



Re: Multiple formatting questions with LyX 1.6.5 - book (Memoir)

2010-05-20 Thread RIchard Heck

On 05/20/2010 02:33 AM, Yannick Fournier wrote:


|>  a) Changing cross-references links of "subsubsection" to a
| nicer "section":
|>  Is there a command similar to the one for renaming figure
| captions (see
|>  below), in order to have for example "subsections 3.4.3.2"
| or "section
|>  3.4.3.2" instead of "subsubsections 3.4.3.2" ?
|>  \renewcommand{\f...@figure}{fig.~\thefigure}
|>
|>
| How are you getting the "subsubsection..." text? I just get
| numbers for
| references to subsubsections.

I simply use the standard option "" and the associated "On Page
". The formatted reference and the"  On Page"
do not work, but we have been knowing that for weeks.
I think that my problems comes from this preamble line, that I found
somewhere in a FAQ some months ago:
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1

   
Ahh. In that case, \def\subsubsectionautorefname{Section} should do. See 
hyperref.sty.




|>  d) Capital letters for cross-reference links at beginning
| of sentences:
|>  When I make reference to a chapter at the beginning of a
| sentence, the
|>  cross-reference link is:
|>  "chapter 2 discusses blablabla", instead of having a
| capital letter:
|>  "Chapter 2 discusses blablabla"
|>  Can I correct that?
|>
|>
| Again, what are you using to get these cross-references? If I do a
| "formatted reference" to a chapter, I always get caps. If
| you're using
| memoir's Cref command, etc, then see the memoir manual for what to do.

   
\renewcommand\chaptername{Chapter} will get you caps all the time, if 
I'm not mistaken. So far as I know, there is no way to get them some of 
the time.



One more question I forgot to ask:
How do you reduce the vertical space, in itemize and enumerate listings,
between the first item and the preceeding paragraph? I tried the following
preamble commands with success only between item lines:

   

Try posting this question separately. I'm not sure about this.

rh



Re: Multiple formatting questions with LyX 1.6.5 - book (Memoir)

2010-05-20 Thread Guenter Milde
On 2010-05-20, RIchard Heck wrote:
> On 05/20/2010 02:33 AM, Yannick Fournier wrote:

>> One more question I forgot to ask:
>> How do you reduce the vertical space, in itemize and enumerate listings,
>> between the first item and the preceeding paragraph? I tried the following
>> preamble commands with success only between item lines:
...

Do you use vertical space to separate paragraphs? 
There is a LyX bug. 

Workaround: in Document>Settings>Text
Format>Paragaph Separator select 
  
   (*) Indent

and in the LaTeX preamble write 

   \usepackage{parskip}.

Otherwise, search for "enumitem" on wiki.lyx.org.

Günter




Fwd: request feature (again)

2010-05-20 Thread Sergio Celani



 Mensaje original 
Asunto: request feature (again)
Fecha:  Fri, 07 May 2010 12:51:49 -0300
De: Sergio Celani 
A:  lyx-users-h...@lists.lyx.org



El 20/04/2010 11:42 a.m., Pavel Sanda escribió:

Sergio Celani wrote:
   

Actually, with some text editor it is possible to construct a panel with
particular  symbols, but this method is not good for beginer in LyX.
 

if you dont mind little bit hackery, its possible to do this manually by
editing stdtoolbars.inc file (adding new toolbar).

pavel

   



In fact, I have done just that and I've built two new toolbar, and it is 
not very difficult. But you have to manually edit stdtoolbars.inc file, 
but this is difficult for a beginner.
My idea is to have a new o extra customizable toolbar,   with symbols 
that are in other toolbars and easily editable.
I think in a customizable Symbol toolbar  with buttons of the frequently 
used symbols.
In this Extra toolbar , you can add as many symbols as you want from the 
the others toolbars, and also  and you can remove those symbols you 
don't need.  In this form, you can have a panel with symbols of the 
other panels.
I am now an enthusiastic user of Lyx, but I remember that this feature 
is present in Scientific Workplace, and it is really very useful. In SWP 
this panel is called Symbol Cache Toolbar.


sergio


  1   2   >