Re: input preamble with biblatex?

2010-01-06 Thread Guenter Milde
On 2010-01-05, Jürgen Spitzmüller wrote:
 Peter Baumgartner wrote:
  ... the command \includeonly does not work.
  At least that was the discussion on an older lyx version ...

 Yes. It does not work since LyX uses specific filenames for the
 compilation of the document in the temporary directory.

In older LyX versions, you could choose to compile without temporary
directory. Is this still supported? If yes, the documentation should
mention this as a requirement for working with \includeonly (besides
compiling the complete document first).

Günter



Re: input preamble with biblatex?

2010-01-06 Thread Jürgen Spitzmüller
Guenter Milde wrote:
 In older LyX versions, you could choose to compile without temporary
 directory. Is this still supported?

I don't think so.

Jürgen


Re: Unknown graphics extension: eps

2010-01-06 Thread Helge Hafting

Luca Carlon wrote:

Anyway, this is a problem related to this specific file, i.e. my thesis, as if 
I create a new file and I insert in there an eps file, pdflatex correctly 
produces the PDF. This is happening under both Linux and MacOSX.

Any idea why?


I see. your LyX works with .eps files, just not this particular one.

So, either something is wrong with the file itself, or possibly
the file name.

To check that the file itself is ok, try opening it with some
PDF viewer (gv, gs, ...) or check that it can be previewed inside LyX. 
(I.e. turn instant preview on in tools-settings-graphics and the eps 
 image should show up inside the main window. But of course this may 
fail if LyX has a bug that affects this particular file.)


Now, LyX complains about the file extension of this particular file,
so maybe there is a problem with the file name.

Does the filename really end in .eps, or do it end in something
like .eps. or .eps  ?  An extra blank or uppercase letters will
ruin the file extension for LyX. Also check if the filename
contains spaces or other unusual characters - LyX has a history of
problems with such things.

Extra spaces can be hard to see, but the linux command line has a
little trick for this. Type ls  followed by the first few characters
of the filename. Type enough characters so that no other file
starts with the same sequence. Then press the TAB key. Linux will then 
complete the filename for you. If it contains spaces, then those spaces

will be prefixed with a backslash so you can see them.

If the file is in some other directory, beware of directories with
strange names., (spaces etc.) This too has been a problem before.

You can also try copying the file to a different filename (test.eps), 
and then inserting this copy into LyX. That should take care of

any problem with the filename. Put the copy in the same
directory as the lyx document, to avoid any problems with
directory names.

Helge Hafting



Re: Unknown graphics extension: eps

2010-01-06 Thread Luca Carlon
Thank you for your answer, but I already discovered what was going on: eps
files cannot be included in the preamble.

On Wed, Jan 6, 2010 at 11:29 AM, Helge Hafting helge.haft...@hist.nowrote:

 Luca Carlon wrote:

  Anyway, this is a problem related to this specific file, i.e. my thesis,
 as if I create a new file and I insert in there an eps file, pdflatex
 correctly produces the PDF. This is happening under both Linux and MacOSX.
 Any idea why?


 I see. your LyX works with .eps files, just not this particular one.

 So, either something is wrong with the file itself, or possibly
 the file name.

 To check that the file itself is ok, try opening it with some
 PDF viewer (gv, gs, ...) or check that it can be previewed inside LyX.
 (I.e. turn instant preview on in tools-settings-graphics and the eps
  image should show up inside the main window. But of course this may fail if
 LyX has a bug that affects this particular file.)

 Now, LyX complains about the file extension of this particular file,
 so maybe there is a problem with the file name.

 Does the filename really end in .eps, or do it end in something
 like .eps. or .eps  ?  An extra blank or uppercase letters will
 ruin the file extension for LyX. Also check if the filename
 contains spaces or other unusual characters - LyX has a history of
 problems with such things.

 Extra spaces can be hard to see, but the linux command line has a
 little trick for this. Type ls  followed by the first few characters
 of the filename. Type enough characters so that no other file
 starts with the same sequence. Then press the TAB key. Linux will then
 complete the filename for you. If it contains spaces, then those spaces
 will be prefixed with a backslash so you can see them.

 If the file is in some other directory, beware of directories with
 strange names., (spaces etc.) This too has been a problem before.

 You can also try copying the file to a different filename (test.eps), and
 then inserting this copy into LyX. That should take care of
 any problem with the filename. Put the copy in the same
 directory as the lyx document, to avoid any problems with
 directory names.

 Helge Hafting




-- 
Luca Carlon
Doctor of Computer Engineering


Re: Directory path to the document cannot contain spaces

2010-01-06 Thread Helge Hafting

Adam Hoffman wrote:

I recently installed LyX 1.6.4-1 on a Windows 7 system, and I'm having an
issue that is not common to my previous LyX installs (1.6.?) on an XP SP3
and Vista 64 SP1 system.

Whenever I try to generate a pdf/dvi/ps file from a file path that includes
spaces, I get an error message indicating that this is not permitted.  I am
not having this issue with previous installs of LyX.  Can anyone explain the
source of the issue and, more importantly, how I can resolve it?


The source of the problem:

LyX is just an editor for formatted text. To do anything else, such
as printing, making pdf/html/whatever or dealing with images, helper 
applications is used.


This is useful, because there are many such helper apps exist.
The most important one is latex, of course.

Whenever helper apps is used, they get invoked through the command line. 
And on the command line, a space is a separator. The name of the helper
app is separated from the file(s) to process with spaces. And when there 
are several files to process, they are aain separated with spaces.


Unless care is taken, a path like C:\My Documents\filename, turns into
two odd paths: C:\My and Documents\filename.

There are various workarounds for this. One of them is to put
filenames in quotes, but again one has to be careful as filenames can
contain quotes too.

Now, LyX itself is supposed to handle filenames with spaces. If it 
doesn't, then you can report the bug to the developers. They will 
normally fix it in the next release.


If the problem is in one of the helper apps, then the LyX developers
can't fix it. You may still report it to whoever is responsible for
that particular app - maybe it gets fixed someday.

In the meantime, consider working around the problem by using a
path without spaces. Either some folder not under My Documents,
or rename My Documents to My_Documents or similiar.

Helge Hafting


Re: Fwd: CAS exposure in LyX (was Re: Importing Lyx files in SWP)

2010-01-06 Thread Helge Hafting

Murat Yildizoglu wrote:

Thanks a lot Olivier, this works perfectly for Maxima.
 I can ask it to compute \frac{\partial x^{2}}{\partial x}=2\, x and
it works as it is shown by the = sign but how to ask more indirect
tasks?

Question: How to pass commands to Maxima? Should we write full Maxima
expressions, instead of the standard math notation? In SWP there is a
Computation menu where it is possible to choose the operation that we
desire (simplify, evaluate, etc.).


I think Lyx should stay with the math notation it has. Users should not
need to write differently depending on whether they use maxima or some
other math package.

LyX should handle the conversion into something maxima/octace/whatever
can understand.

Of course the math menu in LyX can be extended. If different menus
for simplify, evaluate etc. is useful, then it can be made.

Someone interested has to do the work though.

Helge Hafting




Re: Wrapping text REALLY around a picture

2010-01-06 Thread Helge Hafting

Luca De Marini wrote:

Hallo list, I'd like to understand a fast thing I never considered but am
considering now: is it possible in Lyx or Latex to wrap text around a
picture for real? I mean, in lyx I can do something like that to wrap text
around a picture but, in reality, I wrap it around a square into which
there's the picture. What if I have a transparent PNG and want the text to
wrap REALLY around the picture considering transparency? Looking at this
page:

http://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions

And studying it, sounds to me it's impossible to achieve such a goal, am I
correct?


Doable but not easy.
Start LyX, then try Help-Additional Features. There, read section 7.4
Non-standard Paragraph Shapes

Text can be typeset into any kind of paragraph shape, but you currently
have to specify the exact shape through series of line-length commands.

Now, LyX is software, so it'd be possible to extend it to find the
outline of a png, and emit all those commands automatically. But nobody 
has done that yet.


Helge Hafting


Re: Wrapping text REALLY around a picture

2010-01-06 Thread Luca De Marini
2010/1/6 Helge Hafting helge.haft...@hist.no

 Luca De Marini wrote:

 Hallo list, I'd like to understand a fast thing I never considered but am
 considering now: is it possible in Lyx or Latex to wrap text around a
 picture for real? I mean, in lyx I can do something like that to wrap text
 around a picture but, in reality, I wrap it around a square into which
 there's the picture. What if I have a transparent PNG and want the text to
 wrap REALLY around the picture considering transparency? Looking at this
 page:

 http://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions

 And studying it, sounds to me it's impossible to achieve such a goal, am I
 correct?


 Doable but not easy.
 Start LyX, then try Help-Additional Features. There, read section 7.4
 Non-standard Paragraph Shapes

 Text can be typeset into any kind of paragraph shape, but you currently
 have to specify the exact shape through series of line-length commands.

 Now, LyX is software, so it'd be possible to extend it to find the
 outline of a png, and emit all those commands automatically. But nobody has
 done that yet.


Not usable by me for now, but that's very interesting, I think this is an
important feature for many kind of works, well, it depends on what the
target should be in any case, but it's a good idea to be very flexible,
so... I think this will be code one day maybe ;)
And it will be a really nice feature because, since it's hard to do this
kind of things in LaTeX, making it automatic will surely be an important
step forward for a lot of people. I'd love this for example.
Thanks and greetings,

Luca D.M.


Re: For the Wish list

2010-01-06 Thread Helge Hafting

Ehud Kaplan wrote:
In working with colleagues on a paper, there are times when I do not 
have the figures
needed for producing the entire document, but it would  be nice to see 
it even without the figures.


You can insert figure floats, and simply not insert any graphics files 
into them.


That way, you can have cross-references to all figures. The missing ones 
will simply be blank - just captions.


When you get figures, insert them into the existing figure floats and
print again.

Helge Hafting


Re: Multiple files for book

2010-01-06 Thread Helge Hafting

Stephen George wrote:


Hi,

I'm a new comer to Lyx, and reading some of the tute and skim reading 
topics of interest the rest.


I'm still left with a question. (hope I didn't miss it)

If creating a book with a couple hundred pages, do I put it all in one 
big lyx file, or do I split it across multiple files (say one file per 
chapter), and somehow pull each chapter into book with some sort of 
include command?


Whatever you like. Splitting into several files is very useful when
there are several authors. It can also be useful in that you
can do view-PDF for a single file quickly. This operation
can take some time (several minutes) for a complete book.

Otherwise, it is a matter of taste, as LyX will cope with anything.
One big file, many subfiles. All the figures in one place, or
sorted into per-chapter folders.

This can also be changed later. You can split up a large
document by pasting whole chapters into new documents. For going the 
other way, LyX can insert the contents of several documents into one.


Helge Hafting


lyx module

2010-01-06 Thread Marco Correia
Hi,

I have created a lyx module with some stuff I need for my thesis. Probably I 
have made a mistake somewhere, since lyx says error reading module when I 
load it, even if the module works as expected.

The message is not very informative, and does not help me finding where the 
bug is. Is there an error log where lyx could be provinding more information?

Thanks!

PS: Please answer me back directly since I'm not subscribed.


-- 
Marco Correia m...@di.fct.unl.pt


Re: Fwd: CAS exposure in LyX (was Re: Importing Lyx files in SWP)

2010-01-06 Thread Guenter Milde
On 2010-01-06, Helge Hafting wrote:
 Murat Yildizoglu wrote:
 Thanks a lot Olivier, this works perfectly for Maxima.
  I can ask it to compute \frac{\partial x^{2}}{\partial x}=2\, x and
 it works as it is shown by the = sign but how to ask more indirect
 tasks?

 Question: How to pass commands to Maxima? Should we write full Maxima
 expressions, instead of the standard math notation? In SWP there is a
 Computation menu where it is possible to choose the operation that we
 desire (simplify, evaluate, etc.).

 I think Lyx should stay with the math notation it has. Users should not
 need to write differently depending on whether they use maxima or some
 other math package.

 LyX should handle the conversion into something maxima/octace/whatever
 can understand.

 Of course the math menu in LyX can be extended. If different menus
 for simplify, evaluate etc. is useful, then it can be made.

The problem here is, that LaTeX only knows/needs presentational math
commands. A large part of the CAS syntax has no meaning in pure math.

Hence it does not make sense to extend LaTeX math for CAS.

Proposals (first draw):

* for code from a file, use the external material inset, 
  
  Create a CAS template replacing Maxima/Octave/swiginac input with the LaTeX
  output in a math-editor box.
  
* a CAS-inset for the math editor with configurable accepting CAS
  commands in a configurable language.
  
Günter  



Numbering figures' problem

2010-01-06 Thread Matteo A.
Hello everybody

I have a problem with lyx. when i draw a numbered figure or table, lyx works
and gives it a correct number. the same for the next figure/table. But when
i view the lyx file as PDF file and take a look to the figure and table's
numbers i notice that all the figures and tables, of a same section or
subsection, get the same number.

I mean that when i write in lyx chapter 4-section 3(for example) and put 2
tables or figures that are numbered in lyx automatically as table or figure
6 and table or figure 7, then when i update the PDF, i notice that the 2
tables or figures get the same number like table 4.3 and not table 4.3.1
and table 4.3.2 or whatever is the correct number. i cannot understand the
reason. can anyone help me?? it is very important. i am using lyx for my
Thesis.

i tried to save and close my lyx document. Then to open it again and
click View PDF (pdflatex) to get whole document compiled again but it
doesn't work..it doesn't change anything.

 i am using lyx 1.6.5 on windows vista sp 2, miktex 2.7, and Book (AMS) as
document class

Thanks in advance


Lyx in Fedora 12

2010-01-06 Thread Dr. Gyorgy Pota

Dear Users,

Lyx did not show any eps figures in a freshly installed Fedora 12 
system. Running Lyx in a terminal revealed that convert was 
unsuccesful. Finally it turned out that ImageMagick was not installed 
for  Lyx although I installed Lyx via yum, which, in principle, installs 
everything necessary. I was so angry, I almost went back to a well-known 
non-free op. system and to its famous word processor. :-)


I hope this helps some of you.

Gyorgy Pota


I surely do wish I could use aspell directly on a *.lyx file...

2010-01-06 Thread Joe(theWordy)Philbrook

Don't get me wrong, LyX's internal spellchecker does a good job of
implementing aspell. Except for two little things that make me wish I could
invoke aspell from the command line on a *.lyx file and have it skip all
the embedded lyx commands. I've looked at the docs for aspell and it looks
like there is a --mode=tex option, but I don't see anything about a
--mode=lyx option for it. sigh 

I wouldn't care but for those two little things I mentioned. And to be sure
lyx's spellchecker isn't alone among gui spellchecker routines about which
these two things drive me a little crazy.

The first (And most obvious)issue is the way the pop-up spellchecker dialog
box often obscures the word in the text of the lyx document. I mean if it
simply determined where the word was displayed and opened the dialog box in
a different part of the screen so that I could see the syntax of my
spelling error so that I can remember whether I was talking about the chain
of command or about some character needing to use the commode I might
have a better chance of accepting the correct suggestion...

I can and do work around this by resizing my lyx document window to use
only the top half of the screen. And then moving the spellchecker dialog
box to the bottom half of the screen in the (so far well founded) hope that
{my window manager, or is it lyx itself?} will remember where to open the
next occurrence of the pop-up... But then of course I need to resize the
document window back to it's normal size again when I'm done spellchecking.

The second issue has to do with the fact that I'm a keyboard centric kind of
guy that really dislikes putting the keyboard down to wrestle with the
mouse. I know I can and do use alt+R to accept the default suggestion,
alt+I to ignore the intentionally misspelled word that I don't want added
to the dictionary. And I've even gotten used to the fact that it's alt+D
{which with the D being so close to the R on a qwerty keyboard has
caused more than a few erroneous additions to my ~/.aspell.en.pws file}
rather than a more intuitive alt+A to Add the word to the dictionary. 
But what I can't do is to select something other than the topmost default
spelling suggestion with the keyboard. Oh I can use tab to get to the
suggestion list, then the arrow key to highlight an alternate suggestion.
But I can't find a way to get the spellchecker to use the now highlighted
suggestion without dusting off that torture device that controls the mouse
pointer and clicking on the word in question. IE: If I misspell cycle as
cyclen the default suggestion shows up as cyclone. With the 2nd choice being
cycle. I can use the keyboard to hi-light cycle, But this doesn't change the
fact that the actual replacement field still says cyclone. So of course
if I press enter cyclen will become cyclone... I have only three choices to
get the spellchecker to change cyclen to cycle. 1) double click on cycle
from the list of suggestions. 2) single click on cycle to change the
replacement field to cycle allowing either alt+R or enter to make the
change. 3) tab my way instead to the replacement field and manually edit
cyclone into cycle... sigh 

I don't suppose that either of these two issues (think feature
request) will be resolved any time soon???

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



Re: I surely do wish I could use aspell directly on a *.lyx file...

2010-01-06 Thread Manveru
2010/1/6 Joe(theWordy)Philbrook jtw...@ttlc.net:
[...]
 The first (And most obvious)issue is the way the pop-up spellchecker dialog
 box often obscures the word in the text of the lyx document. I mean if it
 simply determined where the word was displayed and opened the dialog box in
 a different part of the screen so that I could see the syntax of my
 spelling error so that I can remember whether I was talking about the chain
 of command or about some character needing to use the commode I might
 have a better chance of accepting the correct suggestion...
[...]

I suggested many months ago that spell checking should be available
not in dialog window, but in floating pane on probably right side. But
there was no response about that. I do not have time to try modifying
code myself.

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


RE: I surely do wish I could use aspell directly on a *.lyx file...

2010-01-06 Thread Vincent van Ravesteijn - TNW

I suggested many months ago that spell checking should
be available not in dialog window, but in floating pane
on probably right side. But there was no response about
that. 

The spellchecking is already in a floating pane.
http://www.lyx.org/trac/changeset/29322

(for 9 months now)

I do not have time to try modifying code myself.

We don't have time either.

Vincent


Copying from LyX and pasting to Word with $...$ and \[...\] delimiters

2010-01-06 Thread Gerard Ateshian

Hi,

Recently I discovered that PubMed Central (http://www.ncbi.nlm.nih.gov/pmc/ 
) does not accept TeX/LaTeX submissions, so I have to convert some of  
my LyX documents to Microsoft Word (a common headache).  My  
manuscripts have lots of equations, so I need to use MathType to  
convert the equations.  MathType has recently added a feature to  
convert LaTeX equations directly from within a Word document, as long  
as the equation is delimited by $...$ or \[...\], so the conversion  
would be relatively easy to do.


Unfortunately, though copying from LyX and pasting into Word produces  
LaTeX formulas, these do not have $...$ or \[...\] delimiters, which  
means that they would have to be added by hand, one-by-one, making the  
process tedious.  (It is also possible to export the LyX document into  
LaTeX and import it into Word, but the LaTeX file breaks each screen  
line of text with a paragraph mark, which then has to be deleted  
within Word.  Furthermore, the LaTeX file preserves all of the  
remaining commands for sections, subsections, etc., whereas copying  
and pasting from LyX into Word gives a very clean and nearly ready  
format.)


I seem to recall that the inline and display equation delimiters were  
included in copy/paste in an earlier version of LyX, but the latest  
version does not seem to have them.  Is there a way to turn this  
feature on?  (If not, could this optional feature be added easily in  
the next release?)


Thanks,

Gerard Ateshian



RE: I surely do wish I could use aspell directly on a *.lyx file...

2010-01-06 Thread Vincent van Ravesteijn - TNW

 The spellchecking is already in a floating pane.
 http://www.lyx.org/trac/changeset/29322

 (for 9 months now)

I do not have time to try modifying code myself.

 We don't have time either.

This is in trunk as I understand... any plan to merge
into 1.6.x line?

No.

Vincent


Re: I surely do wish I could use aspell directly on a *.lyx file...

2010-01-06 Thread Manveru
2010/1/6 Vincent van Ravesteijn - TNW v.f.vanraveste...@tudelft.nl:

I suggested many months ago that spell checking should
be available not in dialog window, but in floating pane
on probably right side. But there was no response about
that.

 The spellchecking is already in a floating pane.
 http://www.lyx.org/trac/changeset/29322

 (for 9 months now)

I do not have time to try modifying code myself.

 We don't have time either.

This is in trunk as I understand... any plan to merge into 1.6.x line?
I do not have access to LyX repository from my work office due to
missing https transport, so I even did not try to recompile myself.

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


Re: Lyx in Fedora 12

2010-01-06 Thread Neal Becker
Dr. Gyorgy Pota wrote:

 Dear Users,
 
 Lyx did not show any eps figures in a freshly installed Fedora 12
 system. Running Lyx in a terminal revealed that convert was
 unsuccesful. Finally it turned out that ImageMagick was not installed
 for  Lyx although I installed Lyx via yum, which, in principle, installs
 everything necessary. I was so angry, I almost went back to a well-known
 non-free op. system and to its famous word processor. :-)
 
 I hope this helps some of you.
 
 Gyorgy Pota

I understand there are good anger management classes available.



Re: Lyx in Fedora 12

2010-01-06 Thread Manoj Rajagopalan

This is probably a packaging error on Fedora 12. Have you tried to discover 
and contact the maintainer for this package?

-- Manoj


On Wednesday 06 January 2010 08:05:39 am Dr. Gyorgy Pota wrote:
 Dear Users,

 Lyx did not show any eps figures in a freshly installed Fedora 12
 system. Running Lyx in a terminal revealed that convert was
 unsuccesful. Finally it turned out that ImageMagick was not installed
 for  Lyx although I installed Lyx via yum, which, in principle, installs
 everything necessary. I was so angry, I almost went back to a well-known
 non-free op. system and to its famous word processor. :-)

 I hope this helps some of you.

 Gyorgy Pota



Re: Numbering figures' problem

2010-01-06 Thread Uwe Stöhr

Am 06.01.2010 13:34, schrieb Matteo A.:


I mean that when i write in lyx chapter 4-section 3(for example) and put 2
tables or figures that are numbered in lyx automatically as table or figure
6 and table or figure 7, then when i update the PDF, i notice that the 2
tables or figures get the same number like table 4.3 and not table 4.3.1
and table 4.3.2 or whatever is the correct number.


I assume that your document class is a book class. In books figures and tables are numbered in the 
scheme

chapter.number
Within LyX the numbering might be different because every document class can define its own 
numbering scheme.


I haven't understood what exactly is the problem. Do you want the numbering 
scheme
chapter.section.number
or a numbering without the chapter number?

Can you provide a -small_ LyX example file?

regards Uwe


Re: input preamble with biblatex?

2010-01-06 Thread Daniel Lohmann


On 06.01.2010, at 10:58, Jürgen Spitzmüller wrote:


Guenter Milde wrote:

In older LyX versions, you could choose to compile without temporary
directory. Is this still supported?


I don't think so.


Which is a pity, IMHO.

Not only this would be an easy workaround for all problems related to  
not natively supported external material (and we have many cases for  
that), I also really liked the fact, that I always had the latest PDF  
version of the document at hand without having to explicitly export it  
first.


Daniel

Re: Multiple files for book

2010-01-06 Thread Steve Litt
On Tuesday 05 January 2010 21:04:20 Stephen George wrote:
 Hi,
 
 I'm a new comer to Lyx, and reading some of the tute and skim reading
 topics of interest the rest.
 
 I'm still left with a question. (hope I didn't miss it)
 
 If creating a book with a couple hundred pages, do I put it all in one
 big lyx file, or do I split it across multiple files (say one file per
 chapter), and somehow pull each chapter into book with some sort of
 include command?

Hi Steve,

I'll give you my outlook -- your mileage may vary.

I have two lyx-authored books weighing in at 300 pages, and another couple 
weighing in at 200 pages. All my LyX books are single-file and I like it that 
way. Less files in the directory, less hassle.

I have modern processors running close to 2Ghz and computers with between 2GB 
and 4GB of RAM. On these computers, navigating through my LyX files is almost 
instantaneous, especially if I use LyX navigation or the outline mode.

I used one chapter per file in a Wordperfect-authored book once, and it turned 
out to be a big old hassle. I vowed if at all possible to keep books unifile 
from then on.

The one situation where I'd split into chapters is if different people were 
working on different chapters. That would necessitate splitting, and LyX is 
ready, willing and able to handle that. Otherwise, I personally stick to one 
file for the whole book.

Your mileage may vary, consult everyone before making your decision.

HTH

SteveT

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



Re: Numbering figures' problem

2010-01-06 Thread Uwe Stöhr

Am 06.01.2010 18:44, schrieb Matteo A.:


When i get the lyx file as pdf file
with the buttons updated pdf and view pdf i notice a problem. Each
figure in chapter one comes out as figure 1.1, each figure in chapter 2
comes out as figure 2.1. so i can't distinguish them by number.


Then you have a wrong setting in your document preamble or something similar. I'll have a look if 
you provide a LyX testfile.


regards Uwe


Re: Numbering figures' problem

2010-01-06 Thread Uwe Stöhr

Am 07.01.2010 00:15, schrieb Matteo A.:


this is all i have in my preable:

\renewcommand{\thesubsection}{\thesection.\arabic{subsection}}

\renewcommand{\thetable}{\thechapter.\arabic{subsection}}


That's the bug. You redefined the table number to be the number of the subsection. So you overwrite 
the number by

chapter.subsection
and this number is independent of the table number.

Independent of this, you should better use the command \numberwithin to change the numbering. See 
sec. 3.3 Float Numbering of the EmbeddedObjects manual that you find in the Help menu of LyX.


 \usepackage{graphicx}

This settings is unnecessary because LyX already takes care of this.

regards Uwe


Re: Numbering figures' problem

2010-01-06 Thread Uwe Stöhr

Am 07.01.2010 00:53, schrieb Matteo A.:


so i just need to delete this line 
\renewcommand{\thetable}{\thechapter.\arabic{subsection}}


You also need to remove the other lines where you redefine the counters, like 
for figures.
When you don't like the numbering scheme of the AMS book class, use the \numberwithin command to 
change it as I wrote.


regards Uwe


2 examples in series

2010-01-06 Thread iustifico
Hallo,

sorry for this simple question, but I can't figure our how to make 2 different 
examples in LyX without nesting them or putting something between them.

If I do something like this:

Definition 1 Some Text
Example 2 Some Text
Proposition 3 Some Text
Some New text outside the last Proposition
Example 4 Some Text

Then it works.

But if I want to do something like this:
Example 1 First Text
Example 2 Second Text

It don't seem to work. Lyx refuses to begin an new environment for Example 2. 
It shows

Example 1 First Text
Second Text

If I export it to Latex it shows that the Second Text is inside the 
environment of Example 1.

Is this a bug?

It is also the same Problem with two Definitions in series like

Definition First Text
Definition Second Text

is turned in

Definition First Text
Second Text.

Thank you very much for help.

Re: 2 examples in series

2010-01-06 Thread Uwe Stöhr

Am 07.01.2010 02:22, schrieb iustifico:


But if I want to do something like this:
Example 1 First Text
Example 2 Second Text

It don't seem to work. Lyx refuses to begin an new environment for Example 2.


At the end of Example 1 press RETURN, then choose --Separator-- in the drop-down box where you 
specify the environments (section, address and the like).


The separator environment was specially designed for cases like yours.

regards Uwe


Re: 2 examples in series

2010-01-06 Thread rgheck

On 01/06/2010 08:37 PM, Uwe Stöhr wrote:

Am 07.01.2010 02:22, schrieb iustifico:


But if I want to do something like this:
Example 1 First Text
Example 2 Second Text

It don't seem to work. Lyx refuses to begin an new environment for 
Example 2.


At the end of Example 1 press RETURN, then choose --Separator-- in 
the drop-down box where you specify the environments (section, address 
and the like).


The separator environment was specially designed for cases like yours.

Yes, the problem is that LyX wants to allow you to have multiple 
paragraphs in the example environment. But then it isn't so easy to have 
multiple consecutive environments. The --Separator-- allows this.


rh



Re: input preamble with biblatex?

2010-01-06 Thread Guenter Milde
On 2010-01-05, Jürgen Spitzmüller wrote:
 Peter Baumgartner wrote:
  ... the command \includeonly does not work.
  At least that was the discussion on an older lyx version ...

 Yes. It does not work since LyX uses specific filenames for the
 compilation of the document in the temporary directory.

In older LyX versions, you could choose to compile without temporary
directory. Is this still supported? If yes, the documentation should
mention this as a requirement for working with \includeonly (besides
compiling the complete document first).

Günter



Re: input preamble with biblatex?

2010-01-06 Thread Jürgen Spitzmüller
Guenter Milde wrote:
 In older LyX versions, you could choose to compile without temporary
 directory. Is this still supported?

I don't think so.

Jürgen


Re: Unknown graphics extension: eps

2010-01-06 Thread Helge Hafting

Luca Carlon wrote:

Anyway, this is a problem related to this specific file, i.e. my thesis, as if 
I create a new file and I insert in there an eps file, pdflatex correctly 
produces the PDF. This is happening under both Linux and MacOSX.

Any idea why?


I see. your LyX works with .eps files, just not this particular one.

So, either something is wrong with the file itself, or possibly
the file name.

To check that the file itself is ok, try opening it with some
PDF viewer (gv, gs, ...) or check that it can be previewed inside LyX. 
(I.e. turn instant preview on in tools-settings-graphics and the eps 
 image should show up inside the main window. But of course this may 
fail if LyX has a bug that affects this particular file.)


Now, LyX complains about the file extension of this particular file,
so maybe there is a problem with the file name.

Does the filename really end in .eps, or do it end in something
like .eps. or .eps  ?  An extra blank or uppercase letters will
ruin the file extension for LyX. Also check if the filename
contains spaces or other unusual characters - LyX has a history of
problems with such things.

Extra spaces can be hard to see, but the linux command line has a
little trick for this. Type ls  followed by the first few characters
of the filename. Type enough characters so that no other file
starts with the same sequence. Then press the TAB key. Linux will then 
complete the filename for you. If it contains spaces, then those spaces

will be prefixed with a backslash so you can see them.

If the file is in some other directory, beware of directories with
strange names., (spaces etc.) This too has been a problem before.

You can also try copying the file to a different filename (test.eps), 
and then inserting this copy into LyX. That should take care of

any problem with the filename. Put the copy in the same
directory as the lyx document, to avoid any problems with
directory names.

Helge Hafting



Re: Unknown graphics extension: eps

2010-01-06 Thread Luca Carlon
Thank you for your answer, but I already discovered what was going on: eps
files cannot be included in the preamble.

On Wed, Jan 6, 2010 at 11:29 AM, Helge Hafting helge.haft...@hist.nowrote:

 Luca Carlon wrote:

  Anyway, this is a problem related to this specific file, i.e. my thesis,
 as if I create a new file and I insert in there an eps file, pdflatex
 correctly produces the PDF. This is happening under both Linux and MacOSX.
 Any idea why?


 I see. your LyX works with .eps files, just not this particular one.

 So, either something is wrong with the file itself, or possibly
 the file name.

 To check that the file itself is ok, try opening it with some
 PDF viewer (gv, gs, ...) or check that it can be previewed inside LyX.
 (I.e. turn instant preview on in tools-settings-graphics and the eps
  image should show up inside the main window. But of course this may fail if
 LyX has a bug that affects this particular file.)

 Now, LyX complains about the file extension of this particular file,
 so maybe there is a problem with the file name.

 Does the filename really end in .eps, or do it end in something
 like .eps. or .eps  ?  An extra blank or uppercase letters will
 ruin the file extension for LyX. Also check if the filename
 contains spaces or other unusual characters - LyX has a history of
 problems with such things.

 Extra spaces can be hard to see, but the linux command line has a
 little trick for this. Type ls  followed by the first few characters
 of the filename. Type enough characters so that no other file
 starts with the same sequence. Then press the TAB key. Linux will then
 complete the filename for you. If it contains spaces, then those spaces
 will be prefixed with a backslash so you can see them.

 If the file is in some other directory, beware of directories with
 strange names., (spaces etc.) This too has been a problem before.

 You can also try copying the file to a different filename (test.eps), and
 then inserting this copy into LyX. That should take care of
 any problem with the filename. Put the copy in the same
 directory as the lyx document, to avoid any problems with
 directory names.

 Helge Hafting




-- 
Luca Carlon
Doctor of Computer Engineering


Re: Directory path to the document cannot contain spaces

2010-01-06 Thread Helge Hafting

Adam Hoffman wrote:

I recently installed LyX 1.6.4-1 on a Windows 7 system, and I'm having an
issue that is not common to my previous LyX installs (1.6.?) on an XP SP3
and Vista 64 SP1 system.

Whenever I try to generate a pdf/dvi/ps file from a file path that includes
spaces, I get an error message indicating that this is not permitted.  I am
not having this issue with previous installs of LyX.  Can anyone explain the
source of the issue and, more importantly, how I can resolve it?


The source of the problem:

LyX is just an editor for formatted text. To do anything else, such
as printing, making pdf/html/whatever or dealing with images, helper 
applications is used.


This is useful, because there are many such helper apps exist.
The most important one is latex, of course.

Whenever helper apps is used, they get invoked through the command line. 
And on the command line, a space is a separator. The name of the helper
app is separated from the file(s) to process with spaces. And when there 
are several files to process, they are aain separated with spaces.


Unless care is taken, a path like C:\My Documents\filename, turns into
two odd paths: C:\My and Documents\filename.

There are various workarounds for this. One of them is to put
filenames in quotes, but again one has to be careful as filenames can
contain quotes too.

Now, LyX itself is supposed to handle filenames with spaces. If it 
doesn't, then you can report the bug to the developers. They will 
normally fix it in the next release.


If the problem is in one of the helper apps, then the LyX developers
can't fix it. You may still report it to whoever is responsible for
that particular app - maybe it gets fixed someday.

In the meantime, consider working around the problem by using a
path without spaces. Either some folder not under My Documents,
or rename My Documents to My_Documents or similiar.

Helge Hafting


Re: Fwd: CAS exposure in LyX (was Re: Importing Lyx files in SWP)

2010-01-06 Thread Helge Hafting

Murat Yildizoglu wrote:

Thanks a lot Olivier, this works perfectly for Maxima.
 I can ask it to compute \frac{\partial x^{2}}{\partial x}=2\, x and
it works as it is shown by the = sign but how to ask more indirect
tasks?

Question: How to pass commands to Maxima? Should we write full Maxima
expressions, instead of the standard math notation? In SWP there is a
Computation menu where it is possible to choose the operation that we
desire (simplify, evaluate, etc.).


I think Lyx should stay with the math notation it has. Users should not
need to write differently depending on whether they use maxima or some
other math package.

LyX should handle the conversion into something maxima/octace/whatever
can understand.

Of course the math menu in LyX can be extended. If different menus
for simplify, evaluate etc. is useful, then it can be made.

Someone interested has to do the work though.

Helge Hafting




Re: Wrapping text REALLY around a picture

2010-01-06 Thread Helge Hafting

Luca De Marini wrote:

Hallo list, I'd like to understand a fast thing I never considered but am
considering now: is it possible in Lyx or Latex to wrap text around a
picture for real? I mean, in lyx I can do something like that to wrap text
around a picture but, in reality, I wrap it around a square into which
there's the picture. What if I have a transparent PNG and want the text to
wrap REALLY around the picture considering transparency? Looking at this
page:

http://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions

And studying it, sounds to me it's impossible to achieve such a goal, am I
correct?


Doable but not easy.
Start LyX, then try Help-Additional Features. There, read section 7.4
Non-standard Paragraph Shapes

Text can be typeset into any kind of paragraph shape, but you currently
have to specify the exact shape through series of line-length commands.

Now, LyX is software, so it'd be possible to extend it to find the
outline of a png, and emit all those commands automatically. But nobody 
has done that yet.


Helge Hafting


Re: Wrapping text REALLY around a picture

2010-01-06 Thread Luca De Marini
2010/1/6 Helge Hafting helge.haft...@hist.no

 Luca De Marini wrote:

 Hallo list, I'd like to understand a fast thing I never considered but am
 considering now: is it possible in Lyx or Latex to wrap text around a
 picture for real? I mean, in lyx I can do something like that to wrap text
 around a picture but, in reality, I wrap it around a square into which
 there's the picture. What if I have a transparent PNG and want the text to
 wrap REALLY around the picture considering transparency? Looking at this
 page:

 http://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions

 And studying it, sounds to me it's impossible to achieve such a goal, am I
 correct?


 Doable but not easy.
 Start LyX, then try Help-Additional Features. There, read section 7.4
 Non-standard Paragraph Shapes

 Text can be typeset into any kind of paragraph shape, but you currently
 have to specify the exact shape through series of line-length commands.

 Now, LyX is software, so it'd be possible to extend it to find the
 outline of a png, and emit all those commands automatically. But nobody has
 done that yet.


Not usable by me for now, but that's very interesting, I think this is an
important feature for many kind of works, well, it depends on what the
target should be in any case, but it's a good idea to be very flexible,
so... I think this will be code one day maybe ;)
And it will be a really nice feature because, since it's hard to do this
kind of things in LaTeX, making it automatic will surely be an important
step forward for a lot of people. I'd love this for example.
Thanks and greetings,

Luca D.M.


Re: For the Wish list

2010-01-06 Thread Helge Hafting

Ehud Kaplan wrote:
In working with colleagues on a paper, there are times when I do not 
have the figures
needed for producing the entire document, but it would  be nice to see 
it even without the figures.


You can insert figure floats, and simply not insert any graphics files 
into them.


That way, you can have cross-references to all figures. The missing ones 
will simply be blank - just captions.


When you get figures, insert them into the existing figure floats and
print again.

Helge Hafting


Re: Multiple files for book

2010-01-06 Thread Helge Hafting

Stephen George wrote:


Hi,

I'm a new comer to Lyx, and reading some of the tute and skim reading 
topics of interest the rest.


I'm still left with a question. (hope I didn't miss it)

If creating a book with a couple hundred pages, do I put it all in one 
big lyx file, or do I split it across multiple files (say one file per 
chapter), and somehow pull each chapter into book with some sort of 
include command?


Whatever you like. Splitting into several files is very useful when
there are several authors. It can also be useful in that you
can do view-PDF for a single file quickly. This operation
can take some time (several minutes) for a complete book.

Otherwise, it is a matter of taste, as LyX will cope with anything.
One big file, many subfiles. All the figures in one place, or
sorted into per-chapter folders.

This can also be changed later. You can split up a large
document by pasting whole chapters into new documents. For going the 
other way, LyX can insert the contents of several documents into one.


Helge Hafting


lyx module

2010-01-06 Thread Marco Correia
Hi,

I have created a lyx module with some stuff I need for my thesis. Probably I 
have made a mistake somewhere, since lyx says error reading module when I 
load it, even if the module works as expected.

The message is not very informative, and does not help me finding where the 
bug is. Is there an error log where lyx could be provinding more information?

Thanks!

PS: Please answer me back directly since I'm not subscribed.


-- 
Marco Correia m...@di.fct.unl.pt


Re: Fwd: CAS exposure in LyX (was Re: Importing Lyx files in SWP)

2010-01-06 Thread Guenter Milde
On 2010-01-06, Helge Hafting wrote:
 Murat Yildizoglu wrote:
 Thanks a lot Olivier, this works perfectly for Maxima.
  I can ask it to compute \frac{\partial x^{2}}{\partial x}=2\, x and
 it works as it is shown by the = sign but how to ask more indirect
 tasks?

 Question: How to pass commands to Maxima? Should we write full Maxima
 expressions, instead of the standard math notation? In SWP there is a
 Computation menu where it is possible to choose the operation that we
 desire (simplify, evaluate, etc.).

 I think Lyx should stay with the math notation it has. Users should not
 need to write differently depending on whether they use maxima or some
 other math package.

 LyX should handle the conversion into something maxima/octace/whatever
 can understand.

 Of course the math menu in LyX can be extended. If different menus
 for simplify, evaluate etc. is useful, then it can be made.

The problem here is, that LaTeX only knows/needs presentational math
commands. A large part of the CAS syntax has no meaning in pure math.

Hence it does not make sense to extend LaTeX math for CAS.

Proposals (first draw):

* for code from a file, use the external material inset, 
  
  Create a CAS template replacing Maxima/Octave/swiginac input with the LaTeX
  output in a math-editor box.
  
* a CAS-inset for the math editor with configurable accepting CAS
  commands in a configurable language.
  
Günter  



Numbering figures' problem

2010-01-06 Thread Matteo A.
Hello everybody

I have a problem with lyx. when i draw a numbered figure or table, lyx works
and gives it a correct number. the same for the next figure/table. But when
i view the lyx file as PDF file and take a look to the figure and table's
numbers i notice that all the figures and tables, of a same section or
subsection, get the same number.

I mean that when i write in lyx chapter 4-section 3(for example) and put 2
tables or figures that are numbered in lyx automatically as table or figure
6 and table or figure 7, then when i update the PDF, i notice that the 2
tables or figures get the same number like table 4.3 and not table 4.3.1
and table 4.3.2 or whatever is the correct number. i cannot understand the
reason. can anyone help me?? it is very important. i am using lyx for my
Thesis.

i tried to save and close my lyx document. Then to open it again and
click View PDF (pdflatex) to get whole document compiled again but it
doesn't work..it doesn't change anything.

 i am using lyx 1.6.5 on windows vista sp 2, miktex 2.7, and Book (AMS) as
document class

Thanks in advance


Lyx in Fedora 12

2010-01-06 Thread Dr. Gyorgy Pota

Dear Users,

Lyx did not show any eps figures in a freshly installed Fedora 12 
system. Running Lyx in a terminal revealed that convert was 
unsuccesful. Finally it turned out that ImageMagick was not installed 
for  Lyx although I installed Lyx via yum, which, in principle, installs 
everything necessary. I was so angry, I almost went back to a well-known 
non-free op. system and to its famous word processor. :-)


I hope this helps some of you.

Gyorgy Pota


I surely do wish I could use aspell directly on a *.lyx file...

2010-01-06 Thread Joe(theWordy)Philbrook

Don't get me wrong, LyX's internal spellchecker does a good job of
implementing aspell. Except for two little things that make me wish I could
invoke aspell from the command line on a *.lyx file and have it skip all
the embedded lyx commands. I've looked at the docs for aspell and it looks
like there is a --mode=tex option, but I don't see anything about a
--mode=lyx option for it. sigh 

I wouldn't care but for those two little things I mentioned. And to be sure
lyx's spellchecker isn't alone among gui spellchecker routines about which
these two things drive me a little crazy.

The first (And most obvious)issue is the way the pop-up spellchecker dialog
box often obscures the word in the text of the lyx document. I mean if it
simply determined where the word was displayed and opened the dialog box in
a different part of the screen so that I could see the syntax of my
spelling error so that I can remember whether I was talking about the chain
of command or about some character needing to use the commode I might
have a better chance of accepting the correct suggestion...

I can and do work around this by resizing my lyx document window to use
only the top half of the screen. And then moving the spellchecker dialog
box to the bottom half of the screen in the (so far well founded) hope that
{my window manager, or is it lyx itself?} will remember where to open the
next occurrence of the pop-up... But then of course I need to resize the
document window back to it's normal size again when I'm done spellchecking.

The second issue has to do with the fact that I'm a keyboard centric kind of
guy that really dislikes putting the keyboard down to wrestle with the
mouse. I know I can and do use alt+R to accept the default suggestion,
alt+I to ignore the intentionally misspelled word that I don't want added
to the dictionary. And I've even gotten used to the fact that it's alt+D
{which with the D being so close to the R on a qwerty keyboard has
caused more than a few erroneous additions to my ~/.aspell.en.pws file}
rather than a more intuitive alt+A to Add the word to the dictionary. 
But what I can't do is to select something other than the topmost default
spelling suggestion with the keyboard. Oh I can use tab to get to the
suggestion list, then the arrow key to highlight an alternate suggestion.
But I can't find a way to get the spellchecker to use the now highlighted
suggestion without dusting off that torture device that controls the mouse
pointer and clicking on the word in question. IE: If I misspell cycle as
cyclen the default suggestion shows up as cyclone. With the 2nd choice being
cycle. I can use the keyboard to hi-light cycle, But this doesn't change the
fact that the actual replacement field still says cyclone. So of course
if I press enter cyclen will become cyclone... I have only three choices to
get the spellchecker to change cyclen to cycle. 1) double click on cycle
from the list of suggestions. 2) single click on cycle to change the
replacement field to cycle allowing either alt+R or enter to make the
change. 3) tab my way instead to the replacement field and manually edit
cyclone into cycle... sigh 

I don't suppose that either of these two issues (think feature
request) will be resolved any time soon???

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



Re: I surely do wish I could use aspell directly on a *.lyx file...

2010-01-06 Thread Manveru
2010/1/6 Joe(theWordy)Philbrook jtw...@ttlc.net:
[...]
 The first (And most obvious)issue is the way the pop-up spellchecker dialog
 box often obscures the word in the text of the lyx document. I mean if it
 simply determined where the word was displayed and opened the dialog box in
 a different part of the screen so that I could see the syntax of my
 spelling error so that I can remember whether I was talking about the chain
 of command or about some character needing to use the commode I might
 have a better chance of accepting the correct suggestion...
[...]

I suggested many months ago that spell checking should be available
not in dialog window, but in floating pane on probably right side. But
there was no response about that. I do not have time to try modifying
code myself.

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


RE: I surely do wish I could use aspell directly on a *.lyx file...

2010-01-06 Thread Vincent van Ravesteijn - TNW

I suggested many months ago that spell checking should
be available not in dialog window, but in floating pane
on probably right side. But there was no response about
that. 

The spellchecking is already in a floating pane.
http://www.lyx.org/trac/changeset/29322

(for 9 months now)

I do not have time to try modifying code myself.

We don't have time either.

Vincent


Copying from LyX and pasting to Word with $...$ and \[...\] delimiters

2010-01-06 Thread Gerard Ateshian

Hi,

Recently I discovered that PubMed Central (http://www.ncbi.nlm.nih.gov/pmc/ 
) does not accept TeX/LaTeX submissions, so I have to convert some of  
my LyX documents to Microsoft Word (a common headache).  My  
manuscripts have lots of equations, so I need to use MathType to  
convert the equations.  MathType has recently added a feature to  
convert LaTeX equations directly from within a Word document, as long  
as the equation is delimited by $...$ or \[...\], so the conversion  
would be relatively easy to do.


Unfortunately, though copying from LyX and pasting into Word produces  
LaTeX formulas, these do not have $...$ or \[...\] delimiters, which  
means that they would have to be added by hand, one-by-one, making the  
process tedious.  (It is also possible to export the LyX document into  
LaTeX and import it into Word, but the LaTeX file breaks each screen  
line of text with a paragraph mark, which then has to be deleted  
within Word.  Furthermore, the LaTeX file preserves all of the  
remaining commands for sections, subsections, etc., whereas copying  
and pasting from LyX into Word gives a very clean and nearly ready  
format.)


I seem to recall that the inline and display equation delimiters were  
included in copy/paste in an earlier version of LyX, but the latest  
version does not seem to have them.  Is there a way to turn this  
feature on?  (If not, could this optional feature be added easily in  
the next release?)


Thanks,

Gerard Ateshian



RE: I surely do wish I could use aspell directly on a *.lyx file...

2010-01-06 Thread Vincent van Ravesteijn - TNW

 The spellchecking is already in a floating pane.
 http://www.lyx.org/trac/changeset/29322

 (for 9 months now)

I do not have time to try modifying code myself.

 We don't have time either.

This is in trunk as I understand... any plan to merge
into 1.6.x line?

No.

Vincent


Re: I surely do wish I could use aspell directly on a *.lyx file...

2010-01-06 Thread Manveru
2010/1/6 Vincent van Ravesteijn - TNW v.f.vanraveste...@tudelft.nl:

I suggested many months ago that spell checking should
be available not in dialog window, but in floating pane
on probably right side. But there was no response about
that.

 The spellchecking is already in a floating pane.
 http://www.lyx.org/trac/changeset/29322

 (for 9 months now)

I do not have time to try modifying code myself.

 We don't have time either.

This is in trunk as I understand... any plan to merge into 1.6.x line?
I do not have access to LyX repository from my work office due to
missing https transport, so I even did not try to recompile myself.

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


Re: Lyx in Fedora 12

2010-01-06 Thread Neal Becker
Dr. Gyorgy Pota wrote:

 Dear Users,
 
 Lyx did not show any eps figures in a freshly installed Fedora 12
 system. Running Lyx in a terminal revealed that convert was
 unsuccesful. Finally it turned out that ImageMagick was not installed
 for  Lyx although I installed Lyx via yum, which, in principle, installs
 everything necessary. I was so angry, I almost went back to a well-known
 non-free op. system and to its famous word processor. :-)
 
 I hope this helps some of you.
 
 Gyorgy Pota

I understand there are good anger management classes available.



Re: Lyx in Fedora 12

2010-01-06 Thread Manoj Rajagopalan

This is probably a packaging error on Fedora 12. Have you tried to discover 
and contact the maintainer for this package?

-- Manoj


On Wednesday 06 January 2010 08:05:39 am Dr. Gyorgy Pota wrote:
 Dear Users,

 Lyx did not show any eps figures in a freshly installed Fedora 12
 system. Running Lyx in a terminal revealed that convert was
 unsuccesful. Finally it turned out that ImageMagick was not installed
 for  Lyx although I installed Lyx via yum, which, in principle, installs
 everything necessary. I was so angry, I almost went back to a well-known
 non-free op. system and to its famous word processor. :-)

 I hope this helps some of you.

 Gyorgy Pota



Re: Numbering figures' problem

2010-01-06 Thread Uwe Stöhr

Am 06.01.2010 13:34, schrieb Matteo A.:


I mean that when i write in lyx chapter 4-section 3(for example) and put 2
tables or figures that are numbered in lyx automatically as table or figure
6 and table or figure 7, then when i update the PDF, i notice that the 2
tables or figures get the same number like table 4.3 and not table 4.3.1
and table 4.3.2 or whatever is the correct number.


I assume that your document class is a book class. In books figures and tables are numbered in the 
scheme

chapter.number
Within LyX the numbering might be different because every document class can define its own 
numbering scheme.


I haven't understood what exactly is the problem. Do you want the numbering 
scheme
chapter.section.number
or a numbering without the chapter number?

Can you provide a -small_ LyX example file?

regards Uwe


Re: input preamble with biblatex?

2010-01-06 Thread Daniel Lohmann


On 06.01.2010, at 10:58, Jürgen Spitzmüller wrote:


Guenter Milde wrote:

In older LyX versions, you could choose to compile without temporary
directory. Is this still supported?


I don't think so.


Which is a pity, IMHO.

Not only this would be an easy workaround for all problems related to  
not natively supported external material (and we have many cases for  
that), I also really liked the fact, that I always had the latest PDF  
version of the document at hand without having to explicitly export it  
first.


Daniel

Re: Multiple files for book

2010-01-06 Thread Steve Litt
On Tuesday 05 January 2010 21:04:20 Stephen George wrote:
 Hi,
 
 I'm a new comer to Lyx, and reading some of the tute and skim reading
 topics of interest the rest.
 
 I'm still left with a question. (hope I didn't miss it)
 
 If creating a book with a couple hundred pages, do I put it all in one
 big lyx file, or do I split it across multiple files (say one file per
 chapter), and somehow pull each chapter into book with some sort of
 include command?

Hi Steve,

I'll give you my outlook -- your mileage may vary.

I have two lyx-authored books weighing in at 300 pages, and another couple 
weighing in at 200 pages. All my LyX books are single-file and I like it that 
way. Less files in the directory, less hassle.

I have modern processors running close to 2Ghz and computers with between 2GB 
and 4GB of RAM. On these computers, navigating through my LyX files is almost 
instantaneous, especially if I use LyX navigation or the outline mode.

I used one chapter per file in a Wordperfect-authored book once, and it turned 
out to be a big old hassle. I vowed if at all possible to keep books unifile 
from then on.

The one situation where I'd split into chapters is if different people were 
working on different chapters. That would necessitate splitting, and LyX is 
ready, willing and able to handle that. Otherwise, I personally stick to one 
file for the whole book.

Your mileage may vary, consult everyone before making your decision.

HTH

SteveT

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



Re: Numbering figures' problem

2010-01-06 Thread Uwe Stöhr

Am 06.01.2010 18:44, schrieb Matteo A.:


When i get the lyx file as pdf file
with the buttons updated pdf and view pdf i notice a problem. Each
figure in chapter one comes out as figure 1.1, each figure in chapter 2
comes out as figure 2.1. so i can't distinguish them by number.


Then you have a wrong setting in your document preamble or something similar. I'll have a look if 
you provide a LyX testfile.


regards Uwe


Re: Numbering figures' problem

2010-01-06 Thread Uwe Stöhr

Am 07.01.2010 00:15, schrieb Matteo A.:


this is all i have in my preable:

\renewcommand{\thesubsection}{\thesection.\arabic{subsection}}

\renewcommand{\thetable}{\thechapter.\arabic{subsection}}


That's the bug. You redefined the table number to be the number of the subsection. So you overwrite 
the number by

chapter.subsection
and this number is independent of the table number.

Independent of this, you should better use the command \numberwithin to change the numbering. See 
sec. 3.3 Float Numbering of the EmbeddedObjects manual that you find in the Help menu of LyX.


 \usepackage{graphicx}

This settings is unnecessary because LyX already takes care of this.

regards Uwe


Re: Numbering figures' problem

2010-01-06 Thread Uwe Stöhr

Am 07.01.2010 00:53, schrieb Matteo A.:


so i just need to delete this line 
\renewcommand{\thetable}{\thechapter.\arabic{subsection}}


You also need to remove the other lines where you redefine the counters, like 
for figures.
When you don't like the numbering scheme of the AMS book class, use the \numberwithin command to 
change it as I wrote.


regards Uwe


2 examples in series

2010-01-06 Thread iustifico
Hallo,

sorry for this simple question, but I can't figure our how to make 2 different 
examples in LyX without nesting them or putting something between them.

If I do something like this:

Definition 1 Some Text
Example 2 Some Text
Proposition 3 Some Text
Some New text outside the last Proposition
Example 4 Some Text

Then it works.

But if I want to do something like this:
Example 1 First Text
Example 2 Second Text

It don't seem to work. Lyx refuses to begin an new environment for Example 2. 
It shows

Example 1 First Text
Second Text

If I export it to Latex it shows that the Second Text is inside the 
environment of Example 1.

Is this a bug?

It is also the same Problem with two Definitions in series like

Definition First Text
Definition Second Text

is turned in

Definition First Text
Second Text.

Thank you very much for help.

Re: 2 examples in series

2010-01-06 Thread Uwe Stöhr

Am 07.01.2010 02:22, schrieb iustifico:


But if I want to do something like this:
Example 1 First Text
Example 2 Second Text

It don't seem to work. Lyx refuses to begin an new environment for Example 2.


At the end of Example 1 press RETURN, then choose --Separator-- in the drop-down box where you 
specify the environments (section, address and the like).


The separator environment was specially designed for cases like yours.

regards Uwe


Re: 2 examples in series

2010-01-06 Thread rgheck

On 01/06/2010 08:37 PM, Uwe Stöhr wrote:

Am 07.01.2010 02:22, schrieb iustifico:


But if I want to do something like this:
Example 1 First Text
Example 2 Second Text

It don't seem to work. Lyx refuses to begin an new environment for 
Example 2.


At the end of Example 1 press RETURN, then choose --Separator-- in 
the drop-down box where you specify the environments (section, address 
and the like).


The separator environment was specially designed for cases like yours.

Yes, the problem is that LyX wants to allow you to have multiple 
paragraphs in the example environment. But then it isn't so easy to have 
multiple consecutive environments. The --Separator-- allows this.


rh



Re: input preamble with biblatex?

2010-01-06 Thread Guenter Milde
On 2010-01-05, Jürgen Spitzmüller wrote:
> Peter Baumgartner wrote:
>>  ... the command \includeonly does not work.
>>  At least that was the discussion on an older lyx version ...

> Yes. It does not work since LyX uses specific filenames for the
> compilation of the document in the temporary directory.

In older LyX versions, you could choose to compile without temporary
directory. Is this still supported? If yes, the documentation should
mention this as a requirement for working with \includeonly (besides
compiling the complete document first).

Günter



Re: input preamble with biblatex?

2010-01-06 Thread Jürgen Spitzmüller
Guenter Milde wrote:
> In older LyX versions, you could choose to compile without temporary
> directory. Is this still supported?

I don't think so.

Jürgen


Re: Unknown graphics extension: eps

2010-01-06 Thread Helge Hafting

Luca Carlon wrote:

Anyway, this is a problem related to this specific file, i.e. my thesis, as if 
I create a new file and I insert in there an eps file, pdflatex correctly 
produces the PDF. This is happening under both Linux and MacOSX.

Any idea why?


I see. your LyX works with .eps files, just not this particular one.

So, either something is wrong with the file itself, or possibly
the file name.

To check that the file itself is ok, try opening it with some
PDF viewer (gv, gs, ...) or check that it can be previewed inside LyX. 
(I.e. turn instant preview on in "tools->settings->graphics" and the eps 
 image should show up inside the main window. But of course this may 
fail if LyX has a bug that affects this particular file.)


Now, LyX complains about the file extension of this particular file,
so maybe there is a problem with the file name.

Does the filename really end in ".eps", or do it end in something
like ".eps." or ".eps " ?  An extra blank or uppercase letters will
ruin the file extension for LyX. Also check if the filename
contains spaces or other unusual characters - LyX has a history of
problems with such things.

Extra spaces can be hard to see, but the linux command line has a
little trick for this. Type "ls " followed by the first few characters
of the filename. Type enough characters so that no other file
starts with the same sequence. Then press the TAB key. Linux will then 
complete the filename for you. If it contains spaces, then those spaces

will be prefixed with a backslash so you can see them.

If the file is in some other directory, beware of directories with
strange names., (spaces etc.) This too has been a problem before.

You can also try copying the file to a different filename (test.eps), 
and then inserting this copy into LyX. That should take care of

any problem with the filename. Put the copy in the same
directory as the lyx document, to avoid any problems with
directory names.

Helge Hafting



Re: Unknown graphics extension: eps

2010-01-06 Thread Luca Carlon
Thank you for your answer, but I already discovered what was going on: eps
files cannot be included in the preamble.

On Wed, Jan 6, 2010 at 11:29 AM, Helge Hafting wrote:

> Luca Carlon wrote:
>
>  Anyway, this is a problem related to this specific file, i.e. my thesis,
>> as if I create a new file and I insert in there an eps file, pdflatex
>> correctly produces the PDF. This is happening under both Linux and MacOSX.
>> Any idea why?
>>
>
> I see. your LyX works with .eps files, just not this particular one.
>
> So, either something is wrong with the file itself, or possibly
> the file name.
>
> To check that the file itself is ok, try opening it with some
> PDF viewer (gv, gs, ...) or check that it can be previewed inside LyX.
> (I.e. turn instant preview on in "tools->settings->graphics" and the eps
>  image should show up inside the main window. But of course this may fail if
> LyX has a bug that affects this particular file.)
>
> Now, LyX complains about the file extension of this particular file,
> so maybe there is a problem with the file name.
>
> Does the filename really end in ".eps", or do it end in something
> like ".eps." or ".eps " ?  An extra blank or uppercase letters will
> ruin the file extension for LyX. Also check if the filename
> contains spaces or other unusual characters - LyX has a history of
> problems with such things.
>
> Extra spaces can be hard to see, but the linux command line has a
> little trick for this. Type "ls " followed by the first few characters
> of the filename. Type enough characters so that no other file
> starts with the same sequence. Then press the TAB key. Linux will then
> complete the filename for you. If it contains spaces, then those spaces
> will be prefixed with a backslash so you can see them.
>
> If the file is in some other directory, beware of directories with
> strange names., (spaces etc.) This too has been a problem before.
>
> You can also try copying the file to a different filename (test.eps), and
> then inserting this copy into LyX. That should take care of
> any problem with the filename. Put the copy in the same
> directory as the lyx document, to avoid any problems with
> directory names.
>
> Helge Hafting
>
>


-- 
Luca Carlon
Doctor of Computer Engineering


Re: "Directory path to the document cannot contain spaces"

2010-01-06 Thread Helge Hafting

Adam Hoffman wrote:

I recently installed LyX 1.6.4-1 on a Windows 7 system, and I'm having an
issue that is not common to my previous LyX installs (1.6.?) on an XP SP3
and Vista 64 SP1 system.

Whenever I try to generate a pdf/dvi/ps file from a file path that includes
spaces, I get an error message indicating that this is not permitted.  I am
not having this issue with previous installs of LyX.  Can anyone explain the
source of the issue and, more importantly, how I can resolve it?


The source of the problem:

LyX is just an editor for formatted text. To do anything else, such
as printing, making pdf/html/whatever or dealing with images, helper 
applications is used.


This is useful, because there are many such helper apps exist.
The most important one is latex, of course.

Whenever helper apps is used, they get invoked through the command line. 
And on the command line, a space is a separator. The name of the helper
app is separated from the file(s) to process with spaces. And when there 
are several files to process, they are aain separated with spaces.


Unless care is taken, a path like "C:\My Documents\filename", turns into
two odd paths: "C:\My" and "Documents\filename".

There are various workarounds for this. One of them is to put
filenames in quotes, but again one has to be careful as filenames can
contain quotes too.

Now, LyX itself is supposed to handle filenames with spaces. If it 
doesn't, then you can report the bug to the developers. They will 
normally fix it in the next release.


If the problem is in one of the helper apps, then the LyX developers
can't fix it. You may still report it to whoever is responsible for
that particular app - maybe it gets fixed someday.

In the meantime, consider working around the problem by using a
path without spaces. Either some folder not under "My Documents",
or rename "My Documents" to "My_Documents" or similiar.

Helge Hafting


Re: Fwd: CAS exposure in LyX (was Re: Importing Lyx files in SWP)

2010-01-06 Thread Helge Hafting

Murat Yildizoglu wrote:

Thanks a lot Olivier, this works perfectly for Maxima.
 I can ask it to compute \frac{\partial x^{2}}{\partial x}=2\, x and
it works as it is shown by the = sign but how to ask more indirect
tasks?

Question: How to pass commands to Maxima? Should we write full Maxima
expressions, instead of the standard math notation? In SWP there is a
Computation menu where it is possible to choose the operation that we
desire (simplify, evaluate, etc.).


I think Lyx should stay with the math notation it has. Users should not
need to write differently depending on whether they use maxima or some
other math package.

LyX should handle the conversion into something maxima/octace/whatever
can understand.

Of course the math menu in LyX can be extended. If different menus
for simplify, evaluate etc. is useful, then it can be made.

Someone interested has to do the work though.

Helge Hafting




Re: Wrapping text REALLY around a picture

2010-01-06 Thread Helge Hafting

Luca De Marini wrote:

Hallo list, I'd like to understand a fast thing I never considered but am
considering now: is it possible in Lyx or Latex to wrap text around a
picture for real? I mean, in lyx I can do something like that to wrap text
around a picture but, in reality, I wrap it around a square into which
there's the picture. What if I have a transparent PNG and want the text to
wrap REALLY around the picture considering transparency? Looking at this
page:

http://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions

And studying it, sounds to me it's impossible to achieve such a goal, am I
correct?


Doable but not easy.
Start LyX, then try Help->Additional Features. There, read section 7.4
"Non-standard Paragraph Shapes"

Text can be typeset into any kind of paragraph shape, but you currently
have to specify the exact shape through series of line-length commands.

Now, LyX is software, so it'd be possible to extend it to find the
outline of a png, and emit all those commands automatically. But nobody 
has done that yet.


Helge Hafting


Re: Wrapping text REALLY around a picture

2010-01-06 Thread Luca De Marini
2010/1/6 Helge Hafting 

> Luca De Marini wrote:
>
>> Hallo list, I'd like to understand a fast thing I never considered but am
>> considering now: is it possible in Lyx or Latex to wrap text around a
>> picture for real? I mean, in lyx I can do something like that to wrap text
>> around a picture but, in reality, I wrap it around a square into which
>> there's the picture. What if I have a transparent PNG and want the text to
>> wrap REALLY around the picture considering transparency? Looking at this
>> page:
>>
>> http://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions
>>
>> And studying it, sounds to me it's impossible to achieve such a goal, am I
>> correct?
>>
>
> Doable but not easy.
> Start LyX, then try Help->Additional Features. There, read section 7.4
> "Non-standard Paragraph Shapes"
>
> Text can be typeset into any kind of paragraph shape, but you currently
> have to specify the exact shape through series of line-length commands.
>
> Now, LyX is software, so it'd be possible to extend it to find the
> outline of a png, and emit all those commands automatically. But nobody has
> done that yet.
>
>
Not usable by me for now, but that's very interesting, I think this is an
important feature for many kind of works, well, it depends on what the
target should be in any case, but it's a good idea to be very flexible,
so... I think this will be code one day maybe ;)
And it will be a really nice feature because, since it's hard to do this
kind of things in LaTeX, making it automatic will surely be an important
step forward for a lot of people. I'd love this for example.
Thanks and greetings,

Luca D.M.


Re: For the Wish list

2010-01-06 Thread Helge Hafting

Ehud Kaplan wrote:
In working with colleagues on a paper, there are times when I do not 
have the figures
needed for producing the entire document, but it would  be nice to see 
it even without the figures.


You can insert figure floats, and simply not insert any graphics files 
into them.


That way, you can have cross-references to all figures. The missing ones 
will simply be blank - just captions.


When you get figures, insert them into the existing figure floats and
print again.

Helge Hafting


Re: Multiple files for book

2010-01-06 Thread Helge Hafting

Stephen George wrote:


Hi,

I'm a new comer to Lyx, and reading some of the tute and skim reading 
topics of interest the rest.


I'm still left with a question. (hope I didn't miss it)

If creating a book with a couple hundred pages, do I put it all in one 
big lyx file, or do I split it across multiple files (say one file per 
chapter), and somehow pull each chapter into book with some sort of 
include command?


Whatever you like. Splitting into several files is very useful when
there are several authors. It can also be useful in that you
can do "view->PDF" for a single file quickly. This operation
can take some time (several minutes) for a complete book.

Otherwise, it is a matter of taste, as LyX will cope with anything.
One big file, many subfiles. All the figures in one place, or
sorted into per-chapter folders.

This can also be changed later. You can split up a large
document by pasting whole chapters into new documents. For going the 
other way, LyX can insert the contents of several documents into one.


Helge Hafting


lyx module

2010-01-06 Thread Marco Correia
Hi,

I have created a lyx module with some stuff I need for my thesis. Probably I 
have made a mistake somewhere, since lyx says "error reading module" when I 
load it, even if the module works as expected.

The message is not very informative, and does not help me finding where the 
bug is. Is there an error log where lyx could be provinding more information?

Thanks!

PS: Please answer me back directly since I'm not subscribed.


-- 
Marco Correia 


Re: Fwd: CAS exposure in LyX (was Re: Importing Lyx files in SWP)

2010-01-06 Thread Guenter Milde
On 2010-01-06, Helge Hafting wrote:
> Murat Yildizoglu wrote:
>> Thanks a lot Olivier, this works perfectly for Maxima.
>>  I can ask it to compute \frac{\partial x^{2}}{\partial x}=2\, x and
>> it works as it is shown by the = sign but how to ask more indirect
>> tasks?

>> Question: How to pass commands to Maxima? Should we write full Maxima
>> expressions, instead of the standard math notation? In SWP there is a
>> Computation menu where it is possible to choose the operation that we
>> desire (simplify, evaluate, etc.).

> I think Lyx should stay with the math notation it has. Users should not
> need to write differently depending on whether they use maxima or some
> other math package.

> LyX should handle the conversion into something maxima/octace/whatever
> can understand.

> Of course the math menu in LyX can be extended. If different menus
> for simplify, evaluate etc. is useful, then it can be made.

The problem here is, that LaTeX only knows/needs "presentational" math
commands. A large part of the CAS syntax has no meaning in "pure" math.

Hence it does not make sense to extend "LaTeX math" for CAS.

Proposals (first draw):

* for code from a file, use the external material inset, 
  
  Create a CAS template replacing Maxima/Octave/swiginac input with the LaTeX
  output in a math-editor box.
  
* a "CAS-inset" for the math editor with configurable accepting CAS
  commands in a configurable language.
  
Günter  



Numbering figures' problem

2010-01-06 Thread Matteo A.
Hello everybody

I have a problem with lyx. when i draw a numbered figure or table, lyx works
and gives it a correct number. the same for the next figure/table. But when
i view the lyx file as PDF file and take a look to the figure and table's
numbers i notice that all the figures and tables, of a same section or
subsection, get the same number.

I mean that when i write in lyx chapter 4-section 3(for example) and put 2
tables or figures that are numbered in lyx automatically as "table or figure
6" and "table or figure 7", then when i update the PDF, i notice that the 2
tables or figures get the same number like "table 4.3" and not "table 4.3.1"
and "table 4.3.2" or whatever is the correct number. i cannot understand the
reason. can anyone help me?? it is very important. i am using lyx for my
Thesis.

i tried to save and close my lyx document. Then to open it again and
click "View PDF (pdflatex)" to get whole document compiled again but it
doesn't work..it doesn't change anything.

 i am using lyx 1.6.5 on windows vista sp 2, miktex 2.7, and Book (AMS) as
document class

Thanks in advance


Lyx in Fedora 12

2010-01-06 Thread Dr. Gyorgy Pota

Dear Users,

Lyx did not show any eps figures in a freshly installed Fedora 12 
system. Running Lyx in a terminal revealed that "convert" was 
unsuccesful. Finally it turned out that ImageMagick was not installed 
for  Lyx although I installed Lyx via yum, which, in principle, installs 
everything necessary. I was so angry, I almost went back to a well-known 
non-free op. system and to its famous word processor. :-)


I hope this helps some of you.

Gyorgy Pota


I surely do wish I could use aspell directly on a *.lyx file...

2010-01-06 Thread Joe(theWordy)Philbrook

Don't get me wrong, LyX's internal spellchecker does a good job of
implementing aspell. Except for two little things that make me wish I could
invoke aspell from the command line on a *.lyx file and have it skip all
the embedded lyx commands. I've looked at the docs for aspell and it looks
like there is a --mode=tex option, but I don't see anything about a
--mode=lyx option for it.  

I wouldn't care but for those two little things I mentioned. And to be sure
lyx's spellchecker isn't alone among gui spellchecker routines about which
these two things drive me a little crazy.

The first (And most obvious)issue is the way the pop-up spellchecker dialog
box often obscures the word in the text of the lyx document. I mean if it
simply determined where the word was displayed and opened the dialog box in
a different part of the screen so that I could see the syntax of my
spelling error so that I can remember whether I was talking about the chain
of "command" or about some character needing to use the "commode" I might
have a better chance of accepting the correct suggestion...

I can and do work around this by resizing my lyx document window to use
only the top half of the screen. And then moving the spellchecker dialog
box to the bottom half of the screen in the (so far well founded) hope that
{my window manager, or is it lyx itself?} will remember where to open the
next occurrence of the pop-up... But then of course I need to resize the
document window back to it's normal size again when I'm done spellchecking.

The second issue has to do with the fact that I'm a keyboard centric kind of
guy that really dislikes putting the keyboard down to wrestle with the
mouse. I know I can and do use +R to accept the default suggestion,
+I to ignore the intentionally misspelled word that I don't want added
to the dictionary. And I've even gotten used to the fact that it's +D
{which with the "D" being so close to the "R" on a qwerty keyboard has
caused more than a few erroneous additions to my ~/.aspell.en.pws file}
rather than a more intuitive +A to Add the word to the dictionary. 
But what I can't do is to select something other than the topmost default
spelling suggestion with the keyboard. Oh I can use tab to get to the
suggestion list, then the arrow key to highlight an alternate suggestion.
But I can't find a way to get the spellchecker to use the now highlighted
suggestion without dusting off that torture device that controls the mouse
pointer and clicking on the word in question. IE: If I misspell cycle as
cyclen the default suggestion shows up as cyclone. With the 2nd choice being
cycle. I can use the keyboard to hi-light cycle, But this doesn't change the
fact that the actual "replacement" field still says cyclone. So of course
if I press enter cyclen will become cyclone... I have only three choices to
get the spellchecker to change cyclen to cycle. 1) double click on cycle
from the list of suggestions. 2) single click on cycle to change the
replacement field to cycle allowing either +R or  to make the
change. 3) tab my way instead to the replacement field and manually edit
cyclone into cycle...  

I don't suppose that either of these two "issues" (think feature
request) will be resolved any time soon???

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



Re: I surely do wish I could use aspell directly on a *.lyx file...

2010-01-06 Thread Manveru
2010/1/6 Joe(theWordy)Philbrook :
[...]
> The first (And most obvious)issue is the way the pop-up spellchecker dialog
> box often obscures the word in the text of the lyx document. I mean if it
> simply determined where the word was displayed and opened the dialog box in
> a different part of the screen so that I could see the syntax of my
> spelling error so that I can remember whether I was talking about the chain
> of "command" or about some character needing to use the "commode" I might
> have a better chance of accepting the correct suggestion...
[...]

I suggested many months ago that spell checking should be available
not in dialog window, but in floating pane on probably right side. But
there was no response about that. I do not have time to try modifying
code myself.

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


RE: I surely do wish I could use aspell directly on a *.lyx file...

2010-01-06 Thread Vincent van Ravesteijn - TNW

>I suggested many months ago that spell checking should
>be available not in dialog window, but in floating pane
>on probably right side. But there was no response about
>that. 

The spellchecking is already in a floating pane.
http://www.lyx.org/trac/changeset/29322

(for 9 months now)

>I do not have time to try modifying code myself.

We don't have time either.

Vincent


Copying from LyX and pasting to Word with $...$ and \[...\] delimiters

2010-01-06 Thread Gerard Ateshian

Hi,

Recently I discovered that PubMed Central (http://www.ncbi.nlm.nih.gov/pmc/ 
) does not accept TeX/LaTeX submissions, so I have to convert some of  
my LyX documents to Microsoft Word (a common headache).  My  
manuscripts have lots of equations, so I need to use MathType to  
convert the equations.  MathType has recently added a feature to  
convert LaTeX equations directly from within a Word document, as long  
as the equation is delimited by $...$ or \[...\], so the conversion  
would be relatively easy to do.


Unfortunately, though copying from LyX and pasting into Word produces  
LaTeX formulas, these do not have $...$ or \[...\] delimiters, which  
means that they would have to be added by hand, one-by-one, making the  
process tedious.  (It is also possible to export the LyX document into  
LaTeX and import it into Word, but the LaTeX file breaks each screen  
line of text with a paragraph mark, which then has to be deleted  
within Word.  Furthermore, the LaTeX file preserves all of the  
remaining commands for sections, subsections, etc., whereas copying  
and pasting from LyX into Word gives a very clean and nearly ready  
format.)


I seem to recall that the inline and display equation delimiters were  
included in copy/paste in an earlier version of LyX, but the latest  
version does not seem to have them.  Is there a way to turn this  
feature on?  (If not, could this optional feature be added easily in  
the next release?)


Thanks,

Gerard Ateshian



RE: I surely do wish I could use aspell directly on a *.lyx file...

2010-01-06 Thread Vincent van Ravesteijn - TNW
>
> The spellchecking is already in a floating pane.
> http://www.lyx.org/trac/changeset/29322
>
> (for 9 months now)
>
>>I do not have time to try modifying code myself.
>
> We don't have time either.
>
>This is in trunk as I understand... any plan to merge
>into 1.6.x line?

No.

Vincent


Re: I surely do wish I could use aspell directly on a *.lyx file...

2010-01-06 Thread Manveru
2010/1/6 Vincent van Ravesteijn - TNW :
>
>>I suggested many months ago that spell checking should
>>be available not in dialog window, but in floating pane
>>on probably right side. But there was no response about
>>that.
>
> The spellchecking is already in a floating pane.
> http://www.lyx.org/trac/changeset/29322
>
> (for 9 months now)
>
>>I do not have time to try modifying code myself.
>
> We don't have time either.

This is in trunk as I understand... any plan to merge into 1.6.x line?
I do not have access to LyX repository from my work office due to
missing https transport, so I even did not try to recompile myself.

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


Re: Lyx in Fedora 12

2010-01-06 Thread Neal Becker
Dr. Gyorgy Pota wrote:

> Dear Users,
> 
> Lyx did not show any eps figures in a freshly installed Fedora 12
> system. Running Lyx in a terminal revealed that "convert" was
> unsuccesful. Finally it turned out that ImageMagick was not installed
> for  Lyx although I installed Lyx via yum, which, in principle, installs
> everything necessary. I was so angry, I almost went back to a well-known
> non-free op. system and to its famous word processor. :-)
> 
> I hope this helps some of you.
> 
> Gyorgy Pota

I understand there are good anger management classes available.



Re: Lyx in Fedora 12

2010-01-06 Thread Manoj Rajagopalan

This is probably a packaging error on Fedora 12. Have you tried to discover 
and contact the maintainer for this package?

-- Manoj


On Wednesday 06 January 2010 08:05:39 am Dr. Gyorgy Pota wrote:
> Dear Users,
>
> Lyx did not show any eps figures in a freshly installed Fedora 12
> system. Running Lyx in a terminal revealed that "convert" was
> unsuccesful. Finally it turned out that ImageMagick was not installed
> for  Lyx although I installed Lyx via yum, which, in principle, installs
> everything necessary. I was so angry, I almost went back to a well-known
> non-free op. system and to its famous word processor. :-)
>
> I hope this helps some of you.
>
> Gyorgy Pota



Re: Numbering figures' problem

2010-01-06 Thread Uwe Stöhr

Am 06.01.2010 13:34, schrieb Matteo A.:


I mean that when i write in lyx chapter 4-section 3(for example) and put 2
tables or figures that are numbered in lyx automatically as "table or figure
6" and "table or figure 7", then when i update the PDF, i notice that the 2
tables or figures get the same number like "table 4.3" and not "table 4.3.1"
and "table 4.3.2" or whatever is the correct number.


I assume that your document class is a book class. In books figures and tables are numbered in the 
scheme

chapter.number
Within LyX the numbering might be different because every document class can define its own 
numbering scheme.


I haven't understood what exactly is the problem. Do you want the numbering 
scheme
chapter.section.number
or a numbering without the chapter number?

Can you provide a -small_ LyX example file?

regards Uwe


Re: input preamble with biblatex?

2010-01-06 Thread Daniel Lohmann


On 06.01.2010, at 10:58, Jürgen Spitzmüller wrote:


Guenter Milde wrote:

In older LyX versions, you could choose to compile without temporary
directory. Is this still supported?


I don't think so.


Which is a pity, IMHO.

Not only this would be an easy workaround for all problems related to  
not natively supported external material (and we have many cases for  
that), I also really liked the fact, that I always had the latest PDF  
version of the document at hand without having to explicitly export it  
first.


Daniel

Re: Multiple files for book

2010-01-06 Thread Steve Litt
On Tuesday 05 January 2010 21:04:20 Stephen George wrote:
> Hi,
> 
> I'm a new comer to Lyx, and reading some of the tute and skim reading
> topics of interest the rest.
> 
> I'm still left with a question. (hope I didn't miss it)
> 
> If creating a book with a couple hundred pages, do I put it all in one
> big lyx file, or do I split it across multiple files (say one file per
> chapter), and somehow pull each chapter into book with some sort of
> include command?

Hi Steve,

I'll give you my outlook -- your mileage may vary.

I have two lyx-authored books weighing in at 300 pages, and another couple 
weighing in at 200 pages. All my LyX books are single-file and I like it that 
way. Less files in the directory, less hassle.

I have modern processors running close to 2Ghz and computers with between 2GB 
and 4GB of RAM. On these computers, navigating through my LyX files is almost 
instantaneous, especially if I use LyX navigation or the outline mode.

I used one chapter per file in a Wordperfect-authored book once, and it turned 
out to be a big old hassle. I vowed if at all possible to keep books unifile 
from then on.

The one situation where I'd split into chapters is if different people were 
working on different chapters. That would necessitate splitting, and LyX is 
ready, willing and able to handle that. Otherwise, I personally stick to one 
file for the whole book.

Your mileage may vary, consult everyone before making your decision.

HTH

SteveT

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



Re: Numbering figures' problem

2010-01-06 Thread Uwe Stöhr

Am 06.01.2010 18:44, schrieb Matteo A.:


When i get the lyx file as pdf file
with the buttons "updated pdf" and "view pdf" i notice a problem. Each
figure in chapter one comes out as "figure 1.1", each figure in chapter 2
comes out as "figure 2.1". so i can't distinguish them by number.


Then you have a wrong setting in your document preamble or something similar. I'll have a look if 
you provide a LyX testfile.


regards Uwe


Re: Numbering figures' problem

2010-01-06 Thread Uwe Stöhr

Am 07.01.2010 00:15, schrieb Matteo A.:


this is all i have in my preable:

\renewcommand{\thesubsection}{\thesection.\arabic{subsection}}

\renewcommand{\thetable}{\thechapter.\arabic{subsection}}


That's the bug. You redefined the table number to be the number of the subsection. So you overwrite 
the number by

chapter.subsection
and this number is independent of the table number.

Independent of this, you should better use the command \numberwithin to change the numbering. See 
sec. 3.3 "Float Numbering" of the EmbeddedObjects manual that you find in the Help menu of LyX.


> \usepackage{graphicx}

This settings is unnecessary because LyX already takes care of this.

regards Uwe


Re: Numbering figures' problem

2010-01-06 Thread Uwe Stöhr

Am 07.01.2010 00:53, schrieb Matteo A.:


so i just need to delete this line 
\renewcommand{\thetable}{\thechapter.\arabic{subsection}}


You also need to remove the other lines where you redefine the counters, like 
for figures.
When you don't like the numbering scheme of the AMS book class, use the \numberwithin command to 
change it as I wrote.


regards Uwe


2 examples in series

2010-01-06 Thread iustifico
Hallo,

sorry for this simple question, but I can't figure our how to make 2 different 
examples in LyX without nesting them or putting something between them.

If I do something like this:

Definition 1 Some Text
Example 2 Some Text
Proposition 3 Some Text
"Some New text outside the last Proposition"
Example 4 Some Text

Then it works.

But if I want to do something like this:
Example 1 First Text
Example 2 Second Text

It don't seem to work. Lyx refuses to begin an new environment for Example 2. 
It shows

Example 1 First Text
Second Text

If I export it to Latex it shows that the "Second Text" is inside the 
environment of Example 1.

Is this a bug?

It is also the same Problem with two Definitions in series like

Definition First Text
Definition Second Text

is turned in

Definition First Text
Second Text.

Thank you very much for help.

Re: 2 examples in series

2010-01-06 Thread Uwe Stöhr

Am 07.01.2010 02:22, schrieb iustifico:


But if I want to do something like this:
Example 1 First Text
Example 2 Second Text

It don't seem to work. Lyx refuses to begin an new environment for Example 2.


At the end of Example 1 press RETURN, then choose "--Separator--" in the drop-down box where you 
specify the environments (section, address and the like).


The separator environment was specially designed for cases like yours.

regards Uwe


Re: 2 examples in series

2010-01-06 Thread rgheck

On 01/06/2010 08:37 PM, Uwe Stöhr wrote:

Am 07.01.2010 02:22, schrieb iustifico:


But if I want to do something like this:
Example 1 First Text
Example 2 Second Text

It don't seem to work. Lyx refuses to begin an new environment for 
Example 2.


At the end of Example 1 press RETURN, then choose "--Separator--" in 
the drop-down box where you specify the environments (section, address 
and the like).


The separator environment was specially designed for cases like yours.

Yes, the problem is that LyX wants to allow you to have multiple 
paragraphs in the example environment. But then it isn't so easy to have 
multiple consecutive environments. The --Separator-- allows this.


rh