Re: Solution: APA citation style in Lyx with Biblatex

2009-10-26 Thread Wolfgang Engelmann

Quoting Christian Brodbeck christianmbrodb...@gmail.com:


Hello,

Ages ago I asked this list about how to do APA references for my   
thesis, and since with rgheck's help I ended up with a method that   
seems to be working properly I figured it might be useful for  
someone  else:


thanks for these infos, they will be helpful

Wolfgang


Beamer class: how to use \beamerdefaultoverlayspecification?

2009-10-26 Thread Matthieu Stigler
Hi

In beamer class, I like the itemize environment with the possibility
to display each point each at a time using the 1-, 2- etc... I
like it so much that I use it every time and would love to automatize
it. I found the command:

\beamerdefaultoverlayspecification{+-}

whihc does that, but only inside a frame. If I write it in the
preamble, it does not affect anything...

I would love this command to be effective for all frames. Do I need to
redefine frame or is there something easier? Thanks!

Matthieu


PDF preview on Windows

2009-10-26 Thread Julio Rojas
Dear all, I have a problem when Lyx tries to render a preview of a PDF
figure. Some of my figures it handles well and the preview is shown. I
have included some new plots made with R using either pdf of
cairo_pdf and even if the document compiles perfectly, the preview
shows Error converting to loadable format,

I'm on Windows XP using Lyx 1.6.3.

Thanks in advance.
-
Julio Rojas
jcredbe...@gmail.com


Preamble in fixed width font?

2009-10-26 Thread Rainer M Krug
Hi

is it possible to see the preamble in a fixed width font?
Especially when the preamble is longer, it would make it easier redable.

Cheers,

Rainer


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

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

Cell:   +27 - (0)83 9479 042
Fax:+27 - (0)86 516 2782
Fax:+49 - (0)721 151 334 888
email:  rai...@krugs.de

Skype:  RMkrug
Google: r.m.k...@gmail.com


Environment description: including two first words

2009-10-26 Thread Matthieu Stigler
Hi

My question seems not so complicated but I did not find on the archives..

I want to use  the enviro description with on one line thw frist two
words (instead of the first one by default) included, as:

\begin{description}
\item [world] it is...
\item [Earth and sun] that is...
\end{description}

Can I do in Lyx or do I have to use it in TeX code mode?

Thanks a lot!

Matthieu


Re: Environment description: including two first words

2009-10-26 Thread Liviu Andronic
On 10/26/09, Matthieu Stigler matthieu.stig...@gmail.com wrote:
  I want to use  the enviro description with on one line thw frist two
  words (instead of the first one by default) included, as:

If I understand correctly, you could simply insert a protected space
(ctrl+space) between the two words.
Liviu


How to remove figure numbers in KOMA-script book?

2009-10-26 Thread gerlos
Hello everyone!
In the last weeks I started to use LyX, and found it very good. A long time ago 
I used 
LaTeX for a while, but I forget almost everything I learned a that time :-(
So sorry for the silly question...

Now I'm using LyX to write a book, and I'm using the KOMA-script book class. 
Here and there in the book I added some figures, but I'd like to remove the 
text like Figure 12.3 beside the caption (but still need a caption there), 
do you know if it's possible?
How can I do it?

I googled for a while but didn't find anything useful :-(
I also looked around in LyX and didn't found anything that seemed related... 
maybe needs some LaTeX magic?

Thanks in advance
gerlos

-- 
Life is pretty simple: You do some stuff. Most fails. Some works. You do more
of what works. If it works big, others quickly copy it. Then you do something
else. The trick is the doing something else.
http://gerlos.altervista.org 
 gerlos  +- - -   gnu/linux registred user #311588


Re: something wrong with biblatex

2009-10-26 Thread sara teinturier

sara teinturier wrote:




Thanks for your answer! Indeed, there are some warning in the Latex log,
but I don't understand what I have to do with them. The log file is
attached... Thanks! S.



It is difficult to debug without your bib file. The main problem seems to be
that there is a need for an extra bibtex run on your file.



You should take away the :



\usepackage[francais]{babel}
\usepackage{lmodern}



from your preamble. They are useless (you should choose the language and the

font with the LyX interface) and mess with biblatex.


You also have to download and install the csquotes latex package. I think
there are instructions on the Wiki and then add in your preamble the
following line :



\usepackage[style=french]{csquotes}



Thanks Charles, I've taken away the first two lines, now Bibliographie title 
appears as the good French word...
I use the TeXlive packages for Ubuntu 9.04: csquotes package is an outdated 
version.
(https://bugs.launchpad.net/ubuntu/+source/texlive-extra/+bug/433493)
I've tried to install the new one, as the readme csquotes package tells, but doesn't work yet: 
the outdated one should be found first by both Latex and Lyx, and I don't know how I could uninstall it.

I will try!
Cheers,
Sara




Re: something wrong with biblatex

2009-10-26 Thread Charles de Miramon
sara teinturier wrote:

 
 Thanks Charles, I've taken away the first two lines, now Bibliographie
 title appears as the good French word... I use the TeXlive packages for
 Ubuntu 9.04: csquotes package is an outdated version.
 (https://bugs.launchpad.net/ubuntu/+source/texlive-extra/+bug/433493) I've
 tried to install the new one, as the readme csquotes package tells, but
 doesn't work yet: the outdated one should be found first by both Latex and
 Lyx, and I don't know how I could uninstall it. I will try! Cheers,
 Sara

I don't think you have to uninstall it.

Download from CTAN the latest version of csquotes and then as root expand it 
in :

/usr/local/share/texmf/tex/latex/

you will get a csquotes directory with all the files.

Then run as root texhash to refresh the LaTeX database

LaTeX (and LyX) will then pick up the latest version

All this stuff is going to get much easier with the new version of TeXLive 
which will have an automatic installer of new packages but it is not there 
yet in Debian and Ubuntu

Cheers,
Charles
-- 
http://www.kde-france.org



Re: Environment description: including two first words

2009-10-26 Thread Waluyo Adi Siswanto
I think you can try Ctrl+Space which is the protected space. You can
even use for more than two words.

WAS

On Mon, 2009-10-26 at 12:31 +0100, Matthieu Stigler wrote:
 Hi
 
 My question seems not so complicated but I did not find on the archives..
 
 I want to use  the enviro description with on one line thw frist two
 words (instead of the first one by default) included, as:
 
 \begin{description}
 \item [world] it is...
 \item [Earth and sun] that is...
 \end{description}
 
 Can I do in Lyx or do I have to use it in TeX code mode?
 
 Thanks a lot!
 
 Matthieu



Re: How to remove figure numbers in KOMA-script book?

2009-10-26 Thread rgheck

On 10/26/2009 07:50 AM, gerlos wrote:

Hello everyone!
In the last weeks I started to use LyX, and found it very good. A long time ago 
I used
LaTeX for a while, but I forget almost everything I learned a that time :-(
So sorry for the silly question...

Now I'm using LyX to write a book, and I'm using the KOMA-script book class.
Here and there in the book I added some figures, but I'd like to remove the
text like Figure 12.3 beside the caption (but still need a caption there),
do you know if it's possible?
How can I do it?

I googled for a while but didn't find anything useful :-(
I also looked around in LyX and didn't found anything that seemed related...
maybe needs some LaTeX magic?

   
I don't know about this, but you could try looking in the koma-script 
docs. The other possibility (LaTeX magic, yes) would be something like: 
\renewcommand\thefigure{}, in the preamble. I think something like that 
works.


rh



Re: Environment description: including two first words

2009-10-26 Thread Matthieu Stigler
Solved!

That was effectively rather trivial, using the protected space did the trick!

Thanks a lot for your help!!

Matthieu

2009/10/26 Waluyo Adi Siswanto was.u...@gmail.com:
 I think you can try Ctrl+Space which is the protected space. You can
 even use for more than two words.

 WAS

 On Mon, 2009-10-26 at 12:31 +0100, Matthieu Stigler wrote:
 Hi

 My question seems not so complicated but I did not find on the archives..

 I want to use  the enviro description with on one line thw frist two
 words (instead of the first one by default) included, as:

 \begin{description}
 \item [world] it is...
 \item [Earth and sun] that is...
 \end{description}

 Can I do in Lyx or do I have to use it in TeX code mode?

 Thanks a lot!

 Matthieu




[bug report] Lyx 1.6.4 crashes while editing formula

2009-10-26 Thread Falk Sticken
Hi
I have found a bug in LyX 1.6.4 on Linux (openSUSE 11.1) which is not
reported in the bug tracker. When I start editing an inline math formula
(ALT+M M) and type 
\mathc 
SPACE 
BACKSPACE 
al 
SPACE 
LyX crashes.
A backtrace follows below.
bye,
Falk

#0  0xb6fcd3b8 in ?? () from /lib/libc.so.6
#1  0x080d541a in lyx::DocIterator::innerParagraph() const ()
#2  0x081d47ba in lyx::samePar(lyx::DocIterator const, lyx::DocIterator
const) ()
#3  0x081d4f67 in lyx::BufferView::setInlineCompletion(lyx::Cursor,
lyx::DocIterator const, std::basic_stringwchar_t,
std::char_traitswchar_t, std::allocatorwchar_t  const, unsigned
int) ()
#4  0x0841eceb in lyx::frontend::GuiCompleter::hideInline(lyx::Cursor)
()
#5  0x0841fb21 in
lyx::frontend::GuiCompleter::updateVisibility(lyx::Cursor, bool, bool,
bool) ()
#6  0x0839f166 in lyx::frontend::GuiView::updateCompletion(lyx::Cursor,
bool, bool) ()
#7  0x081356e8 in lyx::LyXFunc::dispatch(lyx::FuncRequest const) ()
#8  0x08137d83 in lyx::LyXFunc::processKeySym(lyx::KeySymbol const,
lyx::KeyModifier) ()
#9  0x083bd401 in lyx::frontend::GuiWorkArea::keyPressEvent(QKeyEvent*)
()
#10 0xb784691e in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#11 0xb7b7ca83 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#12 0xb7c13c8d in QAbstractScrollArea::event(QEvent*) ()
   from /usr/lib/libQtGui.so.4
#13 0x083ba1bf in lyx::frontend::GuiWorkArea::event(QEvent*) ()
#14 0xb77ee8fc in QApplicationPrivate::notify_helper(QObject*, QEvent*)
()
   from /usr/lib/libQtGui.so.4
---Type return to continue, or q return to quit---
#15 0xb77f7836 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libQtGui.so.4
#16 0x08381208 in lyx::frontend::GuiApplication::notify(QObject*,
QEvent*) ()
#17 0xb7593961 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /usr/lib/libQtCore.so.4
#18 0xb784f4be in ?? () from /usr/lib/libQtGui.so.4
#19 0xb7884470 in ?? () from /usr/lib/libQtGui.so.4
#20 0xb7886606 in ?? () from /usr/lib/libQtGui.so.4
#21 0xb785ebd5 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/libQtGui.so.4
#22 0xb788808a in ?? () from /usr/lib/libQtGui.so.4
#23 0xb73b99a8 in g_main_context_dispatch ()
from /usr/lib/libglib-2.0.so.0
#24 0xb73bd063 in ?? () from /usr/lib/libglib-2.0.so.0
#25 0xb73bd221 in g_main_context_iteration ()
from /usr/lib/libglib-2.0.so.0
#26 0xb75bdfb8 in
QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () 
from /usr/lib/libQtCore.so.4
#27 0xb7887785 in ?? () from /usr/lib/libQtGui.so.4
#28 0xb759201a in
QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) ()
from /usr/lib/libQtCore.so.4
#29 0xb75921da in
QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) ()
   from /usr/lib/libQtCore.so.4
#30 0xb7594895 in QCoreApplication::exec() ()
from /usr/lib/libQtCore.so.4
#31 0xb77ee777 in QApplication::exec() () from /usr/lib/libQtGui.so.4
---Type return to continue, or q return to quit---
#32 0x081235fe in lyx::LyX::exec(int, char**) ()
#33 0x08071fa9 in main ()



Re: authorindex in LyX?

2009-10-26 Thread Manveru
2009/10/24 Mats Andrén mats.and...@ling.lu.se:
 Sorry to be spamming but after sending my post I realized that it was a
 bit strange of me not to try what would happen without the multicols
 begin/end-pair, and just call \printauthorindex. When I remove the multi
 column stuff, no extra two pages are generated, which should probably be
 relevant for you people...

 But the main problem remains, of course.

What I can tell you about LyX is that it cannot run additional scripts
during LaTeX processing yet. And probably will not, as I it should
assume you have perl installed on your machine, which is often a
problem on Macs or Windows.

There are possible solutions to create your own converter calling the
perl script after first latex run. But you have then define your own
format, for example 'pdflatex (authorindex)'.

-- 
Manveru
jabber: manv...@manveru.pl
 gg: 1624001
   http://www.manveru.pl


Re: hide bibliography section?

2009-10-26 Thread Manveru
2009/10/25 Liviu Andronic landronim...@gmail.com:
 On 10/24/09, Stefano Franchi fran...@philosophy.tamu.edu wrote:
  If the latter, put the Lyx-inserted bibliography inset at the end of the
  document into a Lyx-note inset (to keep access to refs through the citation
  dialogue) and add, in ERT,
  /nobibliography{/path/to/your/bib/file}

 Hmm, I am using natbib, and when I insert bibliography in a note, all
 the in-line references are turned to ?. If I also add
 \nobibliography{refs-sri.bib}

 , then the document fails to compile for complaining of an undefined
 control sequence. I found one reference of this command on the wiki
 [1], and it seems that it is a jurabib option.

Unfortunately in such case you probably have to put absolute path of
you bib file.

This is due to fact that LyX copies all the stuff into temporary
directory before latex is run, and it may not copy your .bib file if
your bibliography is in the note.

-- 
Manveru
jabber: manv...@manveru.pl
 gg: 1624001
   http://www.manveru.pl


Float/figures width

2009-10-26 Thread ColMatrix

Hi there,

Just started dabbling with LaTex and Lyx. I understand how to format a
figure in LaTex, for example, to have my diagram the same width as the
column of text, I type something like:

\includegraphics[width=\columnwidth]{figure.jpg}

or to get it x% of the column width

\includegraphics[width=x\columnwidth]{figure.jpg}

But how do I do this in Lyx?

Also, I'd like to know how to get, for example, two separate figures side by
side, each 50% (or less) the width of the column of text. Would it be
possible for Lyx to label them Figure 1(a) and (b) automagically?

I tried searching for an answer, but didn't find anything I could
understand. I hope you can help!

Thanks in advance!
-- 
View this message in context: 
http://n2.nabble.com/Float-figures-width-tp3893045p3893045.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: hide bibliography section?

2009-10-26 Thread Liviu Andronic
Hello

On 10/26/09, Manveru manv...@manveru.pl wrote:
 Unfortunately in such case you probably have to put absolute path of
  you bib file.

This time I tried jurabib  \nobibliography{/full/path/refs-sri.bib} 
bibliography-in-note, and the document compiles fine, but all the
references are still ?. I still cannot manage to use LyX's
facilities for inserting in-line citations, but hide the references
list.
Thank you
Liviu


Re: Float/figures width

2009-10-26 Thread Rich Shepard

On Mon, 26 Oct 2009, ColMatrix wrote:


Just started dabbling with LaTex and Lyx. I understand how to format a
figure in LaTex,



But how do I do this in Lyx?


  Assuming you have your figures in floats, click on the figure itself and
the graphics dialog box opens. It has three tabs: Graphics, Clipping, and
LaTeX and LyX.

  The middle box on the Graphics tab lets you adjust the width of the figure
on output. You can also change the displayed width.

  I'm sure there's something in one of the tutorials or user guides on this.

Rich


Re: Beamer problem.

2009-10-26 Thread nikunj .
I use it on windows, and on my system it is in the tmp dir of the user
account I log in as.
You may try it in /tmp or /usr/tmp.
On my system it is called lyx_tmpdir.qHp976 and so on.

Hope this helps.

regards,
nikunj.
On Mon, Oct 26, 2009 at 1:34 PM, Pierfranco Minsenti
pierfranco.minse...@gmail.com wrote:
 Thank you for your suggestion but could you please explain me where can I
 find the LyX log files? I use an Apple computer with MAC OS X 10.3
 Pierfranco

 2009/10/26 nikunj . nikunjk...@gmail.com

 Hi,

 You could try looking at the log files that are generated with each
 run of pdflatex. That can pin point the exact point where the
 conversion fails.
 I had a similar problem, and the log files helped a lot.

 Regards,
 Nikunj.





Re: Float/figures width

2009-10-26 Thread James C. Sutherland

I suggest that you look at the user manual that comes with LyX:
Help - User's Guide
Help - Embedded Objects
All of your questions should be answered there.

On Oct 26, 2009, at 10:04 AM, ColMatrix wrote:



Hi there,

Just started dabbling with LaTex and Lyx. I understand how to format a
figure in LaTex, for example, to have my diagram the same width as the
column of text, I type something like:

\includegraphics[width=\columnwidth]{figure.jpg}

or to get it x% of the column width

\includegraphics[width=x\columnwidth]{figure.jpg}

But how do I do this in Lyx?

Also, I'd like to know how to get, for example, two separate figures  
side by

side, each 50% (or less) the width of the column of text. Would it be
possible for Lyx to label them Figure 1(a) and (b) automagically?

I tried searching for an answer, but didn't find anything I could
understand. I hope you can help!

Thanks in advance!
--
View this message in context: 
http://n2.nabble.com/Float-figures-width-tp3893045p3893045.html
Sent from the LyX - Users mailing list archive at Nabble.com.




Re: Tufte-book Layout File

2009-10-26 Thread Joachim Osnabryg
Am 18.10.2009, 21:59 Uhr, schrieb Jason Waskiewicz  
jason.waskiew...@sendit.nodak.edu:

I recently made a .layout file for the Tufte-book class.


Very commendable undertaking! I would be very glad, if we got a well  
performing layout file for that! (After my extensive use of Spitzmüller's  
layout for the Tufte-handout class.



Anyway, I'm hoping those with more skills can evaluate this .layout
file, improve it, and, possibly, find some use for it.


I'm not the one who can help with that. But I tried to run LyX with your  
layout file (I had the LaTeX tufte-book.cls already installed before),  
only with a \lipsum text, but without success. (LyX stopped the document  
compiling.)


Nevertheless:
It produced an pdf-output into the tmp subdirectory of LyX, with:

A U T O R Y
T I T E L X == on the 1st page, and the
Lorem ipsum … … == text on the following pages.

For the case, that it might help you or other developers of an LyX-layout  
for the tufte-book.cls,
or if someone can give me a hint, what's going wrong  in my LyX, I report  
here the rest:


Within the LyX program window I got the LaTeX errors:
-
LaTeX Error: Command \cplabel already defined.
LaTeX Error: Command \adjustwidth already defined.
---

errors  warnings copied from the LaTeX protocol:
---
…
LaTeX Info: Redefining \checkoddpage on input line 62.

! LaTeX Error: Command \cplabel already defined.
   Or name \end... illegal, see p.192 of the manual.
…
l.71   \...@esphack}

Your command was ignored.
Type  I command return  to replace it with another command,
or  return  to continue without it.

LaTeX Info: Redefining \...@ngetext on input line 94.
LaTeX Info: Redefining \changetext on input line 106.
LaTeX Info: Redefining \changepage on input line 116.

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

l.147 \item[]}{\end{list}}

Your command was ignored.
…
{/usr/local/texlive/2008/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] [2

] [3]
Package bibentry Warning: You have used \nobibliography*
(bibentry)without a following \bibliography.
(bibentry)You may not be able to run BibTeX.
---

Any help?

joachim
--
MacTeXLive 2008 - TeXShop 2.18-svn - LyX 1.6.4.1
MacBook Pro OSX 10.4.11 Tiger (intel)



Re: something wrong with biblatex

2009-10-26 Thread sara teinturier


Thanks Charles for your help.
So, I think I have the good packages now -- both biblatex and csquotes 
were said outdated in the log file, now it's ok.
But my dvi / pdf file remains with... no references.  It seems to be a 
problem with my bib file, as you suggest first... but I don't understand 
the LateX language!
Here are the last log file, bib file and pdf result... thanks a lot if 
you could have a look...


I do hope there will be a TL 2009 for Debian / Ubuntu as soon as possible!!

S.

This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) (format=pdflatex 2009.6.3)  26 OCT 2009 17:48
entering extended mode
 %-line parsing enabled.
**essai_biblio.tex
(./essai_biblio.tex
LaTeX2e 2005/12/01
Babel v3.8h and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, arabic, farsi, croatian, ukrainian, russian, bulgarian, czech, slov
ak, danish, dutch, finnish, basque, french, german, ngerman, ibycus, greek, mon
ogreek, ancientgreek, hungarian, italian, latin, mongolian, norsk, icelandic, i
nterlingua, turkish, coptic, romanian, welsh, serbian, slovenian, estonian, esp
eranto, uppersorbian, indonesian, polish, portuguese, spanish, catalan, galicia
n, swedish, ukenglish, pinyin, loaded.

(/usr/share/texmf-texlive/tex/latex/koma-script/scrbook.cls
Document Class: scrbook 2006/07/30 v2.95b KOMA-Script document class (book)
(/usr/share/texmf-texlive/tex/latex/koma-script/scrkbase.sty
Package: scrkbase 2006/07/30 v2.95b KOMA-Script package (basics and keyval use)

(/usr/share/texmf-texlive/tex/latex/koma-script/scrlfile.sty
Package: scrlfile 2006/03/28 v2.95 KOMA-Script package (loading files)
Package scrlfile, 2006/03/28 v2.95 KOMA-Script package (loading files)
  Copyright (C) Markus Kohm

) (/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\...@toks@=\toks14
))
Package scrkbase Info: You've used the obsolete option `oneside'.
(scrkbase) \KOMAoptions{twoside=false} will be used instead.
(scrkbase) You should do this change too on input line 628.
(/usr/share/texmf-texlive/tex/latex/base/bk11.clo
File: bk11.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
) (/usr/share/texmf-texlive/tex/latex/koma-script/typearea.sty
Package: typearea 2006/07/30 v2.95b KOMA-Script package (type area)
Package typearea, 2006/07/30 v2.95b KOMA-Script package (type area)
  Copyright (C) Frank Neukam, 1992-1994
  Copyright (C) Markus Kohm, 1994-2002

\...@bcor=\skip41
\...@div=\count79
\...@hblk=\skip42
\...@vblk=\skip43
\...@temp=\skip44
Package typearea Info: These are the values describing the layout:
(typearea) DIV  = 10
(typearea) BCOR = 0.0pt
(typearea) \paperwidth  = 597.50793pt
(typearea)  \textwidth  = 418.2pt
(typearea)  DIV-departure   = -6/100
(typearea)  \evensidemargin = 17.3562pt
(typearea)  \oddsidemargin  = 17.3562pt
(typearea) \paperheight = 845.04694pt
(typearea)  \textheight = 595.80026pt
(typearea)  \topmargin  = -25.16531pt
(typearea)  \headheight = 17.0pt
(typearea)  \headsep= 20.40001pt
(typearea)  \topskip= 11.0pt
(typearea)  \footskip   = 47.60002pt
(typearea)  \baselineskip   = 13.6pt
(typearea)  on input line 832.
)
\...@part=\count80
\...@chapter=\count81
\...@section=\count82
\...@subsection=\count83
\...@subsubsection=\count84
\...@paragraph=\count85
\...@subparagraph=\count86
\abovecaptionskip=\skip45
\belowcaptionskip=\skip46
\...@pti@n...@sid@b...@x=\box26
\...@figure=\count87
\...@table=\count88
\bibindent=\dimen102
) (/usr/share/texmf-texlive/tex/latex/base/fontenc.sty
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package
(/usr/share/texmf-texlive/tex/latex/base/t1enc.def
File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file
LaTeX Font Info:Redeclaring font encoding T1 on input line 43.
)) (/usr/share/texmf-texlive/tex/latex/base/inputenc.sty
Package: inputenc 2006/05/05 v1.1b Input encoding file
\inp...@prehook=\toks15
\inp...@posthook=\toks16
(/usr/share/texmf/tex/latex/html/latin9.def
File: latin1.def 1998/03/05 v0.97 Input encoding file(test version: still liabl
e to change)
)) (/usr/share/texmf-texlive/tex/latex/setspace/setspace.sty
Package: setspace 2000/12/01 6.7 Contributed and Supported LaTeX2e package
Package: `setspace' 6.7 2000/12/01
) (/usr/local/share/texmf/tex/latex/biblatex/latex/biblatex.sty
Package: biblatex 2009/09/20 v0.8i programmable bibliographies
(/usr/share/texmf/tex/latex/etoolbox/etoolbox.sty
Package: etoolbox 2008/06/28 v1.7 e-TeX tools for LaTeX
(/usr/share/texmf-texlive/tex/latex/etex/etex.sty
Package: etex 1998/03/26 v2.0 eTeX basic definition package (PEB)
\...@xins=\count89
)) (/usr/share/texmf-texlive/tex/latex/base/ifthen.sty
Package: ifthen 2001/05/26 v1.1c 

Encapsulated PostScript

2009-10-26 Thread Rich Shepard

  The ps2epsi tool converts a .ps file to a .epsi file. According to the man
page, the difference between .eps and .epsi is, ps2epsi uses gs(1) to
process a PostScript(tm) file and generate as output a new file which
conforms to Adobe's Encapsulated PostScript Interchange (EPSI) format. EPSI
is a special form of encapsulated PostScript (EPS) which adds to the
beginning of the file in the form of PostScript comments a bitmapped version
of the final displayed page. Programs which understand EPSI (usually word
processors or DTP programs) can use this bitmap to give a preview version on
screen of the PostScript. The displayed quality is often not very good
(e.g., low resolution, no colours), but the final printed version uses the
real PostScript, and thus has the normal PostScript quality.

  I used to prepare my lyx figures with xfig that produces .eps by default.
However, PSTricks produces a .ps file that needs to be converted. Will LyX
accept the .epsi format without complaints?

Rich



free Palatino Sans?

2009-10-26 Thread Liviu Andronic
Dear all
I am trying to figure which Sans and Typewritter fonts to use in
combination with Palatino (or the TeX Gyre Pagella extension).

In an incidental discussion on the ML [1], the non-free Palatino Sans
typeface [2] was suggested. I am wondering whether any free versions
of Palatino Sans exist and whether there are some other sans fonts
that blend well with Palatino.

Please let me know your suggestions
Liviu

[1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg67069.html
[2] http://www.linotype.com/3201/palatinosans.html



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: free Palatino Sans?

2009-10-26 Thread Rich Shepard

On Mon, 26 Oct 2009, Liviu Andronic wrote:


I am trying to figure which Sans and Typewritter fonts to use in
combination with Palatino (or the TeX Gyre Pagella extension).


Liviu,

  That's an interesting question. I use Palatino as my default typeface and
leave the sans and typewriter choices as 'default.' It has never been an
issue for me because Palatino is a serifed typeface and I had not assumed
that there was a san-serif version. In my documents I don't use a sans-serif
typeface, and the incidental code can be in any monospace typeface.

Rich


Re: free Palatino Sans?

2009-10-26 Thread Rich Shepard

On Mon, 26 Oct 2009, Bruce Pourciau wrote:


In his wonderful book The Elements of Typographical Style, Robert
Bringhurst suggests pair[ing] serifed and unserifed faces on the basis of
their inner structure. And he goes on to give examples: one might pair a
modern geometric serifed face like Berthold Bodoni with a geometric
unserifed face like Futura. Now Palatino is based on Renaissance humanist
forms -- it looks like its written with a broad-nibbed pen -- and it would
not mix well with Futura, for example. But it might mix well with Syntax,
say, which is an unserifed face also based on Renaissance forms.


Bruce,

  I read that book a number of years ago just to get a sense of the subject.
I'm not a graphics person so I don't easily see the subtle distinctions that
graphically-enabled folks do. I do like the Palatino typeface; it's elegant
and professional, IMNSHO. Beyond that I leave it to you experts. :-)

Rich


Re: free Palatino Sans?

2009-10-26 Thread Bruce Pourciau


On Oct 26, 2009, at 2:08 PM, Rich Shepard wrote:


On Mon, 26 Oct 2009, Liviu Andronic wrote:


I am trying to figure which Sans and Typewritter fonts to use in
combination with Palatino (or the TeX Gyre Pagella extension).


Liviu,

  That's an interesting question. I use Palatino as my default  
typeface and
leave the sans and typewriter choices as 'default.' It has never  
been an
issue for me because Palatino is a serifed typeface and I had not  
assumed
that there was a san-serif version. In my documents I don't use a  
sans-serif

typeface, and the incidental code can be in any monospace typeface.

Rich


In his wonderful book The Elements of Typographical Style, Robert  
Bringhurst suggests pair[ing] serifed and unserifed faces on the  
basis of their inner structure. And he goes on to give examples: one  
might pair a modern geometric serifed face like Berthold Bodoni with a  
geometric unserifed face like Futura. Now Palatino is based on  
Renaissance humanist forms -- it looks like its written with a broad- 
nibbed pen -- and it would not mix well with Futura, for example. But  
it might mix well with Syntax, say, which is an unserifed face also  
based on Renaissance forms.


Bruce


Re: free Palatino Sans?

2009-10-26 Thread Liviu Andronic
Hello Bruce

On 10/26/09, Bruce Pourciau bruce.h.pourc...@lawrence.edu wrote:
  In his wonderful book The Elements of Typographical Style, Robert
 Bringhurst suggests pair[ing] serifed and unserifed faces on the basis of
 their inner structure. And he goes on to give examples: one might pair a
 modern geometric serifed face like Berthold Bodoni with a geometric
 unserifed face like Futura. Now Palatino is based on Renaissance humanist
 forms -- it looks like its written with a broad-nibbed pen -- and it would
 not mix well with Futura, for example. But it might mix well with Syntax,
 say, which is an unserifed face also based on Renaissance forms.

Thank you a lot for the explanations. I looked for Syntax (and for
other possible names suggested by Wikipedia, Humanist 531 and
Saxony) on the TeX Font Catalogue [1], but did not find anything.
Should I be looking for some different name?

Regards
Liviu

[1] http://www.tug.dk/FontCatalogue/alphfonts.html


Re: free Palatino Sans?

2009-10-26 Thread Liviu Andronic
On 10/26/09, Bruce Pourciau bruce.h.pourc...@lawrence.edu wrote:
 unserifed face like Futura. Now Palatino is based on Renaissance humanist
 forms -- it looks like its written with a broad-nibbed pen -- and it would
 not mix well with Futura, for example. But it might mix well with Syntax,
 say, which is an unserifed face also based on Renaissance forms.

I think I found a good candidate. Looking on Wikipedia for Humanist
fonts [1], I stumbled upon Optima, originally designed by H. Zapf. The
Font Catalogue provides a clone  called URW Classico [2]. It is
shipped with TeX Live.
Liviu

[1] http://en.wikipedia.org/wiki/Humanist_sans-serif#Classification
[2] http://www.tug.dk/FontCatalogue/optima/


Re: Solution: APA citation style in Lyx with Biblatex

2009-10-26 Thread Wolfgang Engelmann

Quoting Christian Brodbeck christianmbrodb...@gmail.com:


Hello,

Ages ago I asked this list about how to do APA references for my   
thesis, and since with rgheck's help I ended up with a method that   
seems to be working properly I figured it might be useful for  
someone  else:


thanks for these infos, they will be helpful

Wolfgang


Beamer class: how to use \beamerdefaultoverlayspecification?

2009-10-26 Thread Matthieu Stigler
Hi

In beamer class, I like the itemize environment with the possibility
to display each point each at a time using the 1-, 2- etc... I
like it so much that I use it every time and would love to automatize
it. I found the command:

\beamerdefaultoverlayspecification{+-}

whihc does that, but only inside a frame. If I write it in the
preamble, it does not affect anything...

I would love this command to be effective for all frames. Do I need to
redefine frame or is there something easier? Thanks!

Matthieu


PDF preview on Windows

2009-10-26 Thread Julio Rojas
Dear all, I have a problem when Lyx tries to render a preview of a PDF
figure. Some of my figures it handles well and the preview is shown. I
have included some new plots made with R using either pdf of
cairo_pdf and even if the document compiles perfectly, the preview
shows Error converting to loadable format,

I'm on Windows XP using Lyx 1.6.3.

Thanks in advance.
-
Julio Rojas
jcredbe...@gmail.com


Preamble in fixed width font?

2009-10-26 Thread Rainer M Krug
Hi

is it possible to see the preamble in a fixed width font?
Especially when the preamble is longer, it would make it easier redable.

Cheers,

Rainer


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

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

Cell:   +27 - (0)83 9479 042
Fax:+27 - (0)86 516 2782
Fax:+49 - (0)721 151 334 888
email:  rai...@krugs.de

Skype:  RMkrug
Google: r.m.k...@gmail.com


Environment description: including two first words

2009-10-26 Thread Matthieu Stigler
Hi

My question seems not so complicated but I did not find on the archives..

I want to use  the enviro description with on one line thw frist two
words (instead of the first one by default) included, as:

\begin{description}
\item [world] it is...
\item [Earth and sun] that is...
\end{description}

Can I do in Lyx or do I have to use it in TeX code mode?

Thanks a lot!

Matthieu


Re: Environment description: including two first words

2009-10-26 Thread Liviu Andronic
On 10/26/09, Matthieu Stigler matthieu.stig...@gmail.com wrote:
  I want to use  the enviro description with on one line thw frist two
  words (instead of the first one by default) included, as:

If I understand correctly, you could simply insert a protected space
(ctrl+space) between the two words.
Liviu


How to remove figure numbers in KOMA-script book?

2009-10-26 Thread gerlos
Hello everyone!
In the last weeks I started to use LyX, and found it very good. A long time ago 
I used 
LaTeX for a while, but I forget almost everything I learned a that time :-(
So sorry for the silly question...

Now I'm using LyX to write a book, and I'm using the KOMA-script book class. 
Here and there in the book I added some figures, but I'd like to remove the 
text like Figure 12.3 beside the caption (but still need a caption there), 
do you know if it's possible?
How can I do it?

I googled for a while but didn't find anything useful :-(
I also looked around in LyX and didn't found anything that seemed related... 
maybe needs some LaTeX magic?

Thanks in advance
gerlos

-- 
Life is pretty simple: You do some stuff. Most fails. Some works. You do more
of what works. If it works big, others quickly copy it. Then you do something
else. The trick is the doing something else.
http://gerlos.altervista.org 
 gerlos  +- - -   gnu/linux registred user #311588


Re: something wrong with biblatex

2009-10-26 Thread sara teinturier

sara teinturier wrote:




Thanks for your answer! Indeed, there are some warning in the Latex log,
but I don't understand what I have to do with them. The log file is
attached... Thanks! S.



It is difficult to debug without your bib file. The main problem seems to be
that there is a need for an extra bibtex run on your file.



You should take away the :



\usepackage[francais]{babel}
\usepackage{lmodern}



from your preamble. They are useless (you should choose the language and the

font with the LyX interface) and mess with biblatex.


You also have to download and install the csquotes latex package. I think
there are instructions on the Wiki and then add in your preamble the
following line :



\usepackage[style=french]{csquotes}



Thanks Charles, I've taken away the first two lines, now Bibliographie title 
appears as the good French word...
I use the TeXlive packages for Ubuntu 9.04: csquotes package is an outdated 
version.
(https://bugs.launchpad.net/ubuntu/+source/texlive-extra/+bug/433493)
I've tried to install the new one, as the readme csquotes package tells, but doesn't work yet: 
the outdated one should be found first by both Latex and Lyx, and I don't know how I could uninstall it.

I will try!
Cheers,
Sara




Re: something wrong with biblatex

2009-10-26 Thread Charles de Miramon
sara teinturier wrote:

 
 Thanks Charles, I've taken away the first two lines, now Bibliographie
 title appears as the good French word... I use the TeXlive packages for
 Ubuntu 9.04: csquotes package is an outdated version.
 (https://bugs.launchpad.net/ubuntu/+source/texlive-extra/+bug/433493) I've
 tried to install the new one, as the readme csquotes package tells, but
 doesn't work yet: the outdated one should be found first by both Latex and
 Lyx, and I don't know how I could uninstall it. I will try! Cheers,
 Sara

I don't think you have to uninstall it.

Download from CTAN the latest version of csquotes and then as root expand it 
in :

/usr/local/share/texmf/tex/latex/

you will get a csquotes directory with all the files.

Then run as root texhash to refresh the LaTeX database

LaTeX (and LyX) will then pick up the latest version

All this stuff is going to get much easier with the new version of TeXLive 
which will have an automatic installer of new packages but it is not there 
yet in Debian and Ubuntu

Cheers,
Charles
-- 
http://www.kde-france.org



Re: Environment description: including two first words

2009-10-26 Thread Waluyo Adi Siswanto
I think you can try Ctrl+Space which is the protected space. You can
even use for more than two words.

WAS

On Mon, 2009-10-26 at 12:31 +0100, Matthieu Stigler wrote:
 Hi
 
 My question seems not so complicated but I did not find on the archives..
 
 I want to use  the enviro description with on one line thw frist two
 words (instead of the first one by default) included, as:
 
 \begin{description}
 \item [world] it is...
 \item [Earth and sun] that is...
 \end{description}
 
 Can I do in Lyx or do I have to use it in TeX code mode?
 
 Thanks a lot!
 
 Matthieu



Re: How to remove figure numbers in KOMA-script book?

2009-10-26 Thread rgheck

On 10/26/2009 07:50 AM, gerlos wrote:

Hello everyone!
In the last weeks I started to use LyX, and found it very good. A long time ago 
I used
LaTeX for a while, but I forget almost everything I learned a that time :-(
So sorry for the silly question...

Now I'm using LyX to write a book, and I'm using the KOMA-script book class.
Here and there in the book I added some figures, but I'd like to remove the
text like Figure 12.3 beside the caption (but still need a caption there),
do you know if it's possible?
How can I do it?

I googled for a while but didn't find anything useful :-(
I also looked around in LyX and didn't found anything that seemed related...
maybe needs some LaTeX magic?

   
I don't know about this, but you could try looking in the koma-script 
docs. The other possibility (LaTeX magic, yes) would be something like: 
\renewcommand\thefigure{}, in the preamble. I think something like that 
works.


rh



Re: Environment description: including two first words

2009-10-26 Thread Matthieu Stigler
Solved!

That was effectively rather trivial, using the protected space did the trick!

Thanks a lot for your help!!

Matthieu

2009/10/26 Waluyo Adi Siswanto was.u...@gmail.com:
 I think you can try Ctrl+Space which is the protected space. You can
 even use for more than two words.

 WAS

 On Mon, 2009-10-26 at 12:31 +0100, Matthieu Stigler wrote:
 Hi

 My question seems not so complicated but I did not find on the archives..

 I want to use  the enviro description with on one line thw frist two
 words (instead of the first one by default) included, as:

 \begin{description}
 \item [world] it is...
 \item [Earth and sun] that is...
 \end{description}

 Can I do in Lyx or do I have to use it in TeX code mode?

 Thanks a lot!

 Matthieu




[bug report] Lyx 1.6.4 crashes while editing formula

2009-10-26 Thread Falk Sticken
Hi
I have found a bug in LyX 1.6.4 on Linux (openSUSE 11.1) which is not
reported in the bug tracker. When I start editing an inline math formula
(ALT+M M) and type 
\mathc 
SPACE 
BACKSPACE 
al 
SPACE 
LyX crashes.
A backtrace follows below.
bye,
Falk

#0  0xb6fcd3b8 in ?? () from /lib/libc.so.6
#1  0x080d541a in lyx::DocIterator::innerParagraph() const ()
#2  0x081d47ba in lyx::samePar(lyx::DocIterator const, lyx::DocIterator
const) ()
#3  0x081d4f67 in lyx::BufferView::setInlineCompletion(lyx::Cursor,
lyx::DocIterator const, std::basic_stringwchar_t,
std::char_traitswchar_t, std::allocatorwchar_t  const, unsigned
int) ()
#4  0x0841eceb in lyx::frontend::GuiCompleter::hideInline(lyx::Cursor)
()
#5  0x0841fb21 in
lyx::frontend::GuiCompleter::updateVisibility(lyx::Cursor, bool, bool,
bool) ()
#6  0x0839f166 in lyx::frontend::GuiView::updateCompletion(lyx::Cursor,
bool, bool) ()
#7  0x081356e8 in lyx::LyXFunc::dispatch(lyx::FuncRequest const) ()
#8  0x08137d83 in lyx::LyXFunc::processKeySym(lyx::KeySymbol const,
lyx::KeyModifier) ()
#9  0x083bd401 in lyx::frontend::GuiWorkArea::keyPressEvent(QKeyEvent*)
()
#10 0xb784691e in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#11 0xb7b7ca83 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#12 0xb7c13c8d in QAbstractScrollArea::event(QEvent*) ()
   from /usr/lib/libQtGui.so.4
#13 0x083ba1bf in lyx::frontend::GuiWorkArea::event(QEvent*) ()
#14 0xb77ee8fc in QApplicationPrivate::notify_helper(QObject*, QEvent*)
()
   from /usr/lib/libQtGui.so.4
---Type return to continue, or q return to quit---
#15 0xb77f7836 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libQtGui.so.4
#16 0x08381208 in lyx::frontend::GuiApplication::notify(QObject*,
QEvent*) ()
#17 0xb7593961 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /usr/lib/libQtCore.so.4
#18 0xb784f4be in ?? () from /usr/lib/libQtGui.so.4
#19 0xb7884470 in ?? () from /usr/lib/libQtGui.so.4
#20 0xb7886606 in ?? () from /usr/lib/libQtGui.so.4
#21 0xb785ebd5 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/libQtGui.so.4
#22 0xb788808a in ?? () from /usr/lib/libQtGui.so.4
#23 0xb73b99a8 in g_main_context_dispatch ()
from /usr/lib/libglib-2.0.so.0
#24 0xb73bd063 in ?? () from /usr/lib/libglib-2.0.so.0
#25 0xb73bd221 in g_main_context_iteration ()
from /usr/lib/libglib-2.0.so.0
#26 0xb75bdfb8 in
QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () 
from /usr/lib/libQtCore.so.4
#27 0xb7887785 in ?? () from /usr/lib/libQtGui.so.4
#28 0xb759201a in
QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) ()
from /usr/lib/libQtCore.so.4
#29 0xb75921da in
QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) ()
   from /usr/lib/libQtCore.so.4
#30 0xb7594895 in QCoreApplication::exec() ()
from /usr/lib/libQtCore.so.4
#31 0xb77ee777 in QApplication::exec() () from /usr/lib/libQtGui.so.4
---Type return to continue, or q return to quit---
#32 0x081235fe in lyx::LyX::exec(int, char**) ()
#33 0x08071fa9 in main ()



Re: authorindex in LyX?

2009-10-26 Thread Manveru
2009/10/24 Mats Andrén mats.and...@ling.lu.se:
 Sorry to be spamming but after sending my post I realized that it was a
 bit strange of me not to try what would happen without the multicols
 begin/end-pair, and just call \printauthorindex. When I remove the multi
 column stuff, no extra two pages are generated, which should probably be
 relevant for you people...

 But the main problem remains, of course.

What I can tell you about LyX is that it cannot run additional scripts
during LaTeX processing yet. And probably will not, as I it should
assume you have perl installed on your machine, which is often a
problem on Macs or Windows.

There are possible solutions to create your own converter calling the
perl script after first latex run. But you have then define your own
format, for example 'pdflatex (authorindex)'.

-- 
Manveru
jabber: manv...@manveru.pl
 gg: 1624001
   http://www.manveru.pl


Re: hide bibliography section?

2009-10-26 Thread Manveru
2009/10/25 Liviu Andronic landronim...@gmail.com:
 On 10/24/09, Stefano Franchi fran...@philosophy.tamu.edu wrote:
  If the latter, put the Lyx-inserted bibliography inset at the end of the
  document into a Lyx-note inset (to keep access to refs through the citation
  dialogue) and add, in ERT,
  /nobibliography{/path/to/your/bib/file}

 Hmm, I am using natbib, and when I insert bibliography in a note, all
 the in-line references are turned to ?. If I also add
 \nobibliography{refs-sri.bib}

 , then the document fails to compile for complaining of an undefined
 control sequence. I found one reference of this command on the wiki
 [1], and it seems that it is a jurabib option.

Unfortunately in such case you probably have to put absolute path of
you bib file.

This is due to fact that LyX copies all the stuff into temporary
directory before latex is run, and it may not copy your .bib file if
your bibliography is in the note.

-- 
Manveru
jabber: manv...@manveru.pl
 gg: 1624001
   http://www.manveru.pl


Float/figures width

2009-10-26 Thread ColMatrix

Hi there,

Just started dabbling with LaTex and Lyx. I understand how to format a
figure in LaTex, for example, to have my diagram the same width as the
column of text, I type something like:

\includegraphics[width=\columnwidth]{figure.jpg}

or to get it x% of the column width

\includegraphics[width=x\columnwidth]{figure.jpg}

But how do I do this in Lyx?

Also, I'd like to know how to get, for example, two separate figures side by
side, each 50% (or less) the width of the column of text. Would it be
possible for Lyx to label them Figure 1(a) and (b) automagically?

I tried searching for an answer, but didn't find anything I could
understand. I hope you can help!

Thanks in advance!
-- 
View this message in context: 
http://n2.nabble.com/Float-figures-width-tp3893045p3893045.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: hide bibliography section?

2009-10-26 Thread Liviu Andronic
Hello

On 10/26/09, Manveru manv...@manveru.pl wrote:
 Unfortunately in such case you probably have to put absolute path of
  you bib file.

This time I tried jurabib  \nobibliography{/full/path/refs-sri.bib} 
bibliography-in-note, and the document compiles fine, but all the
references are still ?. I still cannot manage to use LyX's
facilities for inserting in-line citations, but hide the references
list.
Thank you
Liviu


Re: Float/figures width

2009-10-26 Thread Rich Shepard

On Mon, 26 Oct 2009, ColMatrix wrote:


Just started dabbling with LaTex and Lyx. I understand how to format a
figure in LaTex,



But how do I do this in Lyx?


  Assuming you have your figures in floats, click on the figure itself and
the graphics dialog box opens. It has three tabs: Graphics, Clipping, and
LaTeX and LyX.

  The middle box on the Graphics tab lets you adjust the width of the figure
on output. You can also change the displayed width.

  I'm sure there's something in one of the tutorials or user guides on this.

Rich


Re: Beamer problem.

2009-10-26 Thread nikunj .
I use it on windows, and on my system it is in the tmp dir of the user
account I log in as.
You may try it in /tmp or /usr/tmp.
On my system it is called lyx_tmpdir.qHp976 and so on.

Hope this helps.

regards,
nikunj.
On Mon, Oct 26, 2009 at 1:34 PM, Pierfranco Minsenti
pierfranco.minse...@gmail.com wrote:
 Thank you for your suggestion but could you please explain me where can I
 find the LyX log files? I use an Apple computer with MAC OS X 10.3
 Pierfranco

 2009/10/26 nikunj . nikunjk...@gmail.com

 Hi,

 You could try looking at the log files that are generated with each
 run of pdflatex. That can pin point the exact point where the
 conversion fails.
 I had a similar problem, and the log files helped a lot.

 Regards,
 Nikunj.





Re: Float/figures width

2009-10-26 Thread James C. Sutherland

I suggest that you look at the user manual that comes with LyX:
Help - User's Guide
Help - Embedded Objects
All of your questions should be answered there.

On Oct 26, 2009, at 10:04 AM, ColMatrix wrote:



Hi there,

Just started dabbling with LaTex and Lyx. I understand how to format a
figure in LaTex, for example, to have my diagram the same width as the
column of text, I type something like:

\includegraphics[width=\columnwidth]{figure.jpg}

or to get it x% of the column width

\includegraphics[width=x\columnwidth]{figure.jpg}

But how do I do this in Lyx?

Also, I'd like to know how to get, for example, two separate figures  
side by

side, each 50% (or less) the width of the column of text. Would it be
possible for Lyx to label them Figure 1(a) and (b) automagically?

I tried searching for an answer, but didn't find anything I could
understand. I hope you can help!

Thanks in advance!
--
View this message in context: 
http://n2.nabble.com/Float-figures-width-tp3893045p3893045.html
Sent from the LyX - Users mailing list archive at Nabble.com.




Re: Tufte-book Layout File

2009-10-26 Thread Joachim Osnabryg
Am 18.10.2009, 21:59 Uhr, schrieb Jason Waskiewicz  
jason.waskiew...@sendit.nodak.edu:

I recently made a .layout file for the Tufte-book class.


Very commendable undertaking! I would be very glad, if we got a well  
performing layout file for that! (After my extensive use of Spitzmüller's  
layout for the Tufte-handout class.



Anyway, I'm hoping those with more skills can evaluate this .layout
file, improve it, and, possibly, find some use for it.


I'm not the one who can help with that. But I tried to run LyX with your  
layout file (I had the LaTeX tufte-book.cls already installed before),  
only with a \lipsum text, but without success. (LyX stopped the document  
compiling.)


Nevertheless:
It produced an pdf-output into the tmp subdirectory of LyX, with:

A U T O R Y
T I T E L X == on the 1st page, and the
Lorem ipsum … … == text on the following pages.

For the case, that it might help you or other developers of an LyX-layout  
for the tufte-book.cls,
or if someone can give me a hint, what's going wrong  in my LyX, I report  
here the rest:


Within the LyX program window I got the LaTeX errors:
-
LaTeX Error: Command \cplabel already defined.
LaTeX Error: Command \adjustwidth already defined.
---

errors  warnings copied from the LaTeX protocol:
---
…
LaTeX Info: Redefining \checkoddpage on input line 62.

! LaTeX Error: Command \cplabel already defined.
   Or name \end... illegal, see p.192 of the manual.
…
l.71   \...@esphack}

Your command was ignored.
Type  I command return  to replace it with another command,
or  return  to continue without it.

LaTeX Info: Redefining \...@ngetext on input line 94.
LaTeX Info: Redefining \changetext on input line 106.
LaTeX Info: Redefining \changepage on input line 116.

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

l.147 \item[]}{\end{list}}

Your command was ignored.
…
{/usr/local/texlive/2008/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] [2

] [3]
Package bibentry Warning: You have used \nobibliography*
(bibentry)without a following \bibliography.
(bibentry)You may not be able to run BibTeX.
---

Any help?

joachim
--
MacTeXLive 2008 - TeXShop 2.18-svn - LyX 1.6.4.1
MacBook Pro OSX 10.4.11 Tiger (intel)



Re: something wrong with biblatex

2009-10-26 Thread sara teinturier


Thanks Charles for your help.
So, I think I have the good packages now -- both biblatex and csquotes 
were said outdated in the log file, now it's ok.
But my dvi / pdf file remains with... no references.  It seems to be a 
problem with my bib file, as you suggest first... but I don't understand 
the LateX language!
Here are the last log file, bib file and pdf result... thanks a lot if 
you could have a look...


I do hope there will be a TL 2009 for Debian / Ubuntu as soon as possible!!

S.

This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) (format=pdflatex 2009.6.3)  26 OCT 2009 17:48
entering extended mode
 %-line parsing enabled.
**essai_biblio.tex
(./essai_biblio.tex
LaTeX2e 2005/12/01
Babel v3.8h and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, arabic, farsi, croatian, ukrainian, russian, bulgarian, czech, slov
ak, danish, dutch, finnish, basque, french, german, ngerman, ibycus, greek, mon
ogreek, ancientgreek, hungarian, italian, latin, mongolian, norsk, icelandic, i
nterlingua, turkish, coptic, romanian, welsh, serbian, slovenian, estonian, esp
eranto, uppersorbian, indonesian, polish, portuguese, spanish, catalan, galicia
n, swedish, ukenglish, pinyin, loaded.

(/usr/share/texmf-texlive/tex/latex/koma-script/scrbook.cls
Document Class: scrbook 2006/07/30 v2.95b KOMA-Script document class (book)
(/usr/share/texmf-texlive/tex/latex/koma-script/scrkbase.sty
Package: scrkbase 2006/07/30 v2.95b KOMA-Script package (basics and keyval use)

(/usr/share/texmf-texlive/tex/latex/koma-script/scrlfile.sty
Package: scrlfile 2006/03/28 v2.95 KOMA-Script package (loading files)
Package scrlfile, 2006/03/28 v2.95 KOMA-Script package (loading files)
  Copyright (C) Markus Kohm

) (/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\...@toks@=\toks14
))
Package scrkbase Info: You've used the obsolete option `oneside'.
(scrkbase) \KOMAoptions{twoside=false} will be used instead.
(scrkbase) You should do this change too on input line 628.
(/usr/share/texmf-texlive/tex/latex/base/bk11.clo
File: bk11.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
) (/usr/share/texmf-texlive/tex/latex/koma-script/typearea.sty
Package: typearea 2006/07/30 v2.95b KOMA-Script package (type area)
Package typearea, 2006/07/30 v2.95b KOMA-Script package (type area)
  Copyright (C) Frank Neukam, 1992-1994
  Copyright (C) Markus Kohm, 1994-2002

\...@bcor=\skip41
\...@div=\count79
\...@hblk=\skip42
\...@vblk=\skip43
\...@temp=\skip44
Package typearea Info: These are the values describing the layout:
(typearea) DIV  = 10
(typearea) BCOR = 0.0pt
(typearea) \paperwidth  = 597.50793pt
(typearea)  \textwidth  = 418.2pt
(typearea)  DIV-departure   = -6/100
(typearea)  \evensidemargin = 17.3562pt
(typearea)  \oddsidemargin  = 17.3562pt
(typearea) \paperheight = 845.04694pt
(typearea)  \textheight = 595.80026pt
(typearea)  \topmargin  = -25.16531pt
(typearea)  \headheight = 17.0pt
(typearea)  \headsep= 20.40001pt
(typearea)  \topskip= 11.0pt
(typearea)  \footskip   = 47.60002pt
(typearea)  \baselineskip   = 13.6pt
(typearea)  on input line 832.
)
\...@part=\count80
\...@chapter=\count81
\...@section=\count82
\...@subsection=\count83
\...@subsubsection=\count84
\...@paragraph=\count85
\...@subparagraph=\count86
\abovecaptionskip=\skip45
\belowcaptionskip=\skip46
\...@pti@n...@sid@b...@x=\box26
\...@figure=\count87
\...@table=\count88
\bibindent=\dimen102
) (/usr/share/texmf-texlive/tex/latex/base/fontenc.sty
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package
(/usr/share/texmf-texlive/tex/latex/base/t1enc.def
File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file
LaTeX Font Info:Redeclaring font encoding T1 on input line 43.
)) (/usr/share/texmf-texlive/tex/latex/base/inputenc.sty
Package: inputenc 2006/05/05 v1.1b Input encoding file
\inp...@prehook=\toks15
\inp...@posthook=\toks16
(/usr/share/texmf/tex/latex/html/latin9.def
File: latin1.def 1998/03/05 v0.97 Input encoding file(test version: still liabl
e to change)
)) (/usr/share/texmf-texlive/tex/latex/setspace/setspace.sty
Package: setspace 2000/12/01 6.7 Contributed and Supported LaTeX2e package
Package: `setspace' 6.7 2000/12/01
) (/usr/local/share/texmf/tex/latex/biblatex/latex/biblatex.sty
Package: biblatex 2009/09/20 v0.8i programmable bibliographies
(/usr/share/texmf/tex/latex/etoolbox/etoolbox.sty
Package: etoolbox 2008/06/28 v1.7 e-TeX tools for LaTeX
(/usr/share/texmf-texlive/tex/latex/etex/etex.sty
Package: etex 1998/03/26 v2.0 eTeX basic definition package (PEB)
\...@xins=\count89
)) (/usr/share/texmf-texlive/tex/latex/base/ifthen.sty
Package: ifthen 2001/05/26 v1.1c 

Encapsulated PostScript

2009-10-26 Thread Rich Shepard

  The ps2epsi tool converts a .ps file to a .epsi file. According to the man
page, the difference between .eps and .epsi is, ps2epsi uses gs(1) to
process a PostScript(tm) file and generate as output a new file which
conforms to Adobe's Encapsulated PostScript Interchange (EPSI) format. EPSI
is a special form of encapsulated PostScript (EPS) which adds to the
beginning of the file in the form of PostScript comments a bitmapped version
of the final displayed page. Programs which understand EPSI (usually word
processors or DTP programs) can use this bitmap to give a preview version on
screen of the PostScript. The displayed quality is often not very good
(e.g., low resolution, no colours), but the final printed version uses the
real PostScript, and thus has the normal PostScript quality.

  I used to prepare my lyx figures with xfig that produces .eps by default.
However, PSTricks produces a .ps file that needs to be converted. Will LyX
accept the .epsi format without complaints?

Rich



free Palatino Sans?

2009-10-26 Thread Liviu Andronic
Dear all
I am trying to figure which Sans and Typewritter fonts to use in
combination with Palatino (or the TeX Gyre Pagella extension).

In an incidental discussion on the ML [1], the non-free Palatino Sans
typeface [2] was suggested. I am wondering whether any free versions
of Palatino Sans exist and whether there are some other sans fonts
that blend well with Palatino.

Please let me know your suggestions
Liviu

[1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg67069.html
[2] http://www.linotype.com/3201/palatinosans.html



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: free Palatino Sans?

2009-10-26 Thread Rich Shepard

On Mon, 26 Oct 2009, Liviu Andronic wrote:


I am trying to figure which Sans and Typewritter fonts to use in
combination with Palatino (or the TeX Gyre Pagella extension).


Liviu,

  That's an interesting question. I use Palatino as my default typeface and
leave the sans and typewriter choices as 'default.' It has never been an
issue for me because Palatino is a serifed typeface and I had not assumed
that there was a san-serif version. In my documents I don't use a sans-serif
typeface, and the incidental code can be in any monospace typeface.

Rich


Re: free Palatino Sans?

2009-10-26 Thread Rich Shepard

On Mon, 26 Oct 2009, Bruce Pourciau wrote:


In his wonderful book The Elements of Typographical Style, Robert
Bringhurst suggests pair[ing] serifed and unserifed faces on the basis of
their inner structure. And he goes on to give examples: one might pair a
modern geometric serifed face like Berthold Bodoni with a geometric
unserifed face like Futura. Now Palatino is based on Renaissance humanist
forms -- it looks like its written with a broad-nibbed pen -- and it would
not mix well with Futura, for example. But it might mix well with Syntax,
say, which is an unserifed face also based on Renaissance forms.


Bruce,

  I read that book a number of years ago just to get a sense of the subject.
I'm not a graphics person so I don't easily see the subtle distinctions that
graphically-enabled folks do. I do like the Palatino typeface; it's elegant
and professional, IMNSHO. Beyond that I leave it to you experts. :-)

Rich


Re: free Palatino Sans?

2009-10-26 Thread Bruce Pourciau


On Oct 26, 2009, at 2:08 PM, Rich Shepard wrote:


On Mon, 26 Oct 2009, Liviu Andronic wrote:


I am trying to figure which Sans and Typewritter fonts to use in
combination with Palatino (or the TeX Gyre Pagella extension).


Liviu,

  That's an interesting question. I use Palatino as my default  
typeface and
leave the sans and typewriter choices as 'default.' It has never  
been an
issue for me because Palatino is a serifed typeface and I had not  
assumed
that there was a san-serif version. In my documents I don't use a  
sans-serif

typeface, and the incidental code can be in any monospace typeface.

Rich


In his wonderful book The Elements of Typographical Style, Robert  
Bringhurst suggests pair[ing] serifed and unserifed faces on the  
basis of their inner structure. And he goes on to give examples: one  
might pair a modern geometric serifed face like Berthold Bodoni with a  
geometric unserifed face like Futura. Now Palatino is based on  
Renaissance humanist forms -- it looks like its written with a broad- 
nibbed pen -- and it would not mix well with Futura, for example. But  
it might mix well with Syntax, say, which is an unserifed face also  
based on Renaissance forms.


Bruce


Re: free Palatino Sans?

2009-10-26 Thread Liviu Andronic
Hello Bruce

On 10/26/09, Bruce Pourciau bruce.h.pourc...@lawrence.edu wrote:
  In his wonderful book The Elements of Typographical Style, Robert
 Bringhurst suggests pair[ing] serifed and unserifed faces on the basis of
 their inner structure. And he goes on to give examples: one might pair a
 modern geometric serifed face like Berthold Bodoni with a geometric
 unserifed face like Futura. Now Palatino is based on Renaissance humanist
 forms -- it looks like its written with a broad-nibbed pen -- and it would
 not mix well with Futura, for example. But it might mix well with Syntax,
 say, which is an unserifed face also based on Renaissance forms.

Thank you a lot for the explanations. I looked for Syntax (and for
other possible names suggested by Wikipedia, Humanist 531 and
Saxony) on the TeX Font Catalogue [1], but did not find anything.
Should I be looking for some different name?

Regards
Liviu

[1] http://www.tug.dk/FontCatalogue/alphfonts.html


Re: free Palatino Sans?

2009-10-26 Thread Liviu Andronic
On 10/26/09, Bruce Pourciau bruce.h.pourc...@lawrence.edu wrote:
 unserifed face like Futura. Now Palatino is based on Renaissance humanist
 forms -- it looks like its written with a broad-nibbed pen -- and it would
 not mix well with Futura, for example. But it might mix well with Syntax,
 say, which is an unserifed face also based on Renaissance forms.

I think I found a good candidate. Looking on Wikipedia for Humanist
fonts [1], I stumbled upon Optima, originally designed by H. Zapf. The
Font Catalogue provides a clone  called URW Classico [2]. It is
shipped with TeX Live.
Liviu

[1] http://en.wikipedia.org/wiki/Humanist_sans-serif#Classification
[2] http://www.tug.dk/FontCatalogue/optima/


Re: Solution: APA citation style in Lyx with Biblatex

2009-10-26 Thread Wolfgang Engelmann

Quoting Christian Brodbeck :


Hello,

Ages ago I asked this list about how to do APA references for my   
thesis, and since with rgheck's help I ended up with a method that   
seems to be working properly I figured it might be useful for  
someone  else:


thanks for these infos, they will be helpful

Wolfgang


Beamer class: how to use \beamerdefaultoverlayspecification?

2009-10-26 Thread Matthieu Stigler
Hi

In beamer class, I like the itemize environment with the possibility
to display each point each at a time using the <1->, <2-> etc... I
like it so much that I use it every time and would love to automatize
it. I found the command:

\beamerdefaultoverlayspecification{<+->}

whihc does that, but only inside a frame. If I write it in the
preamble, it does not affect anything...

I would love this command to be effective for all frames. Do I need to
redefine frame or is there something easier? Thanks!

Matthieu


PDF preview on Windows

2009-10-26 Thread Julio Rojas
Dear all, I have a problem when Lyx tries to render a preview of a PDF
figure. Some of my figures it handles well and the preview is shown. I
have included some new plots made with R using either "pdf" of
"cairo_pdf" and even if the document compiles perfectly, the preview
shows "Error converting to loadable format",

I'm on Windows XP using Lyx 1.6.3.

Thanks in advance.
-
Julio Rojas
jcredbe...@gmail.com


Preamble in fixed width font?

2009-10-26 Thread Rainer M Krug
Hi

is it possible to see the preamble in a fixed width font?
Especially when the preamble is longer, it would make it easier redable.

Cheers,

Rainer


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

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

Cell:   +27 - (0)83 9479 042
Fax:+27 - (0)86 516 2782
Fax:+49 - (0)721 151 334 888
email:  rai...@krugs.de

Skype:  RMkrug
Google: r.m.k...@gmail.com


Environment description: including two first words

2009-10-26 Thread Matthieu Stigler
Hi

My question seems not so complicated but I did not find on the archives..

I want to use  the enviro description with on one line thw frist two
words (instead of the first one by default) included, as:

\begin{description}
\item [world] it is...
\item [Earth and sun] that is...
\end{description}

Can I do in Lyx or do I have to use it in TeX code mode?

Thanks a lot!

Matthieu


Re: Environment description: including two first words

2009-10-26 Thread Liviu Andronic
On 10/26/09, Matthieu Stigler  wrote:
>  I want to use  the enviro description with on one line thw frist two
>  words (instead of the first one by default) included, as:
>
If I understand correctly, you could simply insert a protected space
(ctrl+space) between the two words.
Liviu


How to remove figure numbers in KOMA-script book?

2009-10-26 Thread gerlos
Hello everyone!
In the last weeks I started to use LyX, and found it very good. A long time ago 
I used 
LaTeX for a while, but I forget almost everything I learned a that time :-(
So sorry for the silly question...

Now I'm using LyX to write a book, and I'm using the KOMA-script book class. 
Here and there in the book I added some figures, but I'd like to remove the 
text like "Figure 12.3" beside the caption (but still need a caption there), 
do you know if it's possible?
How can I do it?

I googled for a while but didn't find anything useful :-(
I also looked around in LyX and didn't found anything that seemed related... 
maybe needs some LaTeX magic?

Thanks in advance
gerlos

-- 
"Life is pretty simple: You do some stuff. Most fails. Some works. You do more
of what works. If it works big, others quickly copy it. Then you do something
else. The trick is the doing something else."
   < http://gerlos.altervista.org >
 gerlos  +- - - >  gnu/linux registred user #311588


Re: something wrong with biblatex

2009-10-26 Thread sara teinturier

sara teinturier wrote:




Thanks for your answer! Indeed, there are some "warning" in the Latex log,
but I don't understand what I have to do with them. The log file is
attached... Thanks! S.



It is difficult to debug without your bib file. The main problem seems to be
that there is a need for an extra bibtex run on your file.



You should take away the :



\usepackage[francais]{babel}
\usepackage{lmodern}



from your preamble. They are useless (you should choose the language and the

font with the LyX interface) and mess with biblatex.


You also have to download and install the csquotes latex package. I think
there are instructions on the Wiki and then add in your preamble the
following line :



\usepackage[style=french]{csquotes}



Thanks Charles, I've taken away the first two lines, now "Bibliographie" title 
appears as the good French word...
I use the TeXlive packages for Ubuntu 9.04: csquotes package is an outdated 
version.
(https://bugs.launchpad.net/ubuntu/+source/texlive-extra/+bug/433493)
I've tried to install the new one, as the readme csquotes package tells, but doesn't work yet: 
the outdated one should be found first by both Latex and Lyx, and I don't know how I could uninstall it.

I will try!
Cheers,
Sara




Re: something wrong with biblatex

2009-10-26 Thread Charles de Miramon
sara teinturier wrote:

> 
> Thanks Charles, I've taken away the first two lines, now "Bibliographie"
> title appears as the good French word... I use the TeXlive packages for
> Ubuntu 9.04: csquotes package is an outdated version.
> (https://bugs.launchpad.net/ubuntu/+source/texlive-extra/+bug/433493) I've
> tried to install the new one, as the readme csquotes package tells, but
> doesn't work yet: the outdated one should be found first by both Latex and
> Lyx, and I don't know how I could uninstall it. I will try! Cheers,
> Sara

I don't think you have to uninstall it.

Download from CTAN the latest version of csquotes and then as root expand it 
in :

/usr/local/share/texmf/tex/latex/

you will get a csquotes directory with all the files.

Then run as root texhash to refresh the LaTeX database

LaTeX (and LyX) will then pick up the latest version

All this stuff is going to get much easier with the new version of TeXLive 
which will have an automatic installer of new packages but it is not there 
yet in Debian and Ubuntu

Cheers,
Charles
-- 
http://www.kde-france.org



Re: Environment description: including two first words

2009-10-26 Thread Waluyo Adi Siswanto
I think you can try Ctrl+Space which is the protected space. You can
even use for more than two words.

WAS

On Mon, 2009-10-26 at 12:31 +0100, Matthieu Stigler wrote:
> Hi
> 
> My question seems not so complicated but I did not find on the archives..
> 
> I want to use  the enviro description with on one line thw frist two
> words (instead of the first one by default) included, as:
> 
> \begin{description}
> \item [world] it is...
> \item [Earth and sun] that is...
> \end{description}
> 
> Can I do in Lyx or do I have to use it in TeX code mode?
> 
> Thanks a lot!
> 
> Matthieu



Re: How to remove figure numbers in KOMA-script book?

2009-10-26 Thread rgheck

On 10/26/2009 07:50 AM, gerlos wrote:

Hello everyone!
In the last weeks I started to use LyX, and found it very good. A long time ago 
I used
LaTeX for a while, but I forget almost everything I learned a that time :-(
So sorry for the silly question...

Now I'm using LyX to write a book, and I'm using the KOMA-script book class.
Here and there in the book I added some figures, but I'd like to remove the
text like "Figure 12.3" beside the caption (but still need a caption there),
do you know if it's possible?
How can I do it?

I googled for a while but didn't find anything useful :-(
I also looked around in LyX and didn't found anything that seemed related...
maybe needs some LaTeX magic?

   
I don't know about this, but you could try looking in the koma-script 
docs. The other possibility (LaTeX magic, yes) would be something like: 
\renewcommand\thefigure{}, in the preamble. I think something like that 
works.


rh



Re: Environment description: including two first words

2009-10-26 Thread Matthieu Stigler
Solved!

That was effectively rather trivial, using the protected space did the trick!

Thanks a lot for your help!!

Matthieu

2009/10/26 Waluyo Adi Siswanto :
> I think you can try Ctrl+Space which is the protected space. You can
> even use for more than two words.
>
> WAS
>
> On Mon, 2009-10-26 at 12:31 +0100, Matthieu Stigler wrote:
>> Hi
>>
>> My question seems not so complicated but I did not find on the archives..
>>
>> I want to use  the enviro description with on one line thw frist two
>> words (instead of the first one by default) included, as:
>>
>> \begin{description}
>> \item [world] it is...
>> \item [Earth and sun] that is...
>> \end{description}
>>
>> Can I do in Lyx or do I have to use it in TeX code mode?
>>
>> Thanks a lot!
>>
>> Matthieu
>
>


[bug report] Lyx 1.6.4 crashes while editing formula

2009-10-26 Thread Falk Sticken
Hi
I have found a bug in LyX 1.6.4 on Linux (openSUSE 11.1) which is not
reported in the bug tracker. When I start editing an inline math formula
(ALT+M M) and type 
"\mathc" 
SPACE 
BACKSPACE 
"al" 
SPACE 
LyX crashes.
A backtrace follows below.
bye,
Falk

#0  0xb6fcd3b8 in ?? () from /lib/libc.so.6
#1  0x080d541a in lyx::DocIterator::innerParagraph() const ()
#2  0x081d47ba in lyx::samePar(lyx::DocIterator const&, lyx::DocIterator
const&) ()
#3  0x081d4f67 in lyx::BufferView::setInlineCompletion(lyx::Cursor&,
lyx::DocIterator const&, std::basic_string const&, unsigned
int) ()
#4  0x0841eceb in lyx::frontend::GuiCompleter::hideInline(lyx::Cursor&)
()
#5  0x0841fb21 in
lyx::frontend::GuiCompleter::updateVisibility(lyx::Cursor&, bool, bool,
bool) ()
#6  0x0839f166 in lyx::frontend::GuiView::updateCompletion(lyx::Cursor&,
bool, bool) ()
#7  0x081356e8 in lyx::LyXFunc::dispatch(lyx::FuncRequest const&) ()
#8  0x08137d83 in lyx::LyXFunc::processKeySym(lyx::KeySymbol const&,
lyx::KeyModifier) ()
#9  0x083bd401 in lyx::frontend::GuiWorkArea::keyPressEvent(QKeyEvent*)
()
#10 0xb784691e in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#11 0xb7b7ca83 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#12 0xb7c13c8d in QAbstractScrollArea::event(QEvent*) ()
   from /usr/lib/libQtGui.so.4
#13 0x083ba1bf in lyx::frontend::GuiWorkArea::event(QEvent*) ()
#14 0xb77ee8fc in QApplicationPrivate::notify_helper(QObject*, QEvent*)
()
   from /usr/lib/libQtGui.so.4
---Type  to continue, or q  to quit---
#15 0xb77f7836 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libQtGui.so.4
#16 0x08381208 in lyx::frontend::GuiApplication::notify(QObject*,
QEvent*) ()
#17 0xb7593961 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /usr/lib/libQtCore.so.4
#18 0xb784f4be in ?? () from /usr/lib/libQtGui.so.4
#19 0xb7884470 in ?? () from /usr/lib/libQtGui.so.4
#20 0xb7886606 in ?? () from /usr/lib/libQtGui.so.4
#21 0xb785ebd5 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/libQtGui.so.4
#22 0xb788808a in ?? () from /usr/lib/libQtGui.so.4
#23 0xb73b99a8 in g_main_context_dispatch ()
from /usr/lib/libglib-2.0.so.0
#24 0xb73bd063 in ?? () from /usr/lib/libglib-2.0.so.0
#25 0xb73bd221 in g_main_context_iteration ()
from /usr/lib/libglib-2.0.so.0
#26 0xb75bdfb8 in
QEventDispatcherGlib::processEvents(QFlags) () 
from /usr/lib/libQtCore.so.4
#27 0xb7887785 in ?? () from /usr/lib/libQtGui.so.4
#28 0xb759201a in
QEventLoop::processEvents(QFlags) ()
from /usr/lib/libQtCore.so.4
#29 0xb75921da in
QEventLoop::exec(QFlags) ()
   from /usr/lib/libQtCore.so.4
#30 0xb7594895 in QCoreApplication::exec() ()
from /usr/lib/libQtCore.so.4
#31 0xb77ee777 in QApplication::exec() () from /usr/lib/libQtGui.so.4
---Type  to continue, or q  to quit---
#32 0x081235fe in lyx::LyX::exec(int&, char**) ()
#33 0x08071fa9 in main ()



Re: authorindex in LyX?

2009-10-26 Thread Manveru
2009/10/24 Mats Andrén :
> Sorry to be "spamming" but after sending my post I realized that it was a
> bit strange of me not to try what would happen without the multicols
> begin/end-pair, and just call \printauthorindex. When I remove the multi
> column stuff, no extra two pages are generated, which should probably be
> relevant for you people...
>
> But the main problem remains, of course.

What I can tell you about LyX is that it cannot run additional scripts
during LaTeX processing yet. And probably will not, as I it should
assume you have perl installed on your machine, which is often a
problem on Macs or Windows.

There are possible solutions to create your own converter calling the
perl script after first latex run. But you have then define your own
format, for example 'pdflatex (authorindex)'.

-- 
Manveru
jabber: manv...@manveru.pl
 gg: 1624001
   http://www.manveru.pl


Re: hide bibliography section?

2009-10-26 Thread Manveru
2009/10/25 Liviu Andronic :
> On 10/24/09, Stefano Franchi  wrote:
>>  If the latter, put the Lyx-inserted bibliography inset at the end of the
>>  document into a Lyx-note inset (to keep access to refs through the citation
>>  dialogue) and add, in ERT,
>>  /nobibliography{/path/to/your/bib/file}
>>
> Hmm, I am using natbib, and when I insert bibliography in a note, all
> the in-line references are turned to "?". If I also add
> \nobibliography{refs-sri.bib}
>
> , then the document fails to compile for complaining of an undefined
> control sequence. I found one reference of this command on the wiki
> [1], and it seems that it is a jurabib option.

Unfortunately in such case you probably have to put absolute path of
you bib file.

This is due to fact that LyX copies all the stuff into temporary
directory before latex is run, and it may not copy your .bib file if
your bibliography is in the note.

-- 
Manveru
jabber: manv...@manveru.pl
 gg: 1624001
   http://www.manveru.pl


Float/figures width

2009-10-26 Thread ColMatrix

Hi there,

Just started dabbling with LaTex and Lyx. I understand how to format a
figure in LaTex, for example, to have my diagram the same width as the
column of text, I type something like:

\includegraphics[width=\columnwidth]{figure.jpg}

or to get it x% of the column width

\includegraphics[width=x\columnwidth]{figure.jpg}

But how do I do this in Lyx?

Also, I'd like to know how to get, for example, two separate figures side by
side, each 50% (or less) the width of the column of text. Would it be
possible for Lyx to label them Figure 1(a) and (b) automagically?

I tried searching for an answer, but didn't find anything I could
understand. I hope you can help!

Thanks in advance!
-- 
View this message in context: 
http://n2.nabble.com/Float-figures-width-tp3893045p3893045.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: hide bibliography section?

2009-10-26 Thread Liviu Andronic
Hello

On 10/26/09, Manveru  wrote:
> Unfortunately in such case you probably have to put absolute path of
>  you bib file.
>
This time I tried jurabib & \nobibliography{/full/path/refs-sri.bib} &
bibliography-in-note, and the document compiles fine, but all the
references are still "?". I still cannot manage to use LyX's
facilities for inserting in-line citations, but hide the references
list.
Thank you
Liviu


Re: Float/figures width

2009-10-26 Thread Rich Shepard

On Mon, 26 Oct 2009, ColMatrix wrote:


Just started dabbling with LaTex and Lyx. I understand how to format a
figure in LaTex,



But how do I do this in Lyx?


  Assuming you have your figures in floats, click on the figure itself and
the graphics dialog box opens. It has three tabs: Graphics, Clipping, and
LaTeX and LyX.

  The middle box on the Graphics tab lets you adjust the width of the figure
on output. You can also change the displayed width.

  I'm sure there's something in one of the tutorials or user guides on this.

Rich


Re: Beamer problem.

2009-10-26 Thread nikunj .
I use it on windows, and on my system it is in the tmp dir of the user
account I log in as.
You may try it in /tmp or /usr/tmp.
On my system it is called lyx_tmpdir.qHp976 and so on.

Hope this helps.

regards,
nikunj.
On Mon, Oct 26, 2009 at 1:34 PM, Pierfranco Minsenti
 wrote:
> Thank you for your suggestion but could you please explain me where can I
> find the LyX log files? I use an Apple computer with MAC OS X 10.3
> Pierfranco
>
> 2009/10/26 nikunj . 
>>
>> Hi,
>>
>> You could try looking at the log files that are generated with each
>> run of pdflatex. That can pin point the exact point where the
>> conversion fails.
>> I had a similar problem, and the log files helped a lot.
>>
>> Regards,
>> Nikunj.
>
>
>


Re: Float/figures width

2009-10-26 Thread James C. Sutherland

I suggest that you look at the user manual that comes with LyX:
Help -> User's Guide
Help -> Embedded Objects
All of your questions should be answered there.

On Oct 26, 2009, at 10:04 AM, ColMatrix wrote:



Hi there,

Just started dabbling with LaTex and Lyx. I understand how to format a
figure in LaTex, for example, to have my diagram the same width as the
column of text, I type something like:

\includegraphics[width=\columnwidth]{figure.jpg}

or to get it x% of the column width

\includegraphics[width=x\columnwidth]{figure.jpg}

But how do I do this in Lyx?

Also, I'd like to know how to get, for example, two separate figures  
side by

side, each 50% (or less) the width of the column of text. Would it be
possible for Lyx to label them Figure 1(a) and (b) automagically?

I tried searching for an answer, but didn't find anything I could
understand. I hope you can help!

Thanks in advance!
--
View this message in context: 
http://n2.nabble.com/Float-figures-width-tp3893045p3893045.html
Sent from the LyX - Users mailing list archive at Nabble.com.




Re: Tufte-book Layout File

2009-10-26 Thread Joachim Osnabryg
Am 18.10.2009, 21:59 Uhr, schrieb Jason Waskiewicz  
:

I recently made a .layout file for the Tufte-book class.


Very commendable undertaking! I would be very glad, if we got a well  
performing layout file for that! (After my extensive use of Spitzmüller's  
layout for the Tufte-handout class.



Anyway, I'm hoping those with more skills can evaluate this .layout
file, improve it, and, possibly, find some use for it.


I'm not the one who can help with that. But I tried to run LyX with your  
layout file (I had the LaTeX tufte-book.cls already installed before),  
only with a \lipsum text, but without success. (LyX stopped the document  
compiling.)


Nevertheless:
It produced an pdf-output into the tmp subdirectory of LyX, with:

A U T O R Y
T I T E L X <== on the 1st page, and the
Lorem ipsum … … <== text on the following pages.

For the case, that it might help you or other developers of an LyX-layout  
for the tufte-book.cls,
or if someone can give me a hint, what's going wrong  in my LyX, I report  
here the rest:


Within the LyX program window I got the LaTeX errors:
-
LaTeX Error: Command \cplabel already defined.
LaTeX Error: Command \adjustwidth already defined.
---

errors & warnings copied from the LaTeX protocol:
---
…
LaTeX Info: Redefining \checkoddpage on input line 62.

! LaTeX Error: Command \cplabel already defined.
   Or name \end... illegal, see p.192 of the manual.
…
l.71   \...@esphack}

Your command was ignored.
Type  Ito replace it with another command,
orto continue without it.

LaTeX Info: Redefining \...@ngetext on input line 94.
LaTeX Info: Redefining \changetext on input line 106.
LaTeX Info: Redefining \changepage on input line 116.

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

l.147 \item[]}{\end{list}}

Your command was ignored.
…
{/usr/local/texlive/2008/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] [2

] [3]
Package bibentry Warning: You have used \nobibliography*
(bibentry)without a following \bibliography.
(bibentry)You may not be able to run BibTeX.
---

Any help?

joachim
--
MacTeXLive 2008 - TeXShop 2.18-svn - LyX 1.6.4.1
MacBook Pro OSX 10.4.11 Tiger (intel)



Re: something wrong with biblatex

2009-10-26 Thread sara teinturier


Thanks Charles for your help.
So, I think I have the good packages now -- both biblatex and csquotes 
were said "outdated" in the log file, now it's ok.
But my dvi / pdf file remains with... no references.  It seems to be a 
problem with my bib file, as you suggest first... but I don't understand 
the LateX language!
Here are the last log file, bib file and pdf result... thanks a lot if 
you could have a look...


I do hope there will be a TL 2009 for Debian / Ubuntu as soon as possible!!

S.

This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) (format=pdflatex 2009.6.3)  26 OCT 2009 17:48
entering extended mode
 %&-line parsing enabled.
**essai_biblio.tex
(./essai_biblio.tex
LaTeX2e <2005/12/01>
Babel  and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, arabic, farsi, croatian, ukrainian, russian, bulgarian, czech, slov
ak, danish, dutch, finnish, basque, french, german, ngerman, ibycus, greek, mon
ogreek, ancientgreek, hungarian, italian, latin, mongolian, norsk, icelandic, i
nterlingua, turkish, coptic, romanian, welsh, serbian, slovenian, estonian, esp
eranto, uppersorbian, indonesian, polish, portuguese, spanish, catalan, galicia
n, swedish, ukenglish, pinyin, loaded.

(/usr/share/texmf-texlive/tex/latex/koma-script/scrbook.cls
Document Class: scrbook 2006/07/30 v2.95b KOMA-Script document class (book)
(/usr/share/texmf-texlive/tex/latex/koma-script/scrkbase.sty
Package: scrkbase 2006/07/30 v2.95b KOMA-Script package (basics and keyval use)

(/usr/share/texmf-texlive/tex/latex/koma-script/scrlfile.sty
Package: scrlfile 2006/03/28 v2.95 KOMA-Script package (loading files)
Package scrlfile, 2006/03/28 v2.95 KOMA-Script package (loading files)
  Copyright (C) Markus Kohm

) (/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\...@toks@=\toks14
))
Package scrkbase Info: You've used the obsolete option `oneside'.
(scrkbase) \KOMAoptions{twoside=false} will be used instead.
(scrkbase) You should do this change too on input line 628.
(/usr/share/texmf-texlive/tex/latex/base/bk11.clo
File: bk11.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
) (/usr/share/texmf-texlive/tex/latex/koma-script/typearea.sty
Package: typearea 2006/07/30 v2.95b KOMA-Script package (type area)
Package typearea, 2006/07/30 v2.95b KOMA-Script package (type area)
  Copyright (C) Frank Neukam, 1992-1994
  Copyright (C) Markus Kohm, 1994-2002

\...@bcor=\skip41
\...@div=\count79
\...@hblk=\skip42
\...@vblk=\skip43
\...@temp=\skip44
Package typearea Info: These are the values describing the layout:
(typearea) DIV  = 10
(typearea) BCOR = 0.0pt
(typearea) \paperwidth  = 597.50793pt
(typearea)  \textwidth  = 418.2pt
(typearea)  DIV-departure   = -6/100
(typearea)  \evensidemargin = 17.3562pt
(typearea)  \oddsidemargin  = 17.3562pt
(typearea) \paperheight = 845.04694pt
(typearea)  \textheight = 595.80026pt
(typearea)  \topmargin  = -25.16531pt
(typearea)  \headheight = 17.0pt
(typearea)  \headsep= 20.40001pt
(typearea)  \topskip= 11.0pt
(typearea)  \footskip   = 47.60002pt
(typearea)  \baselineskip   = 13.6pt
(typearea)  on input line 832.
)
\...@part=\count80
\...@chapter=\count81
\...@section=\count82
\...@subsection=\count83
\...@subsubsection=\count84
\...@paragraph=\count85
\...@subparagraph=\count86
\abovecaptionskip=\skip45
\belowcaptionskip=\skip46
\...@pti@n...@sid@b...@x=\box26
\...@figure=\count87
\...@table=\count88
\bibindent=\dimen102
) (/usr/share/texmf-texlive/tex/latex/base/fontenc.sty
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package
(/usr/share/texmf-texlive/tex/latex/base/t1enc.def
File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file
LaTeX Font Info:Redeclaring font encoding T1 on input line 43.
)) (/usr/share/texmf-texlive/tex/latex/base/inputenc.sty
Package: inputenc 2006/05/05 v1.1b Input encoding file
\inp...@prehook=\toks15
\inp...@posthook=\toks16
(/usr/share/texmf/tex/latex/html/latin9.def
File: latin1.def 1998/03/05 v0.97 Input encoding file(test version: still liabl
e to change)
)) (/usr/share/texmf-texlive/tex/latex/setspace/setspace.sty
Package: setspace 2000/12/01 6.7 Contributed and Supported LaTeX2e package
Package: `setspace' 6.7 <2000/12/01>
) (/usr/local/share/texmf/tex/latex/biblatex/latex/biblatex.sty
Package: biblatex 2009/09/20 v0.8i programmable bibliographies
(/usr/share/texmf/tex/latex/etoolbox/etoolbox.sty
Package: etoolbox 2008/06/28 v1.7 e-TeX tools for LaTeX
(/usr/share/texmf-texlive/tex/latex/etex/etex.sty
Package: etex 1998/03/26 v2.0 eTeX basic definition package (PEB)
\...@xins=\count89
)) (/usr/share/texmf-texlive/tex/latex/base/ifthen.sty
Package: ifthen 2001/05/26 v1.1c 

Encapsulated PostScript

2009-10-26 Thread Rich Shepard

  The ps2epsi tool converts a .ps file to a .epsi file. According to the man
page, the difference between .eps and .epsi is, "ps2epsi uses gs(1) to
process a PostScript(tm) file and generate as output a new file which
conforms to Adobe's Encapsulated PostScript Interchange (EPSI) format. EPSI
is a special form of encapsulated PostScript (EPS) which adds to the
beginning of the file in the form of PostScript comments a bitmapped version
of the final displayed page. Programs which understand EPSI (usually word
processors or DTP programs) can use this bitmap to give a preview version on
screen of the PostScript. The displayed quality is often not very good
(e.g., low resolution, no colours), but the final printed version uses the
real PostScript, and thus has the normal PostScript quality."

  I used to prepare my lyx figures with xfig that produces .eps by default.
However, PSTricks produces a .ps file that needs to be converted. Will LyX
accept the .epsi format without complaints?

Rich



free Palatino Sans?

2009-10-26 Thread Liviu Andronic
Dear all
I am trying to figure which Sans and Typewritter fonts to use in
combination with Palatino (or the TeX Gyre Pagella extension).

In an incidental discussion on the ML [1], the non-free Palatino Sans
typeface [2] was suggested. I am wondering whether any free versions
of Palatino Sans exist and whether there are some other sans fonts
that blend well with Palatino.

Please let me know your suggestions
Liviu

[1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg67069.html
[2] http://www.linotype.com/3201/palatinosans.html



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: free Palatino Sans?

2009-10-26 Thread Rich Shepard

On Mon, 26 Oct 2009, Liviu Andronic wrote:


I am trying to figure which Sans and Typewritter fonts to use in
combination with Palatino (or the TeX Gyre Pagella extension).


Liviu,

  That's an interesting question. I use Palatino as my default typeface and
leave the sans and typewriter choices as 'default.' It has never been an
issue for me because Palatino is a serifed typeface and I had not assumed
that there was a san-serif version. In my documents I don't use a sans-serif
typeface, and the incidental code can be in any monospace typeface.

Rich


Re: free Palatino Sans?

2009-10-26 Thread Rich Shepard

On Mon, 26 Oct 2009, Bruce Pourciau wrote:


In his wonderful book The Elements of Typographical Style, Robert
Bringhurst suggests "pair[ing] serifed and unserifed faces on the basis of
their inner structure." And he goes on to give examples: one might pair a
modern geometric serifed face like Berthold Bodoni with a geometric
unserifed face like Futura. Now Palatino is based on Renaissance humanist
forms -- it looks like its written with a broad-nibbed pen -- and it would
not mix well with Futura, for example. But it might mix well with Syntax,
say, which is an unserifed face also based on Renaissance forms.


Bruce,

  I read that book a number of years ago just to get a sense of the subject.
I'm not a graphics person so I don't easily see the subtle distinctions that
graphically-enabled folks do. I do like the Palatino typeface; it's elegant
and professional, IMNSHO. Beyond that I leave it to you experts. :-)

Rich


Re: free Palatino Sans?

2009-10-26 Thread Bruce Pourciau


On Oct 26, 2009, at 2:08 PM, Rich Shepard wrote:


On Mon, 26 Oct 2009, Liviu Andronic wrote:


I am trying to figure which Sans and Typewritter fonts to use in
combination with Palatino (or the TeX Gyre Pagella extension).


Liviu,

  That's an interesting question. I use Palatino as my default  
typeface and
leave the sans and typewriter choices as 'default.' It has never  
been an
issue for me because Palatino is a serifed typeface and I had not  
assumed
that there was a san-serif version. In my documents I don't use a  
sans-serif

typeface, and the incidental code can be in any monospace typeface.

Rich


In his wonderful book The Elements of Typographical Style, Robert  
Bringhurst suggests "pair[ing] serifed and unserifed faces on the  
basis of their inner structure." And he goes on to give examples: one  
might pair a modern geometric serifed face like Berthold Bodoni with a  
geometric unserifed face like Futura. Now Palatino is based on  
Renaissance humanist forms -- it looks like its written with a broad- 
nibbed pen -- and it would not mix well with Futura, for example. But  
it might mix well with Syntax, say, which is an unserifed face also  
based on Renaissance forms.


Bruce


Re: free Palatino Sans?

2009-10-26 Thread Liviu Andronic
Hello Bruce

On 10/26/09, Bruce Pourciau  wrote:
>  In his wonderful book The Elements of Typographical Style, Robert
> Bringhurst suggests "pair[ing] serifed and unserifed faces on the basis of
> their inner structure." And he goes on to give examples: one might pair a
> modern geometric serifed face like Berthold Bodoni with a geometric
> unserifed face like Futura. Now Palatino is based on Renaissance humanist
> forms -- it looks like its written with a broad-nibbed pen -- and it would
> not mix well with Futura, for example. But it might mix well with Syntax,
> say, which is an unserifed face also based on Renaissance forms.
>
Thank you a lot for the explanations. I looked for Syntax (and for
other possible names suggested by Wikipedia, "Humanist 531" and
"Saxony") on the TeX Font Catalogue [1], but did not find anything.
Should I be looking for some different name?

Regards
Liviu

[1] http://www.tug.dk/FontCatalogue/alphfonts.html


Re: free Palatino Sans?

2009-10-26 Thread Liviu Andronic
On 10/26/09, Bruce Pourciau  wrote:
> unserifed face like Futura. Now Palatino is based on Renaissance humanist
> forms -- it looks like its written with a broad-nibbed pen -- and it would
> not mix well with Futura, for example. But it might mix well with Syntax,
> say, which is an unserifed face also based on Renaissance forms.
>
I think I found a good candidate. Looking on Wikipedia for Humanist
fonts [1], I stumbled upon Optima, originally designed by H. Zapf. The
Font Catalogue provides a clone  called URW Classico [2]. It is
shipped with TeX Live.
Liviu

[1] http://en.wikipedia.org/wiki/Humanist_sans-serif#Classification
[2] http://www.tug.dk/FontCatalogue/optima/