Re: LyX 1.6.5 claims Bera fonts not installed

2010-03-21 Thread Richard Talley
On Wed, Mar 17, 2010 at 5:33 PM, Richard Talley rich.tal...@gmail.comwrote:


 On Wed, Mar 17, 2010 at 2:04 PM, BH bewih...@gmail.com wrote:

 On Wed, Mar 17, 2010 at 3:30 PM, Richard Talley rich.tal...@gmail.com
 wrote:
 
  +checking for package bera [bera]... yes

 This says it has found the bera fonts. So you should have access to
 them in Document  Settings  Fonts. (Are you sure you don't?)

 At this point, I'm baffled.

 BH


 Thanks for your help.

 I think that the indication that the Bera fonts are not installed is just a
 symptom of a deeper problem; I appear to have lost all font control. No
 matter what fonts I choose, I get a pdf that has the default LaTeX fonts.
 Something is badly screwed up in my TeX installation; I'm going to get rid
 of it and start over.

 Your comments were still useful; I learned several things about trouble
 shooting my installation.

 -=- Rich


Well, there is nothing wrong with my TeX installation. I've been using
TeXShop to work directly in LaTeX and also to typeset LyX documents that I
have exported to LaTeX. All the fonts and utilities are available that are
supposed to be.

There were two things wrong with my LyX 1.6.5 installation, both easy to
correct once I understood what was going on.

Somehow these lines got into the preamble I've been using:

% set fonts for nicer pdf view

\IfFileExists{lmodern.sty}{\usepackage{lmodern}}{}

\fi % end if pdflatex is used


When I used pdflatex to typeset a document, these lines were substituting
Latin Modern for any fonts I was choosing in Lyx.


The second problem is that LyX was showing the Bera fonts as 'not
installed', even though they are and I can use them to typeset a document
(once I had figured out and corrected the first problem). For some reason,
LyX is not adding the correct information to the packages.lst file (which on
OS X is in ~/Library/Application Support/LyX-1.6/), even though the
configure.log file shows that the reconfigure procedure is correctly seeing
that the Bera fonts are installed and available. So I just added a line with
the word 'bera' to the packages.lst file and the 'not installed' message
went away.


-=- Rich


Can not load document class

2010-03-21 Thread Richard Brown
Yesterday I made a new layout, called it poembook.layout and put it in
.lyx/layouts in my home directory. It worked splendidly. I had finally
solved my layout problems.
Today when I fired up the computer and loaded the lyx document, I get 'The
document class poembook can not be loaded.' It seems it can't find the
layout file any more. But it's still where I left it yesterday,a s far as I
can see.


What can I have done wrong?

I'm using lyx 1.6.4 on ubuntu 9.04

Richard


Re: I can´ t to compile lyx

2010-03-21 Thread Enrico Forestieri
On Sat, Mar 20, 2010 at 05:37:36PM -0700, Marcelo Acuña wrote:

 This file was generated using the moc from
  4.5.1. It

inside lyx tree:
find . -name '*moc*' | xargs rm 
   
   Before compiler error I found only one *moc*.
   I run make clean and is deleted.
   I run configure and make produces the error again.
  
  In case you compiled Qt by yourself and you also have the
  system Qt installed,
  then, most probably, the wrong moc is being picked up by
  the configure script.
  Supposing that you installed Qt in /usr/local/qt, try the
  following:
  $ cd /usr/local/qt/bin
  $ ln -s moc moc-qt4
  $ ln -s uic uic-qt4
  and then try to configure again. If I guessed right, it
  should now work.
 
  Thanks Enrico. This solved the problem.
  I gave a look to output of the configure and I noticed that also it find for
 
  rcc-qt4
 
  without finding it.
  It will be necessary to also make a link to that file?

That doesn't hurt but should not be necessary. The configure script looks
in the PATH first for xxx-qt4 and then xxx. This is because you can also
have Qt3 installed and it has to be sure to pick up the Qt4 version.
For this reason, distributions rename the Qt4 xxx compilers as xxx-qt4.
This is done for moc and uic, but not for rcc (as Qt3 doesn't have it).
What happens is that when looking for moc-qt4 and uic-qt4, they are not
found in the bin dir of the specified Qt4 location (which is prepended to
the PATH) but they are found in the system Qt4 bin dir. So, the check for
moc and uic (without '-qt4') is not performed. Instead, rcc-qt4 is not
found neither in the system Qt4 bin dir nor in the specified Qt4 dir, so
configure now looks for rcc and finds it in the right place.

-- 
Enrico


where are margins measured from?

2010-03-21 Thread Richard Brown
If I set custom margins (in document settings), where are the margins
measured from? I thought from the edge of the paper as defined in document
setings, but this doesn't seem to be so. I'm using komascript book class.

Richard


Re: when did stdtoolbars.ui change to stdtoolbars.inc ?

2010-03-21 Thread Richard Heck

On 3/21/10 12:44 AM, Richard Talley wrote:

I was looking at this wiki page:

http://wiki.lyx.org/LyX/UserInterface

where there is this information:

The toolbars are defined in default.ui (up to LyX 1.3.7) or stdtoolbars.ui
(as of LyX 1.4.0).

However, in LyX 1.6.5 the toolbars are defined in stdtoolbars.inc - does
anybody know when this changed? (I'd like to bring some items on this wiki
page up to date.)

   

It was .inc in 1.5.0. You can find this kind of thing out by looking here:
http://www.lyx.org/trac/browser/lyx-devel/tags/
and, in this case, expanding the lyx_1_5_0 tag.

rh



ANNOUNCE: LyX version 2.0.0 (alpha 1)

2010-03-21 Thread Pavel Sanda
Public release of LyX version 2.0.0 (alpha 1)
=

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

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

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

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

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

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

We hope you will enjoy the result!

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


Re: ANNOUNCE: LyX version 2.0.0 (alpha 1)

2010-03-21 Thread Pavel Sanda
Pavel Sanda wrote:
 Binaries should follow soon.

do other people have ftp access or they need to contact me
in order to put it there?

fyi alpha 2 should happen around half of april.

pavel


Re: Can not load document class

2010-03-21 Thread Paul A. Rubin

Richard Brown wrote:

Yesterday I made a new layout, called it poembook.layout and put it in
.lyx/layouts in my home directory. It worked splendidly. I had finally
solved my layout problems.
Today when I fired up the computer and loaded the lyx document, I get 'The
document class poembook can not be loaded.' It seems it can't find the
layout file any more. But it's still where I left it yesterday,a s far as I
can see.


What can I have done wrong?

I'm using lyx 1.6.4 on ubuntu 9.04

Richard



In order to load a layout file, LyX not only has to see the .layout 
file, it has to believe that any LaTeX classes/styles used by it are 
available.  I've no idea what happened, but (a) make sure that the class 
file (poembook.cls?) and any .sty files mentioned in the .layout file 
are available (kpsewhich poembook.cls in a terminal, ditto for anything 
else used) and (b) try reconfiguring/restarting LyX just to be safe.


(Desperation shot from half-court:) You weren't by any chance working 
with admin privileges (sudo) yesterday but not today?  If so, check that 
all the bits and pieces are at least readable by your account.


/Paul



problems with french quotation marks when using lyx with sweave

2010-03-21 Thread Erich Studerus


Hi

I would like to use french quotatin marks in a lyx document with R/Sweave 
code chunks. Unfortunately, the french quotation marks get replaced by 
filled squares during compilation even if I use \frqq. Does anybody know why 
this is?
I'm using the Sweave/Lyx setup described by Gregor Gorjanc, which works fine 
for me on both Mac and Windows computers except for the problem with 
quotation marks.


Regards,
Erich


RE: Beamer question: Addional infos for Teacher

2010-03-21 Thread Ingar Pareliussen
It sound like branches are good fit for your problem. 

Make the presentation. Make new branch in Document-Setting --Branches. Make 
the changes for the students, change the document layout to handouts. Make a 
new branch and add the extra for the teachers. Choose the right branch you want 
when making the different handouts and the presentation. 

Some addition info can be fount in the lyxwiki:
http://wiki.lyx.org/LyX/Presentations
http://wiki.lyx.org/LyX/HumanitiesLyX#toc4

hth, 
Ingar 


Re: where are margins measured from?

2010-03-21 Thread Uwe Stöhr

Am 21.03.2010 14:10, schrieb Richard Brown:


If I set custom margins (in document settings), where are the margins
measured from? I thought from the edge of the paper as defined in document
setings, but this doesn't seem to be so.


Yes, the margins are calculated using a default margin of 1 inch, see

http://wiki.lyx.org/Tips/PaperLayout

regards Uwe


Re: where are margins measured from?

2010-03-21 Thread Paul A. Rubin

Richard Brown wrote:

If I set custom margins (in document settings), where are the margins
measured from? I thought from the edge of the paper as defined in document
setings, but this doesn't seem to be so. I'm using komascript book class.



You're correct for article and report classes.  I think that book 
classes usually include a binding correction in the calculation of the 
inner margin.  See chapter 2 of the Komascript guide for specifics on 
how their classes do it.


/Paul



Farsi typing problem

2010-03-21 Thread Amir Fathi

Dear Sir/Maddam

I'm a fan of LYX and I've been using it
over a year. I'm Iranian and in found of
typing papers and report in my language which is
Persian (Farsi).

My problem is, when I try to start a documnet
and I chose the document class as Report,
the out put documnet does not enumerate the
Part. There are just Part's name but not the
numbers. Is there any command or trick that I
can use to fix the problem?

Thanks in advance,
Best regards,
Amir Fathi

--
=
Amir Fathi
- - - - - - - -
email1:   filtha...@gmail.com
email2:   filtha...@aol.com
email3:   filtha...@yahoo.com
email4:   filtha...@live.com
Skype:filthamir
- - - - - - - -
Cellphone: +989125465904
=



Re: problems with french quotation marks when using lyx with sweave

2010-03-21 Thread Guenter Milde
On 2010-03-21, Erich Studerus wrote:

 I would like to use french quotatin marks in a lyx document with R/Sweave 
 code chunks. Unfortunately, the french quotation marks get replaced by 
 filled squares during compilation even if I use \frqq. Does anybody know why 
 this is?
 I'm using the Sweave/Lyx setup described by Gregor Gorjanc, which works fine 
 for me on both Mac and Windows computers except for the problem with 
 quotation marks.

Maybe this is also due to the calling of the deprecated ae package
by Sweave.sty. Can you try to replace

  \usepackage{Sweave}
  
with  

  \usepackage[noae]{Sweave}
  
somewhere in your setup?

Alternatively, it might help to select a font-package (like mathpazo)
in the LaTex Preamble (as this overrides the ae font selection).

Günter  



Re: things that I miss in lyx

2010-03-21 Thread Jose Quesada
On Sun, Mar 21, 2010 at 3:28 AM, rgheck rgh...@bobjweil.com wrote:

 On 03/20/2010 09:23 PM, Jose Quesada wrote:

 Hi all,

 In no special order, things that I miss in lyx...



 All of this is personal, but...

  1. incremental search



 Do you mean F3?


no, I mean that as you type in the search box things that match get
immediately active. No need to press enter, it works together with 'search
highlight occurences'. the best way to experience this is to open vim, press
/ and start typing your search term. Word 2010 does this too (took them 10
years :) )


  2. sentence autocapitalization



 Hmm. Most of us hate that.

Let me try to motivate this feature.
1- It's trivial to implement it, and then make it optional.
2- The only way to check whether you have missed a capital is by loading all
your lyx files on a text editor that supports regex and painfully check
results of \.\s+[a-z] one by one. Not efficient.
3- I hate to do keyboard combos. they are bad for rsi and slower overall.
Autocapitalization would save thousands of those a month.



  4. search highlight occurences



 You could file an enhancement request for this.

 done: http://www.lyx.org/trac/ticket/6598



  5. bold, color background on outline. A way for the eyes to fixate
 landmarks
 in long outlines.



 I'm not sure what you mean here.

 say section is bold, subsection is not. Or colored backgrounds (level1 is
darker, level 6 is lighter... etc).
I'd love to assign colors to sections to be able to track them visually.


  6. edit history (go back to last edits). We seem to have only one step
 back?



 You can go back a very long way.


well, on 1.6.4, ubuntu karmic, I cannot. If I press the red arrow (back) it
goes back to one edit location (if at all). What am I doing wrong?


  7. the rest of the world operates on rich text/html. LyX doesn't
 (clipboard
 integration is poor, copy-pasting from/to web loses formatting)



 I'm not sure which rest of the world you have in mind, but I agree that
 LyX's external clipboard handling could be improved. We generally use
 plaintext for this, because no-one has cared enough to change it since it
 was implemented eons ago.


say copy-paste from browsers. keeping basic formatting (headings, bold)
would be good., but I bet this is non-trivial. Running some html parser on
clipboard contents, then convert html to lyx... then paste.


  8. 'pasted from' and url for every paste from the web (onenote uses this
 and
 it's damn inspired)



 Don't understand this either.


Imagine you want to keep a snippet you found online. you copy it. when
pasting it in lyx, it will add a little note with the url it came from, and
the time it was collected. This is a killer feature for
notetaking/research.

 rh




Re: things that I miss in lyx

2010-03-21 Thread Graham Smith

Imagine you want to keep a snippet you found online. you copy it. when
pasting it in lyx, it will add a little note with the url it came 
from, and the time it was collected. This is a killer feature for

notetaking/research.

Over the years I have come across several ways of doing this via third 
party clipmate managers, freeform data bases such as Zoot, and as addins 
for your browser. Its actually a very common feature, but its a 
clipping feature rather than a pasting feature.


Here is one for firefox

https://addons.mozilla.org/en-US/firefox/addon/4292

Select the text in Firefox, right click, choose quote text and past 
into Lyx where it pastes the url as well as the text.


Indeed it will paste the text and url into anything.

There are some options on what is copied/pasted.

Graham



Re: I can´t to compile lyx

2010-03-21 Thread Marcelo Acuña
   Thanks Enrico. This solved the problem.
   I gave a look to output of the configure and I
 noticed that also it find for
  
   rcc-qt4
  
   without finding it.
   It will be necessary to also make a link to that
 file?
 
 That doesn't hurt but should not be necessary. The
 configure script looks
 in the PATH first for xxx-qt4 and then xxx. This is because
 you can also
 have Qt3 installed and it has to be sure to pick up the Qt4
 version.
 For this reason, distributions rename the Qt4 xxx compilers
 as xxx-qt4.
 This is done for moc and uic, but not for rcc (as Qt3
 doesn't have it).
 What happens is that when looking for moc-qt4 and uic-qt4,
 they are not
 found in the bin dir of the specified Qt4 location (which
 is prepended to
 the PATH) but they are found in the system Qt4 bin dir. So,
 the check for
 moc and uic (without '-qt4') is not performed. Instead,
 rcc-qt4 is not
 found neither in the system Qt4 bin dir nor in the
 specified Qt4 dir, so
 configure now looks for rcc and finds it in the right
 place.

 The problem was solved, but lyx now not take colors (like color bakground for 
outline) from qtconfig.
 Others changes, like fonts are taked.
Marcelo


  Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/


Re: things that I miss in lyx

2010-03-21 Thread Paul Sutton
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1




 Imagine you want to keep a snippet you found online. you copy it. when
 pasting it in lyx, it will add a little note with the url it came from, and
 the time it was collected. This is a killer feature for
 notetaking/research.
 
 rh


 
sorry sent this reply directly to you by mistake, i am used to hitting
reply in forums and having replies go to the forum / mailing list

How do i do this then,

i opened up wikipedia, highlighed some text and pasted in to lyx and it
just pasted the text,

Am i doing something wrong, do I have to include the url manually ?

i have installed the firefox add on and it only quotes the text + url

paul

- --
Paul Sutton
www.zleap.net

Ubuntu 10.04 is out soon : Visit www.ubuntu.com for details
DCGLUG MEETINGS - Details on www.dcglug.org.uk/ - please click on Group
meetings link on right hand side
Aged 11 - 19 then dfey may be for you,  please goto http://www.dfey.org
for more details
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkummH0ACgkQaggq1k2FJq0JPQCfaTQyGNK6Ga8YmJ6GPqm6clst
N0kAn0VMvJ1o7eOU0bb+n4e421PWQLVj
=15d/
-END PGP SIGNATURE-


Re: things that I miss in lyx

2010-03-21 Thread Graham Smith

Paul,



i have installed the firefox add on and it only quotes the text + url


What do you want it to paste?

You can modify what it pastes via the preferences.

Graham


Re: things that I miss in lyx

2010-03-21 Thread Dotan Cohen
 3- I hate to do keyboard combos. they are bad for rsi and slower overall.
 Autocapitalization would save thousands of those a month.


Use your window manager's sticky keys feature then. It should be found
under accessibility.

-- 
Dotan Cohen

http://bido.com
http://what-is-what.com


Re: things that I miss in lyx

2010-03-21 Thread Jose Quesada
Thanks Dotan,
Didn't know about sticky keys. very useful.

the ff extension is nice, but I have moved to chromium. Oh well, a matter of
time...

Best,
-Jose

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


On Sun, Mar 21, 2010 at 11:54 PM, Dotan Cohen dotanco...@gmail.com wrote:

  3- I hate to do keyboard combos. they are bad for rsi and slower overall.
  Autocapitalization would save thousands of those a month.
 

 Use your window manager's sticky keys feature then. It should be found
 under accessibility.

 --
 Dotan Cohen

 http://bido.com
 http://what-is-what.com



Re: things that I miss in lyx

2010-03-21 Thread Uwe Stöhr

Am 21.03.2010 22:12, schrieb Jose Quesada:


Do you mean F3?


no, I mean that as you type in the search box things that match get
immediately active. No need to press enter, it works together with 'search
highlight occurences'. the best way to experience this is to open vim, press
/ and start typing your search term. Word 2010 does this too (took them 10
years :) )


LyX 2.0 will come with a completely new written extended search engine.


  2. sentence autocapitalization



Hmm. Most of us hate that.



Let me try to motivate this feature.
1- It's trivial to implement it, and then make it optional.


Indeed, we should let the users decide. Please open an enhancement report in 
our bug tracking system.


  5. bold, color background on outline. A way for the eyes to fixate

landmarks
in long outlines.


I'm not sure what you mean here.

say section is bold, subsection is not. Or colored backgrounds (level1 is

darker, level 6 is lighter... etc).
I'd love to assign colors to sections to be able to track them visually.


For this purpose we have layout files. Dependent on the document class, you can there define how a 
section should within LyX. The Additional features manual explains the layout files.



  6. edit history (go back to last edits). We seem to have only one step

back?


You can go back a very long way.


well, on 1.6.4, ubuntu karmic, I cannot. If I press the red arrow (back) it
goes back to one edit location (if at all). What am I doing wrong?


The red arrow button jumps t the last cursor position.
LyX supports 100 undo steps (accessible via shortcut Ctrl+z or the green, 
rounded, left-pointing arrow).


  8. 'pasted from' and url for every paste from the web (onenote uses this

and it's damn inspired)



Imagine you want to keep a snippet you found online. you copy it. when
pasting it in lyx, it will add a little note with the url it came from, and
the time it was collected. This is a killer feature for
notetaking/research.


So what do you miss exactly? LyX has support for hyperlinks (to URLs, files, 
mail addresses).

regards Uwe


Re: Farsi typing problem

2010-03-21 Thread Uwe Stöhr

Am 21.03.2010 20:15, schrieb Amir Fathi:


My problem is, when I try to start a documnet
and I chose the document class as Report,
the out put document does not enumerate the
Part. There are just Part's name but not the
numbers. Is there any command or trick that I
can use to fix the problem?


I also don't know yet why the part is not numbered. It seems that a special 
LaTeX trick is needed.
I'll ask that question on the comp.text.tex usergroup and inform you.

regards Uwe


Re: things that I miss in lyx

2010-03-21 Thread Maria Gouskova
  2. sentence autocapitalization

 Hmm. Most of us hate that.



 Let me try to motivate this feature.
 1- It's trivial to implement it, and then make it optional.

 Indeed, we should let the users decide. Please open an enhancement report in
 our bug tracking system.

If this is implemented, I hope it is set to *off* by default--it's
features like this that drove me away from WYSIWYG word processors!

Re: paste with formatting--on google, paste without formatting pops
up first as a search suggestion. That tells us something about what
users think about it--how do I turn this off???

Maria


Layout file not usable

2010-03-21 Thread Tim Wescott
Searching the archives I see lots of problems associated with this, but 
nothing that seems to point to an answer for me.


I'm working hard at being a brand-new user, but I'm still a 
user-wannabe, because things ain't working!  I'm using Ubuntu 9.10, 
brand shiny new installation of Lyx.  I try to create a document from a 
template (any template, but I'll use latex8 as an example) and I get the 
following:


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

I tried reconfigure -- no luck.

I tried running texhash -- no luck.

I verified that /usr/share/lyx/layouts is there, and that it has 
latex8.layout (and all the others that didn't work) in it.


Clues for the clueless?

Thanks.

--
Tim Wescott
Wescott Design Services
Voice: 503-631-7815
Cell:  503-349-8432
http://www.wescottdesign.com




Re: LyX 1.6.5 claims Bera fonts not installed

2010-03-21 Thread Richard Talley
On Wed, Mar 17, 2010 at 5:33 PM, Richard Talley rich.tal...@gmail.comwrote:


 On Wed, Mar 17, 2010 at 2:04 PM, BH bewih...@gmail.com wrote:

 On Wed, Mar 17, 2010 at 3:30 PM, Richard Talley rich.tal...@gmail.com
 wrote:
 
  +checking for package bera [bera]... yes

 This says it has found the bera fonts. So you should have access to
 them in Document  Settings  Fonts. (Are you sure you don't?)

 At this point, I'm baffled.

 BH


 Thanks for your help.

 I think that the indication that the Bera fonts are not installed is just a
 symptom of a deeper problem; I appear to have lost all font control. No
 matter what fonts I choose, I get a pdf that has the default LaTeX fonts.
 Something is badly screwed up in my TeX installation; I'm going to get rid
 of it and start over.

 Your comments were still useful; I learned several things about trouble
 shooting my installation.

 -=- Rich


Well, there is nothing wrong with my TeX installation. I've been using
TeXShop to work directly in LaTeX and also to typeset LyX documents that I
have exported to LaTeX. All the fonts and utilities are available that are
supposed to be.

There were two things wrong with my LyX 1.6.5 installation, both easy to
correct once I understood what was going on.

Somehow these lines got into the preamble I've been using:

% set fonts for nicer pdf view

\IfFileExists{lmodern.sty}{\usepackage{lmodern}}{}

\fi % end if pdflatex is used


When I used pdflatex to typeset a document, these lines were substituting
Latin Modern for any fonts I was choosing in Lyx.


The second problem is that LyX was showing the Bera fonts as 'not
installed', even though they are and I can use them to typeset a document
(once I had figured out and corrected the first problem). For some reason,
LyX is not adding the correct information to the packages.lst file (which on
OS X is in ~/Library/Application Support/LyX-1.6/), even though the
configure.log file shows that the reconfigure procedure is correctly seeing
that the Bera fonts are installed and available. So I just added a line with
the word 'bera' to the packages.lst file and the 'not installed' message
went away.


-=- Rich


Can not load document class

2010-03-21 Thread Richard Brown
Yesterday I made a new layout, called it poembook.layout and put it in
.lyx/layouts in my home directory. It worked splendidly. I had finally
solved my layout problems.
Today when I fired up the computer and loaded the lyx document, I get 'The
document class poembook can not be loaded.' It seems it can't find the
layout file any more. But it's still where I left it yesterday,a s far as I
can see.


What can I have done wrong?

I'm using lyx 1.6.4 on ubuntu 9.04

Richard


Re: I can´ t to compile lyx

2010-03-21 Thread Enrico Forestieri
On Sat, Mar 20, 2010 at 05:37:36PM -0700, Marcelo Acuña wrote:

 This file was generated using the moc from
  4.5.1. It

inside lyx tree:
find . -name '*moc*' | xargs rm 
   
   Before compiler error I found only one *moc*.
   I run make clean and is deleted.
   I run configure and make produces the error again.
  
  In case you compiled Qt by yourself and you also have the
  system Qt installed,
  then, most probably, the wrong moc is being picked up by
  the configure script.
  Supposing that you installed Qt in /usr/local/qt, try the
  following:
  $ cd /usr/local/qt/bin
  $ ln -s moc moc-qt4
  $ ln -s uic uic-qt4
  and then try to configure again. If I guessed right, it
  should now work.
 
  Thanks Enrico. This solved the problem.
  I gave a look to output of the configure and I noticed that also it find for
 
  rcc-qt4
 
  without finding it.
  It will be necessary to also make a link to that file?

That doesn't hurt but should not be necessary. The configure script looks
in the PATH first for xxx-qt4 and then xxx. This is because you can also
have Qt3 installed and it has to be sure to pick up the Qt4 version.
For this reason, distributions rename the Qt4 xxx compilers as xxx-qt4.
This is done for moc and uic, but not for rcc (as Qt3 doesn't have it).
What happens is that when looking for moc-qt4 and uic-qt4, they are not
found in the bin dir of the specified Qt4 location (which is prepended to
the PATH) but they are found in the system Qt4 bin dir. So, the check for
moc and uic (without '-qt4') is not performed. Instead, rcc-qt4 is not
found neither in the system Qt4 bin dir nor in the specified Qt4 dir, so
configure now looks for rcc and finds it in the right place.

-- 
Enrico


where are margins measured from?

2010-03-21 Thread Richard Brown
If I set custom margins (in document settings), where are the margins
measured from? I thought from the edge of the paper as defined in document
setings, but this doesn't seem to be so. I'm using komascript book class.

Richard


Re: when did stdtoolbars.ui change to stdtoolbars.inc ?

2010-03-21 Thread Richard Heck

On 3/21/10 12:44 AM, Richard Talley wrote:

I was looking at this wiki page:

http://wiki.lyx.org/LyX/UserInterface

where there is this information:

The toolbars are defined in default.ui (up to LyX 1.3.7) or stdtoolbars.ui
(as of LyX 1.4.0).

However, in LyX 1.6.5 the toolbars are defined in stdtoolbars.inc - does
anybody know when this changed? (I'd like to bring some items on this wiki
page up to date.)

   

It was .inc in 1.5.0. You can find this kind of thing out by looking here:
http://www.lyx.org/trac/browser/lyx-devel/tags/
and, in this case, expanding the lyx_1_5_0 tag.

rh



ANNOUNCE: LyX version 2.0.0 (alpha 1)

2010-03-21 Thread Pavel Sanda
Public release of LyX version 2.0.0 (alpha 1)
=

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

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

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

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

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

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

We hope you will enjoy the result!

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


Re: ANNOUNCE: LyX version 2.0.0 (alpha 1)

2010-03-21 Thread Pavel Sanda
Pavel Sanda wrote:
 Binaries should follow soon.

do other people have ftp access or they need to contact me
in order to put it there?

fyi alpha 2 should happen around half of april.

pavel


Re: Can not load document class

2010-03-21 Thread Paul A. Rubin

Richard Brown wrote:

Yesterday I made a new layout, called it poembook.layout and put it in
.lyx/layouts in my home directory. It worked splendidly. I had finally
solved my layout problems.
Today when I fired up the computer and loaded the lyx document, I get 'The
document class poembook can not be loaded.' It seems it can't find the
layout file any more. But it's still where I left it yesterday,a s far as I
can see.


What can I have done wrong?

I'm using lyx 1.6.4 on ubuntu 9.04

Richard



In order to load a layout file, LyX not only has to see the .layout 
file, it has to believe that any LaTeX classes/styles used by it are 
available.  I've no idea what happened, but (a) make sure that the class 
file (poembook.cls?) and any .sty files mentioned in the .layout file 
are available (kpsewhich poembook.cls in a terminal, ditto for anything 
else used) and (b) try reconfiguring/restarting LyX just to be safe.


(Desperation shot from half-court:) You weren't by any chance working 
with admin privileges (sudo) yesterday but not today?  If so, check that 
all the bits and pieces are at least readable by your account.


/Paul



problems with french quotation marks when using lyx with sweave

2010-03-21 Thread Erich Studerus


Hi

I would like to use french quotatin marks in a lyx document with R/Sweave 
code chunks. Unfortunately, the french quotation marks get replaced by 
filled squares during compilation even if I use \frqq. Does anybody know why 
this is?
I'm using the Sweave/Lyx setup described by Gregor Gorjanc, which works fine 
for me on both Mac and Windows computers except for the problem with 
quotation marks.


Regards,
Erich


RE: Beamer question: Addional infos for Teacher

2010-03-21 Thread Ingar Pareliussen
It sound like branches are good fit for your problem. 

Make the presentation. Make new branch in Document-Setting --Branches. Make 
the changes for the students, change the document layout to handouts. Make a 
new branch and add the extra for the teachers. Choose the right branch you want 
when making the different handouts and the presentation. 

Some addition info can be fount in the lyxwiki:
http://wiki.lyx.org/LyX/Presentations
http://wiki.lyx.org/LyX/HumanitiesLyX#toc4

hth, 
Ingar 


Re: where are margins measured from?

2010-03-21 Thread Uwe Stöhr

Am 21.03.2010 14:10, schrieb Richard Brown:


If I set custom margins (in document settings), where are the margins
measured from? I thought from the edge of the paper as defined in document
setings, but this doesn't seem to be so.


Yes, the margins are calculated using a default margin of 1 inch, see

http://wiki.lyx.org/Tips/PaperLayout

regards Uwe


Re: where are margins measured from?

2010-03-21 Thread Paul A. Rubin

Richard Brown wrote:

If I set custom margins (in document settings), where are the margins
measured from? I thought from the edge of the paper as defined in document
setings, but this doesn't seem to be so. I'm using komascript book class.



You're correct for article and report classes.  I think that book 
classes usually include a binding correction in the calculation of the 
inner margin.  See chapter 2 of the Komascript guide for specifics on 
how their classes do it.


/Paul



Farsi typing problem

2010-03-21 Thread Amir Fathi

Dear Sir/Maddam

I'm a fan of LYX and I've been using it
over a year. I'm Iranian and in found of
typing papers and report in my language which is
Persian (Farsi).

My problem is, when I try to start a documnet
and I chose the document class as Report,
the out put documnet does not enumerate the
Part. There are just Part's name but not the
numbers. Is there any command or trick that I
can use to fix the problem?

Thanks in advance,
Best regards,
Amir Fathi

--
=
Amir Fathi
- - - - - - - -
email1:   filtha...@gmail.com
email2:   filtha...@aol.com
email3:   filtha...@yahoo.com
email4:   filtha...@live.com
Skype:filthamir
- - - - - - - -
Cellphone: +989125465904
=



Re: problems with french quotation marks when using lyx with sweave

2010-03-21 Thread Guenter Milde
On 2010-03-21, Erich Studerus wrote:

 I would like to use french quotatin marks in a lyx document with R/Sweave 
 code chunks. Unfortunately, the french quotation marks get replaced by 
 filled squares during compilation even if I use \frqq. Does anybody know why 
 this is?
 I'm using the Sweave/Lyx setup described by Gregor Gorjanc, which works fine 
 for me on both Mac and Windows computers except for the problem with 
 quotation marks.

Maybe this is also due to the calling of the deprecated ae package
by Sweave.sty. Can you try to replace

  \usepackage{Sweave}
  
with  

  \usepackage[noae]{Sweave}
  
somewhere in your setup?

Alternatively, it might help to select a font-package (like mathpazo)
in the LaTex Preamble (as this overrides the ae font selection).

Günter  



Re: things that I miss in lyx

2010-03-21 Thread Jose Quesada
On Sun, Mar 21, 2010 at 3:28 AM, rgheck rgh...@bobjweil.com wrote:

 On 03/20/2010 09:23 PM, Jose Quesada wrote:

 Hi all,

 In no special order, things that I miss in lyx...



 All of this is personal, but...

  1. incremental search



 Do you mean F3?


no, I mean that as you type in the search box things that match get
immediately active. No need to press enter, it works together with 'search
highlight occurences'. the best way to experience this is to open vim, press
/ and start typing your search term. Word 2010 does this too (took them 10
years :) )


  2. sentence autocapitalization



 Hmm. Most of us hate that.

Let me try to motivate this feature.
1- It's trivial to implement it, and then make it optional.
2- The only way to check whether you have missed a capital is by loading all
your lyx files on a text editor that supports regex and painfully check
results of \.\s+[a-z] one by one. Not efficient.
3- I hate to do keyboard combos. they are bad for rsi and slower overall.
Autocapitalization would save thousands of those a month.



  4. search highlight occurences



 You could file an enhancement request for this.

 done: http://www.lyx.org/trac/ticket/6598



  5. bold, color background on outline. A way for the eyes to fixate
 landmarks
 in long outlines.



 I'm not sure what you mean here.

 say section is bold, subsection is not. Or colored backgrounds (level1 is
darker, level 6 is lighter... etc).
I'd love to assign colors to sections to be able to track them visually.


  6. edit history (go back to last edits). We seem to have only one step
 back?



 You can go back a very long way.


well, on 1.6.4, ubuntu karmic, I cannot. If I press the red arrow (back) it
goes back to one edit location (if at all). What am I doing wrong?


  7. the rest of the world operates on rich text/html. LyX doesn't
 (clipboard
 integration is poor, copy-pasting from/to web loses formatting)



 I'm not sure which rest of the world you have in mind, but I agree that
 LyX's external clipboard handling could be improved. We generally use
 plaintext for this, because no-one has cared enough to change it since it
 was implemented eons ago.


say copy-paste from browsers. keeping basic formatting (headings, bold)
would be good., but I bet this is non-trivial. Running some html parser on
clipboard contents, then convert html to lyx... then paste.


  8. 'pasted from' and url for every paste from the web (onenote uses this
 and
 it's damn inspired)



 Don't understand this either.


Imagine you want to keep a snippet you found online. you copy it. when
pasting it in lyx, it will add a little note with the url it came from, and
the time it was collected. This is a killer feature for
notetaking/research.

 rh




Re: things that I miss in lyx

2010-03-21 Thread Graham Smith

Imagine you want to keep a snippet you found online. you copy it. when
pasting it in lyx, it will add a little note with the url it came 
from, and the time it was collected. This is a killer feature for

notetaking/research.

Over the years I have come across several ways of doing this via third 
party clipmate managers, freeform data bases such as Zoot, and as addins 
for your browser. Its actually a very common feature, but its a 
clipping feature rather than a pasting feature.


Here is one for firefox

https://addons.mozilla.org/en-US/firefox/addon/4292

Select the text in Firefox, right click, choose quote text and past 
into Lyx where it pastes the url as well as the text.


Indeed it will paste the text and url into anything.

There are some options on what is copied/pasted.

Graham



Re: I can´t to compile lyx

2010-03-21 Thread Marcelo Acuña
   Thanks Enrico. This solved the problem.
   I gave a look to output of the configure and I
 noticed that also it find for
  
   rcc-qt4
  
   without finding it.
   It will be necessary to also make a link to that
 file?
 
 That doesn't hurt but should not be necessary. The
 configure script looks
 in the PATH first for xxx-qt4 and then xxx. This is because
 you can also
 have Qt3 installed and it has to be sure to pick up the Qt4
 version.
 For this reason, distributions rename the Qt4 xxx compilers
 as xxx-qt4.
 This is done for moc and uic, but not for rcc (as Qt3
 doesn't have it).
 What happens is that when looking for moc-qt4 and uic-qt4,
 they are not
 found in the bin dir of the specified Qt4 location (which
 is prepended to
 the PATH) but they are found in the system Qt4 bin dir. So,
 the check for
 moc and uic (without '-qt4') is not performed. Instead,
 rcc-qt4 is not
 found neither in the system Qt4 bin dir nor in the
 specified Qt4 dir, so
 configure now looks for rcc and finds it in the right
 place.

 The problem was solved, but lyx now not take colors (like color bakground for 
outline) from qtconfig.
 Others changes, like fonts are taked.
Marcelo


  Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/


Re: things that I miss in lyx

2010-03-21 Thread Paul Sutton
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1




 Imagine you want to keep a snippet you found online. you copy it. when
 pasting it in lyx, it will add a little note with the url it came from, and
 the time it was collected. This is a killer feature for
 notetaking/research.
 
 rh


 
sorry sent this reply directly to you by mistake, i am used to hitting
reply in forums and having replies go to the forum / mailing list

How do i do this then,

i opened up wikipedia, highlighed some text and pasted in to lyx and it
just pasted the text,

Am i doing something wrong, do I have to include the url manually ?

i have installed the firefox add on and it only quotes the text + url

paul

- --
Paul Sutton
www.zleap.net

Ubuntu 10.04 is out soon : Visit www.ubuntu.com for details
DCGLUG MEETINGS - Details on www.dcglug.org.uk/ - please click on Group
meetings link on right hand side
Aged 11 - 19 then dfey may be for you,  please goto http://www.dfey.org
for more details
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkummH0ACgkQaggq1k2FJq0JPQCfaTQyGNK6Ga8YmJ6GPqm6clst
N0kAn0VMvJ1o7eOU0bb+n4e421PWQLVj
=15d/
-END PGP SIGNATURE-


Re: things that I miss in lyx

2010-03-21 Thread Graham Smith

Paul,



i have installed the firefox add on and it only quotes the text + url


What do you want it to paste?

You can modify what it pastes via the preferences.

Graham


Re: things that I miss in lyx

2010-03-21 Thread Dotan Cohen
 3- I hate to do keyboard combos. they are bad for rsi and slower overall.
 Autocapitalization would save thousands of those a month.


Use your window manager's sticky keys feature then. It should be found
under accessibility.

-- 
Dotan Cohen

http://bido.com
http://what-is-what.com


Re: things that I miss in lyx

2010-03-21 Thread Jose Quesada
Thanks Dotan,
Didn't know about sticky keys. very useful.

the ff extension is nice, but I have moved to chromium. Oh well, a matter of
time...

Best,
-Jose

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


On Sun, Mar 21, 2010 at 11:54 PM, Dotan Cohen dotanco...@gmail.com wrote:

  3- I hate to do keyboard combos. they are bad for rsi and slower overall.
  Autocapitalization would save thousands of those a month.
 

 Use your window manager's sticky keys feature then. It should be found
 under accessibility.

 --
 Dotan Cohen

 http://bido.com
 http://what-is-what.com



Re: things that I miss in lyx

2010-03-21 Thread Uwe Stöhr

Am 21.03.2010 22:12, schrieb Jose Quesada:


Do you mean F3?


no, I mean that as you type in the search box things that match get
immediately active. No need to press enter, it works together with 'search
highlight occurences'. the best way to experience this is to open vim, press
/ and start typing your search term. Word 2010 does this too (took them 10
years :) )


LyX 2.0 will come with a completely new written extended search engine.


  2. sentence autocapitalization



Hmm. Most of us hate that.



Let me try to motivate this feature.
1- It's trivial to implement it, and then make it optional.


Indeed, we should let the users decide. Please open an enhancement report in 
our bug tracking system.


  5. bold, color background on outline. A way for the eyes to fixate

landmarks
in long outlines.


I'm not sure what you mean here.

say section is bold, subsection is not. Or colored backgrounds (level1 is

darker, level 6 is lighter... etc).
I'd love to assign colors to sections to be able to track them visually.


For this purpose we have layout files. Dependent on the document class, you can there define how a 
section should within LyX. The Additional features manual explains the layout files.



  6. edit history (go back to last edits). We seem to have only one step

back?


You can go back a very long way.


well, on 1.6.4, ubuntu karmic, I cannot. If I press the red arrow (back) it
goes back to one edit location (if at all). What am I doing wrong?


The red arrow button jumps t the last cursor position.
LyX supports 100 undo steps (accessible via shortcut Ctrl+z or the green, 
rounded, left-pointing arrow).


  8. 'pasted from' and url for every paste from the web (onenote uses this

and it's damn inspired)



Imagine you want to keep a snippet you found online. you copy it. when
pasting it in lyx, it will add a little note with the url it came from, and
the time it was collected. This is a killer feature for
notetaking/research.


So what do you miss exactly? LyX has support for hyperlinks (to URLs, files, 
mail addresses).

regards Uwe


Re: Farsi typing problem

2010-03-21 Thread Uwe Stöhr

Am 21.03.2010 20:15, schrieb Amir Fathi:


My problem is, when I try to start a documnet
and I chose the document class as Report,
the out put document does not enumerate the
Part. There are just Part's name but not the
numbers. Is there any command or trick that I
can use to fix the problem?


I also don't know yet why the part is not numbered. It seems that a special 
LaTeX trick is needed.
I'll ask that question on the comp.text.tex usergroup and inform you.

regards Uwe


Re: things that I miss in lyx

2010-03-21 Thread Maria Gouskova
  2. sentence autocapitalization

 Hmm. Most of us hate that.



 Let me try to motivate this feature.
 1- It's trivial to implement it, and then make it optional.

 Indeed, we should let the users decide. Please open an enhancement report in
 our bug tracking system.

If this is implemented, I hope it is set to *off* by default--it's
features like this that drove me away from WYSIWYG word processors!

Re: paste with formatting--on google, paste without formatting pops
up first as a search suggestion. That tells us something about what
users think about it--how do I turn this off???

Maria


Layout file not usable

2010-03-21 Thread Tim Wescott
Searching the archives I see lots of problems associated with this, but 
nothing that seems to point to an answer for me.


I'm working hard at being a brand-new user, but I'm still a 
user-wannabe, because things ain't working!  I'm using Ubuntu 9.10, 
brand shiny new installation of Lyx.  I try to create a document from a 
template (any template, but I'll use latex8 as an example) and I get the 
following:


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

I tried reconfigure -- no luck.

I tried running texhash -- no luck.

I verified that /usr/share/lyx/layouts is there, and that it has 
latex8.layout (and all the others that didn't work) in it.


Clues for the clueless?

Thanks.

--
Tim Wescott
Wescott Design Services
Voice: 503-631-7815
Cell:  503-349-8432
http://www.wescottdesign.com




Re: LyX 1.6.5 claims Bera fonts not installed

2010-03-21 Thread Richard Talley
On Wed, Mar 17, 2010 at 5:33 PM, Richard Talley wrote:

>
> On Wed, Mar 17, 2010 at 2:04 PM, BH  wrote:
>
>> On Wed, Mar 17, 2010 at 3:30 PM, Richard Talley 
>> wrote:
>> >
>> > +checking for package bera [bera]... yes
>>
>> This says it has found the bera fonts. So you should have access to
>> them in Document > Settings > Fonts. (Are you sure you don't?)
>>
>> At this point, I'm baffled.
>>
>> BH
>>
>
> Thanks for your help.
>
> I think that the indication that the Bera fonts are not installed is just a
> symptom of a deeper problem; I appear to have lost all font control. No
> matter what fonts I choose, I get a pdf that has the default LaTeX fonts.
> Something is badly screwed up in my TeX installation; I'm going to get rid
> of it and start over.
>
> Your comments were still useful; I learned several things about trouble
> shooting my installation.
>
> -=- Rich
>
>
Well, there is nothing wrong with my TeX installation. I've been using
TeXShop to work directly in LaTeX and also to typeset LyX documents that I
have exported to LaTeX. All the fonts and utilities are available that are
supposed to be.

There were two things wrong with my LyX 1.6.5 installation, both easy to
correct once I understood what was going on.

Somehow these lines got into the preamble I've been using:

% set fonts for nicer pdf view

\IfFileExists{lmodern.sty}{\usepackage{lmodern}}{}

\fi % end if pdflatex is used


When I used pdflatex to typeset a document, these lines were substituting
Latin Modern for any fonts I was choosing in Lyx.


The second problem is that LyX was showing the Bera fonts as 'not
installed', even though they are and I can use them to typeset a document
(once I had figured out and corrected the first problem). For some reason,
LyX is not adding the correct information to the packages.lst file (which on
OS X is in ~/Library/Application Support/LyX-1.6/), even though the
configure.log file shows that the reconfigure procedure is correctly seeing
that the Bera fonts are installed and available. So I just added a line with
the word 'bera' to the packages.lst file and the 'not installed' message
went away.


-=- Rich


Can not load document class

2010-03-21 Thread Richard Brown
Yesterday I made a new layout, called it poembook.layout and put it in
.lyx/layouts in my home directory. It worked splendidly. I had finally
solved my layout problems.
Today when I fired up the computer and loaded the lyx document, I get 'The
document class poembook can not be loaded.' It seems it can't find the
layout file any more. But it's still where I left it yesterday,a s far as I
can see.


What can I have done wrong?

I'm using lyx 1.6.4 on ubuntu 9.04

Richard


Re: I can´ t to compile lyx

2010-03-21 Thread Enrico Forestieri
On Sat, Mar 20, 2010 at 05:37:36PM -0700, Marcelo Acuña wrote:

> > > > > This file was generated using the moc from
> > 4.5.1. It
> > > > 
> > > > inside lyx tree:
> > > > find . -name '*moc*' | xargs rm 
> > > 
> > > Before compiler error I found only one *moc*.
> > > I run make clean and is deleted.
> > > I run configure and make produces the error again.
> > 
> > In case you compiled Qt by yourself and you also have the
> > system Qt installed,
> > then, most probably, the wrong moc is being picked up by
> > the configure script.
> > Supposing that you installed Qt in /usr/local/qt, try the
> > following:
> > $ cd /usr/local/qt/bin
> > $ ln -s moc moc-qt4
> > $ ln -s uic uic-qt4
> > and then try to configure again. If I guessed right, it
> > should now work.
> 
>  Thanks Enrico. This solved the problem.
>  I gave a look to output of the configure and I noticed that also it find for
> 
>  rcc-qt4
> 
>  without finding it.
>  It will be necessary to also make a link to that file?

That doesn't hurt but should not be necessary. The configure script looks
in the PATH first for xxx-qt4 and then xxx. This is because you can also
have Qt3 installed and it has to be sure to pick up the Qt4 version.
For this reason, distributions rename the Qt4 xxx compilers as xxx-qt4.
This is done for moc and uic, but not for rcc (as Qt3 doesn't have it).
What happens is that when looking for moc-qt4 and uic-qt4, they are not
found in the bin dir of the specified Qt4 location (which is prepended to
the PATH) but they are found in the system Qt4 bin dir. So, the check for
moc and uic (without '-qt4') is not performed. Instead, rcc-qt4 is not
found neither in the system Qt4 bin dir nor in the specified Qt4 dir, so
configure now looks for rcc and finds it in the right place.

-- 
Enrico


where are margins measured from?

2010-03-21 Thread Richard Brown
If I set custom margins (in document settings), where are the margins
measured from? I thought from the edge of the paper as defined in document
setings, but this doesn't seem to be so. I'm using komascript book class.

Richard


Re: when did stdtoolbars.ui change to stdtoolbars.inc ?

2010-03-21 Thread Richard Heck

On 3/21/10 12:44 AM, Richard Talley wrote:

I was looking at this wiki page:

http://wiki.lyx.org/LyX/UserInterface

where there is this information:

"The toolbars are defined in default.ui (up to LyX 1.3.7) or stdtoolbars.ui
(as of LyX 1.4.0)."

However, in LyX 1.6.5 the toolbars are defined in stdtoolbars.inc - does
anybody know when this changed? (I'd like to bring some items on this wiki
page up to date.)

   

It was .inc in 1.5.0. You can find this kind of thing out by looking here:
http://www.lyx.org/trac/browser/lyx-devel/tags/
and, in this case, expanding the lyx_1_5_0 tag.

rh



ANNOUNCE: LyX version 2.0.0 (alpha 1)

2010-03-21 Thread Pavel Sanda
Public release of LyX version 2.0.0 (alpha 1)
=

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

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

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

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

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

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

We hope you will enjoy the result!

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


Re: ANNOUNCE: LyX version 2.0.0 (alpha 1)

2010-03-21 Thread Pavel Sanda
Pavel Sanda wrote:
> Binaries should follow soon.

do other people have ftp access or they need to contact me
in order to put it there?

fyi alpha 2 should happen around half of april.

pavel


Re: Can not load document class

2010-03-21 Thread Paul A. Rubin

Richard Brown wrote:

Yesterday I made a new layout, called it poembook.layout and put it in
.lyx/layouts in my home directory. It worked splendidly. I had finally
solved my layout problems.
Today when I fired up the computer and loaded the lyx document, I get 'The
document class poembook can not be loaded.' It seems it can't find the
layout file any more. But it's still where I left it yesterday,a s far as I
can see.


What can I have done wrong?

I'm using lyx 1.6.4 on ubuntu 9.04

Richard



In order to load a layout file, LyX not only has to see the .layout 
file, it has to believe that any LaTeX classes/styles used by it are 
available.  I've no idea what happened, but (a) make sure that the class 
file (poembook.cls?) and any .sty files mentioned in the .layout file 
are available (kpsewhich poembook.cls in a terminal, ditto for anything 
else used) and (b) try reconfiguring/restarting LyX just to be safe.


(Desperation shot from half-court:) You weren't by any chance working 
with admin privileges (sudo) yesterday but not today?  If so, check that 
all the bits and pieces are at least readable by your account.


/Paul



problems with french quotation marks when using lyx with sweave

2010-03-21 Thread Erich Studerus


Hi

I would like to use french quotatin marks in a lyx document with R/Sweave 
code chunks. Unfortunately, the french quotation marks get replaced by 
filled squares during compilation even if I use \frqq. Does anybody know why 
this is?
I'm using the Sweave/Lyx setup described by Gregor Gorjanc, which works fine 
for me on both Mac and Windows computers except for the problem with 
quotation marks.


Regards,
Erich


RE: Beamer question: Addional infos for Teacher

2010-03-21 Thread Ingar Pareliussen
It sound like branches are good fit for your problem. 

Make the presentation. Make new branch in Document->Setting -->Branches. Make 
the changes for the students, change the document layout to handouts. Make a 
new branch and add the extra for the teachers. Choose the right branch you want 
when making the different handouts and the presentation. 

Some addition info can be fount in the lyxwiki:
http://wiki.lyx.org/LyX/Presentations
http://wiki.lyx.org/LyX/HumanitiesLyX#toc4

hth, 
Ingar 


Re: where are margins measured from?

2010-03-21 Thread Uwe Stöhr

Am 21.03.2010 14:10, schrieb Richard Brown:


If I set custom margins (in document settings), where are the margins
measured from? I thought from the edge of the paper as defined in document
setings, but this doesn't seem to be so.


Yes, the margins are calculated using a default margin of 1 inch, see

http://wiki.lyx.org/Tips/PaperLayout

regards Uwe


Re: where are margins measured from?

2010-03-21 Thread Paul A. Rubin

Richard Brown wrote:

If I set custom margins (in document settings), where are the margins
measured from? I thought from the edge of the paper as defined in document
setings, but this doesn't seem to be so. I'm using komascript book class.



You're correct for article and report classes.  I think that book 
classes usually include a binding correction in the calculation of the 
inner margin.  See chapter 2 of the Komascript guide for specifics on 
how their classes do it.


/Paul



Farsi typing problem

2010-03-21 Thread Amir Fathi

Dear Sir/Maddam

I'm a fan of LYX and I've been using it
over a year. I'm Iranian and in found of
typing papers and report in my language which is
Persian (Farsi).

My problem is, when I try to start a documnet
and I chose the document class as "Report",
the out put documnet does not enumerate the
"Part". There are just Part's name but not the
numbers. Is there any command or trick that I
can use to fix the problem?

Thanks in advance,
Best regards,
Amir Fathi

--
=
Amir Fathi
- - - - - - - -
email1:   filtha...@gmail.com
email2:   filtha...@aol.com
email3:   filtha...@yahoo.com
email4:   filtha...@live.com
Skype:filthamir
- - - - - - - -
Cellphone: +989125465904
=



Re: problems with french quotation marks when using lyx with sweave

2010-03-21 Thread Guenter Milde
On 2010-03-21, Erich Studerus wrote:

> I would like to use french quotatin marks in a lyx document with R/Sweave 
> code chunks. Unfortunately, the french quotation marks get replaced by 
> filled squares during compilation even if I use \frqq. Does anybody know why 
> this is?
> I'm using the Sweave/Lyx setup described by Gregor Gorjanc, which works fine 
> for me on both Mac and Windows computers except for the problem with 
> quotation marks.

Maybe this is also due to the calling of the deprecated "ae" package
by Sweave.sty. Can you try to replace

  \usepackage{Sweave}
  
with  

  \usepackage[noae]{Sweave}
  
somewhere in your setup?

Alternatively, it might help to select a font-package (like mathpazo)
in the LaTex Preamble (as this overrides the "ae" font selection).

Günter  



Re: things that I miss in lyx

2010-03-21 Thread Jose Quesada
On Sun, Mar 21, 2010 at 3:28 AM, rgheck  wrote:

> On 03/20/2010 09:23 PM, Jose Quesada wrote:
>
>> Hi all,
>>
>> In no special order, things that I miss in lyx...
>>
>>
>>
> All of this is personal, but...
>
>  1. incremental search
>>
>>
>>
> Do you mean F3?
>

no, I mean that as you type in the search box things that match get
immediately active. No need to press enter, it works together with 'search
highlight occurences'. the best way to experience this is to open vim, press
/ and start typing your search term. Word 2010 does this too (took them 10
years :) )

>
>  2. sentence autocapitalization
>>
>>
>>
> Hmm. Most of us hate that.

Let me try to motivate this feature.
1- It's trivial to implement it, and then make it optional.
2- The only way to check whether you have missed a capital is by loading all
your lyx files on a text editor that supports regex and painfully check
results of \.\s+[a-z] one by one. Not efficient.
3- I hate to do keyboard combos. they are bad for rsi and slower overall.
Autocapitalization would save thousands of those a month.

>
>
>  4. search highlight occurences
>>
>>
>>
> You could file an enhancement request for this.
>
> done: http://www.lyx.org/trac/ticket/6598


>
>  5. bold, color background on outline. A way for the eyes to fixate
>> landmarks
>> in long outlines.
>>
>>
>>
> I'm not sure what you mean here.
>
> say section is bold, subsection is not. Or colored backgrounds (level1 is
darker, level 6 is lighter... etc).
I'd love to assign colors to sections to be able to track them visually.

>
>  6. edit history (go back to last edits). We seem to have only one step
>> back?
>>
>>
>>
> You can go back a very long way.
>
>
well, on 1.6.4, ubuntu karmic, I cannot. If I press the red arrow (back) it
goes back to one edit location (if at all). What am I doing wrong?

>
>  7. the rest of the world operates on rich text/html. LyX doesn't
>> (clipboard
>> integration is poor, copy-pasting from/to web loses formatting)
>>
>>
>>
> I'm not sure which rest of the world you have in mind, but I agree that
> LyX's external clipboard handling could be improved. We generally use
> plaintext for this, because no-one has cared enough to change it since it
> was implemented eons ago.
>
>
say copy-paste from browsers. keeping basic formatting (headings, bold)
would be good., but I bet this is non-trivial. Running some html parser on
clipboard contents, then convert html to lyx... then paste.

>
>  8. 'pasted from' and url for every paste from the web (onenote uses this
>> and
>> it's damn inspired)
>>
>>
>>
> Don't understand this either.
>
>
Imagine you want to keep a snippet you found online. you copy it. when
pasting it in lyx, it will add a little note with the url it came from, and
the time it was collected. This is a killer feature for
notetaking/research.

> rh
>
>


Re: things that I miss in lyx

2010-03-21 Thread Graham Smith

>Imagine you want to keep a snippet you found online. you copy it. when
>pasting it in lyx, it will add a little note with the url it came 
from, >and the time it was collected. This is a killer feature for

>notetaking/research.

Over the years I have come across several ways of doing this via third 
party clipmate managers, freeform data bases such as Zoot, and as addins 
for your browser. Its actually a very common feature, but its a 
clipping feature rather than a pasting feature.


Here is one for firefox

https://addons.mozilla.org/en-US/firefox/addon/4292

Select the text in Firefox, right click, choose "quote text" and past 
into Lyx where it pastes the url as well as the text.


Indeed it will paste the text and url into anything.

There are some options on what is copied/pasted.

Graham



Re: I can´t to compile lyx

2010-03-21 Thread Marcelo Acuña
> >  Thanks Enrico. This solved the problem.
> >  I gave a look to output of the configure and I
> noticed that also it find for
> > 
> >  rcc-qt4
> > 
> >  without finding it.
> >  It will be necessary to also make a link to that
> file?
 
> That doesn't hurt but should not be necessary. The
> configure script looks
> in the PATH first for xxx-qt4 and then xxx. This is because
> you can also
> have Qt3 installed and it has to be sure to pick up the Qt4
> version.
> For this reason, distributions rename the Qt4 xxx compilers
> as xxx-qt4.
> This is done for moc and uic, but not for rcc (as Qt3
> doesn't have it).
> What happens is that when looking for moc-qt4 and uic-qt4,
> they are not
> found in the bin dir of the specified Qt4 location (which
> is prepended to
> the PATH) but they are found in the system Qt4 bin dir. So,
> the check for
> moc and uic (without '-qt4') is not performed. Instead,
> rcc-qt4 is not
> found neither in the system Qt4 bin dir nor in the
> specified Qt4 dir, so
> configure now looks for rcc and finds it in the right
> place.

 The problem was solved, but lyx now not take colors (like color bakground for 
outline) from qtconfig.
 Others changes, like fonts are taked.
Marcelo


  Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/


Re: things that I miss in lyx

2010-03-21 Thread Paul Sutton
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


>>
>>
> Imagine you want to keep a snippet you found online. you copy it. when
> pasting it in lyx, it will add a little note with the url it came from, and
> the time it was collected. This is a killer feature for
> notetaking/research.
> 
>> rh
>>
>>
> 
sorry sent this reply directly to you by mistake, i am used to hitting
reply in forums and having replies go to the forum / mailing list

How do i do this then,

i opened up wikipedia, highlighed some text and pasted in to lyx and it
just pasted the text,

Am i doing something wrong, do I have to include the url manually ?

i have installed the firefox add on and it only quotes the text + url

paul

- --
Paul Sutton
www.zleap.net

Ubuntu 10.04 is out soon : Visit www.ubuntu.com for details
DCGLUG MEETINGS - Details on www.dcglug.org.uk/ - please click on Group
meetings link on right hand side
Aged 11 - 19 then dfey may be for you,  please goto http://www.dfey.org
for more details
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkummH0ACgkQaggq1k2FJq0JPQCfaTQyGNK6Ga8YmJ6GPqm6clst
N0kAn0VMvJ1o7eOU0bb+n4e421PWQLVj
=15d/
-END PGP SIGNATURE-


Re: things that I miss in lyx

2010-03-21 Thread Graham Smith

Paul,



i have installed the firefox add on and it only quotes the text + url


What do you want it to paste?

You can modify what it pastes via the preferences.

Graham


Re: things that I miss in lyx

2010-03-21 Thread Dotan Cohen
> 3- I hate to do keyboard combos. they are bad for rsi and slower overall.
> Autocapitalization would save thousands of those a month.
>

Use your window manager's sticky keys feature then. It should be found
under accessibility.

-- 
Dotan Cohen

http://bido.com
http://what-is-what.com


Re: things that I miss in lyx

2010-03-21 Thread Jose Quesada
Thanks Dotan,
Didn't know about sticky keys. very useful.

the ff extension is nice, but I have moved to chromium. Oh well, a matter of
time...

Best,
-Jose

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


On Sun, Mar 21, 2010 at 11:54 PM, Dotan Cohen  wrote:

> > 3- I hate to do keyboard combos. they are bad for rsi and slower overall.
> > Autocapitalization would save thousands of those a month.
> >
>
> Use your window manager's sticky keys feature then. It should be found
> under accessibility.
>
> --
> Dotan Cohen
>
> http://bido.com
> http://what-is-what.com
>


Re: things that I miss in lyx

2010-03-21 Thread Uwe Stöhr

Am 21.03.2010 22:12, schrieb Jose Quesada:


Do you mean F3?


no, I mean that as you type in the search box things that match get
immediately active. No need to press enter, it works together with 'search
highlight occurences'. the best way to experience this is to open vim, press
/ and start typing your search term. Word 2010 does this too (took them 10
years :) )


LyX 2.0 will come with a completely new written extended search engine.


  2. sentence autocapitalization



Hmm. Most of us hate that.

>

Let me try to motivate this feature.
1- It's trivial to implement it, and then make it optional.


Indeed, we should let the users decide. Please open an enhancement report in 
our bug tracking system.


  5. bold, color background on outline. A way for the eyes to fixate

landmarks
in long outlines.


I'm not sure what you mean here.

say section is bold, subsection is not. Or colored backgrounds (level1 is

darker, level 6 is lighter... etc).
I'd love to assign colors to sections to be able to track them visually.


For this purpose we have layout files. Dependent on the document class, you can there define how a 
section should within LyX. The Additional features manual explains the layout files.



  6. edit history (go back to last edits). We seem to have only one step

back?


You can go back a very long way.


well, on 1.6.4, ubuntu karmic, I cannot. If I press the red arrow (back) it
goes back to one edit location (if at all). What am I doing wrong?


The red arrow button jumps t the last cursor position.
LyX supports 100 undo steps (accessible via shortcut Ctrl+z or the green, 
rounded, left-pointing arrow).


  8. 'pasted from' and url for every paste from the web (onenote uses this

and it's damn inspired)



Imagine you want to keep a snippet you found online. you copy it. when
pasting it in lyx, it will add a little note with the url it came from, and
the time it was collected. This is a killer feature for
notetaking/research.


So what do you miss exactly? LyX has support for hyperlinks (to URLs, files, 
mail addresses).

regards Uwe


Re: Farsi typing problem

2010-03-21 Thread Uwe Stöhr

Am 21.03.2010 20:15, schrieb Amir Fathi:


My problem is, when I try to start a documnet
and I chose the document class as "Report",
the out put document does not enumerate the
"Part". There are just Part's name but not the
numbers. Is there any command or trick that I
can use to fix the problem?


I also don't know yet why the part is not numbered. It seems that a special 
LaTeX trick is needed.
I'll ask that question on the comp.text.tex usergroup and inform you.

regards Uwe


Re: things that I miss in lyx

2010-03-21 Thread Maria Gouskova
>>>  2. sentence autocapitalization

>>> Hmm. Most of us hate that.
>
>>
>>
>> Let me try to motivate this feature.
>> 1- It's trivial to implement it, and then make it optional.
>
> Indeed, we should let the users decide. Please open an enhancement report in
> our bug tracking system.

If this is implemented, I hope it is set to *off* by default--it's
features like this that drove me away from WYSIWYG word processors!

Re: paste with formatting--on google, "paste without formatting" pops
up first as a search suggestion. That tells us something about what
users think about it--"how do I turn this off???"

Maria


Layout file not usable

2010-03-21 Thread Tim Wescott
Searching the archives I see lots of problems associated with this, but 
nothing that seems to point to an answer for me.


I'm working hard at being a brand-new user, but I'm still a 
user-wannabe, because things ain't working!  I'm using Ubuntu 9.10, 
brand shiny new installation of Lyx.  I try to create a document from a 
template (any template, but I'll use latex8 as an example) and I get the 
following:


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

I tried reconfigure -- no luck.

I tried running texhash -- no luck.

I verified that /usr/share/lyx/layouts is there, and that it has 
latex8.layout (and all the others that didn't work) in it.


Clues for the clueless?

Thanks.

--
Tim Wescott
Wescott Design Services
Voice: 503-631-7815
Cell:  503-349-8432
http://www.wescottdesign.com