Re: biblatex-biber citations

2010-04-13 Thread Jürgen Spitzmüller
Wolfgang Engelmann wrote:
 I would guess there is something wrong with the perl install

Yes, looks like the biber/perl setup is broken. I'm sorry, I cannot help much. 
You could try a complete reinstall of biber.

Jürgen


Re: biblatex-biber citations

2010-04-13 Thread Wolfgang Engelmann
Am Tuesday 13 April 2010 08:27:56 schrieb Jürgen Spitzmüller:
 Wolfgang Engelmann wrote:
  I would guess there is something wrong with the perl install

 Yes, looks like the biber/perl setup is broken. I'm sorry, I cannot help
 much. You could try a complete reinstall of biber.

 Jürgen

Thanks for all your help, Jürgen

Wolfgang


Re: bibtopic usage

2010-04-13 Thread Jürgen Spitzmüller
Thibaud Hulin wrote:
 Great, that works... Have you an idea to eliminate name of the author
 and the code of the referece ? With plainurl, I used {} instead of my
 name or {With Name_of_the_Collaborator} for a collaborative work. The
 result with plainat is not very usable for a CV... And plain style
 doesn't use urls...

You can either hack plainat.bst or use a style that was sepcifically designed 
for publication lists, such as this here:
http://wiki.lyx.org/BibTeX/Publist

Jürgen


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

2010-04-13 Thread Sam Liddicott

 On 12/04/10 21:28, Jose Quesada wrote:

Hi All,

New google docs interface, with wave backend. (collaboration trends).
googledocs.blogspot.com/2010/04/new-google-docs.html

Most people agree that collaboration tools in latex lag behing word/gdocs.
LyX has track changes, but it's very hard to convince collaborators to use
it.
It'd be good to keep an eye on this. Office will come up with online
versions for Office 2010. If every other tool has a cloud version, LyX will
be perceived as old-style and it'd be even harder to convince collaborators


Rich xml formats with overlapping features allow conversions to be done 
with xslt.


Perhaps google docs can be used as a collaboration back end, with xslt 
conversion to lyx's new xml format locally.


Sam


Re: bibtopic usage

2010-04-13 Thread Thibaud Hulin
Thanks you. The problem is I can't easily change of biblio style,
because I has some errors. For example, I use plainnat that works. I
change it for plain, it fails ; I come back to plainnat, it fails. But
if I record and restart lyx, compilations works ! So now I can use
plainurl that works by this way. Is it a bug of lyx ?

Last version of plainurl
http://mirror.ctan.org/biblio/bibtex/contrib/urlbst/plainurl.bst

2010/4/13, Jürgen Spitzmüller sp...@lyx.org:
 Thibaud Hulin wrote:
 Great, that works... Have you an idea to eliminate name of the author
 and the code of the referece ? With plainurl, I used {} instead of my
 name or {With Name_of_the_Collaborator} for a collaborative work. The
 result with plainat is not very usable for a CV... And plain style
 doesn't use urls...

 You can either hack plainat.bst or use a style that was sepcifically
 designed
 for publication lists, such as this here:
 http://wiki.lyx.org/BibTeX/Publist

 Jürgen



Re: como evitar espacios en blanco entre párrafos

2010-04-13 Thread Anthony Campbell
On 12 Apr 2010, rgheck wrote:

[snip] 

 If I understand, and my Spanish is terrible, was the problem that
 the space between paragraphs varies? If so, then of course LaTeX
 does that on purpose, and if there are a lot of floats, you can see
 this kind of thing quite often.
 
 Richard

I've found that this problem is fixed by including \raggedbottom in the
preamble.

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: bibtopic usage

2010-04-13 Thread Jürgen Spitzmüller
Thibaud Hulin wrote:
 Thanks you. The problem is I can't easily change of biblio style,
 because I has some errors. For example, I use plainnat that works. I
 change it for plain, it fails ; I come back to plainnat, it fails. But
 if I record and restart lyx, compilations works ! So now I can use
 plainurl that works by this way. Is it a bug of lyx ?

I'm not sure it can be called a bug (of LyX). The problem is that the aux 
files should be regenerated from scratch. But I guess it is hard (if at all 
possible) for LyX to guess this.

Jürgen


Lyx Template for Book in Gabler Research

2010-04-13 Thread Nina Lafayette

Dear List,

The layout of my PhD thesis written in Lyx has to be transformed to the  
specifications of the Gabler Research (part of Springer Media). Does  
anybody have created  a corresponding layout file or can anybody tell me  
which layout file I should use to come closer to the publisher's  
specifications?


I am looking forward to your help!

Kind regards,
Nina




Thesaurus in spanish lyx-2.0.0alpha1

2010-04-13 Thread icebna

Hi all :

I have installed Spanish ( Spain ) Openoffice's thesauro; I have 
indicated the path  in Preferences, admits me the thesauro with an icon, 
but it does not work.


Can you help me ?

Thanks advanced

Miguel


Re: Mathmatics...

2010-04-13 Thread Guenter Milde
On 2010-04-12, OldDeath wrote:

Dear OldDeath,

 I'm using a costum keyboard layout (called neo layout) that allows me =
 to enter math unicode chars, such as =E2=84=82, =E2=84=95 or =E2=84=9D, =
 directly from my keyboard.  However these unicode chars arent displayed =
 correctly in the editor area

You must use a GUI font that supports/contains these characters.

 and are not converted correctly into the =
 output pdf file...

You might copy the file unicodesymbols from the LYXDIR to your
personal LYXDIR and add Unicode-to-LaTeX definitions.

Alternatively, try whether you can configure LyX keybindings to e.g.
math-insert something given the Unicode char.

Günter



Re: import preamble

2010-04-13 Thread Guenter Milde
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.

Günter





Re: Lilypond+Lyx

2010-04-13 Thread Guenter Milde
On 2010-04-12, Helge Hafting wrote:
 Bernardo Barros wrote:

 ... with this method there isn't much difference of
 this and importing the PDF already. It's not less work.

 It is slightly less; LyX will manage the creation of PDFs itself, you 
 will not need to update the PDF when changing the .ly file.

 Of course, embedding lilypond code in LyX would be even less work. But I 
 don't know a quick way to program that.
...

It should/could be done similar to literate programming and
R/Sweave support.

...

 What you want can be done though. Lilypond code could be stored in the
 .lyx file, and LyX could write out a temporary .ly file and process it 
 with lilypond.

There is already the lilybook program that does this
separation/processing/replacement for Lilypond code in a tex file.
Hence, LyX should export a tex file and then process it with lilybook
before carrying on with latex ...

 You may want to file an enhancement request for this at 
 http://www.lyx.org/trac/wiki/BugTrackerHome
 so your idea is not forgotten. 

Also, this has been discussed on this (or the devel) list some time
ago. AFAIK the framework for an implementation is now in place.

Günter



Re: Thesaurus in spanish lyx-2.0.0alpha1

2010-04-13 Thread Jürgen Spitzmüller
icebna wrote:
 I have installed Spanish ( Spain ) Openoffice's thesauro; I have 
 indicated the path  in Preferences, admits me the thesauro with an icon, 
 but it does not work.

Hm. Looks like the thesaurus is broken currently in trunk. Last time I touched 
it, it still worked.

Jürgen


Re: Question: Lyx Position of pagenumbers in chapters, index, bibliography

2010-04-13 Thread Guenter Milde
On 2010-04-11, Erik Schetters wrote:

 i am using Lyx for several days now and I begin to like it.

 I use the report - koma-script

 But I have several problems, which I cannot solve.

...

Most of your problems can be solved with code in the custom latex preamble 
(DocumentSettingsLaTeX preamble).

You will find extensive documentation of the koma-script document classes
in the file scrguide.pdf which should come with your LaTeX installation.
(If you download a version from the net, make sure the described version
matches the KOMA-script version of your TeX installation.)

Günter



Re: insert custom layout

2010-04-13 Thread Guenter Milde
On 2010-04-12, rgheck wrote:
 On 04/10/2010 06:24 PM, Julien Rioux wrote:
 Sajjaddosto.wa...@...  writes:

 ... there is a problem here because liuthesis redefines \title
 to take 2 arguments:

 You must always provide both a Swedish (first argument) and an English
 title (second argument), \title{Svensk titel}{English Title}.

 but LyX will output \title{YOUR TITLE} no matter what (i.e., only 1
 argument).

This can be changed in the layout file (although not straightforward).

 A workaround is to write your Swedish title like usual and then, at
 the end of the line, insert a TeX box and write }{English title
 inside it (with the braces).

Or put just the }{ in the ERT box and write the English Title
as normal text.

 There isn't at present any good way to do this. Multi-argument commands 
 aren't directly supported. I've been thinking about this for a while, 
 but haven't done anything.

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.

Günter



Re: insert custom layout

2010-04-13 Thread rgheck

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: new google docs interface, with wave backend. (collaboration trends)

2010-04-13 Thread Jürgen Spitzmüller
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.

Jürgen


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

2010-04-13 Thread rgheck

On 04/13/2010 10:43 AM, 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.

   
I looked into some of this a while ago, and there aren't great options 
for the sort of thing we're discussing: I.e., not programming, and not 
open to everyone's eyes. Brown, as it happens, does provide such a 
facility, though I haven't yet found the time even to move our website 
code over there.


Have you asked the IS people if they'd think about supporting svn on 
their servers?


Richard



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

2010-04-13 Thread Jürgen Spitzmüller
rgheck wrote:
 Have you asked the IS people if they'd think about supporting svn on 
 their servers?

Yes, and they're actually quite open to it. However, I would probably be the 
only one using it (the demand of such things is not great in a humanities 
faculty), so I am somewhat reluctant in demanding it too strongly (the more so 
since our IT people are, as probably everywhere, notoriously busy with other 
things).

Jürgen


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

2010-04-13 Thread Luca D.M.
Hallo everyone, I'm missing what exactly Are we talking about.  
Bringing some LyX abilities on The cloud? And u need an svn / data  
service?


Greets,

Luca D.M.

Inviato da iPhone

Il giorno 13/apr/2010, alle ore 17.11, Jürgen Spitzmüller  
sp...@lyx.org ha scritto:



rgheck wrote:

Have you asked the IS people if they'd think about supporting svn on
their servers?


Yes, and they're actually quite open to it. However, I would  
probably be the
only one using it (the demand of such things is not great in a  
humanities
faculty), so I am somewhat reluctant in demanding it too strongly  
(the more so
since our IT people are, as probably everywhere, notoriously busy  
with other

things).

Jürgen


Subscript in a chemical symbol and lyx formula

2010-04-13 Thread YURENA MENDOZA
I want to put a subscript in a chemical symbol using the mhchem package, for
example CO2pc. On the other hand, Can I put into by the same way as I enter
in a paragraph (using a box in lyx to introduce lyx code) in a Lyx formula
?

Thank you


Re: Subscript in a chemical symbol and lyx formula

2010-04-13 Thread rgheck

On 04/13/2010 12:25 PM, YURENA MENDOZA wrote:

I want to put a subscript in a chemical symbol using the mhchem package, for
example CO2pc. On the other hand, Can I put into by the same way as I enter
in a paragraph (using a box in lyx to introduce lyx code) in a Lyx formula?

   
In formulas, you can just enter raw LaTeX if you like. E.g., you can 
type \hello{hi}, and that is precisely what you will see. If you had 
in your preamble:

\newcommand\hello[1]{2^{#1}}
Then you'd get the output you expect.

Note that you do need to be careful about whether the brackets are 
escaped, i.e., whether the LaTeX is: {, or \{. LyX displays argument 
brackets in red, and delimiter brackets in blue. To get the former, 
you type \{, ironically enough, though you will get them automatically 
immediately after a command.


Richard



Re: Subscript in a chemical symbol and lyx formula

2010-04-13 Thread rgheck

On 04/13/2010 12:25 PM, YURENA MENDOZA wrote:

I want to put a subscript in a chemical symbol using the mhchem package, for
example CO2pc. On the other hand, Can I put into by the same way as I enter
in a paragraph (using a box in lyx to introduce lyx code) in a Lyx formula?

   
In formulas, you can just enter raw LaTeX if you like. E.g., you can 
type \hello{hi}, and that is precisely what you will see. If you had 
in your preamble:

\newcommand\hello[1]{2^{#1}}
Then you'd get the output you expect.

Note that you do need to be careful about whether the brackets are 
escaped, i.e., whether the LaTeX is: {, or \{. LyX displays argument 
brackets in red, and delimiter brackets in blue. To get the former, 
you type \{, ironically enough, though you will get them automatically 
immediately after a command.


Richard



Re: Subscript in a chemical symbol and lyx formula

2010-04-13 Thread Uwe Stöhr

Am 13.04.2010 18:25, schrieb YURENA MENDOZA:


I want to put a subscript in a chemical symbol using the mhchem package, for
example CO2pc.


For a description how this is done, see sec. 20 of the Math manual that 
you find in LyX's Help menu.


 On the other hand, Can I put into by the same way as I enter in
 a paragraph (using a box in lyx to introduce lyx code) in a Lyx formula?

I don't know what you mean.

regards Uwe


Re: Latex error entering addresses

2010-04-13 Thread Uwe Stöhr

Am 12.04.2010 13:36, schrieb YURENA MENDOZA:


Lyx tells me an error when I enter the addresses (I have two different
ones) of the authors just below the names of the authors of a paper. I have
these addresses as as address in preliminary section . Exactly the message
is as follows: The control sequence at the end of the top line

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


Can you please provide a _small_ LyX file showing the problem?

regards Uwe


Re: Question: Lyx Position of pagenumbers in chapters, index, bibliography

2010-04-13 Thread Uwe Stöhr

I use the report - koma-script

But I have several problems, which I cannot solve.

Here my biggest one:

I need my pagenumbers in right high corner

But Lyx does not include the chapters, index. .


Because you redefined the header lines in the way that they don't 
include any more the chapter names. Defining header/footer lines is 
explained in the KOMA-script manual

http://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/
(the German version is scrguide.pdf).

You can also have a look at this thesis example file as example:
http://fkurth.de/uwest/LyX/ThesisTemplate/Diss-Template.zip


Other Problems:

In my Indexes should not be all chapters of my appendix. I would like that
there is just written: A Appendix ... page XX


I don't understand. An index does in general not contain section/chapter 
names.
In case you don't want to have a section/chapter listed in the table of 
contents, use the star-version of the environment (chapter* instead of 
chapter).



And in my appendix I will need a second Index which shows just the content
of the appendix.


I also don't understand what you want here exactly, a second table of 
contents, but only for the appendices. This is very uncommon and i have 
never seen this yet. To get this, you will need to learn some LaTeX 
tricks. Have a look in the book The LaTeX companion 2nd edition. But 
note that you won't be able to compile your file with LyX if you define 
a further table of content. (You need to export your LyX file as LaTeX 
and use the command line.)



Otherwise I will fix that by using two documents, which brings another
problem:

If I make a second document, how can I cheat my pagenumbers, so that they
do not start with 1 and start with 68 or so.


Use child documents if possible as I did in the thesis example file I 
linked above.
if this is no option for you, reset the page counter using the 
LaTeX-command \setcounter{page}{xxx} where xxx is a number.


regards Uwe

p.s. What kind of document do you have to write? Your requirements sound 
a bit strange for a report, book or thesis.


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

2010-04-13 Thread Charles de Miramon
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.


After using LyX for a long time. What I would like is a possibility to 
manage the life cycle of an article.
My paper starts as a working paper, and handout and maybe a beamer 
presentation, then a long version, a short version, a version formatted for 
X, proofs, printed version, my additions and corrections to the printed 
version, a version for an online repository, bits and pieces discarded from 
the article that I want to keep with it, etc. 

Version control, Google wave seems to bring tools to manage the evolutive 
process of writing. Something, word processors are quite bad with.

Cheers,
Charles  




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

2010-04-13 Thread rgheck

On 04/13/2010 01:34 PM, Charles de Miramon 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.
 


After using LyX for a long time. What I would like is a possibility to
manage the life cycle of an article.
My paper starts as a working paper, and handout and maybe a beamer
presentation, then a long version, a short version, a version formatted for
X, proofs, printed version, my additions and corrections to the printed
version, a version for an online repository, bits and pieces discarded from
the article that I want to keep with it, etc.

   
For this kind of thing, VC is precisely what you want, I think, i.e., a 
record of the evolution of your document, the ability to rewind to older 
versions, see a record of your changes, etc.


Richard



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

2010-04-13 Thread Pavel Sanda
Jürgen Spitzmüller wrote:
 (although a closer integration of VC, comparision and CT would be cool).

i'm glad to hear somebody else also thinks it would be cool ;)
from the VC point of view things are prepared in LFUN_VC_COMPARE
but there is currently no easy way how to call comparison.
i still hope we can settle on some solution with Vincent for 2.0.

 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.

these are first hits on googling public svn service
http://allantech.blogspot.com/2007/06/awesome-publicfree-svn-repository.html
http://forums.site5.com/showthread.php?t=6580

personally i would never give my data to any alien server though.
pavel


Elseartice on Lyx

2010-04-13 Thread Bruno Cocciaro
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.

[Wizards can fix TFM files using TFtoPL/PLtoTF.]

You might try inserting a different font spec;

e.g., type `I\fontsame font id=substitute font name'.


And the dvi does not appear.

May anyone help me?
Tank you very much.


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-13 Thread Luca De Marini
Boys I made a polite question because I can offer a personalized and charge
free SVN service to Lyx. Weirdly enough, I received no answer. Intilinux
Projects, see here:
http://projects.intilinux.com/
We are Italians but I speak English perfectly so there's no problem if u
need anything: we can not only host u but also give u all the coding
services u need: svn, bzr, cvs, forums, anything u need really. Now, can u
please tell me if ou services are needed?
Greetings,

Luca

2010/4/13 Pavel Sanda sa...@lyx.org

 Jürgen Spitzmüller wrote:
  (although a closer integration of VC, comparision and CT would be cool).

 i'm glad to hear somebody else also thinks it would be cool ;)
 from the VC point of view things are prepared in LFUN_VC_COMPARE
 but there is currently no easy way how to call comparison.
 i still hope we can settle on some solution with Vincent for 2.0.

  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.

 these are first hits on googling public svn service

 http://allantech.blogspot.com/2007/06/awesome-publicfree-svn-repository.html
 http://forums.site5.com/showthread.php?t=6580

 personally i would never give my data to any alien server though.
 pavel



Installing koma-script

2010-04-13 Thread Eliseu Filho
Greetings

I've just installed lyx 1.6.5 on a Windows 7 Home Premium Edition (64-bit), 
using 
the alternative installer. The installation itself completed without problems 
and I
have lyx running.

Now I am trying to install the koma-script package, using MiKTeX's package 
manager. After I selecting the package and launching the installation, it 
downloads 
the package but config fails with the message 

Windows API Error 5: Access is denied

I have already changed the permissions of the entire MiKTex directory to Full
Control (in Windows terms) but the problem persists.

Thanks in advance for any help.

Eliseu



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

2010-04-13 Thread stefano franchi
On Tue, Apr 13, 2010 at 3:17 PM, Luca De Marini
luca.darkmas...@gmail.comwrote:

 Boys I made a polite question because I can offer a personalized and charge
 free SVN service to Lyx. Weirdly enough, I received no answer. Intilinux
 Projects, see here:
 http://projects.intilinux.com/
 We are Italians but I speak English perfectly so there's no problem if u
 need anything: we can not only host u but also give u all the coding
 services u need: svn, bzr, cvs, forums, anything u need really. Now, can u
 please tell me if ou services are needed?


Luca,

the discussion is about Wave-based or Wave-equivalent systems vs Version
control based systems for document production and documents' life cycle
management. The link you posted, however, speaks only of code-management:
Sei un programmatore ed hai bisogno di spazio WEB, WIKi e/o servizi come SVN
e Trac o altri* per sviluppare il tuo progetto?

Either the services  you offer are not relevant to the discussion, or you
should rewrite the home page of your site! I, for one,  wouldn't mind
 trying it out for some of the stuff I am writing, at least on an
experimental basis.

Cheers,

Stefano

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


Re: Installing koma-script

2010-04-13 Thread Uwe Stöhr

Am 13.04.2010 09:14, schrieb Eliseu Filho:


I've just installed lyx 1.6.5 on a Windows 7 Home Premium Edition (64-bit), 
using
the alternative installer. The installation itself completed without problems 
and I
have lyx running.

Now I am trying to install the koma-script package, using MiKTeX's package
manager.


You don't need to do that. You only need to:

- log in to your PC as administrator
- open an Internet connection
- reconfigure LyX using the menu Tools-Reconfigure

MiKTeX will then automatically install all package supported by LyX. To 
check if everything went fine, open LyX's Tutorial and view it as PDF 
(pdflatex). If a PDF is created, your installation is complete.



After I selecting the package and launching the installation, it downloads
the package but config fails with the message

Windows API Error 5: Access is denied


This usually appears when you don't have administrator privileges but 
sometimes also appears when the MiKTeX servers have problems.


regards Uwe


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

2010-04-13 Thread Typhoon
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:
 
  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.
 
 
 I looked into some of this a while ago, and there aren't great
 options for the sort of thing we're discussing: I.e., not
 programming, and not open to everyone's eyes. Brown, as it happens,
 does provide such a facility, though I haven't yet found the time
 even to move our website code over there.
 
 Have you asked the IS people if they'd think about supporting svn on 
 their servers?
 
 Richard

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 have liked it so much that I also use it between my home machine and
laptop to keep thinks in sync and not accidentally rub out work on one
or the other.

Cheers,
Alan

 
 


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



Cannot convert latex code to a lyx document.

2010-04-13 Thread Benjamin Kay
I've tried my home windows PC (1.6.5) and my office linux pc (1.6.0) with
the same results I cannot import Latex code into Lyx using tex2lyx or using
File-Import-Latex (plain). Both give me problems. I've tried known working
latex code on the Internet but that doesn't work either, so I don't think I
have a bad input on my end.

Within Lyx, the version shows up as 1.6.0 while from synaptic package
manager the installation is package 1.6.4-1ubuntu1. The version information
on windows says 1.6.5

The error message from lyx is:
An error occurred whilst running tex2lyx -f
'Latex_Output_for_Housing_Class_1.tex'

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

Attached are the two tex files I used as inputs.

Any advice on how to fix this problem or work around it? Thanks for the
help.
Benjamin Kay


latexexample.tex
Description: TeX document


Latex_Output_for_Housing_Class_1.tex
Description: TeX document


For some reason aspell via lyx doesn't 'understand single quotes'...

2010-04-13 Thread Joe(theWordy)Philbrook
Actually I noticed some time ago that using single quotes inside a LyX document
made for problems with spell check...
For example if I typed this:

Bill said, I asked her, and she said, 'No, I don't want to go.' So I
went fishing by myself.

Into a LyX document and ran the spell check function, It would suggest
replacing 'No with No... I just checked, and this still happens with
LyX 1.6.5 on Arch Linux.

I always thought this was a limitation of aspell. But I recently happened
to use a similar construct in the text of an email which I spell checked
from vim via my .vimrc key mappings:
:map s :w^M:w! $spellfile^M:!aspell -e -c $spellfile^M 
:map S :w^MG:r $spellfile^Mkd1G
(Where of course ^M is actually a single character that simulates hitting 
enter)

And it turns out that aspell itself doesn't seem to consider the ' character
to be part of a word unless it's wrapped in letters on both sides such as
in the contraction it's...

Is there a reason why LyX's implementation of aspell chokes on ' characters
used as single quotes???

-- 
|  ~^~   ~^~
|  ?   ?   Joe (theWordy) Philbrook
|  ^J(tWdy)P
|\___/ jtw...@ttlc.net



Re: biblatex-biber citations

2010-04-13 Thread Jürgen Spitzmüller
Wolfgang Engelmann wrote:
 I would guess there is something wrong with the perl install

Yes, looks like the biber/perl setup is broken. I'm sorry, I cannot help much. 
You could try a complete reinstall of biber.

Jürgen


Re: biblatex-biber citations

2010-04-13 Thread Wolfgang Engelmann
Am Tuesday 13 April 2010 08:27:56 schrieb Jürgen Spitzmüller:
 Wolfgang Engelmann wrote:
  I would guess there is something wrong with the perl install

 Yes, looks like the biber/perl setup is broken. I'm sorry, I cannot help
 much. You could try a complete reinstall of biber.

 Jürgen

Thanks for all your help, Jürgen

Wolfgang


Re: bibtopic usage

2010-04-13 Thread Jürgen Spitzmüller
Thibaud Hulin wrote:
 Great, that works... Have you an idea to eliminate name of the author
 and the code of the referece ? With plainurl, I used {} instead of my
 name or {With Name_of_the_Collaborator} for a collaborative work. The
 result with plainat is not very usable for a CV... And plain style
 doesn't use urls...

You can either hack plainat.bst or use a style that was sepcifically designed 
for publication lists, such as this here:
http://wiki.lyx.org/BibTeX/Publist

Jürgen


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

2010-04-13 Thread Sam Liddicott

 On 12/04/10 21:28, Jose Quesada wrote:

Hi All,

New google docs interface, with wave backend. (collaboration trends).
googledocs.blogspot.com/2010/04/new-google-docs.html

Most people agree that collaboration tools in latex lag behing word/gdocs.
LyX has track changes, but it's very hard to convince collaborators to use
it.
It'd be good to keep an eye on this. Office will come up with online
versions for Office 2010. If every other tool has a cloud version, LyX will
be perceived as old-style and it'd be even harder to convince collaborators


Rich xml formats with overlapping features allow conversions to be done 
with xslt.


Perhaps google docs can be used as a collaboration back end, with xslt 
conversion to lyx's new xml format locally.


Sam


Re: bibtopic usage

2010-04-13 Thread Thibaud Hulin
Thanks you. The problem is I can't easily change of biblio style,
because I has some errors. For example, I use plainnat that works. I
change it for plain, it fails ; I come back to plainnat, it fails. But
if I record and restart lyx, compilations works ! So now I can use
plainurl that works by this way. Is it a bug of lyx ?

Last version of plainurl
http://mirror.ctan.org/biblio/bibtex/contrib/urlbst/plainurl.bst

2010/4/13, Jürgen Spitzmüller sp...@lyx.org:
 Thibaud Hulin wrote:
 Great, that works... Have you an idea to eliminate name of the author
 and the code of the referece ? With plainurl, I used {} instead of my
 name or {With Name_of_the_Collaborator} for a collaborative work. The
 result with plainat is not very usable for a CV... And plain style
 doesn't use urls...

 You can either hack plainat.bst or use a style that was sepcifically
 designed
 for publication lists, such as this here:
 http://wiki.lyx.org/BibTeX/Publist

 Jürgen



Re: como evitar espacios en blanco entre párrafos

2010-04-13 Thread Anthony Campbell
On 12 Apr 2010, rgheck wrote:

[snip] 

 If I understand, and my Spanish is terrible, was the problem that
 the space between paragraphs varies? If so, then of course LaTeX
 does that on purpose, and if there are a lot of floats, you can see
 this kind of thing quite often.
 
 Richard

I've found that this problem is fixed by including \raggedbottom in the
preamble.

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: bibtopic usage

2010-04-13 Thread Jürgen Spitzmüller
Thibaud Hulin wrote:
 Thanks you. The problem is I can't easily change of biblio style,
 because I has some errors. For example, I use plainnat that works. I
 change it for plain, it fails ; I come back to plainnat, it fails. But
 if I record and restart lyx, compilations works ! So now I can use
 plainurl that works by this way. Is it a bug of lyx ?

I'm not sure it can be called a bug (of LyX). The problem is that the aux 
files should be regenerated from scratch. But I guess it is hard (if at all 
possible) for LyX to guess this.

Jürgen


Lyx Template for Book in Gabler Research

2010-04-13 Thread Nina Lafayette

Dear List,

The layout of my PhD thesis written in Lyx has to be transformed to the  
specifications of the Gabler Research (part of Springer Media). Does  
anybody have created  a corresponding layout file or can anybody tell me  
which layout file I should use to come closer to the publisher's  
specifications?


I am looking forward to your help!

Kind regards,
Nina




Thesaurus in spanish lyx-2.0.0alpha1

2010-04-13 Thread icebna

Hi all :

I have installed Spanish ( Spain ) Openoffice's thesauro; I have 
indicated the path  in Preferences, admits me the thesauro with an icon, 
but it does not work.


Can you help me ?

Thanks advanced

Miguel


Re: Mathmatics...

2010-04-13 Thread Guenter Milde
On 2010-04-12, OldDeath wrote:

Dear OldDeath,

 I'm using a costum keyboard layout (called neo layout) that allows me =
 to enter math unicode chars, such as =E2=84=82, =E2=84=95 or =E2=84=9D, =
 directly from my keyboard.  However these unicode chars arent displayed =
 correctly in the editor area

You must use a GUI font that supports/contains these characters.

 and are not converted correctly into the =
 output pdf file...

You might copy the file unicodesymbols from the LYXDIR to your
personal LYXDIR and add Unicode-to-LaTeX definitions.

Alternatively, try whether you can configure LyX keybindings to e.g.
math-insert something given the Unicode char.

Günter



Re: import preamble

2010-04-13 Thread Guenter Milde
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.

Günter





Re: Lilypond+Lyx

2010-04-13 Thread Guenter Milde
On 2010-04-12, Helge Hafting wrote:
 Bernardo Barros wrote:

 ... with this method there isn't much difference of
 this and importing the PDF already. It's not less work.

 It is slightly less; LyX will manage the creation of PDFs itself, you 
 will not need to update the PDF when changing the .ly file.

 Of course, embedding lilypond code in LyX would be even less work. But I 
 don't know a quick way to program that.
...

It should/could be done similar to literate programming and
R/Sweave support.

...

 What you want can be done though. Lilypond code could be stored in the
 .lyx file, and LyX could write out a temporary .ly file and process it 
 with lilypond.

There is already the lilybook program that does this
separation/processing/replacement for Lilypond code in a tex file.
Hence, LyX should export a tex file and then process it with lilybook
before carrying on with latex ...

 You may want to file an enhancement request for this at 
 http://www.lyx.org/trac/wiki/BugTrackerHome
 so your idea is not forgotten. 

Also, this has been discussed on this (or the devel) list some time
ago. AFAIK the framework for an implementation is now in place.

Günter



Re: Thesaurus in spanish lyx-2.0.0alpha1

2010-04-13 Thread Jürgen Spitzmüller
icebna wrote:
 I have installed Spanish ( Spain ) Openoffice's thesauro; I have 
 indicated the path  in Preferences, admits me the thesauro with an icon, 
 but it does not work.

Hm. Looks like the thesaurus is broken currently in trunk. Last time I touched 
it, it still worked.

Jürgen


Re: Question: Lyx Position of pagenumbers in chapters, index, bibliography

2010-04-13 Thread Guenter Milde
On 2010-04-11, Erik Schetters wrote:

 i am using Lyx for several days now and I begin to like it.

 I use the report - koma-script

 But I have several problems, which I cannot solve.

...

Most of your problems can be solved with code in the custom latex preamble 
(DocumentSettingsLaTeX preamble).

You will find extensive documentation of the koma-script document classes
in the file scrguide.pdf which should come with your LaTeX installation.
(If you download a version from the net, make sure the described version
matches the KOMA-script version of your TeX installation.)

Günter



Re: insert custom layout

2010-04-13 Thread Guenter Milde
On 2010-04-12, rgheck wrote:
 On 04/10/2010 06:24 PM, Julien Rioux wrote:
 Sajjaddosto.wa...@...  writes:

 ... there is a problem here because liuthesis redefines \title
 to take 2 arguments:

 You must always provide both a Swedish (first argument) and an English
 title (second argument), \title{Svensk titel}{English Title}.

 but LyX will output \title{YOUR TITLE} no matter what (i.e., only 1
 argument).

This can be changed in the layout file (although not straightforward).

 A workaround is to write your Swedish title like usual and then, at
 the end of the line, insert a TeX box and write }{English title
 inside it (with the braces).

Or put just the }{ in the ERT box and write the English Title
as normal text.

 There isn't at present any good way to do this. Multi-argument commands 
 aren't directly supported. I've been thinking about this for a while, 
 but haven't done anything.

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.

Günter



Re: insert custom layout

2010-04-13 Thread rgheck

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: new google docs interface, with wave backend. (collaboration trends)

2010-04-13 Thread Jürgen Spitzmüller
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.

Jürgen


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

2010-04-13 Thread rgheck

On 04/13/2010 10:43 AM, 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.

   
I looked into some of this a while ago, and there aren't great options 
for the sort of thing we're discussing: I.e., not programming, and not 
open to everyone's eyes. Brown, as it happens, does provide such a 
facility, though I haven't yet found the time even to move our website 
code over there.


Have you asked the IS people if they'd think about supporting svn on 
their servers?


Richard



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

2010-04-13 Thread Jürgen Spitzmüller
rgheck wrote:
 Have you asked the IS people if they'd think about supporting svn on 
 their servers?

Yes, and they're actually quite open to it. However, I would probably be the 
only one using it (the demand of such things is not great in a humanities 
faculty), so I am somewhat reluctant in demanding it too strongly (the more so 
since our IT people are, as probably everywhere, notoriously busy with other 
things).

Jürgen


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

2010-04-13 Thread Luca D.M.
Hallo everyone, I'm missing what exactly Are we talking about.  
Bringing some LyX abilities on The cloud? And u need an svn / data  
service?


Greets,

Luca D.M.

Inviato da iPhone

Il giorno 13/apr/2010, alle ore 17.11, Jürgen Spitzmüller  
sp...@lyx.org ha scritto:



rgheck wrote:

Have you asked the IS people if they'd think about supporting svn on
their servers?


Yes, and they're actually quite open to it. However, I would  
probably be the
only one using it (the demand of such things is not great in a  
humanities
faculty), so I am somewhat reluctant in demanding it too strongly  
(the more so
since our IT people are, as probably everywhere, notoriously busy  
with other

things).

Jürgen


Subscript in a chemical symbol and lyx formula

2010-04-13 Thread YURENA MENDOZA
I want to put a subscript in a chemical symbol using the mhchem package, for
example CO2pc. On the other hand, Can I put into by the same way as I enter
in a paragraph (using a box in lyx to introduce lyx code) in a Lyx formula
?

Thank you


Re: Subscript in a chemical symbol and lyx formula

2010-04-13 Thread rgheck

On 04/13/2010 12:25 PM, YURENA MENDOZA wrote:

I want to put a subscript in a chemical symbol using the mhchem package, for
example CO2pc. On the other hand, Can I put into by the same way as I enter
in a paragraph (using a box in lyx to introduce lyx code) in a Lyx formula?

   
In formulas, you can just enter raw LaTeX if you like. E.g., you can 
type \hello{hi}, and that is precisely what you will see. If you had 
in your preamble:

\newcommand\hello[1]{2^{#1}}
Then you'd get the output you expect.

Note that you do need to be careful about whether the brackets are 
escaped, i.e., whether the LaTeX is: {, or \{. LyX displays argument 
brackets in red, and delimiter brackets in blue. To get the former, 
you type \{, ironically enough, though you will get them automatically 
immediately after a command.


Richard



Re: Subscript in a chemical symbol and lyx formula

2010-04-13 Thread rgheck

On 04/13/2010 12:25 PM, YURENA MENDOZA wrote:

I want to put a subscript in a chemical symbol using the mhchem package, for
example CO2pc. On the other hand, Can I put into by the same way as I enter
in a paragraph (using a box in lyx to introduce lyx code) in a Lyx formula?

   
In formulas, you can just enter raw LaTeX if you like. E.g., you can 
type \hello{hi}, and that is precisely what you will see. If you had 
in your preamble:

\newcommand\hello[1]{2^{#1}}
Then you'd get the output you expect.

Note that you do need to be careful about whether the brackets are 
escaped, i.e., whether the LaTeX is: {, or \{. LyX displays argument 
brackets in red, and delimiter brackets in blue. To get the former, 
you type \{, ironically enough, though you will get them automatically 
immediately after a command.


Richard



Re: Subscript in a chemical symbol and lyx formula

2010-04-13 Thread Uwe Stöhr

Am 13.04.2010 18:25, schrieb YURENA MENDOZA:


I want to put a subscript in a chemical symbol using the mhchem package, for
example CO2pc.


For a description how this is done, see sec. 20 of the Math manual that 
you find in LyX's Help menu.


 On the other hand, Can I put into by the same way as I enter in
 a paragraph (using a box in lyx to introduce lyx code) in a Lyx formula?

I don't know what you mean.

regards Uwe


Re: Latex error entering addresses

2010-04-13 Thread Uwe Stöhr

Am 12.04.2010 13:36, schrieb YURENA MENDOZA:


Lyx tells me an error when I enter the addresses (I have two different
ones) of the authors just below the names of the authors of a paper. I have
these addresses as as address in preliminary section . Exactly the message
is as follows: The control sequence at the end of the top line

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


Can you please provide a _small_ LyX file showing the problem?

regards Uwe


Re: Question: Lyx Position of pagenumbers in chapters, index, bibliography

2010-04-13 Thread Uwe Stöhr

I use the report - koma-script

But I have several problems, which I cannot solve.

Here my biggest one:

I need my pagenumbers in right high corner

But Lyx does not include the chapters, index. .


Because you redefined the header lines in the way that they don't 
include any more the chapter names. Defining header/footer lines is 
explained in the KOMA-script manual

http://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/
(the German version is scrguide.pdf).

You can also have a look at this thesis example file as example:
http://fkurth.de/uwest/LyX/ThesisTemplate/Diss-Template.zip


Other Problems:

In my Indexes should not be all chapters of my appendix. I would like that
there is just written: A Appendix ... page XX


I don't understand. An index does in general not contain section/chapter 
names.
In case you don't want to have a section/chapter listed in the table of 
contents, use the star-version of the environment (chapter* instead of 
chapter).



And in my appendix I will need a second Index which shows just the content
of the appendix.


I also don't understand what you want here exactly, a second table of 
contents, but only for the appendices. This is very uncommon and i have 
never seen this yet. To get this, you will need to learn some LaTeX 
tricks. Have a look in the book The LaTeX companion 2nd edition. But 
note that you won't be able to compile your file with LyX if you define 
a further table of content. (You need to export your LyX file as LaTeX 
and use the command line.)



Otherwise I will fix that by using two documents, which brings another
problem:

If I make a second document, how can I cheat my pagenumbers, so that they
do not start with 1 and start with 68 or so.


Use child documents if possible as I did in the thesis example file I 
linked above.
if this is no option for you, reset the page counter using the 
LaTeX-command \setcounter{page}{xxx} where xxx is a number.


regards Uwe

p.s. What kind of document do you have to write? Your requirements sound 
a bit strange for a report, book or thesis.


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

2010-04-13 Thread Charles de Miramon
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.


After using LyX for a long time. What I would like is a possibility to 
manage the life cycle of an article.
My paper starts as a working paper, and handout and maybe a beamer 
presentation, then a long version, a short version, a version formatted for 
X, proofs, printed version, my additions and corrections to the printed 
version, a version for an online repository, bits and pieces discarded from 
the article that I want to keep with it, etc. 

Version control, Google wave seems to bring tools to manage the evolutive 
process of writing. Something, word processors are quite bad with.

Cheers,
Charles  




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

2010-04-13 Thread rgheck

On 04/13/2010 01:34 PM, Charles de Miramon 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.
 


After using LyX for a long time. What I would like is a possibility to
manage the life cycle of an article.
My paper starts as a working paper, and handout and maybe a beamer
presentation, then a long version, a short version, a version formatted for
X, proofs, printed version, my additions and corrections to the printed
version, a version for an online repository, bits and pieces discarded from
the article that I want to keep with it, etc.

   
For this kind of thing, VC is precisely what you want, I think, i.e., a 
record of the evolution of your document, the ability to rewind to older 
versions, see a record of your changes, etc.


Richard



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

2010-04-13 Thread Pavel Sanda
Jürgen Spitzmüller wrote:
 (although a closer integration of VC, comparision and CT would be cool).

i'm glad to hear somebody else also thinks it would be cool ;)
from the VC point of view things are prepared in LFUN_VC_COMPARE
but there is currently no easy way how to call comparison.
i still hope we can settle on some solution with Vincent for 2.0.

 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.

these are first hits on googling public svn service
http://allantech.blogspot.com/2007/06/awesome-publicfree-svn-repository.html
http://forums.site5.com/showthread.php?t=6580

personally i would never give my data to any alien server though.
pavel


Elseartice on Lyx

2010-04-13 Thread Bruno Cocciaro
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.

[Wizards can fix TFM files using TFtoPL/PLtoTF.]

You might try inserting a different font spec;

e.g., type `I\fontsame font id=substitute font name'.


And the dvi does not appear.

May anyone help me?
Tank you very much.


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-13 Thread Luca De Marini
Boys I made a polite question because I can offer a personalized and charge
free SVN service to Lyx. Weirdly enough, I received no answer. Intilinux
Projects, see here:
http://projects.intilinux.com/
We are Italians but I speak English perfectly so there's no problem if u
need anything: we can not only host u but also give u all the coding
services u need: svn, bzr, cvs, forums, anything u need really. Now, can u
please tell me if ou services are needed?
Greetings,

Luca

2010/4/13 Pavel Sanda sa...@lyx.org

 Jürgen Spitzmüller wrote:
  (although a closer integration of VC, comparision and CT would be cool).

 i'm glad to hear somebody else also thinks it would be cool ;)
 from the VC point of view things are prepared in LFUN_VC_COMPARE
 but there is currently no easy way how to call comparison.
 i still hope we can settle on some solution with Vincent for 2.0.

  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.

 these are first hits on googling public svn service

 http://allantech.blogspot.com/2007/06/awesome-publicfree-svn-repository.html
 http://forums.site5.com/showthread.php?t=6580

 personally i would never give my data to any alien server though.
 pavel



Installing koma-script

2010-04-13 Thread Eliseu Filho
Greetings

I've just installed lyx 1.6.5 on a Windows 7 Home Premium Edition (64-bit), 
using 
the alternative installer. The installation itself completed without problems 
and I
have lyx running.

Now I am trying to install the koma-script package, using MiKTeX's package 
manager. After I selecting the package and launching the installation, it 
downloads 
the package but config fails with the message 

Windows API Error 5: Access is denied

I have already changed the permissions of the entire MiKTex directory to Full
Control (in Windows terms) but the problem persists.

Thanks in advance for any help.

Eliseu



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

2010-04-13 Thread stefano franchi
On Tue, Apr 13, 2010 at 3:17 PM, Luca De Marini
luca.darkmas...@gmail.comwrote:

 Boys I made a polite question because I can offer a personalized and charge
 free SVN service to Lyx. Weirdly enough, I received no answer. Intilinux
 Projects, see here:
 http://projects.intilinux.com/
 We are Italians but I speak English perfectly so there's no problem if u
 need anything: we can not only host u but also give u all the coding
 services u need: svn, bzr, cvs, forums, anything u need really. Now, can u
 please tell me if ou services are needed?


Luca,

the discussion is about Wave-based or Wave-equivalent systems vs Version
control based systems for document production and documents' life cycle
management. The link you posted, however, speaks only of code-management:
Sei un programmatore ed hai bisogno di spazio WEB, WIKi e/o servizi come SVN
e Trac o altri* per sviluppare il tuo progetto?

Either the services  you offer are not relevant to the discussion, or you
should rewrite the home page of your site! I, for one,  wouldn't mind
 trying it out for some of the stuff I am writing, at least on an
experimental basis.

Cheers,

Stefano

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


Re: Installing koma-script

2010-04-13 Thread Uwe Stöhr

Am 13.04.2010 09:14, schrieb Eliseu Filho:


I've just installed lyx 1.6.5 on a Windows 7 Home Premium Edition (64-bit), 
using
the alternative installer. The installation itself completed without problems 
and I
have lyx running.

Now I am trying to install the koma-script package, using MiKTeX's package
manager.


You don't need to do that. You only need to:

- log in to your PC as administrator
- open an Internet connection
- reconfigure LyX using the menu Tools-Reconfigure

MiKTeX will then automatically install all package supported by LyX. To 
check if everything went fine, open LyX's Tutorial and view it as PDF 
(pdflatex). If a PDF is created, your installation is complete.



After I selecting the package and launching the installation, it downloads
the package but config fails with the message

Windows API Error 5: Access is denied


This usually appears when you don't have administrator privileges but 
sometimes also appears when the MiKTeX servers have problems.


regards Uwe


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

2010-04-13 Thread Typhoon
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:
 
  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.
 
 
 I looked into some of this a while ago, and there aren't great
 options for the sort of thing we're discussing: I.e., not
 programming, and not open to everyone's eyes. Brown, as it happens,
 does provide such a facility, though I haven't yet found the time
 even to move our website code over there.
 
 Have you asked the IS people if they'd think about supporting svn on 
 their servers?
 
 Richard

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 have liked it so much that I also use it between my home machine and
laptop to keep thinks in sync and not accidentally rub out work on one
or the other.

Cheers,
Alan

 
 


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



Cannot convert latex code to a lyx document.

2010-04-13 Thread Benjamin Kay
I've tried my home windows PC (1.6.5) and my office linux pc (1.6.0) with
the same results I cannot import Latex code into Lyx using tex2lyx or using
File-Import-Latex (plain). Both give me problems. I've tried known working
latex code on the Internet but that doesn't work either, so I don't think I
have a bad input on my end.

Within Lyx, the version shows up as 1.6.0 while from synaptic package
manager the installation is package 1.6.4-1ubuntu1. The version information
on windows says 1.6.5

The error message from lyx is:
An error occurred whilst running tex2lyx -f
'Latex_Output_for_Housing_Class_1.tex'

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

Attached are the two tex files I used as inputs.

Any advice on how to fix this problem or work around it? Thanks for the
help.
Benjamin Kay


latexexample.tex
Description: TeX document


Latex_Output_for_Housing_Class_1.tex
Description: TeX document


For some reason aspell via lyx doesn't 'understand single quotes'...

2010-04-13 Thread Joe(theWordy)Philbrook
Actually I noticed some time ago that using single quotes inside a LyX document
made for problems with spell check...
For example if I typed this:

Bill said, I asked her, and she said, 'No, I don't want to go.' So I
went fishing by myself.

Into a LyX document and ran the spell check function, It would suggest
replacing 'No with No... I just checked, and this still happens with
LyX 1.6.5 on Arch Linux.

I always thought this was a limitation of aspell. But I recently happened
to use a similar construct in the text of an email which I spell checked
from vim via my .vimrc key mappings:
:map s :w^M:w! $spellfile^M:!aspell -e -c $spellfile^M 
:map S :w^MG:r $spellfile^Mkd1G
(Where of course ^M is actually a single character that simulates hitting 
enter)

And it turns out that aspell itself doesn't seem to consider the ' character
to be part of a word unless it's wrapped in letters on both sides such as
in the contraction it's...

Is there a reason why LyX's implementation of aspell chokes on ' characters
used as single quotes???

-- 
|  ~^~   ~^~
|  ?   ?   Joe (theWordy) Philbrook
|  ^J(tWdy)P
|\___/ jtw...@ttlc.net



Re: biblatex-biber citations

2010-04-13 Thread Jürgen Spitzmüller
Wolfgang Engelmann wrote:
> I would guess there is something wrong with the perl install

Yes, looks like the biber/perl setup is broken. I'm sorry, I cannot help much. 
You could try a complete reinstall of biber.

Jürgen


Re: biblatex-biber citations

2010-04-13 Thread Wolfgang Engelmann
Am Tuesday 13 April 2010 08:27:56 schrieb Jürgen Spitzmüller:
> Wolfgang Engelmann wrote:
> > I would guess there is something wrong with the perl install
>
> Yes, looks like the biber/perl setup is broken. I'm sorry, I cannot help
> much. You could try a complete reinstall of biber.
>
> Jürgen

Thanks for all your help, Jürgen

Wolfgang


Re: bibtopic usage

2010-04-13 Thread Jürgen Spitzmüller
Thibaud Hulin wrote:
> Great, that works... Have you an idea to eliminate name of the author
> and the code of the referece ? With plainurl, I used {} instead of my
> name or {With Name_of_the_Collaborator} for a collaborative work. The
> result with plainat is not very usable for a CV... And plain style
> doesn't use urls...

You can either hack plainat.bst or use a style that was sepcifically designed 
for publication lists, such as this here:
http://wiki.lyx.org/BibTeX/Publist

Jürgen


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

2010-04-13 Thread Sam Liddicott

 On 12/04/10 21:28, Jose Quesada wrote:

Hi All,

New google docs interface, with wave backend. (collaboration trends).
googledocs.blogspot.com/2010/04/new-google-docs.html

Most people agree that collaboration tools in latex lag behing word/gdocs.
LyX has track changes, but it's very hard to convince collaborators to use
it.
It'd be good to keep an eye on this. Office will come up with online
versions for Office 2010. If every other tool has a cloud version, LyX will
be perceived as old-style and it'd be even harder to convince collaborators


Rich xml formats with overlapping features allow conversions to be done 
with xslt.


Perhaps google docs can be used as a collaboration back end, with xslt 
conversion to lyx's new xml format locally.


Sam


Re: bibtopic usage

2010-04-13 Thread Thibaud Hulin
Thanks you. The problem is I can't easily change of biblio style,
because I has some errors. For example, I use plainnat that works. I
change it for plain, it fails ; I come back to plainnat, it fails. But
if I record and restart lyx, compilations works ! So now I can use
plainurl that works by this way. Is it a bug of lyx ?

Last version of plainurl
http://mirror.ctan.org/biblio/bibtex/contrib/urlbst/plainurl.bst

2010/4/13, Jürgen Spitzmüller :
> Thibaud Hulin wrote:
>> Great, that works... Have you an idea to eliminate name of the author
>> and the code of the referece ? With plainurl, I used {} instead of my
>> name or {With Name_of_the_Collaborator} for a collaborative work. The
>> result with plainat is not very usable for a CV... And plain style
>> doesn't use urls...
>
> You can either hack plainat.bst or use a style that was sepcifically
> designed
> for publication lists, such as this here:
> http://wiki.lyx.org/BibTeX/Publist
>
> Jürgen
>


Re: como evitar espacios en blanco entre párrafos

2010-04-13 Thread Anthony Campbell
On 12 Apr 2010, rgheck wrote:

[snip] 

> If I understand, and my Spanish is terrible, was the problem that
> the space between paragraphs varies? If so, then of course LaTeX
> does that on purpose, and if there are a lot of floats, you can see
> this kind of thing quite often.
> 
> Richard

I've found that this problem is fixed by including \raggedbottom in the
preamble.

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: bibtopic usage

2010-04-13 Thread Jürgen Spitzmüller
Thibaud Hulin wrote:
> Thanks you. The problem is I can't easily change of biblio style,
> because I has some errors. For example, I use plainnat that works. I
> change it for plain, it fails ; I come back to plainnat, it fails. But
> if I record and restart lyx, compilations works ! So now I can use
> plainurl that works by this way. Is it a bug of lyx ?

I'm not sure it can be called a bug (of LyX). The problem is that the aux 
files should be regenerated from scratch. But I guess it is hard (if at all 
possible) for LyX to guess this.

Jürgen


Lyx Template for Book in Gabler Research

2010-04-13 Thread Nina Lafayette

Dear List,

The layout of my PhD thesis written in Lyx has to be transformed to the  
specifications of the Gabler Research (part of Springer Media). Does  
anybody have created  a corresponding layout file or can anybody tell me  
which layout file I should use to come closer to the publisher's  
specifications?


I am looking forward to your help!

Kind regards,
Nina




Thesaurus in spanish lyx-2.0.0alpha1

2010-04-13 Thread icebna

Hi all :

I have installed Spanish ( Spain ) Openoffice's thesauro; I have 
indicated the path  in Preferences, admits me the thesauro with an icon, 
but it does not work.


Can you help me ?

Thanks advanced

Miguel


Re: Mathmatics...

2010-04-13 Thread Guenter Milde
On 2010-04-12, OldDeath wrote:

Dear OldDeath,

> I'm using a costum keyboard layout (called "neo layout") that allows me =
> to enter math unicode chars, such as =E2=84=82, =E2=84=95 or =E2=84=9D, =
> directly from my keyboard.  However these unicode chars arent displayed =
> correctly in the editor area

You must use a GUI font that supports/contains these characters.

> and are not converted correctly into the =
> output pdf file...

You might copy the file "unicodesymbols" from the LYXDIR to your
personal LYXDIR and add Unicode-to-LaTeX definitions.

Alternatively, try whether you can configure LyX keybindings to e.g.
math-insert  given the Unicode char.

Günter



Re: import preamble

2010-04-13 Thread Guenter Milde
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.

Günter





Re: Lilypond+Lyx

2010-04-13 Thread Guenter Milde
On 2010-04-12, Helge Hafting wrote:
> Bernardo Barros wrote:

>> ... with this method there isn't much difference of
>> this and importing the PDF already. It's not less work.

> It is slightly less; LyX will manage the creation of PDFs itself, you 
> will not need to update the PDF when changing the .ly file.

> Of course, embedding lilypond code in LyX would be even less work. But I 
> don't know a quick way to program that.
...

It should/could be done similar to "literate programming" and
"R/Sweave" support.

...

> What you want can be done though. Lilypond code could be stored in the
> .lyx file, and LyX could write out a temporary .ly file and process it 
> with lilypond.

There is already the lilybook program that does this
separation/processing/replacement for Lilypond code in a tex file.
Hence, LyX should export a tex file and then process it with lilybook
before carrying on with latex ...

> You may want to file an enhancement request for this at 
> http://www.lyx.org/trac/wiki/BugTrackerHome
> so your idea is not forgotten. 

Also, this has been discussed on this (or the devel) list some time
ago. AFAIK the framework for an implementation is now in place.

Günter



Re: Thesaurus in spanish lyx-2.0.0alpha1

2010-04-13 Thread Jürgen Spitzmüller
icebna wrote:
> I have installed Spanish ( Spain ) Openoffice's thesauro; I have 
> indicated the path  in Preferences, admits me the thesauro with an icon, 
> but it does not work.

Hm. Looks like the thesaurus is broken currently in trunk. Last time I touched 
it, it still worked.

Jürgen


Re: Question: Lyx Position of pagenumbers in chapters, index, bibliography

2010-04-13 Thread Guenter Milde
On 2010-04-11, Erik Schetters wrote:

> i am using Lyx for several days now and I begin to like it.

> I use the report - koma-script

> But I have several problems, which I cannot solve.

...

Most of your problems can be solved with code in the custom latex preamble 
(Document>Settings>LaTeX preamble).

You will find extensive documentation of the koma-script document classes
in the file scrguide.pdf which should come with your LaTeX installation.
(If you download a version from the net, make sure the described version
matches the KOMA-script version of your TeX installation.)

Günter



Re: insert custom layout

2010-04-13 Thread Guenter Milde
On 2010-04-12, rgheck wrote:
> On 04/10/2010 06:24 PM, Julien Rioux wrote:
>> Sajjad  writes:

>> ... there is a problem here because liuthesis redefines \title
>> to take 2 arguments:

>> "You must always provide both a Swedish (first argument) and an English
>> title (second argument), \title{Svensk titel}{English Title}."

>> but LyX will output \title{YOUR TITLE} no matter what (i.e., only 1
>> argument).

This can be changed in the layout file (although not straightforward).

>> A workaround is to write your Swedish title like usual and then, at
>> the end of the line, insert a TeX box and write "}{English title"
>> inside it (with the braces).

Or put just the }{ in the ERT box and write the English Title
as normal text.

> There isn't at present any good way to do this. Multi-argument commands 
> aren't directly supported. I've been thinking about this for a while, 
> but haven't done anything.

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.

Günter



Re: insert custom layout

2010-04-13 Thread rgheck

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: new google docs interface, with wave backend. (collaboration trends)

2010-04-13 Thread Jürgen Spitzmüller
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.

Jürgen


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

2010-04-13 Thread rgheck

On 04/13/2010 10:43 AM, 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.

   
I looked into some of this a while ago, and there aren't great options 
for the sort of thing we're discussing: I.e., not programming, and not 
open to everyone's eyes. Brown, as it happens, does provide such a 
facility, though I haven't yet found the time even to move our website 
code over there.


Have you asked the IS people if they'd think about supporting svn on 
their servers?


Richard



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

2010-04-13 Thread Jürgen Spitzmüller
rgheck wrote:
> Have you asked the IS people if they'd think about supporting svn on 
> their servers?

Yes, and they're actually quite open to it. However, I would probably be the 
only one using it (the demand of such things is not great in a humanities 
faculty), so I am somewhat reluctant in demanding it too strongly (the more so 
since our IT people are, as probably everywhere, notoriously busy with other 
things).

Jürgen


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

2010-04-13 Thread Luca D.M.
Hallo everyone, I'm missing what exactly Are we talking about.  
Bringing some LyX abilities on The cloud? And u need an svn / data  
service?


Greets,

Luca D.M.

Inviato da iPhone

Il giorno 13/apr/2010, alle ore 17.11, Jürgen Spitzmüller  
 ha scritto:



rgheck wrote:

Have you asked the IS people if they'd think about supporting svn on
their servers?


Yes, and they're actually quite open to it. However, I would  
probably be the
only one using it (the demand of such things is not great in a  
humanities
faculty), so I am somewhat reluctant in demanding it too strongly  
(the more so
since our IT people are, as probably everywhere, notoriously busy  
with other

things).

Jürgen


Subscript in a chemical symbol and lyx formula

2010-04-13 Thread YURENA MENDOZA
I want to put a subscript in a chemical symbol using the mhchem package, for
example CO2pc. On the other hand, Can I put into by the same way as I enter
in a paragraph (using a box in lyx to introduce lyx code) in a Lyx formula
?

Thank you


Re: Subscript in a chemical symbol and lyx formula

2010-04-13 Thread rgheck

On 04/13/2010 12:25 PM, YURENA MENDOZA wrote:

I want to put a subscript in a chemical symbol using the mhchem package, for
example CO2pc. On the other hand, Can I put into by the same way as I enter
in a paragraph (using a box in lyx to introduce lyx code) in a Lyx formula?

   
In formulas, you can just enter raw LaTeX if you like. E.g., you can 
type "\hello{hi}", and that is precisely what you will see. If you had 
in your preamble:

\newcommand\hello[1]{2^{#1}}
Then you'd get the output you expect.

Note that you do need to be careful about whether the brackets are 
escaped, i.e., whether the LaTeX is: {, or \{. LyX displays "argument 
brackets" in red, and "delimiter brackets" in blue. To get the former, 
you type \{, ironically enough, though you will get them automatically 
immediately after a command.


Richard



Re: Subscript in a chemical symbol and lyx formula

2010-04-13 Thread rgheck

On 04/13/2010 12:25 PM, YURENA MENDOZA wrote:

I want to put a subscript in a chemical symbol using the mhchem package, for
example CO2pc. On the other hand, Can I put into by the same way as I enter
in a paragraph (using a box in lyx to introduce lyx code) in a Lyx formula?

   
In formulas, you can just enter raw LaTeX if you like. E.g., you can 
type "\hello{hi}", and that is precisely what you will see. If you had 
in your preamble:

\newcommand\hello[1]{2^{#1}}
Then you'd get the output you expect.

Note that you do need to be careful about whether the brackets are 
escaped, i.e., whether the LaTeX is: {, or \{. LyX displays "argument 
brackets" in red, and "delimiter brackets" in blue. To get the former, 
you type \{, ironically enough, though you will get them automatically 
immediately after a command.


Richard



Re: Subscript in a chemical symbol and lyx formula

2010-04-13 Thread Uwe Stöhr

Am 13.04.2010 18:25, schrieb YURENA MENDOZA:


I want to put a subscript in a chemical symbol using the mhchem package, for
example CO2pc.


For a description how this is done, see sec. 20 of the Math manual that 
you find in LyX's Help menu.


> On the other hand, Can I put into by the same way as I enter in
> a paragraph (using a box in lyx to introduce lyx code) in a Lyx formula?

I don't know what you mean.

regards Uwe


Re: Latex error entering addresses

2010-04-13 Thread Uwe Stöhr

Am 12.04.2010 13:36, schrieb YURENA MENDOZA:


Lyx tells me an error when I enter the addresses (I have two different
ones) of the authors just below the names of the authors of a paper. I have
these addresses as as "address" in preliminary section . Exactly the message
is as follows: The control sequence at the end of the top line

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


Can you please provide a _small_ LyX file showing the problem?

regards Uwe


Re: Question: Lyx Position of pagenumbers in chapters, index, bibliography

2010-04-13 Thread Uwe Stöhr

I use the report - koma-script

But I have several problems, which I cannot solve.

Here my biggest one:

I need my pagenumbers in right high corner

But Lyx does not include the chapters, index. .


Because you redefined the header lines in the way that they don't 
include any more the chapter names. Defining header/footer lines is 
explained in the KOMA-script manual

http://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/
(the German version is scrguide.pdf).

You can also have a look at this thesis example file as example:
http://fkurth.de/uwest/LyX/ThesisTemplate/Diss-Template.zip


Other Problems:

In my Indexes should not be all chapters of my appendix. I would like that
there is just written: A Appendix ... page XX


I don't understand. An index does in general not contain section/chapter 
names.
In case you don't want to have a section/chapter listed in the table of 
contents, use the star-version of the environment ("chapter*" instead of 
"chapter").



And in my appendix I will need a second Index which shows just the content
of the appendix.


I also don't understand what you want here exactly, a second table of 
contents, but only for the appendices. This is very uncommon and i have 
never seen this yet. To get this, you will need to learn some LaTeX 
tricks. Have a look in the book "The LaTeX companion 2nd edition". But 
note that you won't be able to compile your file with LyX if you define 
a further table of content. (You need to export your LyX file as LaTeX 
and use the command line.)



Otherwise I will fix that by using two documents, which brings another
problem:

If I make a second document, how can I "cheat" my pagenumbers, so that they
do not start with 1 and start with 68 or so.


Use child documents if possible as I did in the thesis example file I 
linked above.
if this is no option for you, reset the page counter using the 
LaTeX-command "\setcounter{page}{xxx}" where xxx is a number.


regards Uwe

p.s. What kind of document do you have to write? Your requirements sound 
a bit strange for a report, book or thesis.


  1   2   >