Re: Cannot convert latex code to a lyx document.

2010-04-14 Thread Guenter Milde
On 2010-04-14, Benjamin Kay wrote:

 I cannot import Latex code into Lyx using tex2lyx or using
 File-Import-Latex (plain).
...

 The error from the command line (tex2lyx -f
 Latex_Output_for_Housing_Class_1.tex tmp.lyx ) is more elaborate but no
 more helpful to me:

 'import site' failed; use -v for traceback
 'import site' failed; use -v for traceback
 Traceback (most recent call last):
 File /usr/share/lyx/scripts/layout2layout.py, line 15, in module
 import os, re, string, sys
 File /usr/lib/python2.6/os.py, line 49, in module
 import posixpath as path
 File /usr/lib/python2.6/posixpath.py, line 16, in module
 import warnings
 File /usr/lib/python2.6/warnings.py, line 6, in module
 import linecache
 ImportError: No module named linecache
 Could not run layout conversion script layout2layout.py.
 We failed to find the layout '' in the layout list. You MUST
 investigate!
 Segmentation fault

This looks very much like a broken Python installation.
The module site.py is a very basic one

  python2.6-minimal: /usr/lib/python2.6/site.py

and should be found. Do you have a local Python installation?
What is the Python version and what is the PYTHONPATH

 # python
   
   import sys
   sys.path

?

Do you get the same error on the Windows machine?

Günter



Re: new google docs interface, with wave backend. (collaboration trends)

2010-04-14 Thread Guenter Milde
On 2010-04-13, Typhoon wrote:
 On Tue, 13 Apr 2010 11:02:23 -0400
 rgheck rgh...@bobjweil.com wrote:

 On 04/13/2010 10:43 AM, Jürgen Spitzmüller wrote:
  rgheck wrote:

  I also think that VC probably provides all you need for
  collaboration (although a closer integration of VC, comparision and
  CT would be cool).

Also, a version control (VC) system provides at the same time the time
machine to keep track of the evolution of your documents.

  For me, a main obstacle is the lack of a suitable web service. 

 What about using a distributed version control system? I use Bazaar to
 collaborate with one of my colleagues. We meed every so often to do a
 double merge and it works really well. No central server is needed,
 although if you have one available then you can use it like svn.

I use Git to keep a local VC repository so I strongly favour the option
to support distributed version control from LyX.

Günter



Re: ifacconf layout for lyx

2010-04-14 Thread Jean-Pierre Chrétien

German Holguin a écrit :

Hello Jean-Pierre,

I found your posts on a mailing group about LyX and IFAC conferences.

I'm writing an IFAC paper and I wonder if you can share with me the
layout and template for LyX for these IFAC conferences.
http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg125522.html



Here is the most recent layout file I have (August 2007, following what 
I had done for IFAC ACA'07 I guess).
I don't find a template, but I must have a paper written in LyX with 
this layout, I'll keep you posted if I find it.


However, if I run

  cd /tmp
  cp /usr/local/texlive/texmf-local/\
tex/latex/ifacconf_latex/ifacconf.tex .
  lyx -i latex ifacconf.tex

to import the example file in LyX-1.6.4, all is fine, but an incorrect 
alignment of second and third authors. I don'remember how I solved this, 
probably by exporting manually the last version of the LyX file to LaTeX 
to tune it. So the result me be used as a template.


I post also to the lyx-users list in order to keep a public record of 
the file.


--
Jean-Pierre


#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[ifacconf]{article (IFAC Conference/Symposium)}
# Author: Rod Pinna rpi...@civil.uwa.edu.au
# The Elsevier doc style also duplicates the theorem
# environments used by the AMS. The definitions here have been
# mainly taken from the amsmath.inc file, from lyx-1.0.2, by
# David L. Johnson and Jean-Marc Lasgouttes. Some modifications
# have been made.
#
# The Elsevier style *does not* implement the starred versions
# of these environments, so they are not supported by this layout.
# There are also a few AMS environments not impletemented by Elsevier,
# so they are not included either.
#
# Version 1.0   19990506 R. Pinna Inital version
# modified 2002-04-02   Herbert Voss v...@perce.de
#   for use of BeginTitle/EndTitle
# modified 2003-03-11 JMarc for use of TitleLatexType/TitleLatexName
# modified 2003-04-10 Rod Pinna - added proof env. sent to me by Stacy Prowell
# modified 2003-07-23 Rod Pinna - changes MaxCounter to Section,
#   rather than subsection. The Elsevier doc file allows for
#   numbered sections, as does the class file.
#
# elsart.layout used to build ifacmtg.layout
# by Jean-Pierre Chrétien chret...@cert.fr march 2006
# elsart and ifacmtg are documented in the same location by Elsevier
#  http://authors.elsevier.com/getting_published.html?dc=QG3
#
# ifacmtg.layout used as a basis for the new ifacconf template
# by Jean-Pierre Chrétien chret...@cert.fr august 2007
#

Format 4
Columns 1
Sides   2
PageStyle   headings


ClassOptions
#  FontSize default   # controlled by class
End

# elsart does not use the plain old \maketitle
# commented out, \frontmatter must include from title down to abstract
#TitleLatexType Environment
#TitleLatexName frontmatter


Counter
Name  summ
End


Counter
Name  case
End


Style Standard
LatexName dummy
LatexType Paragraph
MarginStatic
ParIndent MM
ParSkip   0.4
ParSep0.4
TopSep1.0
BottomSep 1.0
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
End

Input stdlists.inc
Input numarticle.inc
Input stdsections.inc
# no starred sectioning needed
#Input stdstarsections.inc
Input stdstruct.inc
Input stdlayouts.inc
Input stdfloats.inc
Input stdcounters.inc


Style Title
MarginStatic
LatexType Command
InTitle   1
LatexName title
NextNoIndent  1
ParSkip   0.4
TopSep1.3
BottomSep 0.7
ParSep0.7
Align Center
LabelType No_Label
Font
  Family  Sans
  Series  Bold
  SizeLargest
EndFont
End


Style Author
MarginStatic
LatexType Command
InTitle   1
LatexName author
NextNoIndent  1
ParSkip   0.4
TopSep0.7
BottomSep 0.7
ItemSep   0
ParSep0
Align Center
AlignPossible Center
OptionalArgs  1
Font
  Series  Bold
EndFont
End


Style Author_Address
MarginStatic
LatexType Command
InTitle   1
LatexName address
Align Center
AlignPossible Center
Labeltype Static

Re: new google docs interface, with wave backend. (collaboration trends)

2010-04-14 Thread Pavel Sanda
Guenter Milde wrote:
  What about using a distributed version control system? I use Bazaar to
  collaborate with one of my colleagues. We meed every so often to do a
  double merge and it works really well. No central server is needed,
  although if you have one available then you can use it like svn.
 
 I use Git to keep a local VC repository so I strongly favour the option
 to support distributed version control from LyX.

are you aware of rcs?
pavel


Re: new google docs interface, with wave backend. (collaboration trends)

2010-04-14 Thread Alan Tyree
On Wed, Apr 14, 2010 at 7:23 PM, Pavel Sanda sa...@lyx.org wrote:

 Guenter Milde wrote:
   What about using a distributed version control system? I use Bazaar to
   collaborate with one of my colleagues. We meed every so often to do a
   double merge and it works really well. No central server is needed,
   although if you have one available then you can use it like svn.
 
  I use Git to keep a local VC repository so I strongly favour the option
  to support distributed version control from LyX.

 are you aware of rcs?


RCS is what I used for a long time before discovering the distributed
version control systems. When using RCS you need either 1) a central server
or 2) some system (like rsync) to keep two computers on the same page

Distributed systems eliminate the need for a central server (although you
can use one if available). They also **greatly** reduce the potential for
accidental overwrites if you are trying to sync two computers.

I used Bazaar because (at least at the time) git didn't play too well with
windows and my collaborator was using Windows. I believe that Mercurial is
as good, and probably git is too if the windows problem has been solved. I
like Bazaar since it is written in Python and will run on a warm toaster if
necessary - but no need to start a religious war here!

Here is a link to the workflow of using a DVCS with two users (even if
both of the users are yourself working on a different machine:
http://doc.bazaar.canonical.com/bzr.2.1/en/user-guide/index.html

See, in particular, the Working with peers section.

I think it's great for collaboration, even when the collaboration is with
yourself.

Cheers,
Alan

 pavel




-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206


Re: new google docs interface, with wave backend. (collaboration trends)

2010-04-14 Thread Pavel Sanda
Alan Tyree wrote:
 RCS is what I used for a long time before discovering the distributed
 version control systems. When using RCS you need either 1) a central server
 or 2) some system (like rsync) to keep two computers on the same page

the point was not to propose rcs for the colaboration... but for private
usage (and unless you have some bigger project with tons of external material)
i find rcs to be very good and in some sense more convenient than proposed
git...

pavel


Re: Elseartice on Lyx

2010-04-14 Thread rgheck

On 04/13/2010 02:11 PM, Bruno Cocciaro wrote:

Hello all,

I am very new on Lyx (and on Latex too), I hope anyone may help me.


I use Win 7, Lyx 1.6.5, MixTex 2.8.
Opening the template elsearticle and trying to view the dvi (same problems if I 
ask for the pdf or for the ps) I always obtain this:

  {\Pifont{psy}
}

I wasn't able to read the size data for this font,

so I will ignore the font specification.

   
Apparently, you are missing the info for this font. I'm not sure why the 
elsearticle template wants it, but you can try installing it however 
MikTeX allows you to do that.


rh



Abstract Layout template

2010-04-14 Thread Andy
Hi people

I am trying to submit an abstract to a conference  and I was wondering if
anyone had/used/knows of  a useful Lyx layout/LaTeX class for producing a
one-page abstract.
I've seen a lot of LaTeX templates on the web but they are too specialised
or far too basic

Thanks for any help

Andy


Re: Error for xetex generated pdf on lulu.com: Your document could not be created: The Times-Bold font is not embedded.

2010-04-14 Thread Michael Joyner
I found the source of my problem, the ABC package appears to somehow be
requesting the times bold font... removing all ABC embeds eliminated the
references to times bold. LULU is now happy with my PDF.

On Sat, Apr 10, 2010 at 4:26 AM, Anthony Campbell a...@acampbell.org.ukwrote:

 On 10 Apr 2010, Typhoon wrote:

 
  I haven't checked lately, and it was never properly advertised, but
  lulu.com will (or at least would) accept a postscript manuscript and do
  the conversion to pdf. That might be one way to solve your problem.
 
  Cheers,
  Alan
 

 See my previous message in this thread. It does work; I do it all the
 time.

 Anthony
 --
 Anthony Campbell - a...@acampbell.org.uk
 Microsoft-free zone - Using Debian GNU/Linux
 http://www.acampbell.org.uk - sample my ebooks at
 http://www.smashwords.com/profile/view/acampbell




Re: new google docs interface, with wave backend. (collaboration trends)

2010-04-14 Thread Abdelrazak Younes

On 04/13/2010 04:43 PM, Jürgen Spitzmüller wrote:

rgheck wrote:

It'd be nice to hear precisely what people would want that version
control does not provide. I have a hard time myself seeing why it is any
more than an isn't that cool feature for two people simultaneously to
edit a single document. I.e., fun, but hardly revolutionary as far as
actual productivity goes, at least for the sort of work most LyX users
actually do. There's no doubt that LyXs' VC support could be improved,
and it has been in some significant ways for 2.0, so we'd happily hear
suggestions about that, too.


I also think that VC probably provides all you need for collaboration
(although a closer integration of VC, comparision and CT would be cool).

For me, a main obstacle is the lack of a suitable web service. My Faculty does
not provide svn or other VC repositories, and I did not find a suitable
service on the web yet, where I can savely store my data in such a way that
only selected people can access it. But maybe I just didn't search long
enough.


You don't need it!

git (or any distributed scm) can do it for you. You can create a git 
repo for one specific LyX document (including all children and graphics) 
and use that as the transport medium. If you can clone over the web then 
fine (git supports a number of protocols icluding http); if not you can 
just as well send either the 'git diff' output or the full git repo by 
mail. At the other end, your co-writer would merge your diff or a local 
copy of your git repo and merge it with his own git repo.


As I have once outlined in the devel list, it should be possible to 
streamline the entire process within LyX. This would become the often 
requested portable LyX format, except that this file would just be a git 
repo. This way, you would have access immediately to all elements of 
your documents (including graphics) but also to the full history of the 
document. This can of collaboration tool would be unbeatable if you ask 
me. Now, we just need to find someone who has the time and energy to 
implement this :-)


Abdel.



Re: Cannot convert latex code to a lyx document.

2010-04-14 Thread Benjamin Kay
*Run python from the command line:*
Python 2.6.4 (r264:75706, Dec  7 2009, 18:43:55)
[GCC 4.4.1] on linux2
I tried running 2+2; and that worked.
*Run /usr/lib/python2.6$ python site.py from the command line:*
sys.path = [
'/usr/lib/python2.6',
'/usr/lib/python2.6/plat-linux2',
'/usr/lib/python2.6/lib-tk',
'/usr/lib/python2.6/lib-old',
'/usr/lib/python2.6/lib-dynload',
'/usr/lib/python2.6/dist-packages',
'/usr/lib/python2.6/dist-packages/Numeric',
'/usr/lib/python2.6/dist-packages/PIL',
'/usr/lib/python2.6/dist-packages/gst-0.10',
'/usr/lib/pymodules/python2.6',
'/usr/lib/python2.6/dist-packages/gtk-2.0',
'/usr/lib/pymodules/python2.6/gtk-2.0',
'/usr/lib/python2.6/dist-packages/wx-2.6-gtk2-unicode',
'/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode',
'/usr/local/lib/python2.6/dist-packages',
]
USER_BASE: '/home/bkay/.local' (exists)
USER_SITE: '/home/bkay/.local/lib/python2.6/site-packages' (doesn't exist)
ENABLE_USER_SITE: True
*As far as I can tell I didn't have a PYTHONPATH. I added
PYTHONPATH=/usr/local/lib/python2.6 and export PYTHONPATH to my .bashrc and
got the same set of errors*

*I thought it may be a path or network drive problem in windows. When I run
tex2lyx on the command line on my windows box in the lyx bin directory I
get:*
C:\Program Files\LyX16\bintex2lyx latexexample.tex
Creating file C:/Program Files/LyX16/bin/latexexample.lyx
\end{document} does not match \begin{center}
\end{verbatim} does not match \begin{document}
\end{document} does not match \begin{verbatim}
Bug: Ignoring par-level extra stuff '\noindent
'

*Which generates a file I can open with lyx, which is good. I had been
running it from a network drive (using expandrive) and having trouble. I was
also able to confirm it worked from local My Documents. It also worked in
lyx. I guess problem solved (or at least worked around) for windows.* *When
I run the command directly on the tex2lyx on the network drive file it also
works:*
C:\Program Files\LyX16\bintex2lyx -f Z:\Documents\Macro\Predicting housing
prices with rates and risk\Latex_Output_for_Housing_Class_1.tex
Creating file Z:/Documents/Macro/Predicting housing prices with rates and
risk/Latex_Output_for_Housing_Class_1.lyx
then it returns to the command line and leaves the file

*Then I thought it might be the spaces in the directory name in the path to
the latex source file. when I renamed the directory to
Predicting_housing_prices_with_rates_and_risk I got the same error, so I
think it is something else. *

*
So, to summarize. I can get tex2lyx to work and lyx to call it from windows
when working on a local drive but not a network drive. I cannot get tex2lyx
(or call it from lyx) from my linux machine (local only tried) . I have
verified that I have python installed, at leas superficially works, and also
added the PYTHONPATH shell parameter. *
_





On 2010-04-14,Guenter Milde wrote:
This looks very much like a broken Python installation.
The module site.py is a very basic one

python2.6-minimal: /usr/lib/python2.6/site.py

and should be found. Do you have a local Python installation?
What is the Python version and what is the PYTHONPATH



On 2010-04-14, Benjamin Kay wrote:

 I cannot import Latex code into Lyx using tex2lyx or using
 File-Import-Latex (plain).
...

 The error from the command line (tex2lyx -f
 Latex_Output_for_Housing_Class_1.tex tmp.lyx ) is more elaborate but no
 more helpful to me:

 'import site' failed; use -v for traceback
 'import site' failed; use -v for traceback
 Traceback (most recent call last):
 File /usr/share/lyx/scripts/layout2layout.py, line 15, in module
 import os, re, string, sys
 File /usr/lib/python2.6/os.py, line 49, in module
 import posixpath as path
 File /usr/lib/python2.6/posixpath.py, line 16, in module
 import warnings
 File /usr/lib/python2.6/warnings.py, line 6, in module
 import linecache
 ImportError: No module named linecache
 Could not run layout conversion script layout2layout.py.
 We failed to find the layout '' in the layout list. You MUST
 investigate!
 Segmentation fault




 # python

   import sys
   sys.path

?

Do you get the same error on the Windows machine?




http://www.mail-archive.com/lyx-users@lists.lyx.org/
http://www.lyx.org/wiki/index.php/Web/MailingLists
-- 
Benjamin Kay


RE: Cannot convert latex code to a lyx document.

2010-04-14 Thread Vincent van Ravesteijn - TNW
*
So, to summarize. I can get tex2lyx to work and lyx to
call it from windows when working on a local drive but
not a network drive. 

This is http://www.lyx.org/trac/ticket/6127.

If you cannot open a command prompt and cd into the specified directory,
File-Import does not work from LyX.

Vincent


Re: Cannot convert latex code to a lyx document.

2010-04-14 Thread Benjamin Kay
I can cd into the directory from the command prompt.
From : Z:\
Run: cd \Documents\Macro\Predicting_housing_prices_with_rates_and_risk\
Result: Z:\Documents\Macro\Predicting_housing_prices_with_rates_and_risk

On Wed, Apr 14, 2010 at 8:03 AM, Vincent van Ravesteijn - TNW 
v.f.vanraveste...@tudelft.nl wrote:

 *
 So, to summarize. I can get tex2lyx to work and lyx to
 call it from windows when working on a local drive but
 not a network drive.

 This is http://www.lyx.org/trac/ticket/6127.

 If you cannot open a command prompt and cd into the specified directory,
 File-Import does not work from LyX.

 Vincent




-- 
Benjamin Kay
benjamin...@gmail.com
http://econ.ucsd.edu/~bkay/
(347) 878-8537
917-589-2503


Re: new google docs interface, with wave backend. (collaboration trends)

2010-04-14 Thread Jose Quesada
Great post Abdel.

The idea of sharing repos as a portable document format is great. The only
issue I have with git is that it depends on a mixture of C, shell and perl
scripts that make it hardly portable. But I could be wrong. Assuming a
working python on the system is not that bad (OSX, *BSDs and linuxes most
have them). And python is already a requirement for LyX right? So my vote
goes to mercurial.
Best,
-Jose

Jose Quesada, PhD.
Max Planck Institute,
Center for Adaptive Behavior and Cognition,
Berlin
http://www.josequesada.name/
http://twitter.com/Quesada


On Wed, Apr 14, 2010 at 3:49 PM, Abdelrazak Younes you...@lyx.org wrote:

 On 04/13/2010 04:43 PM, Jürgen Spitzmüller wrote:

 rgheck wrote:

 It'd be nice to hear precisely what people would want that version
 control does not provide. I have a hard time myself seeing why it is any
 more than an isn't that cool feature for two people simultaneously to
 edit a single document. I.e., fun, but hardly revolutionary as far as
 actual productivity goes, at least for the sort of work most LyX users
 actually do. There's no doubt that LyXs' VC support could be improved,
 and it has been in some significant ways for 2.0, so we'd happily hear
 suggestions about that, too.


 I also think that VC probably provides all you need for collaboration
 (although a closer integration of VC, comparision and CT would be cool).

 For me, a main obstacle is the lack of a suitable web service. My Faculty
 does
 not provide svn or other VC repositories, and I did not find a suitable
 service on the web yet, where I can savely store my data in such a way
 that
 only selected people can access it. But maybe I just didn't search long
 enough.


 You don't need it!

 git (or any distributed scm) can do it for you. You can create a git repo
 for one specific LyX document (including all children and graphics) and use
 that as the transport medium. If you can clone over the web then fine (git
 supports a number of protocols icluding http); if not you can just as well
 send either the 'git diff' output or the full git repo by mail. At the other
 end, your co-writer would merge your diff or a local copy of your git repo
 and merge it with his own git repo.

 As I have once outlined in the devel list, it should be possible to
 streamline the entire process within LyX. This would become the often
 requested portable LyX format, except that this file would just be a git
 repo. This way, you would have access immediately to all elements of your
 documents (including graphics) but also to the full history of the document.
 This can of collaboration tool would be unbeatable if you ask me. Now, we
 just need to find someone who has the time and energy to implement this :-)

 Abdel.




Re: new google docs interface, with wave backend. (collaboration trends)

2010-04-14 Thread Abdelrazak Younes

On 04/14/2010 06:42 PM, Jose Quesada wrote:

Great post Abdel.

The idea of sharing repos as a portable document format is great. The 
only issue I have with git is that it depends on a mixture of C, shell 
and perl scripts that make it hardly portable. But I could be wrong.


For what we need, only the compiled c program is required. But in any 
case msysgit runs pretty fine under Windows and git has even been ported 
to MSVC nowadays.


Assuming a working python on the system is not that bad (OSX, *BSDs 
and linuxes most have them). And python is already a requirement for 
LyX right? So my vote goes to mercurial.


We are not at the voting step just now, this is all vaporware we are 
talking about ;-)


AFAIK mercurial also rely on some compiled c-code but I can be wrong.

In any case, the goal would be to rely on an installed git or mercurial, 
not to redistribute them I guess. Under Windows, distributing git or 
mercurial would just be a packaging issue, nothing else.


Abdel.



Fwd: import preamble

2010-04-14 Thread stefano franchi
-- Forwarded message --
From: stefano franchi fran...@philosophy.tamu.edu
Date: Wed, Apr 14, 2010 at 1:10 PM
Subject: Re: import preamble
To: Guenter Milde mi...@users.berlios.de




On Tue, Apr 13, 2010 at 4:51 AM, Guenter Milde mi...@users.berlios.dewrote:

 On 2010-04-12, Jürgen Spitzmüller wrote:
  Hauser Helmut wrote:
  I have a larger document divided into chapters, which I include via the
  'include' command. Now it happens that I want to change some details in
  the style (e.g., marginsize) or that I want include a new package. The
  problem is, if I change the preamble of the parent document it will
  affect the whole output (which I want), but it will not affect the
  single child documents. How can I trespass this information to all of my
  child documents? Or to put it differently, how can I change all
  preambles at once?

  Outsource the preamble to a file mypreamble.tex and include this file
 into
  each document via

  \input{mypreamble}

 This is what I use for the LaTeX preamble part.

 It does not work for the other parts of DocumentSettings. Therefore I
 edit the set of *.lyx files with my favourite text editor, which has a
 grep-replace function.


Speaking for the  the grep-challenged among us:

Would a kind soul provide a mini-script that, given Lyx files S(ource) and
C(opy), makes ALL C's Document settings identical to S's?

Even better, wouldn't this be a natural addition to the Document Settings
dialog: Import all settings from file? (Framemaker works this way, for
instance)

Stefano

-- 
__
Stefano Franchi
Department of Philosophy   Ph:   (1) 979 862-2211
Texas AM University Fax: (1) 979 845-0458
College Station, Texas, USA





-- 
__
Stefano Franchi
Department of Philosophy   Ph:   (1) 979 862-2211
Texas AM University Fax: (1) 979 845-0458
College Station, Texas, USA


Re: Elseartice on Lyx

2010-04-14 Thread Bruno Cocciaro

--
From: rgheck rgh...@bobjweil.com
Sent: Wednesday, April 14, 2010 1:45 PM
To: Bruno Cocciaro bruno.coccia...@tin.it
Cc: lyx-users@lists.lyx.org
Subject: Re: Elseartice on Lyx

Apparently, you are missing the info for this font. I'm not sure why the 
elsearticle template wants it, but you can try installing it however 
MikTeX allows you to do that.


rh




the folder

C:\Program Files\MiKTeX 2.8\tex\latex\psnfss

contains the file pifont.sty

I putted that file into that folder after downloaded from web (is that a 
wrong action?).


When pifont.sty was not in that folder I was obataining a different error. 
This one:


LaTeX Error: File `pifont.sty' not found.


If I delete the file, reconfigure Lyx, and open again the template 
elsarticle, I obtain again the error

LaTeX Error: File `pifont.sty' not found. when I try to view the pdf.


Bruno Cocciaro

--- Li portammo sull'orlo del baratro e ordinammo loro di volare.
--- Resistevano. Volate, dicemmo. Continuavano a opporre resistenza.
--- Li spingemmo oltre il bordo. E volarono. (G. Apollinaire) 


Re: Elseartice on Lyx

2010-04-14 Thread Julien Rioux

On 14/04/2010 2:33 PM, Bruno Cocciaro wrote:

the folder

C:\Program Files\MiKTeX 2.8\tex\latex\psnfss

contains the file pifont.sty

I putted that file into that folder after downloaded from web (is that a
wrong action?).


You found the right package (psnfss), but the proper way to install 
latex packages is using MiKTeX's package manager from your Start menu.


(and, preferably, do so while being logged in with administrator 
priviledges)


--
Julien


Re: insert custom layout

2010-04-14 Thread Sajjad
It seems very obvious that i have get down more on the basics of LaTeX.
 Even though i managed so far with LyX, without getting too much on LaTeX,
it will not take me any further.


Some of the options can be set by editing the from the LyX interface and
some of hem through inserting TEX code.

And i find that hard to decide which one is the better option to go with .


Regards
Sajjad

On Tue, Apr 13, 2010 at 4:25 PM, rgheck rgh...@bobjweil.com wrote:

 On 04/13/2010 06:12 AM, Guenter Milde wrote:


 The problem occured also in the dinbrief class. It's solved by
 defining two styles. From dinbrief.layout::

   # dinbrief's \phone has 2 args, area and number. We define an empty
   # command that can be set by the Area_Code style
   Preamble
\newcommand{\areacode}{}
   EndPreamble

 ...

   # dinbrief's \phone has 2 args, area and number,
   # define both as distinct styles

   Style Area code
CopyStyle   DinBrief
LabelString Vorwahl:
LatexName   renewcommand{\areacode}
   End

   Style Telephone
CopyStyle   DinBrief
LabelString Telefon:
LatexName   phone
LatexParam  {\areacode}
   End


 It should be possible to adapt this technique to liuthesis if the ERT
 hack is too hackish.



 That's impressive, but pretty hackish itself! Perhaps for 2.1 I'll try to
 get actual multi-argument commands working.

 rh




Re: insert custom layout

2010-04-14 Thread Julien Rioux

On 14/04/2010 3:03 PM, Sajjad wrote:

It seems very obvious that i have get down more on the basics of LaTeX.
  Even though i managed so far with LyX, without getting too much on LaTeX,
it will not take me any further.


Some of the options can be set by editing the from the LyX interface and
some of hem through inserting TEX code.

And i find that hard to decide which one is the better option to go with .


Regards
Sajjad



When a feature is already implemented in LyX, you should use it over TeX 
code. For example, a \clearpage command can be put in TeX code, but it 
is neater to use LyX's Import  Formatting  Clear Page.


When a feature is not already supported by LyX, it could be implemented. 
LyX can be customized in many ways, which makes it quite powerful. To 
list those options from the top of my head:


file formats and converters:
for inserting graphics from your favorite editor and what not.

layouts:
for new types of documents (closely linked to latex document classes)

modules:
for simple functionality not necessarily tied to a document type 
(closely related to latex packages)


Mind you, editing a custom layout or module is something of an advanced 
feature. It's not overly difficult in simple cases, but it sure can get 
complicated, and relies on knowledge of LyX's syntax and of LaTeX in 
many cases. When done properly, one can happily write text inside LyX 
and not worry about programming your document so that it produces 
output. But the starting point for new features will often be tried out 
first in TeX code boxes, and then moved to a module or layout. And 
sometimes one can be very happy with TeX code in the document and in the 
preamble, as long as it works.


So whatever works for you, I guess. If you have specific issues we'll be 
happy to help.


Regards,
Julien


Re: Abstract Layout template

2010-04-14 Thread Uwe Stöhr

Am 14.04.2010 14:29, schrieb Andy:


I am trying to submit an abstract to a conference  and I was wondering if
anyone had/used/knows of  a useful Lyx layout/LaTeX class for producing a
one-page abstract.
I've seen a lot of LaTeX templates on the web but they are too specialised
or far too basic


I use the document class article (koma-script) for conference 
abstracts, but only if the conference doesn't have some special layout 
requirements. In these cases you are quicker to use OpenOffice (or Word 
or AbiWord) instead of fiddling around with LaTeX to get the special 
required format.


regards Uwe


Re: Elseartice on Lyx

2010-04-14 Thread Bruno Cocciaro
Ohhh, problem solved.

My packages was downloaded from 

ftp.uniRoma2.it

and package psnfss did not contain pifont.psy !!!
As I said I added pifont.psy at that package but after that I obtained the 
problem I said.

So I deleted the package and downloaded it again from a different link:

ftp.uni-erlagen.de

now the package contains the file pifont.sty.
After reconfigured Lyx and opened elsarticle template, when I went to view the 
pdf, Lyx asked me first time to update somethingh (I do not remember what) and 
the pdf opened wthout any problem. If I repeat the open of the template and ask 
for the pdf I obtain it without any problem (and without any further request to 
dowload somethngh).

Seems that the psnfss package dowloadable from ftp.uniRoma2.it should be 
corrected.

Thank you very much to any of you.


Bruno Cocciaro

--- Li portammo sull'orlo del baratro e ordinammo loro di volare.
--- Resistevano. Volate, dicemmo. Continuavano a opporre resistenza.
--- Li spingemmo oltre il bordo. E volarono. (G. Apollinaire)

Re: new google docs interface, with wave backend. (collaboration trends)

2010-04-14 Thread Typhoon
On Wed, 14 Apr 2010 18:56:10 +0200
Abdelrazak Younes you...@lyx.org wrote:

 On 04/14/2010 06:42 PM, Jose Quesada wrote:
  Great post Abdel.
 
  The idea of sharing repos as a portable document format is great.
  The only issue I have with git is that it depends on a mixture of
  C, shell and perl scripts that make it hardly portable. But I could
  be wrong.
 
 For what we need, only the compiled c program is required. But in any 
 case msysgit runs pretty fine under Windows and git has even been
 ported to MSVC nowadays.
 
  Assuming a working python on the system is not that bad (OSX, *BSDs 
  and linuxes most have them). And python is already a requirement
  for LyX right? So my vote goes to mercurial.
 
 We are not at the voting step just now, this is all vaporware we are 
 talking about ;-)
 
 AFAIK mercurial also rely on some compiled c-code but I can be wrong.
 
 In any case, the goal would be to rely on an installed git or
 mercurial, not to redistribute them I guess. Under Windows,
 distributing git or mercurial would just be a packaging issue,
 nothing else.

I don't know what the technical challenges might be, but do we have to
choose? Emacs supports RCS, CVS, bazaar, mercurial and git (at least -
there may be others). Let the user choose. The LyX side of it doesn't
need to do everything. Again using Emacs as the model, it allows
commits and reversions, shows annotations and other forms of history,
takes snapshots -- all through a common interface.

If it isn't necessary, I don't think that LyX should lock into one
system. Thinking particularly of collaboration, most of our
collaborators are less flexible and less informed than the members of
this list.

Cheers,
Alan

 
 Abdel.
 
 


-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206



Re: new google docs interface, with wave backend. (collaboration trends)

2010-04-14 Thread Jose Quesada
For those looking for private repos:
blog.assembla.com/assemblablog/tabid/12618/bid/12217/April-14-Repo-Blitz-Free-unlimited-SVN-and-GIT-and-much-more.aspx

http://blog.assembla.com/assemblablog/tabid/12618/bid/12217/April-14-Repo-Blitz-Free-unlimited-SVN-and-GIT-and-much-more.aspxgood
move assembla. this is a good move:
We are now offering free, privately permissioned, encryption enabled,
unlimited user, full gigabyte, commercial quality subversion and git
repositories, and that is just the beginning.

beats github (zero private repos for free) and bitbucket (one)

Best,
-Jose

Jose Quesada, PhD.
Max Planck Institute,
Center for Adaptive Behavior and Cognition,
Berlin
http://www.josequesada.name/
http://twitter.com/Quesada


On Wed, Apr 14, 2010 at 11:26 PM, Typhoon typh...@aanet.com.au wrote:

 On Wed, 14 Apr 2010 18:56:10 +0200
 Abdelrazak Younes you...@lyx.org wrote:

  On 04/14/2010 06:42 PM, Jose Quesada wrote:
   Great post Abdel.
  
   The idea of sharing repos as a portable document format is great.
   The only issue I have with git is that it depends on a mixture of
   C, shell and perl scripts that make it hardly portable. But I could
   be wrong.
 
  For what we need, only the compiled c program is required. But in any
  case msysgit runs pretty fine under Windows and git has even been
  ported to MSVC nowadays.
 
   Assuming a working python on the system is not that bad (OSX, *BSDs
   and linuxes most have them). And python is already a requirement
   for LyX right? So my vote goes to mercurial.
 
  We are not at the voting step just now, this is all vaporware we are
  talking about ;-)
 
  AFAIK mercurial also rely on some compiled c-code but I can be wrong.
 
  In any case, the goal would be to rely on an installed git or
  mercurial, not to redistribute them I guess. Under Windows,
  distributing git or mercurial would just be a packaging issue,
  nothing else.

 I don't know what the technical challenges might be, but do we have to
 choose? Emacs supports RCS, CVS, bazaar, mercurial and git (at least -
 there may be others). Let the user choose. The LyX side of it doesn't
 need to do everything. Again using Emacs as the model, it allows
 commits and reversions, shows annotations and other forms of history,
 takes snapshots -- all through a common interface.

 If it isn't necessary, I don't think that LyX should lock into one
 system. Thinking particularly of collaboration, most of our
 collaborators are less flexible and less informed than the members of
 this list.

 Cheers,
 Alan

 
  Abdel.
 
 


 --
 Alan L Tyreehttp://www2.austlii.edu.au/~alan
 Tel:  04 2748 6206




ANNOUNCE: LyX version 2.0.0 (alpha 2)

2010-04-14 Thread Pavel Sanda
Public release of LyX version 2.0.0 (alpha 2)
=

We are pleased to announce the second alpha release of LyX 2.0.0.

Please note that this release is for testing purposes only and
users are encouraged to use the current 1.6 stable release for any
serious work. We are, however, grateful for any feedback regarding
the bugs and problems you will report to us.

Tarballs can be found at ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.0/ .
Binaries should follow soon.

LyX 2.0.0 will be culmination of more than 17 months of hard work
and you can find an overview of the new features here:
http://wiki.lyx.org/LyX/NewInLyX20

Note that some of the features intended for 2.0 are still missing.

If you think you found a bug in LyX 2.0.0, either e-mail the LyX
developers' mailing list (lyx-devel at lists.lyx.org), or open a bug
report at http://www.lyx.org/trac/wiki/BugTrackerHome .
Please check that the bug was not already reported before you file
a new one.

We hope you will enjoy the result!

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


Re: Is this a bug?? \underbar{\alpha} crashes...

2010-04-14 Thread Jacob
Thank you for the concise reply.



Re: Cannot convert latex code to a lyx document.

2010-04-14 Thread Guenter Milde
On 2010-04-14, Benjamin Kay wrote:

 I cannot import Latex code into Lyx using tex2lyx or using
 File-Import-Latex (plain).
...

 The error from the command line (tex2lyx -f
 Latex_Output_for_Housing_Class_1.tex tmp.lyx ) is more elaborate but no
 more helpful to me:

 'import site' failed; use -v for traceback
 'import site' failed; use -v for traceback
 Traceback (most recent call last):
 File /usr/share/lyx/scripts/layout2layout.py, line 15, in module
 import os, re, string, sys
 File /usr/lib/python2.6/os.py, line 49, in module
 import posixpath as path
 File /usr/lib/python2.6/posixpath.py, line 16, in module
 import warnings
 File /usr/lib/python2.6/warnings.py, line 6, in module
 import linecache
 ImportError: No module named linecache
 Could not run layout conversion script layout2layout.py.
 We failed to find the layout '' in the layout list. You MUST
 investigate!
 Segmentation fault

This looks very much like a broken Python installation.
The module site.py is a very basic one

  python2.6-minimal: /usr/lib/python2.6/site.py

and should be found. Do you have a local Python installation?
What is the Python version and what is the PYTHONPATH

 # python
   
   import sys
   sys.path

?

Do you get the same error on the Windows machine?

Günter



Re: new google docs interface, with wave backend. (collaboration trends)

2010-04-14 Thread Guenter Milde
On 2010-04-13, Typhoon wrote:
 On Tue, 13 Apr 2010 11:02:23 -0400
 rgheck rgh...@bobjweil.com wrote:

 On 04/13/2010 10:43 AM, Jürgen Spitzmüller wrote:
  rgheck wrote:

  I also think that VC probably provides all you need for
  collaboration (although a closer integration of VC, comparision and
  CT would be cool).

Also, a version control (VC) system provides at the same time the time
machine to keep track of the evolution of your documents.

  For me, a main obstacle is the lack of a suitable web service. 

 What about using a distributed version control system? I use Bazaar to
 collaborate with one of my colleagues. We meed every so often to do a
 double merge and it works really well. No central server is needed,
 although if you have one available then you can use it like svn.

I use Git to keep a local VC repository so I strongly favour the option
to support distributed version control from LyX.

Günter



Re: ifacconf layout for lyx

2010-04-14 Thread Jean-Pierre Chrétien

German Holguin a écrit :

Hello Jean-Pierre,

I found your posts on a mailing group about LyX and IFAC conferences.

I'm writing an IFAC paper and I wonder if you can share with me the
layout and template for LyX for these IFAC conferences.
http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg125522.html



Here is the most recent layout file I have (August 2007, following what 
I had done for IFAC ACA'07 I guess).
I don't find a template, but I must have a paper written in LyX with 
this layout, I'll keep you posted if I find it.


However, if I run

  cd /tmp
  cp /usr/local/texlive/texmf-local/\
tex/latex/ifacconf_latex/ifacconf.tex .
  lyx -i latex ifacconf.tex

to import the example file in LyX-1.6.4, all is fine, but an incorrect 
alignment of second and third authors. I don'remember how I solved this, 
probably by exporting manually the last version of the LyX file to LaTeX 
to tune it. So the result me be used as a template.


I post also to the lyx-users list in order to keep a public record of 
the file.


--
Jean-Pierre


#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[ifacconf]{article (IFAC Conference/Symposium)}
# Author: Rod Pinna rpi...@civil.uwa.edu.au
# The Elsevier doc style also duplicates the theorem
# environments used by the AMS. The definitions here have been
# mainly taken from the amsmath.inc file, from lyx-1.0.2, by
# David L. Johnson and Jean-Marc Lasgouttes. Some modifications
# have been made.
#
# The Elsevier style *does not* implement the starred versions
# of these environments, so they are not supported by this layout.
# There are also a few AMS environments not impletemented by Elsevier,
# so they are not included either.
#
# Version 1.0   19990506 R. Pinna Inital version
# modified 2002-04-02   Herbert Voss v...@perce.de
#   for use of BeginTitle/EndTitle
# modified 2003-03-11 JMarc for use of TitleLatexType/TitleLatexName
# modified 2003-04-10 Rod Pinna - added proof env. sent to me by Stacy Prowell
# modified 2003-07-23 Rod Pinna - changes MaxCounter to Section,
#   rather than subsection. The Elsevier doc file allows for
#   numbered sections, as does the class file.
#
# elsart.layout used to build ifacmtg.layout
# by Jean-Pierre Chrétien chret...@cert.fr march 2006
# elsart and ifacmtg are documented in the same location by Elsevier
#  http://authors.elsevier.com/getting_published.html?dc=QG3
#
# ifacmtg.layout used as a basis for the new ifacconf template
# by Jean-Pierre Chrétien chret...@cert.fr august 2007
#

Format 4
Columns 1
Sides   2
PageStyle   headings


ClassOptions
#  FontSize default   # controlled by class
End

# elsart does not use the plain old \maketitle
# commented out, \frontmatter must include from title down to abstract
#TitleLatexType Environment
#TitleLatexName frontmatter


Counter
Name  summ
End


Counter
Name  case
End


Style Standard
LatexName dummy
LatexType Paragraph
MarginStatic
ParIndent MM
ParSkip   0.4
ParSep0.4
TopSep1.0
BottomSep 1.0
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
End

Input stdlists.inc
Input numarticle.inc
Input stdsections.inc
# no starred sectioning needed
#Input stdstarsections.inc
Input stdstruct.inc
Input stdlayouts.inc
Input stdfloats.inc
Input stdcounters.inc


Style Title
MarginStatic
LatexType Command
InTitle   1
LatexName title
NextNoIndent  1
ParSkip   0.4
TopSep1.3
BottomSep 0.7
ParSep0.7
Align Center
LabelType No_Label
Font
  Family  Sans
  Series  Bold
  SizeLargest
EndFont
End


Style Author
MarginStatic
LatexType Command
InTitle   1
LatexName author
NextNoIndent  1
ParSkip   0.4
TopSep0.7
BottomSep 0.7
ItemSep   0
ParSep0
Align Center
AlignPossible Center
OptionalArgs  1
Font
  Series  Bold
EndFont
End


Style Author_Address
MarginStatic
LatexType Command
InTitle   1
LatexName address
Align Center
AlignPossible Center
Labeltype Static

Re: new google docs interface, with wave backend. (collaboration trends)

2010-04-14 Thread Pavel Sanda
Guenter Milde wrote:
  What about using a distributed version control system? I use Bazaar to
  collaborate with one of my colleagues. We meed every so often to do a
  double merge and it works really well. No central server is needed,
  although if you have one available then you can use it like svn.
 
 I use Git to keep a local VC repository so I strongly favour the option
 to support distributed version control from LyX.

are you aware of rcs?
pavel


Re: new google docs interface, with wave backend. (collaboration trends)

2010-04-14 Thread Alan Tyree
On Wed, Apr 14, 2010 at 7:23 PM, Pavel Sanda sa...@lyx.org wrote:

 Guenter Milde wrote:
   What about using a distributed version control system? I use Bazaar to
   collaborate with one of my colleagues. We meed every so often to do a
   double merge and it works really well. No central server is needed,
   although if you have one available then you can use it like svn.
 
  I use Git to keep a local VC repository so I strongly favour the option
  to support distributed version control from LyX.

 are you aware of rcs?


RCS is what I used for a long time before discovering the distributed
version control systems. When using RCS you need either 1) a central server
or 2) some system (like rsync) to keep two computers on the same page

Distributed systems eliminate the need for a central server (although you
can use one if available). They also **greatly** reduce the potential for
accidental overwrites if you are trying to sync two computers.

I used Bazaar because (at least at the time) git didn't play too well with
windows and my collaborator was using Windows. I believe that Mercurial is
as good, and probably git is too if the windows problem has been solved. I
like Bazaar since it is written in Python and will run on a warm toaster if
necessary - but no need to start a religious war here!

Here is a link to the workflow of using a DVCS with two users (even if
both of the users are yourself working on a different machine:
http://doc.bazaar.canonical.com/bzr.2.1/en/user-guide/index.html

See, in particular, the Working with peers section.

I think it's great for collaboration, even when the collaboration is with
yourself.

Cheers,
Alan

 pavel




-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206


Re: new google docs interface, with wave backend. (collaboration trends)

2010-04-14 Thread Pavel Sanda
Alan Tyree wrote:
 RCS is what I used for a long time before discovering the distributed
 version control systems. When using RCS you need either 1) a central server
 or 2) some system (like rsync) to keep two computers on the same page

the point was not to propose rcs for the colaboration... but for private
usage (and unless you have some bigger project with tons of external material)
i find rcs to be very good and in some sense more convenient than proposed
git...

pavel


Re: Elseartice on Lyx

2010-04-14 Thread rgheck

On 04/13/2010 02:11 PM, Bruno Cocciaro wrote:

Hello all,

I am very new on Lyx (and on Latex too), I hope anyone may help me.


I use Win 7, Lyx 1.6.5, MixTex 2.8.
Opening the template elsearticle and trying to view the dvi (same problems if I 
ask for the pdf or for the ps) I always obtain this:

  {\Pifont{psy}
}

I wasn't able to read the size data for this font,

so I will ignore the font specification.

   
Apparently, you are missing the info for this font. I'm not sure why the 
elsearticle template wants it, but you can try installing it however 
MikTeX allows you to do that.


rh



Abstract Layout template

2010-04-14 Thread Andy
Hi people

I am trying to submit an abstract to a conference  and I was wondering if
anyone had/used/knows of  a useful Lyx layout/LaTeX class for producing a
one-page abstract.
I've seen a lot of LaTeX templates on the web but they are too specialised
or far too basic

Thanks for any help

Andy


Re: Error for xetex generated pdf on lulu.com: Your document could not be created: The Times-Bold font is not embedded.

2010-04-14 Thread Michael Joyner
I found the source of my problem, the ABC package appears to somehow be
requesting the times bold font... removing all ABC embeds eliminated the
references to times bold. LULU is now happy with my PDF.

On Sat, Apr 10, 2010 at 4:26 AM, Anthony Campbell a...@acampbell.org.ukwrote:

 On 10 Apr 2010, Typhoon wrote:

 
  I haven't checked lately, and it was never properly advertised, but
  lulu.com will (or at least would) accept a postscript manuscript and do
  the conversion to pdf. That might be one way to solve your problem.
 
  Cheers,
  Alan
 

 See my previous message in this thread. It does work; I do it all the
 time.

 Anthony
 --
 Anthony Campbell - a...@acampbell.org.uk
 Microsoft-free zone - Using Debian GNU/Linux
 http://www.acampbell.org.uk - sample my ebooks at
 http://www.smashwords.com/profile/view/acampbell




Re: new google docs interface, with wave backend. (collaboration trends)

2010-04-14 Thread Abdelrazak Younes

On 04/13/2010 04:43 PM, Jürgen Spitzmüller wrote:

rgheck wrote:

It'd be nice to hear precisely what people would want that version
control does not provide. I have a hard time myself seeing why it is any
more than an isn't that cool feature for two people simultaneously to
edit a single document. I.e., fun, but hardly revolutionary as far as
actual productivity goes, at least for the sort of work most LyX users
actually do. There's no doubt that LyXs' VC support could be improved,
and it has been in some significant ways for 2.0, so we'd happily hear
suggestions about that, too.


I also think that VC probably provides all you need for collaboration
(although a closer integration of VC, comparision and CT would be cool).

For me, a main obstacle is the lack of a suitable web service. My Faculty does
not provide svn or other VC repositories, and I did not find a suitable
service on the web yet, where I can savely store my data in such a way that
only selected people can access it. But maybe I just didn't search long
enough.


You don't need it!

git (or any distributed scm) can do it for you. You can create a git 
repo for one specific LyX document (including all children and graphics) 
and use that as the transport medium. If you can clone over the web then 
fine (git supports a number of protocols icluding http); if not you can 
just as well send either the 'git diff' output or the full git repo by 
mail. At the other end, your co-writer would merge your diff or a local 
copy of your git repo and merge it with his own git repo.


As I have once outlined in the devel list, it should be possible to 
streamline the entire process within LyX. This would become the often 
requested portable LyX format, except that this file would just be a git 
repo. This way, you would have access immediately to all elements of 
your documents (including graphics) but also to the full history of the 
document. This can of collaboration tool would be unbeatable if you ask 
me. Now, we just need to find someone who has the time and energy to 
implement this :-)


Abdel.



Re: Cannot convert latex code to a lyx document.

2010-04-14 Thread Benjamin Kay
*Run python from the command line:*
Python 2.6.4 (r264:75706, Dec  7 2009, 18:43:55)
[GCC 4.4.1] on linux2
I tried running 2+2; and that worked.
*Run /usr/lib/python2.6$ python site.py from the command line:*
sys.path = [
'/usr/lib/python2.6',
'/usr/lib/python2.6/plat-linux2',
'/usr/lib/python2.6/lib-tk',
'/usr/lib/python2.6/lib-old',
'/usr/lib/python2.6/lib-dynload',
'/usr/lib/python2.6/dist-packages',
'/usr/lib/python2.6/dist-packages/Numeric',
'/usr/lib/python2.6/dist-packages/PIL',
'/usr/lib/python2.6/dist-packages/gst-0.10',
'/usr/lib/pymodules/python2.6',
'/usr/lib/python2.6/dist-packages/gtk-2.0',
'/usr/lib/pymodules/python2.6/gtk-2.0',
'/usr/lib/python2.6/dist-packages/wx-2.6-gtk2-unicode',
'/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode',
'/usr/local/lib/python2.6/dist-packages',
]
USER_BASE: '/home/bkay/.local' (exists)
USER_SITE: '/home/bkay/.local/lib/python2.6/site-packages' (doesn't exist)
ENABLE_USER_SITE: True
*As far as I can tell I didn't have a PYTHONPATH. I added
PYTHONPATH=/usr/local/lib/python2.6 and export PYTHONPATH to my .bashrc and
got the same set of errors*

*I thought it may be a path or network drive problem in windows. When I run
tex2lyx on the command line on my windows box in the lyx bin directory I
get:*
C:\Program Files\LyX16\bintex2lyx latexexample.tex
Creating file C:/Program Files/LyX16/bin/latexexample.lyx
\end{document} does not match \begin{center}
\end{verbatim} does not match \begin{document}
\end{document} does not match \begin{verbatim}
Bug: Ignoring par-level extra stuff '\noindent
'

*Which generates a file I can open with lyx, which is good. I had been
running it from a network drive (using expandrive) and having trouble. I was
also able to confirm it worked from local My Documents. It also worked in
lyx. I guess problem solved (or at least worked around) for windows.* *When
I run the command directly on the tex2lyx on the network drive file it also
works:*
C:\Program Files\LyX16\bintex2lyx -f Z:\Documents\Macro\Predicting housing
prices with rates and risk\Latex_Output_for_Housing_Class_1.tex
Creating file Z:/Documents/Macro/Predicting housing prices with rates and
risk/Latex_Output_for_Housing_Class_1.lyx
then it returns to the command line and leaves the file

*Then I thought it might be the spaces in the directory name in the path to
the latex source file. when I renamed the directory to
Predicting_housing_prices_with_rates_and_risk I got the same error, so I
think it is something else. *

*
So, to summarize. I can get tex2lyx to work and lyx to call it from windows
when working on a local drive but not a network drive. I cannot get tex2lyx
(or call it from lyx) from my linux machine (local only tried) . I have
verified that I have python installed, at leas superficially works, and also
added the PYTHONPATH shell parameter. *
_





On 2010-04-14,Guenter Milde wrote:
This looks very much like a broken Python installation.
The module site.py is a very basic one

python2.6-minimal: /usr/lib/python2.6/site.py

and should be found. Do you have a local Python installation?
What is the Python version and what is the PYTHONPATH



On 2010-04-14, Benjamin Kay wrote:

 I cannot import Latex code into Lyx using tex2lyx or using
 File-Import-Latex (plain).
...

 The error from the command line (tex2lyx -f
 Latex_Output_for_Housing_Class_1.tex tmp.lyx ) is more elaborate but no
 more helpful to me:

 'import site' failed; use -v for traceback
 'import site' failed; use -v for traceback
 Traceback (most recent call last):
 File /usr/share/lyx/scripts/layout2layout.py, line 15, in module
 import os, re, string, sys
 File /usr/lib/python2.6/os.py, line 49, in module
 import posixpath as path
 File /usr/lib/python2.6/posixpath.py, line 16, in module
 import warnings
 File /usr/lib/python2.6/warnings.py, line 6, in module
 import linecache
 ImportError: No module named linecache
 Could not run layout conversion script layout2layout.py.
 We failed to find the layout '' in the layout list. You MUST
 investigate!
 Segmentation fault




 # python

   import sys
   sys.path

?

Do you get the same error on the Windows machine?




http://www.mail-archive.com/lyx-users@lists.lyx.org/
http://www.lyx.org/wiki/index.php/Web/MailingLists
-- 
Benjamin Kay


RE: Cannot convert latex code to a lyx document.

2010-04-14 Thread Vincent van Ravesteijn - TNW
*
So, to summarize. I can get tex2lyx to work and lyx to
call it from windows when working on a local drive but
not a network drive. 

This is http://www.lyx.org/trac/ticket/6127.

If you cannot open a command prompt and cd into the specified directory,
File-Import does not work from LyX.

Vincent


Re: Cannot convert latex code to a lyx document.

2010-04-14 Thread Benjamin Kay
I can cd into the directory from the command prompt.
From : Z:\
Run: cd \Documents\Macro\Predicting_housing_prices_with_rates_and_risk\
Result: Z:\Documents\Macro\Predicting_housing_prices_with_rates_and_risk

On Wed, Apr 14, 2010 at 8:03 AM, Vincent van Ravesteijn - TNW 
v.f.vanraveste...@tudelft.nl wrote:

 *
 So, to summarize. I can get tex2lyx to work and lyx to
 call it from windows when working on a local drive but
 not a network drive.

 This is http://www.lyx.org/trac/ticket/6127.

 If you cannot open a command prompt and cd into the specified directory,
 File-Import does not work from LyX.

 Vincent




-- 
Benjamin Kay
benjamin...@gmail.com
http://econ.ucsd.edu/~bkay/
(347) 878-8537
917-589-2503


Re: new google docs interface, with wave backend. (collaboration trends)

2010-04-14 Thread Jose Quesada
Great post Abdel.

The idea of sharing repos as a portable document format is great. The only
issue I have with git is that it depends on a mixture of C, shell and perl
scripts that make it hardly portable. But I could be wrong. Assuming a
working python on the system is not that bad (OSX, *BSDs and linuxes most
have them). And python is already a requirement for LyX right? So my vote
goes to mercurial.
Best,
-Jose

Jose Quesada, PhD.
Max Planck Institute,
Center for Adaptive Behavior and Cognition,
Berlin
http://www.josequesada.name/
http://twitter.com/Quesada


On Wed, Apr 14, 2010 at 3:49 PM, Abdelrazak Younes you...@lyx.org wrote:

 On 04/13/2010 04:43 PM, Jürgen Spitzmüller wrote:

 rgheck wrote:

 It'd be nice to hear precisely what people would want that version
 control does not provide. I have a hard time myself seeing why it is any
 more than an isn't that cool feature for two people simultaneously to
 edit a single document. I.e., fun, but hardly revolutionary as far as
 actual productivity goes, at least for the sort of work most LyX users
 actually do. There's no doubt that LyXs' VC support could be improved,
 and it has been in some significant ways for 2.0, so we'd happily hear
 suggestions about that, too.


 I also think that VC probably provides all you need for collaboration
 (although a closer integration of VC, comparision and CT would be cool).

 For me, a main obstacle is the lack of a suitable web service. My Faculty
 does
 not provide svn or other VC repositories, and I did not find a suitable
 service on the web yet, where I can savely store my data in such a way
 that
 only selected people can access it. But maybe I just didn't search long
 enough.


 You don't need it!

 git (or any distributed scm) can do it for you. You can create a git repo
 for one specific LyX document (including all children and graphics) and use
 that as the transport medium. If you can clone over the web then fine (git
 supports a number of protocols icluding http); if not you can just as well
 send either the 'git diff' output or the full git repo by mail. At the other
 end, your co-writer would merge your diff or a local copy of your git repo
 and merge it with his own git repo.

 As I have once outlined in the devel list, it should be possible to
 streamline the entire process within LyX. This would become the often
 requested portable LyX format, except that this file would just be a git
 repo. This way, you would have access immediately to all elements of your
 documents (including graphics) but also to the full history of the document.
 This can of collaboration tool would be unbeatable if you ask me. Now, we
 just need to find someone who has the time and energy to implement this :-)

 Abdel.




Re: new google docs interface, with wave backend. (collaboration trends)

2010-04-14 Thread Abdelrazak Younes

On 04/14/2010 06:42 PM, Jose Quesada wrote:

Great post Abdel.

The idea of sharing repos as a portable document format is great. The 
only issue I have with git is that it depends on a mixture of C, shell 
and perl scripts that make it hardly portable. But I could be wrong.


For what we need, only the compiled c program is required. But in any 
case msysgit runs pretty fine under Windows and git has even been ported 
to MSVC nowadays.


Assuming a working python on the system is not that bad (OSX, *BSDs 
and linuxes most have them). And python is already a requirement for 
LyX right? So my vote goes to mercurial.


We are not at the voting step just now, this is all vaporware we are 
talking about ;-)


AFAIK mercurial also rely on some compiled c-code but I can be wrong.

In any case, the goal would be to rely on an installed git or mercurial, 
not to redistribute them I guess. Under Windows, distributing git or 
mercurial would just be a packaging issue, nothing else.


Abdel.



Fwd: import preamble

2010-04-14 Thread stefano franchi
-- Forwarded message --
From: stefano franchi fran...@philosophy.tamu.edu
Date: Wed, Apr 14, 2010 at 1:10 PM
Subject: Re: import preamble
To: Guenter Milde mi...@users.berlios.de




On Tue, Apr 13, 2010 at 4:51 AM, Guenter Milde mi...@users.berlios.dewrote:

 On 2010-04-12, Jürgen Spitzmüller wrote:
  Hauser Helmut wrote:
  I have a larger document divided into chapters, which I include via the
  'include' command. Now it happens that I want to change some details in
  the style (e.g., marginsize) or that I want include a new package. The
  problem is, if I change the preamble of the parent document it will
  affect the whole output (which I want), but it will not affect the
  single child documents. How can I trespass this information to all of my
  child documents? Or to put it differently, how can I change all
  preambles at once?

  Outsource the preamble to a file mypreamble.tex and include this file
 into
  each document via

  \input{mypreamble}

 This is what I use for the LaTeX preamble part.

 It does not work for the other parts of DocumentSettings. Therefore I
 edit the set of *.lyx files with my favourite text editor, which has a
 grep-replace function.


Speaking for the  the grep-challenged among us:

Would a kind soul provide a mini-script that, given Lyx files S(ource) and
C(opy), makes ALL C's Document settings identical to S's?

Even better, wouldn't this be a natural addition to the Document Settings
dialog: Import all settings from file? (Framemaker works this way, for
instance)

Stefano

-- 
__
Stefano Franchi
Department of Philosophy   Ph:   (1) 979 862-2211
Texas AM University Fax: (1) 979 845-0458
College Station, Texas, USA





-- 
__
Stefano Franchi
Department of Philosophy   Ph:   (1) 979 862-2211
Texas AM University Fax: (1) 979 845-0458
College Station, Texas, USA


Re: Elseartice on Lyx

2010-04-14 Thread Bruno Cocciaro

--
From: rgheck rgh...@bobjweil.com
Sent: Wednesday, April 14, 2010 1:45 PM
To: Bruno Cocciaro bruno.coccia...@tin.it
Cc: lyx-users@lists.lyx.org
Subject: Re: Elseartice on Lyx

Apparently, you are missing the info for this font. I'm not sure why the 
elsearticle template wants it, but you can try installing it however 
MikTeX allows you to do that.


rh




the folder

C:\Program Files\MiKTeX 2.8\tex\latex\psnfss

contains the file pifont.sty

I putted that file into that folder after downloaded from web (is that a 
wrong action?).


When pifont.sty was not in that folder I was obataining a different error. 
This one:


LaTeX Error: File `pifont.sty' not found.


If I delete the file, reconfigure Lyx, and open again the template 
elsarticle, I obtain again the error

LaTeX Error: File `pifont.sty' not found. when I try to view the pdf.


Bruno Cocciaro

--- Li portammo sull'orlo del baratro e ordinammo loro di volare.
--- Resistevano. Volate, dicemmo. Continuavano a opporre resistenza.
--- Li spingemmo oltre il bordo. E volarono. (G. Apollinaire) 


Re: Elseartice on Lyx

2010-04-14 Thread Julien Rioux

On 14/04/2010 2:33 PM, Bruno Cocciaro wrote:

the folder

C:\Program Files\MiKTeX 2.8\tex\latex\psnfss

contains the file pifont.sty

I putted that file into that folder after downloaded from web (is that a
wrong action?).


You found the right package (psnfss), but the proper way to install 
latex packages is using MiKTeX's package manager from your Start menu.


(and, preferably, do so while being logged in with administrator 
priviledges)


--
Julien


Re: insert custom layout

2010-04-14 Thread Sajjad
It seems very obvious that i have get down more on the basics of LaTeX.
 Even though i managed so far with LyX, without getting too much on LaTeX,
it will not take me any further.


Some of the options can be set by editing the from the LyX interface and
some of hem through inserting TEX code.

And i find that hard to decide which one is the better option to go with .


Regards
Sajjad

On Tue, Apr 13, 2010 at 4:25 PM, rgheck rgh...@bobjweil.com wrote:

 On 04/13/2010 06:12 AM, Guenter Milde wrote:


 The problem occured also in the dinbrief class. It's solved by
 defining two styles. From dinbrief.layout::

   # dinbrief's \phone has 2 args, area and number. We define an empty
   # command that can be set by the Area_Code style
   Preamble
\newcommand{\areacode}{}
   EndPreamble

 ...

   # dinbrief's \phone has 2 args, area and number,
   # define both as distinct styles

   Style Area code
CopyStyle   DinBrief
LabelString Vorwahl:
LatexName   renewcommand{\areacode}
   End

   Style Telephone
CopyStyle   DinBrief
LabelString Telefon:
LatexName   phone
LatexParam  {\areacode}
   End


 It should be possible to adapt this technique to liuthesis if the ERT
 hack is too hackish.



 That's impressive, but pretty hackish itself! Perhaps for 2.1 I'll try to
 get actual multi-argument commands working.

 rh




Re: insert custom layout

2010-04-14 Thread Julien Rioux

On 14/04/2010 3:03 PM, Sajjad wrote:

It seems very obvious that i have get down more on the basics of LaTeX.
  Even though i managed so far with LyX, without getting too much on LaTeX,
it will not take me any further.


Some of the options can be set by editing the from the LyX interface and
some of hem through inserting TEX code.

And i find that hard to decide which one is the better option to go with .


Regards
Sajjad



When a feature is already implemented in LyX, you should use it over TeX 
code. For example, a \clearpage command can be put in TeX code, but it 
is neater to use LyX's Import  Formatting  Clear Page.


When a feature is not already supported by LyX, it could be implemented. 
LyX can be customized in many ways, which makes it quite powerful. To 
list those options from the top of my head:


file formats and converters:
for inserting graphics from your favorite editor and what not.

layouts:
for new types of documents (closely linked to latex document classes)

modules:
for simple functionality not necessarily tied to a document type 
(closely related to latex packages)


Mind you, editing a custom layout or module is something of an advanced 
feature. It's not overly difficult in simple cases, but it sure can get 
complicated, and relies on knowledge of LyX's syntax and of LaTeX in 
many cases. When done properly, one can happily write text inside LyX 
and not worry about programming your document so that it produces 
output. But the starting point for new features will often be tried out 
first in TeX code boxes, and then moved to a module or layout. And 
sometimes one can be very happy with TeX code in the document and in the 
preamble, as long as it works.


So whatever works for you, I guess. If you have specific issues we'll be 
happy to help.


Regards,
Julien


Re: Abstract Layout template

2010-04-14 Thread Uwe Stöhr

Am 14.04.2010 14:29, schrieb Andy:


I am trying to submit an abstract to a conference  and I was wondering if
anyone had/used/knows of  a useful Lyx layout/LaTeX class for producing a
one-page abstract.
I've seen a lot of LaTeX templates on the web but they are too specialised
or far too basic


I use the document class article (koma-script) for conference 
abstracts, but only if the conference doesn't have some special layout 
requirements. In these cases you are quicker to use OpenOffice (or Word 
or AbiWord) instead of fiddling around with LaTeX to get the special 
required format.


regards Uwe


Re: Elseartice on Lyx

2010-04-14 Thread Bruno Cocciaro
Ohhh, problem solved.

My packages was downloaded from 

ftp.uniRoma2.it

and package psnfss did not contain pifont.psy !!!
As I said I added pifont.psy at that package but after that I obtained the 
problem I said.

So I deleted the package and downloaded it again from a different link:

ftp.uni-erlagen.de

now the package contains the file pifont.sty.
After reconfigured Lyx and opened elsarticle template, when I went to view the 
pdf, Lyx asked me first time to update somethingh (I do not remember what) and 
the pdf opened wthout any problem. If I repeat the open of the template and ask 
for the pdf I obtain it without any problem (and without any further request to 
dowload somethngh).

Seems that the psnfss package dowloadable from ftp.uniRoma2.it should be 
corrected.

Thank you very much to any of you.


Bruno Cocciaro

--- Li portammo sull'orlo del baratro e ordinammo loro di volare.
--- Resistevano. Volate, dicemmo. Continuavano a opporre resistenza.
--- Li spingemmo oltre il bordo. E volarono. (G. Apollinaire)

Re: new google docs interface, with wave backend. (collaboration trends)

2010-04-14 Thread Typhoon
On Wed, 14 Apr 2010 18:56:10 +0200
Abdelrazak Younes you...@lyx.org wrote:

 On 04/14/2010 06:42 PM, Jose Quesada wrote:
  Great post Abdel.
 
  The idea of sharing repos as a portable document format is great.
  The only issue I have with git is that it depends on a mixture of
  C, shell and perl scripts that make it hardly portable. But I could
  be wrong.
 
 For what we need, only the compiled c program is required. But in any 
 case msysgit runs pretty fine under Windows and git has even been
 ported to MSVC nowadays.
 
  Assuming a working python on the system is not that bad (OSX, *BSDs 
  and linuxes most have them). And python is already a requirement
  for LyX right? So my vote goes to mercurial.
 
 We are not at the voting step just now, this is all vaporware we are 
 talking about ;-)
 
 AFAIK mercurial also rely on some compiled c-code but I can be wrong.
 
 In any case, the goal would be to rely on an installed git or
 mercurial, not to redistribute them I guess. Under Windows,
 distributing git or mercurial would just be a packaging issue,
 nothing else.

I don't know what the technical challenges might be, but do we have to
choose? Emacs supports RCS, CVS, bazaar, mercurial and git (at least -
there may be others). Let the user choose. The LyX side of it doesn't
need to do everything. Again using Emacs as the model, it allows
commits and reversions, shows annotations and other forms of history,
takes snapshots -- all through a common interface.

If it isn't necessary, I don't think that LyX should lock into one
system. Thinking particularly of collaboration, most of our
collaborators are less flexible and less informed than the members of
this list.

Cheers,
Alan

 
 Abdel.
 
 


-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206



Re: new google docs interface, with wave backend. (collaboration trends)

2010-04-14 Thread Jose Quesada
For those looking for private repos:
blog.assembla.com/assemblablog/tabid/12618/bid/12217/April-14-Repo-Blitz-Free-unlimited-SVN-and-GIT-and-much-more.aspx

http://blog.assembla.com/assemblablog/tabid/12618/bid/12217/April-14-Repo-Blitz-Free-unlimited-SVN-and-GIT-and-much-more.aspxgood
move assembla. this is a good move:
We are now offering free, privately permissioned, encryption enabled,
unlimited user, full gigabyte, commercial quality subversion and git
repositories, and that is just the beginning.

beats github (zero private repos for free) and bitbucket (one)

Best,
-Jose

Jose Quesada, PhD.
Max Planck Institute,
Center for Adaptive Behavior and Cognition,
Berlin
http://www.josequesada.name/
http://twitter.com/Quesada


On Wed, Apr 14, 2010 at 11:26 PM, Typhoon typh...@aanet.com.au wrote:

 On Wed, 14 Apr 2010 18:56:10 +0200
 Abdelrazak Younes you...@lyx.org wrote:

  On 04/14/2010 06:42 PM, Jose Quesada wrote:
   Great post Abdel.
  
   The idea of sharing repos as a portable document format is great.
   The only issue I have with git is that it depends on a mixture of
   C, shell and perl scripts that make it hardly portable. But I could
   be wrong.
 
  For what we need, only the compiled c program is required. But in any
  case msysgit runs pretty fine under Windows and git has even been
  ported to MSVC nowadays.
 
   Assuming a working python on the system is not that bad (OSX, *BSDs
   and linuxes most have them). And python is already a requirement
   for LyX right? So my vote goes to mercurial.
 
  We are not at the voting step just now, this is all vaporware we are
  talking about ;-)
 
  AFAIK mercurial also rely on some compiled c-code but I can be wrong.
 
  In any case, the goal would be to rely on an installed git or
  mercurial, not to redistribute them I guess. Under Windows,
  distributing git or mercurial would just be a packaging issue,
  nothing else.

 I don't know what the technical challenges might be, but do we have to
 choose? Emacs supports RCS, CVS, bazaar, mercurial and git (at least -
 there may be others). Let the user choose. The LyX side of it doesn't
 need to do everything. Again using Emacs as the model, it allows
 commits and reversions, shows annotations and other forms of history,
 takes snapshots -- all through a common interface.

 If it isn't necessary, I don't think that LyX should lock into one
 system. Thinking particularly of collaboration, most of our
 collaborators are less flexible and less informed than the members of
 this list.

 Cheers,
 Alan

 
  Abdel.
 
 


 --
 Alan L Tyreehttp://www2.austlii.edu.au/~alan
 Tel:  04 2748 6206




ANNOUNCE: LyX version 2.0.0 (alpha 2)

2010-04-14 Thread Pavel Sanda
Public release of LyX version 2.0.0 (alpha 2)
=

We are pleased to announce the second alpha release of LyX 2.0.0.

Please note that this release is for testing purposes only and
users are encouraged to use the current 1.6 stable release for any
serious work. We are, however, grateful for any feedback regarding
the bugs and problems you will report to us.

Tarballs can be found at ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.0/ .
Binaries should follow soon.

LyX 2.0.0 will be culmination of more than 17 months of hard work
and you can find an overview of the new features here:
http://wiki.lyx.org/LyX/NewInLyX20

Note that some of the features intended for 2.0 are still missing.

If you think you found a bug in LyX 2.0.0, either e-mail the LyX
developers' mailing list (lyx-devel at lists.lyx.org), or open a bug
report at http://www.lyx.org/trac/wiki/BugTrackerHome .
Please check that the bug was not already reported before you file
a new one.

We hope you will enjoy the result!

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


Re: Is this a bug?? \underbar{\alpha} crashes...

2010-04-14 Thread Jacob
Thank you for the concise reply.



Re: Cannot convert latex code to a lyx document.

2010-04-14 Thread Guenter Milde
On 2010-04-14, Benjamin Kay wrote:

> I cannot import Latex code into Lyx using tex2lyx or using
> File-Import-Latex (plain).
...

> The error from the command line (tex2lyx -f
> Latex_Output_for_Housing_Class_1.tex tmp.lyx ) is more elaborate but no
> more helpful to me:

> 'import site' failed; use -v for traceback
> 'import site' failed; use -v for traceback
> Traceback (most recent call last):
> File "/usr/share/lyx/scripts/layout2layout.py", line 15, in 
> import os, re, string, sys
> File "/usr/lib/python2.6/os.py", line 49, in 
> import posixpath as path
> File "/usr/lib/python2.6/posixpath.py", line 16, in 
> import warnings
> File "/usr/lib/python2.6/warnings.py", line 6, in 
> import linecache
> ImportError: No module named linecache
> Could not run layout conversion script layout2layout.py.
> We failed to find the layout '' in the layout list. You MUST
> investigate!
> Segmentation fault

This looks very much like a broken Python installation.
The module "site.py" is a very basic one

  python2.6-minimal: /usr/lib/python2.6/site.py

and should be found. Do you have a local Python installation?
What is the Python version and what is the PYTHONPATH

 #> python
   
   import sys
   sys.path

?

Do you get the same error on the Windows machine?

Günter



Re: new google docs interface, with wave backend. (collaboration trends)

2010-04-14 Thread Guenter Milde
On 2010-04-13, Typhoon wrote:
> On Tue, 13 Apr 2010 11:02:23 -0400
> rgheck  wrote:

>> On 04/13/2010 10:43 AM, Jürgen Spitzmüller wrote:
>> > rgheck wrote:

>> > I also think that VC probably provides all you need for
>> > collaboration (although a closer integration of VC, comparision and
>> > CT would be cool).

Also, a version control (VC) system provides at the same time the "time
machine" to keep track of the evolution of your documents.

>> > For me, a main obstacle is the lack of a suitable web service. 

> What about using a distributed version control system? I use Bazaar to
> collaborate with one of my colleagues. We meed every so often to do a
> double merge and it works really well. No central server is needed,
> although if you have one available then you can use it like svn.

I use Git to keep a local VC repository so I strongly favour the option
to support distributed version control from LyX.

Günter



Re: ifacconf layout for lyx

2010-04-14 Thread Jean-Pierre Chrétien

German Holguin a écrit :

Hello Jean-Pierre,

I found your posts on a mailing group about LyX and IFAC conferences.

I'm writing an IFAC paper and I wonder if you can share with me the
layout and template for LyX for these IFAC conferences.




Here is the most recent layout file I have (August 2007, following what 
I had done for IFAC ACA'07 I guess).
I don't find a template, but I must have a paper written in LyX with 
this layout, I'll keep you posted if I find it.


However, if I run

  cd /tmp
  cp /usr/local/texlive/texmf-local/\
tex/latex/ifacconf_latex/ifacconf.tex .
  lyx -i latex ifacconf.tex

to import the example file in LyX-1.6.4, all is fine, but an incorrect 
alignment of second and third authors. I don'remember how I solved this, 
probably by exporting manually the last version of the LyX file to LaTeX 
to tune it. So the result me be used as a template.


I post also to the lyx-users list in order to keep a public record of 
the file.


--
Jean-Pierre


#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[ifacconf]{article (IFAC Conference/Symposium)}
# Author: Rod Pinna 
# The Elsevier doc style also duplicates the theorem
# environments used by the AMS. The definitions here have been
# mainly taken from the amsmath.inc file, from lyx-1.0.2, by
# David L. Johnson and Jean-Marc Lasgouttes. Some modifications
# have been made.
#
# The Elsevier style *does not* implement the starred versions
# of these environments, so they are not supported by this layout.
# There are also a few AMS environments not impletemented by Elsevier,
# so they are not included either.
#
# Version 1.0   19990506 R. Pinna Inital version
# modified 2002-04-02   Herbert Voss 
#   for use of BeginTitle/EndTitle
# modified 2003-03-11 JMarc for use of TitleLatexType/TitleLatexName
# modified 2003-04-10 Rod Pinna - added proof env. sent to me by Stacy Prowell
# modified 2003-07-23 Rod Pinna - changes MaxCounter to Section,
#   rather than subsection. The Elsevier doc file allows for
#   numbered sections, as does the class file.
#
# elsart.layout used to build ifacmtg.layout
# by Jean-Pierre Chrétien  march 2006
# elsart and ifacmtg are documented in the same location by Elsevier
#  http://authors.elsevier.com/getting_published.html?dc=QG3
#
# ifacmtg.layout used as a basis for the new ifacconf template
# by Jean-Pierre Chrétien  august 2007
#

Format 4
Columns 1
Sides   2
PageStyle   headings


ClassOptions
#  FontSize "default"   # controlled by class
End

# elsart does not use the plain old \maketitle
# commented out, \frontmatter must include from title down to abstract
#TitleLatexType Environment
#TitleLatexName frontmatter


Counter
Name  summ
End


Counter
Name  case
End


Style Standard
LatexName dummy
LatexType Paragraph
MarginStatic
ParIndent MM
ParSkip   0.4
ParSep0.4
TopSep1.0
BottomSep 1.0
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
End

Input stdlists.inc
Input numarticle.inc
Input stdsections.inc
# no starred sectioning needed
#Input stdstarsections.inc
Input stdstruct.inc
Input stdlayouts.inc
Input stdfloats.inc
Input stdcounters.inc


Style Title
MarginStatic
LatexType Command
InTitle   1
LatexName title
NextNoIndent  1
ParSkip   0.4
TopSep1.3
BottomSep 0.7
ParSep0.7
Align Center
LabelType No_Label
Font
  Family  Sans
  Series  Bold
  SizeLargest
EndFont
End


Style Author
MarginStatic
LatexType Command
InTitle   1
LatexName author
NextNoIndent  1
ParSkip   0.4
TopSep0.7
BottomSep 0.7
ItemSep   0
ParSep0
Align Center
AlignPossible Center
OptionalArgs  1
Font
  Series  Bold
EndFont
End


Style Author_Address
MarginStatic
LatexType Command
InTitle   1
LatexName address
Align Center
AlignPossible Center
Labeltype Static
   

Re: new google docs interface, with wave backend. (collaboration trends)

2010-04-14 Thread Pavel Sanda
Guenter Milde wrote:
> > What about using a distributed version control system? I use Bazaar to
> > collaborate with one of my colleagues. We meed every so often to do a
> > double merge and it works really well. No central server is needed,
> > although if you have one available then you can use it like svn.
> 
> I use Git to keep a local VC repository so I strongly favour the option
> to support distributed version control from LyX.

are you aware of rcs?
pavel


Re: new google docs interface, with wave backend. (collaboration trends)

2010-04-14 Thread Alan Tyree
On Wed, Apr 14, 2010 at 7:23 PM, Pavel Sanda  wrote:

> Guenter Milde wrote:
> > > What about using a distributed version control system? I use Bazaar to
> > > collaborate with one of my colleagues. We meed every so often to do a
> > > double merge and it works really well. No central server is needed,
> > > although if you have one available then you can use it like svn.
> >
> > I use Git to keep a local VC repository so I strongly favour the option
> > to support distributed version control from LyX.
>
> are you aware of rcs?
>

RCS is what I used for a long time before discovering the distributed
version control systems. When using RCS you need either 1) a central server
or 2) some system (like rsync) to keep two computers "on the same page"

Distributed systems eliminate the need for a central server (although you
can use one if available). They also **greatly** reduce the potential for
accidental overwrites if you are trying to sync two computers.

I used Bazaar because (at least at the time) git didn't play too well with
windows and my collaborator was using Windows. I believe that Mercurial is
as good, and probably git is too if the windows problem has been solved. I
like Bazaar since it is written in Python and will run on a warm toaster if
necessary - but no need to start a religious war here!

Here is a link to the "workflow" of using a DVCS with two users (even if
both of the users are yourself working on a different machine:
http://doc.bazaar.canonical.com/bzr.2.1/en/user-guide/index.html

See, in particular, the "Working with peers" section.

I think it's great for collaboration, even when the "collaboration" is with
yourself.

Cheers,
Alan

> pavel
>
>


-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206


Re: new google docs interface, with wave backend. (collaboration trends)

2010-04-14 Thread Pavel Sanda
Alan Tyree wrote:
> RCS is what I used for a long time before discovering the distributed
> version control systems. When using RCS you need either 1) a central server
> or 2) some system (like rsync) to keep two computers "on the same page"

the point was not to propose rcs for the colaboration... but for private
usage (and unless you have some bigger project with tons of external material)
i find rcs to be very good and in some sense more convenient than proposed
git...

pavel


Re: Elseartice on Lyx

2010-04-14 Thread rgheck

On 04/13/2010 02:11 PM, Bruno Cocciaro wrote:

Hello all,

I am very new on Lyx (and on Latex too), I hope anyone may help me.


I use Win 7, Lyx 1.6.5, MixTex 2.8.
Opening the template elsearticle and trying to view the dvi (same problems if I 
ask for the pdf or for the ps) I always obtain this:

  {\Pifont{psy}
}

I wasn't able to read the size data for this font,

so I will ignore the font specification.

   
Apparently, you are missing the info for this font. I'm not sure why the 
elsearticle template wants it, but you can try installing it however 
MikTeX allows you to do that.


rh



Abstract Layout template

2010-04-14 Thread Andy
Hi people

I am trying to submit an abstract to a conference  and I was wondering if
anyone had/used/knows of  a useful Lyx layout/LaTeX class for producing a
one-page abstract.
I've seen a lot of LaTeX templates on the web but they are too specialised
or far too basic

Thanks for any help

Andy


Re: Error for xetex generated pdf on lulu.com: Your document could not be created: The Times-Bold font is not embedded.

2010-04-14 Thread Michael Joyner
I found the source of my problem, the ABC package appears to somehow be
requesting the times bold font... removing all ABC embeds eliminated the
references to times bold. LULU is now happy with my PDF.

On Sat, Apr 10, 2010 at 4:26 AM, Anthony Campbell wrote:

> On 10 Apr 2010, Typhoon wrote:
>
> >
> > I haven't checked lately, and it was never properly advertised, but
> > lulu.com will (or at least would) accept a postscript manuscript and do
> > the conversion to pdf. That might be one way to solve your problem.
> >
> > Cheers,
> > Alan
> >
>
> See my previous message in this thread. It does work; I do it all the
> time.
>
> Anthony
> --
> Anthony Campbell - a...@acampbell.org.uk
> Microsoft-free zone - Using Debian GNU/Linux
> http://www.acampbell.org.uk - sample my ebooks at
> http://www.smashwords.com/profile/view/acampbell
>
>


Re: new google docs interface, with wave backend. (collaboration trends)

2010-04-14 Thread Abdelrazak Younes

On 04/13/2010 04:43 PM, Jürgen Spitzmüller wrote:

rgheck wrote:

It'd be nice to hear precisely what people would want that version
control does not provide. I have a hard time myself seeing why it is any
more than an "isn't that cool" feature for two people simultaneously to
edit a single document. I.e., fun, but hardly revolutionary as far as
actual productivity goes, at least for the sort of work most LyX users
actually do. There's no doubt that LyXs' VC support could be improved,
and it has been in some significant ways for 2.0, so we'd happily hear
suggestions about that, too.


I also think that VC probably provides all you need for collaboration
(although a closer integration of VC, comparision and CT would be cool).

For me, a main obstacle is the lack of a suitable web service. My Faculty does
not provide svn or other VC repositories, and I did not find a suitable
service on the web yet, where I can savely store my data in such a way that
only selected people can access it. But maybe I just didn't search long
enough.


You don't need it!

git (or any distributed scm) can do it for you. You can create a git 
repo for one specific LyX document (including all children and graphics) 
and use that as the transport medium. If you can clone over the web then 
fine (git supports a number of protocols icluding http); if not you can 
just as well send either the 'git diff' output or the full git repo by 
mail. At the other end, your co-writer would merge your diff or a local 
copy of your git repo and merge it with his own git repo.


As I have once outlined in the devel list, it should be possible to 
streamline the entire process within LyX. This would become the often 
requested portable LyX format, except that this file would just be a git 
repo. This way, you would have access immediately to all elements of 
your documents (including graphics) but also to the full history of the 
document. This can of collaboration tool would be unbeatable if you ask 
me. Now, we just need to find someone who has the time and energy to 
implement this :-)


Abdel.



Re: Cannot convert latex code to a lyx document.

2010-04-14 Thread Benjamin Kay
*Run python from the command line:*
Python 2.6.4 (r264:75706, Dec  7 2009, 18:43:55)
[GCC 4.4.1] on linux2
I tried running 2+2; and that worked.
*Run /usr/lib/python2.6$ python site.py from the command line:*
sys.path = [
'/usr/lib/python2.6',
'/usr/lib/python2.6/plat-linux2',
'/usr/lib/python2.6/lib-tk',
'/usr/lib/python2.6/lib-old',
'/usr/lib/python2.6/lib-dynload',
'/usr/lib/python2.6/dist-packages',
'/usr/lib/python2.6/dist-packages/Numeric',
'/usr/lib/python2.6/dist-packages/PIL',
'/usr/lib/python2.6/dist-packages/gst-0.10',
'/usr/lib/pymodules/python2.6',
'/usr/lib/python2.6/dist-packages/gtk-2.0',
'/usr/lib/pymodules/python2.6/gtk-2.0',
'/usr/lib/python2.6/dist-packages/wx-2.6-gtk2-unicode',
'/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode',
'/usr/local/lib/python2.6/dist-packages',
]
USER_BASE: '/home/bkay/.local' (exists)
USER_SITE: '/home/bkay/.local/lib/python2.6/site-packages' (doesn't exist)
ENABLE_USER_SITE: True
*As far as I can tell I didn't have a PYTHONPATH. I added
PYTHONPATH=/usr/local/lib/python2.6 and export PYTHONPATH to my .bashrc and
got the same set of errors*

*I thought it may be a path or network drive problem in windows. When I run
tex2lyx on the command line on my windows box in the lyx bin directory I
get:*
C:\Program Files\LyX16\bin>tex2lyx latexexample.tex
Creating file C:/Program Files/LyX16/bin/latexexample.lyx
\end{document} does not match \begin{center}
\end{verbatim} does not match \begin{document}
\end{document} does not match \begin{verbatim}
Bug: Ignoring par-level extra stuff '\noindent
'

*Which generates a file I can open with lyx, which is good. I had been
running it from a network drive (using expandrive) and having trouble. I was
also able to confirm it worked from local "My Documents". It also worked in
lyx. I guess problem solved (or at least worked around) for windows.* *When
I run the command directly on the tex2lyx on the network drive file it also
works:*
C:\Program Files\LyX16\bin>tex2lyx -f "Z:\Documents\Macro\Predicting housing
prices with rates and risk\Latex_Output_for_Housing_Class_1.tex"
Creating file Z:/Documents/Macro/Predicting housing prices with rates and
risk/Latex_Output_for_Housing_Class_1.lyx


*Then I thought it might be the spaces in the directory name in the path to
the latex source file. when I renamed the directory to
Predicting_housing_prices_with_rates_and_risk I got the same error, so I
think it is something else. *

*
So, to summarize. I can get tex2lyx to work and lyx to call it from windows
when working on a local drive but not a network drive. I cannot get tex2lyx
(or call it from lyx) from my linux machine (local only tried) . I have
verified that I have python installed, at leas superficially works, and also
added the PYTHONPATH shell parameter. *
_





On 2010-04-14,Guenter Milde wrote:
This looks very much like a broken Python installation.
The module "site.py" is a very basic one

python2.6-minimal: /usr/lib/python2.6/site.py

and should be found. Do you have a local Python installation?
What is the Python version and what is the PYTHONPATH



On 2010-04-14, Benjamin Kay wrote:

> I cannot import Latex code into Lyx using tex2lyx or using
> File-Import-Latex (plain).
...

> The error from the command line (tex2lyx -f
> Latex_Output_for_Housing_Class_1.tex tmp.lyx ) is more elaborate but no
> more helpful to me:

> 'import site' failed; use -v for traceback
> 'import site' failed; use -v for traceback
> Traceback (most recent call last):
> File "/usr/share/lyx/scripts/layout2layout.py", line 15, in 
> import os, re, string, sys
> File "/usr/lib/python2.6/os.py", line 49, in 
> import posixpath as path
> File "/usr/lib/python2.6/posixpath.py", line 16, in 
> import warnings
> File "/usr/lib/python2.6/warnings.py", line 6, in 
> import linecache
> ImportError: No module named linecache
> Could not run layout conversion script layout2layout.py.
> We failed to find the layout '' in the layout list. You MUST
> investigate!
> Segmentation fault




 #> python

   import sys
   sys.path

?

Do you get the same error on the Windows machine?




http://www.mail-archive.com/lyx-users@lists.lyx.org/
http://www.lyx.org/wiki/index.php/Web/MailingLists
-- 
Benjamin Kay


RE: Cannot convert latex code to a lyx document.

2010-04-14 Thread Vincent van Ravesteijn - TNW
>*
>So, to summarize. I can get tex2lyx to work and lyx to
>call it from windows when working on a local drive but
>not a network drive. 

This is http://www.lyx.org/trac/ticket/6127.

If you cannot open a command prompt and cd into the specified directory,
File-Import does not work from LyX.

Vincent


Re: Cannot convert latex code to a lyx document.

2010-04-14 Thread Benjamin Kay
I can cd into the directory from the command prompt.
>From : Z:\>
Run: cd "\Documents\Macro\Predicting_housing_prices_with_rates_and_risk\"
Result: Z:\Documents\Macro\Predicting_housing_prices_with_rates_and_risk>

On Wed, Apr 14, 2010 at 8:03 AM, Vincent van Ravesteijn - TNW <
v.f.vanraveste...@tudelft.nl> wrote:

> >*
> >So, to summarize. I can get tex2lyx to work and lyx to
> >call it from windows when working on a local drive but
> >not a network drive.
>
> This is http://www.lyx.org/trac/ticket/6127.
>
> If you cannot open a command prompt and cd into the specified directory,
> File-Import does not work from LyX.
>
> Vincent
>



-- 
Benjamin Kay
benjamin...@gmail.com
http://econ.ucsd.edu/~bkay/
(347) 878-8537
917-589-2503


Re: new google docs interface, with wave backend. (collaboration trends)

2010-04-14 Thread Jose Quesada
Great post Abdel.

The idea of sharing repos as a portable document format is great. The only
issue I have with git is that it depends on a mixture of C, shell and perl
scripts that make it hardly portable. But I could be wrong. Assuming a
working python on the system is not that bad (OSX, *BSDs and linuxes most
have them). And python is already a requirement for LyX right? So my vote
goes to mercurial.
Best,
-Jose

Jose Quesada, PhD.
Max Planck Institute,
Center for Adaptive Behavior and Cognition,
Berlin
http://www.josequesada.name/
http://twitter.com/Quesada


On Wed, Apr 14, 2010 at 3:49 PM, Abdelrazak Younes  wrote:

> On 04/13/2010 04:43 PM, Jürgen Spitzmüller wrote:
>
>> rgheck wrote:
>>
>>> It'd be nice to hear precisely what people would want that version
>>> control does not provide. I have a hard time myself seeing why it is any
>>> more than an "isn't that cool" feature for two people simultaneously to
>>> edit a single document. I.e., fun, but hardly revolutionary as far as
>>> actual productivity goes, at least for the sort of work most LyX users
>>> actually do. There's no doubt that LyXs' VC support could be improved,
>>> and it has been in some significant ways for 2.0, so we'd happily hear
>>> suggestions about that, too.
>>>
>>
>> I also think that VC probably provides all you need for collaboration
>> (although a closer integration of VC, comparision and CT would be cool).
>>
>> For me, a main obstacle is the lack of a suitable web service. My Faculty
>> does
>> not provide svn or other VC repositories, and I did not find a suitable
>> service on the web yet, where I can savely store my data in such a way
>> that
>> only selected people can access it. But maybe I just didn't search long
>> enough.
>>
>
> You don't need it!
>
> git (or any distributed scm) can do it for you. You can create a git repo
> for one specific LyX document (including all children and graphics) and use
> that as the transport medium. If you can clone over the web then fine (git
> supports a number of protocols icluding http); if not you can just as well
> send either the 'git diff' output or the full git repo by mail. At the other
> end, your co-writer would merge your diff or a local copy of your git repo
> and merge it with his own git repo.
>
> As I have once outlined in the devel list, it should be possible to
> streamline the entire process within LyX. This would become the often
> requested portable LyX format, except that this file would just be a git
> repo. This way, you would have access immediately to all elements of your
> documents (including graphics) but also to the full history of the document.
> This can of collaboration tool would be unbeatable if you ask me. Now, we
> just need to find someone who has the time and energy to implement this :-)
>
> Abdel.
>
>


Re: new google docs interface, with wave backend. (collaboration trends)

2010-04-14 Thread Abdelrazak Younes

On 04/14/2010 06:42 PM, Jose Quesada wrote:

Great post Abdel.

The idea of sharing repos as a portable document format is great. The 
only issue I have with git is that it depends on a mixture of C, shell 
and perl scripts that make it hardly portable. But I could be wrong.


For what we need, only the compiled c program is required. But in any 
case msysgit runs pretty fine under Windows and git has even been ported 
to MSVC nowadays.


Assuming a working python on the system is not that bad (OSX, *BSDs 
and linuxes most have them). And python is already a requirement for 
LyX right? So my vote goes to mercurial.


We are not at the voting step just now, this is all vaporware we are 
talking about ;-)


AFAIK mercurial also rely on some compiled c-code but I can be wrong.

In any case, the goal would be to rely on an installed git or mercurial, 
not to redistribute them I guess. Under Windows, distributing git or 
mercurial would just be a packaging issue, nothing else.


Abdel.



Fwd: import preamble

2010-04-14 Thread stefano franchi
-- Forwarded message --
From: stefano franchi 
Date: Wed, Apr 14, 2010 at 1:10 PM
Subject: Re: import preamble
To: Guenter Milde 




On Tue, Apr 13, 2010 at 4:51 AM, Guenter Milde wrote:

> On 2010-04-12, Jürgen Spitzmüller wrote:
> > Hauser Helmut wrote:
> >> I have a larger document divided into chapters, which I include via the
> >> 'include' command. Now it happens that I want to change some details in
> >> the style (e.g., marginsize) or that I want include a new package. The
> >> problem is, if I change the preamble of the parent document it will
> >> affect the whole output (which I want), but it will not affect the
> >> single child documents. How can I trespass this information to all of my
> >> child documents? Or to put it differently, how can I change all
> >> preambles at once?
>
> > Outsource the preamble to a file mypreamble.tex and include this file
> into
> > each document via
>
> > \input{mypreamble}
>
> This is what I use for the "LaTeX preamble" part.
>
> It does not work for the other parts of Document>Settings. Therefore I
> edit the set of *.lyx files with my favourite text editor, which has a
> grep-replace function.
>

Speaking for the  the grep-challenged among us:

Would a kind soul provide a mini-script that, given Lyx files S(ource) and
C(opy), makes ALL C's Document settings identical to S's?

Even better, wouldn't this be a natural addition to the Document Settings
dialog: "Import all settings from file"? (Framemaker works this way, for
instance)

Stefano

-- 
__
Stefano Franchi
Department of Philosophy   Ph:   (1) 979 862-2211
Texas A University Fax: (1) 979 845-0458
College Station, Texas, USA





-- 
__
Stefano Franchi
Department of Philosophy   Ph:   (1) 979 862-2211
Texas A University Fax: (1) 979 845-0458
College Station, Texas, USA


Re: Elseartice on Lyx

2010-04-14 Thread Bruno Cocciaro

--
From: "rgheck" 
Sent: Wednesday, April 14, 2010 1:45 PM
To: "Bruno Cocciaro" 
Cc: 
Subject: Re: Elseartice on Lyx

Apparently, you are missing the info for this font. I'm not sure why the 
elsearticle template wants it, but you can try installing it however 
MikTeX allows you to do that.


rh




the folder

C:\Program Files\MiKTeX 2.8\tex\latex\psnfss

contains the file pifont.sty

I putted that file into that folder after downloaded from web (is that a 
wrong action?).


When pifont.sty was not in that folder I was obataining a different error. 
This one:


"LaTeX Error: File `pifont.sty' not found."


If I delete the file, reconfigure Lyx, and open again the template 
elsarticle, I obtain again the error

"LaTeX Error: File `pifont.sty' not found." when I try to view the pdf.


Bruno Cocciaro

--- Li portammo sull'orlo del baratro e ordinammo loro di volare.
--- Resistevano. Volate, dicemmo. Continuavano a opporre resistenza.
--- Li spingemmo oltre il bordo. E volarono. (G. Apollinaire) 


Re: Elseartice on Lyx

2010-04-14 Thread Julien Rioux

On 14/04/2010 2:33 PM, Bruno Cocciaro wrote:

the folder

C:\Program Files\MiKTeX 2.8\tex\latex\psnfss

contains the file pifont.sty

I putted that file into that folder after downloaded from web (is that a
wrong action?).


You found the right package (psnfss), but the proper way to install 
latex packages is using MiKTeX's package manager from your Start menu.


(and, preferably, do so while being logged in with administrator 
priviledges)


--
Julien


Re: insert custom layout

2010-04-14 Thread Sajjad
It seems very obvious that i have get down more on the basics of LaTeX.
 Even though i managed so far with LyX, without getting too much on LaTeX,
it will not take me any further.


Some of the options can be set by editing the from the LyX interface and
some of hem through inserting TEX code.

And i find that hard to decide which one is the better option to go with .


Regards
Sajjad

On Tue, Apr 13, 2010 at 4:25 PM, rgheck  wrote:

> On 04/13/2010 06:12 AM, Guenter Milde wrote:
>
>>
>> The problem occured also in the dinbrief class. It's solved by
>> defining two styles. From dinbrief.layout::
>>
>>   # dinbrief's \phone has 2 args, area and number. We define an empty
>>   # command that can be set by the Area_Code style
>>   Preamble
>>\newcommand{\areacode}{}
>>   EndPreamble
>>
>> ...
>>
>>   # dinbrief's \phone has 2 args, area and number,
>>   # define both as distinct styles
>>
>>   Style "Area code"
>>CopyStyle   DinBrief
>>LabelString "Vorwahl:"
>>LatexName   "renewcommand{\areacode}"
>>   End
>>
>>   Style Telephone
>>CopyStyle   DinBrief
>>LabelString "Telefon:"
>>LatexName   phone
>>LatexParam  {\areacode}
>>   End
>>
>>
>> It should be possible to adapt this technique to liuthesis if the ERT
>> hack is too hackish.
>>
>>
>>
> That's impressive, but pretty hackish itself! Perhaps for 2.1 I'll try to
> get actual multi-argument commands working.
>
> rh
>
>


Re: insert custom layout

2010-04-14 Thread Julien Rioux

On 14/04/2010 3:03 PM, Sajjad wrote:

It seems very obvious that i have get down more on the basics of LaTeX.
  Even though i managed so far with LyX, without getting too much on LaTeX,
it will not take me any further.


Some of the options can be set by editing the from the LyX interface and
some of hem through inserting TEX code.

And i find that hard to decide which one is the better option to go with .


Regards
Sajjad



When a feature is already implemented in LyX, you should use it over TeX 
code. For example, a \clearpage command can be put in TeX code, but it 
is neater to use LyX's Import > Formatting > Clear Page.


When a feature is not already supported by LyX, it could be implemented. 
LyX can be customized in many ways, which makes it quite powerful. To 
list those options from the top of my head:


file formats and converters:
for inserting graphics from your favorite editor and what not.

layouts:
for new types of documents (closely linked to latex document classes)

modules:
for simple functionality not necessarily tied to a document type 
(closely related to latex packages)


Mind you, editing a custom layout or module is something of an advanced 
feature. It's not overly difficult in simple cases, but it sure can get 
complicated, and relies on knowledge of LyX's syntax and of LaTeX in 
many cases. When done properly, one can happily write text inside LyX 
and not worry about "programming" your document so that it produces 
output. But the starting point for new features will often be tried out 
first in TeX code boxes, and then moved to a module or layout. And 
sometimes one can be very happy with TeX code in the document and in the 
preamble, as long as it works.


So whatever works for you, I guess. If you have specific issues we'll be 
happy to help.


Regards,
Julien


Re: Abstract Layout template

2010-04-14 Thread Uwe Stöhr

Am 14.04.2010 14:29, schrieb Andy:


I am trying to submit an abstract to a conference  and I was wondering if
anyone had/used/knows of  a useful Lyx layout/LaTeX class for producing a
one-page abstract.
I've seen a lot of LaTeX templates on the web but they are too specialised
or far too basic


I use the document class "article (koma-script)" for conference 
abstracts, but only if the conference doesn't have some special layout 
requirements. In these cases you are quicker to use OpenOffice (or Word 
or AbiWord) instead of fiddling around with LaTeX to get the special 
required format.


regards Uwe


Re: Elseartice on Lyx

2010-04-14 Thread Bruno Cocciaro
Ohhh, problem solved.

My packages was downloaded from 

ftp.uniRoma2.it

and package psnfss did not contain pifont.psy !!!
As I said I added pifont.psy at that package but after that I obtained the 
problem I said.

So I deleted the package and downloaded it again from a different link:

ftp.uni-erlagen.de

now the package contains the file pifont.sty.
After reconfigured Lyx and opened elsarticle template, when I went to view the 
pdf, Lyx asked me first time to update somethingh (I do not remember what) and 
the pdf opened wthout any problem. If I repeat the open of the template and ask 
for the pdf I obtain it without any problem (and without any further request to 
dowload somethngh).

Seems that the psnfss package dowloadable from ftp.uniRoma2.it should be 
corrected.

Thank you very much to any of you.


Bruno Cocciaro

--- Li portammo sull'orlo del baratro e ordinammo loro di volare.
--- Resistevano. Volate, dicemmo. Continuavano a opporre resistenza.
--- Li spingemmo oltre il bordo. E volarono. (G. Apollinaire)

Re: new google docs interface, with wave backend. (collaboration trends)

2010-04-14 Thread Typhoon
On Wed, 14 Apr 2010 18:56:10 +0200
Abdelrazak Younes  wrote:

> On 04/14/2010 06:42 PM, Jose Quesada wrote:
> > Great post Abdel.
> >
> > The idea of sharing repos as a portable document format is great.
> > The only issue I have with git is that it depends on a mixture of
> > C, shell and perl scripts that make it hardly portable. But I could
> > be wrong.
> 
> For what we need, only the compiled c program is required. But in any 
> case msysgit runs pretty fine under Windows and git has even been
> ported to MSVC nowadays.
> 
> > Assuming a working python on the system is not that bad (OSX, *BSDs 
> > and linuxes most have them). And python is already a requirement
> > for LyX right? So my vote goes to mercurial.
> 
> We are not at the voting step just now, this is all vaporware we are 
> talking about ;-)
> 
> AFAIK mercurial also rely on some compiled c-code but I can be wrong.
> 
> In any case, the goal would be to rely on an installed git or
> mercurial, not to redistribute them I guess. Under Windows,
> distributing git or mercurial would just be a packaging issue,
> nothing else.

I don't know what the technical challenges might be, but do we have to
choose? Emacs supports RCS, CVS, bazaar, mercurial and git (at least -
there may be others). Let the user choose. The LyX side of it doesn't
need to do everything. Again using Emacs as the model, it allows
commits and reversions, shows annotations and other forms of history,
takes snapshots -- all through a common interface.

If it isn't necessary, I don't think that LyX should lock into one
system. Thinking particularly of collaboration, most of our
collaborators are less flexible and less informed than the members of
this list.

Cheers,
Alan

> 
> Abdel.
> 
> 


-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206



Re: new google docs interface, with wave backend. (collaboration trends)

2010-04-14 Thread Jose Quesada
For those looking for private repos:
blog.assembla.com/assemblablog/tabid/12618/bid/12217/April-14-Repo-Blitz-Free-unlimited-SVN-and-GIT-and-much-more.aspx

good
move assembla. this is a good move:
"We are now offering free, privately permissioned, encryption enabled,
unlimited user, full gigabyte, commercial quality subversion and git
repositories, and that is just the beginning."

beats github (zero private repos for free) and bitbucket (one)

Best,
-Jose

Jose Quesada, PhD.
Max Planck Institute,
Center for Adaptive Behavior and Cognition,
Berlin
http://www.josequesada.name/
http://twitter.com/Quesada


On Wed, Apr 14, 2010 at 11:26 PM, Typhoon  wrote:

> On Wed, 14 Apr 2010 18:56:10 +0200
> Abdelrazak Younes  wrote:
>
> > On 04/14/2010 06:42 PM, Jose Quesada wrote:
> > > Great post Abdel.
> > >
> > > The idea of sharing repos as a portable document format is great.
> > > The only issue I have with git is that it depends on a mixture of
> > > C, shell and perl scripts that make it hardly portable. But I could
> > > be wrong.
> >
> > For what we need, only the compiled c program is required. But in any
> > case msysgit runs pretty fine under Windows and git has even been
> > ported to MSVC nowadays.
> >
> > > Assuming a working python on the system is not that bad (OSX, *BSDs
> > > and linuxes most have them). And python is already a requirement
> > > for LyX right? So my vote goes to mercurial.
> >
> > We are not at the voting step just now, this is all vaporware we are
> > talking about ;-)
> >
> > AFAIK mercurial also rely on some compiled c-code but I can be wrong.
> >
> > In any case, the goal would be to rely on an installed git or
> > mercurial, not to redistribute them I guess. Under Windows,
> > distributing git or mercurial would just be a packaging issue,
> > nothing else.
>
> I don't know what the technical challenges might be, but do we have to
> choose? Emacs supports RCS, CVS, bazaar, mercurial and git (at least -
> there may be others). Let the user choose. The LyX side of it doesn't
> need to do everything. Again using Emacs as the model, it allows
> commits and reversions, shows annotations and other forms of history,
> takes snapshots -- all through a common interface.
>
> If it isn't necessary, I don't think that LyX should lock into one
> system. Thinking particularly of collaboration, most of our
> collaborators are less flexible and less informed than the members of
> this list.
>
> Cheers,
> Alan
>
> >
> > Abdel.
> >
> >
>
>
> --
> Alan L Tyreehttp://www2.austlii.edu.au/~alan
> Tel:  04 2748 6206
>
>


ANNOUNCE: LyX version 2.0.0 (alpha 2)

2010-04-14 Thread Pavel Sanda
Public release of LyX version 2.0.0 (alpha 2)
=

We are pleased to announce the second alpha release of LyX 2.0.0.

Please note that this release is for testing purposes only and
users are encouraged to use the current 1.6 stable release for any
serious work. We are, however, grateful for any feedback regarding
the bugs and problems you will report to us.

Tarballs can be found at ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.0/ .
Binaries should follow soon.

LyX 2.0.0 will be culmination of more than 17 months of hard work
and you can find an overview of the new features here:
http://wiki.lyx.org/LyX/NewInLyX20

Note that some of the features intended for 2.0 are still missing.

If you think you found a bug in LyX 2.0.0, either e-mail the LyX
developers' mailing list (lyx-devel at lists.lyx.org), or open a bug
report at http://www.lyx.org/trac/wiki/BugTrackerHome .
Please check that the bug was not already reported before you file
a new one.

We hope you will enjoy the result!

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


Re: Is this a bug?? \underbar{\alpha} crashes...

2010-04-14 Thread Jacob
Thank you for the concise reply.