Re: Creating macros in Lyx

2009-02-05 Thread Pascal Francq
Thanks. In fact, when I using the dialog box to modify the character type, it 
does not show any function in the status bar. Moreover, when I use "textstyle-
update color 3", the color is set to red, but other attributes are reset (such 
as an italic text becomes regular). I think I have to play with this function.

On jeudi 05 février 2009, rgheck wrote:
> Pascal Francq wrote:
> > Hi,
> > Does anybody know if it is possible to create macro in Lyx and how to do
> > it ? In practice, I want to add some shortcuts to action such as "putting
> > the text in red" or "the text is in English".
> > Thanks.
>
> Anything you can do in LyX---any sequence of actions---can be assigned
> (bound) to a key. Two ways. (i) The file that sets the bindings is just
> a text file, *.bind; you can find out which one you are using in
> Tools>Preferences>Editing>Shortcuts. Copy that file to your LyX user
> directory, and then edit as you wish. The syntax is reasonably
> straightforward. (ii) Use the Shortcuts editor in
> Tools>Preferences>Editing>Shortcuts.
>
> The only problem now is to know function what to assign. The available
> functions are described in Help>LyX Functions, so you can look them up
> there. But an easier way is to watch the status line when you perform
> some action: LyX will usually pop up the name of the function you just
> used. If you want to perform a sequence of actions, then you'll need to
> use the command-sequence LFUN to do it, e.g.:
> command-sequence word-select; textstyle-update color 3
> That selects the current word and makes it red. (Getting the
> textstyle-update syntax right is less easy than with other things.)
>
> rh


-- 

Pascal Francq



signature.asc
Description: This is a digitally signed message part.


Re: Installing biblatex-dw-style (Wassenhoven) on OSX

2009-02-05 Thread Dominik Waßenhoven
jezZiFeR wrote:

> I have also done that. Everything worked fine, before I´ve chosen  
> biblatex-dw as citation style, the standard-styles work fine. I also  
> added this line:
>   \usepackage[style=authortitle-dw]{biblatex}
> 
> and I have disabled this one, with which I worked before trying to use  
> biblatex-dw:
> %\usepackage[natbib=true,bibstyle=authortitle,citestyle=authoryear] 
> {biblatex}

Then probably LaTeX doesn't find the biblatex-dw files at all. You
should try to compile a LaTeX document with biblatex-dw in order to find
out if your installation is correct.

Regards,
Dominik.-



svmult.cls

2009-02-05 Thread Myriam Abramson

Hello,

I am using svmult.cls for a paper. I think it's from IEEE. I have
those requirements: 

(1) There are no page number in the header/footer area. Help! 

(2)  Paper title should appear on the odd page header.

It seems that svmult.cls does put the title in the odd page header so
I'm fine there but it also tries to put the author on the even page
header and complains that the length of the author field was too
long. I have my name, affiliation and email in the author field so I
guess that's why. How can I specify not to put anything on the even
page header?

TIA
-- 
   myriam



Re: Use in US government agencies

2009-02-05 Thread Marcelo Acuña

> Hello:
> 
> Can anyone tell me is LyX is currently being used in any US
> Government agency? I am particularly interested to know if
> it is used in the USEPA.
> 
> Haynes Goddard

NASA?


  Yahoo! Cocina
Recetas prácticas y comida saludable
http://ar.mujer.yahoo.com/cocina/


Re: Strange LaTex /bibtex error prevents successful compilation

2009-02-05 Thread rgheck

Stefano Franchi wrote:
This is a reference that has been in my document for quite a while and never 
gave me any troubles. Perhaps the offending text is farther up, but how can I 
find it? 

  
Delete parts until you get something that compiles, then put bits back 
until you get something that doesn't. That's the first step.


rh



Re: Strange LaTex /bibtex error prevents successful compilation

2009-02-05 Thread Erez Yerushalmi
Hi,

Could it be that you've changed your bibtex file lately, and somewhere in
your document, this messes up your citation?

This happened to me once.

The bibtex file was changed, and three citations inside the documents
couldn't connect with the bibtex file.

Also, if it compiles on the first run, but not the second, this is a good
indication of this problem.

Best, Erez



On Thu, Feb 5, 2009 at 11:42 PM, Stefano Franchi <
fran...@philosophy.tamu.edu> wrote:

> Hi all,
>
> I find myself suddenly unable to compile a LyX file into pdf (through
> pdfLateX).
> The 'view pdf' command produces a list of errors of this kind:
>
> Undefined control sequence
> }
>
> some text from my file
>
>
> so it looks like there is an unmatched brace somewhere that's causing the
> errors. However, I did not insert any ERT since the last successful
> compilation---only regular text and citations---so I don't know where to
> look.
> Inspecting the LaTeX log does not help. At least it doesn't help me. It
> shows
> three control sequence erros inside a citation. They are of this kind:
>
> ! Undefined control sequence.
> \...@williams2006 ...aptive Networks}.\ Ph.\tmspace
>  +\thinmuskip {.1667em}D
> th...
> l.2070 }
>
> he control sequence at the end of the top line
> of your error message was never \def'ed. If you have
> misspelled it (e.g., `\hobx'), type `I' and the correct
> spelling (e.g., `I\hbox'). Otherwise just continue,
> and I'll forget about whatever was undefined.
>
>
> This is a reference that has been in my document for quite a while and
> never
> gave me any troubles. Perhaps the offending text is farther up, but how can
> I
> find it?
>
>
>
> Finally, if I export to LaTeX and run the usual
> pdflatex/bibtex/pdflatex/pdflatex
> sequence from the command line, I do get what seems to be a correct pdf
> file,
> although the bibtex run produces a (non fatal) error:
>
> (\end occurred inside a group at level 1)
>
> ### semi simple group (level 1) entered at line 109 (\begingroup)
> ### bottom level
>
> The pdf seems to be correct, though. line 109 of the LaTex file is part of
> the
> preamble, and I cannot see anything wrong there.
>
>
> Any idea on where I should look to find the text that generates the errors?
>
>
> Thanks for the help,
>
> S.
>
> __
> Stefano Franchi
> Department of Philosophy  Ph:  (979) 862-2211
> Texas A&M University  Fax: (979) 845-0458
> 305B Bolton Hall  fran...@philosophy.tamu.edu
> College Station, TX 77843-4237
>
>


-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi


Strange LaTex /bibtex error prevents successful compilation

2009-02-05 Thread Stefano Franchi
Hi all,

I find myself suddenly unable to compile a LyX file into pdf (through 
pdfLateX). 
The 'view pdf' command produces a list of errors of this kind:

Undefined control sequence
}

some text from my file


so it looks like there is an unmatched brace somewhere that's causing the 
errors. However, I did not insert any ERT since the last successful 
compilation---only regular text and citations---so I don't know where to look.
Inspecting the LaTeX log does not help. At least it doesn't help me. It shows 
three control sequence erros inside a citation. They are of this kind:

! Undefined control sequence.
\...@williams2006 ...aptive Networks}.\ Ph.\tmspace 
  +\thinmuskip {.1667em}D 
th...
l.2070 }

he control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


This is a reference that has been in my document for quite a while and never 
gave me any troubles. Perhaps the offending text is farther up, but how can I 
find it? 



Finally, if I export to LaTeX and run the usual 
pdflatex/bibtex/pdflatex/pdflatex 
sequence from the command line, I do get what seems to be a correct pdf file, 
although the bibtex run produces a (non fatal) error:

(\end occurred inside a group at level 1)

### semi simple group (level 1) entered at line 109 (\begingroup)
### bottom level

The pdf seems to be correct, though. line 109 of the LaTex file is part of the 
preamble, and I cannot see anything wrong there.


Any idea on where I should look to find the text that generates the errors?


Thanks for the help,

S.

__
Stefano Franchi
Department of Philosophy          Ph:  (979) 862-2211
Texas A&M University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237



Re: Typesetting verse

2009-02-05 Thread killermike

Frederick Noronha [फ़रेदरिक नोरोनया] wrote:

What's the best way to typeset a poem or two? And how does one attain
the spacing needed between lines? Thanks so much, FN
  
Most of the classes have "quote" and "quotation" styles. Quotation is 
the style for verse.


--
http://www.unmusic.co.uk/ Michael Reed -- technology, gender, and geek culture 
freelance writer. Buy my article compilation book, Tech Book 1.




Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-02-05 Thread Piero Faustini
Vincent van Ravesteijn  writes:

> As you understand by now, I only see improvements to LyX without the 
> need for having a different application. And improvements are of course 
> always worth implementing.

When I'm talking about LyXght I don't think it should a *different* app, of 
course. I think much more as an alternative light installation, with shadowed 
buttons or menu items, forbidden (for user's sake) actions, perhaps some 
MSWord-like .ui and/or .cua default settings. Once released, newer subsequent 
LyX versions should just take in condideration specific settings/features for 
corresponding LyXlite, without any further work.
One of the greatest effort should be taken in not to frighten a Word user. I 
mean: once, in this list, a guy (well, it looked much more like a serious 
academic) said LyX was very difficoult to use because of the LaTeX-like a-
symmetric quotation marks. I mean, he stopped at the 1st purely exterior weird 
thing. Now - we know it was a silly thing, but I'm glad they "fixed" it in 
latest LyX versions, for my eyes, too.
I read a lot of messages in this thread concerning HTML and LaTeX and so on 
converters/strategies. HTML is a "widely known" format? Where? I think we're 
talking about completely different areas. As I remarked - with some tragic 
irony - in my fields people use Word because it was the 1st blue (an thus 
relaxing) icon to appeare in their PC desktop when they bought it. They are 
academics, scholars, PhD students but I guess more than a half of them don't 
even know what a Word style is. Maybe they heard - in theory - what a html 
markup is but almost 90% of them NEVER heard about LaTeX.
This is the situation in a history department in a second-size university of 
Italy.
Can we generalize a little bit and tell that about 20% of world scholars (say, 
almost all humanistic departments, most of law departments, some of the 
economics ones...) are in a situation similar to this? Don't you think it's a 
"virgin market", as well as a strategic one, LyX should try to conquer? And we 
didn't mention non-academic areas.

I didn't try LyX without MikTeX or further programs but I guess almost 
everything could work just fine. Let's focus on non-frightening attitude and 
appearance. This is pretty much a "marketing" problem! But to approach it we 
should try, just for a moment, to leave aside the technical/scientific point of 
view and related habits which are, IMHO, slowing down LyX acceptance in some 
strategical  
areas.





Re: problem with tables and lyx 1.6

2009-02-05 Thread NinaNutz
> then you set the cursor into it and then set it to be the legend, right?

yep. When I read that it should not be a multi-column, what I did it was exactly
the opposite :S

> Please add there comments or add you to the CC list when you like.

Ok, thanks :)

> Set the cursor into a cell of the first row. No cell in this row may be a
multi column! Then set the 
> legend and you get what you want.

woow, it works! xD

> regards Uwe

regards NinaNutz 






Re: problem with tables and lyx 1.6

2009-02-05 Thread Uwe Stöhr

Maria José Garcia Soldado schrieb:


I export the same table I sent to lyx 1.5.6 and when I open it, it appears
like figure lyx_161.PNG in lyx 1.6.1 and appears like lyx_156.PNG in lyx
1.5.6...


The problem is that your table is already broken in LyX 1.6.1 and therefore will also be broken in 
LyX 1.5.7.



When I make a long table in lyx 1.6.1 is ok
before mark the caption (figure example_table_before_mark_caption.PN). Then,
when I mark the caption, it happens what you can see in figure
marking_caption_1st_file.PNG.


Now I understand how you managed to break the table: You set the first row to be a multi column, 
then you set the cursor into it and then set it to be the legend, right?

I reported this bug:
http://bugzilla.lyx.org/show_bug.cgi?id=5755
Please add there comments or add you to the CC list when you like.

Setting the caption works fine when you don't set the first row as multi column:
Set the cursor into a cell of the first row. No cell in this row may be a multi column! Then set the 
legend and you get what you want.


regards Uwe


Re: Typesetting verse

2009-02-05 Thread rgheck

Vincent van Ravesteijn wrote:

Frederick Noronha [फ़रेदरिक नोरोनया] schreef:

What's the best way to typeset a poem or two? And how does one attain
the spacing needed between lines? Thanks so much, FN
  

February 14th approaching ?

There is a verse environment in some of the standard classes that is 
intended for some such purpose, but I don't know how well it works.


rh



Re: Typesetting verse

2009-02-05 Thread Vincent van Ravesteijn

Frederick Noronha [फ़रेदरिक नोरोनया] schreef:

What's the best way to typeset a poem or two? And how does one attain
the spacing needed between lines? Thanks so much, FN
  

February 14th approaching ?


Typesetting verse

2009-02-05 Thread Frederick Noronha [फ़रेदरिक नोरो नया]
What's the best way to typeset a poem or two? And how does one attain
the spacing needed between lines? Thanks so much, FN
-- 
FN * http://fredericknoronha.wordpress.com
M +91-9822122436 P +91-832-2409490 http://twitter.com/fn


Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-02-05 Thread Pavel Sanda
Vincent van Ravesteijn wrote:
> Reading your other post:
> > It may also be useful on computers too small for latex
> > Lyx-light will be much easier to install because latex and other large 
> packages of supporting software is omitted.
>
> The only difference I see is an installer that does not ask whether you 
> would like to install the other packages/software ?

imho this is the main idea - to have some link ftp://.../lyxlight.exe
which is possible to install without any fuss and without frightening questions
about words like "latex" which the collaborator possibly never heard before etc.

to me its more about chaning installer than lyx itself (with the exception of
error messages on missing latex classes).
i belive that configure.py is intelligent enough that missing latex and 
convertors
will cause export/view menu items to disappear.

pavel


Re: problem with tables and lyx 1.6

2009-02-05 Thread Maria José Garcia Soldado
Anyway, I can solve the problem importing the table to lyx 1.5.6, then copy
and paste in lyx 1.5.6
et voilá :)

thank you Uwe :)


Re: some questions on page numbering (pages BEFORE chapter 1)

2009-02-05 Thread Andre Poenitz
On Thu, Feb 05, 2009 at 09:54:40AM -0500, Joe(theWordy)Philbrook wrote:
> It would appear that on Feb 4, David Mertens did say:
> > Oops.  I only sent this to Joe.  Resending to LyX list.
> 
> I had wondered about that extra copy... Probably my fault. I keep
> forgetting which mailing lists need me to NOT include "me" on the Reply-To:
> and which ones rewrite it to point at the list. 

Which is the only sensible and safe behaviour  ;-)

Andre'



Re: How to edit

2009-02-05 Thread Anders Host-Madsen
I ran into the same problem. I just started using spellcheck.
There is a more direct solution. In Finder you can select
Go>Go To Folder (or shift-command-G). Then you can type
/usr/local/etc (or just /usr and then navigate from there). 
You can then change the
access privileges for aspell.conf. However,
in my case I also had to change the access
privileges for the etc folder. Once
you have done that you can edit the
aspell.conf file. Maybe this should be
added to the wiki?



Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-02-05 Thread rgheck

David Mertens wrote:

I'm a bit puzzled about this, because python is needed to run the
configure.py script that checks for installed programs and the like. Are you
sure the installer didn't install python?

rh




I looked a bit closer and you are correct.  Python was installed in my LyX
program folder, not in 'C:\Program Files\', which is what I expected.  The
same holds for ghostscript and image magick.  I presumed that the LyX
developers had put python scripting into LyX itself, but clearly I was
mistaken.

  
I'd guess that a LyXLite probably wouldn't need python. We're never 
exporting; we're never compiling. We don't care what programs and 
packages are available or not. We're assuming that none are. So we just 
use the default.


rh



Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-02-05 Thread David Mertens
>
> I'm a bit puzzled about this, because python is needed to run the
> configure.py script that checks for installed programs and the like. Are you
> sure the installer didn't install python?
>
> rh


I looked a bit closer and you are correct.  Python was installed in my LyX
program folder, not in 'C:\Program Files\', which is what I expected.  The
same holds for ghostscript and image magick.  I presumed that the LyX
developers had put python scripting into LyX itself, but clearly I was
mistaken.

David


Re: problem with tables and lyx 1.6

2009-02-05 Thread Uwe Stöhr

NinaNutz schrieb:


- you defined two rows as header row for the longtable
You can define as much as you want, but only the last defined one is used.


The rows appears when I mark the option legend. Every time I mark this option
the table brokes...


I cannot reproduce this. Your first row contains the caption - correct
The second row contains the header - correct
The third row is also marked as header row, see its settings - now you have two headers and only the 
one defined the last (in your case the third table row is used in the output).


OK, LyX shouldn't allow to mark more than one row as header, I filed now a bug 
report:
http://bugzilla.lyx.org/show_bug.cgi?id=5752


- Your table is broken: There is a gap between the 5th and the 6th row that I
cannot reproduce. This 

gap is causing the problem you have, but I don't know how to get rid of this
except of creating a 

new table. How did you manage to create this gap?


If I open the table with the version 1.5.6 the table works, I can see the
mistakes and I can solve the problems... I think there is a bug in the version
1.6... ¿could it be?


I cannot follow you. So when you open your example LyX file with LyX 1.5.6 there is now problem, but 
only with LyX 1.6.1? I cannot reproduce this. Can you resend me a LyX 1.5.x file that works and 
won't work when opening with LyX 1.6.x.


Concerning the caption issue, I found now a crash in LyX:
http://bugzilla.lyx.org/show_bug.cgi?id=5753
and another major bug:
http://bugzilla.lyx.org/show_bug.cgi?id=5754

It seems that our longtable support is really buggy.

regards Uwe


Re: Installing biblatex-dw-style (Wassenhoven) on OSX

2009-02-05 Thread jezZiFeR

Dear Dominik,

thank you for your reply.

I´ve had biblatex-dw installed in that folder before, and did it  
again

now – with the same results. But I tried to get a minimal-sample now,
and there it seems, that biblatex-dw is not able to find my
bibliography. I entered this line, which worked fine without  
biblatex-

dw:
\bibliography{/Users/me/documents/Bibliographien/BibDesk/Name}


Is this line in the preamble?


Yes, I have entered that line in the latex-preamble. Anyhow, Lyx seems  
not to find my reference-file… when I try to insert a new citation  
from "einfügen" (add?) -> "literaturverzeichnis" (index) I get a  
window with no entries.



Different from 'normal' BibTeX, biblatex
needs this line to be in the preamble. The bibliography will be  
printed

with the command \printbibliography which you have to give in ERT.


I have also done that. Everything worked fine, before I´ve chosen  
biblatex-dw as citation style, the standard-styles work fine. I also  
added this line:

 \usepackage[style=authortitle-dw]{biblatex}

and I have disabled this one, with which I worked before trying to use  
biblatex-dw:
%\usepackage[natbib=true,bibstyle=authortitle,citestyle=authoryear] 
{biblatex}


See the biblatex manual for details on the differences between  
biblatex

and the 'normal' BibTeX.


I can´t find help for my problem in the manual there, do I overread  
something maybe? I looked thoroughly, but maybe I don´t get the point.


Thank you, best*
Jess

Re: Installing biblatex-dw-style (Wassenhoven) on OSX

2009-02-05 Thread jezZiFeR

Dear Anders,

thank you!


From a few weeks of usage of LyX I find that the error messages
I get from LyX is rather meaningless. It appears to my that LyX
cuts away exactly the important parts. I would suggest you look
at the LaTeX log,


That´s what I did now. I do add the relevant part of the log here,  
maybe someone could tell if everything is alright with it.



or try to export to LaTeX and compile to see what
exactly happens in LaTeX.


This does not work, because I use XeTex, and I get error-messages from  
TexShop.


Best*
Jess



Page numbers in beamer presentation

2009-02-05 Thread Neal Becker
How do I get page numbers in my beamer presentation?  (lyx-1.6.1)




Re: some questions on page numbering (pages BEFORE chapter 1)

2009-02-05 Thread Dave Hewitt
> I could
> compose something of the kind as a reply to this thread. If I kept it
> all in plain text, it wouldn't take that much band width... What do
> you think?

Why not the Wiki -- wiki.lyx.org ? Easy to use.






Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-02-05 Thread Bruce Pourciau


On Feb 5, 2009, at 9:31 AM, Vincent van Ravesteijn wrote:

I think this should hold for FullyLyX too. You should be able to use  
LyX without any Latex and/or Image conversion applications. Of  
course some export functions don't work and some images can't be  
converted, but plain text, etc. should work.


We have LyX without LaTeX installed on the secretarial computers. That  
way a secretary can type my handwritten manuscript into a LyX file and  
email it to me. Then I can edit, add equations and figures, print, and  
so on.


Bruce


Re: Use in US government agencies

2009-02-05 Thread Dave Hewitt
> > Can anyone tell me is LyX is currently being used in any US Government
> > agency? I am particularly interested to know if it is used in the USEPA.
> 
>I doubt it very much. The federal government -- and almost all lower
> levels, too -- are still stuck with Word. Can't even get them to use OO.o
> and save documents as .odt.

In general, we're locked into M$ stuff through our enterprise agreements. But
that doesn't mean individuals can't use other stuff for their work as long as
the products look the way the wheels want them to.  :)





Re: Anyone using LyX on FreeBSD?

2009-02-05 Thread Jeremy C. Reed
Well I don't often use LyX on FreeBSD, but when I did it behaved just the 
same as when I use it on Ubuntu or other Linux systems.

I primarily use LyX on NetBSD. (I help maintain the pkgsrc package for 
LyX. And I use NetBSD for my primary desktop for many years.)



Re: problem with tables and lyx 1.6

2009-02-05 Thread NinaNutz
Uwe Stöhr  writes:

> I found the following issues:
> 
> - you defined two rows as header row for the longtable
> You can define as much as you want, but only the last defined one is used.

The rows appears when I mark the option legend. Every time I mark this option
the table brokes...

> 
> - Your table is broken: There is a gap between the 5th and the 6th row that I
cannot reproduce. This 
> gap is causing the problem you have, but I don't know how to get rid of this
except of creating a 
> new table. How did you manage to create this gap?
> 
If I open the table with the version 1.5.6 the table works, I can see the
mistakes and I can solve the problems... I think there is a bug in the version
1.6... ¿could it be?

> - You are using \cellcolor for consecutive cells in a row. This can be done
easier by using 
> \rowcolor, see the EmbeddedObjects manual for an example.

I know, but it didn't work when I tried... and cellcolor works ok... :S

> - You don't need to have \usepackage{textcolor} in your document preamble. LyX
takes care of this 
> for you.

noted

> Attached is your example that should work as you want it.
> 
> - I also found a bug in LyX:
> http://bugzilla.lyx.org/show_bug.cgi?id=5750
> 
> regards Uwe

Thank you very much for everything. 
regards NinaNutz



Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-02-05 Thread rgheck

David Mertens wrote:

   3. After installing most of what I needed, it downloaded the aspell
software and installed it.  I thought that Python was required for LyX (it
used to be required), but this apparently is no longer the case, which is
nice.

  
I'm a bit puzzled about this, because python is needed to run the 
configure.py script that checks for installed programs and the like. Are 
you sure the installer didn't install python?


rh



Re: problem with tables and lyx 1.6

2009-02-05 Thread Uwe Stöhr

Maria José Garcia Soldado schrieb:


Here is the table


I found the following issues:

- you defined two rows as header row for the longtable
You can define as much as you want, but only the last defined one is used.

- Your table is broken: There is a gap between the 5th and the 6th row that I cannot reproduce. This 
gap is causing the problem you have, but I don't know how to get rid of this except of creating a 
new table. How did you manage to create this gap?


- You are using \cellcolor for consecutive cells in a row. This can be done easier by using 
\rowcolor, see the EmbeddedObjects manual for an example.


- You don't need to have \usepackage{textcolor} in your document preamble. LyX takes care of this 
for you.


Attached is your example that should work as you want it.

- I also found a bug in LyX:
http://bugzilla.lyx.org/show_bug.cgi?id=5750

- I'm still not able to get vertical lines when \rowcolor or \cellcolor is used. I'm investigating 
this further.


regards Uwe


tabla_problema2.lyx
Description: application/lyx


Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-02-05 Thread David Mertens
(Forgot to reply to the full list again.  My apologies Helge.)

@ Vincent - The installer would be different, and LyX would have to not give
error messages for messed-up layout files.  See my notes below.

@all - Regarding MicroLyX (tested on Windows) -

I recalled that LyX could be run without a LaTeX distro installed, so I
tried it.  I ran Win XP in my virtualbox and tried installing a light-weight
LyX with the current binary installer.  Here's how it went:

   1. Downloaded the install binary, about 20 Mb, which is fine as far as
I'm concerned.
   2. Started the installer.  I was only asked three things: (a) do I want
latex (no), (b) what language should LyX use (English) and (c) what language
dictionaries do I want (I chose English).
   3. After installing most of what I needed, it downloaded the aspell
software and installed it.  I thought that Python was required for LyX (it
used to be required), but this apparently is no longer the case, which is
nice.

Overall, the full-LyX installer had no trouble installing a minimal LyX
system.

Then I tried running LyX.  I got an error saying:

The layout file requested by this document, article.layout, is not
usable.  This is probably because the LaTeX class or style file required is
not available.  See the Customization documentation for more information.
LyX will not be able to produce output.


Once I clicked out of that, I was able to work within the document just
fine.  You can only view those document types you can create.  Therefore, I
was not given the option to view a pdf or postscript version of the
document, so I was not able to bother LyX asking it to do something it
couldn't do.  I did not text image viewing/conversion, but in my experience
when you insert an image that LyX does not know how to convert, it
automatically displays a message along the lines of "Could not convert this
image for display."

Conclusion: for windows, installing a stripped-down LyX is easy except that
it always complains about the layout file.  MicroLyX could easily just be a
recompilation of LyX that does not generate those warnings (and uses a
different title), accompanied by a separate installer.

Any thoughts?

David


Re: Big document

2009-02-05 Thread Helge Hafting

Paul Johnson wrote:

[...]

There are no show-stopping problems for me, but a few little problems.
 Even though each chapter setup indicates that it has a master
document, and I *thought* Lyx would get a pre-amble from that master
document, it appears to have no effect when I look at chapters. I want


LyX uses the preamble of the document for which you issue the 
print/export command. Print the master, and the master preamble is used. 
Print a chapter alone, and the chapter preamble is used.


This is sometimes necessary, for example if you make a book that is a 
collection of parts that you also print freestanding.



ragged-right output, and it appears necessary to put the \RaggedRight
stuff in every chapter preamble.  When I view chapters by themselves,
they do not inherit the preamble of the master document.  So I end up
copying the whole preamble from the master document into each chapter.
 Boring.


LyX could be improved with some master/subdoc commands, such as
"copy master preamble to all subdocuments" and "import preamble from 
master".



Also, it is a problem that Chapter numbering is not correct when you
work on chapters by themselves.  There is an easy fix to set the
chapter counter in ERT at the top of the document, but it is a bit of
a pain.
I wrote a book with chapter subdocuments. This was never an issue 
because I didn't use those numbers much while writing. All references to 
page numbers are automatic, so they are automatically correct when the 
final print is done.


When communicating with the publisher, they might say things like "fix 
the typo on page 4".  But then I knew what document they were referring 
to. Getting the numbers "right" in the beginning wasn't interesting 
because later additions to chapter 1 would shift the rest of the numbers 
anyway.



Another problem I notice is that it is tedious to experiment with
different document settings when working on separate chapters.  If the
main document, the one that has all the includes, is KOMA script, but
then a chapter is just regular book, then when you use LyX to try view
the whole document, you will get a lot of warnings about child
documents of different types every time you view.

Yes, but the warning doesn't matter unless the child document uses 
features that aren't in the master class. In that case you have trouble 
anyway.


Perhaps it'd be more user-friendly to have a document setting checkbox
with "inherit settings from master document". Check that, and the child
document settings are all greyed out and the master document consulted 
when printing (and when LyX decides what class-specific paragraph types 
to show in the user interface.) the child document could even be stored 
without other settings than this checkbox and the master reference.


Helge Hafting




Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-02-05 Thread Christian Ridderström

On Thu, 5 Feb 2009, Helge Hafting wrote:

It'd be a simple piece of software, self-contained and easy to install 
on someone's pc for cooperative writing.


Is there a reason it has to be installed?  Maybe it'd be interesting with 
a version that can be run without having first been installed?


/Christian

--
Christian Ridderström   Mobile: +46-70 687 39 44

spell checking in Dutch (or perhaps other languages than English)

2009-02-05 Thread Hubert Christiaen
I installed the Dutch package for ispell, but Lyx complained "Could not find 
dutch.hash". In looking in the ispell directory, I found a nederlands.hash 
and nederlands.aff . I added symbolic links dutch.hash and dutch.aff and now 
everything works fine!

Sincerely,
Hubert

-- 
Hubert Christiaen
Bloesemlaan 17
3360 Korbeek-Lo
Belgium   


Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-02-05 Thread Vincent van Ravesteijn

Helge Hafting schreef:

Vincent van Ravesteijn wrote:

I think this should hold for FullyLyX too. You should be able to use 
LyX without any Latex and/or Image conversion applications. Of course 
some export functions don't work and some images can't be converted, 
but plain text, etc. should work.


I believe LyX already do that. No latex means you can export plain 
text, and possibly docbook if docbook support software is installed. 
Plain text export is handled by Lyx itself, so no need for supporting 
software.


Then I don't understand what the difference between LyghtLyX and LyX is.

Reading your other post:
> It may also be useful on computers too small for latex
> Lyx-light will be much easier to install because latex and other 
large packages of supporting software is omitted.


The only difference I see is an installer that does not ask whether you 
would like to install the other packages/software ?


Vincent


Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-02-05 Thread Helge Hafting

Ken wrote:

Helge,

Thanks for your message.  Yes, I wrote to the IT folks a few weeks ago 
with the suggestion and will try to follow it up in a few weeks time.  
While there is no licensing costs they may have to worry about the 
installation and support cost/effort.  But again, I think that LyX is 
far and away better than SWP and is definitely worth their investment... 
and will try to convince them of it :)



There is also the cost-cutting angle. Get this free sw up and running,
then the powers that be may evaluate it as a replacement for both swp 
and word. All instances is not realistic, but fewer licenses may cost less.


Helge Hafting


Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-02-05 Thread Helge Hafting

Vincent van Ravesteijn wrote:

I think this should hold for FullyLyX too. You should be able to use LyX 
without any Latex and/or Image conversion applications. Of course some 
export functions don't work and some images can't be converted, but 
plain text, etc. should work.


I believe LyX already do that. No latex means you can export plain text, 
and possibly docbook if docbook support software is installed. Plain 
text export is handled by Lyx itself, so no need for supporting software.


(LyX have 3 export formats built in - latex, plain text, and the stuff 
docbook uses.)


Helge Hafting


Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-02-05 Thread Helge Hafting

A B wrote:

Not quite true. Most (if not all) of the image formats typically used by
Windows user are natively supported by LyX.

interesting; i would expect postscript to be used as the most common format
for scientific papers...

For the images? Rather EPS or PDF. PDF is supported.

As the conversion between these two is easy and loss-less, it should not
be a problem to work with a PDF version in a "LyX LyX-light"
collaboration.


I might have missed something here (I'm sorry in that case) but are
you suggesting a LyX-light version for people that does not want to
use anything but word or a LyX-light for LyX users to work with files
that comes from people that does not use LyX?


Standard LyX is necessary for the one that makes and submit the final 
document. Those who work on pieces and usually prefer word, can use this 
lyx-light. Lyx-light will be much easier to install because latex and 
other large packages of supporting software is omitted. So all you can 
do with Lyx-light is to write text and formulas (and add images.) 
Lyx-light can't print and can't produce pdf.


It'd be a simple piece of software, self-contained and easy to install
on someone's pc for cooperative writing.

It may aslo be useful on computers too small for latex - such as PDA or 
smartphone. You can then work on a document with such a device, but will 
need to transfer it to a pc for printing.


Helge Hafting


Re: How to edit

2009-02-05 Thread Christopher Menzel

On Feb 5, 2009, at 9:04 AM, Stefano Franchi wrote:

On Thursday 05 February 2009 04:01:47 Niklas Huldén wrote:

Joachim K. Rennstich wrote:

Thanks, Ian, for the fast reply


Configuration files should handled with a text editor. I don't know
what that would be for your system but something like Vim, Gedit,  
Kate

etc. You will probably need to edit this file as root.


I am using Lyx 1.6.1 on Mac OS X 10.5.6. Unfortunately, I don't  
really
know how to locate (and thus edit) the file in question. Sorry, I  
am one
of those GUI folks who have no clue about the underlying structure  
of

the Mac OS...


In your program folder you have a program called "Textedit". Use that
program to open the file "/usr/local/etc/aspell.conf".
And as your earlier post said:
Remove the line "home-dir $HOME/Library/Preferences/aspell" (line 38
including blanks), or disable it by adding a "#" sign at the  
begining.


Save the file, exit Textedit and start LyX again.


I am no longer on a Mac, but up to a couple of years ago, the system  
would not show the /usr directory in a GUI application. So the file  
open dialog of a regular GUI text editor would not even show you the  
file.


Only (in Apple's often infuriatingly paternalistic way) by default.   
From (IIRC) the very first version of OS X, if you hit Cmd-Shift-G in  
either the Finder or a File/Open dialog box, you will be given a small  
input box in which you can enter "hidden" directory and file names.   
Typing "/usr", in particular, will show you that directory in the  
Finder or dialog box.


Besides, if you need root privileges to write on it, you'd  
definitely need to go through the command line (i.e. the Terminal  
app).


True.  (Gnome and KDE, which bring up an input box that let's you  
authenticate as root when you try to edit a file with root  
permissions, are much smarter about this.)  But in any case, using vi  
or some other fast terminal-based editor from the command line is  
generally much faster for this sort of quick 'n' dirty file editing.


-chris



Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-02-05 Thread Abdelrazak Younes

Guenter Milde wrote:

On 2009-02-05, Abdelrazak Younes wrote:

Guenter Milde wrote:



Editing yes, output would need LaTeX even for text (AFAIK).


No, unless this has changed recently, LateX is not needed for text 
export in the 1.5 and 1.6 series.


This was about citation support. But I see it works without LaTeX too (but
with limited funtionality: giving the bibtex-key instead)::

  ... 
  for details see [milde.ea.ieee-sensors:08]


  [LaTeX-Befehl: bibtex]


FYI, I think Richard has further improved the bibtex parsing lately.

Abdel.



Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-02-05 Thread Abdelrazak Younes

Guenter Milde wrote:

On 2009-02-05, Abdelrazak Younes wrote:

Guenter Milde wrote:

In my view, to use LaTeX as exchange format,
LyX development should 


a) concentrate on an improved 
  LyX -> LaTeX -> LyX 
   cycle (with the aim to get this round-trip lossless) and 



b) encourage development/improvement of LaTeX converters (to/from
   OOffice, HTML, reStructuredText) that emphasise preserving the
   semantic over visual appearance.




In my view LateX is too specialized and complicated for an interchange
format.  reStructuredText or any other simple markup language would be
just fine IMHO.


But LaTeX is "feature complete", while reStructuredText is even missing
math support


Word people do math?

:-)

Anyway, I was talking about basic structured, text only, document 
collaboration. Anything more complicated will need of course the same 
backend format for all collaborators (either LyX or LateX I agree). 
Quite frankly, I find it illusionary to even think that it is possible 
to collaborate on complex documents when the collaborators use different 
tools.


Abdel.



Re: Error message after Installation with current lyx-webinstaller (windows)

2009-02-05 Thread Uwe Stöhr

Tiago Rinck Caveden schrieb:


My Lyx user directory is a network path that CMD doesn't allow me to go to
execute the program suggested.


I haven't understand the problem. When you install LyX with admin permissions, LyX is usable for all 
users on a PC, no matter what permissions they have.


When you need to add a directory to the PATH environment variable, then open Windows' System 
settings dialog. There you find under the advanced tab the button "Environment variables" where you 
can add your path to the PATH variable.



Is there a way I can change this user
directory, or pass a parameter to the script saying where to create the
folder?


Yes, open in LyX the menu Tools -> Preferences and change there under Path the 
directories.

regards Uwe


Re: Typing in Hebrew

2009-02-05 Thread Uwe Stöhr

Theo Yale schrieb:


However, I am also trying to type in Hebrew, and I don't know how to
set up LyX for that.


We've set up a Wiki page for this purpose:
http://wiki.lyx.org/Windows/Hebrew
Most of the steps there should also work on other OSes like Mac. There's also a 
special Linux page:
http://wiki.lyx.org/LyX/HebrewOnLinux

I hope this helps to start. When you found solutions that are not listed in the Wiki pages, please 
add them there.

(Note that XeTeX is not yet supported by LyX.)

regards Uwe


Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-02-05 Thread rgheck

Guenter Milde wrote:

On 2009-02-05, Abdelrazak Younes wrote:
  

Guenter Milde wrote:


In my view, to use LaTeX as exchange format,
LyX development should 
  


  
a) concentrate on an improved 
  LyX -> LaTeX -> LyX 
   cycle (with the aim to get this round-trip lossless) and 
  


  

b) encourage development/improvement of LaTeX converters (to/from
   OOffice, HTML, reStructuredText) that emphasise preserving the
   semantic over visual appearance.
  


  
Anyone thinking of doing this kind of thing should probably look at 
plastex, which provides a sort of LaTeX parser written in Python. That 
would pretty easily give you one direction.



In my view LateX is too specialized and complicated for an interchange
format.  reStructuredText or any other simple markup language would be
just fine IMHO.



But LaTeX is "feature complete", while reStructuredText is even missing
math support (not to speak of paragraph alignment, tables,
citations or a glossary).

  
Yes, to me, that's a deal breaker as far as using ReST goes. And I don't 
really see that their development goals will ever lead to a situation 
where ReST is feature complete, in that sense. So my own view, for what 
it's worth, is that a greatly improved LaTeX<-->ODT converter is needed, 
one that "preserves semantics", or else a direct LyX<-->ODT converter is 
needed. There seem to be some existing python tools for reading and 
writing ODF, so those could perhaps be used.


rh



Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-02-05 Thread Guenter Milde
On 2009-02-05, Abdelrazak Younes wrote:
> Guenter Milde wrote:
>> In my view, to use LaTeX as exchange format,
>> LyX development should 

>> a) concentrate on an improved 
>>   LyX -> LaTeX -> LyX 
>>cycle (with the aim to get this round-trip lossless) and 

>> b) encourage development/improvement of LaTeX converters (to/from
>>OOffice, HTML, reStructuredText) that emphasise preserving the
>>semantic over visual appearance.


> In my view LateX is too specialized and complicated for an interchange
> format.  reStructuredText or any other simple markup language would be
> just fine IMHO.

But LaTeX is "feature complete", while reStructuredText is even missing
math support (not to speak of paragraph alignment, tables,
citations or a glossary).

> I think it should not be difficult to extent lyx2lyx to handle 
> reStructuredText directly (or even HTML or OOfice). 

> Any taker? You just need to know python to handle this project, no need 
> to fiddle with LyX' internals at all. lyx2lyx provide a nice abstraction 
> layer other the lyx format.

Sounds interesting, especially as the Docutils_ provide the abstraction
of reStructuredText in Python as well, so a Docutils lyxwriter using
lyx2lyx looks like a good idea.

Günter



Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-02-05 Thread Vincent van Ravesteijn

A B schreef:

Not quite true. Most (if not all) of the image formats typically used by
Windows user are natively supported by LyX.


interesting; i would expect postscript to be used as the most common format
for scientific papers...
  

For the images? Rather EPS or PDF. PDF is supported.

As the conversion between these two is easy and loss-less, it should not
be a problem to work with a PDF version in a "LyX LyX-light"
collaboration.



I might have missed something here (I'm sorry in that case) but are
you suggesting a LyX-light version for people that does not want to
use anything but word 


Paradoxically yes.



or a LyX-light for LyX users to work with files
that comes from people that does not use LyX?

Regards.
  


Vincent


Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-02-05 Thread A B
>>> Not quite true. Most (if not all) of the image formats typically used by
>>> Windows user are natively supported by LyX.
>
>> interesting; i would expect postscript to be used as the most common format
>> for scientific papers...
>
> For the images? Rather EPS or PDF. PDF is supported.
>
> As the conversion between these two is easy and loss-less, it should not
> be a problem to work with a PDF version in a "LyX LyX-light"
> collaboration.

I might have missed something here (I'm sorry in that case) but are
you suggesting a LyX-light version for people that does not want to
use anything but word or a LyX-light for LyX users to work with files
that comes from people that does not use LyX?

Regards.


Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-02-05 Thread Vincent van Ravesteijn

Piero Faustini schreef:

Helge Hafting  writes:

  
Or in the case of a serious cooperation setup - use the same config file 
as the guy who has the full lyx setup and does the printing.



That's smart.

LyghtLyX (got the word-pun?) should know that with that document, he is working 
on a project, for which he relies on the config supplied by a file and related 
to another machine - config problems are entirely THAT machine's problem. He 
doesn't care. If he can't give a visualization of a image or external material 
etc. he simply put this message in a in-text-box "I can't show you this image".
He should be self-conscious of his different nature (that's the reason I used 
HE and not IT...).
  
I think this should hold for FullyLyX too. You should be able to use LyX 
without any Latex and/or Image conversion applications. Of course some 
export functions don't work and some images can't be converted, but 
plain text, etc. should work.
I read many opinions, and, although we need more, I made my mind that this LyX 
version should taken in serious consideration by main developers, 

.. I hope I'm closing in on that ;-) ..

and we need 
to know how much work should this require. 
As you understand by now, I only see improvements to LyX without the 
need for having a different application. And improvements are of course 
always worth implementing.
As a non-programmer I have no idea, 
but I guess it's less complicated than work on some rtf converters (which, btw, 
I strongly encourage, of course), the most complicated thing could be re-design 
the way LyX approach a document: now it should approach a PROJECT, and, even if 
I have NO experience nor any knoledge with project-management-software, I guess 
could be a interesting advance with respect to LaTeX or other scientific 
software.
  
This should definitely be a feature of LyX ... sometime, but that is a 
little different topic.
Anyway, hope that with last suggestion I contributed to move back the 
discussion to original problem: collaboration. 
  

I thought the whole discussion on LyghtLyX was for improved collaboration.

Vincent


Re: (coco) Aspell and Lyx - how to add a Personal Dictionary file?

2009-02-05 Thread Joachim K . Rennstich
Thanks for all your help! None of these suggestions did the trick for me, 
however :-( I got a number or emails asking me to post a solution if I 
should ever find one, well, here goes:

This solution assumes, that you got the aspell installation to work. 
The easiest way to do this is to use Cocoaspell. See the Lyx Mac Wiki for
more instructions. The wiki now also states the critical advice 
that if

If at this point you are unable to save new words to the personal 
dictionary you will need to edit the file at /usr/local/etc/aspell.conf. 
Remove the line "home-dir $HOME/Library/Preferences/aspell" 
(line 38 including blanks), or disable it by adding a "#" sign at 
the begining.

I didn't really know how to do this, however, so here's my step-by-step
guide:

1) Start Terminal. Copy or type the following line: 
open /usr/local/etc/aspell.conf

This will open the hidden file in your predefined text editor 
(most likely TextEdit, unless you have donwloaded 
some editor).

(2) Go to line 38 or look for the line 
home-dir $HOME/Library/Preferences/aspel

(3) Add a # in front of the line

(4) Chose "File > Open" from the menu to view the file aspell.conf and 
click once on the file in the dialog box to select it (do not double click)

(5) Apple + I (press the key with the Apple logo or command key and 
the "i" key together). This brings up the "About..." box. 
At the very bottom, click on the lock symbol to be able to make 
changes. It will ask you for your administrative password. 
Now you can change the file to "read and write" 
in all three instance (just above the lock symbol).

(6) After you have made the changes in your text editor (see (2) and (3)), 
save the file (which you now can. If you haven't done step (4) and (5) you 
will get the notification "read only."

(7) Make sure, that in Lyx you have left the path in 
"Preferences > Languages Settings > Spellchecker" empty. 
If you have installed Aspell through Cocoaspell, then make 
sure that you have 
/Library/Application Support/cocoAspell/aspell6-en-6.0-0/english.alias
in your "Alternative Language" path. All the other paths need to be empty.

(8) Restart Lyx. Try the spelling checker now and learn some words. 
Check the file again. 

For me, this did the trick. Hope it will too, for you!








Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-02-05 Thread Guenter Milde
On 2009-02-05, Abdelrazak Younes wrote:
> Guenter Milde wrote:

>> Editing yes, output would need LaTeX even for text (AFAIK).

> No, unless this has changed recently, LateX is not needed for text 
> export in the 1.5 and 1.6 series.

This was about citation support. But I see it works without LaTeX too (but
with limited funtionality: giving the bibtex-key instead)::

  ... 
  for details see [milde.ea.ieee-sensors:08]

  [LaTeX-Befehl: bibtex]


Günter



Re: How to edit

2009-02-05 Thread Joachim K . Rennstich
Niklas Huldén  writes:

> In your program folder you have a program called "Textedit". Use that 
> program to open the file "/usr/local/etc/aspell.conf".
> And as your earlier post said:
> Remove the line "home-dir $HOME/Library/Preferences/aspell" (line 38 
> including blanks), or disable it by adding a "#" sign at the begining.
>
> Save the file, exit Textedit and start LyX again

I finally figured out a way to do this. In Mac OS X you cannot 
simply open hidden files in TextEdit (or any other standard 
text editors). Here are the steps that finally allowed me to 
add words to my dictionary:

(1) Start Terminal. Copy or type the following line: 
open /usr/local/etc/aspell.conf

This will open the hidden file in your predefined text editor 
(most likely TextEdit, unless you have donwloaded 
some editor).

(2) Go to line 38 or look for the line 
home-dir $HOME/Library/Preferences/aspel

(3) Add a # in front of the line

(4) Chose "File > Open" from the menu to view the file aspell.conf and 
click once on the file in the dialog box to select it (do not double click)

(5) Apple + I (press the key with the Apple logo or command key and 
the "i" key together). This brings up the "About..." box. 
At the very bottom, click on the lock symbol to be able to make 
changes. It will ask you for your administrative password. 
Now you can change the file to "read and write" 
in all three instance (just above the lock symbol).

(6) After you have made the changes in your text editor (see (2) and (3)), 
save the file (which you now can. If you haven't done step (4) and (5) you 
will get the notification "read only."

(7) Make sure, that in Lyx you have left the path in 
"Preferences > Languages Settings > Spellchecker" empty. 
If you have installed Aspell through Cocoaspell, then make 
sure that you have 
/Library/Application Support/cocoAspell/aspell6-en-6.0-0/english.alias
in your "Alternative Language" path. All the other paths need to be empty.

(8) Restart Lyx. Try the spelling checker now and learn some words. 
Check the file again. 

For me, this did the trick. Hope it will too, for you!






Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-02-05 Thread Guenter Milde
On 2009-02-05, Pavel Sanda wrote:
> Abdelrazak Younes wrote:
>> Pavel Sanda wrote:
>>> Piero Faustini wrote:
 want. No converters, no LaTeX. 
>>> no converters -> no pictures

>> Not quite true. Most (if not all) of the image formats typically used by 
>> Windows user are natively supported by LyX.

> interesting; i would expect postscript to be used as the most common format
> for scientific papers...

For the images? Rather EPS or PDF. PDF is supported.

As the conversion between these two is easy and loss-less, it should not
be a problem to work with a PDF version in a "LyX LyX-light"
collaboration.

Günter



Re: Creating macros in Lyx

2009-02-05 Thread rgheck

Pascal Francq wrote:

Hi,
Does anybody know if it is possible to create macro in Lyx and how to do it ?
In practice, I want to add some shortcuts to action such as "putting the text 
in red" or "the text is in English".

Thanks.

  
Anything you can do in LyX---any sequence of actions---can be assigned 
(bound) to a key. Two ways. (i) The file that sets the bindings is just 
a text file, *.bind; you can find out which one you are using in 
Tools>Preferences>Editing>Shortcuts. Copy that file to your LyX user 
directory, and then edit as you wish. The syntax is reasonably 
straightforward. (ii) Use the Shortcuts editor in 
Tools>Preferences>Editing>Shortcuts.


The only problem now is to know function what to assign. The available 
functions are described in Help>LyX Functions, so you can look them up 
there. But an easier way is to watch the status line when you perform 
some action: LyX will usually pop up the name of the function you just 
used. If you want to perform a sequence of actions, then you'll need to 
use the command-sequence LFUN to do it, e.g.:

   command-sequence word-select; textstyle-update color 3
That selects the current word and makes it red. (Getting the 
textstyle-update syntax right is less easy than with other things.)


rh



Re: Creating macros in Lyx

2009-02-05 Thread Guenter Milde
On 2009-02-05, Pascal Francq wrote:

> Does anybody know if it is possible to create macro in Lyx 

No. But a key-binding.

> In practice, I want to add some shortcuts to action such as "putting the te=
> xt=20
> in red" or "the text is in English".

After selecting an action from the menu/toolbars, LyX will show the used
lyx-function (lfun) and arguments for a while in the status bar.

You can test if this is really the needed command by writing it into the 
M-x (Alt-x) command buffer and if it's correct add it to your keybindings
file.

Günter



Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-02-05 Thread Piero Faustini
Helge Hafting  writes:

> 
> Or in the case of a serious cooperation setup - use the same config file 
> as the guy who has the full lyx setup and does the printing.

That's smart.

LyghtLyX (got the word-pun?) should know that with that document, he is working 
on a project, for which he relies on the config supplied by a file and related 
to another machine - config problems are entirely THAT machine's problem. He 
doesn't care. If he can't give a visualization of a image or external material 
etc. he simply put this message in a in-text-box "I can't show you this image".
He should be self-conscious of his different nature (that's the reason I used 
HE and not IT...).
I read many opinions, and, although we need more, I made my mind that this LyX 
version should taken in serious consideration by main developers, and we need 
to know how much work should this require. As a non-programmer I have no idea, 
but I guess it's less complicated than work on some rtf converters (which, btw, 
I strongly encourage, of course), the most complicated thing could be re-design 
the way LyX approach a document: now it should approach a PROJECT, and, even if 
I have NO experience nor any knoledge with project-management-software, I guess 
could be a interesting advance with respect to LaTeX or other scientific 
software.
Anyway, hope that with last suggestion I contributed to move back the 
discussion to original problem: collaboration. 





Re: How to edit

2009-02-05 Thread Stefano Franchi
On Thursday 05 February 2009 04:01:47 Niklas Huldén wrote:
> Joachim K. Rennstich wrote:
> > Thanks, Ian, for the fast reply
> >
> >> Configuration files should handled with a text editor. I don't know
> >> what that would be for your system but something like Vim, Gedit, Kate
> >> etc. You will probably need to edit this file as root.
> >
> > I am using Lyx 1.6.1 on Mac OS X 10.5.6. Unfortunately, I don't really
> > know how to locate (and thus edit) the file in question. Sorry, I am one
> > of those GUI folks who have no clue about the underlying structure of
> > the Mac OS...
>
> In your program folder you have a program called "Textedit". Use that
> program to open the file "/usr/local/etc/aspell.conf".
> And as your earlier post said:
> Remove the line "home-dir $HOME/Library/Preferences/aspell" (line 38
> including blanks), or disable it by adding a "#" sign at the begining.
>
> Save the file, exit Textedit and start LyX again
>
> best regards
>
> Niklas

I am no longer on a Mac, but up to a couple of years ago, the system would not 
show the /usr directory in a GUI application. So the file open dialog of a 
regular GUI text editor would not even show you the file.
Besides, if you need root privileges to write on it, you'd definitely need to 
go through the command line (i.e. the Terminal app)

Things may have changed, though.


Cheers,
S.


__
Stefano Franchi
Department of Philosophy          Ph:  (979) 862-2211
Texas A&M University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237



Re: some questions on page numbering (pages BEFORE chapter 1)

2009-02-05 Thread Joe(theWordy)Philbrook

It would appear that on Feb 4, David Mertens did say:

> 
> Oops.  I only sent this to Joe.  Resending to LyX list.
> 

I had wondered about that extra copy... Probably my fault. I keep
forgetting which mailing lists need me to NOT include "me" on the Reply-To:
and which ones rewrite it to point at the list.  Actually if I got
a reply worth responding to that wasn't obviously intended as a private
reply, which I couldn't find on the list id have probably have started a 
reply with full quoting, then pasted it's contents into a reply to the
thread... Then as long as I remember which reply to cancel... ;-7 

> 
> Did you try using a vertical fill via Insert->Formatting->Vertical Space,
> select Vertical Fill?  This seemed to work for me:
> 
> [ some text at top, at least a protected space ]
> ^
>  |
> Vertical Fill
>  |
> 
> [ text at bottom of page ]
> 

No I didn't... But if vertical fill is designed to automatically expand
and or contract as necessary to keep the remaining text before a page
break at the bottom of the page. without changing where that next page
break occurs then it's exactly what I was looking for. And probably a
good reason why I should once again reread the documents found under
LyX->help. Cause now that you mention it I think I have a ghost of a
memory of reading about something like this way back when... 

It would appear that on Feb 4, Steve Litt did say:

> 
> On Wednesday 04 February 2009 04:21:26 am Joe(theWordy)Philbrook wrote:
> 
> >
> > All I need to figure out now is: how to suppress the printing of any
> > page number on pages I don't want numbered???
> 
> \thispagestyle{empty}
> 
> >
> > Well that and how to get Lyx to position the "by authorname" & copyright
> > information at the bottom of an otherwise blank page instead of at the
> > top of one???
> 
> THIS, my friend, is why I always ERT fine tune my frontmatter. By the time 
> you 
> end up trying to outsmart your document class in order to get the frontmatter 
> the way you want your frontmatter to look, it's easier to do the whole thing 
> in ERT. Not only that, but a lot of people decide on a document class based 
> on what they want the frontmatter to look like, and then suffer the 
> consequences in the mainmatter.

Yup. Does that ever ring true... Now that I know how to separate
"front", "main", and if called for, "back" "matter" My only prob will
be in figuring out what to put in the gosh durned ERT boxes... Course,
this thread has given me several priceless clues on that... 

Though in this case it looks like the functionality I was looking for
can be had internally with that " Vertical Fill" insert function.

 
> >
> > (and/or how to get it to use an arbitrary {hard coded?} date, 
> 
> \date{January 25, 2525}
> 

This works for me... I'd just have to remember to update it if there
was a revision.

> Joe --- You've learned a lot. When you've gotten it all, I suggest you write 
> a 
> document about what you learned and post its URL here so we can all use it. 
> The questions you ask pop up over and over again, and your in-the-trenches 
> documentation would be very helpful to those who come after you.

Well I might do something like that sometime... But the only place I've
got to put such a thing is my isp provided ("personal web" / "online data
storage") space. And while I know how to post a link to that, it's not
n the other hand if the lyx mailing list has a web archive where a url
of a particular message could be referenced then perhaps I could
compose something of the kind as a reply to this thread. If I kept it
all in plain text, it wouldn't take that much band width... What do
you think?


It would appear that on Feb 5, Yago did say:

> > Plus how to suppress the date of output generation, from the title
> > page???
> 
> \date{}
> 

Now there's an elegantly brutal solution... I LIKE it!

Hmmmnn I'll have to experiment if something like this in the
frontmatter will affect something that inserts the current date
someplace in the mainmatter... Like perhaps an ERT \today 


> > (and/or how to get it to use an arbitrary {hard coded?} date, or perhaps
> > even the date the .lyx file was last changed,instead...)
> 
> isodate package.
> 

Tell me more... I just did a google for "lyx isodate package" but it
didn't turn up anything that sounded like what I'm hoping you mean...
That is that there is a package that will let me tell lyx or latex to
extract the date (and time? from the lyx file's last modification time
stamp??? I'd be glad they did such a thing. Though I suspect it's likely
more work to figure out than is worth it to me. 



Well I'd like to thank All of you for the kind help you've all shown
me. The info in this one thread is priceless.


-- 
|   ~^~   ~^~
|   <*>   <*>  Joe (theWordy) Philbrook
|   ^ J(tWdy)P
| \___/  <>




Re: Spell checking

2009-02-05 Thread Anders Host-Madsen
Installing cocoAspell worked. Great.






Re: Anyone using LyX on FreeBSD?

2009-02-05 Thread Steve Litt
On Thursday 05 February 2009 05:00:47 am Julian Stacey wrote:
> Steve Litt wrote:
> > Anyone using LyX on FreeBSD? How do you like it?
>
> I tried lyx-1.4.5.1_1 On FreeBSD-7.1 with /usr/ports/print/lyx
> I wanted to generate 3 column stuff, asked for help here
>   Date: Thu, 27 Nov 2008 18:50:35 +0100
>   Subject: 3 column 2 page leaflet in lyx - How to achieve it ?
> & got zero response.
>
> I consumed a lot of searching, did some failed experiments adding
> extra macro files & tex code, got puzzled by the front end, ran out
> of time as deadline neared to produce 3 column, & dumped lyx in
> favour of using .tex direct, ( a template for 3 column for which
> was already under here http://www.berklix.org/bim/leaflet/ )
>
> PS there were also mentions of FreeBSD in my reponse
>   Fri, 26 Dec 2008 17:19:26 +0100
> to Steve of   Fri, 26 Dec 2008 09:59:32 -0500 (15:59 CET)
>
> Cheers,
> Julian

Thanks Julian,

Were you already familiar with LyX from Linux or Windows? What I'm trying to 
ask is, were these problems a FreeBSD specific thing, or a LyX thing?

Also, I tried the URL on your 12/26/2008 email, but got a 404.

LyX aside, how do you like FreeBSD? Do you use it for a desktop?

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US



Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-02-05 Thread Steve Litt
On Thursday 05 February 2009 05:51:38 am Guenter Milde wrote:

> Why not Ly-X (for lyx without TeX)? but this is a minor point.

That doesn't roll smoothly off the tongue and sounds a little too much 
like "liar."

SteveT


Re: Spell checking

2009-02-05 Thread Anders Host-Madsen
OK, I can see that there is an answer to my question
on the LyX wiki. Didn't realize that before asking here.



Spell checking

2009-02-05 Thread Anders Host-Madsen
I badly need spell checking for my typing. LyX relies on aspell, 
which I don't have. I went to the aspell web page and 
downloaded, but I find no installation
instructions. I'm lost. I use LyX on a Mac, and it seems aspell 
is some kind of unix thing. 
I can see that cocoAspell is a Mac 
version of aspell. If I install that,
will it also work from LyX? Thanks.



Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-02-05 Thread Ken
I like the idea of LyX-Lite too.  Perhaps one way to deal with the images
problem is for LyX to export a LyX-Lite version with images in jpg/png format to
a sub-directory along with the lyxlite.lyx file.  Would this make sharing the
images within a document easier and more light-weight?

-Ken





Re: Typing in Hebrew

2009-02-05 Thread E. Kaplan

Follow
http://wiki.lyx.org/Windows/Hebrew




Ehud Kaplan



Theo Yale wrote:

Hello there:
I am somewhat new to LaTeX (downloaded through MacTeX) and almost
totally nex to LyX.  I am currently using 1.5.7 (operating on Mac OS
10.3.9).  I have gone through the user's guides and tutorials, so I'm
able to make LyX pretty much do what I want in English.
However, I am also trying to type in Hebrew, and I don't know how to
set up LyX for that.  Of course I have found several things onliine,
but all of them are either outdated (for example require teTeX);
windows specific; or unclear (most often a combination of the three).
Can anyone either explain to me in an idiot-proof fashion how to get
LyX to work in Hebrew or else point me towards a good current online
how-to?
I am intersted in writing whole Hebrew documents, documents with some
English words, or English documents with some Hebrew words.  Currently
I can do the last one using XeTeX and ERT (\font\h="Lucida Grande" at
Xpt; {\h HEBREW TEXT}) but there are some problems even with that.
The most major of these is that the words show up in reverse order.
For example the sentence:
"These words are in Hebrew"
is displayed as
"Hebrew in are words These"
(but they compile correctly in pdf form)
Also,there are a few other things that don't work (Hebrew words won't
show up in the TOC) and it is in general just a pain in the neck.
So what am I supposed to do?  Are there some settings I'm supposed to
click (changing the language settings in "preferences" or in "document
settings" hasn't helped at all)?  Do I need to download something?
Thanks so much!
T. E. Yale
  


Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-02-05 Thread Abdelrazak Younes

Guenter Milde wrote:

In my view, to use LaTeX as exchange format,
LyX development should 

a) concentrate on an improved 
  LyX -> LaTeX -> LyX 
   cycle (with the aim to get this round-trip lossless) and 


b) encourage development/improvement of LaTeX converters (to/from
   OOffice, HTML, reStructuredText) that emphasise preserving the
   semantic over visual appearance.


I think it should not be difficult to extent lyx2lyx to handle 
reStructuredText directly (or even HTML or OOfice). In my view LateX is 
too specialized and complicated for an interchange format. 
reStructuredText or any other simple markup language would be just fine 
IMHO.


Any taker? You just need to know python to handle this project, no need 
to fiddle with LyX' internals at all. lyx2lyx provide a nice abstraction 
layer other the lyx format.


Abdel.



Re: Puzzled

2009-02-05 Thread E. Kaplan

  1.   I certainly chose view/pdflatex when the failure occurred.
  2. The pdflatext command is recognized by the failing Windows
 machine: I get a pdf file if I do not include pdf graphics in the
 Lyx file.  It is only the pdf figures that cause it to produce a
 "damaged" file.



Ehud Kaplan, 




Helge Hafting wrote:

Ehud Kaplan wrote:

This must be simple for the experts, but it puzzles me:
I have a file with some figures.  It compiles without any problem on 
both a WINDOWS (with Miktex 2.7) machine and on a Kubuntu 8.10 
machine, both running Lyx 16.1.  But on another WINDOWS machine 
(Miktex 2.7, Lyx 1.6.1) it fails to compile (View-->pdflatex), 
returning an errors.


The exact error messages may be of help.

However, if on that machine the pdf figures are replaced by their eps 
equivalents, all is fine.



pdflatex is supposed to handle pdf figures - witout any conversion.
The other ways of producing PDF (dvipdfm and ps2pdf) needs eps files.

First, check to make sure that you really did use view->PDF(pdflatex) on
the failing machine. Make sure it isn't view->PDF(ps2pdf) or 
view->PDF(dvipdfm).


If the failing machine don't have pdflatex, then lyx will still offer 
the other two alternatives for PDF.



This could also be a path problem. Check that pdflatex is in the path 
on both machines, i.e. the command "pdflatex" is recognized on the 
command line on both machines. Having the software is not enough, the 
PATH

setting must be right too.

Helge Hafting


Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-02-05 Thread Abdelrazak Younes

Guenter Milde wrote:


Editing yes, output would need LaTeX even for text (AFAIK).


No, unless this has changed recently, LateX is not needed for text 
export in the 1.5 and 1.6 series.


Abdel.



Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-02-05 Thread Pavel Sanda
Abdelrazak Younes wrote:
> Pavel Sanda wrote:
>> Piero Faustini wrote:
>>> want. No converters, no LaTeX. 
>> no converters -> no pictures
>
> Not quite true. Most (if not all) of the image formats typically used by 
> Windows user are natively supported by LyX.

interesting; i would expect postscript to be used as the most common format
for scientific papers...
pavel


Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-02-05 Thread Ken
Helge,

Thanks for your message.  Yes, I wrote to the IT folks a few weeks ago with
the suggestion and will try to follow it up in a few weeks time.  While
there is no licensing costs they may have to worry about the installation
and support cost/effort.  But again, I think that LyX is far and away better
than SWP and is definitely worth their investment... and will try to
convince them of it :)

Ken


2009/2/5 Helge Hafting 

> Ken wrote:
>
>  harder to export them to SWP even though they are both LaTeX editors.  At
>> the
>> university, SWP is available as a standard install on machines but not
>> LyX.
>>
> Have you tried getting the university to offer LyX as part of the standard
> install as well? Being free means they don't need a budget or any licence
> tracking, just the one-time job of setting up the install. Which shouldn't
> be that tricky given that they already offer latex.
>
> This won't help with the guy stuck on SWP, but it will be easier to have
> more people try.
>
> Helge Hafting
>


Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-02-05 Thread Guenter Milde
On 2009-02-05, Rainer M Krug wrote:

> the options of editing via PDFs and conversion from and to rtf, should
> be explored further as they really would solve the problem. 

The problem here is, that PDF and rtf do not provide semantic markup so
most of the document structure and other vital information is
irrevesibly lost.

This means the scenario:  

  LyX-file -> PDF/rtf-file -> Edit -> reconvert to LyX-file

is impossible.

OTOH, LaTeX and HTML

* support semantic markup,
* are widely known and used,
* can be converted to and from a wide range of other formats by existing
  third party tools (with limitations, though),

While HTML has wider prevalence, LaTeX supports more features an is
closer to the docuement model used in LyX.

In my view, to use LaTeX as exchange format,
LyX development should 

a) concentrate on an improved 
  LyX -> LaTeX -> LyX 
   cycle (with the aim to get this round-trip lossless) and 

b) encourage development/improvement of LaTeX converters (to/from
   OOffice, HTML, reStructuredText) that emphasise preserving the
   semantic over visual appearance.

c) optimise the LaTeX import from these converters.

Using HTML as exchange format would require similar efforts

a) use/improvement/development of HTML<->* converters that preserve
   the semantic information and leave the "presentational" layout
   completely to CSS.

b) a common extension method to represent semantic information that has no
   direct counterpart in HTML.


> I still consider the via comments in pdfs together with syncTeX as the
> easiest to include. Also, with syncTeX, it should be possible to
> import the comments as notes in the original LyX document (at the
> right position) - stated from somebody who does not know anything
> about the inner workings of LaTeX and pdfs.

In principle, something like

  LyX-file -> PDF/rtf-file -> Annote -> import annotations into LyX-file

should be possible. But I cannot say how much work this is and whether or
when it could be done.

Günter



Re: some questions on page numbering (pages BEFORE chapter 1)

2009-02-05 Thread Helge Hafting

Joe(theWordy)Philbrook wrote:
[...]

Well that and how to get Lyx to position the "by authorname" & copyright
information at the bottom of an otherwise blank page instead of at the
top of one???
(there has to be a better way than inserting a bunch of hard returns.
I mean that method would have to be re-tweaked every time the output
page size changed.)

"Insert->Formatting->vertical space"
Select "vfill" to push what follows right to the bottom of the page.
Or specify any distance you like.



Plus how to suppress the date of output generation, from the title
page??? 


When you have a "Title", then a date will be added _unless_ you provide 
one yourself.

So follow the title with a paragraph of type "Date".

If you want no date at all, just write a protected space there. (ctrl+space)


(and/or how to get it to use an arbitrary {hard coded?} date, or perhaps
even the date the .lyx file was last changed,instead...)

If you want a hardcoded date, just type it into that paragraph of type 
"Date". Any format will do, for "Date" is just plain text centered 
nicely under the "Title", using a suitable font.


Helge Hafting


Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-02-05 Thread Christian Ridderström

On Thu, 5 Feb 2009, Helge Hafting wrote:


 Isn't this going to be a big problem?  LyX objects rather strongly
 when it thinks you don't have the corresponding LaTeX class installed.
 Of course, this behaviour could be changed.


Isn't this decision made based on what the configure script autodetected 
at install time? Just supply a fake config file where each and every 
latex feature is believed to exist.


I think it is. Faking the config file is an interesting idea, but I worry 
it might not cause other problems. What should happen if the user tries to 
create a PDF?  I guess this light version culd have those options removed 
from the menu system and the toolbars.


/Christian

--
Christian Ridderström   Mobile: +46-70 687 39 44

Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-02-05 Thread Helge Hafting

Ken wrote:


harder to export them to SWP even though they are both LaTeX editors.  At the
university, SWP is available as a standard install on machines but not LyX. 

Have you tried getting the university to offer LyX as part of the 
standard install as well? Being free means they don't need a budget or 
any licence tracking, just the one-time job of setting up the install. 
Which shouldn't be that tricky given that they already offer latex.


This won't help with the guy stuck on SWP, but it will be easier to have 
more people try.


Helge Hafting


Typing in Hebrew

2009-02-05 Thread Theo Yale
Hello there:
I am somewhat new to LaTeX (downloaded through MacTeX) and almost
totally nex to LyX.  I am currently using 1.5.7 (operating on Mac OS
10.3.9).  I have gone through the user's guides and tutorials, so I'm
able to make LyX pretty much do what I want in English.
However, I am also trying to type in Hebrew, and I don't know how to
set up LyX for that.  Of course I have found several things onliine,
but all of them are either outdated (for example require teTeX);
windows specific; or unclear (most often a combination of the three).
Can anyone either explain to me in an idiot-proof fashion how to get
LyX to work in Hebrew or else point me towards a good current online
how-to?
I am intersted in writing whole Hebrew documents, documents with some
English words, or English documents with some Hebrew words.  Currently
I can do the last one using XeTeX and ERT (\font\h="Lucida Grande" at
Xpt; {\h HEBREW TEXT}) but there are some problems even with that.
The most major of these is that the words show up in reverse order.
For example the sentence:
"These words are in Hebrew"
is displayed as
"Hebrew in are words These"
(but they compile correctly in pdf form)
Also,there are a few other things that don't work (Hebrew words won't
show up in the TOC) and it is in general just a pain in the neck.
So what am I supposed to do?  Are there some settings I'm supposed to
click (changing the language settings in "preferences" or in "document
settings" hasn't helped at all)?  Do I need to download something?
Thanks so much!
T. E. Yale


Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-02-05 Thread Helge Hafting

Christian Ridderström wrote:

On Thu, 5 Feb 2009, Guenter Milde wrote:


idiot-proof as well) LyX version, (I have the name: LyteX or LyghtX!)


Why not Ly-X (for lyx without TeX)? but this is a minor point.


Maybe it's _too_ close to LyX?  Thus easily mistaken.


lyxlight? minilyx? microlyx?
Also, it may be that some settings are blocked if the supporting LaTeX 
package is missing.


Isn't this going to be a big problem?  LyX objects rather strongly when 
it thinks you don't have the corresponding LaTeX class installed. Of 
course, this behaviour could be changed.


Isn't this decision made based on what the configure script autodetected 
at install time? Just supply a fake config file where each and every 
latex feature is believed to exist.


Or in the case of a serious cooperation setup - use the same config file 
as the guy who has the full lyx setup and does the printing.


Helge Hafting


Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-02-05 Thread Christian Ridderström

On Thu, 5 Feb 2009, Guenter Milde wrote:


idiot-proof as well) LyX version, (I have the name: LyteX or LyghtX!)


Why not Ly-X (for lyx without TeX)? but this is a minor point.


Maybe it's _too_ close to LyX?  Thus easily mistaken.

Also, it may be that some settings are blocked if the supporting LaTeX 
package is missing.


Isn't this going to be a big problem?  LyX objects rather strongly when it 
thinks you don't have the corresponding LaTeX class installed. Of course, 
this behaviour could be changed.


It could help, if you (or any other interested person) could try LyX 
without LaTeX (deinstall LaTeX and reconfigure LyX or install LyX on a 
box without LaTeX) and report the experience and problems.


That's a good idea.  And as Guenter says, remember to reconfigure LyX to 
experience the problems with missing LaTeX classes.


regards,
/Christian

--
Christian Ridderström   Mobile: +46-70 687 39 44

Re: Puzzled

2009-02-05 Thread Helge Hafting

Ehud Kaplan wrote:

This must be simple for the experts, but it puzzles me:
I have a file with some figures.  It compiles without any problem on 
both a WINDOWS (with Miktex 2.7) machine and on a Kubuntu 8.10 machine, 
both running Lyx 16.1.  But on another WINDOWS machine (Miktex 2.7, Lyx 
1.6.1) it fails to compile (View-->pdflatex), returning an errors.


The exact error messages may be of help.

However, if on that machine the pdf figures are replaced by their eps 
equivalents, all is fine.



pdflatex is supposed to handle pdf figures - witout any conversion.
The other ways of producing PDF (dvipdfm and ps2pdf) needs eps files.

First, check to make sure that you really did use view->PDF(pdflatex) on
the failing machine. Make sure it isn't view->PDF(ps2pdf) or 
view->PDF(dvipdfm).


If the failing machine don't have pdflatex, then lyx will still offer 
the other two alternatives for PDF.



This could also be a path problem. Check that pdflatex is in the path on 
both machines, i.e. the command "pdflatex" is recognized on the command 
line on both machines. Having the software is not enough, the PATH

setting must be right too.

Helge Hafting


Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-02-05 Thread Guenter Milde
On 2009-02-04, David Mertens wrote:


>> 3. (optional, and not so inmediate) A light-weight full-view (and
>> idiot-proof as well) LyX version, (I have the name: LyteX or LyghtX!)

Why not Ly-X (for lyx without TeX)? but this is a minor point.

>> is able to edit text (and structure) of conventional LyX docs
>> This software should be completely LaTeX independent and, if possible,
>> to have an alternate output system for printing a simple
>> representation of the content. 

The main point is that its already possible to install and use LyX for
document viewing and editing without the need to install helpers (TeX and
Friends).

I am not completely sure about the Text export.

Also, it may be that some settings are blocked if the supporting LaTeX
package is missing.

>> Citation dialogs and any other stuff which do not need LaTeX should
>> work.

Editing yes, output would need LaTeX even for text (AFAIK).

...

> Yeah, a LyX viewer/editor without document processing back-end 
> (and the associated 800Mb download) would be great.

A basic standard LaTeX system should fit into <~ 20 MB but as already
said it not required by LyX.

It could help, if you (or any other interested person) could try LyX
without LaTeX (deinstall LaTeX and reconfigure LyX or install LyX on a
box without LaTeX) and report the experience and problems.

Günter



Creating macros in Lyx

2009-02-05 Thread Pascal Francq
Hi,
Does anybody know if it is possible to create macro in Lyx and how to do it ?
In practice, I want to add some shortcuts to action such as "putting the text 
in red" or "the text is in English".
Thanks.
-- 

Pascal Francq


signature.asc
Description: This is a digitally signed message part.


Re: Error message after Installation with current lyx-webinstaller (windows)

2009-02-05 Thread Tiago Rinck Caveden

Hello everybody,

I'm new to the list, I fount this thread on Nabble via Google and I'm having
the same problem.
My Lyx user directory is a network path that CMD doesn't allow me to go to
execute the program suggested. Is there a way I can change this user
directory, or pass a parameter to the script saying where to create the
folder?

Thanks!

By the way...


grapeshot wrote:
> 
> 
> 
>>>1.  Make sure that the MiKTeX bin directory is on your system command
path.
> 
> THIS advice has me very puzzled.  WHAT does this mean??  Where do I check
> this?
> 

I think he meant Windows PATH environment variable. Right-click on My
Computer -> Advanced -> Environment Variables. Find PATH, and add MiKTeX bin
directory to the list.

-- 
View this message in context: 
http://n2.nabble.com/Error-message-after-Installation-with-current-lyx-webinstaller-%28windows%29-tp477745p2274243.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-02-05 Thread Guenter Milde
On 2009-02-04, Pavel Sanda wrote:
> Piero Faustini wrote:
>> want. No converters, no LaTeX. 

> no converters -> no pictures

Well, pictures in formats supported directly by QT will still be visible
(which are a lot).

Günter



Re: How to edit

2009-02-05 Thread Niklas Huldén

Joachim K. Rennstich wrote:

Thanks, Ian, for the fast reply

Configuration files should handled with a text editor. I don't know
what that would be for your system but something like Vim, Gedit, Kate
etc. You will probably need to edit this file as root.


I am using Lyx 1.6.1 on Mac OS X 10.5.6. Unfortunately, I don't really know 
how to locate (and thus edit) the file in question. Sorry, I am one of those 
GUI folks who have no clue about the underlying structure of 
the Mac OS...



In your program folder you have a program called "Textedit". Use that 
program to open the file "/usr/local/etc/aspell.conf".

And as your earlier post said:
Remove the line "home-dir $HOME/Library/Preferences/aspell" (line 38 
including blanks), or disable it by adding a "#" sign at the begining.


Save the file, exit Textedit and start LyX again

best regards

Niklas


Re: Anyone using LyX on FreeBSD?

2009-02-05 Thread Julian Stacey
Steve Litt wrote:
> Anyone using LyX on FreeBSD? How do you like it?

I tried lyx-1.4.5.1_1 On FreeBSD-7.1 with /usr/ports/print/lyx 
I wanted to generate 3 column stuff, asked for help here
Date: Thu, 27 Nov 2008 18:50:35 +0100
Subject: 3 column 2 page leaflet in lyx - How to achieve it ?
& got zero response.

I consumed a lot of searching, did some failed experiments adding
extra macro files & tex code, got puzzled by the front end, ran out
of time as deadline neared to produce 3 column, & dumped lyx in
favour of using .tex direct, ( a template for 3 column for which
was already under here http://www.berklix.org/bim/leaflet/ )

PS there were also mentions of FreeBSD in my reponse 
Fri, 26 Dec 2008 17:19:26 +0100
to Steve of Fri, 26 Dec 2008 09:59:32 -0500 (15:59 CET)

Cheers,
Julian
-- 
Julian Stacey: BSDUnixLinux C Prog Admin SysEng Consult Munich www.berklix.com
  Mail plain ASCII text.  HTML & Base64 text are spam. www.asciiribbon.org


Re: How to edit

2009-02-05 Thread Iain Mac Donald
On Thu, 5 Feb 2009 01:43:30 + (UTC)
Joachim K. Rennstich  wrote:

> I don't really know 
> how to locate (and thus edit) the file in question.

Assuming the information in the wiki is correct, for your system, the
file has been located already.

/usr/local/etc/aspell.conf

I don't know anything about Apple systems but I presume your text
editor has a File/Open menu where you navigate to the file.
Alternatively, you could open a terminal and type

text-editor /usr/local/etc/aspell.conf

where "text-editor" is the command to start your text editor. Remember,
you probably need to have root privileges to edit a file in this
location. 

Regards,
Iain.


Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-02-05 Thread Abdelrazak Younes

Pavel Sanda wrote:

Piero Faustini wrote:
want. No converters, no LaTeX. 


no converters -> no pictures


Not quite true. Most (if not all) of the image formats typically used by 
Windows user are natively supported by LyX.


Abdel.



Using example to promote (Was: Strategies for Writing Co-operation with Non-LyX Users?)

2009-02-05 Thread Christian Ridderström

Hi,

Here's an ide for those wishing to promote LyX within their particular 
field or organisation:


Create one or more simple example documents that use reasonable
formatting and layout for your area.

I think that if the starting threshold to actually being productive is 
lowered by being able to start from a suitable template or example 
document, it'll be much easier for people to be converted.


The infrastructure for such examples is even in place... you can just 
create your own wiki page(s) and upload examples.  When creating an 
example, remember to upload not only the .lyx-file, but also the .pdf.

It's probably the PDF that they'll look at first to see the result.
You're welcome to ask for help on how to create the wiki page or on how to 
upload examples.


As for creating such examples, you can base them on documents you've 
already prepared. And, of course, you can ask for help on this list. It 
might also be a good idea to ask people on the list to scrutinize the 
methods used in the document to produce the required layout.


Best regards
/Christian

PS. My thinking here was greatly inspired by noticing how much more 
productive I became when I used a template document as a starting point.
This template document already has suitable headers, footers etc with 
logotype and whatnot.




On Wed, 4 Feb 2009, Murat Yildizoglu wrote:


Nice promotional page! I had planned to write a page on LyX on my very
slow-living blog after the release of the version 1.6, but I have not
time yet. My students normally use the tips I give there Maybe during
the next holidays I will try to put it in place. The promotion is
important. What about the publication in economic journals of articles
exported from LyX? I slowly begin to switch to LyX but I keep SWP for
professional issues since I know that it is accepted by international
journals...

Regards,

Murat

2009/2/4 Erez Yerushalmi :

Hi all,

I agree with much of what has been said.

Another thing which *diffuses* LyX into the academia is just pure*advertising
* - I'm using Murat's words.
For example, I am advertising LyX to all my students and colleagues.

Maybe a good thing is for all those that like LyX, to do something similar.
See example:

http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi/computing/lyx

In the economics department at Warwick University we have many LyX
"converts".

I really love LyX and thanks to it, have stopped writing by hand.

Erez




On Wed, Feb 4, 2009 at 11:05 AM, Murat Yildizoglu <
murat.yildizo...@univ-cezanne.fr> wrote:


I definitely support Ken's proposition. SWP really makes a huge mess
with the latex file (even if the file is compilable by a standar Latex
engine - I use the same TexLive 2005 with SWP and LyX). The
possibility of easily switching to LyX can have some importance
consequences on  a larger diffusion of LyX in the academia.

Murat

2009/2/4 Ken :

It was a few months ago that I went through the hassle of

import/exporting

between LyX and SWP.  Yes, SWP can export to "portable" latex, but it was
not all that portable.  However with a few tweaks it was possible to get

a

decent import into LyX. (I think there is a wiki page on it with regards

to

custom macros and images and I recall having a few other small issues).

The much harder problem was getting LyX documents into SWP.  I can't
remember exactly but SWP didn't like certain table formats.  Any attempt

to

import the tex file would cause SWP to balloon in memory requirements and
hog the CPU until it either crashed the machine or I killed the process.

In the end the inflexible SWP won as the default application.  But it is

so

hard to go from amazing-and-free LyX to cumbersome-buggy-and-expensive

SWP.

In fact, I would have much much rather just edited the raw text file than
use SWP (but even that was a nightmare as SWP adds line breaks to its

text

file making 'diff' imposible to use).

Again, I suppose my recommendation would be to make it as easy as

possible

to have users move from SWP to LyX (and it isnt that bad at the moment)

but

it probably isnt worth the time or energy to make LyX documents

compatible

with SWP.  I honestly think that once one writes a single paper with LyX
they will never go back SWP (but getting them to do that first paper is

the

hard bit).

-Ken




2009/2/3 Jean-Marc Lasgouttes 


I have worked with a co-author that insists on using Scientific Word.

 My

experience is that not only is SW/SWP very expensive, I also find it a

far

inferior product to LyX.  It is not easy to import documents from SWP

and

even
harder to export them to SWP even though they are both LaTeX editors.

 At

the
university, SWP is available as a standard install on machines but not
LyX.



Is it still true that swp is able to export 'portable latex' or

whatever,

that
is easier to import? How does LyX fare with that?

JMarc







--
*** NEW UNIVERSITY, NEW ADDRESS ! ***

Prof. Murat Yildizoglu

Re: Installing biblatex-dw-style (Wassenhoven) on OSX

2009-02-05 Thread Dominik Waßenhoven
jezZiFeR wrote:

> I´ve had biblatex-dw installed in that folder before, and did it again  
> now – with the same results. But I tried to get a minimal-sample now,  
> and there it seems, that biblatex-dw is not able to find my  
> bibliography. I entered this line, which worked fine without biblatex- 
> dw:
> \bibliography{/Users/me/documents/Bibliographien/BibDesk/Name}

Is this line in the preamble? Different from 'normal' BibTeX, biblatex
needs this line to be in the preamble. The bibliography will be printed
with the command \printbibliography which you have to give in ERT.

See the biblatex manual for details on the differences between biblatex
and the 'normal' BibTeX.

Regards,
Dominik.-