Re: Lenny backports for LyX 1.6.5 and eLyXer 0.39

2010-01-11 Thread Wolfgang Engelmann
Am Sunday 10 January 2010 18:16:54 schrieb Sven Hoexter:
 Hi,
 some of you might have noticed that Reinhard Tartler had uploaded a LyX
 1.6.4 backport to backports.org in November last year. Now I finally got my
 key added on bpo aswell (thanks to formorer) and just found some time to
 upload a LyX 1.6.5 backport. Uploaded for amd64 so i386 and other arch
 packages will take some time to get build.



Hi Sven,

where could one get your Debian LyX 1.6.5 backport? 

Thanks

Wolfgang


Re: Lenny backports for LyX 1.6.5 and eLyXer 0.39

2010-01-11 Thread Wolfgang Engelmann
Am Sunday 10 January 2010 18:16:54 schrieb Sven Hoexter:
 Hi,
 some of you might have noticed that Reinhard Tartler had uploaded a LyX
 1.6.4 backport to backports.org in November last year. Now I finally got my
 key added on bpo aswell (thanks to formorer) and just found some time to
 upload a LyX 1.6.5 backport. Uploaded for amd64 so i386 and other arch
 packages will take some time to get build.


Hi Sven,

where could one get your Debian LyX 1.6.5 backport? 

Thanks

Wolfgang


Re: Document Class not Available error message

2010-01-11 Thread wolflpc

Hi, Paul,

I followed the instructions here but can not work out. 
Could you please help me check out.
This is the text in the log file.

configure: TeX engine needs windows-style paths in latex files
checking for DVI to DTL converter...
+checking for dv2dt...   no
checking for a Latex2e program...
+checking for latex...   yes
checking for a DVI postprocessing program...
+checking for pplatex...   no
checking for pLaTeX, the Japanese LaTeX...
+checking for platex...   yes
checking for a Tgif viewer and editor...
+checking for tgif...   no
checking for a FIG viewer and editor...
+checking for xfig...   no
+checking for jfig3-itext.jar...   no
+checking for jfig3.jar...   no
checking for a Dia viewer and editor...
+checking for dia...   no
checking for a Grace viewer and editor...
+checking for xmgrace...   no
checking for a FEN viewer and editor...
+checking for xboard...   no
checking for a raster image viewer...
+checking for xv...   no
+checking for kview...   no
+checking for gimp-remote...   no
+checking for gimp...   no
checking for a raster image editor...
+checking for gimp-remote...   no
+checking for gimp...   no
checking for a text editor...
+checking for sensible-editor...   no
+checking for xemacs...   no
+checking for gvim...   no
+checking for kedit...   no
+checking for kwrite...   no
+checking for kate...   no
+checking for nedit...   no
+checking for gedit...   no
+checking for notepad...   yes
checking for a BibTeX editor...
+checking for sensible-editor...   no
+checking for jabref...   no
+checking for JabRef...   no
+checking for pybliographic...   no
+checking for bibdesk...   no
+checking for gbib...   no
+checking for kbib...   no
+checking for kbibtex...   no
+checking for sixpack...   no
+checking for bibedit...   no
+checking for tkbibtexxemacs...   no
+checking for gvim...   no
+checking for kedit...   no
+checking for kwrite...   no
+checking for kate...   no
+checking for nedit...   no
+checking for gedit...   no
+checking for notepad...   yes
checking for a Postscript previewer...
+checking for kghostview...   no
+checking for okular...   no
+checking for evince...   no
+checking for gv...   no
+checking for ghostview...   no
checking for a PDF previewer...
+checking for kpdf...   no
+checking for okular...   no
+checking for evince...   no
+checking for kghostview...   no
+checking for xpdf...   no
+checking for acrobat...   no
+checking for acroread...   no
+checking for gv...   no
+checking for ghostview...   no
checking for a DVI previewer...
+checking for xdvi...   no
+checking for kdvi...   no
+checking for okular...   no
+checking for dviout...   no
checking for an HTML previewer...
+checking for firefox...   no
+checking for mozilla...   no
+checking for netscape...   no
checking for Noteedit...
+checking for noteedit...   no
checking for an OpenDocument viewer...
+checking for swriter...   no
+checking for oowriter...   no
checking for the pdflatex program...
+checking for pdflatex...   yes
checking for a LaTeX/Noweb - LyX converter...
+checking for tex2lyx...   no
+checking for tex2lyx...   no
checking for a Noweb - LaTeX converter...
+checking for noweave...   no
checking for an HTML - LaTeX converter...
+checking for html2latex...   no
+checking for gnuhtml2latex...   no
+checking for htmltolatex...   no
+checking for java...   yes
checking for an MS Word - LaTeX converter...
+checking for wvCleanLatex...   no
checking for elyxer module... 
no
checking for a LyX - HTML converter...
+checking for elyxer.py...   no
+checking for elyxer...   no
checking for a LaTeX - HTML converter...
+checking for htlatex...   yes
checking for a LaTeX - MS Word converter...
+checking for htlatex...   yes
checking for an OpenOffice.org - LaTeX converter...
+checking for w2l...   no
checking for an OpenDocument - LaTeX converter...
+checking for w2l...   no
checking for a LaTeX - Open Document converter...
+checking for oolatex...   yes
checking for a LaTeX - RTF converter...
+checking for latex2rtf...   no
+checking for latex2rt...   no
checking for a RTF - HTML converter...
+checking for unrtf...   no
checking for a PS to PDF converter...
+checking for ps2pdf13...   yes
checking for a PS to TXT converter...
+checking for pstotext...   no
checking for a PS to TXT converter...
+checking for ps2ascii...   yes
checking for a PS to EPS converter...
+checking for ps2eps...   no
checking for a PDF to PS converter...
+checking for pdf2ps...   yes
checking for a PDF to EPS converter...
+checking for pdftops...   no
checking for a DVI to TXT converter...
+checking for catdvi...   no
checking for a DVI to PS converter...
+checking for dvips...   yes
checking for a DVI to PDF converter...
+checking for dvipdfmx...   yes
checking for dvipng...
+checking for dvipng...   yes
checking for a fax program...
+checking for kdeprintfax...   no
+checking for ksendfax...   no
+checking for hylapex...   no
checking for a FIG - EPS/PPM converter...
+checking for fig2dev...   no
checking for a TIFF - PS 

Lyx - Sweave in MS WIndows XP

2010-01-11 Thread SteveSB

Dear all

I have spent the last day trying to get Lyx / Sweave to work and after
reading whatever info I could get my hands on, including the various posts
on this forum as well as Gregor Gorjanc's blog I have managed to get to the
point where Lyx reports that the pdf file does not exist.

Looking in the Temp directory I can see the filename.nw file but there is
also a file marked filename.tex.pdf-dep (not sure if this is useful in
identifying the problem)

R is ver 2.10.0 and Lyx is 1.6.2 and MikTeX 2.7 on Windows XP

I think that I have followed the info provided by Frank Liu and Paul Johnson
correctly ( even though I found some of it quite contradictory)

The only as aspect that I have not carried out is implementing a Unix
Shell in Windows since except for Gregor's info, there is no reference to
this in the other posts.

Finally thanks for all the contributors, I am sure that its something rather
simple that I am not doing, but at this stage I can't see the wood for the
trees.

Regards
-- 
View this message in context: 
http://n2.nabble.com/Lyx-Sweave-in-MS-WIndows-XP-tp4284360p4284360.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: floats and subfloats with longtables SOLVED

2010-01-11 Thread Manveru
2010/1/9 Liviu Andronic landronim...@gmail.com:
[...]
 I've been using table floats with subfloats and normal tables, and
 they work nicely. However, when the float becomes too long for the
 page---because of the length of the subtables---, it will not break.
 I've tried to use longtables in the subfloats, but compilation fails.
 This seems to be normal behaviour for LaTeX [1].

 Today I managed to get working in LyX table floats that break over
 multiple pages. The first solution is the equivalent of having table
 floats that can extend over as many pages as there are table subfloats
 (see the .pdf file [3]). It involves putting table floats within
[...]
 with a couple more ERT hacks that you will find in the attached .lyx
 file [4]. Although this will do the job in many cases, the solution is
 still unsatisfactory: it will not work if at least one subtable
 extends over two pages or more.

 The second solution is the equivalent of having table floats
 containing longtables (see .pdf file [5]). Similarly, it involves putting
 longtables within
[...]
 and some ERT hacks. See .lyx document [6]. Both solutions were
 inspired from this LaTeX
 [2] thread.

 As for the request, It would be nice if LyX supported these two
 constructs natively, via the GUI. Especially since at first sight this
 seems impossible to achieve in LaTeX: combine a table float and
 longtable subfloats. Should I file a bug report?

It sounds interesting to have such functionality, but if you have
LaTeX-based solution you should consider publishing it as a package,
then it could be used by LyX.

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


Re: How to insert text plus charstyle with a click or keypress?

2010-01-11 Thread Guenter Milde
On 2010-01-11, Steve Litt wrote:

 Hundreds of times in my next book I will need to insert the words Seek and 
 Destroy, and will need those words to be in a specific charstyle (seekdest). 
 I'd love to be able to do that with a key combo to speed up my authoring. Is 
 there a way I can insert text inside a charstyle with a keystroke? 

ToolsSettingsEditKey Bindings

 You know, 
 like a WordPerfect macro? Where are the docs on how to do it, and what is it 
 called?

HelpLyX Functions

You might need the command-sequence LFun.

Günter



Re: Lenny backports for LyX 1.6.5 and eLyXer 0.39

2010-01-11 Thread Sven Hoexter
On Mon, Jan 11, 2010 at 08:59:59AM +0100, Wolfgang Engelmann wrote:
 Am Sunday 10 January 2010 18:16:54 schrieb Sven Hoexter:
  Hi,
  some of you might have noticed that Reinhard Tartler had uploaded a LyX
  1.6.4 backport to backports.org in November last year. Now I finally got my
  key added on bpo aswell (thanks to formorer) and just found some time to
  upload a LyX 1.6.5 backport. Uploaded for amd64 so i386 and other arch
  packages will take some time to get build.

 where could one get your Debian LyX 1.6.5 backport? 

backports.org instructions can be found unter 'Instructions' ;):
http://www.backports.org/dokuwiki/doku.php?id=instructions

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


Re: floats and subfloats with longtables SOLVED

2010-01-11 Thread Liviu Andronic
On 1/11/10, Manveru manv...@manveru.pl wrote:
 It sounds interesting to have such functionality, but if you have
  LaTeX-based solution you should consider publishing it as a package,
  then it could be used by LyX.

The solution uses the package subfloat, an existing LaTeX package.
Liviu


Re: floats and subfloats with longtables SOLVED

2010-01-11 Thread Manveru
2010/1/11 Liviu Andronic landronim...@gmail.com:
 On 1/11/10, Manveru manv...@manveru.pl wrote:
 It sounds interesting to have such functionality, but if you have
  LaTeX-based solution you should consider publishing it as a package,
  then it could be used by LyX.

 The solution uses the package subfloat, an existing LaTeX package.
 Liviu

But you are extending them... I did not look into details, but if you
are making subfloat better somehow...

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


numbering style

2010-01-11 Thread meorli



Hello,
I use LyX and the document type is article(ams).
My problem is that suddenly the numbering of both the equations and figures
became nested according to the sections (2.1,2.2 ext.), while I want it to be
in a regular simple order (1, 2, ext.).

Another problem I have is not being able to write the names in the author
environment with capital letters only at the beginning of each word (it writes
the entire word in capital letters).
Please help me on those matters.
Thanks in advance,
Orly





Re: Lenny backports for LyX 1.6.5 and eLyXer 0.39

2010-01-11 Thread Wolfgang Engelmann
Thanks, Sven

  where could one get your Debian LyX 1.6.5 backport?

 backports.org instructions can be found unter 'Instructions' ;):
 http://www.backports.org/dokuwiki/doku.php?id=instructions

 HTH
 Sven


Re: Lyx in Fedora 12

2010-01-11 Thread José Matos
On Saturday 09 January 2010 11:33:25 Alex Fernandez wrote:
 Are you interested in packaging eLyXer for Fedora? May I help in any way?
 
 The Debian package is in testing (ready for the next stable) and it is
 quite mature. The latest version is also in Ubuntu:
   http://packages.ubuntu.com/lucid/elyxer

I will take a look into the package and if I have any doubt I will contact 
you. Thanks,

 Alex.

-- 
José Abílio


Re: A Question regarding fonts

2010-01-11 Thread Siegfried Meunier-Guttin-Cluzel
In this case, I use the listings package (Insert  Listings). There are 
two possibilities : inline or separated.
The main advantage for me is the syntax highlighting and a lot of other 
possibilities (frames, captions ...).

There's a very good documentation.

Hope it helps.

Siegfried.


Re: Document Class not Available error message

2010-01-11 Thread Paul A. Rubin

wolflpc wrote:

Hi, Paul,

I followed the instructions here but can not work out. 
Could you please help me check out.

This is the text in the log file.


Everything in your log file looks fine -- the installer if finding LaTeX 
and most if not all document classes.  Does LyX start? Are you able to 
create new documents (basic article class)?  Can you open the help 
documents?


You're apparently using Windows, but which version (XP, Vista, 7)?

There have been some anecdotes (though none recently that I recall) 
about defective configuration files occurring in Windows and then 
sticking around even after reconfiguration.  You might try deleting your 
LyX user directory.  This is usually C:\Documents and Settings\your 
id\Application Data\lyx16 on XP (not sure where it is on Vista).  If 
not, do Help  About LyX in LyX and look for the User directory 
(expand ~ to your Docs and Settings folder).  Delete the entire user 
directory and restart LyX.  Maybe that will help.  (If you have any 
customizations from a previous version, such as a modified bind file, 
you should copy those files someplace safe so that you can restore them 
once LyX is working.)


/Paul



Re: numbering style

2010-01-11 Thread Yago

For your first question, you can put in your preamble this two commands:

\renewcommand{\thefigure}{\arabic{figure}}
\renewcommand{\theequation}{\arabic{equation}}
- Original Message - 
From: meo...@techunix.technion.ac.il

To: lyx-users@lists.lyx.org
Sent: Monday, January 11, 2010 11:06 AM
Subject: numbering style






Hello,
I use LyX and the document type is article(ams).
My problem is that suddenly the numbering of both the equations and 
figures
became nested according to the sections (2.1,2.2 ext.), while I want it to 
be

in a regular simple order (1, 2, ext.).

Another problem I have is not being able to write the names in the author
environment with capital letters only at the beginning of each word (it 
writes

the entire word in capital letters).
Please help me on those matters.
Thanks in advance,
Orly







Re: numbering style

2010-01-11 Thread Uwe Stöhr

meo...@techunix.technion.ac.il schrieb:


I use LyX and the document type is article(ams).
My problem is that suddenly the numbering of both the equations and figures
became nested according to the sections (2.1,2.2 ext.), while I want it to be
in a regular simple order (1, 2, ext.).


Nested numbering is the default setting for AMS document classes. If you really need to change it, 
have a look at sec. 3.3 Float Numbering (and also sec. 4.2.1 Footnote Numbering) of the 
EmbeddedObjects manual that you find in LyX's Help menu.



Another problem I have is not being able to write the names in the author
environment with capital letters only at the beginning of each word (it writes
the entire word in capital letters).


I don't understand. You have written e.g.

Michael Testman

And you get this?:

michael testman


I guess you want to have the name in small caps. If so, highlight the words and press the toolbar 
button with the small man on it. As alternative, use the text style dialog and set the text shape to 
small caps.


regards Uwe


RE: Lyx - Sweave in MS WIndows XP

2010-01-11 Thread Rob Oakes
Hi Steve,

You might have better luck installing the Cygwin version of LyX.  The last
time I checked, Cygwin included a version of R that could also be used.
This would solve the requirements for a Unix like shell on Windows and
simplify the configurations.  The Cygwin version of LyX also works with
MikTeX, so you wouldn't have to spend any time monkeying with LaTeX
distributions.

Though I've played with it on Windows, I've had much better luck using
Sweave on Linux.  I actually went so far as to set up a dedicated Ubuntu
virtual machine on my Windows box for R and Sweave related testing.  It's
pretty easy to get this running with Sun's VirtualBox and a live CD.
(Though I've personally been using VMware workstation.)

Cheers,

Rob Oakes

-Original Message-
From: SteveSB [mailto:sbsid...@mweb.co.za] 
Sent: Monday, January 11, 2010 1:25 AM
To: lyx-users@lists.lyx.org
Subject: Lyx - Sweave in MS WIndows XP


Dear all

I have spent the last day trying to get Lyx / Sweave to work and after
reading whatever info I could get my hands on, including the various posts
on this forum as well as Gregor Gorjanc's blog I have managed to get to the
point where Lyx reports that the pdf file does not exist.

Looking in the Temp directory I can see the filename.nw file but there is
also a file marked filename.tex.pdf-dep (not sure if this is useful in
identifying the problem)

R is ver 2.10.0 and Lyx is 1.6.2 and MikTeX 2.7 on Windows XP

I think that I have followed the info provided by Frank Liu and Paul Johnson
correctly ( even though I found some of it quite contradictory)

The only as aspect that I have not carried out is implementing a Unix
Shell in Windows since except for Gregor's info, there is no reference to
this in the other posts.

Finally thanks for all the contributors, I am sure that its something rather
simple that I am not doing, but at this stage I can't see the wood for the
trees.

Regards
--
View this message in context:
http://n2.nabble.com/Lyx-Sweave-in-MS-WIndows-XP-tp4284360p4284360.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: numbering style

2010-01-11 Thread Uwe Stöhr

meo...@techunix.technion.ac.il schrieb:


You really helped me with the figures numbering. I have used the
\renewcommand{\thefigure}{\arabic{figure}} command.
As for the equations, I have used the same, with equation instead of
figure.
It did solved the nesting problem, however it restarts the equation numbering
every time a new section starts, and I do not want this.
Can you tell me how can I avoid this?


This is also described in the EmbeddedObjets manual, search for \...@addtoreset.


As for the names, I meant to say that when I write Michael Testman
I get MICHAEL TESTMAN.


But the M is a bit larger than ICHAEL, right? This is small caps style. This style is predefined 
for the author environment in the AMS document classes.


If you don't like AMS's default settings and styles and if you are not a mathematician, you might 
better use another document class. I recommend to use a KOMA-script class or the class memoir. These 
classes are the most flexible ones for long documents like books, reports, theses, etc.
If you are a mathematician I recommend to accept AMS's default settings because they follow the 
common guidelines for math publications.


regards Uwe


Suggestions for keyboard binding interface

2010-01-11 Thread Steve Litt
Hi all,

I think the user interface for setting keyboard bindings can use considerable 
improvement. Let's start with the worst thing: If you've done something wrong 
with the keyboard binding function area, LyX closes the keyboard binding 
dialog box and prints an error message like you can't insert that in this 
list or some other generic error, AND THEN CLOSES THE DIALOG BOX! So you 
can't even experiment to get it right -- you need to redo Tools-Preferences-
Editing-Shortcuts and then redo everything. Do this ten times you've burned 
up an hour, whereas if it left the dialog box you could do ten in ten minutes.

Also ugly: I could see no way to look up a binding by keystroke. This means 
there's no way to know an available keystroke other than try one and have the 
interface tell you this is already bound to function bibitybop and that needs 
to be disabled first, and then, as I remember, close the dialog box. You can 
already search on function -- it would be wonderful if you could search on 
keystroke too.

Then there's the fact that some keystrokes seem to be magically excluded from 
possible key bindings. Ctrl+2 is one, even though I removed the Ctrl+2 binding 
that went to bookmark 2. 

There are other anomalies I haven't documented because they only happened once 
or were intermittent or whatever.

The cleanest way I've found is to just directly edit user.bind, in violation 
of the comment at the top saying it will automatically be written etc. Of 
course, to do that I have to close all instances of LyX while doing the 
editing, so troubleshooting is once again a very long iteration.

Part of all of this could be solved by documentation, but a big part of it is 
lack of the principle of least surprise -- the interface is just so weird 
that documenting it would take pages and pages of explanations and warnings.

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Suggestions for keyboard binding interface

2010-01-11 Thread Steve Litt
I've just thought of a way to make creating and troubleshooting bind files 
much easier. If someone would create an LFUN_REREAD_BINDFILE, then I could 
directly edit user.bind and then run LFUN_REREAD_BINDFILE to assess the result 
without closing and reopening LyX. Cool, huh? 

I'd like to see a similar LFUN_REREAD_CONFIGURATION to do what Tools-
Reconfigure does but without necessitating leaving and reentering LyX.

SteveT

On Monday 11 January 2010 19:31:15 Steve Litt wrote:
 Hi all,
 
 I think the user interface for setting keyboard bindings can use
  considerable improvement. Let's start with the worst thing: If you've done
  something wrong with the keyboard binding function area, LyX closes the
  keyboard binding dialog box and prints an error message like you can't
  insert that in this list or some other generic error, AND THEN CLOSES THE
  DIALOG BOX! So you can't even experiment to get it right -- you need to
  redo Tools-Preferences-
 
 Editing-Shortcuts and then redo everything. Do this ten times you've
  burned
 
 up an hour, whereas if it left the dialog box you could do ten in ten
  minutes.
 
 Also ugly: I could see no way to look up a binding by keystroke. This means
 there's no way to know an available keystroke other than try one and have
  the interface tell you this is already bound to function bibitybop and
  that needs to be disabled first, and then, as I remember, close the
  dialog box. You can already search on function -- it would be wonderful if
  you could search on keystroke too.
 
 Then there's the fact that some keystrokes seem to be magically excluded
  from possible key bindings. Ctrl+2 is one, even though I removed the
  Ctrl+2 binding that went to bookmark 2.
 
 There are other anomalies I haven't documented because they only happened
  once or were intermittent or whatever.
 
 The cleanest way I've found is to just directly edit user.bind, in
  violation of the comment at the top saying it will automatically be
  written etc. Of course, to do that I have to close all instances of LyX
  while doing the editing, so troubleshooting is once again a very long
  iteration.
 
 Part of all of this could be solved by documentation, but a big part of it
  is lack of the principle of least surprise -- the interface is just so
  weird that documenting it would take pages and pages of explanations and
  warnings.
 
 Thanks
 
 SteveT
 
 Steve Litt
 Recession Relief Package
 http://www.recession-relief.US
 Twitter: http://www.twitter.com/stevelitt
 



Lining up text and graphics in tables?

2010-01-11 Thread Steve Litt
Ugh!

I wanted rows with 3 columns. Column 1 is the name of the graphic. Column 2 is 
the graphic itself. Column 3 is a short explanation of the graphic. I used 
individual 1 row, 3 column tables to save room and make sure pages broke 
reasonably.

Trouble is, no matter how I set cell alignment in any of the columns, the 
graphic always rises to the top, and the text (in other columns/cells mind 
you) always starts just below where the graphic ends, thereby costing a lot of 
space, looking ugly, and causing confusion.

Does anyone have an idea how to get the graphic and text to line up correctly, 
vertically, within their respective cells? Does anyone have any idea what 
would cause the behavior I describe?

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Lenny backports for LyX 1.6.5 and eLyXer 0.39

2010-01-11 Thread Wolfgang Engelmann
Am Sunday 10 January 2010 18:16:54 schrieb Sven Hoexter:
 Hi,
 some of you might have noticed that Reinhard Tartler had uploaded a LyX
 1.6.4 backport to backports.org in November last year. Now I finally got my
 key added on bpo aswell (thanks to formorer) and just found some time to
 upload a LyX 1.6.5 backport. Uploaded for amd64 so i386 and other arch
 packages will take some time to get build.



Hi Sven,

where could one get your Debian LyX 1.6.5 backport? 

Thanks

Wolfgang


Re: Lenny backports for LyX 1.6.5 and eLyXer 0.39

2010-01-11 Thread Wolfgang Engelmann
Am Sunday 10 January 2010 18:16:54 schrieb Sven Hoexter:
 Hi,
 some of you might have noticed that Reinhard Tartler had uploaded a LyX
 1.6.4 backport to backports.org in November last year. Now I finally got my
 key added on bpo aswell (thanks to formorer) and just found some time to
 upload a LyX 1.6.5 backport. Uploaded for amd64 so i386 and other arch
 packages will take some time to get build.


Hi Sven,

where could one get your Debian LyX 1.6.5 backport? 

Thanks

Wolfgang


Re: Document Class not Available error message

2010-01-11 Thread wolflpc

Hi, Paul,

I followed the instructions here but can not work out. 
Could you please help me check out.
This is the text in the log file.

configure: TeX engine needs windows-style paths in latex files
checking for DVI to DTL converter...
+checking for dv2dt...   no
checking for a Latex2e program...
+checking for latex...   yes
checking for a DVI postprocessing program...
+checking for pplatex...   no
checking for pLaTeX, the Japanese LaTeX...
+checking for platex...   yes
checking for a Tgif viewer and editor...
+checking for tgif...   no
checking for a FIG viewer and editor...
+checking for xfig...   no
+checking for jfig3-itext.jar...   no
+checking for jfig3.jar...   no
checking for a Dia viewer and editor...
+checking for dia...   no
checking for a Grace viewer and editor...
+checking for xmgrace...   no
checking for a FEN viewer and editor...
+checking for xboard...   no
checking for a raster image viewer...
+checking for xv...   no
+checking for kview...   no
+checking for gimp-remote...   no
+checking for gimp...   no
checking for a raster image editor...
+checking for gimp-remote...   no
+checking for gimp...   no
checking for a text editor...
+checking for sensible-editor...   no
+checking for xemacs...   no
+checking for gvim...   no
+checking for kedit...   no
+checking for kwrite...   no
+checking for kate...   no
+checking for nedit...   no
+checking for gedit...   no
+checking for notepad...   yes
checking for a BibTeX editor...
+checking for sensible-editor...   no
+checking for jabref...   no
+checking for JabRef...   no
+checking for pybliographic...   no
+checking for bibdesk...   no
+checking for gbib...   no
+checking for kbib...   no
+checking for kbibtex...   no
+checking for sixpack...   no
+checking for bibedit...   no
+checking for tkbibtexxemacs...   no
+checking for gvim...   no
+checking for kedit...   no
+checking for kwrite...   no
+checking for kate...   no
+checking for nedit...   no
+checking for gedit...   no
+checking for notepad...   yes
checking for a Postscript previewer...
+checking for kghostview...   no
+checking for okular...   no
+checking for evince...   no
+checking for gv...   no
+checking for ghostview...   no
checking for a PDF previewer...
+checking for kpdf...   no
+checking for okular...   no
+checking for evince...   no
+checking for kghostview...   no
+checking for xpdf...   no
+checking for acrobat...   no
+checking for acroread...   no
+checking for gv...   no
+checking for ghostview...   no
checking for a DVI previewer...
+checking for xdvi...   no
+checking for kdvi...   no
+checking for okular...   no
+checking for dviout...   no
checking for an HTML previewer...
+checking for firefox...   no
+checking for mozilla...   no
+checking for netscape...   no
checking for Noteedit...
+checking for noteedit...   no
checking for an OpenDocument viewer...
+checking for swriter...   no
+checking for oowriter...   no
checking for the pdflatex program...
+checking for pdflatex...   yes
checking for a LaTeX/Noweb - LyX converter...
+checking for tex2lyx...   no
+checking for tex2lyx...   no
checking for a Noweb - LaTeX converter...
+checking for noweave...   no
checking for an HTML - LaTeX converter...
+checking for html2latex...   no
+checking for gnuhtml2latex...   no
+checking for htmltolatex...   no
+checking for java...   yes
checking for an MS Word - LaTeX converter...
+checking for wvCleanLatex...   no
checking for elyxer module... 
no
checking for a LyX - HTML converter...
+checking for elyxer.py...   no
+checking for elyxer...   no
checking for a LaTeX - HTML converter...
+checking for htlatex...   yes
checking for a LaTeX - MS Word converter...
+checking for htlatex...   yes
checking for an OpenOffice.org - LaTeX converter...
+checking for w2l...   no
checking for an OpenDocument - LaTeX converter...
+checking for w2l...   no
checking for a LaTeX - Open Document converter...
+checking for oolatex...   yes
checking for a LaTeX - RTF converter...
+checking for latex2rtf...   no
+checking for latex2rt...   no
checking for a RTF - HTML converter...
+checking for unrtf...   no
checking for a PS to PDF converter...
+checking for ps2pdf13...   yes
checking for a PS to TXT converter...
+checking for pstotext...   no
checking for a PS to TXT converter...
+checking for ps2ascii...   yes
checking for a PS to EPS converter...
+checking for ps2eps...   no
checking for a PDF to PS converter...
+checking for pdf2ps...   yes
checking for a PDF to EPS converter...
+checking for pdftops...   no
checking for a DVI to TXT converter...
+checking for catdvi...   no
checking for a DVI to PS converter...
+checking for dvips...   yes
checking for a DVI to PDF converter...
+checking for dvipdfmx...   yes
checking for dvipng...
+checking for dvipng...   yes
checking for a fax program...
+checking for kdeprintfax...   no
+checking for ksendfax...   no
+checking for hylapex...   no
checking for a FIG - EPS/PPM converter...
+checking for fig2dev...   no
checking for a TIFF - PS 

Lyx - Sweave in MS WIndows XP

2010-01-11 Thread SteveSB

Dear all

I have spent the last day trying to get Lyx / Sweave to work and after
reading whatever info I could get my hands on, including the various posts
on this forum as well as Gregor Gorjanc's blog I have managed to get to the
point where Lyx reports that the pdf file does not exist.

Looking in the Temp directory I can see the filename.nw file but there is
also a file marked filename.tex.pdf-dep (not sure if this is useful in
identifying the problem)

R is ver 2.10.0 and Lyx is 1.6.2 and MikTeX 2.7 on Windows XP

I think that I have followed the info provided by Frank Liu and Paul Johnson
correctly ( even though I found some of it quite contradictory)

The only as aspect that I have not carried out is implementing a Unix
Shell in Windows since except for Gregor's info, there is no reference to
this in the other posts.

Finally thanks for all the contributors, I am sure that its something rather
simple that I am not doing, but at this stage I can't see the wood for the
trees.

Regards
-- 
View this message in context: 
http://n2.nabble.com/Lyx-Sweave-in-MS-WIndows-XP-tp4284360p4284360.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: floats and subfloats with longtables SOLVED

2010-01-11 Thread Manveru
2010/1/9 Liviu Andronic landronim...@gmail.com:
[...]
 I've been using table floats with subfloats and normal tables, and
 they work nicely. However, when the float becomes too long for the
 page---because of the length of the subtables---, it will not break.
 I've tried to use longtables in the subfloats, but compilation fails.
 This seems to be normal behaviour for LaTeX [1].

 Today I managed to get working in LyX table floats that break over
 multiple pages. The first solution is the equivalent of having table
 floats that can extend over as many pages as there are table subfloats
 (see the .pdf file [3]). It involves putting table floats within
[...]
 with a couple more ERT hacks that you will find in the attached .lyx
 file [4]. Although this will do the job in many cases, the solution is
 still unsatisfactory: it will not work if at least one subtable
 extends over two pages or more.

 The second solution is the equivalent of having table floats
 containing longtables (see .pdf file [5]). Similarly, it involves putting
 longtables within
[...]
 and some ERT hacks. See .lyx document [6]. Both solutions were
 inspired from this LaTeX
 [2] thread.

 As for the request, It would be nice if LyX supported these two
 constructs natively, via the GUI. Especially since at first sight this
 seems impossible to achieve in LaTeX: combine a table float and
 longtable subfloats. Should I file a bug report?

It sounds interesting to have such functionality, but if you have
LaTeX-based solution you should consider publishing it as a package,
then it could be used by LyX.

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


Re: How to insert text plus charstyle with a click or keypress?

2010-01-11 Thread Guenter Milde
On 2010-01-11, Steve Litt wrote:

 Hundreds of times in my next book I will need to insert the words Seek and 
 Destroy, and will need those words to be in a specific charstyle (seekdest). 
 I'd love to be able to do that with a key combo to speed up my authoring. Is 
 there a way I can insert text inside a charstyle with a keystroke? 

ToolsSettingsEditKey Bindings

 You know, 
 like a WordPerfect macro? Where are the docs on how to do it, and what is it 
 called?

HelpLyX Functions

You might need the command-sequence LFun.

Günter



Re: Lenny backports for LyX 1.6.5 and eLyXer 0.39

2010-01-11 Thread Sven Hoexter
On Mon, Jan 11, 2010 at 08:59:59AM +0100, Wolfgang Engelmann wrote:
 Am Sunday 10 January 2010 18:16:54 schrieb Sven Hoexter:
  Hi,
  some of you might have noticed that Reinhard Tartler had uploaded a LyX
  1.6.4 backport to backports.org in November last year. Now I finally got my
  key added on bpo aswell (thanks to formorer) and just found some time to
  upload a LyX 1.6.5 backport. Uploaded for amd64 so i386 and other arch
  packages will take some time to get build.

 where could one get your Debian LyX 1.6.5 backport? 

backports.org instructions can be found unter 'Instructions' ;):
http://www.backports.org/dokuwiki/doku.php?id=instructions

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


Re: floats and subfloats with longtables SOLVED

2010-01-11 Thread Liviu Andronic
On 1/11/10, Manveru manv...@manveru.pl wrote:
 It sounds interesting to have such functionality, but if you have
  LaTeX-based solution you should consider publishing it as a package,
  then it could be used by LyX.

The solution uses the package subfloat, an existing LaTeX package.
Liviu


Re: floats and subfloats with longtables SOLVED

2010-01-11 Thread Manveru
2010/1/11 Liviu Andronic landronim...@gmail.com:
 On 1/11/10, Manveru manv...@manveru.pl wrote:
 It sounds interesting to have such functionality, but if you have
  LaTeX-based solution you should consider publishing it as a package,
  then it could be used by LyX.

 The solution uses the package subfloat, an existing LaTeX package.
 Liviu

But you are extending them... I did not look into details, but if you
are making subfloat better somehow...

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


numbering style

2010-01-11 Thread meorli



Hello,
I use LyX and the document type is article(ams).
My problem is that suddenly the numbering of both the equations and figures
became nested according to the sections (2.1,2.2 ext.), while I want it to be
in a regular simple order (1, 2, ext.).

Another problem I have is not being able to write the names in the author
environment with capital letters only at the beginning of each word (it writes
the entire word in capital letters).
Please help me on those matters.
Thanks in advance,
Orly





Re: Lenny backports for LyX 1.6.5 and eLyXer 0.39

2010-01-11 Thread Wolfgang Engelmann
Thanks, Sven

  where could one get your Debian LyX 1.6.5 backport?

 backports.org instructions can be found unter 'Instructions' ;):
 http://www.backports.org/dokuwiki/doku.php?id=instructions

 HTH
 Sven


Re: Lyx in Fedora 12

2010-01-11 Thread José Matos
On Saturday 09 January 2010 11:33:25 Alex Fernandez wrote:
 Are you interested in packaging eLyXer for Fedora? May I help in any way?
 
 The Debian package is in testing (ready for the next stable) and it is
 quite mature. The latest version is also in Ubuntu:
   http://packages.ubuntu.com/lucid/elyxer

I will take a look into the package and if I have any doubt I will contact 
you. Thanks,

 Alex.

-- 
José Abílio


Re: A Question regarding fonts

2010-01-11 Thread Siegfried Meunier-Guttin-Cluzel
In this case, I use the listings package (Insert  Listings). There are 
two possibilities : inline or separated.
The main advantage for me is the syntax highlighting and a lot of other 
possibilities (frames, captions ...).

There's a very good documentation.

Hope it helps.

Siegfried.


Re: Document Class not Available error message

2010-01-11 Thread Paul A. Rubin

wolflpc wrote:

Hi, Paul,

I followed the instructions here but can not work out. 
Could you please help me check out.

This is the text in the log file.


Everything in your log file looks fine -- the installer if finding LaTeX 
and most if not all document classes.  Does LyX start? Are you able to 
create new documents (basic article class)?  Can you open the help 
documents?


You're apparently using Windows, but which version (XP, Vista, 7)?

There have been some anecdotes (though none recently that I recall) 
about defective configuration files occurring in Windows and then 
sticking around even after reconfiguration.  You might try deleting your 
LyX user directory.  This is usually C:\Documents and Settings\your 
id\Application Data\lyx16 on XP (not sure where it is on Vista).  If 
not, do Help  About LyX in LyX and look for the User directory 
(expand ~ to your Docs and Settings folder).  Delete the entire user 
directory and restart LyX.  Maybe that will help.  (If you have any 
customizations from a previous version, such as a modified bind file, 
you should copy those files someplace safe so that you can restore them 
once LyX is working.)


/Paul



Re: numbering style

2010-01-11 Thread Yago

For your first question, you can put in your preamble this two commands:

\renewcommand{\thefigure}{\arabic{figure}}
\renewcommand{\theequation}{\arabic{equation}}
- Original Message - 
From: meo...@techunix.technion.ac.il

To: lyx-users@lists.lyx.org
Sent: Monday, January 11, 2010 11:06 AM
Subject: numbering style






Hello,
I use LyX and the document type is article(ams).
My problem is that suddenly the numbering of both the equations and 
figures
became nested according to the sections (2.1,2.2 ext.), while I want it to 
be

in a regular simple order (1, 2, ext.).

Another problem I have is not being able to write the names in the author
environment with capital letters only at the beginning of each word (it 
writes

the entire word in capital letters).
Please help me on those matters.
Thanks in advance,
Orly







Re: numbering style

2010-01-11 Thread Uwe Stöhr

meo...@techunix.technion.ac.il schrieb:


I use LyX and the document type is article(ams).
My problem is that suddenly the numbering of both the equations and figures
became nested according to the sections (2.1,2.2 ext.), while I want it to be
in a regular simple order (1, 2, ext.).


Nested numbering is the default setting for AMS document classes. If you really need to change it, 
have a look at sec. 3.3 Float Numbering (and also sec. 4.2.1 Footnote Numbering) of the 
EmbeddedObjects manual that you find in LyX's Help menu.



Another problem I have is not being able to write the names in the author
environment with capital letters only at the beginning of each word (it writes
the entire word in capital letters).


I don't understand. You have written e.g.

Michael Testman

And you get this?:

michael testman


I guess you want to have the name in small caps. If so, highlight the words and press the toolbar 
button with the small man on it. As alternative, use the text style dialog and set the text shape to 
small caps.


regards Uwe


RE: Lyx - Sweave in MS WIndows XP

2010-01-11 Thread Rob Oakes
Hi Steve,

You might have better luck installing the Cygwin version of LyX.  The last
time I checked, Cygwin included a version of R that could also be used.
This would solve the requirements for a Unix like shell on Windows and
simplify the configurations.  The Cygwin version of LyX also works with
MikTeX, so you wouldn't have to spend any time monkeying with LaTeX
distributions.

Though I've played with it on Windows, I've had much better luck using
Sweave on Linux.  I actually went so far as to set up a dedicated Ubuntu
virtual machine on my Windows box for R and Sweave related testing.  It's
pretty easy to get this running with Sun's VirtualBox and a live CD.
(Though I've personally been using VMware workstation.)

Cheers,

Rob Oakes

-Original Message-
From: SteveSB [mailto:sbsid...@mweb.co.za] 
Sent: Monday, January 11, 2010 1:25 AM
To: lyx-users@lists.lyx.org
Subject: Lyx - Sweave in MS WIndows XP


Dear all

I have spent the last day trying to get Lyx / Sweave to work and after
reading whatever info I could get my hands on, including the various posts
on this forum as well as Gregor Gorjanc's blog I have managed to get to the
point where Lyx reports that the pdf file does not exist.

Looking in the Temp directory I can see the filename.nw file but there is
also a file marked filename.tex.pdf-dep (not sure if this is useful in
identifying the problem)

R is ver 2.10.0 and Lyx is 1.6.2 and MikTeX 2.7 on Windows XP

I think that I have followed the info provided by Frank Liu and Paul Johnson
correctly ( even though I found some of it quite contradictory)

The only as aspect that I have not carried out is implementing a Unix
Shell in Windows since except for Gregor's info, there is no reference to
this in the other posts.

Finally thanks for all the contributors, I am sure that its something rather
simple that I am not doing, but at this stage I can't see the wood for the
trees.

Regards
--
View this message in context:
http://n2.nabble.com/Lyx-Sweave-in-MS-WIndows-XP-tp4284360p4284360.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: numbering style

2010-01-11 Thread Uwe Stöhr

meo...@techunix.technion.ac.il schrieb:


You really helped me with the figures numbering. I have used the
\renewcommand{\thefigure}{\arabic{figure}} command.
As for the equations, I have used the same, with equation instead of
figure.
It did solved the nesting problem, however it restarts the equation numbering
every time a new section starts, and I do not want this.
Can you tell me how can I avoid this?


This is also described in the EmbeddedObjets manual, search for \...@addtoreset.


As for the names, I meant to say that when I write Michael Testman
I get MICHAEL TESTMAN.


But the M is a bit larger than ICHAEL, right? This is small caps style. This style is predefined 
for the author environment in the AMS document classes.


If you don't like AMS's default settings and styles and if you are not a mathematician, you might 
better use another document class. I recommend to use a KOMA-script class or the class memoir. These 
classes are the most flexible ones for long documents like books, reports, theses, etc.
If you are a mathematician I recommend to accept AMS's default settings because they follow the 
common guidelines for math publications.


regards Uwe


Suggestions for keyboard binding interface

2010-01-11 Thread Steve Litt
Hi all,

I think the user interface for setting keyboard bindings can use considerable 
improvement. Let's start with the worst thing: If you've done something wrong 
with the keyboard binding function area, LyX closes the keyboard binding 
dialog box and prints an error message like you can't insert that in this 
list or some other generic error, AND THEN CLOSES THE DIALOG BOX! So you 
can't even experiment to get it right -- you need to redo Tools-Preferences-
Editing-Shortcuts and then redo everything. Do this ten times you've burned 
up an hour, whereas if it left the dialog box you could do ten in ten minutes.

Also ugly: I could see no way to look up a binding by keystroke. This means 
there's no way to know an available keystroke other than try one and have the 
interface tell you this is already bound to function bibitybop and that needs 
to be disabled first, and then, as I remember, close the dialog box. You can 
already search on function -- it would be wonderful if you could search on 
keystroke too.

Then there's the fact that some keystrokes seem to be magically excluded from 
possible key bindings. Ctrl+2 is one, even though I removed the Ctrl+2 binding 
that went to bookmark 2. 

There are other anomalies I haven't documented because they only happened once 
or were intermittent or whatever.

The cleanest way I've found is to just directly edit user.bind, in violation 
of the comment at the top saying it will automatically be written etc. Of 
course, to do that I have to close all instances of LyX while doing the 
editing, so troubleshooting is once again a very long iteration.

Part of all of this could be solved by documentation, but a big part of it is 
lack of the principle of least surprise -- the interface is just so weird 
that documenting it would take pages and pages of explanations and warnings.

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Suggestions for keyboard binding interface

2010-01-11 Thread Steve Litt
I've just thought of a way to make creating and troubleshooting bind files 
much easier. If someone would create an LFUN_REREAD_BINDFILE, then I could 
directly edit user.bind and then run LFUN_REREAD_BINDFILE to assess the result 
without closing and reopening LyX. Cool, huh? 

I'd like to see a similar LFUN_REREAD_CONFIGURATION to do what Tools-
Reconfigure does but without necessitating leaving and reentering LyX.

SteveT

On Monday 11 January 2010 19:31:15 Steve Litt wrote:
 Hi all,
 
 I think the user interface for setting keyboard bindings can use
  considerable improvement. Let's start with the worst thing: If you've done
  something wrong with the keyboard binding function area, LyX closes the
  keyboard binding dialog box and prints an error message like you can't
  insert that in this list or some other generic error, AND THEN CLOSES THE
  DIALOG BOX! So you can't even experiment to get it right -- you need to
  redo Tools-Preferences-
 
 Editing-Shortcuts and then redo everything. Do this ten times you've
  burned
 
 up an hour, whereas if it left the dialog box you could do ten in ten
  minutes.
 
 Also ugly: I could see no way to look up a binding by keystroke. This means
 there's no way to know an available keystroke other than try one and have
  the interface tell you this is already bound to function bibitybop and
  that needs to be disabled first, and then, as I remember, close the
  dialog box. You can already search on function -- it would be wonderful if
  you could search on keystroke too.
 
 Then there's the fact that some keystrokes seem to be magically excluded
  from possible key bindings. Ctrl+2 is one, even though I removed the
  Ctrl+2 binding that went to bookmark 2.
 
 There are other anomalies I haven't documented because they only happened
  once or were intermittent or whatever.
 
 The cleanest way I've found is to just directly edit user.bind, in
  violation of the comment at the top saying it will automatically be
  written etc. Of course, to do that I have to close all instances of LyX
  while doing the editing, so troubleshooting is once again a very long
  iteration.
 
 Part of all of this could be solved by documentation, but a big part of it
  is lack of the principle of least surprise -- the interface is just so
  weird that documenting it would take pages and pages of explanations and
  warnings.
 
 Thanks
 
 SteveT
 
 Steve Litt
 Recession Relief Package
 http://www.recession-relief.US
 Twitter: http://www.twitter.com/stevelitt
 



Lining up text and graphics in tables?

2010-01-11 Thread Steve Litt
Ugh!

I wanted rows with 3 columns. Column 1 is the name of the graphic. Column 2 is 
the graphic itself. Column 3 is a short explanation of the graphic. I used 
individual 1 row, 3 column tables to save room and make sure pages broke 
reasonably.

Trouble is, no matter how I set cell alignment in any of the columns, the 
graphic always rises to the top, and the text (in other columns/cells mind 
you) always starts just below where the graphic ends, thereby costing a lot of 
space, looking ugly, and causing confusion.

Does anyone have an idea how to get the graphic and text to line up correctly, 
vertically, within their respective cells? Does anyone have any idea what 
would cause the behavior I describe?

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Lenny backports for LyX 1.6.5 and eLyXer 0.39

2010-01-11 Thread Wolfgang Engelmann
Am Sunday 10 January 2010 18:16:54 schrieb Sven Hoexter:
> Hi,
> some of you might have noticed that Reinhard Tartler had uploaded a LyX
> 1.6.4 backport to backports.org in November last year. Now I finally got my
> key added on bpo aswell (thanks to formorer) and just found some time to
> upload a LyX 1.6.5 backport. Uploaded for amd64 so i386 and other arch
> packages will take some time to get build.
>
>

Hi Sven,

where could one get your Debian LyX 1.6.5 backport? 

Thanks

Wolfgang


Re: Lenny backports for LyX 1.6.5 and eLyXer 0.39

2010-01-11 Thread Wolfgang Engelmann
Am Sunday 10 January 2010 18:16:54 schrieb Sven Hoexter:
> Hi,
> some of you might have noticed that Reinhard Tartler had uploaded a LyX
> 1.6.4 backport to backports.org in November last year. Now I finally got my
> key added on bpo aswell (thanks to formorer) and just found some time to
> upload a LyX 1.6.5 backport. Uploaded for amd64 so i386 and other arch
> packages will take some time to get build.
>
>
Hi Sven,

where could one get your Debian LyX 1.6.5 backport? 

Thanks

Wolfgang


Re: "Document Class not Available" error message

2010-01-11 Thread wolflpc

Hi, Paul,

I followed the instructions here but can not work out. 
Could you please help me check out.
This is the text in the log file.

configure: TeX engine needs windows-style paths in latex files
checking for DVI to DTL converter...
+checking for "dv2dt"...   no
checking for a Latex2e program...
+checking for "latex"...   yes
checking for a DVI postprocessing program...
+checking for "pplatex"...   no
checking for pLaTeX, the Japanese LaTeX...
+checking for "platex"...   yes
checking for a Tgif viewer and editor...
+checking for "tgif"...   no
checking for a FIG viewer and editor...
+checking for "xfig"...   no
+checking for "jfig3-itext.jar"...   no
+checking for "jfig3.jar"...   no
checking for a Dia viewer and editor...
+checking for "dia"...   no
checking for a Grace viewer and editor...
+checking for "xmgrace"...   no
checking for a FEN viewer and editor...
+checking for "xboard"...   no
checking for a raster image viewer...
+checking for "xv"...   no
+checking for "kview"...   no
+checking for "gimp-remote"...   no
+checking for "gimp"...   no
checking for a raster image editor...
+checking for "gimp-remote"...   no
+checking for "gimp"...   no
checking for a text editor...
+checking for "sensible-editor"...   no
+checking for "xemacs"...   no
+checking for "gvim"...   no
+checking for "kedit"...   no
+checking for "kwrite"...   no
+checking for "kate"...   no
+checking for "nedit"...   no
+checking for "gedit"...   no
+checking for "notepad"...   yes
checking for a BibTeX editor...
+checking for "sensible-editor"...   no
+checking for "jabref"...   no
+checking for "JabRef"...   no
+checking for "pybliographic"...   no
+checking for "bibdesk"...   no
+checking for "gbib"...   no
+checking for "kbib"...   no
+checking for "kbibtex"...   no
+checking for "sixpack"...   no
+checking for "bibedit"...   no
+checking for "tkbibtexxemacs"...   no
+checking for "gvim"...   no
+checking for "kedit"...   no
+checking for "kwrite"...   no
+checking for "kate"...   no
+checking for "nedit"...   no
+checking for "gedit"...   no
+checking for "notepad"...   yes
checking for a Postscript previewer...
+checking for "kghostview"...   no
+checking for "okular"...   no
+checking for "evince"...   no
+checking for "gv"...   no
+checking for "ghostview"...   no
checking for a PDF previewer...
+checking for "kpdf"...   no
+checking for "okular"...   no
+checking for "evince"...   no
+checking for "kghostview"...   no
+checking for "xpdf"...   no
+checking for "acrobat"...   no
+checking for "acroread"...   no
+checking for "gv"...   no
+checking for "ghostview"...   no
checking for a DVI previewer...
+checking for "xdvi"...   no
+checking for "kdvi"...   no
+checking for "okular"...   no
+checking for "dviout"...   no
checking for an HTML previewer...
+checking for "firefox"...   no
+checking for "mozilla"...   no
+checking for "netscape"...   no
checking for Noteedit...
+checking for "noteedit"...   no
checking for an OpenDocument viewer...
+checking for "swriter"...   no
+checking for "oowriter"...   no
checking for the pdflatex program...
+checking for "pdflatex"...   yes
checking for a LaTeX/Noweb -> LyX converter...
+checking for "tex2lyx"...   no
+checking for "tex2lyx"...   no
checking for a Noweb -> LaTeX converter...
+checking for "noweave"...   no
checking for an HTML -> LaTeX converter...
+checking for "html2latex"...   no
+checking for "gnuhtml2latex"...   no
+checking for "htmltolatex"...   no
+checking for "java"...   yes
checking for an MS Word -> LaTeX converter...
+checking for "wvCleanLatex"...   no
checking for "elyxer module"... 
no
checking for a LyX -> HTML converter...
+checking for "elyxer.py"...   no
+checking for "elyxer"...   no
checking for a LaTeX -> HTML converter...
+checking for "htlatex"...   yes
checking for a LaTeX -> MS Word converter...
+checking for "htlatex"...   yes
checking for an OpenOffice.org -> LaTeX converter...
+checking for "w2l"...   no
checking for an OpenDocument -> LaTeX converter...
+checking for "w2l"...   no
checking for a LaTeX -> Open Document converter...
+checking for "oolatex"...   yes
checking for a LaTeX -> RTF converter...
+checking for "latex2rtf"...   no
+checking for "latex2rt"...   no
checking for a RTF -> HTML converter...
+checking for "unrtf"...   no
checking for a PS to PDF converter...
+checking for "ps2pdf13"...   yes
checking for a PS to TXT converter...
+checking for "pstotext"...   no
checking for a PS to TXT converter...
+checking for "ps2ascii"...   yes
checking for a PS to EPS converter...
+checking for "ps2eps"...   no
checking for a PDF to PS converter...
+checking for "pdf2ps"...   yes
checking for a PDF to EPS converter...
+checking for "pdftops"...   no
checking for a DVI to TXT converter...
+checking for "catdvi"...   no
checking for a DVI to PS converter...
+checking for "dvips"...   yes
checking for a DVI to PDF converter...
+checking for "dvipdfmx"...   yes
checking for dvipng...
+checking for "dvipng"...   yes
checking for a 

Lyx - Sweave in MS WIndows XP

2010-01-11 Thread SteveSB

Dear all

I have spent the last day trying to get Lyx / Sweave to work and after
reading whatever info I could get my hands on, including the various posts
on this forum as well as Gregor Gorjanc's blog I have managed to get to the
point where Lyx reports that the pdf file does not exist.

Looking in the Temp directory I can see the filename.nw file but there is
also a file marked filename.tex.pdf-dep (not sure if this is useful in
identifying the problem)

R is ver 2.10.0 and Lyx is 1.6.2 and MikTeX 2.7 on Windows XP

I think that I have followed the info provided by Frank Liu and Paul Johnson
correctly ( even though I found some of it quite contradictory)

The only as aspect that I have not carried out is implementing a "Unix
Shell" in Windows since except for Gregor's info, there is no reference to
this in the other posts.

Finally thanks for all the contributors, I am sure that its something rather
simple that I am not doing, but at this stage I can't see the wood for the
trees.

Regards
-- 
View this message in context: 
http://n2.nabble.com/Lyx-Sweave-in-MS-WIndows-XP-tp4284360p4284360.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: floats and subfloats with longtables SOLVED

2010-01-11 Thread Manveru
2010/1/9 Liviu Andronic :
[...]
> I've been using table floats with subfloats and normal tables, and
> they work nicely. However, when the float becomes too long for the
> page---because of the length of the subtables---, it will not break.
> I've tried to use longtables in the subfloats, but compilation fails.
> This seems to be normal behaviour for LaTeX [1].
>
> Today I managed to get working in LyX table "floats" that break over
> multiple pages. The first solution is the equivalent of having table
> floats that can extend over as many pages as there are table subfloats
> (see the .pdf file [3]). It involves putting table floats within
[...]
> with a couple more ERT hacks that you will find in the attached .lyx
> file [4]. Although this will do the job in many cases, the solution is
> still unsatisfactory: it will not work if at least one subtable
> extends over two pages or more.
>
> The second solution is the equivalent of having table floats
> containing longtables (see .pdf file [5]). Similarly, it involves putting
> longtables within
[...]
> and some ERT hacks. See .lyx document [6]. Both solutions were
> inspired from this LaTeX
> [2] thread.
>
> As for the request, It would be nice if LyX supported these two
> constructs natively, via the GUI. Especially since at first sight this
> seems impossible to achieve in LaTeX: combine a table float and
> longtable subfloats. Should I file a bug report?

It sounds interesting to have such functionality, but if you have
LaTeX-based solution you should consider publishing it as a package,
then it could be used by LyX.

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


Re: How to insert text plus charstyle with a click or keypress?

2010-01-11 Thread Guenter Milde
On 2010-01-11, Steve Litt wrote:

> Hundreds of times in my next book I will need to insert the words "Seek and 
> Destroy", and will need those words to be in a specific charstyle (seekdest). 
> I'd love to be able to do that with a key combo to speed up my authoring. Is 
> there a way I can insert text inside a charstyle with a keystroke? 

Tools>Settings>Edit>Key Bindings

> You know, 
> like a WordPerfect macro? Where are the docs on how to do it, and what is it 
> called?

Help>LyX Functions

You might need the command-sequence LFun.

Günter



Re: Lenny backports for LyX 1.6.5 and eLyXer 0.39

2010-01-11 Thread Sven Hoexter
On Mon, Jan 11, 2010 at 08:59:59AM +0100, Wolfgang Engelmann wrote:
> Am Sunday 10 January 2010 18:16:54 schrieb Sven Hoexter:
> > Hi,
> > some of you might have noticed that Reinhard Tartler had uploaded a LyX
> > 1.6.4 backport to backports.org in November last year. Now I finally got my
> > key added on bpo aswell (thanks to formorer) and just found some time to
> > upload a LyX 1.6.5 backport. Uploaded for amd64 so i386 and other arch
> > packages will take some time to get build.
>
> where could one get your Debian LyX 1.6.5 backport? 

backports.org instructions can be found unter 'Instructions' ;):
http://www.backports.org/dokuwiki/doku.php?id=instructions

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


Re: floats and subfloats with longtables SOLVED

2010-01-11 Thread Liviu Andronic
On 1/11/10, Manveru  wrote:
> It sounds interesting to have such functionality, but if you have
>  LaTeX-based solution you should consider publishing it as a package,
>  then it could be used by LyX.
>
The solution uses the package subfloat, an existing LaTeX package.
Liviu


Re: floats and subfloats with longtables SOLVED

2010-01-11 Thread Manveru
2010/1/11 Liviu Andronic :
> On 1/11/10, Manveru  wrote:
>> It sounds interesting to have such functionality, but if you have
>>  LaTeX-based solution you should consider publishing it as a package,
>>  then it could be used by LyX.
>>
> The solution uses the package subfloat, an existing LaTeX package.
> Liviu

But you are extending them... I did not look into details, but if you
are making subfloat better somehow...

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


numbering style

2010-01-11 Thread meorli



Hello,
I use LyX and the document type is article(ams).
My problem is that suddenly the numbering of both the equations and figures
became nested according to the sections (2.1,2.2 ext.), while I want it to be
in a regular simple order (1, 2, ext.).

Another problem I have is not being able to write the names in the author
environment with capital letters only at the beginning of each word (it writes
the entire word in capital letters).
Please help me on those matters.
Thanks in advance,
Orly





Re: Lenny backports for LyX 1.6.5 and eLyXer 0.39

2010-01-11 Thread Wolfgang Engelmann
Thanks, Sven

> > where could one get your Debian LyX 1.6.5 backport?
>
> backports.org instructions can be found unter 'Instructions' ;):
> http://www.backports.org/dokuwiki/doku.php?id=instructions
>
> HTH
> Sven


Re: Lyx in Fedora 12

2010-01-11 Thread José Matos
On Saturday 09 January 2010 11:33:25 Alex Fernandez wrote:
> Are you interested in packaging eLyXer for Fedora? May I help in any way?
> 
> The Debian package is in testing (ready for the next stable) and it is
> quite mature. The latest version is also in Ubuntu:
>   http://packages.ubuntu.com/lucid/elyxer

I will take a look into the package and if I have any doubt I will contact 
you. Thanks,

> Alex.

-- 
José Abílio


Re: A Question regarding "fonts"

2010-01-11 Thread Siegfried Meunier-Guttin-Cluzel
In this case, I use the listings package (Insert > Listings). There are 
two possibilities : inline or separated.
The main advantage for me is the syntax highlighting and a lot of other 
possibilities (frames, captions ...).

There's a very good documentation.

Hope it helps.

Siegfried.


Re: "Document Class not Available" error message

2010-01-11 Thread Paul A. Rubin

wolflpc wrote:

Hi, Paul,

I followed the instructions here but can not work out. 
Could you please help me check out.

This is the text in the log file.


Everything in your log file looks fine -- the installer if finding LaTeX 
and most if not all document classes.  Does LyX start? Are you able to 
create new documents (basic article class)?  Can you open the help 
documents?


You're apparently using Windows, but which version (XP, Vista, 7)?

There have been some anecdotes (though none recently that I recall) 
about defective configuration files occurring in Windows and then 
sticking around even after reconfiguration.  You might try deleting your 
LyX user directory.  This is usually "C:\Documents and Settings\id>\Application Data\lyx16" on XP (not sure where it is on Vista).  If 
not, do Help > About LyX in LyX and look for the "User directory" 
(expand ~ to your Docs and Settings folder).  Delete the entire user 
directory and restart LyX.  Maybe that will help.  (If you have any 
customizations from a previous version, such as a modified bind file, 
you should copy those files someplace safe so that you can restore them 
once LyX is working.)


/Paul



Re: numbering style

2010-01-11 Thread Yago

For your first question, you can put in your preamble this two commands:

\renewcommand{\thefigure}{\arabic{figure}}
\renewcommand{\theequation}{\arabic{equation}}
- Original Message - 
From: 

To: 
Sent: Monday, January 11, 2010 11:06 AM
Subject: numbering style






Hello,
I use LyX and the document type is article(ams).
My problem is that suddenly the numbering of both the equations and 
figures
became nested according to the sections (2.1,2.2 ext.), while I want it to 
be

in a regular simple order (1, 2, ext.).

Another problem I have is not being able to write the names in the author
environment with capital letters only at the beginning of each word (it 
writes

the entire word in capital letters).
Please help me on those matters.
Thanks in advance,
Orly







Re: numbering style

2010-01-11 Thread Uwe Stöhr

meo...@techunix.technion.ac.il schrieb:


I use LyX and the document type is article(ams).
My problem is that suddenly the numbering of both the equations and figures
became nested according to the sections (2.1,2.2 ext.), while I want it to be
in a regular simple order (1, 2, ext.).


Nested numbering is the default setting for AMS document classes. If you really need to change it, 
have a look at sec. 3.3 "Float Numbering" (and also sec. 4.2.1 "Footnote Numbering") of the 
EmbeddedObjects manual that you find in LyX's Help menu.



Another problem I have is not being able to write the names in the author
environment with capital letters only at the beginning of each word (it writes
the entire word in capital letters).


I don't understand. You have written e.g.

Michael Testman

And you get this?:

michael testman


I guess you want to have the name in small caps. If so, highlight the words and press the toolbar 
button with the small man on it. As alternative, use the text style dialog and set the text shape to 
small caps.


regards Uwe


RE: Lyx - Sweave in MS WIndows XP

2010-01-11 Thread Rob Oakes
Hi Steve,

You might have better luck installing the Cygwin version of LyX.  The last
time I checked, Cygwin included a version of R that could also be used.
This would solve the requirements for a Unix like shell on Windows and
simplify the configurations.  The Cygwin version of LyX also works with
MikTeX, so you wouldn't have to spend any time monkeying with LaTeX
distributions.

Though I've played with it on Windows, I've had much better luck using
Sweave on Linux.  I actually went so far as to set up a dedicated Ubuntu
virtual machine on my Windows box for R and Sweave related testing.  It's
pretty easy to get this running with Sun's VirtualBox and a live CD.
(Though I've personally been using VMware workstation.)

Cheers,

Rob Oakes

-Original Message-
From: SteveSB [mailto:sbsid...@mweb.co.za] 
Sent: Monday, January 11, 2010 1:25 AM
To: lyx-users@lists.lyx.org
Subject: Lyx - Sweave in MS WIndows XP


Dear all

I have spent the last day trying to get Lyx / Sweave to work and after
reading whatever info I could get my hands on, including the various posts
on this forum as well as Gregor Gorjanc's blog I have managed to get to the
point where Lyx reports that the pdf file does not exist.

Looking in the Temp directory I can see the filename.nw file but there is
also a file marked filename.tex.pdf-dep (not sure if this is useful in
identifying the problem)

R is ver 2.10.0 and Lyx is 1.6.2 and MikTeX 2.7 on Windows XP

I think that I have followed the info provided by Frank Liu and Paul Johnson
correctly ( even though I found some of it quite contradictory)

The only as aspect that I have not carried out is implementing a "Unix
Shell" in Windows since except for Gregor's info, there is no reference to
this in the other posts.

Finally thanks for all the contributors, I am sure that its something rather
simple that I am not doing, but at this stage I can't see the wood for the
trees.

Regards
--
View this message in context:
http://n2.nabble.com/Lyx-Sweave-in-MS-WIndows-XP-tp4284360p4284360.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: numbering style

2010-01-11 Thread Uwe Stöhr

meo...@techunix.technion.ac.il schrieb:


You really helped me with the figures numbering. I have used the
\renewcommand{\thefigure}{\arabic{figure}} command.
As for the equations, I have used the same, with "equation" instead of
"figure".
It did solved the nesting problem, however it restarts the equation numbering
every time a new section starts, and I do not want this.
Can you tell me how can I avoid this?


This is also described in the EmbeddedObjets manual, search for \...@addtoreset.


As for the names, I meant to say that when I write "Michael Testman"
I get "MICHAEL TESTMAN".


But the "M" is a bit larger than "ICHAEL", right? This is small caps style. This style is predefined 
for the author environment in the AMS document classes.


If you don't like AMS's default settings and styles and if you are not a mathematician, you might 
better use another document class. I recommend to use a KOMA-script class or the class memoir. These 
classes are the most flexible ones for long documents like books, reports, theses, etc.
If you are a mathematician I recommend to accept AMS's default settings because they follow the 
common guidelines for math publications.


regards Uwe


Suggestions for keyboard binding interface

2010-01-11 Thread Steve Litt
Hi all,

I think the user interface for setting keyboard bindings can use considerable 
improvement. Let's start with the worst thing: If you've done something wrong 
with the keyboard binding function area, LyX closes the keyboard binding 
dialog box and prints an error message like "you can't insert that in this 
list" or some other generic error, AND THEN CLOSES THE DIALOG BOX! So you 
can't even experiment to get it right -- you need to redo Tools->Preferences-
>Editing->Shortcuts and then redo everything. Do this ten times you've burned 
up an hour, whereas if it left the dialog box you could do ten in ten minutes.

Also ugly: I could see no way to look up a binding by keystroke. This means 
there's no way to know an available keystroke other than try one and have the 
interface tell you "this is already bound to function bibitybop and that needs 
to be disabled first", and then, as I remember, close the dialog box. You can 
already search on function -- it would be wonderful if you could search on 
keystroke too.

Then there's the fact that some keystrokes seem to be magically excluded from 
possible key bindings. Ctrl+2 is one, even though I removed the Ctrl+2 binding 
that went to bookmark 2. 

There are other anomalies I haven't documented because they only happened once 
or were intermittent or whatever.

The cleanest way I've found is to just directly edit user.bind, in violation 
of the comment at the top saying it will automatically be written etc. Of 
course, to do that I have to close all instances of LyX while doing the 
editing, so troubleshooting is once again a very long iteration.

Part of all of this could be solved by documentation, but a big part of it is 
lack of the "principle of least surprise" -- the interface is just so weird 
that documenting it would take pages and pages of explanations and warnings.

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Suggestions for keyboard binding interface

2010-01-11 Thread Steve Litt
I've just thought of a way to make creating and troubleshooting bind files 
much easier. If someone would create an LFUN_REREAD_BINDFILE, then I could 
directly edit user.bind and then run LFUN_REREAD_BINDFILE to assess the result 
without closing and reopening LyX. Cool, huh? 

I'd like to see a similar LFUN_REREAD_CONFIGURATION to do what Tools-
>Reconfigure does but without necessitating leaving and reentering LyX.

SteveT

On Monday 11 January 2010 19:31:15 Steve Litt wrote:
> Hi all,
> 
> I think the user interface for setting keyboard bindings can use
>  considerable improvement. Let's start with the worst thing: If you've done
>  something wrong with the keyboard binding function area, LyX closes the
>  keyboard binding dialog box and prints an error message like "you can't
>  insert that in this list" or some other generic error, AND THEN CLOSES THE
>  DIALOG BOX! So you can't even experiment to get it right -- you need to
>  redo Tools->Preferences-
> 
> >Editing->Shortcuts and then redo everything. Do this ten times you've
> > burned
> 
> up an hour, whereas if it left the dialog box you could do ten in ten
>  minutes.
> 
> Also ugly: I could see no way to look up a binding by keystroke. This means
> there's no way to know an available keystroke other than try one and have
>  the interface tell you "this is already bound to function bibitybop and
>  that needs to be disabled first", and then, as I remember, close the
>  dialog box. You can already search on function -- it would be wonderful if
>  you could search on keystroke too.
> 
> Then there's the fact that some keystrokes seem to be magically excluded
>  from possible key bindings. Ctrl+2 is one, even though I removed the
>  Ctrl+2 binding that went to bookmark 2.
> 
> There are other anomalies I haven't documented because they only happened
>  once or were intermittent or whatever.
> 
> The cleanest way I've found is to just directly edit user.bind, in
>  violation of the comment at the top saying it will automatically be
>  written etc. Of course, to do that I have to close all instances of LyX
>  while doing the editing, so troubleshooting is once again a very long
>  iteration.
> 
> Part of all of this could be solved by documentation, but a big part of it
>  is lack of the "principle of least surprise" -- the interface is just so
>  weird that documenting it would take pages and pages of explanations and
>  warnings.
> 
> Thanks
> 
> SteveT
> 
> Steve Litt
> Recession Relief Package
> http://www.recession-relief.US
> Twitter: http://www.twitter.com/stevelitt
> 



Lining up text and graphics in tables?

2010-01-11 Thread Steve Litt
Ugh!

I wanted rows with 3 columns. Column 1 is the name of the graphic. Column 2 is 
the graphic itself. Column 3 is a short explanation of the graphic. I used 
individual 1 row, 3 column tables to save room and make sure pages broke 
reasonably.

Trouble is, no matter how I set cell alignment in any of the columns, the 
graphic always rises to the top, and the text (in other columns/cells mind 
you) always starts just below where the graphic ends, thereby costing a lot of 
space, looking ugly, and causing confusion.

Does anyone have an idea how to get the graphic and text to line up correctly, 
vertically, within their respective cells? Does anyone have any idea what 
would cause the behavior I describe?

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt