Problems in this section of preamble...........

2011-09-28 Thread Charlie

Debian Wheezy [testing]

LyX 2.0.1

article (KOMA-Script) class

If this section is added to the preamble:

\titleformat{\subsection}[wrap]
  {\normalfont\fontseries{b}\selectfont\filright}
  {\thesection.}{.5em}{}

The subsection does not display other than the section number i.e,

Section 2

Shows only subsection 2 and 2 and 2

Rather than subsection 2.1 and 2.2 and 2.3

The above addition worked for previous LyX versions and is in various
of my templates, but doesn't work now.

I have gone through the preamble, line by line, to isolate this section
and discover it's the problem.

Can someone please troubleshoot this for me and tell me what I'm doing
wrong here, or rather have done wrong. I don't know where to start.

Thank you,
Charlie
-- 
Registered Linux User:- 329524
***

There is no remedy for love than to love more. Henry David Thoreau

***

Debian GNU/Linux - just the best way to create magic

-


Re: Problems in this section of preamble...........

2011-09-28 Thread Charlie
 On Wed, 28 Sep 2011 16:30:41 +1000 Charlie aries...@skymesh.com.au
 suggested this:

\titleformat{\subsection}[wrap]
  {\normalfont\fontseries{b}\selectfont\filright}
  {\thesection.}{.5em}{}

Apologies for the noise, but I found the problem, it appears to be here:
{\thesection.}
  ^ The full stop

My apologies again.

Charlie
-- 
Registered Linux User:- 329524
***

Whatever the human law may be, neither an individual nor a nation can
commit the least act of injustice against the obscurest individual
without having to pay the penalty for it. ...Henry David Thoreau

***

Debian GNU/Linux - just the best way to create magic

-


A Lyx-beamer question

2011-09-28 Thread Murat Yildizoglu
Hi,

When I do beamers in a standard latex editor, I put

\beamerdefaultoverlayspecification{+-}

in the header to have the list show progressively their items (by
pausing between items)

When I use the beamer template of Lyx, this instruction in the
preamble seems ineffective: I get plain slides like if I have given
then handout option to the class.

I can only get the original setup if I put this instruction in each
slide, in an ERB.

Is there a way to catch back my initial trick (putting it only once
for all slides)? Why what I put in the preamble is not used during the
compilation (means that, I imagine, something else in the template
reverses it)?

Murat

-- 
Prof. Murat Yildizoglu
Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

yi...@u-bordeaux4.fr
http://yildizoglu.info
http://www.twitter.com/yildizoglu


Re: Multilingual difficulties for beginners with Lyx

2011-09-28 Thread Guenter Milde
On 2011-09-28, Lisa Andrews wrote:
 I successfully use multiple languages in Lyx with Xetex by specifying
 packages and fonts in the document preamble, or using inline ERT
 (usepackage \fontspec etc)

 I see on http://wiki.lyx.org/LyX/XeTeX, where it describes a similar
 setup to my own, that it says:

 Note: the following steps are only necessary up to LyX 1.6.x. As of
 LyX 2.0, you will just need to click Document→Settings...→Fonts→Use
 non-TeX fonts (via XeTeX/LuaTeX). Then you can immediately View→PDF
 (XeTeX). 

 However, when I tried this out for someone I recently installed Lyx
 for (2.0.1 on a Mac, I use 2.0rc3 Win7) it seems that Xetex had no
 idea which fonts to use for Chinese (the default font was in English).
 Use non-Tex fonts was selected, document language package made no
 difference. Note the 1.6.x approach with the preamble did work.

 Shall I tell this user to put fontspec etc. into their preamble the
 way I do, should I try the xeCJK macro mentioned in the wiki.lyx xetex
 page, or have I missed something?

With LyX 2.x, you can load fontspec and set the main font families with
use non-TeX fonts and the GUI.

If this main font contains Chinese characters, it should work for Chinese.

If you want to use a different font for Chinese (or any other non-Latin
script) via polyglossia, this needs to be set up in the preamble. By
default, polyglossia is loaded, too, when use non-TeX fonts is true, so
you don't need to load it again.

Hint: With ViewSource, you can check the complete LaTeX preamble written
by LyX if you activate the Complete Source box.

Günter




Re: Merge Adjacent Citations?

2011-09-28 Thread andrewufrank
Julio Rojas jcredberry at gmail.com writes:

 
 If you are using Biblatex, you can use \cites, \parencites,
 \footcites, \textcites, \supercites.
 -
 Julio Rojas
 jcredberry at gmail.com
 
 On Tue, Apr 5, 2011 at 11:14 PM, Richard Heck rgheck at comcast.net wrote:
  On 04/05/2011 02:57 PM, Greg Kise wrote:
 LyXers,
 
  Is there any way to merge adjacent citations?
 
  I'm using BibDesk to search citations and then Send to Lyx script, works
  very nice. However the citations are sent to LyX one at a time (unless I
  ctrl^select, but sometimes you slip). Is there any way to merge adjacent
  citations to make multi-citations? Like (Greg 2002, Greg et. al. 2010,
  etc.)?
 
  http://www.lyx.org/trac/ticket/4842
 
  Richard
 

 
the problem is to do the merge within lyx - the reply seems not a solution to
the original problem in the context of lyx.

i have the same question and need a solution in lyx!
andrew





2 indexes in Lyx 2

2011-09-28 Thread sududur
Dear Lyxers,

I'm trying to use Lyx for my thesis, but I know nothing or almost nothing
about latex. [?]
I'd like to make 2 indexes with lyx 2.0.0
but I can't find the way to make it work.
I've constructed the first one with Lyx 1.6, I've declared 2 indexes in Lyx
2, but when I want to export in PDF, it doesn't work.
If I use one index, it's ok.
I think it's because of a bad preamble, but I don't know what to do
: \renewcommand{\indexname}{Index général}

thanks for your help[?]
Nathalie


Here the errors :

)) (C:\Program Files (x86)\MiKTeX 2.8\tex\latex\splitindex\splitidx.sty

Package: splitidx 2009/02/28 v1.1a multiple indices for LaTeX

! LaTeX Error: Command \see already defined.

Or name \end... illegal, see p.192 of the manual.


! LaTeX Error: Command \printindex already defined.

 Or name \end... illegal, see p.192 of the manual.

] [2]

! Undefined control sequence.

argument \@indexfile

 l.176 ...tbf{Nathalie Desmet\sindex[ind]{Desmet} }

The control sequence at the end of the top line

of your error message was never \def'ed. If you have

misspelled it (e.g., `\hobx'), type `I' and the correct

spelling (e.g., `I\hbox'). Otherwise just continue,

and I'll forget about whatever was undefined.

! Missing number, treated as zero.

to be read again

{

l.176 ...tbf{Nathalie Desmet\sindex[ind]{Desmet} }

 A number should have been here; I inserted `0'.

(If you can't figure out why I needed to see a number,

look up `weird error' in the index to The TeXbook.)
B68.gif33F.gif

Re: 2 indexes in Lyx 2

2011-09-28 Thread Francesco Menoncin

  
  
Il 28/09/2011 11:07, sududur ha scritto:
Dear Lyxers,
  
  
  I'm trying to use Lyx for my thesis, but I know nothing or
almost nothing about latex. 
  I'd like to make 2 indexes with lyx 2.0.0
  but I can't find the way to make it work.
  I've constructed the first one with Lyx 1.6, I've declared 2
indexes in Lyx 2, but when I want to export in PDF, it doesn't
work.
  If I use one index, it's ok.
  I think it's because of a bad preamble, but I don't know what
to do :\renewcommand{\indexname}{Index gnral}
  
  
  thanks for your help
  Nathalie
  
  
  
  
  Here the errors :
  
  
  )) ("C:\Program Files (x86)\MiKTeX
2.8\tex\latex\splitindex\splitidx.sty"
Package:
  splitidx 2009/02/28 v1.1a multiple indices for LaTeX
!
  LaTeX Error: Command \see already defined.
 Or
  name \end... illegal, see p.192 of the manual.

  

!
  LaTeX Error: Command \printindex already defined.
 Or
  name \end... illegal, see p.192 of the manual.

  ] [2]
!
  Undefined control sequence.
argument
  \@indexfile 
 
l.176
  ...tbf{Nathalie Desmet\sindex[ind]{Desmet} }

  The control sequence at the end of the top line
of
  your error message was never \def'ed. If you have
misspelled
  it (e.g., `\hobx'), type `I' and the correct
spelling
  (e.g., `I\hbox'). Otherwise just continue,
and
  I'll forget about whatever was undefined.
!
  Missing number, treated as zero.
to
  be read again 
 {
l.176
  ...tbf{Nathalie Desmet\sindex[ind]{Desmet} }
 
A
  number should have been here; I inserted `0'.
(If
  you can't figure out why I needed to see a number,
look
  up `weird error' in the index to The TeXbook.)
  
  
  
  
  



If you are on Windows OS, in order to make the multiple indexes work
you have to download a "perl interpreter" (see #7579 on LyX Ticket
Tracker).
I had not such a problem with Linux (Ubuntu).

-- 

Francesco Menoncin
Universit degli Studi di Brescia
Facolt di Economia
Via S. Faustino, 74/B
25122 Brescia (Italy)
Tel: 0039-030-2988806
Fax: 0039-030-2988837
E-mail: menon...@eco.unibs.it
web: www.eco.unibs.it/~menoncin/

  



Re: A Lyx-beamer question

2011-09-28 Thread Liviu Andronic
On Wed, Sep 28, 2011 at 8:41 AM, Murat Yildizoglu myi...@gmail.com wrote:
 Hi,

 When I do beamers in a standard latex editor, I put

 \beamerdefaultoverlayspecification{+-}

I'm not familiar with this, btu this is the exact same instruction in
File  New from Template  beamer.lyx. Try that and see if it works.
(The note just before the first frame.)

Liviu


 in the header to have the list show progressively their items (by
 pausing between items)

 When I use the beamer template of Lyx, this instruction in the
 preamble seems ineffective: I get plain slides like if I have given
 then handout option to the class.

 I can only get the original setup if I put this instruction in each
 slide, in an ERB.

 Is there a way to catch back my initial trick (putting it only once
 for all slides)? Why what I put in the preamble is not used during the
 compilation (means that, I imagine, something else in the template
 reverses it)?

 Murat

 --
 Prof. Murat Yildizoglu
 Université Montesquieu Bordeaux IV
 GREThA (UMR CNRS 5113)
 Avenue Léon Duguit
 33608 Pessac cedex
 France

 yi...@u-bordeaux4.fr
 http://yildizoglu.info
 http://www.twitter.com/yildizoglu




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


Re: A Lyx-beamer question

2011-09-28 Thread Manolo Martínez
On 09/28/11 at 11:48am, Liviu Andronic wrote:
 On Wed, Sep 28, 2011 at 8:41 AM, Murat Yildizoglu myi...@gmail.com wrote:
  Hi,
 
  When I do beamers in a standard latex editor, I put
 
  \beamerdefaultoverlayspecification{+-}
 
 I'm not familiar with this, btu this is the exact same instruction in
 File  New from Template  beamer.lyx. Try that and see if it works.
 (The note just before the first frame.)
 
 Liviu
 
I have never got this to work in the LyX Beamer template. Always
end up adding Pauses galore.

Manolo


Re: 2 indexes in Lyx 2

2011-09-28 Thread sududur
Thanks Francesco,
Yes I'm on Windows [?], I've installed a perl interpreter, but same errors.
another idea ?
anyhelp would be useful
Nathalie

2011/9/28 Francesco Menoncin menon...@eco.unibs.it

  Il 28/09/2011 11:07, sududur ha scritto:

 Dear Lyxers,

  I'm trying to use Lyx for my thesis, but I know nothing or almost nothing
 about latex. [?]
 I'd like to make 2 indexes with lyx 2.0.0
 but I can't find the way to make it work.
 I've constructed the first one with Lyx 1.6, I've declared 2 indexes in Lyx
 2, but when I want to export in PDF, it doesn't work.
 If I use one index, it's ok.
 I think it's because of a bad preamble, but I don't know what to do
 : \renewcommand{\indexname}{Index général}

  thanks for your help[?]
 Nathalie


  Here the errors :

  )) (C:\Program Files (x86)\MiKTeX 2.8\tex\latex\splitindex\splitidx.sty


 Package: splitidx 2009/02/28 v1.1a multiple indices for LaTeX

 ! LaTeX Error: Command \see already defined.

 Or name \end... illegal, see p.192 of the manual.


  ! LaTeX Error: Command \printindex already defined.

 Or name \end... illegal, see p.192 of the manual.

 ] [2]

 ! Undefined control sequence.

 argument \@indexfile

  l.176 ...tbf{Nathalie Desmet\sindex[ind]{Desmet} }

 The control sequence at the end of the top line

 of your error message was never \def'ed. If you have

 misspelled it (e.g., `\hobx'), type `I' and the correct

 spelling (e.g., `I\hbox'). Otherwise just continue,

 and I'll forget about whatever was undefined.

 ! Missing number, treated as zero.

 to be read again

 {

 l.176 ...tbf{Nathalie Desmet\sindex[ind]{Desmet} }

  A number should have been here; I inserted `0'.

 (If you can't figure out why I needed to see a number,

 look up `weird error' in the index to The TeXbook.)




 If you are on Windows OS, in order to make the multiple indexes work you
 have to download a perl interpreter (see #7579 on LyX Ticket Tracker).
 I had not such a problem with Linux (Ubuntu).

 --
 
 Francesco Menoncin
 Università degli Studi di Brescia
 Facoltà di Economia
 Via S. Faustino, 74/B
 25122 Brescia (Italy)
 Tel: 0039-030-2988806
 Fax: 0039-030-2988837
 E-mail: menon...@eco.unibs.it
 web: www.eco.unibs.it/~menoncin/
 


33D.gif

Re: lexlive2011 and Debian squeeze

2011-09-28 Thread Helge Hafting

On 13. sep. 2011 16:01, Wolfgang Engelmann wrote:

Could somebody who uses Debian squeeze and texlive2011 share his
experience installing it with me (and others)?. Where is texlive
installed and how do I make sure that lyx is using it (and also other
programs which use tex/latex such as xfig etc), i.e. the Path setting?
At the moment I have downloaded the unx.tar.gz package, which is waiting
to be unpacked and further manipulated.


I installed texlive2011 into debian - it was easy enough:

1. Download the texlive installer from their site
2. Run the installer as root
3. Select what you want - I deselected support for a lot of
   languages I don't use, but installed everything else.
4. Wait, as the texlive installer fetch the 2.7GB or so,
   and puts it in /usr/local. (You can select somewhere else,
   if you like.)
5. Update your PATH setting, so that texlive2011 binaries will
   be found before Debian's older texlive. I updated my
   .bashrc file with this line:
   export PATH=/usr/local/texlive/2011/bin/x86_64-linux:$PATH
   If your platform is 32-bit, this line will be slightly different.
6. Log out and in again, verify the changed PATH. You may also want
   to run the command pdflatex and see that it says (TeX Live 2011)
7. Start LyX, use the menu Tools-Reconfigure. After this, LyX uses
   the new texlive because of the PATH update.

No need to remove Debian's texlive - it satisfies dependencies for
other packages that wants TeX. The 2011 version will be used anyway
due to the PATH change.

To switch back, (when Debian eventually get texlive2011), remove 
texlive2011 from the PATH and use Tools-Reconfigure in LyX again.


Helge Hafting



Re: Lyx Windows - Linux Compatibility

2011-09-28 Thread Julio Rojas
Hi Stephen,

Most certainly it would be a missed package. Can you send an SMALL
version of your document?

Regards.
-
Julio Rojas
jcredbe...@gmail.com



On Wed, Sep 28, 2011 at 1:53 PM, Stephen GEORGE
steve_...@optusnet.com.au wrote:


 Hi,

 I created a document with Lyx running on Win7 with Miktex, compiles to pdf
 without error.

 I can share via svn to linux and tried to build, and get errors.

 Is it expected for lyx file and build process to work cross platform?
 Is it possibly something to do with my latex install on debian?
 Any ideas where I should go to start find the issue.

 An example of the errors I get

 ! LaTeX Error: Missing \begin{document}.

 ! You can't use `macro parameter character #' in horizontal mode.
 ! Extra \else.
 ! Extra \fi.
 ! LaTeX Error: Option clash for package hyperref

 ! Undefined control sequence.
 ! Missing number, treated as zero.

 ! Improper `at' size (0.0pt), replaced by 10pt.

 ( I do have some documents that work OK , but they are simple ones )

 Thanks for any hints
 Steve

 
 Both OS are using Lyx Version 2.0.0

 steve@dolphin:~/SVNpersonal$ latex --version
 pdfTeX 3.1415926-1.40.10-2.2 (TeX Live 2009/Debian)
 kpathsea version 5.0.0
 Copyright 2009 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
 There is NO warranty.  Redistribution of this software is
 covered by the terms of both the pdfTeX copyright and
 the Lesser GNU General Public License.
 For more information about these matters, see the file
 named COPYING and the pdfTeX source.
 Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
 Compiled with libpng 1.2.46; using libpng 1.2.46
 Compiled with zlib 1.2.3.4; using zlib 1.2.3.4
 Compiled with poppler version 0.16.7




Re: Merge Adjacent Citations?

2011-09-28 Thread Richard Heck

On 09/28/2011 04:11 AM, andrewufrank wrote:

Julio Rojasjcredberryat  gmail.com  writes:


If you are using Biblatex, you can use \cites, \parencites,
\footcites, \textcites, \supercites.
-
Julio Rojas
jcredberryat  gmail.com

On Tue, Apr 5, 2011 at 11:14 PM, Richard Heckrgheckat  comcast.net  wrote:

On 04/05/2011 02:57 PM, Greg Kise wrote:

  LyXers,

Is there any way to merge adjacent citations?

I'm using BibDesk to search citations and then Send to Lyx script, works
very nice. However the citations are sent to LyX one at a time (unless I
ctrl^select, but sometimes you slip). Is there any way to merge adjacent
citations to make multi-citations? Like (Greg 2002, Greg et. al. 2010,
etc.)?


http://www.lyx.org/trac/ticket/4842

Richard


the problem is to do the merge within lyx - the reply seems not a solution to
the original problem in the context of lyx.

i have the same question and need a solution in lyx!


There's a bug report about this, but no one has yet addressed it.

Richard



Re: A Lyx-beamer question

2011-09-28 Thread Murat Yildizoglu
Hi Liviu,

Thanks a lot for this suggestion, I have used the templates, so I have
definitely missed this one.

Unfortunately, it does not solve my problem, since the template itself
uses an even more manual approach than mine to solve this problem (by
putting overlays after each item).

I have inserted a dummy slide with just three items on it, they came
all visible in the same in the PDF.

But I see that I can learn many tricks from this template (I do every
trick manually in ERB for now), and better use Lyx with beamer. Very
good news.

Anyway, it seems that Lyx redefines something somewhere to suppress
the effect of the global instruction I put in the preamble (it
perfectly works with beamer documents written with TexMaker, for
example). This definition would be in the slide part, since putting
the instruction in the beginning of my document (before the first
slide)  does not solve the problem either. When I have some time, I
will check the layout file to see how it redefines the frame and its
properties.

2011/9/28 Liviu Andronic landronim...@gmail.com:
 On Wed, Sep 28, 2011 at 8:41 AM, Murat Yildizoglu myi...@gmail.com wrote:
 Hi,

 When I do beamers in a standard latex editor, I put

 \beamerdefaultoverlayspecification{+-}

 I'm not familiar with this, btu this is the exact same instruction in
 File  New from Template  beamer.lyx. Try that and see if it works.
 (The note just before the first frame.)

 Liviu


 in the header to have the list show progressively their items (by
 pausing between items)

 When I use the beamer template of Lyx, this instruction in the
 preamble seems ineffective: I get plain slides like if I have given
 then handout option to the class.

 I can only get the original setup if I put this instruction in each
 slide, in an ERB.

 Is there a way to catch back my initial trick (putting it only once
 for all slides)? Why what I put in the preamble is not used during the
 compilation (means that, I imagine, something else in the template
 reverses it)?

 Murat

 --
 Prof. Murat Yildizoglu
 Université Montesquieu Bordeaux IV
 GREThA (UMR CNRS 5113)
 Avenue Léon Duguit
 33608 Pessac cedex
 France

 yi...@u-bordeaux4.fr
 http://yildizoglu.info
 http://www.twitter.com/yildizoglu




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




-- 
Prof. Murat Yildizoglu
Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

yi...@u-bordeaux4.fr
http://yildizoglu.info
http://www.twitter.com/yildizoglu


Re: Lyx Windows - Linux Compatibility

2011-09-28 Thread Manveru
2011/9/28 Stephen GEORGE steve_...@optusnet.com.au:
 I created a document with Lyx running on Win7 with Miktex, compiles to pdf
 without error.

 I can share via svn to linux and tried to build, and get errors.

 Is it expected for lyx file and build process to work cross platform?
 Is it possibly something to do with my latex install on debian?
 Any ideas where I should go to start find the issue.
[...]
 steve@dolphin:~/SVNpersonal$ latex --version
 pdfTeX 3.1415926-1.40.10-2.2 (TeX Live 2009/Debian)
 kpathsea version 5.0.0
[...]
 Compiled with libpng 1.2.46; using libpng 1.2.46
 Compiled with zlib 1.2.3.4; using zlib 1.2.3.4
 Compiled with poppler version 0.16.7

I am successfully work on my thesis this way easily from late 1.5.x as
far as I remeber; for sure on 1.6.x and now on 2.0.1 on Linux and
2.0.0.

The only problems I really have (still unresolved) is different
scaling of large pictures coming into PDF, what cause different
clipping of such images between Linux rendered and Windows rendered
PDFs (if I use clipping function).

You have to make sure you have all packages you need for your document
on Linux, the BIG advantage of MikTeX is its ability to automated
download of needed packages (I really miss that feature in Linux*).

The next thing which may blow up some problems is that TeXLive 2009
contains a lot of VERY OLD packages, so in comparison to what MikTeX
2.9 offer on Windows, the incompatibilities could be much more that
minor.

* I wait with longing for the day when TeX packages will not be
managed by native distro packages system, but only by TeX specific
packages system!
-- 
Manveru
jabber: manv...@manveru.pl
     gg: 1624001
   http://www.manveru.pl


Re: A Lyx-beamer question

2011-09-28 Thread Liviu Andronic
On Wed, Sep 28, 2011 at 3:49 PM, Murat Yildizoglu yi...@u-bordeaux4.fr wrote:
 But I see that I can learn many tricks from this template (I do every
 trick manually in ERB for now), and better use Lyx with beamer. Very
 good news.

I use regularly Beamer with LyX, and of course it always depends what
you do and how you subsequently present your slides, but my experience
with stepwise display (everywhere) is: don't. Stepwise is good in
specific places, but usually it makes more sense (for me, anyway) to
display in blocks. For example, you can put two items in one slide and
uncover the three next in the second slide. I also tend to combine
this with 'block' environment (again, with pauses between 'blocks'),
and sometimes the vertical columns (don't remember their proper name).
But stepwise uncovering for every item tends not to work for me.

Cheers
Liviu


Re: Lyx Windows - Linux Compatibility

2011-09-28 Thread Liviu Andronic
On Wed, Sep 28, 2011 at 4:20 PM, Manveru manv...@manveru.pl wrote:

 * I wait with longing for the day when TeX packages will not be
 managed by native distro packages system, but only by TeX specific
 packages system!

I myself long for the day when they implement local installation of
packages that doesn't conflict with the system---package
manager---based installation. However I don't know if they have plans
for this, and it may be wishful thinking.

Liviu


Re: LyX with pgfplotstable

2011-09-28 Thread Helge Hafting

On 27. sep. 2011 09:36, florian.wilh...@gmail.com wrote:

Hi,

pgfplotstable uses external data files to generate formatted lists like
\pgfplotstabletypeset{example1.dat}
The problem is that LyX creates a temp directory, copies over all
files and runs latex to generate the document there. Since it does not
copy example1.dat I get a corresponding error message.


Consider creating an external inset template for this kind of file.

This can be done by editing the file /usr/share/lyx/external_templates
This is how xfig and dia images, chess diagrams and spreadsheets are
supported. LyX know what to copy when the file is an external inset.
external_templates is a text file. Customizing it is documented,
and the existing content can be used as templates.

If you make a useful inset, consider sending it to the lyx development 
list. You might get it into the next LyX version. :-)


Helge Hafting


Re: Changed Shortcuts Not Working

2011-09-28 Thread Rich Shepard

On Tue, 27 Sep 2011, Richard Heck wrote:


I think Qt does see (and grab) the menu accelerator before LyX gets to see
it. But I'm not positive. If you really want to do this, you can remove
(or change) the menu accelerator in the stdmenus.inc file.


  Thanks again, Richard. That fixed the issue.

Rich


Feature request

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

Every time Latex is updated, Lyx must be reconfigured.
Is there a way for Lyx to check whether Latex has been updated
since the last time it was reconfigured, and if so, to reconfigure itself?

Thanks-
Ehud Kaplan




Caption and Font in module

2011-09-28 Thread Andreas Noack Jensen
Dear list

I am trying to make a module for the threeparttable package but I have some 
problems i cannot solve. I am running LyX 2.0.1 on a MacBook Pro with Lion. The 
code is

#\DeclareLyXModule[threeparttable.sty]{Threeparttable}
#DescriptionBegin
#Enables the threeparttable environment to ease the use of table notes
#DescriptionEnd
# Author: Andreas Noack Jensen andreas.noack.jen...@gmail.com

Format 21

#AddToPreamble
#\usepackage{threeparttable}
#EndPreamble

InsetLayout Flex:Threeparttable
LyXType custom
LatexType   Environment
LatexName   threeparttable
Decoration  classic
LabelString threeparttable
MultiPartrue
End

Style Tablenotes
LatexType   Item_Environment
LatexName   tablenotes
Font
SizeTiny
EndFont
End

For Some reason the font size statement is completely ignored in the LaTeX code 
even though the font i LyX gets smaller. My second problem is, that I get the 
senseless!!! message when I make a caption in the custom inset. Any ideas 
about how to get this to work?

Best regards
Andreas

--
Andreas Noack Jensen
Ph.d.-stipendiat

Økonomisk Institut  andreas.noack.jen...@econ.ku.dk
Københavns Universitet  http://www.econ.ku.dk/phdstudent/noack/
Øster Farimagsgade 5, bygning 26Tlf.: 353 23094
1353 København K



Re: Caption and Font in module

2011-09-28 Thread Richard Heck
On 09/28/2011 02:28 PM, Andreas Noack Jensen wrote:
 Dear list

 I am trying to make a module for the threeparttable package but I have some 
 problems i cannot solve. I am running LyX 2.0.1 on a MacBook Pro with Lion. 
 The code is

 #\DeclareLyXModule[threeparttable.sty]{Threeparttable}
 #DescriptionBegin
 #Enables the threeparttable environment to ease the use of table notes
 #DescriptionEnd
 # Author: Andreas Noack Jensen andreas.noack.jen...@gmail.com

 Format 21

 #AddToPreamble
 #\usepackage{threeparttable}
 #EndPreamble

 InsetLayout   Flex:Threeparttable
   LyXType custom
   LatexType   Environment
   LatexName   threeparttable
   Decoration  classic
   LabelString threeparttable
   MultiPartrue
 End

 Style Tablenotes
   LatexType   Item_Environment
   LatexName   tablenotes
   Font
   SizeTiny
   EndFont
 End

 For Some reason the font size statement is completely ignored in the LaTeX 
 code even though the font i LyX gets smaller. My second problem is, that I 
 get the senseless!!! message when I make a caption in the custom inset. Any 
 ideas about how to get this to work?

On (i), the font declaration only affects the appearance in LyX. You
have to do something in the LaTeX itself if you want to font to be smaller.

On (ii), I think the problem is that captions must be in floats. So you
should declare tablenotes as a float, if that is what it really is. See
stdfloats.inc for examples.

Richard



Re: LyX 2.0.1 (OS X): file with relative path name not found

2011-09-28 Thread Patrick De Visschere

On 27 Sep, 2011, at 11:11 PM, Richard Heck wrote:

 On 09/27/2011 04:47 PM, Patrick De Visschere wrote:
 Hello,
 
 Including a .pdf file with \includegraphics and with a relative pathname like
 
 \includegraphics{../path/to/file/starting/from/parent/directory/some_file.pdf}
 
 results in a file not found error from the pdftex.def package.
 
 When exporting as .tex and processing with e.g. TeXShop there is no problem.
 
 This problem occurs with LyX 2.0.1 under OS X; (not with LyX 2.0.0)
 
 There have been some changes to how LyX handles external paths. These
 are noted in the RELEASE NOTES file. I would guess that is the source of
 the problem. If you can't resolve it, post a note to the devel list.
 
 Richard
 

Thanks.
It looks like I should have read the release notes, sorry.

I was indeed referring to files in ERT.

I normally use pathnames relative to the current directory and since . is 
automatically included in the TEXINPUTS prefix, this should still work I guess 
without making any modifications. But it doesn't.
The problematic paths start with ../ and it looks there is still a problem with 
that. I can of course drop the starting ../ and add .. to the prefix list but 
I'm reluctant to changing those paths since they will then not run anymore in 
the previous versions.

Also, when exporting as latex the prefix is not included, as far as I can see 
and when fixed for LyX2.0.1 the latex-file will now not run with TeXShop, 
unless one can instruct TeXShop to use the same prefix list.

Regards,

P. De Visschere

Re: Feature request

2011-09-28 Thread Guenter Milde
On 2011-09-28, ehud.kap...@gmail.com wrote:

 [-- Type: text/plain, Encoding: 7bit --]

 Every time Latex is updated, Lyx must be reconfigured.
 Is there a way for Lyx to check whether Latex has been updated
 since the last time it was reconfigured, and if so, to reconfigure itself?

Just an idea: how about comparing the modification time of LyX's config file
and the ls-R files in the texmf trees (system, local, and user)?

Günter



Re: Lyx Windows - Linux Compatibility

2011-09-28 Thread Paul Rubin
In addition to missing packages (which has already been mentioned), it is
sometimes the case that different versions of the same package are installed
under Linux and Windows. Updating the older package to the newer version (on
whichever machine has the older version) usually cures problems of that nature.

FWIW, I've been editing the same docs on both Windows and Linux for years with
almost no difficulties.

Paul



Re: Multilingual difficulties for beginners with Lyx

2011-09-28 Thread Lisa
Guenter Milde milde at users.berlios.de writes:

 
 If this main font contains Chinese characters, it should work for Chinese.
 
 If you want to use a different font for Chinese (or any other non-Latin
 script) via polyglossia, this needs to be set up in the preamble. By
 default, polyglossia is loaded, too, when use non-TeX fonts is true, so
 you don't need to load it again.
 
Thanks Günter, yes, if the person I installed Lyx for, sets a main font that can
also display Chinese then they will have no problem. I should have mentioned
that they do not want to use a Unicode / Chinese font as their default text 
font.

Lyx displays most languages nicely on the screen even when a more limited
default font that does not carry those codepoints is used.
It still displays them nicely with view in html, and on a Mac for instance, if
you save this as a pdf without doing anything else you will see those languages
rendered nicely. So its a shame that it can't use that font substitution
information that it must know about at some level (in Qt?) to generate some
Latex for the Chinese/Arabic/Russian if the user hasn't supplied any 
her/himself.

Cheers, Lisa.
(p.s. its exactly for occasional use, in our global world, that it would be nice
to have this, rather than for regular multilingual users of Lyx who can choose
their preferred fonts).
(Polyglossia is still at 2010/7/27 (CTAN) which has no Chinese support, is that
right?)





Problems in this section of preamble...........

2011-09-28 Thread Charlie

Debian Wheezy [testing]

LyX 2.0.1

article (KOMA-Script) class

If this section is added to the preamble:

\titleformat{\subsection}[wrap]
  {\normalfont\fontseries{b}\selectfont\filright}
  {\thesection.}{.5em}{}

The subsection does not display other than the section number i.e,

Section 2

Shows only subsection 2 and 2 and 2

Rather than subsection 2.1 and 2.2 and 2.3

The above addition worked for previous LyX versions and is in various
of my templates, but doesn't work now.

I have gone through the preamble, line by line, to isolate this section
and discover it's the problem.

Can someone please troubleshoot this for me and tell me what I'm doing
wrong here, or rather have done wrong. I don't know where to start.

Thank you,
Charlie
-- 
Registered Linux User:- 329524
***

There is no remedy for love than to love more. Henry David Thoreau

***

Debian GNU/Linux - just the best way to create magic

-


Re: Problems in this section of preamble...........

2011-09-28 Thread Charlie
 On Wed, 28 Sep 2011 16:30:41 +1000 Charlie aries...@skymesh.com.au
 suggested this:

\titleformat{\subsection}[wrap]
  {\normalfont\fontseries{b}\selectfont\filright}
  {\thesection.}{.5em}{}

Apologies for the noise, but I found the problem, it appears to be here:
{\thesection.}
  ^ The full stop

My apologies again.

Charlie
-- 
Registered Linux User:- 329524
***

Whatever the human law may be, neither an individual nor a nation can
commit the least act of injustice against the obscurest individual
without having to pay the penalty for it. ...Henry David Thoreau

***

Debian GNU/Linux - just the best way to create magic

-


A Lyx-beamer question

2011-09-28 Thread Murat Yildizoglu
Hi,

When I do beamers in a standard latex editor, I put

\beamerdefaultoverlayspecification{+-}

in the header to have the list show progressively their items (by
pausing between items)

When I use the beamer template of Lyx, this instruction in the
preamble seems ineffective: I get plain slides like if I have given
then handout option to the class.

I can only get the original setup if I put this instruction in each
slide, in an ERB.

Is there a way to catch back my initial trick (putting it only once
for all slides)? Why what I put in the preamble is not used during the
compilation (means that, I imagine, something else in the template
reverses it)?

Murat

-- 
Prof. Murat Yildizoglu
Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

yi...@u-bordeaux4.fr
http://yildizoglu.info
http://www.twitter.com/yildizoglu


Re: Multilingual difficulties for beginners with Lyx

2011-09-28 Thread Guenter Milde
On 2011-09-28, Lisa Andrews wrote:
 I successfully use multiple languages in Lyx with Xetex by specifying
 packages and fonts in the document preamble, or using inline ERT
 (usepackage \fontspec etc)

 I see on http://wiki.lyx.org/LyX/XeTeX, where it describes a similar
 setup to my own, that it says:

 Note: the following steps are only necessary up to LyX 1.6.x. As of
 LyX 2.0, you will just need to click Document→Settings...→Fonts→Use
 non-TeX fonts (via XeTeX/LuaTeX). Then you can immediately View→PDF
 (XeTeX). 

 However, when I tried this out for someone I recently installed Lyx
 for (2.0.1 on a Mac, I use 2.0rc3 Win7) it seems that Xetex had no
 idea which fonts to use for Chinese (the default font was in English).
 Use non-Tex fonts was selected, document language package made no
 difference. Note the 1.6.x approach with the preamble did work.

 Shall I tell this user to put fontspec etc. into their preamble the
 way I do, should I try the xeCJK macro mentioned in the wiki.lyx xetex
 page, or have I missed something?

With LyX 2.x, you can load fontspec and set the main font families with
use non-TeX fonts and the GUI.

If this main font contains Chinese characters, it should work for Chinese.

If you want to use a different font for Chinese (or any other non-Latin
script) via polyglossia, this needs to be set up in the preamble. By
default, polyglossia is loaded, too, when use non-TeX fonts is true, so
you don't need to load it again.

Hint: With ViewSource, you can check the complete LaTeX preamble written
by LyX if you activate the Complete Source box.

Günter




Re: Merge Adjacent Citations?

2011-09-28 Thread andrewufrank
Julio Rojas jcredberry at gmail.com writes:

 
 If you are using Biblatex, you can use \cites, \parencites,
 \footcites, \textcites, \supercites.
 -
 Julio Rojas
 jcredberry at gmail.com
 
 On Tue, Apr 5, 2011 at 11:14 PM, Richard Heck rgheck at comcast.net wrote:
  On 04/05/2011 02:57 PM, Greg Kise wrote:
 LyXers,
 
  Is there any way to merge adjacent citations?
 
  I'm using BibDesk to search citations and then Send to Lyx script, works
  very nice. However the citations are sent to LyX one at a time (unless I
  ctrl^select, but sometimes you slip). Is there any way to merge adjacent
  citations to make multi-citations? Like (Greg 2002, Greg et. al. 2010,
  etc.)?
 
  http://www.lyx.org/trac/ticket/4842
 
  Richard
 

 
the problem is to do the merge within lyx - the reply seems not a solution to
the original problem in the context of lyx.

i have the same question and need a solution in lyx!
andrew





2 indexes in Lyx 2

2011-09-28 Thread sududur
Dear Lyxers,

I'm trying to use Lyx for my thesis, but I know nothing or almost nothing
about latex. [?]
I'd like to make 2 indexes with lyx 2.0.0
but I can't find the way to make it work.
I've constructed the first one with Lyx 1.6, I've declared 2 indexes in Lyx
2, but when I want to export in PDF, it doesn't work.
If I use one index, it's ok.
I think it's because of a bad preamble, but I don't know what to do
: \renewcommand{\indexname}{Index général}

thanks for your help[?]
Nathalie


Here the errors :

)) (C:\Program Files (x86)\MiKTeX 2.8\tex\latex\splitindex\splitidx.sty

Package: splitidx 2009/02/28 v1.1a multiple indices for LaTeX

! LaTeX Error: Command \see already defined.

Or name \end... illegal, see p.192 of the manual.


! LaTeX Error: Command \printindex already defined.

 Or name \end... illegal, see p.192 of the manual.

] [2]

! Undefined control sequence.

argument \@indexfile

 l.176 ...tbf{Nathalie Desmet\sindex[ind]{Desmet} }

The control sequence at the end of the top line

of your error message was never \def'ed. If you have

misspelled it (e.g., `\hobx'), type `I' and the correct

spelling (e.g., `I\hbox'). Otherwise just continue,

and I'll forget about whatever was undefined.

! Missing number, treated as zero.

to be read again

{

l.176 ...tbf{Nathalie Desmet\sindex[ind]{Desmet} }

 A number should have been here; I inserted `0'.

(If you can't figure out why I needed to see a number,

look up `weird error' in the index to The TeXbook.)
B68.gif33F.gif

Re: 2 indexes in Lyx 2

2011-09-28 Thread Francesco Menoncin

  
  
Il 28/09/2011 11:07, sududur ha scritto:
Dear Lyxers,
  
  
  I'm trying to use Lyx for my thesis, but I know nothing or
almost nothing about latex. 
  I'd like to make 2 indexes with lyx 2.0.0
  but I can't find the way to make it work.
  I've constructed the first one with Lyx 1.6, I've declared 2
indexes in Lyx 2, but when I want to export in PDF, it doesn't
work.
  If I use one index, it's ok.
  I think it's because of a bad preamble, but I don't know what
to do :\renewcommand{\indexname}{Index gnral}
  
  
  thanks for your help
  Nathalie
  
  
  
  
  Here the errors :
  
  
  )) ("C:\Program Files (x86)\MiKTeX
2.8\tex\latex\splitindex\splitidx.sty"
Package:
  splitidx 2009/02/28 v1.1a multiple indices for LaTeX
!
  LaTeX Error: Command \see already defined.
 Or
  name \end... illegal, see p.192 of the manual.

  

!
  LaTeX Error: Command \printindex already defined.
 Or
  name \end... illegal, see p.192 of the manual.

  ] [2]
!
  Undefined control sequence.
argument
  \@indexfile 
 
l.176
  ...tbf{Nathalie Desmet\sindex[ind]{Desmet} }

  The control sequence at the end of the top line
of
  your error message was never \def'ed. If you have
misspelled
  it (e.g., `\hobx'), type `I' and the correct
spelling
  (e.g., `I\hbox'). Otherwise just continue,
and
  I'll forget about whatever was undefined.
!
  Missing number, treated as zero.
to
  be read again 
 {
l.176
  ...tbf{Nathalie Desmet\sindex[ind]{Desmet} }
 
A
  number should have been here; I inserted `0'.
(If
  you can't figure out why I needed to see a number,
look
  up `weird error' in the index to The TeXbook.)
  
  
  
  
  



If you are on Windows OS, in order to make the multiple indexes work
you have to download a "perl interpreter" (see #7579 on LyX Ticket
Tracker).
I had not such a problem with Linux (Ubuntu).

-- 

Francesco Menoncin
Universit degli Studi di Brescia
Facolt di Economia
Via S. Faustino, 74/B
25122 Brescia (Italy)
Tel: 0039-030-2988806
Fax: 0039-030-2988837
E-mail: menon...@eco.unibs.it
web: www.eco.unibs.it/~menoncin/

  



Re: A Lyx-beamer question

2011-09-28 Thread Liviu Andronic
On Wed, Sep 28, 2011 at 8:41 AM, Murat Yildizoglu myi...@gmail.com wrote:
 Hi,

 When I do beamers in a standard latex editor, I put

 \beamerdefaultoverlayspecification{+-}

I'm not familiar with this, btu this is the exact same instruction in
File  New from Template  beamer.lyx. Try that and see if it works.
(The note just before the first frame.)

Liviu


 in the header to have the list show progressively their items (by
 pausing between items)

 When I use the beamer template of Lyx, this instruction in the
 preamble seems ineffective: I get plain slides like if I have given
 then handout option to the class.

 I can only get the original setup if I put this instruction in each
 slide, in an ERB.

 Is there a way to catch back my initial trick (putting it only once
 for all slides)? Why what I put in the preamble is not used during the
 compilation (means that, I imagine, something else in the template
 reverses it)?

 Murat

 --
 Prof. Murat Yildizoglu
 Université Montesquieu Bordeaux IV
 GREThA (UMR CNRS 5113)
 Avenue Léon Duguit
 33608 Pessac cedex
 France

 yi...@u-bordeaux4.fr
 http://yildizoglu.info
 http://www.twitter.com/yildizoglu




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


Re: A Lyx-beamer question

2011-09-28 Thread Manolo Martínez
On 09/28/11 at 11:48am, Liviu Andronic wrote:
 On Wed, Sep 28, 2011 at 8:41 AM, Murat Yildizoglu myi...@gmail.com wrote:
  Hi,
 
  When I do beamers in a standard latex editor, I put
 
  \beamerdefaultoverlayspecification{+-}
 
 I'm not familiar with this, btu this is the exact same instruction in
 File  New from Template  beamer.lyx. Try that and see if it works.
 (The note just before the first frame.)
 
 Liviu
 
I have never got this to work in the LyX Beamer template. Always
end up adding Pauses galore.

Manolo


Re: 2 indexes in Lyx 2

2011-09-28 Thread sududur
Thanks Francesco,
Yes I'm on Windows [?], I've installed a perl interpreter, but same errors.
another idea ?
anyhelp would be useful
Nathalie

2011/9/28 Francesco Menoncin menon...@eco.unibs.it

  Il 28/09/2011 11:07, sududur ha scritto:

 Dear Lyxers,

  I'm trying to use Lyx for my thesis, but I know nothing or almost nothing
 about latex. [?]
 I'd like to make 2 indexes with lyx 2.0.0
 but I can't find the way to make it work.
 I've constructed the first one with Lyx 1.6, I've declared 2 indexes in Lyx
 2, but when I want to export in PDF, it doesn't work.
 If I use one index, it's ok.
 I think it's because of a bad preamble, but I don't know what to do
 : \renewcommand{\indexname}{Index général}

  thanks for your help[?]
 Nathalie


  Here the errors :

  )) (C:\Program Files (x86)\MiKTeX 2.8\tex\latex\splitindex\splitidx.sty


 Package: splitidx 2009/02/28 v1.1a multiple indices for LaTeX

 ! LaTeX Error: Command \see already defined.

 Or name \end... illegal, see p.192 of the manual.


  ! LaTeX Error: Command \printindex already defined.

 Or name \end... illegal, see p.192 of the manual.

 ] [2]

 ! Undefined control sequence.

 argument \@indexfile

  l.176 ...tbf{Nathalie Desmet\sindex[ind]{Desmet} }

 The control sequence at the end of the top line

 of your error message was never \def'ed. If you have

 misspelled it (e.g., `\hobx'), type `I' and the correct

 spelling (e.g., `I\hbox'). Otherwise just continue,

 and I'll forget about whatever was undefined.

 ! Missing number, treated as zero.

 to be read again

 {

 l.176 ...tbf{Nathalie Desmet\sindex[ind]{Desmet} }

  A number should have been here; I inserted `0'.

 (If you can't figure out why I needed to see a number,

 look up `weird error' in the index to The TeXbook.)




 If you are on Windows OS, in order to make the multiple indexes work you
 have to download a perl interpreter (see #7579 on LyX Ticket Tracker).
 I had not such a problem with Linux (Ubuntu).

 --
 
 Francesco Menoncin
 Università degli Studi di Brescia
 Facoltà di Economia
 Via S. Faustino, 74/B
 25122 Brescia (Italy)
 Tel: 0039-030-2988806
 Fax: 0039-030-2988837
 E-mail: menon...@eco.unibs.it
 web: www.eco.unibs.it/~menoncin/
 


33D.gif

Re: lexlive2011 and Debian squeeze

2011-09-28 Thread Helge Hafting

On 13. sep. 2011 16:01, Wolfgang Engelmann wrote:

Could somebody who uses Debian squeeze and texlive2011 share his
experience installing it with me (and others)?. Where is texlive
installed and how do I make sure that lyx is using it (and also other
programs which use tex/latex such as xfig etc), i.e. the Path setting?
At the moment I have downloaded the unx.tar.gz package, which is waiting
to be unpacked and further manipulated.


I installed texlive2011 into debian - it was easy enough:

1. Download the texlive installer from their site
2. Run the installer as root
3. Select what you want - I deselected support for a lot of
   languages I don't use, but installed everything else.
4. Wait, as the texlive installer fetch the 2.7GB or so,
   and puts it in /usr/local. (You can select somewhere else,
   if you like.)
5. Update your PATH setting, so that texlive2011 binaries will
   be found before Debian's older texlive. I updated my
   .bashrc file with this line:
   export PATH=/usr/local/texlive/2011/bin/x86_64-linux:$PATH
   If your platform is 32-bit, this line will be slightly different.
6. Log out and in again, verify the changed PATH. You may also want
   to run the command pdflatex and see that it says (TeX Live 2011)
7. Start LyX, use the menu Tools-Reconfigure. After this, LyX uses
   the new texlive because of the PATH update.

No need to remove Debian's texlive - it satisfies dependencies for
other packages that wants TeX. The 2011 version will be used anyway
due to the PATH change.

To switch back, (when Debian eventually get texlive2011), remove 
texlive2011 from the PATH and use Tools-Reconfigure in LyX again.


Helge Hafting



Re: Lyx Windows - Linux Compatibility

2011-09-28 Thread Julio Rojas
Hi Stephen,

Most certainly it would be a missed package. Can you send an SMALL
version of your document?

Regards.
-
Julio Rojas
jcredbe...@gmail.com



On Wed, Sep 28, 2011 at 1:53 PM, Stephen GEORGE
steve_...@optusnet.com.au wrote:


 Hi,

 I created a document with Lyx running on Win7 with Miktex, compiles to pdf
 without error.

 I can share via svn to linux and tried to build, and get errors.

 Is it expected for lyx file and build process to work cross platform?
 Is it possibly something to do with my latex install on debian?
 Any ideas where I should go to start find the issue.

 An example of the errors I get

 ! LaTeX Error: Missing \begin{document}.

 ! You can't use `macro parameter character #' in horizontal mode.
 ! Extra \else.
 ! Extra \fi.
 ! LaTeX Error: Option clash for package hyperref

 ! Undefined control sequence.
 ! Missing number, treated as zero.

 ! Improper `at' size (0.0pt), replaced by 10pt.

 ( I do have some documents that work OK , but they are simple ones )

 Thanks for any hints
 Steve

 
 Both OS are using Lyx Version 2.0.0

 steve@dolphin:~/SVNpersonal$ latex --version
 pdfTeX 3.1415926-1.40.10-2.2 (TeX Live 2009/Debian)
 kpathsea version 5.0.0
 Copyright 2009 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
 There is NO warranty.  Redistribution of this software is
 covered by the terms of both the pdfTeX copyright and
 the Lesser GNU General Public License.
 For more information about these matters, see the file
 named COPYING and the pdfTeX source.
 Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
 Compiled with libpng 1.2.46; using libpng 1.2.46
 Compiled with zlib 1.2.3.4; using zlib 1.2.3.4
 Compiled with poppler version 0.16.7




Re: Merge Adjacent Citations?

2011-09-28 Thread Richard Heck

On 09/28/2011 04:11 AM, andrewufrank wrote:

Julio Rojasjcredberryat  gmail.com  writes:


If you are using Biblatex, you can use \cites, \parencites,
\footcites, \textcites, \supercites.
-
Julio Rojas
jcredberryat  gmail.com

On Tue, Apr 5, 2011 at 11:14 PM, Richard Heckrgheckat  comcast.net  wrote:

On 04/05/2011 02:57 PM, Greg Kise wrote:

  LyXers,

Is there any way to merge adjacent citations?

I'm using BibDesk to search citations and then Send to Lyx script, works
very nice. However the citations are sent to LyX one at a time (unless I
ctrl^select, but sometimes you slip). Is there any way to merge adjacent
citations to make multi-citations? Like (Greg 2002, Greg et. al. 2010,
etc.)?


http://www.lyx.org/trac/ticket/4842

Richard


the problem is to do the merge within lyx - the reply seems not a solution to
the original problem in the context of lyx.

i have the same question and need a solution in lyx!


There's a bug report about this, but no one has yet addressed it.

Richard



Re: A Lyx-beamer question

2011-09-28 Thread Murat Yildizoglu
Hi Liviu,

Thanks a lot for this suggestion, I have used the templates, so I have
definitely missed this one.

Unfortunately, it does not solve my problem, since the template itself
uses an even more manual approach than mine to solve this problem (by
putting overlays after each item).

I have inserted a dummy slide with just three items on it, they came
all visible in the same in the PDF.

But I see that I can learn many tricks from this template (I do every
trick manually in ERB for now), and better use Lyx with beamer. Very
good news.

Anyway, it seems that Lyx redefines something somewhere to suppress
the effect of the global instruction I put in the preamble (it
perfectly works with beamer documents written with TexMaker, for
example). This definition would be in the slide part, since putting
the instruction in the beginning of my document (before the first
slide)  does not solve the problem either. When I have some time, I
will check the layout file to see how it redefines the frame and its
properties.

2011/9/28 Liviu Andronic landronim...@gmail.com:
 On Wed, Sep 28, 2011 at 8:41 AM, Murat Yildizoglu myi...@gmail.com wrote:
 Hi,

 When I do beamers in a standard latex editor, I put

 \beamerdefaultoverlayspecification{+-}

 I'm not familiar with this, btu this is the exact same instruction in
 File  New from Template  beamer.lyx. Try that and see if it works.
 (The note just before the first frame.)

 Liviu


 in the header to have the list show progressively their items (by
 pausing between items)

 When I use the beamer template of Lyx, this instruction in the
 preamble seems ineffective: I get plain slides like if I have given
 then handout option to the class.

 I can only get the original setup if I put this instruction in each
 slide, in an ERB.

 Is there a way to catch back my initial trick (putting it only once
 for all slides)? Why what I put in the preamble is not used during the
 compilation (means that, I imagine, something else in the template
 reverses it)?

 Murat

 --
 Prof. Murat Yildizoglu
 Université Montesquieu Bordeaux IV
 GREThA (UMR CNRS 5113)
 Avenue Léon Duguit
 33608 Pessac cedex
 France

 yi...@u-bordeaux4.fr
 http://yildizoglu.info
 http://www.twitter.com/yildizoglu




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




-- 
Prof. Murat Yildizoglu
Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

yi...@u-bordeaux4.fr
http://yildizoglu.info
http://www.twitter.com/yildizoglu


Re: Lyx Windows - Linux Compatibility

2011-09-28 Thread Manveru
2011/9/28 Stephen GEORGE steve_...@optusnet.com.au:
 I created a document with Lyx running on Win7 with Miktex, compiles to pdf
 without error.

 I can share via svn to linux and tried to build, and get errors.

 Is it expected for lyx file and build process to work cross platform?
 Is it possibly something to do with my latex install on debian?
 Any ideas where I should go to start find the issue.
[...]
 steve@dolphin:~/SVNpersonal$ latex --version
 pdfTeX 3.1415926-1.40.10-2.2 (TeX Live 2009/Debian)
 kpathsea version 5.0.0
[...]
 Compiled with libpng 1.2.46; using libpng 1.2.46
 Compiled with zlib 1.2.3.4; using zlib 1.2.3.4
 Compiled with poppler version 0.16.7

I am successfully work on my thesis this way easily from late 1.5.x as
far as I remeber; for sure on 1.6.x and now on 2.0.1 on Linux and
2.0.0.

The only problems I really have (still unresolved) is different
scaling of large pictures coming into PDF, what cause different
clipping of such images between Linux rendered and Windows rendered
PDFs (if I use clipping function).

You have to make sure you have all packages you need for your document
on Linux, the BIG advantage of MikTeX is its ability to automated
download of needed packages (I really miss that feature in Linux*).

The next thing which may blow up some problems is that TeXLive 2009
contains a lot of VERY OLD packages, so in comparison to what MikTeX
2.9 offer on Windows, the incompatibilities could be much more that
minor.

* I wait with longing for the day when TeX packages will not be
managed by native distro packages system, but only by TeX specific
packages system!
-- 
Manveru
jabber: manv...@manveru.pl
     gg: 1624001
   http://www.manveru.pl


Re: A Lyx-beamer question

2011-09-28 Thread Liviu Andronic
On Wed, Sep 28, 2011 at 3:49 PM, Murat Yildizoglu yi...@u-bordeaux4.fr wrote:
 But I see that I can learn many tricks from this template (I do every
 trick manually in ERB for now), and better use Lyx with beamer. Very
 good news.

I use regularly Beamer with LyX, and of course it always depends what
you do and how you subsequently present your slides, but my experience
with stepwise display (everywhere) is: don't. Stepwise is good in
specific places, but usually it makes more sense (for me, anyway) to
display in blocks. For example, you can put two items in one slide and
uncover the three next in the second slide. I also tend to combine
this with 'block' environment (again, with pauses between 'blocks'),
and sometimes the vertical columns (don't remember their proper name).
But stepwise uncovering for every item tends not to work for me.

Cheers
Liviu


Re: Lyx Windows - Linux Compatibility

2011-09-28 Thread Liviu Andronic
On Wed, Sep 28, 2011 at 4:20 PM, Manveru manv...@manveru.pl wrote:

 * I wait with longing for the day when TeX packages will not be
 managed by native distro packages system, but only by TeX specific
 packages system!

I myself long for the day when they implement local installation of
packages that doesn't conflict with the system---package
manager---based installation. However I don't know if they have plans
for this, and it may be wishful thinking.

Liviu


Re: LyX with pgfplotstable

2011-09-28 Thread Helge Hafting

On 27. sep. 2011 09:36, florian.wilh...@gmail.com wrote:

Hi,

pgfplotstable uses external data files to generate formatted lists like
\pgfplotstabletypeset{example1.dat}
The problem is that LyX creates a temp directory, copies over all
files and runs latex to generate the document there. Since it does not
copy example1.dat I get a corresponding error message.


Consider creating an external inset template for this kind of file.

This can be done by editing the file /usr/share/lyx/external_templates
This is how xfig and dia images, chess diagrams and spreadsheets are
supported. LyX know what to copy when the file is an external inset.
external_templates is a text file. Customizing it is documented,
and the existing content can be used as templates.

If you make a useful inset, consider sending it to the lyx development 
list. You might get it into the next LyX version. :-)


Helge Hafting


Re: Changed Shortcuts Not Working

2011-09-28 Thread Rich Shepard

On Tue, 27 Sep 2011, Richard Heck wrote:


I think Qt does see (and grab) the menu accelerator before LyX gets to see
it. But I'm not positive. If you really want to do this, you can remove
(or change) the menu accelerator in the stdmenus.inc file.


  Thanks again, Richard. That fixed the issue.

Rich


Feature request

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

Every time Latex is updated, Lyx must be reconfigured.
Is there a way for Lyx to check whether Latex has been updated
since the last time it was reconfigured, and if so, to reconfigure itself?

Thanks-
Ehud Kaplan




Caption and Font in module

2011-09-28 Thread Andreas Noack Jensen
Dear list

I am trying to make a module for the threeparttable package but I have some 
problems i cannot solve. I am running LyX 2.0.1 on a MacBook Pro with Lion. The 
code is

#\DeclareLyXModule[threeparttable.sty]{Threeparttable}
#DescriptionBegin
#Enables the threeparttable environment to ease the use of table notes
#DescriptionEnd
# Author: Andreas Noack Jensen andreas.noack.jen...@gmail.com

Format 21

#AddToPreamble
#\usepackage{threeparttable}
#EndPreamble

InsetLayout Flex:Threeparttable
LyXType custom
LatexType   Environment
LatexName   threeparttable
Decoration  classic
LabelString threeparttable
MultiPartrue
End

Style Tablenotes
LatexType   Item_Environment
LatexName   tablenotes
Font
SizeTiny
EndFont
End

For Some reason the font size statement is completely ignored in the LaTeX code 
even though the font i LyX gets smaller. My second problem is, that I get the 
senseless!!! message when I make a caption in the custom inset. Any ideas 
about how to get this to work?

Best regards
Andreas

--
Andreas Noack Jensen
Ph.d.-stipendiat

Økonomisk Institut  andreas.noack.jen...@econ.ku.dk
Københavns Universitet  http://www.econ.ku.dk/phdstudent/noack/
Øster Farimagsgade 5, bygning 26Tlf.: 353 23094
1353 København K



Re: Caption and Font in module

2011-09-28 Thread Richard Heck
On 09/28/2011 02:28 PM, Andreas Noack Jensen wrote:
 Dear list

 I am trying to make a module for the threeparttable package but I have some 
 problems i cannot solve. I am running LyX 2.0.1 on a MacBook Pro with Lion. 
 The code is

 #\DeclareLyXModule[threeparttable.sty]{Threeparttable}
 #DescriptionBegin
 #Enables the threeparttable environment to ease the use of table notes
 #DescriptionEnd
 # Author: Andreas Noack Jensen andreas.noack.jen...@gmail.com

 Format 21

 #AddToPreamble
 #\usepackage{threeparttable}
 #EndPreamble

 InsetLayout   Flex:Threeparttable
   LyXType custom
   LatexType   Environment
   LatexName   threeparttable
   Decoration  classic
   LabelString threeparttable
   MultiPartrue
 End

 Style Tablenotes
   LatexType   Item_Environment
   LatexName   tablenotes
   Font
   SizeTiny
   EndFont
 End

 For Some reason the font size statement is completely ignored in the LaTeX 
 code even though the font i LyX gets smaller. My second problem is, that I 
 get the senseless!!! message when I make a caption in the custom inset. Any 
 ideas about how to get this to work?

On (i), the font declaration only affects the appearance in LyX. You
have to do something in the LaTeX itself if you want to font to be smaller.

On (ii), I think the problem is that captions must be in floats. So you
should declare tablenotes as a float, if that is what it really is. See
stdfloats.inc for examples.

Richard



Re: LyX 2.0.1 (OS X): file with relative path name not found

2011-09-28 Thread Patrick De Visschere

On 27 Sep, 2011, at 11:11 PM, Richard Heck wrote:

 On 09/27/2011 04:47 PM, Patrick De Visschere wrote:
 Hello,
 
 Including a .pdf file with \includegraphics and with a relative pathname like
 
 \includegraphics{../path/to/file/starting/from/parent/directory/some_file.pdf}
 
 results in a file not found error from the pdftex.def package.
 
 When exporting as .tex and processing with e.g. TeXShop there is no problem.
 
 This problem occurs with LyX 2.0.1 under OS X; (not with LyX 2.0.0)
 
 There have been some changes to how LyX handles external paths. These
 are noted in the RELEASE NOTES file. I would guess that is the source of
 the problem. If you can't resolve it, post a note to the devel list.
 
 Richard
 

Thanks.
It looks like I should have read the release notes, sorry.

I was indeed referring to files in ERT.

I normally use pathnames relative to the current directory and since . is 
automatically included in the TEXINPUTS prefix, this should still work I guess 
without making any modifications. But it doesn't.
The problematic paths start with ../ and it looks there is still a problem with 
that. I can of course drop the starting ../ and add .. to the prefix list but 
I'm reluctant to changing those paths since they will then not run anymore in 
the previous versions.

Also, when exporting as latex the prefix is not included, as far as I can see 
and when fixed for LyX2.0.1 the latex-file will now not run with TeXShop, 
unless one can instruct TeXShop to use the same prefix list.

Regards,

P. De Visschere

Re: Feature request

2011-09-28 Thread Guenter Milde
On 2011-09-28, ehud.kap...@gmail.com wrote:

 [-- Type: text/plain, Encoding: 7bit --]

 Every time Latex is updated, Lyx must be reconfigured.
 Is there a way for Lyx to check whether Latex has been updated
 since the last time it was reconfigured, and if so, to reconfigure itself?

Just an idea: how about comparing the modification time of LyX's config file
and the ls-R files in the texmf trees (system, local, and user)?

Günter



Re: Lyx Windows - Linux Compatibility

2011-09-28 Thread Paul Rubin
In addition to missing packages (which has already been mentioned), it is
sometimes the case that different versions of the same package are installed
under Linux and Windows. Updating the older package to the newer version (on
whichever machine has the older version) usually cures problems of that nature.

FWIW, I've been editing the same docs on both Windows and Linux for years with
almost no difficulties.

Paul



Re: Multilingual difficulties for beginners with Lyx

2011-09-28 Thread Lisa
Guenter Milde milde at users.berlios.de writes:

 
 If this main font contains Chinese characters, it should work for Chinese.
 
 If you want to use a different font for Chinese (or any other non-Latin
 script) via polyglossia, this needs to be set up in the preamble. By
 default, polyglossia is loaded, too, when use non-TeX fonts is true, so
 you don't need to load it again.
 
Thanks Günter, yes, if the person I installed Lyx for, sets a main font that can
also display Chinese then they will have no problem. I should have mentioned
that they do not want to use a Unicode / Chinese font as their default text 
font.

Lyx displays most languages nicely on the screen even when a more limited
default font that does not carry those codepoints is used.
It still displays them nicely with view in html, and on a Mac for instance, if
you save this as a pdf without doing anything else you will see those languages
rendered nicely. So its a shame that it can't use that font substitution
information that it must know about at some level (in Qt?) to generate some
Latex for the Chinese/Arabic/Russian if the user hasn't supplied any 
her/himself.

Cheers, Lisa.
(p.s. its exactly for occasional use, in our global world, that it would be nice
to have this, rather than for regular multilingual users of Lyx who can choose
their preferred fonts).
(Polyglossia is still at 2010/7/27 (CTAN) which has no Chinese support, is that
right?)





Problems in this section of preamble...........

2011-09-28 Thread Charlie

Debian Wheezy [testing]

LyX 2.0.1

article (KOMA-Script) class

If this section is added to the preamble:

\titleformat{\subsection}[wrap]
  {\normalfont\fontseries{b}\selectfont\filright}
  {\thesection.}{.5em}{}

The subsection does not display other than the section number i.e,

Section 2

Shows only subsection 2 and 2 and 2

Rather than subsection 2.1 and 2.2 and 2.3

The above addition worked for previous LyX versions and is in various
of my templates, but doesn't work now.

I have gone through the preamble, line by line, to isolate this section
and discover it's the problem.

Can someone please troubleshoot this for me and tell me what I'm doing
wrong here, or rather have done wrong. I don't know where to start.

Thank you,
Charlie
-- 
Registered Linux User:- 329524
***

There is no remedy for love than to love more. Henry David Thoreau

***

Debian GNU/Linux - just the best way to create magic

-


Re: Problems in this section of preamble...........

2011-09-28 Thread Charlie
 On Wed, 28 Sep 2011 16:30:41 +1000 "Charlie aries...@skymesh.com.au"
 suggested this:

>\titleformat{\subsection}[wrap]
>  {\normalfont\fontseries{b}\selectfont\filright}
>  {\thesection.}{.5em}{}

Apologies for the noise, but I found the problem, it appears to be here:
{\thesection.}
  ^ The full stop

My apologies again.

Charlie
-- 
Registered Linux User:- 329524
***

Whatever the human law may be, neither an individual nor a nation can
commit the least act of injustice against the obscurest individual
without having to pay the penalty for it. ...Henry David Thoreau

***

Debian GNU/Linux - just the best way to create magic

-


A Lyx-beamer question

2011-09-28 Thread Murat Yildizoglu
Hi,

When I do beamers in a standard latex editor, I put

\beamerdefaultoverlayspecification{<+->}

in the header to have the list show progressively their items (by
pausing between items)

When I use the beamer template of Lyx, this instruction in the
preamble seems ineffective: I get plain slides like if I have given
then "handout" option to the class.

I can only get the original setup if I put this instruction in each
slide, in an ERB.

Is there a way to catch back my initial trick (putting it only once
for all slides)? Why what I put in the preamble is not used during the
compilation (means that, I imagine, something else in the template
reverses it)?

Murat

-- 
Prof. Murat Yildizoglu
Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

yi...@u-bordeaux4.fr
http://yildizoglu.info
http://www.twitter.com/yildizoglu


Re: Multilingual difficulties for beginners with Lyx

2011-09-28 Thread Guenter Milde
On 2011-09-28, Lisa Andrews wrote:
> I successfully use multiple languages in Lyx with Xetex by specifying
> packages and fonts in the document preamble, or using inline ERT
> (usepackage \fontspec etc)

> I see on http://wiki.lyx.org/LyX/XeTeX, where it describes a similar
> setup to my own, that it says:

> "Note: the following steps are only necessary up to LyX 1.6.x. As of
> LyX 2.0, you will just need to click Document→Settings...→Fonts→Use
> non-TeX fonts (via XeTeX/LuaTeX). Then you can immediately View→PDF
> (XeTeX). "

> However, when I tried this out for someone I recently installed Lyx
> for (2.0.1 on a Mac, I use 2.0rc3 Win7) it seems that Xetex had no
> idea which fonts to use for Chinese (the default font was in English).
> Use non-Tex fonts was selected, document language package made no
> difference. Note the 1.6.x approach with the preamble did work.

> Shall I tell this user to put fontspec etc. into their preamble the
> way I do, should I try the xeCJK macro mentioned in the wiki.lyx xetex
> page, or have I missed something?

With LyX 2.x, you can load fontspec and set the main font families with
"use non-TeX fonts" and the GUI.

If this main font contains Chinese characters, it should work for Chinese.

If you want to use a different font for Chinese (or any other non-Latin
script) via polyglossia, this needs to be set up in the preamble. By
default, polyglossia is loaded, too, when "use non-TeX fonts" is true, so
you don't need to load it again.

Hint: With View>Source, you can check the complete LaTeX preamble written
by LyX if you activate the "Complete Source" box.

Günter




Re: Merge Adjacent Citations?

2011-09-28 Thread andrewufrank
Julio Rojas  gmail.com> writes:

> 
> If you are using Biblatex, you can use \cites, \parencites,
> \footcites, \textcites, \supercites.
> -
> Julio Rojas
> jcredberry  gmail.com
> 
> On Tue, Apr 5, 2011 at 11:14 PM, Richard Heck  comcast.net> wrote:
> > On 04/05/2011 02:57 PM, Greg Kise wrote:
 LyXers,
> >>
> >> Is there any way to merge adjacent citations?
> >>
> >> I'm using BibDesk to search citations and then Send to Lyx script, works
> >> very nice. However the citations are sent to LyX one at a time (unless I
> >> ctrl^select, but sometimes you slip). Is there any way to merge adjacent
> >> citations to make multi-citations? Like (Greg 2002, Greg et. al. 2010,
> >> etc.)?
> >>
> > http://www.lyx.org/trac/ticket/4842
> >
> > Richard
> >

> 
the problem is to do the merge within lyx - the reply seems not a solution to
the original problem in the context of lyx.

i have the same question and need a solution in lyx!
andrew





2 indexes in Lyx 2

2011-09-28 Thread sududur
Dear Lyxers,

I'm trying to use Lyx for my thesis, but I know nothing or almost nothing
about latex. [?]
I'd like to make 2 indexes with lyx 2.0.0
but I can't find the way to make it work.
I've constructed the first one with Lyx 1.6, I've declared 2 indexes in Lyx
2, but when I want to export in PDF, it doesn't work.
If I use one index, it's ok.
I think it's because of a bad preamble, but I don't know what to do
: \renewcommand{\indexname}{Index général}

thanks for your help[?]
Nathalie


Here the errors :

)) ("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\splitindex\splitidx.sty"

Package: splitidx 2009/02/28 v1.1a multiple indices for LaTeX

! LaTeX Error: Command \see already defined.

Or name \end... illegal, see p.192 of the manual.


! LaTeX Error: Command \printindex already defined.

 Or name \end... illegal, see p.192 of the manual.

] [2]

! Undefined control sequence.

 \@indexfile

 l.176 ...tbf{Nathalie Desmet\sindex[ind]{Desmet} }

The control sequence at the end of the top line

of your error message was never \def'ed. If you have

misspelled it (e.g., `\hobx'), type `I' and the correct

spelling (e.g., `I\hbox'). Otherwise just continue,

and I'll forget about whatever was undefined.

! Missing number, treated as zero.



{

l.176 ...tbf{Nathalie Desmet\sindex[ind]{Desmet} }

 A number should have been here; I inserted `0'.

(If you can't figure out why I needed to see a number,

look up `weird error' in the index to The TeXbook.)
<><<33F.gif>>

Re: 2 indexes in Lyx 2

2011-09-28 Thread Francesco Menoncin

  
  
Il 28/09/2011 11:07, sududur ha scritto:
Dear Lyxers, 
  
  
  I'm trying to use Lyx for my thesis, but I know nothing or
almost nothing about latex. 
  I'd like to make 2 indexes with lyx 2.0.0
  but I can't find the way to make it work.
  I've constructed the first one with Lyx 1.6, I've declared 2
indexes in Lyx 2, but when I want to export in PDF, it doesn't
work.
  If I use one index, it's ok.
  I think it's because of a bad preamble, but I don't know what
to do : \renewcommand{\indexname}{Index général}
  
  
  thanks for your help
  Nathalie 
  
  
  
  
  Here the errors :
  
  
  )) ("C:\Program Files (x86)\MiKTeX
2.8\tex\latex\splitindex\splitidx.sty"
Package:
  splitidx 2009/02/28 v1.1a multiple indices for LaTeX
!
  LaTeX Error: Command \see already defined.
 Or
  name \end... illegal, see p.192 of the manual.

  

!
  LaTeX Error: Command \printindex already defined.
 Or
  name \end... illegal, see p.192 of the manual.

  ] [2]
!
  Undefined control sequence.

  \@indexfile 
 
l.176
  ...tbf{Nathalie Desmet\sindex[ind]{Desmet} }

  The control sequence at the end of the top line
of
  your error message was never \def'ed. If you have
misspelled
  it (e.g., `\hobx'), type `I' and the correct
spelling
  (e.g., `I\hbox'). Otherwise just continue,
and
  I'll forget about whatever was undefined.
!
  Missing number, treated as zero.
 
 {
l.176
  ...tbf{Nathalie Desmet\sindex[ind]{Desmet} }
 
A
  number should have been here; I inserted `0'.
(If
  you can't figure out why I needed to see a number,
look
  up `weird error' in the index to The TeXbook.)
  
  
  
  
  



If you are on Windows OS, in order to make the multiple indexes work
you have to download a "perl interpreter" (see #7579 on LyX Ticket
Tracker).
I had not such a problem with Linux (Ubuntu).

-- 

Francesco Menoncin
Università degli Studi di Brescia
Facoltà di Economia
Via S. Faustino, 74/B
25122 Brescia (Italy)
Tel: 0039-030-2988806
Fax: 0039-030-2988837
E-mail: menon...@eco.unibs.it
web: www.eco.unibs.it/~menoncin/

  



Re: A Lyx-beamer question

2011-09-28 Thread Liviu Andronic
On Wed, Sep 28, 2011 at 8:41 AM, Murat Yildizoglu  wrote:
> Hi,
>
> When I do beamers in a standard latex editor, I put
>
> \beamerdefaultoverlayspecification{<+->}
>
I'm not familiar with this, btu this is the exact same instruction in
File > New from Template > beamer.lyx. Try that and see if it works.
(The note just before the first frame.)

Liviu


> in the header to have the list show progressively their items (by
> pausing between items)
>
> When I use the beamer template of Lyx, this instruction in the
> preamble seems ineffective: I get plain slides like if I have given
> then "handout" option to the class.
>
> I can only get the original setup if I put this instruction in each
> slide, in an ERB.
>
> Is there a way to catch back my initial trick (putting it only once
> for all slides)? Why what I put in the preamble is not used during the
> compilation (means that, I imagine, something else in the template
> reverses it)?
>
> Murat
>
> --
> Prof. Murat Yildizoglu
> Université Montesquieu Bordeaux IV
> GREThA (UMR CNRS 5113)
> Avenue Léon Duguit
> 33608 Pessac cedex
> France
>
> yi...@u-bordeaux4.fr
> http://yildizoglu.info
> http://www.twitter.com/yildizoglu
>



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


Re: A Lyx-beamer question

2011-09-28 Thread Manolo Martínez
On 09/28/11 at 11:48am, Liviu Andronic wrote:
> On Wed, Sep 28, 2011 at 8:41 AM, Murat Yildizoglu  wrote:
> > Hi,
> >
> > When I do beamers in a standard latex editor, I put
> >
> > \beamerdefaultoverlayspecification{<+->}
> >
> I'm not familiar with this, btu this is the exact same instruction in
> File > New from Template > beamer.lyx. Try that and see if it works.
> (The note just before the first frame.)
> 
> Liviu
> 
I have never got this to work in the LyX Beamer template. Always
end up adding Pauses galore.

Manolo


Re: 2 indexes in Lyx 2

2011-09-28 Thread sududur
Thanks Francesco,
Yes I'm on Windows [?], I've installed a perl interpreter, but same errors.
another idea ?
anyhelp would be useful
Nathalie

2011/9/28 Francesco Menoncin 

>  Il 28/09/2011 11:07, sududur ha scritto:
>
> Dear Lyxers,
>
>  I'm trying to use Lyx for my thesis, but I know nothing or almost nothing
> about latex. [?]
> I'd like to make 2 indexes with lyx 2.0.0
> but I can't find the way to make it work.
> I've constructed the first one with Lyx 1.6, I've declared 2 indexes in Lyx
> 2, but when I want to export in PDF, it doesn't work.
> If I use one index, it's ok.
> I think it's because of a bad preamble, but I don't know what to do
> : \renewcommand{\indexname}{Index général}
>
>  thanks for your help[?]
> Nathalie
>
>
>  Here the errors :
>
>  )) ("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\splitindex\splitidx.sty"
>
>
> Package: splitidx 2009/02/28 v1.1a multiple indices for LaTeX
>
> ! LaTeX Error: Command \see already defined.
>
> Or name \end... illegal, see p.192 of the manual.
>
>
>  ! LaTeX Error: Command \printindex already defined.
>
> Or name \end... illegal, see p.192 of the manual.
>
> ] [2]
>
> ! Undefined control sequence.
>
>  \@indexfile
>
>  l.176 ...tbf{Nathalie Desmet\sindex[ind]{Desmet} }
>
> The control sequence at the end of the top line
>
> of your error message was never \def'ed. If you have
>
> misspelled it (e.g., `\hobx'), type `I' and the correct
>
> spelling (e.g., `I\hbox'). Otherwise just continue,
>
> and I'll forget about whatever was undefined.
>
> ! Missing number, treated as zero.
>
> 
>
> {
>
> l.176 ...tbf{Nathalie Desmet\sindex[ind]{Desmet} }
>
>  A number should have been here; I inserted `0'.
>
> (If you can't figure out why I needed to see a number,
>
> look up `weird error' in the index to The TeXbook.)
>
>
>
>
> If you are on Windows OS, in order to make the multiple indexes work you
> have to download a "perl interpreter" (see #7579 on LyX Ticket Tracker).
> I had not such a problem with Linux (Ubuntu).
>
> --
> 
> Francesco Menoncin
> Università degli Studi di Brescia
> Facoltà di Economia
> Via S. Faustino, 74/B
> 25122 Brescia (Italy)
> Tel: 0039-030-2988806
> Fax: 0039-030-2988837
> E-mail: menon...@eco.unibs.it
> web: www.eco.unibs.it/~menoncin/
> 
>
>
<<33D.gif>>

Re: lexlive2011 and Debian squeeze

2011-09-28 Thread Helge Hafting

On 13. sep. 2011 16:01, Wolfgang Engelmann wrote:

Could somebody who uses Debian squeeze and texlive2011 share his
experience installing it with me (and others)?. Where is texlive
installed and how do I make sure that lyx is using it (and also other
programs which use tex/latex such as xfig etc), i.e. the Path setting?
At the moment I have downloaded the unx.tar.gz package, which is waiting
to be unpacked and further manipulated.


I installed texlive2011 into debian - it was easy enough:

1. Download the texlive installer from their site
2. Run the installer as root
3. Select what you want - I deselected support for a lot of
   languages I don't use, but installed everything else.
4. Wait, as the texlive installer fetch the 2.7GB or so,
   and puts it in /usr/local. (You can select somewhere else,
   if you like.)
5. Update your PATH setting, so that texlive2011 binaries will
   be found before Debian's older texlive. I updated my
   .bashrc file with this line:
   export PATH=/usr/local/texlive/2011/bin/x86_64-linux:$PATH
   If your platform is 32-bit, this line will be slightly different.
6. Log out and in again, verify the changed PATH. You may also want
   to run the command "pdflatex" and see that it says "(TeX Live 2011)"
7. Start LyX, use the menu "Tools->Reconfigure". After this, LyX uses
   the new texlive because of the PATH update.

No need to remove Debian's texlive - it satisfies dependencies for
other packages that wants TeX. The 2011 version will be used anyway
due to the PATH change.

To switch back, (when Debian eventually get texlive2011), remove 
texlive2011 from the PATH and use Tools->Reconfigure in LyX again.


Helge Hafting



Re: Lyx Windows <-> Linux Compatibility

2011-09-28 Thread Julio Rojas
Hi Stephen,

Most certainly it would be a missed package. Can you send an SMALL
version of your document?

Regards.
-
Julio Rojas
jcredbe...@gmail.com



On Wed, Sep 28, 2011 at 1:53 PM, Stephen GEORGE
 wrote:
>
>
> Hi,
>
> I created a document with Lyx running on Win7 with Miktex, compiles to pdf
> without error.
>
> I can share via svn to linux and tried to build, and get errors.
>
> Is it expected for lyx file and build process to work cross platform?
> Is it possibly something to do with my latex install on debian?
> Any ideas where I should go to start find the issue.
>
> An example of the errors I get
>
> ! LaTeX Error: Missing \begin{document}.
>
> ! You can't use `macro parameter character #' in horizontal mode.
> ! Extra \else.
> ! Extra \fi.
> ! LaTeX Error: Option clash for package hyperref
>
> ! Undefined control sequence.
> ! Missing number, treated as zero.
>
> ! Improper `at' size (0.0pt), replaced by 10pt.
>
> ( I do have some documents that work OK , but they are simple ones )
>
> Thanks for any hints
> Steve
>
> 
> Both OS are using Lyx Version 2.0.0
>
> steve@dolphin:~/SVNpersonal$ latex --version
> pdfTeX 3.1415926-1.40.10-2.2 (TeX Live 2009/Debian)
> kpathsea version 5.0.0
> Copyright 2009 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
> There is NO warranty.  Redistribution of this software is
> covered by the terms of both the pdfTeX copyright and
> the Lesser GNU General Public License.
> For more information about these matters, see the file
> named COPYING and the pdfTeX source.
> Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
> Compiled with libpng 1.2.46; using libpng 1.2.46
> Compiled with zlib 1.2.3.4; using zlib 1.2.3.4
> Compiled with poppler version 0.16.7
>
>


Re: Merge Adjacent Citations?

2011-09-28 Thread Richard Heck

On 09/28/2011 04:11 AM, andrewufrank wrote:

Julio Rojas  writes:


If you are using Biblatex, you can use \cites, \parencites,
\footcites, \textcites, \supercites.
-
Julio Rojas
jcredberry  gmail.com

On Tue, Apr 5, 2011 at 11:14 PM, Richard Heck  wrote:

On 04/05/2011 02:57 PM, Greg Kise wrote:

  LyXers,

Is there any way to merge adjacent citations?

I'm using BibDesk to search citations and then Send to Lyx script, works
very nice. However the citations are sent to LyX one at a time (unless I
ctrl^select, but sometimes you slip). Is there any way to merge adjacent
citations to make multi-citations? Like (Greg 2002, Greg et. al. 2010,
etc.)?


http://www.lyx.org/trac/ticket/4842

Richard


the problem is to do the merge within lyx - the reply seems not a solution to
the original problem in the context of lyx.

i have the same question and need a solution in lyx!


There's a bug report about this, but no one has yet addressed it.

Richard



Re: A Lyx-beamer question

2011-09-28 Thread Murat Yildizoglu
Hi Liviu,

Thanks a lot for this suggestion, I have used the templates, so I have
definitely missed this one.

Unfortunately, it does not solve my problem, since the template itself
uses an even more manual approach than mine to solve this problem (by
putting overlays after each item).

I have inserted a dummy slide with just three items on it, they came
all visible in the same in the PDF.

But I see that I can learn many tricks from this template (I do every
trick manually in ERB for now), and better use Lyx with beamer. Very
good news.

Anyway, it seems that Lyx redefines something somewhere to suppress
the effect of the global instruction I put in the preamble (it
perfectly works with beamer documents written with TexMaker, for
example). This definition would be in the slide part, since putting
the instruction in the beginning of my document (before the first
slide)  does not solve the problem either. When I have some time, I
will check the layout file to see how it redefines the frame and its
properties.

2011/9/28 Liviu Andronic :
> On Wed, Sep 28, 2011 at 8:41 AM, Murat Yildizoglu  wrote:
>> Hi,
>>
>> When I do beamers in a standard latex editor, I put
>>
>> \beamerdefaultoverlayspecification{<+->}
>>
> I'm not familiar with this, btu this is the exact same instruction in
> File > New from Template > beamer.lyx. Try that and see if it works.
> (The note just before the first frame.)
>
> Liviu
>
>
>> in the header to have the list show progressively their items (by
>> pausing between items)
>>
>> When I use the beamer template of Lyx, this instruction in the
>> preamble seems ineffective: I get plain slides like if I have given
>> then "handout" option to the class.
>>
>> I can only get the original setup if I put this instruction in each
>> slide, in an ERB.
>>
>> Is there a way to catch back my initial trick (putting it only once
>> for all slides)? Why what I put in the preamble is not used during the
>> compilation (means that, I imagine, something else in the template
>> reverses it)?
>>
>> Murat
>>
>> --
>> Prof. Murat Yildizoglu
>> Université Montesquieu Bordeaux IV
>> GREThA (UMR CNRS 5113)
>> Avenue Léon Duguit
>> 33608 Pessac cedex
>> France
>>
>> yi...@u-bordeaux4.fr
>> http://yildizoglu.info
>> http://www.twitter.com/yildizoglu
>>
>
>
>
> --
> Do you know how to read?
> http://www.alienetworks.com/srtest.cfm
> http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
> Do you know how to write?
> http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
>



-- 
Prof. Murat Yildizoglu
Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

yi...@u-bordeaux4.fr
http://yildizoglu.info
http://www.twitter.com/yildizoglu


Re: Lyx Windows <-> Linux Compatibility

2011-09-28 Thread Manveru
2011/9/28 Stephen GEORGE :
> I created a document with Lyx running on Win7 with Miktex, compiles to pdf
> without error.
>
> I can share via svn to linux and tried to build, and get errors.
>
> Is it expected for lyx file and build process to work cross platform?
> Is it possibly something to do with my latex install on debian?
> Any ideas where I should go to start find the issue.
[...]
> steve@dolphin:~/SVNpersonal$ latex --version
> pdfTeX 3.1415926-1.40.10-2.2 (TeX Live 2009/Debian)
> kpathsea version 5.0.0
[...]
> Compiled with libpng 1.2.46; using libpng 1.2.46
> Compiled with zlib 1.2.3.4; using zlib 1.2.3.4
> Compiled with poppler version 0.16.7

I am successfully work on my thesis this way easily from late 1.5.x as
far as I remeber; for sure on 1.6.x and now on 2.0.1 on Linux and
2.0.0.

The only problems I really have (still unresolved) is different
scaling of large pictures coming into PDF, what cause different
clipping of such images between Linux rendered and Windows rendered
PDFs (if I use clipping function).

You have to make sure you have all packages you need for your document
on Linux, the BIG advantage of MikTeX is its ability to automated
download of needed packages (I really miss that feature in Linux*).

The next thing which may blow up some problems is that TeXLive 2009
contains a lot of VERY OLD packages, so in comparison to what MikTeX
2.9 offer on Windows, the incompatibilities could be much more that
minor.

* I wait with longing for the day when TeX packages will not be
managed by native distro packages system, but only by TeX specific
packages system!
-- 
Manveru
jabber: manv...@manveru.pl
     gg: 1624001
   http://www.manveru.pl


Re: A Lyx-beamer question

2011-09-28 Thread Liviu Andronic
On Wed, Sep 28, 2011 at 3:49 PM, Murat Yildizoglu  wrote:
> But I see that I can learn many tricks from this template (I do every
> trick manually in ERB for now), and better use Lyx with beamer. Very
> good news.
>
I use regularly Beamer with LyX, and of course it always depends what
you do and how you subsequently present your slides, but my experience
with stepwise display (everywhere) is: don't. Stepwise is good in
specific places, but usually it makes more sense (for me, anyway) to
display in blocks. For example, you can put two items in one slide and
uncover the three next in the second slide. I also tend to combine
this with 'block' environment (again, with pauses between 'blocks'),
and sometimes the vertical columns (don't remember their proper name).
But stepwise uncovering for every item tends not to work for me.

Cheers
Liviu


Re: Lyx Windows <-> Linux Compatibility

2011-09-28 Thread Liviu Andronic
On Wed, Sep 28, 2011 at 4:20 PM, Manveru  wrote:

> * I wait with longing for the day when TeX packages will not be
> managed by native distro packages system, but only by TeX specific
> packages system!
>
I myself long for the day when they implement local installation of
packages that doesn't conflict with the system---package
manager---based installation. However I don't know if they have plans
for this, and it may be wishful thinking.

Liviu


Re: LyX with pgfplotstable

2011-09-28 Thread Helge Hafting

On 27. sep. 2011 09:36, florian.wilh...@gmail.com wrote:

Hi,

pgfplotstable uses external data files to generate formatted lists like
\pgfplotstabletypeset{example1.dat}
The problem is that LyX creates a temp directory, copies over all
files and runs latex to generate the document there. Since it does not
copy example1.dat I get a corresponding error message.


Consider creating an "external inset" template for this kind of file.

This can be done by editing the file /usr/share/lyx/external_templates
This is how xfig and dia images, chess diagrams and spreadsheets are
supported. LyX know what to copy when the file is an external inset.
"external_templates" is a text file. Customizing it is documented,
and the existing content can be used as templates.

If you make a useful inset, consider sending it to the lyx development 
list. You might get it into the next LyX version. :-)


Helge Hafting


Re: Changed Shortcuts Not Working

2011-09-28 Thread Rich Shepard

On Tue, 27 Sep 2011, Richard Heck wrote:


I think Qt does see (and grab) the menu accelerator before LyX gets to see
it. But I'm not positive. If you really want to do this, you can remove
(or change) the menu accelerator in the stdmenus.inc file.


  Thanks again, Richard. That fixed the issue.

Rich


Feature request

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

Every time Latex is updated, Lyx must be reconfigured.
Is there a way for Lyx to check whether Latex has been updated
since the last time it was reconfigured, and if so, to reconfigure itself?

Thanks-
Ehud Kaplan




Caption and Font in module

2011-09-28 Thread Andreas Noack Jensen
Dear list

I am trying to make a module for the threeparttable package but I have some 
problems i cannot solve. I am running LyX 2.0.1 on a MacBook Pro with Lion. The 
code is

#\DeclareLyXModule[threeparttable.sty]{Threeparttable}
#DescriptionBegin
#Enables the threeparttable environment to ease the use of table notes
#DescriptionEnd
# Author: Andreas Noack Jensen 

Format 21

#AddToPreamble
#\usepackage{threeparttable}
#EndPreamble

InsetLayout Flex:Threeparttable
LyXType custom
LatexType   Environment
LatexName   threeparttable
Decoration  classic
LabelString threeparttable
MultiPartrue
End

Style Tablenotes
LatexType   Item_Environment
LatexName   tablenotes
Font
SizeTiny
EndFont
End

For Some reason the font size statement is completely ignored in the LaTeX code 
even though the font i LyX gets smaller. My second problem is, that I get the 
"senseless!!!" message when I make a caption in the custom inset. Any ideas 
about how to get this to work?

Best regards
Andreas

--
Andreas Noack Jensen
Ph.d.-stipendiat

Økonomisk Institut  andreas.noack.jen...@econ.ku.dk
Københavns Universitet  http://www.econ.ku.dk/phdstudent/noack/
Øster Farimagsgade 5, bygning 26Tlf.: 353 23094
1353 København K



Re: Caption and Font in module

2011-09-28 Thread Richard Heck
On 09/28/2011 02:28 PM, Andreas Noack Jensen wrote:
> Dear list
>
> I am trying to make a module for the threeparttable package but I have some 
> problems i cannot solve. I am running LyX 2.0.1 on a MacBook Pro with Lion. 
> The code is
>
> #\DeclareLyXModule[threeparttable.sty]{Threeparttable}
> #DescriptionBegin
> #Enables the threeparttable environment to ease the use of table notes
> #DescriptionEnd
> # Author: Andreas Noack Jensen 
>
> Format 21
>
> #AddToPreamble
> #\usepackage{threeparttable}
> #EndPreamble
>
> InsetLayout   Flex:Threeparttable
>   LyXType custom
>   LatexType   Environment
>   LatexName   threeparttable
>   Decoration  classic
>   LabelString threeparttable
>   MultiPartrue
> End
>
> Style Tablenotes
>   LatexType   Item_Environment
>   LatexName   tablenotes
>   Font
>   SizeTiny
>   EndFont
> End
>
> For Some reason the font size statement is completely ignored in the LaTeX 
> code even though the font i LyX gets smaller. My second problem is, that I 
> get the "senseless!!!" message when I make a caption in the custom inset. Any 
> ideas about how to get this to work?
>
On (i), the font declaration only affects the appearance in LyX. You
have to do something in the LaTeX itself if you want to font to be smaller.

On (ii), I think the problem is that captions must be in floats. So you
should declare tablenotes as a float, if that is what it really is. See
stdfloats.inc for examples.

Richard



Re: LyX 2.0.1 (OS X): file with relative path name not found

2011-09-28 Thread Patrick De Visschere

On 27 Sep, 2011, at 11:11 PM, Richard Heck wrote:

> On 09/27/2011 04:47 PM, Patrick De Visschere wrote:
>> Hello,
>> 
>> Including a .pdf file with \includegraphics and with a relative pathname like
>> 
>> \includegraphics{../path/to/file/starting/from/parent/directory/some_file.pdf}
>> 
>> results in a "file not found" error from the pdftex.def package.
>> 
>> When exporting as .tex and processing with e.g. TeXShop there is no problem.
>> 
>> This problem occurs with LyX 2.0.1 under OS X; (not with LyX 2.0.0)
>> 
> There have been some changes to how LyX handles external paths. These
> are noted in the RELEASE NOTES file. I would guess that is the source of
> the problem. If you can't resolve it, post a note to the devel list.
> 
> Richard
> 

Thanks.
It looks like I should have read the release notes, sorry.

I was indeed referring to files in ERT.

I normally use pathnames relative to the current directory and since . is 
automatically included in the TEXINPUTS prefix, this should still work I guess 
without making any modifications. But it doesn't.
The problematic paths start with ../ and it looks there is still a problem with 
that. I can of course drop the starting ../ and add .. to the prefix list but 
I'm reluctant to changing those paths since they will then not run anymore in 
the previous versions.

Also, when exporting as latex the prefix is not included, as far as I can see 
and when fixed for LyX2.0.1 the latex-file will now not run with TeXShop, 
unless one can instruct TeXShop to use the same prefix list.

Regards,

P. De Visschere

Re: Feature request

2011-09-28 Thread Guenter Milde
On 2011-09-28, ehud.kap...@gmail.com wrote:

> [-- Type: text/plain, Encoding: 7bit --]

> Every time Latex is updated, Lyx must be reconfigured.
> Is there a way for Lyx to check whether Latex has been updated
> since the last time it was reconfigured, and if so, to reconfigure itself?

Just an idea: how about comparing the modification time of LyX's config file
and the ls-R files in the texmf trees (system, local, and user)?

Günter



Re: Lyx Windows <-> Linux Compatibility

2011-09-28 Thread Paul Rubin
In addition to missing packages (which has already been mentioned), it is
sometimes the case that different versions of the same package are installed
under Linux and Windows. Updating the older package to the newer version (on
whichever machine has the older version) usually cures problems of that nature.

FWIW, I've been editing the same docs on both Windows and Linux for years with
almost no difficulties.

Paul



Re: Multilingual difficulties for beginners with Lyx

2011-09-28 Thread Lisa
Guenter Milde  users.berlios.de> writes:

> 
> If this main font contains Chinese characters, it should work for Chinese.
> 
> If you want to use a different font for Chinese (or any other non-Latin
> script) via polyglossia, this needs to be set up in the preamble. By
> default, polyglossia is loaded, too, when "use non-TeX fonts" is true, so
> you don't need to load it again.
> 
Thanks Günter, yes, if the person I installed Lyx for, sets a main font that can
also display Chinese then they will have no problem. I should have mentioned
that they do not want to use a Unicode / Chinese font as their default text 
font.

Lyx displays most languages nicely on the screen even when a more limited
default font that does not carry those codepoints is used.
It still displays them nicely with "view in html", and on a Mac for instance, if
you save this as a pdf without doing anything else you will see those languages
rendered nicely. So its a shame that it can't use that font substitution
information that it must know about at some level (in Qt?) to generate some
Latex for the Chinese/Arabic/Russian if the user hasn't supplied any 
her/himself.

Cheers, Lisa.
(p.s. its exactly for occasional use, in our global world, that it would be nice
to have this, rather than for regular multilingual users of Lyx who can choose
their preferred fonts).
(Polyglossia is still at 2010/7/27 (CTAN) which has no Chinese support, is that
right?)