Re: Figure Latex Error plus input stack size

2007-06-18 Thread Jürgen Spitzmüller
[EMAIL PROTECTED] wrote:
 Thanks a lot Juergen, now the figures work fine, but I have 2 new problems:
 1-it cannot read the superscript fonts (for example 10 to the -10 as
 superscript)it says:

We need another test file then.

Jürgen


Re: Problem with PDF output with different pdf reader.

2007-06-18 Thread Christian Liesen
For users of Mac OS X 10.4.x, PDFview is a great application for this 
purpose.


It integrates nicely with LaTeX and LyX, and you can easily configure it 
to automatically update the PDF output.


With LyX, this means that
-- you set PDFview with open -a pdfview as your viewer in LyX's 
preferences
-- you click the checkbox in PDFview's preferences to automatically 
reload files that are updated on your harddisk

-- and anytime now you choose View -- Update from your LyX document,
-- you simply switch to PDFview, and the changes are right there. No 
reloading, no closing and opening, no pressing keys.


PDFview is available from SourceForge at 
http://pdfview.sourceforge.net/index.html.


-- Christian



Helge Hafting wrote:

On Fri, Jun 15, 2007 at 06:39:55AM -0500, Les Denham wrote:
  

On Friday 15 June 2007 08:36, Helge Hafting wrote:


Acrobat certainly isn't useless, but have some problems:
  
Precisely why I use Acrobat Reader: I don't want to create a PDF which does 
not work properly with the reader most people use.  I performed the necessary 
convolutions to get it to work on my x86_64 Linux machine, and when using it 
to view Lyx output I just close it each time.




Of course one checks a PDF for general consumption with acrobat,
no argument there!

This is not an argument for using acrobat as the main pdf viewer though.
Acrobat is something I use perhaps once before publication, to check that 
the document views ok. (It usually does, it is a long time since

I figured out what fonts to use and what not to use.)

But for everyday use, I use xpdf.  I can then tweak layout
efficiently. (Typically float placement - one of the few things 
latex don't do perfectly all the time. And the breaking of URL's
and code listings.) 


xpdf lets me do view-pdf, look up the float on page 37,
make small tweak, update-pdf, switch to xpdf and hit 'r'
and have the new pdf reloaded, still displaying page 37
so I don't have to _find_ it again.
I then repeat this process until that float is ok,
then I move on to the next trouble float and so on.

The tought of doing this work with 
perform tweak - close acrobat - view-pdf (wait for 
acrobat to start) - move to page 37 - perform tweak - ...

is depressing. Especially with the delays involved when
starting a 32-bit acrobat on a 64-bit machine.

Of course, not all documents contains lots of large floats,
acrobat might not be so awful then . . .

Helge Hafting

  


--


Christian Liesen

Universität Zürich
Institut für Sonderpädagogik
Sonderforschungsbereich
Hirschengraben 48
8001 Zürich

University of Zurich
Institute for Special Education
Research Unit
Hirschengraben 48
CH-8001 Zurich

Tel +41 44 634 3130
Fax +41 44 634 4941
E-mail [EMAIL PROTECTED]




No Text Class Found?

2007-06-18 Thread Paniez Paykari

Dear Sir/Madam,

I have tried to download lyx on my windows. After going through all the 
steps, it does not open lyx and the error message is  'No TextClass 
Found'. How can I fix this?


Thank you
Paniez Paykari


Re: which LyX version on which Mac OSX version?

2007-06-18 Thread Abdelrazak Younes

Bennett Helm wrote:

On Jun 17, 2007, at 1:19 PM, Patrick De Visschere wrote:


Hi,

Since I temporarely have to switch to and older Mac (with OSX 10.2.8) 
I wanted to find out what version of lyx runs on which OS X version 
and the information on the wiki pages seems ambiguous.


According to the /Mac pages lyx13x requires 10.2 and lyx14 requires 
10.3.9 (I guess this is right)


The /Lyx/Download page however mentions also 10.2 for lyx14x (this is 
probably wrong)


I can only run lyx136 and even not lyx137 or lyx14x; in the latter 
case there is a message that /usr/lib/libiconv.2.dylib is missing. 
This library is installed by fink under /sw/lib but even after copying 
this library to /usr/lib lyx refuses to run.


It would be nice if someone could explain what should run on OSX 10.2.9


I'm frankly not sure, since I haven't had 10.2 around to test on. But I 
believe the binaries for LyX-1.4 (and the forthcoming -1.5) will not 
work on 10.2. So I believe you'll have to use LyX-1.3. (I don't remember 
any reason why 1.3.7 wouldn't work on 10.2.) Your experience with 
LyX-1.4.x is what I'd expect: you need the precise version of the 
libiconv.2.dylib LyX was compiled with for it to work -- and that's the 
version that comes with 10.3.


If you want to compile your own version, I believe LyX-1.4 will work on 
10.2.


FYI, I've read Qt4.3 will not support OSX 10.2 so 1.5 will for sure not 
be usable there.


Abdel.



Re: No Text Class Found?

2007-06-18 Thread Uwe Stöhr

Paniez Paykari schrieb:

I have tried to download lyx on my windows. After going through all the 
steps, it does not open lyx and the error message is  'No TextClass 
Found'. How can I fix this?


The easiest method it to try reinstalling LyX using this installer:
http://wiki.lyx.org/Windows/LyXWinInstaller

Uninstall the existing LyX 1.4 before doing this.

regards Uwe


Re: RC1 Dumb Question

2007-06-18 Thread Andreas K .
Mark Kortink [EMAIL PROTECTED] writes:

 
 Hi
 
 I am writing a book in LyX and come from the Windows world. I want to 
download 
 and install RC1 with no hassels. This means download a file, double-click it 
 and respond to the prompts, and at the end everything is done. When I go to 
the 
 download area I find:
 
[snip] 

 Which one should I download?
 
 Regards
 Mark


Hi,

You should download the following:

06/01/2007 12:53PM 78,884,411 LyX-1.5.0rc1-Installer-bundle.exe
 
Best regards,
Andreas






Re: Can't enter extra whitespace when editing.

2007-06-18 Thread Hellmut Weber
Hi Darren, don't you think that calling a lyx behaviour 'gestapo 
behaviour' is inappropriate?


I'll send my mail certainly open to the list, I was just to quick and 
didn't change the address for my replay.


So I send this mail to the list as cc

Regards

Hellmut

Darren Freeman schrieb:

Hellmut,

I was very surprised by your email. I was discussing a technical change
in LyX from past behaviour, as well as an ongoing issue that I am trying
to get changed, and at no point was I insulting anyone.

I think you will find that you were the only one who had this
interpretation. If you would like to send your message openly to the
entire list, you will get a similar reaction.

Please spend some more time getting used to the emails on this list
before you jump on someone.

Have fun,
Darren

On Mon, 2007-06-18 at 10:33 +0200, Hellmut Weber wrote:

Hi Darren,

having been obliged to work quite a lot with word I'm very happy that 
LyX just prevents to enter more than one space between two words. And 
the additionel space you can introduce before an existing one disappears 
when go jump to some where else.



Also I point out that LyX still allows a permanent dangling space at the
end of a paragraph which is even less consistent with the current
gestapo behaviour.

And PLEASE abstain from flames of this kind !!!
I consider this as utmost inappropriate !!!

Regards

Hellmut






--
Dr. Hellmut Weber [EMAIL PROTECTED]
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq



Re: latex listings - line breaking problem

2007-06-18 Thread Helge Hafting

Jakub Suder wrote:

Hi,

I'm writing my MSc thesis in Lyx, and today I installed 1.5.0rc1 and
tried to use code listings (I have lots of Java examples in my
thesis), but I've encountered a problem. I'm using a custom class from
my university - mgragh (I don't know if the list accepts attachments,
so I've put it here:
http://cassiopea.net.autocom.pl/public/mgragh.zip) and I've noticed
that this class prevents long lines from being broken inside a listing
block.

I have code like this (Lyx view source box):

\begingroup
\inputencoding{latin1}
\begin{lstlisting}[breaklines=true,showstringspaces=false]
(code fragment with long lines)
\end{lstlisting}
\endgroup

And the lines aren't broken, they just extend over the margin and are
cut eventually. When I paste the code into a new empty document using
article class, everything is ok, the lines are broken into parts.
Then if I change the document class to mgragh - it stops working.

Do you know what may be wrong? What should I change in the class to
make it compatible with listings?

Automatically breaking program listings is a very tricky business.
Usually, the automatic breaking isn't good, and can sometimes
even introduce syntax errors. (depending on the language in use.)

When I wrote a programming book, I wrote all the sample code
so that it wasn't too wide.  Keep statements short, use
few levels of indentation, and break lines manually when this
isn't enough. Using short identifier names (one letter is often
enough, and avoid the wider uppercase ones.)
Setting code samples with a small narrow font helps too, if
all else fails.

Keeping the statements short and so on
is often an advantage anyway - the code gets easier to read.




German grafik dialog window

2007-06-18 Thread Hellmut Weber

Hi
this is a remark of a 'perfectionist' ;-)

When I'm working with lyx-svn (as of yesterday noon) with my german 
settings the graphic dialog, tab 'Grafik' shows two places where the 
letter o (Oh) is underlined, indicating that it could be activated with 
the key combination alt+o:

* Tab 'LaTeX- und LyX-Optionen'
* Button 'OK'
The letter 't' seems to be available in this context to activate the tab 
'LaTeX- und LyX-Optionen'.

I would like to have alt+o consistently for 'OK' as in other apps.

Greetings

Hellmut

--
Dr. Hellmut Weber [EMAIL PROTECTED]
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq



Boxed graphic

2007-06-18 Thread Hellmut Weber

Hi,
does the graphic include dialog offer a possibility to get the graphic 
boxed (as if it were in a fbox) or do I have to do that myself with ERT?


TIA

Hellmut

--
Dr. Hellmut Weber [EMAIL PROTECTED]
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq



Re: Can't enter extra whitespace when editing.

2007-06-18 Thread Darren Freeman
On Mon, 2007-06-18 at 12:40 +0200, Hellmut Weber wrote:
 Hi Darren, don't you think that calling a lyx behaviour 'gestapo 
 behaviour' is inappropriate?

I don't think I spent any more than three seconds on it and hadn't
considered it to be anything other than a little colourful. I was
referring to the heavy-handed policing which LyX is now applying to
extra white-space and I think I made my point.

Yes, if somebody reading that had suffered at the hands of the gestapo,
then I can see that they might be upset... so I am sorry and will be
more careful. I live in a place and time where the concept exists only
in books and on TV and it just didn't seem important. If you or any of
the recipients are or know Jews who suffered during WWII then I am
especially sorry.

 I'll send my mail certainly open to the list, I was just to quick and 
 didn't change the address for my replay.
 
 So I send this mail to the list as cc

You sent it to the wrong list by the way. Now a second, much larger
group of people is potentially offended.

Also I didn't invite you to send my private reply to you to any list,
that is just bad manners. Please don't do that again! To me this is the
bigger offence, and it gives me the impression that it is you who wanted
a flame-war.

Have fun,
Darren



Re: Boxed graphic

2007-06-18 Thread Rudi Gaelzer
On Monday 18 June 2007 08:43:44 Hellmut Weber wrote:
 Hi,
 does the graphic include dialog offer a possibility to get the graphic
 boxed (as if it were in a fbox) or do I have to do that myself with ERT?

 TIA

 Hellmut

Inside any mathematical environment, just type \boxed followed by space that a 
box appears.  You can even box multi-line equations by inserting in the box 
any *ed math environment, like the Aligned, AlignedAt or Gathered 
environments.


-- 
Rudi Gaelzer
Department of Physics
Institute of Physics and Mathematics
Federal University of Pelotas
BRAZIL
Registered linux user # 153741


Re: Boxed graphic

2007-06-18 Thread Robert Orr

--- Rudi Gaelzer [EMAIL PROTECTED] wrote:

 On Monday 18 June 2007 08:43:44 Hellmut Weber wrote:
  Hi,
  does the graphic include dialog offer a
 possibility to get the graphic
  boxed (as if it were in a fbox) or do I have to do
 that myself with ERT?
 
  TIA
 
  Hellmut
 
 Inside any mathematical environment, just type
 \boxed followed by space that a 
 box appears.  You can even box multi-line equations
 by inserting in the box 
 any *ed math environment, like the Aligned,
 AlignedAt or Gathered 
 environments.
 
 
 -- 
 Rudi Gaelzer
 Department of Physics
 Institute of Physics and Mathematics
 Federal University of Pelotas
 BRAZIL
 Registered linux user # 153741
 

If I understand your question, the answer might be to
just put the graphic inside of a table cell.





   

Be a better Heartthrob. Get better relationship answers from someone who knows. 
Yahoo! Answers - Check it out. 
http://answers.yahoo.com/dir/?link=listsid=396545433


Re: Can't enter extra whitespace when editing.

2007-06-18 Thread Steve Litt
On Monday 18 June 2007 08:28, Darren Freeman wrote:
 On Mon, 2007-06-18 at 12:40 +0200, Hellmut Weber wrote:
  Hi Darren, don't you think that calling a lyx behaviour 'gestapo
  behaviour' is inappropriate?

 I don't think I spent any more than three seconds on it and hadn't
 considered it to be anything other than a little colourful. I was
 referring to the heavy-handed policing which LyX is now applying to
 extra white-space and I think I made my point.

Has a recent LyX version eliminated the author's ability to use Ctrl+Spacebar 
to insert multiple nonbreaking spaces? My 1.4.2 allows it.

SteveT


Re: moving to linux...part3: preferred bibtex editor

2007-06-18 Thread Rudi Gaelzer
On Thursday 14 June 2007 12:50:08 Ares wrote:
 Here I am back with a new, silly question: what is the most favourite
 bibtex editor under GNU/linux? I have been using JabRef under Windows,
 but I realised that it runs under the Java Runtime Environment, and I
 do not want to install new components if I do not really need them...

 So, let's go with the poll!

I use either kbibtex or pybliographic.  The first is pretier and better 
organized, but pybliographic has an interesting import function.

-- 
Rudi Gaelzer
Department of Physics
Institute of Physics and Mathematics
Federal University of Pelotas
BRAZIL
Registered linux user # 153741


Re: Glossary

2007-06-18 Thread Wolfgang Engelmann


--  Weitergeleitete Nachricht  --

Subject: Re: Glossary
Date: Mittwoch, 13. Juni 2007 13:46
From: Wolfgang Engelmann [EMAIL PROTECTED]
To: [EMAIL PROTECTED]

Am Mittwoch, 13. Juni 2007 10:44 schrieb Valter Filipe Silva:
 Hello,


 Could you give me more details about using indexing for implement the
 glossary?
 Thanks

 Valter

Valter,
 I used the indexing just as an easy way to pick out the words in my document
which I want to put in the glossary.

There might be better ways, and certainly better informed people around!

This is the procedure:
1-Go through the document and put the cursor immediately behind the word you
want to use in the glossary. Press first alt_i, than d (a shortcut for
InsertIndex-Entry): This produces a grey box idx behind the selected item.
Clicking on it shows the content (note that you have to add by hand if the
item consists of e.g. two words -or you remove the space between the two
words before indexing and put it in again afterward (same in the idx-box).

2-Go to the place where your index (and later the glossary) should occur,
 e.g. before the bibliography.
insertlist/TOCindex list
you won´t see anything in the index list yet.

3-export your file
fileexportlatex(plain)
run three times
latex yourDocument.tex

the output contains:
No file yourDocument .ind.
No file  yourDocument.bbl.

but a file  yourDocument.idx is produced

4-run
makeindex
produces
 yourDocument.ind

Have a look with a normal editor
It shows e.g.


\begin{theindex}

  \item BibTeX, 1

  \indexspace

  \item inset, 1

\end{theindex}
 yourDocument.ind (END)

5- use this as the basis for your glossary.

For the glossary see:
http://www.ctan.org/tex-archive/macros/latex/contrib/glossary/?filename=macro
s/latex/contrib/glossary/action=/tools/cataloguesearchcatstring=glossary

---


Re: Boxed graphic

2007-06-18 Thread Uwe Stöhr

Hellmut Weber schrieb:

does the graphic include dialog offer a possibility to get the graphic 
boxed (as if it were in a fbox) or do I have to do that myself with ERT?


You have to do this by yourself. You can either set it into a single table cell or put it into a 
framed box, see the attached example.
With the box method you can easily adjust the space between the image and the frame and also the 
frame thickness and color, see the EmbeddedObjects manual how this is done.


regards Uwe


newfile1.lyx
Description: application/lyx


Re: Can't enter extra whitespace when editing.

2007-06-18 Thread Hellmut Weber

Hi Darren,
thanks for your message ;-)

I realised only now that your are living very far from Europe.
OTOH as you can see from my signature I'm german, born 1943 and my 
parents have lived through all of the war (actually two of these, teh 
first one as little children).


In many European countries being compared with the gestapo would be 
considered very offensive, even for people much younger than me.


So thanks for your last reply.

Cheers

Hellmut

Darren Freeman schrieb:

On Mon, 2007-06-18 at 12:40 +0200, Hellmut Weber wrote:
Hi Darren, don't you think that calling a lyx behaviour 'gestapo 
behaviour' is inappropriate?


I don't think I spent any more than three seconds on it and hadn't
considered it to be anything other than a little colourful. I was
referring to the heavy-handed policing which LyX is now applying to
extra white-space and I think I made my point.

Yes, if somebody reading that had suffered at the hands of the gestapo,
then I can see that they might be upset... so I am sorry and will be
more careful. I live in a place and time where the concept exists only
in books and on TV and it just didn't seem important. If you or any of
the recipients are or know Jews who suffered during WWII then I am
especially sorry.

I'll send my mail certainly open to the list, I was just to quick and 
didn't change the address for my replay.


So I send this mail to the list as cc


You sent it to the wrong list by the way. Now a second, much larger
group of people is potentially offended.

Also I didn't invite you to send my private reply to you to any list,
that is just bad manners. Please don't do that again! To me this is the
bigger offence, and it gives me the impression that it is you who wanted
a flame-war.

Have fun,
Darren




--
Dr. Hellmut Weber [EMAIL PROTECTED]
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq



Re: Can't enter extra whitespace when editing.

2007-06-18 Thread Hellmut Weber

Hi,
LyX-svn as of 2007-06-17 still permits it.

Greetings

Hellmut

Has a recent LyX version eliminated the author's ability to use Ctrl+Spacebar 
to insert multiple nonbreaking spaces? My 1.4.2 allows it.


--
Dr. Hellmut Weber [EMAIL PROTECTED]
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq



Re: problems to show figures in LyX

2007-06-18 Thread Paul A. Rubin

Fernando Roig wrote:

Hello:

I am running LyX 1.5.0rc1 on MS Windows and I am not able to view the 
figures in LyX. I tried several file formats like ps, eps, jpg, gif, 
pdf, and always get the message Error converting to loadable format.


I understand that there is some problem with the definition of 
converters but I don't know how to solve it. ImageMagick is installed in 
the system.


Does anybody can help?

Thanks,
Fernando




First two things to check:

1.  Is ImageMagick (correctly) on LyX's path prefix (Tools - 
Preferences... - Paths - PATH prefix)?


2.  If so, does IM work correctly?  Can you convert an image file to PPM 
format from a command prompt?


If this doesn't help, we'll have to poke around with the conversion 
script and see if we can get any informative messages.


/Paul




1.5.0 Linux install help

2007-06-18 Thread killermike
Hiya

I have been having some problems installing 1.5.0beta3 on my Kubuntu 7.04 
machine. I had used all of the betas on my Kubuntu 6.06lts without any 
problems. The problems seem to related font installation in some way. In my 
attempts to get things working, I have mostly been working with files and 
documents that worked fine on my old 6.06lts setup.

Basically, fonts in svg figures (preview or PDF output) disappear or fail in 
some other way. After three days of fighting with the system, I have managed 
to get previews 1.4.x however, I'd like to get 1.5.0 working again.

Here is a screenshot of the output and preview from Lyx
http://www.unmusic.co.uk/lyx_fontproblem.png

Regardless of what I do, fonts in the preview images do not seem to have any 
carriage returns. The fonts in PDF output are omitted. I have managed to get 
fonts in the PDF figures be included with the following converter string:

inkscape $$i -T --export-eps $$o

The -T switch causes the fonts to be converted into a path, which looks awful 
on screen, but at least it works. Without -T, the fonts or even the entire 
figures are missing.

Infuriatingly, in 1.5.0, using convert or inkscape (command line) both cause 
this problem with previews. And yet, using the commandline:

inkscape drawing.svg --export-png drawing.png

/does/ work as expected!

From the command line:

inkscape drawing.svg  --export-eps drawing.eps

omits the fonts.

here is the output from pdf preview in 1.5.0

Error: /invalidfont in /findfont
Operand stack:
   FreeSansBold-ISOLatin1   FreeSansBold
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   
--nostringval--   
2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   
false   1   %stopped_push   1813   1   3   %oparray_pop   1812   1   
3   %oparray_pop   --nostringval--   1808   1   3   %oparray_pop   1691   1   
3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   
--nostringval--   --nostringval--   --nostringval--   
2   %stopped_push   --nostringval--   --nostringval--   1783   2   
3   %oparray_pop
Dictionary stack:
   --dict:1084/1123(ro)(G)--   --dict:0/20(G)--   --dict:74/200(L)--
Current allocation mode is local
Last OS error: 2
GPL Ghostscript 8.57: Unrecoverable error, exit code 1

Bear in mind, I have been hammering this system for three solid days, so make 
no assumptions about its sanity, in terms of setup. In course of my attempts 
I have installed texlive and tetex, upgraded Ghostscript to the latest 
version and installed various font packages.

Any advice or even a hint of what to try next would be greatly appreciated. 
Life just isn't the same without LyX!

-- 
http://www.unmusic.co.uk - about me, music, geek sitcom etc.
http://www.unmusic.co.uk/amhs/ - alt.music.home-studio 



Inverted commas

2007-06-18 Thread Frederick Noronha [फ्रेडरिक नोरोन्या]

Dear all, Could you please tell me how to get a decent, shapely set
of inverted commas instead of the rough-looking ones I get from Lyx?
Thanks for all for your useful help, specially to Steve. FN
--
FN: Frederick Noronha
Phone 0091-832-2409490
http://wikiwikiweb.de/MyContacts


Re: Inverted commas

2007-06-18 Thread Mark T.B. Carroll
Frederick Noronha [फ्रेडरिक नोरोन्या] [EMAIL PROTECTED] writes:

 Dear all, Could you please tell me how to get a decent, shapely set
 of inverted commas instead of the rough-looking ones I get from Lyx?

Does the Document Settings - Language - Quote Style thing help at all?

-- Mark



Re: Inverted commas

2007-06-18 Thread Frederick Noronha [फ्रेडरिक नोरोन्या]

Hi Mark, That doesn't offer too many options

Language: English
Use language's default encoding (not selected)
Encoding: Latex default
Quote style: text

[Quote style also available in ``text, ,,text``, ,,text, text,
and text]

What I'm looking for is something that would create the elegant,
textbook-like 66quotes99 (using 66 and 99 to explain their shape...).

Regards, FN

On 18/06/07, Mark T.B. Carroll [EMAIL PROTECTED] wrote:

Frederick Noronha [फ्रेडरिक नोरोन्या] [EMAIL PROTECTED] writes:

 Dear all, Could you please tell me how to get a decent, shapely set
 of inverted commas instead of the rough-looking ones I get from Lyx?

Does the Document Settings - Language - Quote Style thing help at all?

-- Mark

--
FN: Frederick Noronha
Phone 0091-832-2409490
http://wikiwikiweb.de/MyContacts


Re: No Text Class Found?

2007-06-18 Thread Joost Verburg

Paniez Paykari wrote:
I have tried to download lyx on my windows. After going through all the 
steps, it does not open lyx and the error message is  'No TextClass 
Found'. How can I fix this?


The LyX configuration probably failed. Remove

C:\Documents and Settings\Your username\Application Data\lyx1.4.x

and run LyX again.

Joost



Text... versus the introduction

2007-06-18 Thread Frederick Noronha [फ्रेडरिक नोरोन्या]

Hi all, I'm just typesetting a book. The chapters are coming out fine.
My problem is with the introduction. The problem is two-fold...

(1) It's not hyphenating adequately...
(2) The pages seem to be splitting only after paragraphs (which means,
a lot of white space between paras!)

Am I doing something wrong?

I've inserted the introduction after a Table of Contents, using
standard text. Thanks again for all your help. I quite like Lyx! --FN
--
FN: Frederick Noronha
Phone 0091-832-2409490
http://wikiwikiweb.de/MyContacts


Re: Inverted commas

2007-06-18 Thread Mark T.B. Carroll
Frederick Noronha [फ्रेडरिक नोरोन्या] [EMAIL PROTECTED] writes:
(snip)
 [Quote style also available in ``text, ,,text``, ,,text, text,
 and text]

 What I'm looking for is something that would create the elegant,
 textbook-like 66quotes99 (using 66 and 99 to explain their shape...).
(snip)

Huh. I'd have thought that ``text combined with the right font would do
that. Just a minute ...

... yes, works for me, I get the 66quotes99 in the resulting PDF, with
my settings largely set to default. Maybe try that option and play with
different fonts?

-- Mark



Re: Inverted commas

2007-06-18 Thread Paul A. Rubin

Unknown wrote:

Dear all, Could you please tell me how to get a decent, shapely set
of inverted commas instead of the rough-looking ones I get from Lyx?
Thanks for all for your useful help, specially to Steve. FN


By rough looking do you mean the ones you see in the GUI, or the ones 
that show up in the final DVI/PS/PDF output file?  The former are 
determined by the screen font (which you can set in the LyX options); 
the latter are determined by the document font (and out of LyX's control).


/Paul



Re: Inverted commas

2007-06-18 Thread David L. Johnson

Frederick Noronha [फ्रेडरिक नोरोन्या] wrote:

Hi Mark, That doesn't offer too many options

Language: English
Use language's default encoding (not selected)
Encoding: Latex default
Quote style: text

[Quote style also available in ``text, ,,text``, ,,text, text,
and text]

What I'm looking for is something that would create the elegant,
textbook-like 66quotes99 (using 66 and 99 to explain their shape...).


I am guessing that what you are really talking about is the appearance 
of the quotes within LyX, not in the printout.  Certainly in the 
printout the quotes are done correctly (in any style) with the 
inversions you want, at least it is correct for me.  They don't appear 
as nicely on the LyX screen, but as long as the printout is good that 
should be allright.


--

David L. Johnson

It is probable that television drama of high caliber and produced by
first-rate artists will materially raise the level of dramatic taste
in the nation.
-- David Sarnoff, 1939


Re: Inverted commas

2007-06-18 Thread Frederick Noronha [फ्रेडरिक नोरोन्या]

Thanks, David and Mark. No, actually I'm referring to the appearance
*both* on the monitor and on the printout.

My earlier attempt, done hurriedly for the first book I edited, didn't work.

But thanks to you guys, I think I've got it this time. What needs to
be done is to use the ``quotes .. and it works fine. The  quotes
(close quotes) might need to be replaced, because plain-text doesn't
render it exactly as would the key to the very far right on the middle
row does in Lyx.

Thanks again! FN

On 19/06/07, David L. Johnson [EMAIL PROTECTED] wrote:

Frederick Noronha [फ्रेडरिक नोरोन्या] wrote:
 Hi Mark, That doesn't offer too many options

 Language: English
 Use language's default encoding (not selected)
 Encoding: Latex default
 Quote style: text

 [Quote style also available in ``text, ,,text``, ,,text, text,
 and text]

 What I'm looking for is something that would create the elegant,
 textbook-like 66quotes99 (using 66 and 99 to explain their shape...).

I am guessing that what you are really talking about is the appearance
of the quotes within LyX, not in the printout.  Certainly in the
printout the quotes are done correctly (in any style) with the
inversions you want, at least it is correct for me.  They don't appear
as nicely on the LyX screen, but as long as the printout is good that
should be allright.

--

David L. Johnson

It is probable that television drama of high caliber and produced by
first-rate artists will materially raise the level of dramatic taste
in the nation.
-- David Sarnoff, 1939




--
FN: Frederick Noronha
Phone 0091-832-2409490
http://wikiwikiweb.de/MyContacts


Re: problems to show figures in LyX

2007-06-18 Thread Fernando Roig

First two things to check:

1.  Is ImageMagick (correctly) on LyX's path prefix (Tools -
Preferences... - Paths - PATH prefix)?

2.  If so, does IM work correctly?  Can you convert an image file to
PPM format from a command prompt?

If this doesn't help, we'll have to poke around with the conversion
script and see if we can get any informative messages.

/Paul



Hi Paul:

Thanks for the message.

1. Apparently, ImageMagick is correctly configured on LyX path prefix.  
The entry is:


C:\Arquivos de programas\ImageMagick-6.3.3-Q16;

which is the directory where convert.exe is found.

2. From the command prompt, I make

convert figure1.ps figure1.png

This conversion works ok, and I am able to include the resulting .png  
image as a graphic in LyX, and it is properly shown.


However, if I make

convert figure1.ps figure1.ppm

the conversion does not work properly. It generates a bad .ppm file,  
that I cannot open with the GIMP (although I am able to include it as  
a graphic and to see it in LyX).


Fernando




Re: Inverted commas

2007-06-18 Thread David L. Johnson

Frederick Noronha [फ्रेडरिक नोरोन्या] wrote:

Thanks, David and Mark. No, actually I'm referring to the appearance
*both* on the monitor and on the printout.

My earlier attempt, done hurriedly for the first book I edited, didn't 
work.


But thanks to you guys, I think I've got it this time. What needs to
be done is to use the ``quotes .. and it works fine. The  quotes
(close quotes) might need to be replaced, because plain-text doesn't
render it exactly as would the key to the very far right on the middle
row does in Lyx.


I'm still confused.  In order to get plain quotes in LyX you would use 
 Ctrl-, which would be used, say, in ERT to get accented characters, 
such as \{a}  for an a with an umlaut.  Maybe your keyboard has another 
key with those quotes defined that way, or maybe, if you converted a 
file from another format, the quotes got converted that way.


Here is a file with examples of quotes.  For the correctly typeset ones, 
I just type .  Lyx converts the strings as you see, by converting the  
to `` or '' depending upon position, which then TeX understands.


--

David L. Johnson

As far as the laws of mathematics refer to reality, they are not
certain, and as far as they are certain, they do not refer to reality.
-- Albert Einstein


quotes.lyx
Description: application/lyx


Re: Inverted commas

2007-06-18 Thread Frederick Noronha [फ्रेडरिक नोरोन्या]

I see. Thanks a lot. Very interesting. I'm not too technical (a
journalist-editor-writer). So I'll need to ask my techie friend.
Anyway it works for me now, the way I'm doing it. I imported the file
that was set in Jstar (a clone of WordStar, and from the Joe family).
It's ancient, but I love using it's command-line only interface. --FN

On 19/06/07, David L. Johnson [EMAIL PROTECTED] wrote:

Frederick Noronha [फ्रेडरिक नोरोन्या] wrote:
 Thanks, David and Mark. No, actually I'm referring to the appearance
 *both* on the monitor and on the printout.

 My earlier attempt, done hurriedly for the first book I edited, didn't
 work.

 But thanks to you guys, I think I've got it this time. What needs to
 be done is to use the ``quotes .. and it works fine. The  quotes
 (close quotes) might need to be replaced, because plain-text doesn't
 render it exactly as would the key to the very far right on the middle
 row does in Lyx.

I'm still confused.  In order to get plain quotes in LyX you would use
  Ctrl-, which would be used, say, in ERT to get accented characters,
such as \{a}  for an a with an umlaut.  Maybe your keyboard has another
key with those quotes defined that way, or maybe, if you converted a
file from another format, the quotes got converted that way.

Here is a file with examples of quotes.  For the correctly typeset ones,
I just type .  Lyx converts the strings as you see, by converting the 
to `` or '' depending upon position, which then TeX understands.

--

David L. Johnson

As far as the laws of mathematics refer to reality, they are not
certain, and as far as they are certain, they do not refer to reality.
-- Albert Einstein





--
FN: Frederick Noronha
Phone 0091-832-2409490
http://wikiwikiweb.de/MyContacts


Re: problems to show figures in LyX

2007-06-18 Thread Paul A. Rubin

Fernando,

Fernando Roig wrote:

Hi Paul:

Thanks for the message.

1. Apparently, ImageMagick is correctly configured on LyX path prefix. 
The entry is:


C:\Arquivos de programas\ImageMagick-6.3.3-Q16;

which is the directory where convert.exe is found.


Ok.


2. From the command prompt, I make

convert figure1.ps figure1.png

This conversion works ok, and I am able to include the resulting .png 
image as a graphic in LyX, and it is properly shown.


However, if I make

convert figure1.ps figure1.ppm

the conversion does not work properly. It generates a bad .ppm file, 
that I cannot open with the GIMP (although I am able to include it as a 
graphic and to see it in LyX).


I don't understand this.  You're saying that LyX will display the PPM 
file properly (if you include it directly in the document) but GIMP 
thinks the file is bad?


Do you have problems converting non-Adobe formats (e.g., figure1.jpg) to 
PPM?  The reason I ask is that ImageMagick relies on Ghostscript when 
converting Postscript and Encapsulated Postscript to other formats.  So 
if the problem is only with PS/EPS and not with JPG/PNG/..., then the 
place to look is your Ghostscript installation.


Meanwhile, I'm not sure any of this explains your problem entirely, 
particularly since you indicated conversion to PPM (the format LyX uses 
for internal display) failed for all sorts of image types.  You might 
try the following.  Open a DOS window and cd to the LyX bin directory. 
Run 'lyxc -dbg graphics' there.  (Note that it's lyxc, not lyx.)  Start 
a new document.  The DOS window will have all sorts of progress messages 
from LyX that we don't care about; make a note where they end.  Now 
insert an image with the option to display in LyX turned on.  More 
messages will spew into the DOS window.  Copy the ones that came after 
you inserted the image and mail them to the list; maybe they'll tell us 
where the script is failing.


/Paul



Re: problems to show figures in LyX

2007-06-18 Thread Fernando Roig

Paul:


I don't understand this.  You're saying that LyX will display the PPM
file properly (if you include it directly in the document) but GIMP
thinks the file is bad?


LyX displays the ppm file but not properly. I mean, it appears an  
image on the screen, but this image has less to do with the original  
ps figure. Therefore, ImageMagick is converting the ps file into a ppm  
file containing some strange information that LyX is able to display  
but GIMP is not able to open (plugin cannot open image)



Do you have problems converting non-Adobe formats (e.g., figure1.jpg)
to PPM?  The reason I ask is that ImageMagick relies on Ghostscript
when converting Postscript and Encapsulated Postscript to other
formats.  So if the problem is only with PS/EPS and not with
JPG/PNG/..., then the place to look is your Ghostscript installation.


If I run

convert figure1.ps figure1.jpg

and then

convert figure1.jpg figure1.ppm

then both jpg and ppm files are correctly converted (I am able to open  
them in GIMP) and LyX displays the ppm file without problems. However,  
if I try to load the jpg file in LyX then I get the Error converting  
to loadable format. So I believe that the problem is not with  
Ghostscript.



Meanwhile, I'm not sure any of this explains your problem entirely,
particularly since you indicated conversion to PPM (the format LyX uses
for internal display) failed for all sorts of image types.  You might
try the following.  Open a DOS window and cd to the LyX bin directory.
Run 'lyxc -dbg graphics' there.  (Note that it's lyxc, not lyx.)  Start
a new document.  The DOS window will have all sorts of progress
messages from LyX that we don't care about; make a note where they end.
 Now insert an image with the option to display in LyX turned on.  More
messages will spew into the DOS window.  Copy the ones that came after
you inserted the image and mail them to the list; maybe they'll tell us
where the script is failing.


Here is the debug log (it is quite a lot of stuff):

Token: '\end_inset'
[readBB_from_PSFile] no(e)ps-format
[controller().bb_Changed set to true]
[controller().bb_Changed set to true]
[controller().bb_Changed set to true]
[controller().bb_Changed set to true]
[readBB_from_PSFile] no(e)ps-format
Token: 'filename'
Token: '\end_inset'
LoaderQueue: waking up
Recognised Fileformat: eps
Recognised Fileformat: eps
[readBB_from_PSFile] 39 24 480 523
[controller().bb_Changed set to true]
[controller().bb_Changed set to true]
[controller().bb_Changed set to true]
[controller().bb_Changed set to true]
Recognised Fileformat: eps
Recognised Fileformat: eps
[readBB_from_PSFile] 39 24 480 523
LoaderQueue: 1 items in the queue
Recognised Fileformat: eps
[graphics::CacheItem::Impl::convertToDisplayFormat]
Attempting to convert image file: C:/TEST/figure1.ps
with displayed filename: C:\TEST\figure1.ps
Recognised Fileformat: eps

The file contains eps format data.

The image loader can load the following directly:
bmp, pbm, pgm, png, ppm, xbm, xpm,
Of these, LyX recognises the following formats:
bmp, pbm, pgm, png, ppm, xbm, xpm

Unable to convert from eps to bmp
Unable to convert from eps to pbm
Unable to convert from eps to pgm
Converting it to png format.
Error returned from iconv
EILSEQ An invalid multibyte sequence has been encountered in the input.
When converting from UTF-8 to UCS-4LE.
Input: 0x43 0x3a 0x2f 0x44 0x6f 0x63 0x75 0x6d 0x65 0x6e 0x74 0x73  
0x20 0x61 0x6e 0x64 0x20 0x53 0x65 0x74 0x74 0x69 0x6e 0x67 0x73 0x2f  
0x66 0x72 0x6f 0x69 0x67 0x2f 0x43 0x6f 0x6e 0x66 0x69 0x67 0x75 0x72  
0x61 0xe7 0xf5 0x65 0x73 0x20 0x6c 0x6f 0x63 0x61 0x69 0x73 0x2f 0x54  
0x65 0x6d 0x70 0x2f 0x6c 0x79 0x78 0x5f 0x74 0x6d 0x70 0x64 0x69 0x72  
0x33 0x30 0x36 0x30 0x61 0x30 0x33 0x30 0x36 0x34

Converter c-tor:
from_file:  C:/TEST/figure1.ps
to_file_base: C:/Documents and Settings/froig/Configuracoes  
locais/Temp/lyx_tmpdir3060a03064/CacheItem3060a03064

from_format:  eps
to_format:png
build_script ... Error returned from iconv
EILSEQ An invalid multibyte sequence has been encountered in the input.
When converting from UTF-8 to UCS-4LE.
Input: 0x43 0x3a 0x2f 0x44 0x6f 0x63 0x75 0x6d 0x65 0x6e 0x74 0x73  
0x20 0x61 0x6e 0x64 0x20 0x53 0x65 0x74 0x74 0x69 0x6e 0x67 0x73 0x2f  
0x66 0x72 0x6f 0x69 0x67 0x2f 0x43 0x6f 0x6e 0x66 0x69 0x67 0x75 0x72  
0x61 0xe7 0xf5 0x65 0x73 0x20 0x6c 0x6f 0x63 0x61 0x69 0x73 0x2f 0x54  
0x65 0x6d 0x70 0x2f 0x6c 0x79 0x78 0x5f 0x74 0x6d 0x70 0x64 0x69 0x72  
0x33 0x30 0x36 0x30 0x61 0x30 0x33 0x30 0x36 0x34

ready!
Conversion script:
--
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os, shutil, sys, locale

def unlinkNoThrow(file):
  ''' remove a file, do not throw if an error occurs '''
  try:
os.unlink(file)
  except:
pass

def utf8ToDefaultEncoding(file):
  ''' if possible, convert to the default encoding '''
  try:
language, 

Re: Figure Latex Error plus input stack size

2007-06-18 Thread Jürgen Spitzmüller
[EMAIL PROTECTED] wrote:
 Thanks a lot Juergen, now the figures work fine, but I have 2 new problems:
 1-it cannot read the superscript fonts (for example 10 to the -10 as
 superscript)it says:

We need another test file then.

Jürgen


Re: Problem with PDF output with different pdf reader.

2007-06-18 Thread Christian Liesen
For users of Mac OS X 10.4.x, PDFview is a great application for this 
purpose.


It integrates nicely with LaTeX and LyX, and you can easily configure it 
to automatically update the PDF output.


With LyX, this means that
-- you set PDFview with open -a pdfview as your viewer in LyX's 
preferences
-- you click the checkbox in PDFview's preferences to automatically 
reload files that are updated on your harddisk

-- and anytime now you choose View -- Update from your LyX document,
-- you simply switch to PDFview, and the changes are right there. No 
reloading, no closing and opening, no pressing keys.


PDFview is available from SourceForge at 
http://pdfview.sourceforge.net/index.html.


-- Christian



Helge Hafting wrote:

On Fri, Jun 15, 2007 at 06:39:55AM -0500, Les Denham wrote:
  

On Friday 15 June 2007 08:36, Helge Hafting wrote:


Acrobat certainly isn't useless, but have some problems:
  
Precisely why I use Acrobat Reader: I don't want to create a PDF which does 
not work properly with the reader most people use.  I performed the necessary 
convolutions to get it to work on my x86_64 Linux machine, and when using it 
to view Lyx output I just close it each time.




Of course one checks a PDF for general consumption with acrobat,
no argument there!

This is not an argument for using acrobat as the main pdf viewer though.
Acrobat is something I use perhaps once before publication, to check that 
the document views ok. (It usually does, it is a long time since

I figured out what fonts to use and what not to use.)

But for everyday use, I use xpdf.  I can then tweak layout
efficiently. (Typically float placement - one of the few things 
latex don't do perfectly all the time. And the breaking of URL's
and code listings.) 


xpdf lets me do view-pdf, look up the float on page 37,
make small tweak, update-pdf, switch to xpdf and hit 'r'
and have the new pdf reloaded, still displaying page 37
so I don't have to _find_ it again.
I then repeat this process until that float is ok,
then I move on to the next trouble float and so on.

The tought of doing this work with 
perform tweak - close acrobat - view-pdf (wait for 
acrobat to start) - move to page 37 - perform tweak - ...

is depressing. Especially with the delays involved when
starting a 32-bit acrobat on a 64-bit machine.

Of course, not all documents contains lots of large floats,
acrobat might not be so awful then . . .

Helge Hafting

  


--


Christian Liesen

Universität Zürich
Institut für Sonderpädagogik
Sonderforschungsbereich
Hirschengraben 48
8001 Zürich

University of Zurich
Institute for Special Education
Research Unit
Hirschengraben 48
CH-8001 Zurich

Tel +41 44 634 3130
Fax +41 44 634 4941
E-mail [EMAIL PROTECTED]




No Text Class Found?

2007-06-18 Thread Paniez Paykari

Dear Sir/Madam,

I have tried to download lyx on my windows. After going through all the 
steps, it does not open lyx and the error message is  'No TextClass 
Found'. How can I fix this?


Thank you
Paniez Paykari


Re: which LyX version on which Mac OSX version?

2007-06-18 Thread Abdelrazak Younes

Bennett Helm wrote:

On Jun 17, 2007, at 1:19 PM, Patrick De Visschere wrote:


Hi,

Since I temporarely have to switch to and older Mac (with OSX 10.2.8) 
I wanted to find out what version of lyx runs on which OS X version 
and the information on the wiki pages seems ambiguous.


According to the /Mac pages lyx13x requires 10.2 and lyx14 requires 
10.3.9 (I guess this is right)


The /Lyx/Download page however mentions also 10.2 for lyx14x (this is 
probably wrong)


I can only run lyx136 and even not lyx137 or lyx14x; in the latter 
case there is a message that /usr/lib/libiconv.2.dylib is missing. 
This library is installed by fink under /sw/lib but even after copying 
this library to /usr/lib lyx refuses to run.


It would be nice if someone could explain what should run on OSX 10.2.9


I'm frankly not sure, since I haven't had 10.2 around to test on. But I 
believe the binaries for LyX-1.4 (and the forthcoming -1.5) will not 
work on 10.2. So I believe you'll have to use LyX-1.3. (I don't remember 
any reason why 1.3.7 wouldn't work on 10.2.) Your experience with 
LyX-1.4.x is what I'd expect: you need the precise version of the 
libiconv.2.dylib LyX was compiled with for it to work -- and that's the 
version that comes with 10.3.


If you want to compile your own version, I believe LyX-1.4 will work on 
10.2.


FYI, I've read Qt4.3 will not support OSX 10.2 so 1.5 will for sure not 
be usable there.


Abdel.



Re: No Text Class Found?

2007-06-18 Thread Uwe Stöhr

Paniez Paykari schrieb:

I have tried to download lyx on my windows. After going through all the 
steps, it does not open lyx and the error message is  'No TextClass 
Found'. How can I fix this?


The easiest method it to try reinstalling LyX using this installer:
http://wiki.lyx.org/Windows/LyXWinInstaller

Uninstall the existing LyX 1.4 before doing this.

regards Uwe


Re: RC1 Dumb Question

2007-06-18 Thread Andreas K .
Mark Kortink [EMAIL PROTECTED] writes:

 
 Hi
 
 I am writing a book in LyX and come from the Windows world. I want to 
download 
 and install RC1 with no hassels. This means download a file, double-click it 
 and respond to the prompts, and at the end everything is done. When I go to 
the 
 download area I find:
 
[snip] 

 Which one should I download?
 
 Regards
 Mark


Hi,

You should download the following:

06/01/2007 12:53PM 78,884,411 LyX-1.5.0rc1-Installer-bundle.exe
 
Best regards,
Andreas






Re: Can't enter extra whitespace when editing.

2007-06-18 Thread Hellmut Weber
Hi Darren, don't you think that calling a lyx behaviour 'gestapo 
behaviour' is inappropriate?


I'll send my mail certainly open to the list, I was just to quick and 
didn't change the address for my replay.


So I send this mail to the list as cc

Regards

Hellmut

Darren Freeman schrieb:

Hellmut,

I was very surprised by your email. I was discussing a technical change
in LyX from past behaviour, as well as an ongoing issue that I am trying
to get changed, and at no point was I insulting anyone.

I think you will find that you were the only one who had this
interpretation. If you would like to send your message openly to the
entire list, you will get a similar reaction.

Please spend some more time getting used to the emails on this list
before you jump on someone.

Have fun,
Darren

On Mon, 2007-06-18 at 10:33 +0200, Hellmut Weber wrote:

Hi Darren,

having been obliged to work quite a lot with word I'm very happy that 
LyX just prevents to enter more than one space between two words. And 
the additionel space you can introduce before an existing one disappears 
when go jump to some where else.



Also I point out that LyX still allows a permanent dangling space at the
end of a paragraph which is even less consistent with the current
gestapo behaviour.

And PLEASE abstain from flames of this kind !!!
I consider this as utmost inappropriate !!!

Regards

Hellmut






--
Dr. Hellmut Weber [EMAIL PROTECTED]
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq



Re: latex listings - line breaking problem

2007-06-18 Thread Helge Hafting

Jakub Suder wrote:

Hi,

I'm writing my MSc thesis in Lyx, and today I installed 1.5.0rc1 and
tried to use code listings (I have lots of Java examples in my
thesis), but I've encountered a problem. I'm using a custom class from
my university - mgragh (I don't know if the list accepts attachments,
so I've put it here:
http://cassiopea.net.autocom.pl/public/mgragh.zip) and I've noticed
that this class prevents long lines from being broken inside a listing
block.

I have code like this (Lyx view source box):

\begingroup
\inputencoding{latin1}
\begin{lstlisting}[breaklines=true,showstringspaces=false]
(code fragment with long lines)
\end{lstlisting}
\endgroup

And the lines aren't broken, they just extend over the margin and are
cut eventually. When I paste the code into a new empty document using
article class, everything is ok, the lines are broken into parts.
Then if I change the document class to mgragh - it stops working.

Do you know what may be wrong? What should I change in the class to
make it compatible with listings?

Automatically breaking program listings is a very tricky business.
Usually, the automatic breaking isn't good, and can sometimes
even introduce syntax errors. (depending on the language in use.)

When I wrote a programming book, I wrote all the sample code
so that it wasn't too wide.  Keep statements short, use
few levels of indentation, and break lines manually when this
isn't enough. Using short identifier names (one letter is often
enough, and avoid the wider uppercase ones.)
Setting code samples with a small narrow font helps too, if
all else fails.

Keeping the statements short and so on
is often an advantage anyway - the code gets easier to read.




German grafik dialog window

2007-06-18 Thread Hellmut Weber

Hi
this is a remark of a 'perfectionist' ;-)

When I'm working with lyx-svn (as of yesterday noon) with my german 
settings the graphic dialog, tab 'Grafik' shows two places where the 
letter o (Oh) is underlined, indicating that it could be activated with 
the key combination alt+o:

* Tab 'LaTeX- und LyX-Optionen'
* Button 'OK'
The letter 't' seems to be available in this context to activate the tab 
'LaTeX- und LyX-Optionen'.

I would like to have alt+o consistently for 'OK' as in other apps.

Greetings

Hellmut

--
Dr. Hellmut Weber [EMAIL PROTECTED]
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq



Boxed graphic

2007-06-18 Thread Hellmut Weber

Hi,
does the graphic include dialog offer a possibility to get the graphic 
boxed (as if it were in a fbox) or do I have to do that myself with ERT?


TIA

Hellmut

--
Dr. Hellmut Weber [EMAIL PROTECTED]
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq



Re: Can't enter extra whitespace when editing.

2007-06-18 Thread Darren Freeman
On Mon, 2007-06-18 at 12:40 +0200, Hellmut Weber wrote:
 Hi Darren, don't you think that calling a lyx behaviour 'gestapo 
 behaviour' is inappropriate?

I don't think I spent any more than three seconds on it and hadn't
considered it to be anything other than a little colourful. I was
referring to the heavy-handed policing which LyX is now applying to
extra white-space and I think I made my point.

Yes, if somebody reading that had suffered at the hands of the gestapo,
then I can see that they might be upset... so I am sorry and will be
more careful. I live in a place and time where the concept exists only
in books and on TV and it just didn't seem important. If you or any of
the recipients are or know Jews who suffered during WWII then I am
especially sorry.

 I'll send my mail certainly open to the list, I was just to quick and 
 didn't change the address for my replay.
 
 So I send this mail to the list as cc

You sent it to the wrong list by the way. Now a second, much larger
group of people is potentially offended.

Also I didn't invite you to send my private reply to you to any list,
that is just bad manners. Please don't do that again! To me this is the
bigger offence, and it gives me the impression that it is you who wanted
a flame-war.

Have fun,
Darren



Re: Boxed graphic

2007-06-18 Thread Rudi Gaelzer
On Monday 18 June 2007 08:43:44 Hellmut Weber wrote:
 Hi,
 does the graphic include dialog offer a possibility to get the graphic
 boxed (as if it were in a fbox) or do I have to do that myself with ERT?

 TIA

 Hellmut

Inside any mathematical environment, just type \boxed followed by space that a 
box appears.  You can even box multi-line equations by inserting in the box 
any *ed math environment, like the Aligned, AlignedAt or Gathered 
environments.


-- 
Rudi Gaelzer
Department of Physics
Institute of Physics and Mathematics
Federal University of Pelotas
BRAZIL
Registered linux user # 153741


Re: Boxed graphic

2007-06-18 Thread Robert Orr

--- Rudi Gaelzer [EMAIL PROTECTED] wrote:

 On Monday 18 June 2007 08:43:44 Hellmut Weber wrote:
  Hi,
  does the graphic include dialog offer a
 possibility to get the graphic
  boxed (as if it were in a fbox) or do I have to do
 that myself with ERT?
 
  TIA
 
  Hellmut
 
 Inside any mathematical environment, just type
 \boxed followed by space that a 
 box appears.  You can even box multi-line equations
 by inserting in the box 
 any *ed math environment, like the Aligned,
 AlignedAt or Gathered 
 environments.
 
 
 -- 
 Rudi Gaelzer
 Department of Physics
 Institute of Physics and Mathematics
 Federal University of Pelotas
 BRAZIL
 Registered linux user # 153741
 

If I understand your question, the answer might be to
just put the graphic inside of a table cell.





   

Be a better Heartthrob. Get better relationship answers from someone who knows. 
Yahoo! Answers - Check it out. 
http://answers.yahoo.com/dir/?link=listsid=396545433


Re: Can't enter extra whitespace when editing.

2007-06-18 Thread Steve Litt
On Monday 18 June 2007 08:28, Darren Freeman wrote:
 On Mon, 2007-06-18 at 12:40 +0200, Hellmut Weber wrote:
  Hi Darren, don't you think that calling a lyx behaviour 'gestapo
  behaviour' is inappropriate?

 I don't think I spent any more than three seconds on it and hadn't
 considered it to be anything other than a little colourful. I was
 referring to the heavy-handed policing which LyX is now applying to
 extra white-space and I think I made my point.

Has a recent LyX version eliminated the author's ability to use Ctrl+Spacebar 
to insert multiple nonbreaking spaces? My 1.4.2 allows it.

SteveT


Re: moving to linux...part3: preferred bibtex editor

2007-06-18 Thread Rudi Gaelzer
On Thursday 14 June 2007 12:50:08 Ares wrote:
 Here I am back with a new, silly question: what is the most favourite
 bibtex editor under GNU/linux? I have been using JabRef under Windows,
 but I realised that it runs under the Java Runtime Environment, and I
 do not want to install new components if I do not really need them...

 So, let's go with the poll!

I use either kbibtex or pybliographic.  The first is pretier and better 
organized, but pybliographic has an interesting import function.

-- 
Rudi Gaelzer
Department of Physics
Institute of Physics and Mathematics
Federal University of Pelotas
BRAZIL
Registered linux user # 153741


Re: Glossary

2007-06-18 Thread Wolfgang Engelmann


--  Weitergeleitete Nachricht  --

Subject: Re: Glossary
Date: Mittwoch, 13. Juni 2007 13:46
From: Wolfgang Engelmann [EMAIL PROTECTED]
To: [EMAIL PROTECTED]

Am Mittwoch, 13. Juni 2007 10:44 schrieb Valter Filipe Silva:
 Hello,


 Could you give me more details about using indexing for implement the
 glossary?
 Thanks

 Valter

Valter,
 I used the indexing just as an easy way to pick out the words in my document
which I want to put in the glossary.

There might be better ways, and certainly better informed people around!

This is the procedure:
1-Go through the document and put the cursor immediately behind the word you
want to use in the glossary. Press first alt_i, than d (a shortcut for
InsertIndex-Entry): This produces a grey box idx behind the selected item.
Clicking on it shows the content (note that you have to add by hand if the
item consists of e.g. two words -or you remove the space between the two
words before indexing and put it in again afterward (same in the idx-box).

2-Go to the place where your index (and later the glossary) should occur,
 e.g. before the bibliography.
insertlist/TOCindex list
you won´t see anything in the index list yet.

3-export your file
fileexportlatex(plain)
run three times
latex yourDocument.tex

the output contains:
No file yourDocument .ind.
No file  yourDocument.bbl.

but a file  yourDocument.idx is produced

4-run
makeindex
produces
 yourDocument.ind

Have a look with a normal editor
It shows e.g.


\begin{theindex}

  \item BibTeX, 1

  \indexspace

  \item inset, 1

\end{theindex}
 yourDocument.ind (END)

5- use this as the basis for your glossary.

For the glossary see:
http://www.ctan.org/tex-archive/macros/latex/contrib/glossary/?filename=macro
s/latex/contrib/glossary/action=/tools/cataloguesearchcatstring=glossary

---


Re: Boxed graphic

2007-06-18 Thread Uwe Stöhr

Hellmut Weber schrieb:

does the graphic include dialog offer a possibility to get the graphic 
boxed (as if it were in a fbox) or do I have to do that myself with ERT?


You have to do this by yourself. You can either set it into a single table cell or put it into a 
framed box, see the attached example.
With the box method you can easily adjust the space between the image and the frame and also the 
frame thickness and color, see the EmbeddedObjects manual how this is done.


regards Uwe


newfile1.lyx
Description: application/lyx


Re: Can't enter extra whitespace when editing.

2007-06-18 Thread Hellmut Weber

Hi Darren,
thanks for your message ;-)

I realised only now that your are living very far from Europe.
OTOH as you can see from my signature I'm german, born 1943 and my 
parents have lived through all of the war (actually two of these, teh 
first one as little children).


In many European countries being compared with the gestapo would be 
considered very offensive, even for people much younger than me.


So thanks for your last reply.

Cheers

Hellmut

Darren Freeman schrieb:

On Mon, 2007-06-18 at 12:40 +0200, Hellmut Weber wrote:
Hi Darren, don't you think that calling a lyx behaviour 'gestapo 
behaviour' is inappropriate?


I don't think I spent any more than three seconds on it and hadn't
considered it to be anything other than a little colourful. I was
referring to the heavy-handed policing which LyX is now applying to
extra white-space and I think I made my point.

Yes, if somebody reading that had suffered at the hands of the gestapo,
then I can see that they might be upset... so I am sorry and will be
more careful. I live in a place and time where the concept exists only
in books and on TV and it just didn't seem important. If you or any of
the recipients are or know Jews who suffered during WWII then I am
especially sorry.

I'll send my mail certainly open to the list, I was just to quick and 
didn't change the address for my replay.


So I send this mail to the list as cc


You sent it to the wrong list by the way. Now a second, much larger
group of people is potentially offended.

Also I didn't invite you to send my private reply to you to any list,
that is just bad manners. Please don't do that again! To me this is the
bigger offence, and it gives me the impression that it is you who wanted
a flame-war.

Have fun,
Darren




--
Dr. Hellmut Weber [EMAIL PROTECTED]
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq



Re: Can't enter extra whitespace when editing.

2007-06-18 Thread Hellmut Weber

Hi,
LyX-svn as of 2007-06-17 still permits it.

Greetings

Hellmut

Has a recent LyX version eliminated the author's ability to use Ctrl+Spacebar 
to insert multiple nonbreaking spaces? My 1.4.2 allows it.


--
Dr. Hellmut Weber [EMAIL PROTECTED]
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq



Re: problems to show figures in LyX

2007-06-18 Thread Paul A. Rubin

Fernando Roig wrote:

Hello:

I am running LyX 1.5.0rc1 on MS Windows and I am not able to view the 
figures in LyX. I tried several file formats like ps, eps, jpg, gif, 
pdf, and always get the message Error converting to loadable format.


I understand that there is some problem with the definition of 
converters but I don't know how to solve it. ImageMagick is installed in 
the system.


Does anybody can help?

Thanks,
Fernando




First two things to check:

1.  Is ImageMagick (correctly) on LyX's path prefix (Tools - 
Preferences... - Paths - PATH prefix)?


2.  If so, does IM work correctly?  Can you convert an image file to PPM 
format from a command prompt?


If this doesn't help, we'll have to poke around with the conversion 
script and see if we can get any informative messages.


/Paul




1.5.0 Linux install help

2007-06-18 Thread killermike
Hiya

I have been having some problems installing 1.5.0beta3 on my Kubuntu 7.04 
machine. I had used all of the betas on my Kubuntu 6.06lts without any 
problems. The problems seem to related font installation in some way. In my 
attempts to get things working, I have mostly been working with files and 
documents that worked fine on my old 6.06lts setup.

Basically, fonts in svg figures (preview or PDF output) disappear or fail in 
some other way. After three days of fighting with the system, I have managed 
to get previews 1.4.x however, I'd like to get 1.5.0 working again.

Here is a screenshot of the output and preview from Lyx
http://www.unmusic.co.uk/lyx_fontproblem.png

Regardless of what I do, fonts in the preview images do not seem to have any 
carriage returns. The fonts in PDF output are omitted. I have managed to get 
fonts in the PDF figures be included with the following converter string:

inkscape $$i -T --export-eps $$o

The -T switch causes the fonts to be converted into a path, which looks awful 
on screen, but at least it works. Without -T, the fonts or even the entire 
figures are missing.

Infuriatingly, in 1.5.0, using convert or inkscape (command line) both cause 
this problem with previews. And yet, using the commandline:

inkscape drawing.svg --export-png drawing.png

/does/ work as expected!

From the command line:

inkscape drawing.svg  --export-eps drawing.eps

omits the fonts.

here is the output from pdf preview in 1.5.0

Error: /invalidfont in /findfont
Operand stack:
   FreeSansBold-ISOLatin1   FreeSansBold
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   
--nostringval--   
2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   
false   1   %stopped_push   1813   1   3   %oparray_pop   1812   1   
3   %oparray_pop   --nostringval--   1808   1   3   %oparray_pop   1691   1   
3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   
--nostringval--   --nostringval--   --nostringval--   
2   %stopped_push   --nostringval--   --nostringval--   1783   2   
3   %oparray_pop
Dictionary stack:
   --dict:1084/1123(ro)(G)--   --dict:0/20(G)--   --dict:74/200(L)--
Current allocation mode is local
Last OS error: 2
GPL Ghostscript 8.57: Unrecoverable error, exit code 1

Bear in mind, I have been hammering this system for three solid days, so make 
no assumptions about its sanity, in terms of setup. In course of my attempts 
I have installed texlive and tetex, upgraded Ghostscript to the latest 
version and installed various font packages.

Any advice or even a hint of what to try next would be greatly appreciated. 
Life just isn't the same without LyX!

-- 
http://www.unmusic.co.uk - about me, music, geek sitcom etc.
http://www.unmusic.co.uk/amhs/ - alt.music.home-studio 



Inverted commas

2007-06-18 Thread Frederick Noronha [फ्रेडरिक नोरोन्या]

Dear all, Could you please tell me how to get a decent, shapely set
of inverted commas instead of the rough-looking ones I get from Lyx?
Thanks for all for your useful help, specially to Steve. FN
--
FN: Frederick Noronha
Phone 0091-832-2409490
http://wikiwikiweb.de/MyContacts


Re: Inverted commas

2007-06-18 Thread Mark T.B. Carroll
Frederick Noronha [फ्रेडरिक नोरोन्या] [EMAIL PROTECTED] writes:

 Dear all, Could you please tell me how to get a decent, shapely set
 of inverted commas instead of the rough-looking ones I get from Lyx?

Does the Document Settings - Language - Quote Style thing help at all?

-- Mark



Re: Inverted commas

2007-06-18 Thread Frederick Noronha [फ्रेडरिक नोरोन्या]

Hi Mark, That doesn't offer too many options

Language: English
Use language's default encoding (not selected)
Encoding: Latex default
Quote style: text

[Quote style also available in ``text, ,,text``, ,,text, text,
and text]

What I'm looking for is something that would create the elegant,
textbook-like 66quotes99 (using 66 and 99 to explain their shape...).

Regards, FN

On 18/06/07, Mark T.B. Carroll [EMAIL PROTECTED] wrote:

Frederick Noronha [फ्रेडरिक नोरोन्या] [EMAIL PROTECTED] writes:

 Dear all, Could you please tell me how to get a decent, shapely set
 of inverted commas instead of the rough-looking ones I get from Lyx?

Does the Document Settings - Language - Quote Style thing help at all?

-- Mark

--
FN: Frederick Noronha
Phone 0091-832-2409490
http://wikiwikiweb.de/MyContacts


Re: No Text Class Found?

2007-06-18 Thread Joost Verburg

Paniez Paykari wrote:
I have tried to download lyx on my windows. After going through all the 
steps, it does not open lyx and the error message is  'No TextClass 
Found'. How can I fix this?


The LyX configuration probably failed. Remove

C:\Documents and Settings\Your username\Application Data\lyx1.4.x

and run LyX again.

Joost



Text... versus the introduction

2007-06-18 Thread Frederick Noronha [फ्रेडरिक नोरोन्या]

Hi all, I'm just typesetting a book. The chapters are coming out fine.
My problem is with the introduction. The problem is two-fold...

(1) It's not hyphenating adequately...
(2) The pages seem to be splitting only after paragraphs (which means,
a lot of white space between paras!)

Am I doing something wrong?

I've inserted the introduction after a Table of Contents, using
standard text. Thanks again for all your help. I quite like Lyx! --FN
--
FN: Frederick Noronha
Phone 0091-832-2409490
http://wikiwikiweb.de/MyContacts


Re: Inverted commas

2007-06-18 Thread Mark T.B. Carroll
Frederick Noronha [फ्रेडरिक नोरोन्या] [EMAIL PROTECTED] writes:
(snip)
 [Quote style also available in ``text, ,,text``, ,,text, text,
 and text]

 What I'm looking for is something that would create the elegant,
 textbook-like 66quotes99 (using 66 and 99 to explain their shape...).
(snip)

Huh. I'd have thought that ``text combined with the right font would do
that. Just a minute ...

... yes, works for me, I get the 66quotes99 in the resulting PDF, with
my settings largely set to default. Maybe try that option and play with
different fonts?

-- Mark



Re: Inverted commas

2007-06-18 Thread Paul A. Rubin

Unknown wrote:

Dear all, Could you please tell me how to get a decent, shapely set
of inverted commas instead of the rough-looking ones I get from Lyx?
Thanks for all for your useful help, specially to Steve. FN


By rough looking do you mean the ones you see in the GUI, or the ones 
that show up in the final DVI/PS/PDF output file?  The former are 
determined by the screen font (which you can set in the LyX options); 
the latter are determined by the document font (and out of LyX's control).


/Paul



Re: Inverted commas

2007-06-18 Thread David L. Johnson

Frederick Noronha [फ्रेडरिक नोरोन्या] wrote:

Hi Mark, That doesn't offer too many options

Language: English
Use language's default encoding (not selected)
Encoding: Latex default
Quote style: text

[Quote style also available in ``text, ,,text``, ,,text, text,
and text]

What I'm looking for is something that would create the elegant,
textbook-like 66quotes99 (using 66 and 99 to explain their shape...).


I am guessing that what you are really talking about is the appearance 
of the quotes within LyX, not in the printout.  Certainly in the 
printout the quotes are done correctly (in any style) with the 
inversions you want, at least it is correct for me.  They don't appear 
as nicely on the LyX screen, but as long as the printout is good that 
should be allright.


--

David L. Johnson

It is probable that television drama of high caliber and produced by
first-rate artists will materially raise the level of dramatic taste
in the nation.
-- David Sarnoff, 1939


Re: Inverted commas

2007-06-18 Thread Frederick Noronha [फ्रेडरिक नोरोन्या]

Thanks, David and Mark. No, actually I'm referring to the appearance
*both* on the monitor and on the printout.

My earlier attempt, done hurriedly for the first book I edited, didn't work.

But thanks to you guys, I think I've got it this time. What needs to
be done is to use the ``quotes .. and it works fine. The  quotes
(close quotes) might need to be replaced, because plain-text doesn't
render it exactly as would the key to the very far right on the middle
row does in Lyx.

Thanks again! FN

On 19/06/07, David L. Johnson [EMAIL PROTECTED] wrote:

Frederick Noronha [फ्रेडरिक नोरोन्या] wrote:
 Hi Mark, That doesn't offer too many options

 Language: English
 Use language's default encoding (not selected)
 Encoding: Latex default
 Quote style: text

 [Quote style also available in ``text, ,,text``, ,,text, text,
 and text]

 What I'm looking for is something that would create the elegant,
 textbook-like 66quotes99 (using 66 and 99 to explain their shape...).

I am guessing that what you are really talking about is the appearance
of the quotes within LyX, not in the printout.  Certainly in the
printout the quotes are done correctly (in any style) with the
inversions you want, at least it is correct for me.  They don't appear
as nicely on the LyX screen, but as long as the printout is good that
should be allright.

--

David L. Johnson

It is probable that television drama of high caliber and produced by
first-rate artists will materially raise the level of dramatic taste
in the nation.
-- David Sarnoff, 1939




--
FN: Frederick Noronha
Phone 0091-832-2409490
http://wikiwikiweb.de/MyContacts


Re: problems to show figures in LyX

2007-06-18 Thread Fernando Roig

First two things to check:

1.  Is ImageMagick (correctly) on LyX's path prefix (Tools -
Preferences... - Paths - PATH prefix)?

2.  If so, does IM work correctly?  Can you convert an image file to
PPM format from a command prompt?

If this doesn't help, we'll have to poke around with the conversion
script and see if we can get any informative messages.

/Paul



Hi Paul:

Thanks for the message.

1. Apparently, ImageMagick is correctly configured on LyX path prefix.  
The entry is:


C:\Arquivos de programas\ImageMagick-6.3.3-Q16;

which is the directory where convert.exe is found.

2. From the command prompt, I make

convert figure1.ps figure1.png

This conversion works ok, and I am able to include the resulting .png  
image as a graphic in LyX, and it is properly shown.


However, if I make

convert figure1.ps figure1.ppm

the conversion does not work properly. It generates a bad .ppm file,  
that I cannot open with the GIMP (although I am able to include it as  
a graphic and to see it in LyX).


Fernando




Re: Inverted commas

2007-06-18 Thread David L. Johnson

Frederick Noronha [फ्रेडरिक नोरोन्या] wrote:

Thanks, David and Mark. No, actually I'm referring to the appearance
*both* on the monitor and on the printout.

My earlier attempt, done hurriedly for the first book I edited, didn't 
work.


But thanks to you guys, I think I've got it this time. What needs to
be done is to use the ``quotes .. and it works fine. The  quotes
(close quotes) might need to be replaced, because plain-text doesn't
render it exactly as would the key to the very far right on the middle
row does in Lyx.


I'm still confused.  In order to get plain quotes in LyX you would use 
 Ctrl-, which would be used, say, in ERT to get accented characters, 
such as \{a}  for an a with an umlaut.  Maybe your keyboard has another 
key with those quotes defined that way, or maybe, if you converted a 
file from another format, the quotes got converted that way.


Here is a file with examples of quotes.  For the correctly typeset ones, 
I just type .  Lyx converts the strings as you see, by converting the  
to `` or '' depending upon position, which then TeX understands.


--

David L. Johnson

As far as the laws of mathematics refer to reality, they are not
certain, and as far as they are certain, they do not refer to reality.
-- Albert Einstein


quotes.lyx
Description: application/lyx


Re: Inverted commas

2007-06-18 Thread Frederick Noronha [फ्रेडरिक नोरोन्या]

I see. Thanks a lot. Very interesting. I'm not too technical (a
journalist-editor-writer). So I'll need to ask my techie friend.
Anyway it works for me now, the way I'm doing it. I imported the file
that was set in Jstar (a clone of WordStar, and from the Joe family).
It's ancient, but I love using it's command-line only interface. --FN

On 19/06/07, David L. Johnson [EMAIL PROTECTED] wrote:

Frederick Noronha [फ्रेडरिक नोरोन्या] wrote:
 Thanks, David and Mark. No, actually I'm referring to the appearance
 *both* on the monitor and on the printout.

 My earlier attempt, done hurriedly for the first book I edited, didn't
 work.

 But thanks to you guys, I think I've got it this time. What needs to
 be done is to use the ``quotes .. and it works fine. The  quotes
 (close quotes) might need to be replaced, because plain-text doesn't
 render it exactly as would the key to the very far right on the middle
 row does in Lyx.

I'm still confused.  In order to get plain quotes in LyX you would use
  Ctrl-, which would be used, say, in ERT to get accented characters,
such as \{a}  for an a with an umlaut.  Maybe your keyboard has another
key with those quotes defined that way, or maybe, if you converted a
file from another format, the quotes got converted that way.

Here is a file with examples of quotes.  For the correctly typeset ones,
I just type .  Lyx converts the strings as you see, by converting the 
to `` or '' depending upon position, which then TeX understands.

--

David L. Johnson

As far as the laws of mathematics refer to reality, they are not
certain, and as far as they are certain, they do not refer to reality.
-- Albert Einstein





--
FN: Frederick Noronha
Phone 0091-832-2409490
http://wikiwikiweb.de/MyContacts


Re: problems to show figures in LyX

2007-06-18 Thread Paul A. Rubin

Fernando,

Fernando Roig wrote:

Hi Paul:

Thanks for the message.

1. Apparently, ImageMagick is correctly configured on LyX path prefix. 
The entry is:


C:\Arquivos de programas\ImageMagick-6.3.3-Q16;

which is the directory where convert.exe is found.


Ok.


2. From the command prompt, I make

convert figure1.ps figure1.png

This conversion works ok, and I am able to include the resulting .png 
image as a graphic in LyX, and it is properly shown.


However, if I make

convert figure1.ps figure1.ppm

the conversion does not work properly. It generates a bad .ppm file, 
that I cannot open with the GIMP (although I am able to include it as a 
graphic and to see it in LyX).


I don't understand this.  You're saying that LyX will display the PPM 
file properly (if you include it directly in the document) but GIMP 
thinks the file is bad?


Do you have problems converting non-Adobe formats (e.g., figure1.jpg) to 
PPM?  The reason I ask is that ImageMagick relies on Ghostscript when 
converting Postscript and Encapsulated Postscript to other formats.  So 
if the problem is only with PS/EPS and not with JPG/PNG/..., then the 
place to look is your Ghostscript installation.


Meanwhile, I'm not sure any of this explains your problem entirely, 
particularly since you indicated conversion to PPM (the format LyX uses 
for internal display) failed for all sorts of image types.  You might 
try the following.  Open a DOS window and cd to the LyX bin directory. 
Run 'lyxc -dbg graphics' there.  (Note that it's lyxc, not lyx.)  Start 
a new document.  The DOS window will have all sorts of progress messages 
from LyX that we don't care about; make a note where they end.  Now 
insert an image with the option to display in LyX turned on.  More 
messages will spew into the DOS window.  Copy the ones that came after 
you inserted the image and mail them to the list; maybe they'll tell us 
where the script is failing.


/Paul



Re: problems to show figures in LyX

2007-06-18 Thread Fernando Roig

Paul:


I don't understand this.  You're saying that LyX will display the PPM
file properly (if you include it directly in the document) but GIMP
thinks the file is bad?


LyX displays the ppm file but not properly. I mean, it appears an  
image on the screen, but this image has less to do with the original  
ps figure. Therefore, ImageMagick is converting the ps file into a ppm  
file containing some strange information that LyX is able to display  
but GIMP is not able to open (plugin cannot open image)



Do you have problems converting non-Adobe formats (e.g., figure1.jpg)
to PPM?  The reason I ask is that ImageMagick relies on Ghostscript
when converting Postscript and Encapsulated Postscript to other
formats.  So if the problem is only with PS/EPS and not with
JPG/PNG/..., then the place to look is your Ghostscript installation.


If I run

convert figure1.ps figure1.jpg

and then

convert figure1.jpg figure1.ppm

then both jpg and ppm files are correctly converted (I am able to open  
them in GIMP) and LyX displays the ppm file without problems. However,  
if I try to load the jpg file in LyX then I get the Error converting  
to loadable format. So I believe that the problem is not with  
Ghostscript.



Meanwhile, I'm not sure any of this explains your problem entirely,
particularly since you indicated conversion to PPM (the format LyX uses
for internal display) failed for all sorts of image types.  You might
try the following.  Open a DOS window and cd to the LyX bin directory.
Run 'lyxc -dbg graphics' there.  (Note that it's lyxc, not lyx.)  Start
a new document.  The DOS window will have all sorts of progress
messages from LyX that we don't care about; make a note where they end.
 Now insert an image with the option to display in LyX turned on.  More
messages will spew into the DOS window.  Copy the ones that came after
you inserted the image and mail them to the list; maybe they'll tell us
where the script is failing.


Here is the debug log (it is quite a lot of stuff):

Token: '\end_inset'
[readBB_from_PSFile] no(e)ps-format
[controller().bb_Changed set to true]
[controller().bb_Changed set to true]
[controller().bb_Changed set to true]
[controller().bb_Changed set to true]
[readBB_from_PSFile] no(e)ps-format
Token: 'filename'
Token: '\end_inset'
LoaderQueue: waking up
Recognised Fileformat: eps
Recognised Fileformat: eps
[readBB_from_PSFile] 39 24 480 523
[controller().bb_Changed set to true]
[controller().bb_Changed set to true]
[controller().bb_Changed set to true]
[controller().bb_Changed set to true]
Recognised Fileformat: eps
Recognised Fileformat: eps
[readBB_from_PSFile] 39 24 480 523
LoaderQueue: 1 items in the queue
Recognised Fileformat: eps
[graphics::CacheItem::Impl::convertToDisplayFormat]
Attempting to convert image file: C:/TEST/figure1.ps
with displayed filename: C:\TEST\figure1.ps
Recognised Fileformat: eps

The file contains eps format data.

The image loader can load the following directly:
bmp, pbm, pgm, png, ppm, xbm, xpm,
Of these, LyX recognises the following formats:
bmp, pbm, pgm, png, ppm, xbm, xpm

Unable to convert from eps to bmp
Unable to convert from eps to pbm
Unable to convert from eps to pgm
Converting it to png format.
Error returned from iconv
EILSEQ An invalid multibyte sequence has been encountered in the input.
When converting from UTF-8 to UCS-4LE.
Input: 0x43 0x3a 0x2f 0x44 0x6f 0x63 0x75 0x6d 0x65 0x6e 0x74 0x73  
0x20 0x61 0x6e 0x64 0x20 0x53 0x65 0x74 0x74 0x69 0x6e 0x67 0x73 0x2f  
0x66 0x72 0x6f 0x69 0x67 0x2f 0x43 0x6f 0x6e 0x66 0x69 0x67 0x75 0x72  
0x61 0xe7 0xf5 0x65 0x73 0x20 0x6c 0x6f 0x63 0x61 0x69 0x73 0x2f 0x54  
0x65 0x6d 0x70 0x2f 0x6c 0x79 0x78 0x5f 0x74 0x6d 0x70 0x64 0x69 0x72  
0x33 0x30 0x36 0x30 0x61 0x30 0x33 0x30 0x36 0x34

Converter c-tor:
from_file:  C:/TEST/figure1.ps
to_file_base: C:/Documents and Settings/froig/Configuracoes  
locais/Temp/lyx_tmpdir3060a03064/CacheItem3060a03064

from_format:  eps
to_format:png
build_script ... Error returned from iconv
EILSEQ An invalid multibyte sequence has been encountered in the input.
When converting from UTF-8 to UCS-4LE.
Input: 0x43 0x3a 0x2f 0x44 0x6f 0x63 0x75 0x6d 0x65 0x6e 0x74 0x73  
0x20 0x61 0x6e 0x64 0x20 0x53 0x65 0x74 0x74 0x69 0x6e 0x67 0x73 0x2f  
0x66 0x72 0x6f 0x69 0x67 0x2f 0x43 0x6f 0x6e 0x66 0x69 0x67 0x75 0x72  
0x61 0xe7 0xf5 0x65 0x73 0x20 0x6c 0x6f 0x63 0x61 0x69 0x73 0x2f 0x54  
0x65 0x6d 0x70 0x2f 0x6c 0x79 0x78 0x5f 0x74 0x6d 0x70 0x64 0x69 0x72  
0x33 0x30 0x36 0x30 0x61 0x30 0x33 0x30 0x36 0x34

ready!
Conversion script:
--
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os, shutil, sys, locale

def unlinkNoThrow(file):
  ''' remove a file, do not throw if an error occurs '''
  try:
os.unlink(file)
  except:
pass

def utf8ToDefaultEncoding(file):
  ''' if possible, convert to the default encoding '''
  try:
language, 

Re: Figure Latex Error plus input stack size

2007-06-18 Thread Jürgen Spitzmüller
[EMAIL PROTECTED] wrote:
> Thanks a lot Juergen, now the figures work fine, but I have 2 new problems:
> 1-it cannot read the superscript fonts (for example 10 to the -10 as
> superscript)it says:

We need another test file then.

Jürgen


Re: Problem with PDF output with different pdf reader.

2007-06-18 Thread Christian Liesen
For users of Mac OS X 10.4.x, PDFview is a great application for this 
purpose.


It integrates nicely with LaTeX and LyX, and you can easily configure it 
to automatically update the PDF output.


With LyX, this means that
-- you set PDFview with "open -a pdfview" as your viewer in LyX's 
preferences
-- you click the checkbox in PDFview's preferences to automatically 
reload files that are updated on your harddisk

-- and anytime now you choose View --> Update from your LyX document,
-- you simply switch to PDFview, and the changes are right there. No 
reloading, no closing and opening, no pressing keys.


PDFview is available from SourceForge at 
http://pdfview.sourceforge.net/index.html.


-- Christian



Helge Hafting wrote:

On Fri, Jun 15, 2007 at 06:39:55AM -0500, Les Denham wrote:
  

On Friday 15 June 2007 08:36, Helge Hafting wrote:


Acrobat certainly isn't useless, but have some problems:
  
Precisely why I use Acrobat Reader: I don't want to create a PDF which does 
not work properly with the reader most people use.  I performed the necessary 
convolutions to get it to work on my x86_64 Linux machine, and when using it 
to view Lyx output I just close it each time.




Of course one checks a PDF "for general consumption" with acrobat,
no argument there!

This is not an argument for using acrobat as the main pdf viewer though.
Acrobat is something I use perhaps once before publication, to check that 
the document views ok. (It usually does, it is a long time since

I figured out what fonts to use and what not to use.)

But for everyday use, I use xpdf.  I can then tweak layout
efficiently. (Typically float placement - one of the few things 
latex don't do perfectly all the time. And the breaking of URL's
and code listings.) 


xpdf lets me do view->pdf, look up the float on page 37,
make small tweak, update->pdf, switch to xpdf and hit 'r'
and have the new pdf reloaded, still displaying page 37
so I don't have to _find_ it again.
I then repeat this process until that float is ok,
then I move on to the next trouble float and so on.

The tought of doing this work with 
"perform tweak - close acrobat - view->pdf (wait for 
acrobat to start) - move to page 37 - perform tweak - ..."

is depressing. Especially with the delays involved when
starting a 32-bit acrobat on a 64-bit machine.

Of course, not all documents contains lots of large floats,
acrobat might not be so awful then . . .

Helge Hafting

  


--


Christian Liesen

Universität Zürich
Institut für Sonderpädagogik
Sonderforschungsbereich
Hirschengraben 48
8001 Zürich

University of Zurich
Institute for Special Education
Research Unit
Hirschengraben 48
CH-8001 Zurich

Tel +41 44 634 3130
Fax +41 44 634 4941
E-mail [EMAIL PROTECTED]




No Text Class Found?

2007-06-18 Thread Paniez Paykari

Dear Sir/Madam,

I have tried to download lyx on my windows. After going through all the 
steps, it does not open lyx and the error message is  'No TextClass 
Found'. How can I fix this?


Thank you
Paniez Paykari


Re: which LyX version on which Mac OSX version?

2007-06-18 Thread Abdelrazak Younes

Bennett Helm wrote:

On Jun 17, 2007, at 1:19 PM, Patrick De Visschere wrote:


Hi,

Since I temporarely have to switch to and older Mac (with OSX 10.2.8) 
I wanted to find out what version of lyx runs on which OS X version 
and the information on the wiki pages seems ambiguous.


According to the /Mac pages lyx13x requires 10.2 and lyx14 requires 
10.3.9 (I guess this is right)


The /Lyx/Download page however mentions also 10.2 for lyx14x (this is 
probably wrong)


I can only run lyx136 and even not lyx137 or lyx14x; in the latter 
case there is a message that /usr/lib/libiconv.2.dylib is missing. 
This library is installed by fink under /sw/lib but even after copying 
this library to /usr/lib lyx refuses to run.


It would be nice if someone could explain what should run on OSX 10.2.9


I'm frankly not sure, since I haven't had 10.2 around to test on. But I 
believe the binaries for LyX-1.4 (and the forthcoming -1.5) will not 
work on 10.2. So I believe you'll have to use LyX-1.3. (I don't remember 
any reason why 1.3.7 wouldn't work on 10.2.) Your experience with 
LyX-1.4.x is what I'd expect: you need the precise version of the 
libiconv.2.dylib LyX was compiled with for it to work -- and that's the 
version that comes with 10.3.


If you want to compile your own version, I believe LyX-1.4 will work on 
10.2.


FYI, I've read Qt4.3 will not support OSX 10.2 so 1.5 will for sure not 
be usable there.


Abdel.



Re: No Text Class Found?

2007-06-18 Thread Uwe Stöhr

Paniez Paykari schrieb:

I have tried to download lyx on my windows. After going through all the 
steps, it does not open lyx and the error message is  'No TextClass 
Found'. How can I fix this?


The easiest method it to try reinstalling LyX using this installer:
http://wiki.lyx.org/Windows/LyXWinInstaller

Uninstall the existing LyX 1.4 before doing this.

regards Uwe


Re: RC1 Dumb Question

2007-06-18 Thread Andreas K .
Mark Kortink <[EMAIL PROTECTED]> writes:

> 
> Hi
> 
> I am writing a book in LyX and come from the Windows world. I want to 
download 
> and install RC1 with no hassels. This means download a file, double-click it 
> and respond to the prompts, and at the end everything is done. When I go to 
the 
> download area I find:
 
[snip] 

> Which one should I download?
> 
> Regards
> Mark


Hi,

You should download the following:

06/01/2007 12:53PM 78,884,411 LyX-1.5.0rc1-Installer-bundle.exe
 
Best regards,
Andreas






Re: Can't enter extra whitespace when editing.

2007-06-18 Thread Hellmut Weber
Hi Darren, don't you think that calling a lyx behaviour 'gestapo 
behaviour' is inappropriate?


I'll send my mail certainly open to the list, I was just to quick and 
didn't change the address for my replay.


So I send this mail to the list as cc

Regards

Hellmut

Darren Freeman schrieb:

Hellmut,

I was very surprised by your email. I was discussing a technical change
in LyX from past behaviour, as well as an ongoing issue that I am trying
to get changed, and at no point was I insulting anyone.

I think you will find that you were the only one who had this
interpretation. If you would like to send your message openly to the
entire list, you will get a similar reaction.

Please spend some more time getting used to the emails on this list
before you jump on someone.

Have fun,
Darren

On Mon, 2007-06-18 at 10:33 +0200, Hellmut Weber wrote:

Hi Darren,

having been obliged to work quite a lot with word I'm very happy that 
LyX just prevents to enter more than one space between two words. And 
the additionel space you can introduce before an existing one disappears 
when go jump to some where else.



Also I point out that LyX still allows a permanent dangling space at the
end of a paragraph which is even less consistent with the current
gestapo behaviour.

And PLEASE abstain from flames of this kind !!!
I consider this as utmost inappropriate !!!

Regards

Hellmut






--
Dr. Hellmut Weber [EMAIL PROTECTED]
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq



Re: latex listings - line breaking problem

2007-06-18 Thread Helge Hafting

Jakub Suder wrote:

Hi,

I'm writing my MSc thesis in Lyx, and today I installed 1.5.0rc1 and
tried to use code listings (I have lots of Java examples in my
thesis), but I've encountered a problem. I'm using a custom class from
my university - mgragh (I don't know if the list accepts attachments,
so I've put it here:
http://cassiopea.net.autocom.pl/public/mgragh.zip) and I've noticed
that this class prevents long lines from being broken inside a listing
block.

I have code like this (Lyx view source box):

\begingroup
\inputencoding{latin1}
\begin{lstlisting}[breaklines=true,showstringspaces=false]
(code fragment with long lines)
\end{lstlisting}
\endgroup

And the lines aren't broken, they just extend over the margin and are
cut eventually. When I paste the code into a new empty document using
"article" class, everything is ok, the lines are broken into parts.
Then if I change the document class to mgragh - it stops working.

Do you know what may be wrong? What should I change in the class to
make it compatible with listings?

Automatically breaking program listings is a very tricky business.
Usually, the automatic breaking isn't good, and can sometimes
even introduce syntax errors. (depending on the language in use.)

When I wrote a programming book, I wrote all the sample code
so that it wasn't too wide.  Keep statements short, use
few levels of indentation, and break lines manually when this
isn't enough. Using short identifier names (one letter is often
enough, and avoid the wider uppercase ones.)
Setting code samples with a small narrow font helps too, if
all else fails.

Keeping the statements short and so on
is often an advantage anyway - the code gets easier to read.




German grafik dialog window

2007-06-18 Thread Hellmut Weber

Hi
this is a remark of a 'perfectionist' ;-)

When I'm working with lyx-svn (as of yesterday noon) with my german 
settings the graphic dialog, tab 'Grafik' shows two places where the 
letter o (Oh) is underlined, indicating that it could be activated with 
the key combination alt+o:

* Tab 'LaTeX- und LyX-Optionen'
* Button 'OK'
The letter 't' seems to be available in this context to activate the tab 
'LaTeX- und LyX-Optionen'.

I would like to have alt+o consistently for 'OK' as in other apps.

Greetings

Hellmut

--
Dr. Hellmut Weber [EMAIL PROTECTED]
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq



Boxed graphic

2007-06-18 Thread Hellmut Weber

Hi,
does the graphic include dialog offer a possibility to get the graphic 
boxed (as if it were in a fbox) or do I have to do that myself with ERT?


TIA

Hellmut

--
Dr. Hellmut Weber [EMAIL PROTECTED]
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq



Re: Can't enter extra whitespace when editing.

2007-06-18 Thread Darren Freeman
On Mon, 2007-06-18 at 12:40 +0200, Hellmut Weber wrote:
> Hi Darren, don't you think that calling a lyx behaviour 'gestapo 
> behaviour' is inappropriate?

I don't think I spent any more than three seconds on it and hadn't
considered it to be anything other than a little colourful. I was
referring to the heavy-handed policing which LyX is now applying to
extra white-space and I think I made my point.

Yes, if somebody reading that had suffered at the hands of the gestapo,
then I can see that they might be upset... so I am sorry and will be
more careful. I live in a place and time where the concept exists only
in books and on TV and it just didn't seem important. If you or any of
the recipients are or know Jews who suffered during WWII then I am
especially sorry.

> I'll send my mail certainly open to the list, I was just to quick and 
> didn't change the address for my replay.
> 
> So I send this mail to the list as cc

You sent it to the wrong list by the way. Now a second, much larger
group of people is potentially offended.

Also I didn't invite you to send my private reply to you to any list,
that is just bad manners. Please don't do that again! To me this is the
bigger offence, and it gives me the impression that it is you who wanted
a flame-war.

Have fun,
Darren



Re: Boxed graphic

2007-06-18 Thread Rudi Gaelzer
On Monday 18 June 2007 08:43:44 Hellmut Weber wrote:
> Hi,
> does the graphic include dialog offer a possibility to get the graphic
> boxed (as if it were in a fbox) or do I have to do that myself with ERT?
>
> TIA
>
> Hellmut

Inside any mathematical environment, just type \boxed followed by space that a 
box appears.  You can even box multi-line equations by inserting in the box 
any *ed math environment, like the Aligned, AlignedAt or Gathered 
environments.


-- 
Rudi Gaelzer
Department of Physics
Institute of Physics and Mathematics
Federal University of Pelotas
BRAZIL
Registered linux user # 153741


Re: Boxed graphic

2007-06-18 Thread Robert Orr

--- Rudi Gaelzer <[EMAIL PROTECTED]> wrote:

> On Monday 18 June 2007 08:43:44 Hellmut Weber wrote:
> > Hi,
> > does the graphic include dialog offer a
> possibility to get the graphic
> > boxed (as if it were in a fbox) or do I have to do
> that myself with ERT?
> >
> > TIA
> >
> > Hellmut
> 
> Inside any mathematical environment, just type
> \boxed followed by space that a 
> box appears.  You can even box multi-line equations
> by inserting in the box 
> any *ed math environment, like the Aligned,
> AlignedAt or Gathered 
> environments.
> 
> 
> -- 
> Rudi Gaelzer
> Department of Physics
> Institute of Physics and Mathematics
> Federal University of Pelotas
> BRAZIL
> Registered linux user # 153741
> 

If I understand your question, the answer might be to
just put the graphic inside of a table cell.





   

Be a better Heartthrob. Get better relationship answers from someone who knows. 
Yahoo! Answers - Check it out. 
http://answers.yahoo.com/dir/?link=list=396545433


Re: Can't enter extra whitespace when editing.

2007-06-18 Thread Steve Litt
On Monday 18 June 2007 08:28, Darren Freeman wrote:
> On Mon, 2007-06-18 at 12:40 +0200, Hellmut Weber wrote:
> > Hi Darren, don't you think that calling a lyx behaviour 'gestapo
> > behaviour' is inappropriate?
>
> I don't think I spent any more than three seconds on it and hadn't
> considered it to be anything other than a little colourful. I was
> referring to the heavy-handed policing which LyX is now applying to
> extra white-space and I think I made my point.

Has a recent LyX version eliminated the author's ability to use Ctrl+Spacebar 
to insert multiple nonbreaking spaces? My 1.4.2 allows it.

SteveT


Re: moving to linux...part3: preferred bibtex editor

2007-06-18 Thread Rudi Gaelzer
On Thursday 14 June 2007 12:50:08 Ares wrote:
> Here I am back with a new, silly question: what is the most favourite
> bibtex editor under GNU/linux? I have been using JabRef under Windows,
> but I realised that it runs under the Java Runtime Environment, and I
> do not want to install new components if I do not really need them...
>
> So, let's go with the poll!

I use either kbibtex or pybliographic.  The first is pretier and better 
organized, but pybliographic has an interesting import function.

-- 
Rudi Gaelzer
Department of Physics
Institute of Physics and Mathematics
Federal University of Pelotas
BRAZIL
Registered linux user # 153741


Re: Glossary

2007-06-18 Thread Wolfgang Engelmann


--  Weitergeleitete Nachricht  --

Subject: Re: Glossary
Date: Mittwoch, 13. Juni 2007 13:46
From: Wolfgang Engelmann <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]

Am Mittwoch, 13. Juni 2007 10:44 schrieb Valter Filipe Silva:
> Hello,
>
>
> Could you give me more details about using indexing for implement the
> glossary?
> Thanks
>
> Valter

Valter,
 I used the indexing just as an easy way to pick out the words in my document
which I want to put in the glossary.

There might be better ways, and certainly better informed people around!

This is the procedure:
1-Go through the document and put the cursor immediately behind the word you
want to use in the glossary. Press first alt_i, than d (a shortcut for
Insert>Index-Entry): This produces a grey box idx behind the selected item.
Clicking on it shows the content (note that you have to add by hand if the
item consists of e.g. two words -or you remove the space between the two
words before indexing and put it in again afterward (same in the idx-box).

2-Go to the place where your index (and later the glossary) should occur,
 e.g. before the bibliography.
insert>list/TOC>index list
you won´t see anything in the index list yet.

3-export your file
file>export>latex(plain)
run three times
latex yourDocument.tex

the output contains:
No file yourDocument .ind.
No file  yourDocument.bbl.

but a file  yourDocument.idx is produced

4-run
makeindex
produces
 yourDocument.ind

Have a look with a normal editor
It shows e.g.


\begin{theindex}

  \item BibTeX, 1

  \indexspace

  \item inset, 1

\end{theindex}
 yourDocument.ind (END)

5- use this as the basis for your glossary.

For the glossary see:
http://www.ctan.org/tex-archive/macros/latex/contrib/glossary/?filename=macro
s/latex/contrib/glossary/=/tools/cataloguesearch=glossary

---


Re: Boxed graphic

2007-06-18 Thread Uwe Stöhr

Hellmut Weber schrieb:

does the graphic include dialog offer a possibility to get the graphic 
boxed (as if it were in a fbox) or do I have to do that myself with ERT?


You have to do this by yourself. You can either set it into a single table cell or put it into a 
framed box, see the attached example.
With the box method you can easily adjust the space between the image and the frame and also the 
frame thickness and color, see the EmbeddedObjects manual how this is done.


regards Uwe


newfile1.lyx
Description: application/lyx


Re: Can't enter extra whitespace when editing.

2007-06-18 Thread Hellmut Weber

Hi Darren,
thanks for your message ;-)

I realised only now that your are living very far from Europe.
OTOH as you can see from my signature I'm german, born 1943 and my 
parents have lived through all of the war (actually two of these, teh 
first one as little children).


In many European countries being compared with the gestapo would be 
considered very offensive, even for people much younger than me.


So thanks for your last reply.

Cheers

Hellmut

Darren Freeman schrieb:

On Mon, 2007-06-18 at 12:40 +0200, Hellmut Weber wrote:
Hi Darren, don't you think that calling a lyx behaviour 'gestapo 
behaviour' is inappropriate?


I don't think I spent any more than three seconds on it and hadn't
considered it to be anything other than a little colourful. I was
referring to the heavy-handed policing which LyX is now applying to
extra white-space and I think I made my point.

Yes, if somebody reading that had suffered at the hands of the gestapo,
then I can see that they might be upset... so I am sorry and will be
more careful. I live in a place and time where the concept exists only
in books and on TV and it just didn't seem important. If you or any of
the recipients are or know Jews who suffered during WWII then I am
especially sorry.

I'll send my mail certainly open to the list, I was just to quick and 
didn't change the address for my replay.


So I send this mail to the list as cc


You sent it to the wrong list by the way. Now a second, much larger
group of people is potentially offended.

Also I didn't invite you to send my private reply to you to any list,
that is just bad manners. Please don't do that again! To me this is the
bigger offence, and it gives me the impression that it is you who wanted
a flame-war.

Have fun,
Darren




--
Dr. Hellmut Weber [EMAIL PROTECTED]
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq



Re: Can't enter extra whitespace when editing.

2007-06-18 Thread Hellmut Weber

Hi,
LyX-svn as of 2007-06-17 still permits it.

Greetings

Hellmut

Has a recent LyX version eliminated the author's ability to use Ctrl+Spacebar 
to insert multiple nonbreaking spaces? My 1.4.2 allows it.


--
Dr. Hellmut Weber [EMAIL PROTECTED]
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq



Re: problems to show figures in LyX

2007-06-18 Thread Paul A. Rubin

Fernando Roig wrote:

Hello:

I am running LyX 1.5.0rc1 on MS Windows and I am not able to view the 
figures in LyX. I tried several file formats like ps, eps, jpg, gif, 
pdf, and always get the message "Error converting to loadable format".


I understand that there is some problem with the definition of 
converters but I don't know how to solve it. ImageMagick is installed in 
the system.


Does anybody can help?

Thanks,
Fernando




First two things to check:

1.  Is ImageMagick (correctly) on LyX's path prefix (Tools -> 
Preferences... -> Paths -> PATH prefix)?


2.  If so, does IM work correctly?  Can you convert an image file to PPM 
format from a command prompt?


If this doesn't help, we'll have to poke around with the conversion 
script and see if we can get any informative messages.


/Paul




1.5.0 Linux install help

2007-06-18 Thread killermike
Hiya

I have been having some problems installing 1.5.0beta3 on my Kubuntu 7.04 
machine. I had used all of the betas on my Kubuntu 6.06lts without any 
problems. The problems seem to related font installation in some way. In my 
attempts to get things working, I have mostly been working with files and 
documents that worked fine on my old 6.06lts setup.

Basically, fonts in svg figures (preview or PDF output) disappear or fail in 
some other way. After three days of fighting with the system, I have managed 
to get previews 1.4.x however, I'd like to get 1.5.0 working again.

Here is a screenshot of the output and preview from Lyx
http://www.unmusic.co.uk/lyx_fontproblem.png

Regardless of what I do, fonts in the preview images do not seem to have any 
carriage returns. The fonts in PDF output are omitted. I have managed to get 
fonts in the PDF figures be included with the following converter string:

inkscape $$i -T --export-eps $$o

The -T switch causes the fonts to be converted into a path, which looks awful 
on screen, but at least it works. Without -T, the fonts or even the entire 
figures are missing.

Infuriatingly, in 1.5.0, using convert or inkscape (command line) both cause 
this problem with previews. And yet, using the commandline:

inkscape drawing.svg --export-png drawing.png

/does/ work as expected!

From the command line:

inkscape drawing.svg  --export-eps drawing.eps

omits the fonts.

here is the output from pdf preview in 1.5.0

Error: /invalidfont in /findfont
Operand stack:
   FreeSansBold-ISOLatin1   FreeSansBold
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   
--nostringval--   
2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   
false   1   %stopped_push   1813   1   3   %oparray_pop   1812   1   
3   %oparray_pop   --nostringval--   1808   1   3   %oparray_pop   1691   1   
3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   
--nostringval--   --nostringval--   --nostringval--   
2   %stopped_push   --nostringval--   --nostringval--   1783   2   
3   %oparray_pop
Dictionary stack:
   --dict:1084/1123(ro)(G)--   --dict:0/20(G)--   --dict:74/200(L)--
Current allocation mode is local
Last OS error: 2
GPL Ghostscript 8.57: Unrecoverable error, exit code 1

Bear in mind, I have been hammering this system for three solid days, so make 
no assumptions about its sanity, in terms of setup. In course of my attempts 
I have installed texlive and tetex, upgraded Ghostscript to the latest 
version and installed various font packages.

Any advice or even a hint of what to try next would be greatly appreciated. 
Life just isn't the same without LyX!

-- 
http://www.unmusic.co.uk - about me, music, geek sitcom etc.
http://www.unmusic.co.uk/amhs/ - alt.music.home-studio 



Inverted commas

2007-06-18 Thread Frederick Noronha [फ्रेडरिक नोरोन्या]

Dear all, Could you please tell me how to get a decent, shapely "set
of inverted commas" instead of the rough-looking ones I get from Lyx?
Thanks for all for your useful help, specially to Steve. FN
--
FN: Frederick Noronha
Phone 0091-832-2409490
http://wikiwikiweb.de/MyContacts


Re: Inverted commas

2007-06-18 Thread Mark T.B. Carroll
""Frederick Noronha [फ्रेडरिक नोरोन्या]"" <[EMAIL PROTECTED]> writes:

> Dear all, Could you please tell me how to get a decent, shapely "set
> of inverted commas" instead of the rough-looking ones I get from Lyx?

Does the Document Settings -> Language -> Quote Style thing help at all?

-- Mark



Re: Inverted commas

2007-06-18 Thread Frederick Noronha [फ्रेडरिक नोरोन्या]

Hi Mark, That doesn't offer too many options

Language: English
Use language's default encoding (not selected)
Encoding: Latex default
Quote style: "text"

[Quote style also available in ``text", ,,text``, ,,text", <>,
and >>text<<]

What I'm looking for is something that would create the elegant,
textbook-like 66quotes99 (using 66 and 99 to explain their shape...).

Regards, FN

On 18/06/07, Mark T.B. Carroll <[EMAIL PROTECTED]> wrote:

""Frederick Noronha [फ्रेडरिक नोरोन्या]"" <[EMAIL PROTECTED]> writes:

> Dear all, Could you please tell me how to get a decent, shapely "set
> of inverted commas" instead of the rough-looking ones I get from Lyx?

Does the Document Settings -> Language -> Quote Style thing help at all?

-- Mark

--
FN: Frederick Noronha
Phone 0091-832-2409490
http://wikiwikiweb.de/MyContacts


Re: No Text Class Found?

2007-06-18 Thread Joost Verburg

Paniez Paykari wrote:
I have tried to download lyx on my windows. After going through all the 
steps, it does not open lyx and the error message is  'No TextClass 
Found'. How can I fix this?


The LyX configuration probably failed. Remove

C:\Documents and Settings\\Application Data\lyx1.4.x

and run LyX again.

Joost



Text... versus the introduction

2007-06-18 Thread Frederick Noronha [फ्रेडरिक नोरोन्या]

Hi all, I'm just typesetting a book. The chapters are coming out fine.
My problem is with the introduction. The problem is two-fold...

(1) It's not hyphenating adequately...
(2) The pages seem to be splitting only after paragraphs (which means,
a lot of white space between paras!)

Am I doing something wrong?

I've inserted the introduction after a Table of Contents, using
standard text. Thanks again for all your help. I quite like Lyx! --FN
--
FN: Frederick Noronha
Phone 0091-832-2409490
http://wikiwikiweb.de/MyContacts


Re: Inverted commas

2007-06-18 Thread Mark T.B. Carroll
""Frederick Noronha [फ्रेडरिक नोरोन्या]"" <[EMAIL PROTECTED]> writes:
(snip)
> [Quote style also available in ``text", ,,text``, ,,text", <>,
> and >>text<<]
>
> What I'm looking for is something that would create the elegant,
> textbook-like 66quotes99 (using 66 and 99 to explain their shape...).
(snip)

Huh. I'd have thought that ``text" combined with the right font would do
that. Just a minute ...

... yes, works for me, I get the 66quotes99 in the resulting PDF, with
my settings largely set to default. Maybe try that option and play with
different fonts?

-- Mark



Re: Inverted commas

2007-06-18 Thread Paul A. Rubin

Unknown wrote:

Dear all, Could you please tell me how to get a decent, shapely "set
of inverted commas" instead of the rough-looking ones I get from Lyx?
Thanks for all for your useful help, specially to Steve. FN


By "rough looking" do you mean the ones you see in the GUI, or the ones 
that show up in the final DVI/PS/PDF output file?  The former are 
determined by the screen font (which you can set in the LyX options); 
the latter are determined by the document font (and out of LyX's control).


/Paul



Re: Inverted commas

2007-06-18 Thread David L. Johnson

Frederick Noronha [फ्रेडरिक नोरोन्या] wrote:

Hi Mark, That doesn't offer too many options

Language: English
Use language's default encoding (not selected)
Encoding: Latex default
Quote style: "text"

[Quote style also available in ``text", ,,text``, ,,text", <>,
and >>text<<]

What I'm looking for is something that would create the elegant,
textbook-like 66quotes99 (using 66 and 99 to explain their shape...).


I am guessing that what you are really talking about is the appearance 
of the quotes within LyX, not in the printout.  Certainly in the 
printout the quotes are done correctly (in any style) with the 
inversions you want, at least it is correct for me.  They don't appear 
as nicely on the LyX screen, but as long as the printout is good that 
should be allright.


--

David L. Johnson

It is probable that television drama of high caliber and produced by
first-rate artists will materially raise the level of dramatic taste
in the nation.
-- David Sarnoff, 1939


Re: Inverted commas

2007-06-18 Thread Frederick Noronha [फ्रेडरिक नोरोन्या]

Thanks, David and Mark. No, actually I'm referring to the appearance
*both* on the monitor and on the printout.

My earlier attempt, done hurriedly for the first book I edited, didn't work.

But thanks to you guys, I think I've got it this time. What needs to
be done is to use the ``quotes" .. and it works fine. The " quotes
(close quotes) might need to be replaced, because plain-text doesn't
render it exactly as would the key to the very far right on the middle
row does in Lyx.

Thanks again! FN

On 19/06/07, David L. Johnson <[EMAIL PROTECTED]> wrote:

Frederick Noronha [फ्रेडरिक नोरोन्या] wrote:
> Hi Mark, That doesn't offer too many options
>
> Language: English
> Use language's default encoding (not selected)
> Encoding: Latex default
> Quote style: "text"
>
> [Quote style also available in ``text", ,,text``, ,,text", <>,
> and >>text<<]
>
> What I'm looking for is something that would create the elegant,
> textbook-like 66quotes99 (using 66 and 99 to explain their shape...).

I am guessing that what you are really talking about is the appearance
of the quotes within LyX, not in the printout.  Certainly in the
printout the quotes are done correctly (in any style) with the
inversions you want, at least it is correct for me.  They don't appear
as nicely on the LyX screen, but as long as the printout is good that
should be allright.

--

David L. Johnson

It is probable that television drama of high caliber and produced by
first-rate artists will materially raise the level of dramatic taste
in the nation.
-- David Sarnoff, 1939




--
FN: Frederick Noronha
Phone 0091-832-2409490
http://wikiwikiweb.de/MyContacts


  1   2   >