Re: Re: \hyphenation

2004-06-09 Thread G. Milde
On  8.06.04, [EMAIL PROTECTED] wrote:
 
 The other problem concerns breaking up small words like \also\: while it
 might be logically correct 
... 
 Is there a way to stop hypenathion for those small words?

If you use the \sloppy command (in ERT or preamble?), LaTeX is not so fuzzy
about inter word spacing and a lot less hypenathion occures.

Besides this, putting the hyphenation hints into a separate *.tex file and
\input it would be my choice (as Jürgen already suggested).

Regards

Günter

-- 
G.Milde at web.de


Re: Placing Images inside of Tables

2004-06-09 Thread G. Milde
On  8.06.04, Vaclav Smidl wrote:
 On Tuesday 08 June 2004 08:25, Matthew McKay wrote:
 
  I am trying to place images inside of a table, however whenever I do so
  the text in the other columns always starts in line with the bottom of the
  image.  

This is TeX default behaviour, top alignment means the baseline of the first
line is aligned (which is what you usually want with text lines and
mathematical formula. (The same happens to minipages side-by-side, this is
why aligning the top of figures-side-by-side in a float is difficult.)

   Any suggestions on how to get images into tables looking right?

Unfortunately not really. I once had the problem and did a terrible hack with
invisible rectangles (\raisebox). It works at the end, but you need to
know|define the hight of the graphic and insert it in a ERT command and do a
lot of fine-tuning...
 
 What you are looking for is Vertical alignment which is (a bit 
 contra-intuitively) in the group with Column Width. It is grayed-out by 
 default. 
 If you specify width of your columns (e.g. 50 col%), you can select vertical 
 alignment.
 
 Does it help?

I doubt it, but it might be worth to try...

Günter

-- 
G.Milde at web.de


LyX Win32 installation problem

2004-06-09 Thread Nirmal Govind
Hi.. I was trying to help a friend install Ruurd's win32 version on 
windows. Everything seemed to have gone fine but the configure 
script doesn't seem to be able to find the converters for latex to 
dvi, latex to pdf, ps to pdf etc. We installed MikTeX just before 
installing LyX and I verified that these converters were present. So 
right now the View menu is empty, and so is the export menu in LyX. 
Any ideas on what might be wrong and what I need to do? I don't have 
much experience w/ LyX on Windows so would appreciate any help... 
incidentally, I installed this version on my Windows machine a few 
weeks back and everything went fine. I followed the exact same 
procedure this time too.. only difference I can think of is that 
this friend's machine had some previous version of MikTeX installed, 
which we deleted before installing the latest version...

Thanks,
nirmal


problems with accents (II)

2004-06-09 Thread Stefano Baroni
Dear All:
it seems to me that there are some serious problems with accents in 
LyX. At least with the aqua version for mac that I have

1) Yesterday I reported that I cannot input characters with accent from 
an us keyboard. optionaccent vowel-key simply does not seem to 
work. For example, option` a produces à on any mac applications, 
but nothink on LyX. a` does produce à, but I did not find any way 
to get é: e' simply gives e'

2) The interaction with LaTex seems to be even weirder. Stte the two 
attached latex files. The first was generated by hands and it does not 
display correctly on LyX: the accents are displayed in an empty line, 
followed by a line with unaccented text. The second file, instead, is 
produced by LyX. It contains the only accents that I have been able to 
produce (grave) inputing a`  e` i`. The Latex resultin output is 
obviously wrong.

Is this a problem of LyX, of LyX-for-aqua, or of my own configuration?
I am not sure that this is the right place to address one's own wishes, 
but a useful feature which is missing in LyX is the possibility of 
exporting a latex file with a name different from the current file name 
(one is not prompted for a filename to give to the exported file).

many thanks for your advice
Stefano
---
Stefano Baroni---  SISSADEMOCRITOS National Simulation Center
via Beirut 2-4 34014 Trieste Grignano / [+39] 040 3787 406 (tel) -528 
(fax)

Please, if possible, don't  send me MS Word or PowerPoint attachments
Why? See:  http://www.gnu.org/philosophy/no-word-attachments.html


first-file.tex
Description: TeX document


first-file.lyx
Description: Binary data


second-file.tex
Description: TeX document


second-file.lyx
Description: Binary data


Re: Can't edit Wiki page

2004-06-09 Thread Christian Ridderström
On Tue, 8 Jun 2004, Paul A. Rubin wrote:

 Aarrgh!

I know exactly what you mean...

  http://wiki.lyx.org/pmwiki.php/Playground/Robin
 
 I can edit this with no problem.

That was expected.

  Then maybe you could try and see if you can 
  edit a page with a lot of content at a different site, i.e.
  
  http://www.pmichaud.com/wiki/Test/LotsOfText
 
 I can edit this, as well.  In fact, it's a copy of the page I'm trying 
 to edit on the LyX Wiki.

Ok (also expected, and yes, I simply copied the InstantPreviwe-page to a 
different wiki server -- www.pmichaud.com)

 So it does not appear to be a question of the amount of text.

Actually, I think it *is* a matter of the amount of text. The page above 
was on a different server. Here's a link to another page on the lyx wiki 
with lots of text (you shouldn't be able to edit this either):

http://wiki.lyx.org/pmwiki.php/SiteTest/LotsOfText

Just for fun, try and remove more and more text from this page and 
suddenly you should be able to save it -- not that this is any practical 
solution

Do you have some router/gateway at home that might be involved in this? As 
I've said before, I've had this problem intermittently and I have a DI-714 
(I think). Or maybe it's some router/gateway in your network path?

 Using a browser on a remote system did work.  I have no idea why, of course.

This seems to be a problem that only happens when you:
* Do the save from some network (unknown what the characteristics are)
* The page contains more text than some unknown limit

Maybe there is something in the network path that doesn't like posting 
data over a certain size?

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




RE: LyX Win32 installation problem

2004-06-09 Thread Rob S

Hi

In the first instance have a look here:

http://wiki.lyx.org/pmwiki.php/LyX/WindowsSetup

Rob S

 
 Hi.. I was trying to help a friend install Ruurd's win32 version on
 windows. Everything seemed to have gone fine but the configure
 script doesn't seem to be able to find the converters for latex to
 dvi, latex to pdf, ps to pdf etc. We installed MikTeX just before
 installing LyX and I verified that these converters were present. So
 right now the View menu is empty, and so is the export menu in LyX.
 Any ideas on what might be wrong and what I need to do? I don't have
 much experience w/ LyX on Windows so would appreciate any help...
 incidentally, I installed this version on my Windows machine a few
 weeks back and everything went fine. I followed the exact same
 procedure this time too.. only difference I can think of is that
 this friend's machine had some previous version of MikTeX installed,
 which we deleted before installing the latest version...
 
 Thanks,
 nirmal




Re: instead of

2004-06-09 Thread Jean-Marc Lasgouttes
 Harold == Harold Mouras [EMAIL PROTECTED] writes:

Harold Hello, how ca I insert in a Lyx document a symbol  (in
Harold french) instead of  for english.

If you want to use it for quotes, then take a look at LayoutDocument,
in the Language category. Then you can select the type of quotes that
you want to use.

Ohterwise, one can always type french quotes with the compose key:
compose++.

JMarc



Re: changing font family on the fly

2004-06-09 Thread Jean-Marc Lasgouttes
 Fred == Fred Nastos [EMAIL PROTECTED] writes:

Fred Is it possible to switch between the font families on-the-fly,
Fred or do I need to always use Layout-Character-Family? I would
Fred like to be able to switch between Roman and Typewriter font
Fred families.

Try M-c p and M-c r

JMarc



Re: changing font family on the fly

2004-06-09 Thread Helge Hafting
Fred Nastos wrote:
Is it possible to switch between the font families on-the-fly, or
do I need to always use Layout-Character-Family?
I would like to be able to switch between Roman and Typewriter
font families.
 

You need to use layout-character, AFAIK.
My solution for speeding this up, is to leave the layout-character
dialog open (never hit the ok button) In the dialog, typewriter
is selected all the time.  Then I write everything
in roman, and select stuff I want in typewriter and hit apply
so it changes to typewriter without removing the dialog.
Don't let the main lyx window take up the entire screen, leave enough
room to see the layout-character dialog at the same time.
This way I never have to make changes in the dialog, just mark
and hit apply as needed.  It is reasonably fast, although marking
up with emphasize (ctrl+e) is faster.  If this is the _only_ markup
you do - and you do lots of it - consider using emphasize instead
and use tex to redefine \emph to invoke the typewriter font.
Helge Hafting


Re: font encoding lyx mistery

2004-06-09 Thread Charlls Quarra
 

 Ok after a full night of head scratching  hitting
wall, i discovered what produced this nasty phenomena:

 when i pasted in a editor the .lyx snippet from the
german .lyx file, the editor automatically changed the
_fileencoding_ of the file from latin1 to utf-8. So
the files looked _exactly_ the same on vi, but
different on mozilla and lyx.

 Watch out! this is rather annoying and can make you
feel obnoxious and ready to throw the computer out of
the window


 --- Charlls Quarra [EMAIL PROTECTED]
escribió:   I add two semi-minimal examples of a well
encoded
 .lyx file and a bad encoded one. Note that both
 display correctly encoded characters when viewed
 directly with vi, but they look screwed in
 badenc.lyx
 
  Im totally inept to find a difference between the
 headers of both files :-(
 
 
 
  --- Charlls Quarra [EMAIL PROTECTED]
 escribió:  
  
   i copied from a german document to my spanish
  document, before doing the copy exporting the
  document
  to latex would produce
  
  transición
  
  but now it produces
  
  transiciÃ\ensuremath{³}n 
  
   not to mention that it looks screwd up also in
 the
  lyx window. I tried verifying that
  Layout-Document-Language  is set as
  
   Language: spanish
   Encoding: auto
  
   i also verified that
  edit-preferences-Output-Latex
  is set to
  
   Tex encoding: T1
   
  
   So i've run out of ideas where this may be set
 up.
  I
  already removed everything from the german
 document,
  but still the special accent characters looks
  screwd. 
  Also the text in the .lyx file is still in correct
  accent characters so (Thank God) this is only a
  application screwd that didnt apparently affected
  the
  file. However other documents show correctly
 special
  accent characters so its something special of this
  file
  
  
   please help :-(
  
 
 
 Contanos cómo usás el correo electrónico,
 qué pensás del spam y de los virus.
 Encuesta de Correo Yahoo!
 Participá en 
 http://ar.surveys.yahoo.com/ar_mailpr2

 ATTACHMENT part 2 application/octet-stream
name=badenc.lyx


 ATTACHMENT part 3 application/octet-stream
name=goodenc.lyx
 


Contanos cómo usás el correo electrónico,
qué pensás del spam y de los virus.
Encuesta de Correo Yahoo!
Participá en 
http://ar.surveys.yahoo.com/ar_mailpr2


Re: instead of

2004-06-09 Thread Pep Roca
A Dimarts 08 Juny 2004 18:18, Harold Mouras va escriure:
 Hello,

 how ca I insert in a Lyx document a symbol  (in french) instead of  for
 english.

Layout | Document | Language | Type: Chosse 

Regards. Pep Roca.


problem with oe french ligature

2004-06-09 Thread Harold Mouras
Hello,
I tried to use the command\oe for french ligature in the attached LyX file,
but it is not compiled.
Anybody could say what is wrong in this simple file?
THanks a lot for your help and also for the great mailing list so usefull!!
Harold

-
Harold Mouras
Doctorant/ATER Université Paris 5
Inserm U483
Boite 23
9, quai Saint Bernard
75005 Paris
Téléphone : +33 1 44 27 26 24
Télécopie : +33 1 44 27 34 38
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.701 / Virus Database: 458 - Release Date: 07/06/2004


example.lyx
Description: Binary data


embedding all fonts into .pdf

2004-06-09 Thread Tuukka Toivonen
ICIP 2004 paper upload system requires that _all_ fonts are embedded into
the pdf file (also the 13 standard ones). The tools (pdflatex/ghostscript)
refused initially to do this, and I thought someone would like to hear my
solution or suggest better one. I'm running Debian Stable 3.0.

First, I updated teTeX into version 2 and AFPL Ghostscript into version 8.
Then I replaced file
/etc/texmf/updmap.d/00updmap.cfg
with the new version given in
http://great-white.csee.usf.edu/latex.html
and running update-updmap (the last command is Debian-specific).

This produced embedded fonts from the lyx/tex document, but I had .eps
figures (created with Xfig and gnuplot) that I converted into .pdf with
epstopdf which uses Ghostscript to do the job and the figures still used
non-embedded fonts. My solution was to modify file
/usr/share/gs-afpl/8.14/lib/gs_pdfwr.ps
and change lines

/.standardfonts [
  /Courier /Courier-Bold /Courier-Oblique /Courier-BoldOblique
  /Helvetica /Helvetica-Bold /Helvetica-Oblique /Helvetica-BoldOblique
  /Times-Roman /Times-Bold /Times-Italic /Times-BoldItalic
  /Symbol /ZapfDingbats
] readonly def

into

/.standardfonts [
%  /Courier /Courier-Bold /Courier-Oblique /Courier-BoldOblique
%  /Helvetica /Helvetica-Bold /Helvetica-Oblique /Helvetica-BoldOblique
%  /Times-Roman /Times-Bold /Times-Italic /Times-BoldItalic
%  /Symbol /ZapfDingbats
] readonly def

This change looks quite ugly to me, but everything else (specifically using
-dEmbedAllFonts=true) failed. If someone has better solution, let me know.

pdffonts which comes with xpdf proved to be useful. After the above
changes, it showed that all fonts were embedded:

name type emb sub uni object ID
  --- --- --- -
SSAHIC+NimbusRomNo9L-MediType 1   yes yes no  33  0
UMJGWR+NimbusRomNo9L-ReguItalType 1   yes yes no  36  0
EFBTTN+NimbusRomNo9L-ReguType 1   yes yes no  39  0
OVWQVK+CMR10 Type 1   yes yes no  43  0
SBCRSY+CMSY10Type 1   yes yes no  46  0
BDJSKG+CMMI10Type 1   yes yes no  56  0
GLEXWD+CMR7  Type 1   yes yes no  59  0
CBLBIL+Times-Roman   Type 1C  yes yes no  63  0
NXBGXQ+Helvetica Type 1C  yes yes no 122  0
NXRCNG+Helvetica Type 1C  yes yes no 129  0
FKKSGH+Helvetica Type 1C  yes yes no 136  0
FKKSGH+Helvetica Type 1C  yes yes no 143  0
FABNJM+Helvetica Type 1C  yes yes no 150  0
JODAIJ+Helvetica Type 1C  yes yes no 157  0



Re: problem with oe french ligature

2004-06-09 Thread Nicolas Ferré
Harold Mouras a écrit :
Hello,
I tried to use the command\oe for french ligature in the attached LyX file,
but it is not compiled.
Anybody could say what is wrong in this simple file?
THanks a lot for your help and also for the great mailing list so usefull!!
Harold
-
Harold Mouras
Doctorant/ATER Université Paris 5
Inserm U483
Boite 23
9, quai Saint Bernard
75005 Paris
Téléphone : +33 1 44 27 26 24
Télécopie : +33 1 44 27 34 38
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.701 / Virus Database: 458 - Release Date: 07/06/2004
You should write {\oe}
--
 Dr. Nicolas Ferre'
 Laboratoire de Chimie Theorique et de Modelisation Moleculaire
 UMR 6517 - CNRS Universite' de Provence
 Case 521 - Faculte' de Saint-Jerome
 Av. Esc. Normandie Niemen
 13397 MARSEILLE Cedex 20 (FRANCE)
 Tel : (+33)4.91.28.27.33  Fax : (+33)4.91.28.87.58
 Please avoid sending me Word or PowerPoint attachments.
 See http://www.gnu.org/philosophy/no-word-attachments.html


Re: problem with oe french ligature

2004-06-09 Thread Juergen Spitzmueller
Harold Mouras wrote:

 Hello,
 I tried to use the command\oe for french ligature in the attached LyX
 file, but it is not compiled.
 Anybody could say what is wrong in this simple file?

You have to make clear where the command ends, that is, either write
\oe{}uvre or \oe uvre (TeX interprets the space as end of command).

Jürgen.



RE: problem with oe french ligature

2004-06-09 Thread Rob S
Hi;

Try adding a space after the ERT box, this worked for me

mise en [\oe] uvre



Rob S

 -Original Message-
 From: Harold Mouras [mailto:[EMAIL PROTECTED]
 Sent: 09 June 2004 15:35
 To: Lyx-Users
 Subject: problem with oe french ligature
 
 Hello,
 I tried to use the command\oe for french ligature in the attached LyX
file,
 but it is not compiled.
 Anybody could say what is wrong in this simple file?
 THanks a lot for your help and also for the great mailing list so
usefull!!
 Harold
 
 -
 Harold Mouras
 Doctorant/ATER Université Paris 5
 Inserm U483
 Boite 23
 9, quai Saint Bernard
 75005 Paris
 Téléphone : +33 1 44 27 26 24
 Télécopie : +33 1 44 27 34 38
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 --
 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.701 / Virus Database: 458 - Release Date: 07/06/2004



batch page composition feature request

2004-06-09 Thread William F. Adams
I think I alluded to this a long while ago, but never followed up.
Anyway, here's a feature request --- perhaps the ERT inset could 
instead be a little pop-up menu populated w/ the number of lines one 
could gain / lose and the initial value being a comment w/ the number 
of lines? Say something like:

initial menu:
[0 (+/-0)] (for a paragraph which can't gain / lose)
[0 ( +1/-0] (for a paragraph which can gain one line, but not lose any)
[0 (+2/-1] (for a paragraph which can gain two or lose one)
and when popped up, the last one would look like:
[+2]
[+1]
[0 (+2/-1)]
[-1]
Anyway, here's a post I just made to a thread on comp.text.tex about 
this sort of thing.

David Kastrup wrote:
 I am working on typesetting books with quite long paragraphs, a fixed
 line spacing and page layout, where widows on particular and also
 clubs are frowned upon.  Given the length of the paragraphs, if TeX
 were to do combined pagebreak/linebreak optimization, most clubs and
 widows could be avoided easily (by effectively using \looseness for
 removing them).  As it is, I can only avoid them on pages with
 footnotes, and only by giving sufficiently stretchably interfootnote
 spacing.
and Giuseppe asked:
Multipass processes?
Well, that's the traditional way to fix it.
Find a page w/ a widow or orphan line, look back through the pages, 
find a paragraph which _might_ be amenable to gaining or losing a line, 
add \looseness+/-1% before it and re-tex and see.

As I've noted in the past, I'd dearly love a mechanism whereby TeX 
could evaluate a paragraph and note how many lines it could gain or 
lose and stick that into the output (say as a .pdf annotation). Better 
still would be if LyX (say) could grab that and add it as an ERT (Evil 
Red Text --- raw (La)TeX code) comment above each paragraph.

It was funny, a while back I posted all that I'd learned of page makeup 
to the TYPO-L list asking, ``Is there nothing more? Is this all there 
is to know / do?'' and didn't get a single reply or comment. Later 
correspondence revealed a number of people had printed out my post, and 
used it as a guideline in their composition, or when outsourcing

William
(who is also going to post this to the LyX list, in hope some developer 
there will find it interesting)
--
William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com



RE: LyX Win32 installation problem

2004-06-09 Thread Jim Ragsdale
make sure that in Edit-Preferences-File Formats the viewer box has a path
to the viewer for each type (pdf,ps,dvi,ect.).

 -Original Message-
 From: news [mailto:[EMAIL PROTECTED] Behalf Of Nirmal Govind
 Sent: Wednesday, June 09, 2004 1:11 AM
 To: [EMAIL PROTECTED]
 Subject: LyX Win32 installation problem


 Hi.. I was trying to help a friend install Ruurd's win32 version on
 windows. Everything seemed to have gone fine but the configure
 script doesn't seem to be able to find the converters for latex to
 dvi, latex to pdf, ps to pdf etc. We installed MikTeX just before
 installing LyX and I verified that these converters were present. So
 right now the View menu is empty, and so is the export menu in LyX.
 Any ideas on what might be wrong and what I need to do? I don't have
 much experience w/ LyX on Windows so would appreciate any help...
 incidentally, I installed this version on my Windows machine a few
 weeks back and everything went fine. I followed the exact same
 procedure this time too.. only difference I can think of is that
 this friend's machine had some previous version of MikTeX installed,
 which we deleted before installing the latest version...

 Thanks,
 nirmal




Re: LyX Win32 installation problem

2004-06-09 Thread Paul A. Rubin
Nirmal Govind wrote:
Hi.. I was trying to help a friend install Ruurd's win32 version on 
windows. Everything seemed to have gone fine but the configure script 
doesn't seem to be able to find the converters for latex to dvi, latex 
to pdf, ps to pdf etc. We installed MikTeX just before installing LyX 
and I verified that these converters were present. So right now the View 
menu is empty, and so is the export menu in LyX. Any ideas on what might 
be wrong and what I need to do? I don't have much experience w/ LyX on 
Windows so would appreciate any help... incidentally, I installed this 
version on my Windows machine a few weeks back and everything went fine. 
I followed the exact same procedure this time too.. only difference I 
can think of is that this friend's machine had some previous version of 
MikTeX installed, which we deleted before installing the latest version...

Thanks,
nirmal

Four things to consider:
1.  If the user has any other versions of latex installed, make sure 
that they are either deleted, renamed, or appear after MiKTeX on the 
system path.  (I had one machine where the configure script choked on an 
old latex.exe that was part of a Cygwin installation.)

2:  Does Edit | Reconfigure by any chance write a 0 byte textclass.lst 
file?  If so, it's likely to be due to having the wrong version of 
sed.exe.  Ruurd's port ships with sed 3.02; download the GnuWin32 port 
of sed (4.0.7 or later) from SourceForge 
(http://sourceforge.net/projects/gnuwin32/).

3: Make sure that the two files LaTeXConfig.lyx.in and LyXConfig.lyx.in 
exist in the .../share/lyx/doc folder.  They were missing from my last 
download of Ruurd's port.

4: Someone reported on the list that Edit-Reconfigure fails if LyX and 
the user's home directory are on different drives.

-- Paul
**
Paul A. RubinPhone: 
   (517) 432-3509
Department of ManagementFax:  (517) 
432-
The Eli Broad Graduate School of ManagementE-mail:   [EMAIL PROTECTED]
Michigan State University 
http://www.msu.edu/~rubin/
East Lansing, MI  48824-1122  (USA)
**
Mathematicians are like Frenchmen:  whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different.J. W. v. GOETHE



RE: LyX Win32 installation problem

2004-06-09 Thread Rob S
 
 4: Someone reported on the list that Edit-Reconfigure fails if LyX
and
 the user's home directory are on different drives.

If this is the problem try this version of configure.bat

http://www.soton.ac.uk/~rds2/configure.bat

to replace the one found in \lyx\share\lyx

(It is there now - I've just put it back - sorry. I'll upload it to the
wikki asap)

Rob S

 
 -- Paul
 




Re: Can't edit Wiki page

2004-06-09 Thread Paul A. Rubin
Christian Ridderström wrote:
On Tue, 8 Jun 2004, Paul A. Rubin wrote:

Then maybe you could try and see if you can 
edit a page with a lot of content at a different site, i.e.

	http://www.pmichaud.com/wiki/Test/LotsOfText
I can edit this, as well.  In fact, it's a copy of the page I'm trying 
to edit on the LyX Wiki.

Ok (also expected, and yes, I simply copied the InstantPreviwe-page to a 
different wiki server -- www.pmichaud.com)


So it does not appear to be a question of the amount of text.

Actually, I think it *is* a matter of the amount of text. The page above 
was on a different server.
So you think the text quantity issue is tied to a specific server (as 
opposed to a specific client, or client configuration, or failure to 
make an appropriate propitiation to the gods before clicking save)?

Here's a link to another page on the lyx wiki 
with lots of text (you shouldn't be able to edit this either):

http://wiki.lyx.org/pmwiki.php/SiteTest/LotsOfText
Just for fun, try and remove more and more text from this page and 
suddenly you should be able to save it -- not that this is any practical 
solution
You're right.  Deleting paragraph 5 did not do the job, but deleting 4 
and 5 let me save it.

Do you have some router/gateway at home that might be involved in this? As 
I've said before, I've had this problem intermittently and I have a DI-714 
(I think). Or maybe it's some router/gateway in your network path?
I do this from my office (Ethernet to OC3 (?) link to regional net).  I 
have a personal firewall on my office PC, and there are allegedly 
firewalls in place between my building and our campus and between our 
campus and Out There.  However, the building firewall (allegedly) only 
filters inbound traffic, and I believe the same holds for the campus 
firewall.  So the edited page should be reaching the server.

Using a browser on a remote system did work.  I have no idea why, of course.

This seems to be a problem that only happens when you:
* Do the save from some network (unknown what the characteristics are)
* The page contains more text than some unknown limit
Maybe there is something in the network path that doesn't like posting 
data over a certain size?
Highly unlikely in my case.  The server I used for a successful remote 
post is on the same network segment as my office PC, so the successful 
and unsucessful traffic should have followed pretty much identical 
routes.  The server has a static IP and my PC gets its IP address by 
DHCP, but that seems unlikely to explain the difference.

Hmm.  Just edited the page successfully from two PCs across the hall 
from my office (same segment).  One was Win 98, the other Win XP (same 
as my office), so the OS is not the differentiator.  (Incidentally, FYI, 
the Wiki pages do not display correctly on Netscape 4.76, perhaps 
indicating a problem with CSS support in an older browser.)

Aha!  (Or perhaps I should say Aha??)  I turned off my firewall 
momentarily (scary thing to do here), and an edit went through just 
fine.  Stranger still, I then turned the firewall back on, and I can 
still edit the test page.

I can't find anything in the firewall log with respect to traffic 
to/from wiki.lyx.org.  However, there is an entry with a similar IP 
address (maps to tott.linpro.no).  It's about the right time frame for 
one of my unsuccessful edit attempts (prior to turning the firewall 
off), and it indicates that the firewall blocked 19 ICMP Type 3 
(Destination Unreachable) packets from tott.linpro.no, apparently in 
response to traffic I sent.

Ok, this is getting a bit stochastic.  I closed the browser and 
restarted it, then (with the firewall on) edited the LotsOfText page and 
tried to save.  The browser hung, and the firewall reported a bunch of 
ICMP 3 packets from tott.linpro.no.  Fine.  I then ran netstat to check 
network connections, tried another edit (without shutting down the 
firewall, without restarting the browser) and the edit went through 
(!?).  Then I tried another edit, and it failed, but I got no new ICMP 
packets from tott.linpro.no.  And then another attempt succeeded.

If you can find any useful diagnostic information in all that, more 
power to you!

-- Paul
**
Paul A. RubinPhone: 
   (517) 432-3509
Department of ManagementFax:  (517) 
432-
The Eli Broad Graduate School of ManagementE-mail:   [EMAIL PROTECTED]
Michigan State University 
http://www.msu.edu/~rubin/
East Lansing, MI  48824-1122  (USA)
**
Mathematicians are like Frenchmen:  whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different.J. W. v. GOETHE



Re: Can't edit Wiki page

2004-06-09 Thread Christian Ridderström
On Wed, 9 Jun 2004, Paul A. Rubin wrote:

  Actually, I think it *is* a matter of the amount of text. The page above 
  was on a different server.
 
 So you think the text quantity issue is tied to a specific server (as 
 opposed to a specific client, or client configuration, or failure to 
 make an appropriate propitiation to the gods before clicking save)?

I don't know what I think - the last time I actually tried to get a handle
on this problem nothing made sense really...

 You're right.  Deleting paragraph 5 did not do the job, but deleting 4 
 and 5 let me save it.

So we know this problem only occurs if the size is above a certain limit. 

 I do this from my office (Ethernet to OC3 (?) link to regional net).  I 
 have a personal firewall on my office PC, and there are allegedly 
 firewalls in place between my building and our campus and between our 
 campus and Out There.

The firewall could be a common denominator... my router at home has a 
built in gateway. Actually, I wonder if the problem disappeared when I 
got a new router at home? If I have enough energy I'll see if I can plug 
the old router back in and see if I get problem again.

 However, the building firewall (allegedly) only filters inbound traffic,
 and I believe the same holds for the campus firewall.  So the edited
 page should be reaching the server.


  This seems to be a problem that only happens when you:
  * Do the save from some network (unknown what the characteristics are)
  * The page contains more text than some unknown limit
  
  Maybe there is something in the network path that doesn't like posting 
  data over a certain size?
 
 Highly unlikely in my case.  The server I used for a successful remote 
 post is on the same network segment as my office PC, so the successful 
 and unsucessful traffic should have followed pretty much identical 
 routes.

Ok, that's actually good since it means that the problem is closer.

 The server has a static IP and my PC gets its IP address by DHCP, but
 that seems unlikely to explain the difference.

I agree.

 Hmm.  Just edited the page successfully from two PCs across the hall 
 from my office (same segment).  One was Win 98, the other Win XP (same 
 as my office), so the OS is not the differentiator.


 (Incidentally, FYI, the Wiki pages do not display correctly on Netscape
 4.76, perhaps indicating a problem with CSS support in an older browser.)

Probably... was it really bad? (Maybe it's enough if I write a note in 
the Site.FAQ that Netscape 4.76 is too old.)

 Aha!  (Or perhaps I should say Aha??)  I turned off my firewall 
 momentarily (scary thing to do here), and an edit went through just 
 fine.  Stranger still, I then turned the firewall back on, and I can 
 still edit the test page.

Ok... I can buy that turning of the firewall (what kind of firewall btw?) 
allows you to edit, but why would it keep working???

 I can't find anything in the firewall log with respect to traffic 
 to/from wiki.lyx.org.  However, there is an entry with a similar IP 
 address (maps to tott.linpro.no).

I think the wiki server is in Norway and here's a funny thing:

wiki.lyx.org is an alias for aussie.lyx.org.
aussie.lyx.org has address 80.232.38.164
tott.linpro.no has address 80.232.38.218

so these two machines are very close... this seems significant since I
don't remember encountering this problem on other wiki servers.

 It's about the right time frame for one of my unsuccessful edit attempts
 (prior to turning the firewall off), and it indicates that the firewall
 blocked 19 ICMP Type 3 (Destination Unreachable) packets from
 tott.linpro.no, apparently in response to traffic I sent.
 
 Ok, this is getting a bit stochastic.  I closed the browser and 
 restarted it, then (with the firewall on) edited the LotsOfText page and 
 tried to save.  The browser hung, and the firewall reported a bunch of 
 ICMP 3 packets from tott.linpro.no.  Fine.  I then ran netstat to check 
 network connections, tried another edit (without shutting down the 
 firewall, without restarting the browser) and the edit went through 
 (!?).  Then I tried another edit, and it failed, but I got no new ICMP 
 packets from tott.linpro.no.  And then another attempt succeeded.

This reminds me of something else that I've noticed... the first time I 
want to upload a file, I have to click on the upload button twice (nothing 
happens after the first click, just as if a request has been sent but 
there's no response).

I'll bring this up on the devel list to see if tott.linpro.no is known.

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Changing Figure Directory in Document

2004-06-09 Thread Rich Shepard
  I have realized that keeping all the figures for my book in the main
directory results in clutter. So I created a subdirectory, figures/ and
moved all the figures there. When I went to the raw .lyx file to change the
pointers from one directory to the other, I could not find anything
directory specific.

  How do I tell the application that figures are now in a different
location? More specifically, can I do this in batch mode or must I open each
one and recreate the link?

TIA,

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com


Re: Can't edit Wiki page

2004-06-09 Thread Paul A. Rubin
Christian Ridderström wrote:
(Incidentally, FYI, the Wiki pages do not display correctly on Netscape
4.76, perhaps indicating a problem with CSS support in an older browser.)

Probably... was it really bad? (Maybe it's enough if I write a note in 
the Site.FAQ that Netscape 4.76 is too old.)
The first time I tried to load the page, it was illegible.  The second 
time, I think I got more or less legible content in the middle, but the 
left-margin menus were shifted up too high, so that the first few links 
overlapped other content and in fact some may have been off the top of 
the page.  (Might be a good idea if someone else blessed with an old 
browser could confirm that.)

Aha!  (Or perhaps I should say Aha??)  I turned off my firewall 
momentarily (scary thing to do here), and an edit went through just 
fine.  Stranger still, I then turned the firewall back on, and I can 
still edit the test page.

Ok... I can buy that turning of the firewall (what kind of firewall btw?)
ZoneAlarm Pro.
allows you to edit, but why would it keep working???
Just to aggravate me?
-- Paul


Re: Changing Figure Directory in Document

2004-06-09 Thread Angus Leeming
Rich Shepard wrote:

   I have realized that keeping all the figures for my book in the main
 directory results in clutter. So I created a subdirectory, figures/ and
 moved all the figures there. When I went to the raw .lyx file to change
 the pointers from one directory to the other, I could not find anything
 directory specific.
 
   How do I tell the application that figures are now in a different
 location? More specifically, can I do this in batch mode or must I open
 each one and recreate the link?

Try the attached script. run it as
$ sh rename.sh your_directory/*.lyx

It'll show you a diff of what it's changed and then prompt you before
overwriting the .lyx file.

-- 
Angus

rename.sh
Description: application/shellscript


Re: Changing Figure Directory in Document

2004-06-09 Thread Rich Shepard
On Wed, 9 Jun 2004, Angus Leeming wrote:

 Try the attached script. run it as
 $ sh rename.sh your_directory/*.lyx

Angus,

  Many thanks! I was trying to do a search-and-replace using emacs on the
.lyx file but didn't see any directory name that needed modifying. So now I
understand that the directory from which the figures were originally were
loaded is encoded somewhere invisible, but prepending the new subdirectory
keeps everyone happy.

Good to know,

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com


Re: Changing Figure Directory in Document

2004-06-09 Thread Angus Leeming
Rich Shepard wrote:
 Try the attached script. run it as
 $ sh rename.sh your_directory/*.lyx
 
 Angus,
 
   Many thanks! I was trying to do a search-and-replace using emacs on
   the
 .lyx file but didn't see any directory name that needed modifying. So
 now I understand that the directory from which the figures were
 originally were loaded is encoded somewhere invisible, but prepending
 the new subdirectory keeps everyone happy.

If you store the images paths as relative to the document directory, (as
here), then everything is much more flexible. You *can* save them as
absolute paths, but why would you?

-- 
Angus



Re: Changing Figure Directory in Document

2004-06-09 Thread Rich Shepard
On Wed, 9 Jun 2004, Angus Leeming wrote:

 If you store the images paths as relative to the document directory, (as
 here), then everything is much more flexible. You *can* save them as
 absolute paths, but why would you?

Angus,

  No reason at all. But, after adding a new figure (from the newly-added
subdirectory) and viewing the compiled output, only the latest figure is
found. :-( I closed the document and reopened it to see if that was
required, but it made no difference. I'll try shutting down lyx and
restarting it before going through the entire book and re-inserting each
figure.

  Have I missed something simple?

Thanks,

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com


Re: Changing Figure Directory in Document

2004-06-09 Thread Rich Shepard
On Wed, 9 Jun 2004, Rich Shepard wrote:

   Have I missed something simple?

  As it turns out, no. But, the shell script did. It did not write the
changes to the file. So, I just did that with a text editor and I'm back to
being a delighted camper with LyX. What a super, high-productivity tool this
is!

Kudos -- and thanks -- to all of you,

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com


Same configuration, same code, but one failed to compile.

2004-06-09 Thread Adinda Praditya
Hi list,...

I have a strange problems. I wrote 2 different books with the same lyx version 
(1.3.2) and conffiguration. The first one has been successfully compiled. The 
other failed.

The last book, at first, i compiled successfully. However, when i add this tex 
code:
===
\addcontentsline{toc}{chapter}{Preface}
\markright{\MakeUppercase{Preface}}
===

I got these two errors:
===
LaTeX Error: Environment bahasa undefined.
 \begin{bahasa}
   
Your command was ignored.
Type  I command return  to replace it with another command,
or  return  to continue without it.
===
and :
===
LaTeX Error: \begin{document} ended by \end{bahasa}.
 \end{bahasa}
 
Your command was ignored.
Type  I command return  to replace it with another command,
or  return  to continue without it.
===

The odd is, if i can compile the first book normally, (with the same 
configuration and same tex code addition), why i couldn't do the same with 
the last one?

Did i misconfigured? I brought you guys my lyx preferences and both lyx files 
of the books. Hope that helps you find the trouble.

Thanks,

Adinda Praditya


### This file is part of
### 
###  LyX, The Document Processor
###
###  Copyright 1995 Matthias Ettrich
###  Copyright 1995-2001 The LyX Team.
###
### 

# This file is written by LyX, if you want to make your own
# modifications you should do them from inside LyX and save

\bind_file mybind

#
# MISC SECTION ##
#

\kbmap true
\kbmap_primary null
\kbmap_secondary arabic

#
# SCREEN  FONTS SECTION 
#

\popup_font_encoding iso8859-1
\screen_dpi 101
\screen_font_roman Arabic Newspaper
\screen_font_sans Arab Naskh Juria
\screen_font_typewriter Courier
\screen_font_encoding iso10646-1

#
# COLOR SECTION ###
#

\set_color cursor #00
\set_color background #faf0e6
\set_color foreground #00
\set_color selection #add8e6
\set_color latex #8b
\set_color preview #00
\set_color note #00
\set_color notebg #00
\set_color depthbar #cd5c5c
\set_color language #ff
\set_color command #00
\set_color commandbg #f0
\set_color commandframe #00
\set_color special #4169e1
\set_color graphicsbg #faf0e6
\set_color math #8b
\set_color mathbg #faf0e6
\set_color mathmacrobg #faf0e6
\set_color mathframe #ff00ff
\set_color mathcursor #00
\set_color mathline #ff
\set_color captionframe #8b
\set_color collapsable #8b
\set_color collapsableframe #cd5c5c
\set_color insetbg #cc
\set_color insetframe #cd5c5c
\set_color error #ff
\set_color eolmarker #a52a2a
\set_color added_space #a52a2a
\set_color appendixline #a52a2a
\set_color topline #a52a2a
\set_color tabularline #00
\set_color tabularonoffline #b0c4de
\set_color bottomarea #66
\set_color pagebreak #4169e1
\set_color top #e5e5e5
\set_color bottom #99
\set_color left #e5e5e5
\set_color right #99
\set_color buttonbg #cc

#
# PRINTER SECTION ###
#


#
# EXPORT SECTION 
#


#
# TEX SECTION ###
#


#
# FILE SECTION ##
#


#
# ASCII EXPORT SECTION ##
#


#
# SPELLCHECKER SECTION ##
#


#
# LANGUAGE SUPPORT SECTION ##
#

\rtl true
\language_package \usepackage[bahasa]{babel} \usepackage{arabtex, iso88596} 
\setcode{iso8859-6}
\language_command_begin \begin{bahasa}
\language_command_end \end{bahasa}
\mark_foreign_language false

#
# 2nd MISC SUPPORT SECTION ##
#

\default_language bahasa

#
# FORMATS SECTION ##
#

\viewer html konqueror file://$$p$$i

#
# CONVERTERS SECTION ##
#

\converter latex html latex2html -no_subdir -split 3 -show_section_numbers $$i 
originaldir,needaux
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass scrbook
\begin_preamble
%%% Hyphenation
\hyphenpenalty=8000
%\raggedright
\sloppy
%abbrvnat,unsrtnat
\end_preamble
\language bahasa
\inputencoding default
\fontscheme default
\graphics default
\paperfontsize 12
\spacing onehalf 
\papersize a4paper
\paperpackage a4wide
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language swedish
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Title

Title Book1
\layout Author

Author
\layout Standard


\begin_inset LatexCommand \tableofcontents{}

\end_inset 


\layout Chapter*

Tentang Dokumen Ini
\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
addcontentsline{toc}{chapter}{Tentang Dokumen 

Re: Re: \hyphenation

2004-06-09 Thread G. Milde
On  8.06.04, [EMAIL PROTECTED] wrote:
 
 The other problem concerns breaking up small words like \also\: while it
 might be logically correct 
... 
 Is there a way to stop hypenathion for those small words?

If you use the \sloppy command (in ERT or preamble?), LaTeX is not so fuzzy
about inter word spacing and a lot less hypenathion occures.

Besides this, putting the hyphenation hints into a separate *.tex file and
\input it would be my choice (as Jürgen already suggested).

Regards

Günter

-- 
G.Milde at web.de


Re: Placing Images inside of Tables

2004-06-09 Thread G. Milde
On  8.06.04, Vaclav Smidl wrote:
 On Tuesday 08 June 2004 08:25, Matthew McKay wrote:
 
  I am trying to place images inside of a table, however whenever I do so
  the text in the other columns always starts in line with the bottom of the
  image.  

This is TeX default behaviour, top alignment means the baseline of the first
line is aligned (which is what you usually want with text lines and
mathematical formula. (The same happens to minipages side-by-side, this is
why aligning the top of figures-side-by-side in a float is difficult.)

   Any suggestions on how to get images into tables looking right?

Unfortunately not really. I once had the problem and did a terrible hack with
invisible rectangles (\raisebox). It works at the end, but you need to
know|define the hight of the graphic and insert it in a ERT command and do a
lot of fine-tuning...
 
 What you are looking for is Vertical alignment which is (a bit 
 contra-intuitively) in the group with Column Width. It is grayed-out by 
 default. 
 If you specify width of your columns (e.g. 50 col%), you can select vertical 
 alignment.
 
 Does it help?

I doubt it, but it might be worth to try...

Günter

-- 
G.Milde at web.de


LyX Win32 installation problem

2004-06-09 Thread Nirmal Govind
Hi.. I was trying to help a friend install Ruurd's win32 version on 
windows. Everything seemed to have gone fine but the configure 
script doesn't seem to be able to find the converters for latex to 
dvi, latex to pdf, ps to pdf etc. We installed MikTeX just before 
installing LyX and I verified that these converters were present. So 
right now the View menu is empty, and so is the export menu in LyX. 
Any ideas on what might be wrong and what I need to do? I don't have 
much experience w/ LyX on Windows so would appreciate any help... 
incidentally, I installed this version on my Windows machine a few 
weeks back and everything went fine. I followed the exact same 
procedure this time too.. only difference I can think of is that 
this friend's machine had some previous version of MikTeX installed, 
which we deleted before installing the latest version...

Thanks,
nirmal


problems with accents (II)

2004-06-09 Thread Stefano Baroni
Dear All:
it seems to me that there are some serious problems with accents in 
LyX. At least with the aqua version for mac that I have

1) Yesterday I reported that I cannot input characters with accent from 
an us keyboard. optionaccent vowel-key simply does not seem to 
work. For example, option` a produces à on any mac applications, 
but nothink on LyX. a` does produce à, but I did not find any way 
to get é: e' simply gives e'

2) The interaction with LaTex seems to be even weirder. Stte the two 
attached latex files. The first was generated by hands and it does not 
display correctly on LyX: the accents are displayed in an empty line, 
followed by a line with unaccented text. The second file, instead, is 
produced by LyX. It contains the only accents that I have been able to 
produce (grave) inputing a`  e` i`. The Latex resultin output is 
obviously wrong.

Is this a problem of LyX, of LyX-for-aqua, or of my own configuration?
I am not sure that this is the right place to address one's own wishes, 
but a useful feature which is missing in LyX is the possibility of 
exporting a latex file with a name different from the current file name 
(one is not prompted for a filename to give to the exported file).

many thanks for your advice
Stefano
---
Stefano Baroni---  SISSADEMOCRITOS National Simulation Center
via Beirut 2-4 34014 Trieste Grignano / [+39] 040 3787 406 (tel) -528 
(fax)

Please, if possible, don't  send me MS Word or PowerPoint attachments
Why? See:  http://www.gnu.org/philosophy/no-word-attachments.html


first-file.tex
Description: TeX document


first-file.lyx
Description: Binary data


second-file.tex
Description: TeX document


second-file.lyx
Description: Binary data


Re: Can't edit Wiki page

2004-06-09 Thread Christian Ridderström
On Tue, 8 Jun 2004, Paul A. Rubin wrote:

 Aarrgh!

I know exactly what you mean...

  http://wiki.lyx.org/pmwiki.php/Playground/Robin
 
 I can edit this with no problem.

That was expected.

  Then maybe you could try and see if you can 
  edit a page with a lot of content at a different site, i.e.
  
  http://www.pmichaud.com/wiki/Test/LotsOfText
 
 I can edit this, as well.  In fact, it's a copy of the page I'm trying 
 to edit on the LyX Wiki.

Ok (also expected, and yes, I simply copied the InstantPreviwe-page to a 
different wiki server -- www.pmichaud.com)

 So it does not appear to be a question of the amount of text.

Actually, I think it *is* a matter of the amount of text. The page above 
was on a different server. Here's a link to another page on the lyx wiki 
with lots of text (you shouldn't be able to edit this either):

http://wiki.lyx.org/pmwiki.php/SiteTest/LotsOfText

Just for fun, try and remove more and more text from this page and 
suddenly you should be able to save it -- not that this is any practical 
solution

Do you have some router/gateway at home that might be involved in this? As 
I've said before, I've had this problem intermittently and I have a DI-714 
(I think). Or maybe it's some router/gateway in your network path?

 Using a browser on a remote system did work.  I have no idea why, of course.

This seems to be a problem that only happens when you:
* Do the save from some network (unknown what the characteristics are)
* The page contains more text than some unknown limit

Maybe there is something in the network path that doesn't like posting 
data over a certain size?

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




RE: LyX Win32 installation problem

2004-06-09 Thread Rob S

Hi

In the first instance have a look here:

http://wiki.lyx.org/pmwiki.php/LyX/WindowsSetup

Rob S

 
 Hi.. I was trying to help a friend install Ruurd's win32 version on
 windows. Everything seemed to have gone fine but the configure
 script doesn't seem to be able to find the converters for latex to
 dvi, latex to pdf, ps to pdf etc. We installed MikTeX just before
 installing LyX and I verified that these converters were present. So
 right now the View menu is empty, and so is the export menu in LyX.
 Any ideas on what might be wrong and what I need to do? I don't have
 much experience w/ LyX on Windows so would appreciate any help...
 incidentally, I installed this version on my Windows machine a few
 weeks back and everything went fine. I followed the exact same
 procedure this time too.. only difference I can think of is that
 this friend's machine had some previous version of MikTeX installed,
 which we deleted before installing the latest version...
 
 Thanks,
 nirmal




Re: instead of

2004-06-09 Thread Jean-Marc Lasgouttes
 Harold == Harold Mouras [EMAIL PROTECTED] writes:

Harold Hello, how ca I insert in a Lyx document a symbol  (in
Harold french) instead of  for english.

If you want to use it for quotes, then take a look at LayoutDocument,
in the Language category. Then you can select the type of quotes that
you want to use.

Ohterwise, one can always type french quotes with the compose key:
compose++.

JMarc



Re: changing font family on the fly

2004-06-09 Thread Jean-Marc Lasgouttes
 Fred == Fred Nastos [EMAIL PROTECTED] writes:

Fred Is it possible to switch between the font families on-the-fly,
Fred or do I need to always use Layout-Character-Family? I would
Fred like to be able to switch between Roman and Typewriter font
Fred families.

Try M-c p and M-c r

JMarc



Re: changing font family on the fly

2004-06-09 Thread Helge Hafting
Fred Nastos wrote:
Is it possible to switch between the font families on-the-fly, or
do I need to always use Layout-Character-Family?
I would like to be able to switch between Roman and Typewriter
font families.
 

You need to use layout-character, AFAIK.
My solution for speeding this up, is to leave the layout-character
dialog open (never hit the ok button) In the dialog, typewriter
is selected all the time.  Then I write everything
in roman, and select stuff I want in typewriter and hit apply
so it changes to typewriter without removing the dialog.
Don't let the main lyx window take up the entire screen, leave enough
room to see the layout-character dialog at the same time.
This way I never have to make changes in the dialog, just mark
and hit apply as needed.  It is reasonably fast, although marking
up with emphasize (ctrl+e) is faster.  If this is the _only_ markup
you do - and you do lots of it - consider using emphasize instead
and use tex to redefine \emph to invoke the typewriter font.
Helge Hafting


Re: font encoding lyx mistery

2004-06-09 Thread Charlls Quarra
 

 Ok after a full night of head scratching  hitting
wall, i discovered what produced this nasty phenomena:

 when i pasted in a editor the .lyx snippet from the
german .lyx file, the editor automatically changed the
_fileencoding_ of the file from latin1 to utf-8. So
the files looked _exactly_ the same on vi, but
different on mozilla and lyx.

 Watch out! this is rather annoying and can make you
feel obnoxious and ready to throw the computer out of
the window


 --- Charlls Quarra [EMAIL PROTECTED]
escribió:   I add two semi-minimal examples of a well
encoded
 .lyx file and a bad encoded one. Note that both
 display correctly encoded characters when viewed
 directly with vi, but they look screwed in
 badenc.lyx
 
  Im totally inept to find a difference between the
 headers of both files :-(
 
 
 
  --- Charlls Quarra [EMAIL PROTECTED]
 escribió:  
  
   i copied from a german document to my spanish
  document, before doing the copy exporting the
  document
  to latex would produce
  
  transición
  
  but now it produces
  
  transiciÃ\ensuremath{³}n 
  
   not to mention that it looks screwd up also in
 the
  lyx window. I tried verifying that
  Layout-Document-Language  is set as
  
   Language: spanish
   Encoding: auto
  
   i also verified that
  edit-preferences-Output-Latex
  is set to
  
   Tex encoding: T1
   
  
   So i've run out of ideas where this may be set
 up.
  I
  already removed everything from the german
 document,
  but still the special accent characters looks
  screwd. 
  Also the text in the .lyx file is still in correct
  accent characters so (Thank God) this is only a
  application screwd that didnt apparently affected
  the
  file. However other documents show correctly
 special
  accent characters so its something special of this
  file
  
  
   please help :-(
  
 
 
 Contanos cómo usás el correo electrónico,
 qué pensás del spam y de los virus.
 Encuesta de Correo Yahoo!
 Participá en 
 http://ar.surveys.yahoo.com/ar_mailpr2

 ATTACHMENT part 2 application/octet-stream
name=badenc.lyx


 ATTACHMENT part 3 application/octet-stream
name=goodenc.lyx
 


Contanos cómo usás el correo electrónico,
qué pensás del spam y de los virus.
Encuesta de Correo Yahoo!
Participá en 
http://ar.surveys.yahoo.com/ar_mailpr2


Re: instead of

2004-06-09 Thread Pep Roca
A Dimarts 08 Juny 2004 18:18, Harold Mouras va escriure:
 Hello,

 how ca I insert in a Lyx document a symbol  (in french) instead of  for
 english.

Layout | Document | Language | Type: Chosse 

Regards. Pep Roca.


problem with oe french ligature

2004-06-09 Thread Harold Mouras
Hello,
I tried to use the command\oe for french ligature in the attached LyX file,
but it is not compiled.
Anybody could say what is wrong in this simple file?
THanks a lot for your help and also for the great mailing list so usefull!!
Harold

-
Harold Mouras
Doctorant/ATER Université Paris 5
Inserm U483
Boite 23
9, quai Saint Bernard
75005 Paris
Téléphone : +33 1 44 27 26 24
Télécopie : +33 1 44 27 34 38
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.701 / Virus Database: 458 - Release Date: 07/06/2004


example.lyx
Description: Binary data


embedding all fonts into .pdf

2004-06-09 Thread Tuukka Toivonen
ICIP 2004 paper upload system requires that _all_ fonts are embedded into
the pdf file (also the 13 standard ones). The tools (pdflatex/ghostscript)
refused initially to do this, and I thought someone would like to hear my
solution or suggest better one. I'm running Debian Stable 3.0.

First, I updated teTeX into version 2 and AFPL Ghostscript into version 8.
Then I replaced file
/etc/texmf/updmap.d/00updmap.cfg
with the new version given in
http://great-white.csee.usf.edu/latex.html
and running update-updmap (the last command is Debian-specific).

This produced embedded fonts from the lyx/tex document, but I had .eps
figures (created with Xfig and gnuplot) that I converted into .pdf with
epstopdf which uses Ghostscript to do the job and the figures still used
non-embedded fonts. My solution was to modify file
/usr/share/gs-afpl/8.14/lib/gs_pdfwr.ps
and change lines

/.standardfonts [
  /Courier /Courier-Bold /Courier-Oblique /Courier-BoldOblique
  /Helvetica /Helvetica-Bold /Helvetica-Oblique /Helvetica-BoldOblique
  /Times-Roman /Times-Bold /Times-Italic /Times-BoldItalic
  /Symbol /ZapfDingbats
] readonly def

into

/.standardfonts [
%  /Courier /Courier-Bold /Courier-Oblique /Courier-BoldOblique
%  /Helvetica /Helvetica-Bold /Helvetica-Oblique /Helvetica-BoldOblique
%  /Times-Roman /Times-Bold /Times-Italic /Times-BoldItalic
%  /Symbol /ZapfDingbats
] readonly def

This change looks quite ugly to me, but everything else (specifically using
-dEmbedAllFonts=true) failed. If someone has better solution, let me know.

pdffonts which comes with xpdf proved to be useful. After the above
changes, it showed that all fonts were embedded:

name type emb sub uni object ID
  --- --- --- -
SSAHIC+NimbusRomNo9L-MediType 1   yes yes no  33  0
UMJGWR+NimbusRomNo9L-ReguItalType 1   yes yes no  36  0
EFBTTN+NimbusRomNo9L-ReguType 1   yes yes no  39  0
OVWQVK+CMR10 Type 1   yes yes no  43  0
SBCRSY+CMSY10Type 1   yes yes no  46  0
BDJSKG+CMMI10Type 1   yes yes no  56  0
GLEXWD+CMR7  Type 1   yes yes no  59  0
CBLBIL+Times-Roman   Type 1C  yes yes no  63  0
NXBGXQ+Helvetica Type 1C  yes yes no 122  0
NXRCNG+Helvetica Type 1C  yes yes no 129  0
FKKSGH+Helvetica Type 1C  yes yes no 136  0
FKKSGH+Helvetica Type 1C  yes yes no 143  0
FABNJM+Helvetica Type 1C  yes yes no 150  0
JODAIJ+Helvetica Type 1C  yes yes no 157  0



Re: problem with oe french ligature

2004-06-09 Thread Nicolas Ferré
Harold Mouras a écrit :
Hello,
I tried to use the command\oe for french ligature in the attached LyX file,
but it is not compiled.
Anybody could say what is wrong in this simple file?
THanks a lot for your help and also for the great mailing list so usefull!!
Harold
-
Harold Mouras
Doctorant/ATER Université Paris 5
Inserm U483
Boite 23
9, quai Saint Bernard
75005 Paris
Téléphone : +33 1 44 27 26 24
Télécopie : +33 1 44 27 34 38
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.701 / Virus Database: 458 - Release Date: 07/06/2004
You should write {\oe}
--
 Dr. Nicolas Ferre'
 Laboratoire de Chimie Theorique et de Modelisation Moleculaire
 UMR 6517 - CNRS Universite' de Provence
 Case 521 - Faculte' de Saint-Jerome
 Av. Esc. Normandie Niemen
 13397 MARSEILLE Cedex 20 (FRANCE)
 Tel : (+33)4.91.28.27.33  Fax : (+33)4.91.28.87.58
 Please avoid sending me Word or PowerPoint attachments.
 See http://www.gnu.org/philosophy/no-word-attachments.html


Re: problem with oe french ligature

2004-06-09 Thread Juergen Spitzmueller
Harold Mouras wrote:

 Hello,
 I tried to use the command\oe for french ligature in the attached LyX
 file, but it is not compiled.
 Anybody could say what is wrong in this simple file?

You have to make clear where the command ends, that is, either write
\oe{}uvre or \oe uvre (TeX interprets the space as end of command).

Jürgen.



RE: problem with oe french ligature

2004-06-09 Thread Rob S
Hi;

Try adding a space after the ERT box, this worked for me

mise en [\oe] uvre



Rob S

 -Original Message-
 From: Harold Mouras [mailto:[EMAIL PROTECTED]
 Sent: 09 June 2004 15:35
 To: Lyx-Users
 Subject: problem with oe french ligature
 
 Hello,
 I tried to use the command\oe for french ligature in the attached LyX
file,
 but it is not compiled.
 Anybody could say what is wrong in this simple file?
 THanks a lot for your help and also for the great mailing list so
usefull!!
 Harold
 
 -
 Harold Mouras
 Doctorant/ATER Université Paris 5
 Inserm U483
 Boite 23
 9, quai Saint Bernard
 75005 Paris
 Téléphone : +33 1 44 27 26 24
 Télécopie : +33 1 44 27 34 38
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 --
 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.701 / Virus Database: 458 - Release Date: 07/06/2004



batch page composition feature request

2004-06-09 Thread William F. Adams
I think I alluded to this a long while ago, but never followed up.
Anyway, here's a feature request --- perhaps the ERT inset could 
instead be a little pop-up menu populated w/ the number of lines one 
could gain / lose and the initial value being a comment w/ the number 
of lines? Say something like:

initial menu:
[0 (+/-0)] (for a paragraph which can't gain / lose)
[0 ( +1/-0] (for a paragraph which can gain one line, but not lose any)
[0 (+2/-1] (for a paragraph which can gain two or lose one)
and when popped up, the last one would look like:
[+2]
[+1]
[0 (+2/-1)]
[-1]
Anyway, here's a post I just made to a thread on comp.text.tex about 
this sort of thing.

David Kastrup wrote:
 I am working on typesetting books with quite long paragraphs, a fixed
 line spacing and page layout, where widows on particular and also
 clubs are frowned upon.  Given the length of the paragraphs, if TeX
 were to do combined pagebreak/linebreak optimization, most clubs and
 widows could be avoided easily (by effectively using \looseness for
 removing them).  As it is, I can only avoid them on pages with
 footnotes, and only by giving sufficiently stretchably interfootnote
 spacing.
and Giuseppe asked:
Multipass processes?
Well, that's the traditional way to fix it.
Find a page w/ a widow or orphan line, look back through the pages, 
find a paragraph which _might_ be amenable to gaining or losing a line, 
add \looseness+/-1% before it and re-tex and see.

As I've noted in the past, I'd dearly love a mechanism whereby TeX 
could evaluate a paragraph and note how many lines it could gain or 
lose and stick that into the output (say as a .pdf annotation). Better 
still would be if LyX (say) could grab that and add it as an ERT (Evil 
Red Text --- raw (La)TeX code) comment above each paragraph.

It was funny, a while back I posted all that I'd learned of page makeup 
to the TYPO-L list asking, ``Is there nothing more? Is this all there 
is to know / do?'' and didn't get a single reply or comment. Later 
correspondence revealed a number of people had printed out my post, and 
used it as a guideline in their composition, or when outsourcing

William
(who is also going to post this to the LyX list, in hope some developer 
there will find it interesting)
--
William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com



RE: LyX Win32 installation problem

2004-06-09 Thread Jim Ragsdale
make sure that in Edit-Preferences-File Formats the viewer box has a path
to the viewer for each type (pdf,ps,dvi,ect.).

 -Original Message-
 From: news [mailto:[EMAIL PROTECTED] Behalf Of Nirmal Govind
 Sent: Wednesday, June 09, 2004 1:11 AM
 To: [EMAIL PROTECTED]
 Subject: LyX Win32 installation problem


 Hi.. I was trying to help a friend install Ruurd's win32 version on
 windows. Everything seemed to have gone fine but the configure
 script doesn't seem to be able to find the converters for latex to
 dvi, latex to pdf, ps to pdf etc. We installed MikTeX just before
 installing LyX and I verified that these converters were present. So
 right now the View menu is empty, and so is the export menu in LyX.
 Any ideas on what might be wrong and what I need to do? I don't have
 much experience w/ LyX on Windows so would appreciate any help...
 incidentally, I installed this version on my Windows machine a few
 weeks back and everything went fine. I followed the exact same
 procedure this time too.. only difference I can think of is that
 this friend's machine had some previous version of MikTeX installed,
 which we deleted before installing the latest version...

 Thanks,
 nirmal




Re: LyX Win32 installation problem

2004-06-09 Thread Paul A. Rubin
Nirmal Govind wrote:
Hi.. I was trying to help a friend install Ruurd's win32 version on 
windows. Everything seemed to have gone fine but the configure script 
doesn't seem to be able to find the converters for latex to dvi, latex 
to pdf, ps to pdf etc. We installed MikTeX just before installing LyX 
and I verified that these converters were present. So right now the View 
menu is empty, and so is the export menu in LyX. Any ideas on what might 
be wrong and what I need to do? I don't have much experience w/ LyX on 
Windows so would appreciate any help... incidentally, I installed this 
version on my Windows machine a few weeks back and everything went fine. 
I followed the exact same procedure this time too.. only difference I 
can think of is that this friend's machine had some previous version of 
MikTeX installed, which we deleted before installing the latest version...

Thanks,
nirmal

Four things to consider:
1.  If the user has any other versions of latex installed, make sure 
that they are either deleted, renamed, or appear after MiKTeX on the 
system path.  (I had one machine where the configure script choked on an 
old latex.exe that was part of a Cygwin installation.)

2:  Does Edit | Reconfigure by any chance write a 0 byte textclass.lst 
file?  If so, it's likely to be due to having the wrong version of 
sed.exe.  Ruurd's port ships with sed 3.02; download the GnuWin32 port 
of sed (4.0.7 or later) from SourceForge 
(http://sourceforge.net/projects/gnuwin32/).

3: Make sure that the two files LaTeXConfig.lyx.in and LyXConfig.lyx.in 
exist in the .../share/lyx/doc folder.  They were missing from my last 
download of Ruurd's port.

4: Someone reported on the list that Edit-Reconfigure fails if LyX and 
the user's home directory are on different drives.

-- Paul
**
Paul A. RubinPhone: 
   (517) 432-3509
Department of ManagementFax:  (517) 
432-
The Eli Broad Graduate School of ManagementE-mail:   [EMAIL PROTECTED]
Michigan State University 
http://www.msu.edu/~rubin/
East Lansing, MI  48824-1122  (USA)
**
Mathematicians are like Frenchmen:  whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different.J. W. v. GOETHE



RE: LyX Win32 installation problem

2004-06-09 Thread Rob S
 
 4: Someone reported on the list that Edit-Reconfigure fails if LyX
and
 the user's home directory are on different drives.

If this is the problem try this version of configure.bat

http://www.soton.ac.uk/~rds2/configure.bat

to replace the one found in \lyx\share\lyx

(It is there now - I've just put it back - sorry. I'll upload it to the
wikki asap)

Rob S

 
 -- Paul
 




Re: Can't edit Wiki page

2004-06-09 Thread Paul A. Rubin
Christian Ridderström wrote:
On Tue, 8 Jun 2004, Paul A. Rubin wrote:

Then maybe you could try and see if you can 
edit a page with a lot of content at a different site, i.e.

	http://www.pmichaud.com/wiki/Test/LotsOfText
I can edit this, as well.  In fact, it's a copy of the page I'm trying 
to edit on the LyX Wiki.

Ok (also expected, and yes, I simply copied the InstantPreviwe-page to a 
different wiki server -- www.pmichaud.com)


So it does not appear to be a question of the amount of text.

Actually, I think it *is* a matter of the amount of text. The page above 
was on a different server.
So you think the text quantity issue is tied to a specific server (as 
opposed to a specific client, or client configuration, or failure to 
make an appropriate propitiation to the gods before clicking save)?

Here's a link to another page on the lyx wiki 
with lots of text (you shouldn't be able to edit this either):

http://wiki.lyx.org/pmwiki.php/SiteTest/LotsOfText
Just for fun, try and remove more and more text from this page and 
suddenly you should be able to save it -- not that this is any practical 
solution
You're right.  Deleting paragraph 5 did not do the job, but deleting 4 
and 5 let me save it.

Do you have some router/gateway at home that might be involved in this? As 
I've said before, I've had this problem intermittently and I have a DI-714 
(I think). Or maybe it's some router/gateway in your network path?
I do this from my office (Ethernet to OC3 (?) link to regional net).  I 
have a personal firewall on my office PC, and there are allegedly 
firewalls in place between my building and our campus and between our 
campus and Out There.  However, the building firewall (allegedly) only 
filters inbound traffic, and I believe the same holds for the campus 
firewall.  So the edited page should be reaching the server.

Using a browser on a remote system did work.  I have no idea why, of course.

This seems to be a problem that only happens when you:
* Do the save from some network (unknown what the characteristics are)
* The page contains more text than some unknown limit
Maybe there is something in the network path that doesn't like posting 
data over a certain size?
Highly unlikely in my case.  The server I used for a successful remote 
post is on the same network segment as my office PC, so the successful 
and unsucessful traffic should have followed pretty much identical 
routes.  The server has a static IP and my PC gets its IP address by 
DHCP, but that seems unlikely to explain the difference.

Hmm.  Just edited the page successfully from two PCs across the hall 
from my office (same segment).  One was Win 98, the other Win XP (same 
as my office), so the OS is not the differentiator.  (Incidentally, FYI, 
the Wiki pages do not display correctly on Netscape 4.76, perhaps 
indicating a problem with CSS support in an older browser.)

Aha!  (Or perhaps I should say Aha??)  I turned off my firewall 
momentarily (scary thing to do here), and an edit went through just 
fine.  Stranger still, I then turned the firewall back on, and I can 
still edit the test page.

I can't find anything in the firewall log with respect to traffic 
to/from wiki.lyx.org.  However, there is an entry with a similar IP 
address (maps to tott.linpro.no).  It's about the right time frame for 
one of my unsuccessful edit attempts (prior to turning the firewall 
off), and it indicates that the firewall blocked 19 ICMP Type 3 
(Destination Unreachable) packets from tott.linpro.no, apparently in 
response to traffic I sent.

Ok, this is getting a bit stochastic.  I closed the browser and 
restarted it, then (with the firewall on) edited the LotsOfText page and 
tried to save.  The browser hung, and the firewall reported a bunch of 
ICMP 3 packets from tott.linpro.no.  Fine.  I then ran netstat to check 
network connections, tried another edit (without shutting down the 
firewall, without restarting the browser) and the edit went through 
(!?).  Then I tried another edit, and it failed, but I got no new ICMP 
packets from tott.linpro.no.  And then another attempt succeeded.

If you can find any useful diagnostic information in all that, more 
power to you!

-- Paul
**
Paul A. RubinPhone: 
   (517) 432-3509
Department of ManagementFax:  (517) 
432-
The Eli Broad Graduate School of ManagementE-mail:   [EMAIL PROTECTED]
Michigan State University 
http://www.msu.edu/~rubin/
East Lansing, MI  48824-1122  (USA)
**
Mathematicians are like Frenchmen:  whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different.J. W. v. GOETHE



Re: Can't edit Wiki page

2004-06-09 Thread Christian Ridderström
On Wed, 9 Jun 2004, Paul A. Rubin wrote:

  Actually, I think it *is* a matter of the amount of text. The page above 
  was on a different server.
 
 So you think the text quantity issue is tied to a specific server (as 
 opposed to a specific client, or client configuration, or failure to 
 make an appropriate propitiation to the gods before clicking save)?

I don't know what I think - the last time I actually tried to get a handle
on this problem nothing made sense really...

 You're right.  Deleting paragraph 5 did not do the job, but deleting 4 
 and 5 let me save it.

So we know this problem only occurs if the size is above a certain limit. 

 I do this from my office (Ethernet to OC3 (?) link to regional net).  I 
 have a personal firewall on my office PC, and there are allegedly 
 firewalls in place between my building and our campus and between our 
 campus and Out There.

The firewall could be a common denominator... my router at home has a 
built in gateway. Actually, I wonder if the problem disappeared when I 
got a new router at home? If I have enough energy I'll see if I can plug 
the old router back in and see if I get problem again.

 However, the building firewall (allegedly) only filters inbound traffic,
 and I believe the same holds for the campus firewall.  So the edited
 page should be reaching the server.


  This seems to be a problem that only happens when you:
  * Do the save from some network (unknown what the characteristics are)
  * The page contains more text than some unknown limit
  
  Maybe there is something in the network path that doesn't like posting 
  data over a certain size?
 
 Highly unlikely in my case.  The server I used for a successful remote 
 post is on the same network segment as my office PC, so the successful 
 and unsucessful traffic should have followed pretty much identical 
 routes.

Ok, that's actually good since it means that the problem is closer.

 The server has a static IP and my PC gets its IP address by DHCP, but
 that seems unlikely to explain the difference.

I agree.

 Hmm.  Just edited the page successfully from two PCs across the hall 
 from my office (same segment).  One was Win 98, the other Win XP (same 
 as my office), so the OS is not the differentiator.


 (Incidentally, FYI, the Wiki pages do not display correctly on Netscape
 4.76, perhaps indicating a problem with CSS support in an older browser.)

Probably... was it really bad? (Maybe it's enough if I write a note in 
the Site.FAQ that Netscape 4.76 is too old.)

 Aha!  (Or perhaps I should say Aha??)  I turned off my firewall 
 momentarily (scary thing to do here), and an edit went through just 
 fine.  Stranger still, I then turned the firewall back on, and I can 
 still edit the test page.

Ok... I can buy that turning of the firewall (what kind of firewall btw?) 
allows you to edit, but why would it keep working???

 I can't find anything in the firewall log with respect to traffic 
 to/from wiki.lyx.org.  However, there is an entry with a similar IP 
 address (maps to tott.linpro.no).

I think the wiki server is in Norway and here's a funny thing:

wiki.lyx.org is an alias for aussie.lyx.org.
aussie.lyx.org has address 80.232.38.164
tott.linpro.no has address 80.232.38.218

so these two machines are very close... this seems significant since I
don't remember encountering this problem on other wiki servers.

 It's about the right time frame for one of my unsuccessful edit attempts
 (prior to turning the firewall off), and it indicates that the firewall
 blocked 19 ICMP Type 3 (Destination Unreachable) packets from
 tott.linpro.no, apparently in response to traffic I sent.
 
 Ok, this is getting a bit stochastic.  I closed the browser and 
 restarted it, then (with the firewall on) edited the LotsOfText page and 
 tried to save.  The browser hung, and the firewall reported a bunch of 
 ICMP 3 packets from tott.linpro.no.  Fine.  I then ran netstat to check 
 network connections, tried another edit (without shutting down the 
 firewall, without restarting the browser) and the edit went through 
 (!?).  Then I tried another edit, and it failed, but I got no new ICMP 
 packets from tott.linpro.no.  And then another attempt succeeded.

This reminds me of something else that I've noticed... the first time I 
want to upload a file, I have to click on the upload button twice (nothing 
happens after the first click, just as if a request has been sent but 
there's no response).

I'll bring this up on the devel list to see if tott.linpro.no is known.

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Changing Figure Directory in Document

2004-06-09 Thread Rich Shepard
  I have realized that keeping all the figures for my book in the main
directory results in clutter. So I created a subdirectory, figures/ and
moved all the figures there. When I went to the raw .lyx file to change the
pointers from one directory to the other, I could not find anything
directory specific.

  How do I tell the application that figures are now in a different
location? More specifically, can I do this in batch mode or must I open each
one and recreate the link?

TIA,

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com


Re: Can't edit Wiki page

2004-06-09 Thread Paul A. Rubin
Christian Ridderström wrote:
(Incidentally, FYI, the Wiki pages do not display correctly on Netscape
4.76, perhaps indicating a problem with CSS support in an older browser.)

Probably... was it really bad? (Maybe it's enough if I write a note in 
the Site.FAQ that Netscape 4.76 is too old.)
The first time I tried to load the page, it was illegible.  The second 
time, I think I got more or less legible content in the middle, but the 
left-margin menus were shifted up too high, so that the first few links 
overlapped other content and in fact some may have been off the top of 
the page.  (Might be a good idea if someone else blessed with an old 
browser could confirm that.)

Aha!  (Or perhaps I should say Aha??)  I turned off my firewall 
momentarily (scary thing to do here), and an edit went through just 
fine.  Stranger still, I then turned the firewall back on, and I can 
still edit the test page.

Ok... I can buy that turning of the firewall (what kind of firewall btw?)
ZoneAlarm Pro.
allows you to edit, but why would it keep working???
Just to aggravate me?
-- Paul


Re: Changing Figure Directory in Document

2004-06-09 Thread Angus Leeming
Rich Shepard wrote:

   I have realized that keeping all the figures for my book in the main
 directory results in clutter. So I created a subdirectory, figures/ and
 moved all the figures there. When I went to the raw .lyx file to change
 the pointers from one directory to the other, I could not find anything
 directory specific.
 
   How do I tell the application that figures are now in a different
 location? More specifically, can I do this in batch mode or must I open
 each one and recreate the link?

Try the attached script. run it as
$ sh rename.sh your_directory/*.lyx

It'll show you a diff of what it's changed and then prompt you before
overwriting the .lyx file.

-- 
Angus

rename.sh
Description: application/shellscript


Re: Changing Figure Directory in Document

2004-06-09 Thread Rich Shepard
On Wed, 9 Jun 2004, Angus Leeming wrote:

 Try the attached script. run it as
 $ sh rename.sh your_directory/*.lyx

Angus,

  Many thanks! I was trying to do a search-and-replace using emacs on the
.lyx file but didn't see any directory name that needed modifying. So now I
understand that the directory from which the figures were originally were
loaded is encoded somewhere invisible, but prepending the new subdirectory
keeps everyone happy.

Good to know,

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com


Re: Changing Figure Directory in Document

2004-06-09 Thread Angus Leeming
Rich Shepard wrote:
 Try the attached script. run it as
 $ sh rename.sh your_directory/*.lyx
 
 Angus,
 
   Many thanks! I was trying to do a search-and-replace using emacs on
   the
 .lyx file but didn't see any directory name that needed modifying. So
 now I understand that the directory from which the figures were
 originally were loaded is encoded somewhere invisible, but prepending
 the new subdirectory keeps everyone happy.

If you store the images paths as relative to the document directory, (as
here), then everything is much more flexible. You *can* save them as
absolute paths, but why would you?

-- 
Angus



Re: Changing Figure Directory in Document

2004-06-09 Thread Rich Shepard
On Wed, 9 Jun 2004, Angus Leeming wrote:

 If you store the images paths as relative to the document directory, (as
 here), then everything is much more flexible. You *can* save them as
 absolute paths, but why would you?

Angus,

  No reason at all. But, after adding a new figure (from the newly-added
subdirectory) and viewing the compiled output, only the latest figure is
found. :-( I closed the document and reopened it to see if that was
required, but it made no difference. I'll try shutting down lyx and
restarting it before going through the entire book and re-inserting each
figure.

  Have I missed something simple?

Thanks,

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com


Re: Changing Figure Directory in Document

2004-06-09 Thread Rich Shepard
On Wed, 9 Jun 2004, Rich Shepard wrote:

   Have I missed something simple?

  As it turns out, no. But, the shell script did. It did not write the
changes to the file. So, I just did that with a text editor and I'm back to
being a delighted camper with LyX. What a super, high-productivity tool this
is!

Kudos -- and thanks -- to all of you,

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com


Same configuration, same code, but one failed to compile.

2004-06-09 Thread Adinda Praditya
Hi list,...

I have a strange problems. I wrote 2 different books with the same lyx version 
(1.3.2) and conffiguration. The first one has been successfully compiled. The 
other failed.

The last book, at first, i compiled successfully. However, when i add this tex 
code:
===
\addcontentsline{toc}{chapter}{Preface}
\markright{\MakeUppercase{Preface}}
===

I got these two errors:
===
LaTeX Error: Environment bahasa undefined.
 \begin{bahasa}
   
Your command was ignored.
Type  I command return  to replace it with another command,
or  return  to continue without it.
===
and :
===
LaTeX Error: \begin{document} ended by \end{bahasa}.
 \end{bahasa}
 
Your command was ignored.
Type  I command return  to replace it with another command,
or  return  to continue without it.
===

The odd is, if i can compile the first book normally, (with the same 
configuration and same tex code addition), why i couldn't do the same with 
the last one?

Did i misconfigured? I brought you guys my lyx preferences and both lyx files 
of the books. Hope that helps you find the trouble.

Thanks,

Adinda Praditya


### This file is part of
### 
###  LyX, The Document Processor
###
###  Copyright 1995 Matthias Ettrich
###  Copyright 1995-2001 The LyX Team.
###
### 

# This file is written by LyX, if you want to make your own
# modifications you should do them from inside LyX and save

\bind_file mybind

#
# MISC SECTION ##
#

\kbmap true
\kbmap_primary null
\kbmap_secondary arabic

#
# SCREEN  FONTS SECTION 
#

\popup_font_encoding iso8859-1
\screen_dpi 101
\screen_font_roman Arabic Newspaper
\screen_font_sans Arab Naskh Juria
\screen_font_typewriter Courier
\screen_font_encoding iso10646-1

#
# COLOR SECTION ###
#

\set_color cursor #00
\set_color background #faf0e6
\set_color foreground #00
\set_color selection #add8e6
\set_color latex #8b
\set_color preview #00
\set_color note #00
\set_color notebg #00
\set_color depthbar #cd5c5c
\set_color language #ff
\set_color command #00
\set_color commandbg #f0
\set_color commandframe #00
\set_color special #4169e1
\set_color graphicsbg #faf0e6
\set_color math #8b
\set_color mathbg #faf0e6
\set_color mathmacrobg #faf0e6
\set_color mathframe #ff00ff
\set_color mathcursor #00
\set_color mathline #ff
\set_color captionframe #8b
\set_color collapsable #8b
\set_color collapsableframe #cd5c5c
\set_color insetbg #cc
\set_color insetframe #cd5c5c
\set_color error #ff
\set_color eolmarker #a52a2a
\set_color added_space #a52a2a
\set_color appendixline #a52a2a
\set_color topline #a52a2a
\set_color tabularline #00
\set_color tabularonoffline #b0c4de
\set_color bottomarea #66
\set_color pagebreak #4169e1
\set_color top #e5e5e5
\set_color bottom #99
\set_color left #e5e5e5
\set_color right #99
\set_color buttonbg #cc

#
# PRINTER SECTION ###
#


#
# EXPORT SECTION 
#


#
# TEX SECTION ###
#


#
# FILE SECTION ##
#


#
# ASCII EXPORT SECTION ##
#


#
# SPELLCHECKER SECTION ##
#


#
# LANGUAGE SUPPORT SECTION ##
#

\rtl true
\language_package \usepackage[bahasa]{babel} \usepackage{arabtex, iso88596} 
\setcode{iso8859-6}
\language_command_begin \begin{bahasa}
\language_command_end \end{bahasa}
\mark_foreign_language false

#
# 2nd MISC SUPPORT SECTION ##
#

\default_language bahasa

#
# FORMATS SECTION ##
#

\viewer html konqueror file://$$p$$i

#
# CONVERTERS SECTION ##
#

\converter latex html latex2html -no_subdir -split 3 -show_section_numbers $$i 
originaldir,needaux
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass scrbook
\begin_preamble
%%% Hyphenation
\hyphenpenalty=8000
%\raggedright
\sloppy
%abbrvnat,unsrtnat
\end_preamble
\language bahasa
\inputencoding default
\fontscheme default
\graphics default
\paperfontsize 12
\spacing onehalf 
\papersize a4paper
\paperpackage a4wide
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language swedish
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Title

Title Book1
\layout Author

Author
\layout Standard


\begin_inset LatexCommand \tableofcontents{}

\end_inset 


\layout Chapter*

Tentang Dokumen Ini
\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
addcontentsline{toc}{chapter}{Tentang Dokumen 

Re: Re: \hyphenation

2004-06-09 Thread G. Milde
On  8.06.04, [EMAIL PROTECTED] wrote:
> 
> The other problem concerns breaking up small words like \"also\": while it
> might be logically correct 
... 
> Is there a way to stop hypenathion for those small words?

If you use the \sloppy command (in ERT or preamble?), LaTeX is not so fuzzy
about inter word spacing and a lot less hypenathion occures.

Besides this, putting the hyphenation hints into a separate *.tex file and
\input it would be my choice (as Jürgen already suggested).

Regards

Günter

-- 
G.Milde at web.de


Re: Placing Images inside of Tables

2004-06-09 Thread G. Milde
On  8.06.04, Vaclav Smidl wrote:
> On Tuesday 08 June 2004 08:25, Matthew McKay wrote:
> >
> > I am trying to place images inside of a table, however whenever I do so
> > the text in the other columns always starts in line with the bottom of the
> > image.  

This is TeX default behaviour, top alignment means the baseline of the first
line is aligned (which is what you usually want with text lines and
mathematical formula. (The same happens to minipages side-by-side, this is
why aligning the top of figures-side-by-side in a float is difficult.)

> >  Any suggestions on how to get images into tables looking right?

Unfortunately not really. I once had the problem and did a terrible hack with
invisible rectangles (\raisebox). It works at the end, but you need to
know|define the hight of the graphic and insert it in a ERT command and do a
lot of fine-tuning...
 
> What you are looking for is "Vertical alignment" which is (a bit 
> contra-intuitively) in the group with "Column Width". It is grayed-out by 
> default. 
> If you specify width of your columns (e.g. 50 col%), you can select vertical 
> alignment.
> 
> Does it help?

I doubt it, but it might be worth to try...

Günter

-- 
G.Milde at web.de


LyX Win32 installation problem

2004-06-09 Thread Nirmal Govind
Hi.. I was trying to help a friend install Ruurd's win32 version on 
windows. Everything seemed to have gone fine but the configure 
script doesn't seem to be able to find the converters for latex to 
dvi, latex to pdf, ps to pdf etc. We installed MikTeX just before 
installing LyX and I verified that these converters were present. So 
right now the View menu is empty, and so is the export menu in LyX. 
Any ideas on what might be wrong and what I need to do? I don't have 
much experience w/ LyX on Windows so would appreciate any help... 
incidentally, I installed this version on my Windows machine a few 
weeks back and everything went fine. I followed the exact same 
procedure this time too.. only difference I can think of is that 
this friend's machine had some previous version of MikTeX installed, 
which we deleted before installing the latest version...

Thanks,
nirmal


problems with accents (II)

2004-06-09 Thread Stefano Baroni
Dear All:
it seems to me that there are some serious problems with accents in 
LyX. At least with the aqua version for mac that I have

1) Yesterday I reported that I cannot input characters with accent from 
an us keyboard. " " simply does not seem to 
work. For example, "` a" produces "à" on any mac applications, 
but nothink on LyX. "a`" does produce "à", but I did not find any way 
to get "é": "e'" simply gives "e'"

2) The interaction with LaTex seems to be even weirder. Stte the two 
attached latex files. The first was generated by hands and it does not 
display correctly on LyX: the accents are displayed in an empty line, 
followed by a line with unaccented text. The second file, instead, is 
produced by LyX. It contains the only accents that I have been able to 
produce ("grave") inputing "a`  e` i`". The Latex resultin output is 
obviously wrong.

Is this a problem of LyX, of LyX-for-aqua, or of my own configuration?
I am not sure that this is the right place to address one's own wishes, 
but a useful feature which is missing in LyX is the possibility of 
exporting a latex file with a name different from the current file name 
(one is not prompted for a filename to give to the exported file).

many thanks for your advice
Stefano
---
Stefano Baroni---  SISSA  &  DEMOCRITOS National Simulation Center
via Beirut 2-4 34014 Trieste Grignano / [+39] 040 3787 406 (tel) -528 
(fax)

Please, if possible, don't  send me MS Word or PowerPoint attachments
Why? See:  http://www.gnu.org/philosophy/no-word-attachments.html


first-file.tex
Description: TeX document


first-file.lyx
Description: Binary data


second-file.tex
Description: TeX document


second-file.lyx
Description: Binary data


Re: Can't edit Wiki page

2004-06-09 Thread Christian Ridderström
On Tue, 8 Jun 2004, Paul A. Rubin wrote:

> Aarrgh!

I know exactly what you mean...

> > http://wiki.lyx.org/pmwiki.php/Playground/Robin
> 
> I can edit this with no problem.

That was expected.

> > Then maybe you could try and see if you can 
> > edit a page with a lot of content at a different site, i.e.
> > 
> > http://www.pmichaud.com/wiki/Test/LotsOfText
> 
> I can edit this, as well.  In fact, it's a copy of the page I'm trying 
> to edit on the LyX Wiki.

Ok (also expected, and yes, I simply copied the InstantPreviwe-page to a 
different wiki server -- www.pmichaud.com)

> So it does not appear to be a question of the amount of text.

Actually, I think it *is* a matter of the amount of text. The page above 
was on a different server. Here's a link to another page on the lyx wiki 
with lots of text (you shouldn't be able to edit this either):

http://wiki.lyx.org/pmwiki.php/SiteTest/LotsOfText

Just for fun, try and remove more and more text from this page and 
suddenly you should be able to save it -- not that this is any practical 
solution

Do you have some router/gateway at home that might be involved in this? As 
I've said before, I've had this problem intermittently and I have a DI-714 
(I think). Or maybe it's some router/gateway in your network path?

> Using a browser on a remote system did work.  I have no idea why, of course.

This seems to be a problem that only happens when you:
* Do the save from some network (unknown what the characteristics are)
* The page contains more text than some unknown limit

Maybe there is something in the network path that doesn't like posting 
data over a certain size?

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




RE: LyX Win32 installation problem

2004-06-09 Thread Rob S

Hi

In the first instance have a look here:

http://wiki.lyx.org/pmwiki.php/LyX/WindowsSetup

Rob S

> 
> Hi.. I was trying to help a friend install Ruurd's win32 version on
> windows. Everything seemed to have gone fine but the configure
> script doesn't seem to be able to find the converters for latex to
> dvi, latex to pdf, ps to pdf etc. We installed MikTeX just before
> installing LyX and I verified that these converters were present. So
> right now the View menu is empty, and so is the export menu in LyX.
> Any ideas on what might be wrong and what I need to do? I don't have
> much experience w/ LyX on Windows so would appreciate any help...
> incidentally, I installed this version on my Windows machine a few
> weeks back and everything went fine. I followed the exact same
> procedure this time too.. only difference I can think of is that
> this friend's machine had some previous version of MikTeX installed,
> which we deleted before installing the latest version...
> 
> Thanks,
> nirmal




Re: << instead of "

2004-06-09 Thread Jean-Marc Lasgouttes
> "Harold" == Harold Mouras <[EMAIL PROTECTED]> writes:

Harold> Hello, how ca I insert in a Lyx document a symbol << (in
Harold> french) instead of " for english.

If you want to use it for quotes, then take a look at Layout>Document,
in the Language category. Then you can select the type of quotes that
you want to use.

Ohterwise, one can always type french quotes with the compose key:
compose+<+<.

JMarc



Re: changing font family on the fly

2004-06-09 Thread Jean-Marc Lasgouttes
> "Fred" == Fred Nastos <[EMAIL PROTECTED]> writes:

Fred> Is it possible to switch between the font families on-the-fly,
Fred> or do I need to always use Layout->Character->Family? I would
Fred> like to be able to switch between Roman and Typewriter font
Fred> families.

Try "M-c p" and "M-c r"

JMarc



Re: changing font family on the fly

2004-06-09 Thread Helge Hafting
Fred Nastos wrote:
Is it possible to switch between the font families on-the-fly, or
do I need to always use Layout->Character->Family?
I would like to be able to switch between Roman and Typewriter
font families.
 

You need to use layout->character, AFAIK.
My solution for speeding this up, is to leave the layout->character
dialog open (never hit the "ok" button) In the dialog, typewriter
is selected all the time.  Then I write everything
in roman, and select stuff I want in typewriter and hit "apply"
so it changes to typewriter without removing the dialog.
Don't let the main lyx window take up the entire screen, leave enough
room to see the layout->character dialog at the same time.
This way I never have to make changes in the dialog, just mark
and hit apply as needed.  It is reasonably fast, although marking
up with emphasize (ctrl+e) is faster.  If this is the _only_ markup
you do - and you do lots of it - consider using emphasize instead
and use tex to redefine \emph to invoke the typewriter font.
Helge Hafting


Re: font encoding lyx mistery

2004-06-09 Thread Charlls Quarra
 

 Ok after a full night of head scratching & hitting
wall, i discovered what produced this nasty phenomena:

 when i pasted in a editor the .lyx snippet from the
german .lyx file, the editor automatically changed the
_fileencoding_ of the file from latin1 to utf-8. So
the files looked _exactly_ the same on vi, but
different on mozilla and lyx.

 Watch out! this is rather annoying and can make you
feel obnoxious and ready to throw the computer out of
the window


 --- Charlls Quarra <[EMAIL PROTECTED]>
escribió: >  I add two semi-minimal examples of a well
encoded
> .lyx file and a bad encoded one. Note that both
> display correctly encoded characters when viewed
> directly with vi, but they look screwed in
> badenc.lyx
> 
>  Im totally inept to find a difference between the
> headers of both files :-(
> 
> 
> 
>  --- Charlls Quarra <[EMAIL PROTECTED]>
> escribió: > 
> > 
> >  i copied from a german document to my spanish
> > document, before doing the copy exporting the
> > document
> > to latex would produce
> > 
> > transición
> > 
> > but now it produces
> > 
> > transiciÃ\ensuremath{³}n 
> > 
> >  not to mention that it looks screwd up also in
> the
> > lyx window. I tried verifying that
> > Layout->Document->Language  is set as
> > 
> >  Language: spanish
> >  Encoding: auto
> > 
> >  i also verified that
> > edit->preferences->Output->Latex
> > is set to
> > 
> >  Tex encoding: T1
> >  
> > 
> >  So i've run out of ideas where this may be set
> up.
> > I
> > already removed everything from the german
> document,
> > but still the special accent characters looks
> > screwd. 
> > Also the text in the .lyx file is still in correct
> > accent characters so (Thank God) this is only a
> > application screwd that didnt apparently affected
> > the
> > file. However other documents show correctly
> special
> > accent characters so its something special of this
> > file
> > 
> > 
> >  please help :-(
> > 
> 
> 
> Contanos cómo usás el correo electrónico,
> qué pensás del spam y de los virus.
> Encuesta de Correo Yahoo!
> Participá en 
> http://ar.surveys.yahoo.com/ar_mailpr2

> ATTACHMENT part 2 application/octet-stream
name=badenc.lyx


> ATTACHMENT part 3 application/octet-stream
name=goodenc.lyx
 


Contanos cómo usás el correo electrónico,
qué pensás del spam y de los virus.
Encuesta de Correo Yahoo!
Participá en 
http://ar.surveys.yahoo.com/ar_mailpr2


Re: << instead of "

2004-06-09 Thread Pep Roca
A Dimarts 08 Juny 2004 18:18, Harold Mouras va escriure:
> Hello,
>
> how ca I insert in a Lyx document a symbol << (in french) instead of " for
> english.

Layout | Document | Language | Type: Chosse "<<"

Regards. Pep Roca.


problem with oe french ligature

2004-06-09 Thread Harold Mouras
Hello,
I tried to use the command\oe for french ligature in the attached LyX file,
but it is not compiled.
Anybody could say what is wrong in this simple file?
THanks a lot for your help and also for the great mailing list so usefull!!
Harold

-
Harold Mouras
Doctorant/ATER Université Paris 5
Inserm U483
Boite 23
9, quai Saint Bernard
75005 Paris
Téléphone : +33 1 44 27 26 24
Télécopie : +33 1 44 27 34 38
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.701 / Virus Database: 458 - Release Date: 07/06/2004


example.lyx
Description: Binary data


embedding all fonts into .pdf

2004-06-09 Thread Tuukka Toivonen
ICIP 2004 paper upload system requires that _all_ fonts are embedded into
the pdf file (also the 13 standard ones). The tools (pdflatex/ghostscript)
refused initially to do this, and I thought someone would like to hear my
solution or suggest better one. I'm running Debian Stable 3.0.

First, I updated teTeX into version 2 and AFPL Ghostscript into version 8.
Then I replaced file
/etc/texmf/updmap.d/00updmap.cfg
with the new version given in
http://great-white.csee.usf.edu/latex.html
and running update-updmap (the last command is Debian-specific).

This produced embedded fonts from the lyx/tex document, but I had .eps
figures (created with Xfig and gnuplot) that I converted into .pdf with
epstopdf which uses Ghostscript to do the job and the figures still used
non-embedded fonts. My solution was to modify file
/usr/share/gs-afpl/8.14/lib/gs_pdfwr.ps
and change lines

/.standardfonts [
  /Courier /Courier-Bold /Courier-Oblique /Courier-BoldOblique
  /Helvetica /Helvetica-Bold /Helvetica-Oblique /Helvetica-BoldOblique
  /Times-Roman /Times-Bold /Times-Italic /Times-BoldItalic
  /Symbol /ZapfDingbats
] readonly def

into

/.standardfonts [
%  /Courier /Courier-Bold /Courier-Oblique /Courier-BoldOblique
%  /Helvetica /Helvetica-Bold /Helvetica-Oblique /Helvetica-BoldOblique
%  /Times-Roman /Times-Bold /Times-Italic /Times-BoldItalic
%  /Symbol /ZapfDingbats
] readonly def

This change looks quite ugly to me, but everything else (specifically using
-dEmbedAllFonts=true) failed. If someone has better solution, let me know.

pdffonts which comes with xpdf proved to be useful. After the above
changes, it showed that all fonts were embedded:

name type emb sub uni object ID
  --- --- --- -
SSAHIC+NimbusRomNo9L-MediType 1   yes yes no  33  0
UMJGWR+NimbusRomNo9L-ReguItalType 1   yes yes no  36  0
EFBTTN+NimbusRomNo9L-ReguType 1   yes yes no  39  0
OVWQVK+CMR10 Type 1   yes yes no  43  0
SBCRSY+CMSY10Type 1   yes yes no  46  0
BDJSKG+CMMI10Type 1   yes yes no  56  0
GLEXWD+CMR7  Type 1   yes yes no  59  0
CBLBIL+Times-Roman   Type 1C  yes yes no  63  0
NXBGXQ+Helvetica Type 1C  yes yes no 122  0
NXRCNG+Helvetica Type 1C  yes yes no 129  0
FKKSGH+Helvetica Type 1C  yes yes no 136  0
FKKSGH+Helvetica Type 1C  yes yes no 143  0
FABNJM+Helvetica Type 1C  yes yes no 150  0
JODAIJ+Helvetica Type 1C  yes yes no 157  0



Re: problem with oe french ligature

2004-06-09 Thread Nicolas Ferré
Harold Mouras a écrit :
Hello,
I tried to use the command\oe for french ligature in the attached LyX file,
but it is not compiled.
Anybody could say what is wrong in this simple file?
THanks a lot for your help and also for the great mailing list so usefull!!
Harold
-
Harold Mouras
Doctorant/ATER Université Paris 5
Inserm U483
Boite 23
9, quai Saint Bernard
75005 Paris
Téléphone : +33 1 44 27 26 24
Télécopie : +33 1 44 27 34 38
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.701 / Virus Database: 458 - Release Date: 07/06/2004
You should write {\oe}
--
 Dr. Nicolas Ferre'
 Laboratoire de Chimie Theorique et de Modelisation Moleculaire
 UMR 6517 - CNRS Universite' de Provence
 Case 521 - Faculte' de Saint-Jerome
 Av. Esc. Normandie Niemen
 13397 MARSEILLE Cedex 20 (FRANCE)
 Tel : (+33)4.91.28.27.33  Fax : (+33)4.91.28.87.58
 Please avoid sending me Word or PowerPoint attachments.
 See http://www.gnu.org/philosophy/no-word-attachments.html


Re: problem with oe french ligature

2004-06-09 Thread Juergen Spitzmueller
Harold Mouras wrote:

> Hello,
> I tried to use the command\oe for french ligature in the attached LyX
> file, but it is not compiled.
> Anybody could say what is wrong in this simple file?

You have to make clear where the command ends, that is, either write
\oe{}uvre or \oe uvre (TeX interprets the space as end of command).

Jürgen.



RE: problem with oe french ligature

2004-06-09 Thread Rob S
Hi;

Try adding a space after the ERT box, this worked for me

mise en [\oe] uvre



Rob S

> -Original Message-
> From: Harold Mouras [mailto:[EMAIL PROTECTED]
> Sent: 09 June 2004 15:35
> To: Lyx-Users
> Subject: problem with oe french ligature
> 
> Hello,
> I tried to use the command\oe for french ligature in the attached LyX
file,
> but it is not compiled.
> Anybody could say what is wrong in this simple file?
> THanks a lot for your help and also for the great mailing list so
usefull!!
> Harold
> 
> -
> Harold Mouras
> Doctorant/ATER Université Paris 5
> Inserm U483
> Boite 23
> 9, quai Saint Bernard
> 75005 Paris
> Téléphone : +33 1 44 27 26 24
> Télécopie : +33 1 44 27 34 38
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> --
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.701 / Virus Database: 458 - Release Date: 07/06/2004



batch page composition feature request

2004-06-09 Thread William F. Adams
I think I alluded to this a long while ago, but never followed up.
Anyway, here's a feature request --- perhaps the ERT inset could 
instead be a little pop-up menu populated w/ the number of lines one 
could gain / lose and the initial value being a comment w/ the number 
of lines? Say something like:

initial menu:
[0 (+/-0)] (for a paragraph which can't gain / lose)
[0 ( +1/-0] (for a paragraph which can gain one line, but not lose any)
[0 (+2/-1] (for a paragraph which can gain two or lose one)
and when popped up, the last one would look like:
[+2]
[+1]
[0 (+2/-1)]
[-1]
Anyway, here's a post I just made to a thread on comp.text.tex about 
this sort of thing.

David Kastrup wrote:
>> I am working on typesetting books with quite long paragraphs, a fixed
>> line spacing and page layout, where widows on particular and also
>> clubs are frowned upon.  Given the length of the paragraphs, if TeX
>> were to do combined pagebreak/linebreak optimization, most clubs and
>> widows could be avoided easily (by effectively using \looseness for
>> removing them).  As it is, I can only avoid them on pages with
>> footnotes, and only by giving sufficiently stretchably interfootnote
>> spacing.
and Giuseppe asked:
>Multipass processes?
Well, that's the traditional way to fix it.
Find a page w/ a widow or orphan line, look back through the pages, 
find a paragraph which _might_ be amenable to gaining or losing a line, 
add \looseness+/-1% before it and re-tex and see.

As I've noted in the past, I'd dearly love a mechanism whereby TeX 
could evaluate a paragraph and note how many lines it could gain or 
lose and stick that into the output (say as a .pdf annotation). Better 
still would be if LyX (say) could grab that and add it as an ERT (Evil 
Red Text --- raw (La)TeX code) comment above each paragraph.

It was funny, a while back I posted all that I'd learned of page makeup 
to the TYPO-L list asking, ``Is there nothing more? Is this all there 
is to know / do?'' and didn't get a single reply or comment. Later 
correspondence revealed a number of people had printed out my post, and 
used it as a guideline in their composition, or when outsourcing

William
(who is also going to post this to the LyX list, in hope some developer 
there will find it interesting)
--
William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com



RE: LyX Win32 installation problem

2004-06-09 Thread Jim Ragsdale
make sure that in Edit->Preferences->File Formats the viewer box has a path
to the viewer for each type (pdf,ps,dvi,ect.).

> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] Behalf Of Nirmal Govind
> Sent: Wednesday, June 09, 2004 1:11 AM
> To: [EMAIL PROTECTED]
> Subject: LyX Win32 installation problem
>
>
> Hi.. I was trying to help a friend install Ruurd's win32 version on
> windows. Everything seemed to have gone fine but the configure
> script doesn't seem to be able to find the converters for latex to
> dvi, latex to pdf, ps to pdf etc. We installed MikTeX just before
> installing LyX and I verified that these converters were present. So
> right now the View menu is empty, and so is the export menu in LyX.
> Any ideas on what might be wrong and what I need to do? I don't have
> much experience w/ LyX on Windows so would appreciate any help...
> incidentally, I installed this version on my Windows machine a few
> weeks back and everything went fine. I followed the exact same
> procedure this time too.. only difference I can think of is that
> this friend's machine had some previous version of MikTeX installed,
> which we deleted before installing the latest version...
>
> Thanks,
> nirmal
>



Re: LyX Win32 installation problem

2004-06-09 Thread Paul A. Rubin
Nirmal Govind wrote:
Hi.. I was trying to help a friend install Ruurd's win32 version on 
windows. Everything seemed to have gone fine but the configure script 
doesn't seem to be able to find the converters for latex to dvi, latex 
to pdf, ps to pdf etc. We installed MikTeX just before installing LyX 
and I verified that these converters were present. So right now the View 
menu is empty, and so is the export menu in LyX. Any ideas on what might 
be wrong and what I need to do? I don't have much experience w/ LyX on 
Windows so would appreciate any help... incidentally, I installed this 
version on my Windows machine a few weeks back and everything went fine. 
I followed the exact same procedure this time too.. only difference I 
can think of is that this friend's machine had some previous version of 
MikTeX installed, which we deleted before installing the latest version...

Thanks,
nirmal

Four things to consider:
1.  If the user has any other versions of latex installed, make sure 
that they are either deleted, renamed, or appear after MiKTeX on the 
system path.  (I had one machine where the configure script choked on an 
old latex.exe that was part of a Cygwin installation.)

2:  Does Edit | Reconfigure by any chance write a 0 byte textclass.lst 
file?  If so, it's likely to be due to having the wrong version of 
sed.exe.  Ruurd's port ships with sed 3.02; download the GnuWin32 port 
of sed (4.0.7 or later) from SourceForge 
(http://sourceforge.net/projects/gnuwin32/).

3: Make sure that the two files LaTeXConfig.lyx.in and LyXConfig.lyx.in 
exist in the .../share/lyx/doc folder.  They were missing from my last 
download of Ruurd's port.

4: Someone reported on the list that Edit->Reconfigure fails if LyX and 
the user's home directory are on different drives.

-- Paul
**
Paul A. RubinPhone: 
   (517) 432-3509
Department of ManagementFax:  (517) 
432-
The Eli Broad Graduate School of ManagementE-mail:   [EMAIL PROTECTED]
Michigan State University 
http://www.msu.edu/~rubin/
East Lansing, MI  48824-1122  (USA)
**
Mathematicians are like Frenchmen:  whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different.J. W. v. GOETHE



RE: LyX Win32 installation problem

2004-06-09 Thread Rob S
> 
> 4: Someone reported on the list that Edit->Reconfigure fails if LyX
and
> the user's home directory are on different drives.

If this is the problem try this version of configure.bat

http://www.soton.ac.uk/~rds2/configure.bat

to replace the one found in \lyx\share\lyx

(It is there now - I've just put it back - sorry. I'll upload it to the
wikki asap)

Rob S

> 
> -- Paul
> 




Re: Can't edit Wiki page

2004-06-09 Thread Paul A. Rubin
Christian Ridderström wrote:
On Tue, 8 Jun 2004, Paul A. Rubin wrote:

Then maybe you could try and see if you can 
edit a page with a lot of content at a different site, i.e.

	http://www.pmichaud.com/wiki/Test/LotsOfText
I can edit this, as well.  In fact, it's a copy of the page I'm trying 
to edit on the LyX Wiki.

Ok (also expected, and yes, I simply copied the InstantPreviwe-page to a 
different wiki server -- www.pmichaud.com)


So it does not appear to be a question of the amount of text.

Actually, I think it *is* a matter of the amount of text. The page above 
was on a different server.
So you think the text quantity issue is tied to a specific server (as 
opposed to a specific client, or client configuration, or failure to 
make an appropriate propitiation to the gods before clicking "save")?

Here's a link to another page on the lyx wiki 
with lots of text (you shouldn't be able to edit this either):

http://wiki.lyx.org/pmwiki.php/SiteTest/LotsOfText
Just for fun, try and remove more and more text from this page and 
suddenly you should be able to save it -- not that this is any practical 
solution
You're right.  Deleting paragraph 5 did not do the job, but deleting 4 
and 5 let me save it.

Do you have some router/gateway at home that might be involved in this? As 
I've said before, I've had this problem intermittently and I have a DI-714 
(I think). Or maybe it's some router/gateway in your network path?
I do this from my office (Ethernet to OC3 (?) link to regional net).  I 
have a personal firewall on my office PC, and there are allegedly 
firewalls in place between my building and our campus and between our 
campus and Out There.  However, the building firewall (allegedly) only 
filters inbound traffic, and I believe the same holds for the campus 
firewall.  So the edited page should be reaching the server.

Using a browser on a remote system did work.  I have no idea why, of course.

This seems to be a problem that only happens when you:
* Do the save from some network (unknown what the characteristics are)
* The page contains more text than some unknown limit
Maybe there is something in the network path that doesn't like posting 
data over a certain size?
Highly unlikely in my case.  The server I used for a successful remote 
post is on the same network segment as my office PC, so the successful 
and unsucessful traffic should have followed pretty much identical 
routes.  The server has a static IP and my PC gets its IP address by 
DHCP, but that seems unlikely to explain the difference.

Hmm.  Just edited the page successfully from two PCs across the hall 
from my office (same segment).  One was Win 98, the other Win XP (same 
as my office), so the OS is not the differentiator.  (Incidentally, FYI, 
the Wiki pages do not display correctly on Netscape 4.76, perhaps 
indicating a problem with CSS support in an older browser.)

Aha!  (Or perhaps I should say "Aha??")  I turned off my firewall 
momentarily (scary thing to do here), and an edit went through just 
fine.  Stranger still, I then turned the firewall back on, and I can 
still edit the test page.

I can't find anything in the firewall log with respect to traffic 
to/from wiki.lyx.org.  However, there is an entry with a similar IP 
address (maps to tott.linpro.no).  It's about the right time frame for 
one of my unsuccessful edit attempts (prior to turning the firewall 
off), and it indicates that the firewall blocked 19 ICMP Type 3 
(Destination Unreachable) packets from tott.linpro.no, apparently in 
response to traffic I sent.

Ok, this is getting a bit stochastic.  I closed the browser and 
restarted it, then (with the firewall on) edited the LotsOfText page and 
tried to save.  The browser hung, and the firewall reported a bunch of 
ICMP 3 packets from tott.linpro.no.  Fine.  I then ran netstat to check 
network connections, tried another edit (without shutting down the 
firewall, without restarting the browser) and the edit went through 
(!?).  Then I tried another edit, and it failed, but I got no new ICMP 
packets from tott.linpro.no.  And then another attempt succeeded.

If you can find any useful diagnostic information in all that, more 
power to you!

-- Paul
**
Paul A. RubinPhone: 
   (517) 432-3509
Department of ManagementFax:  (517) 
432-
The Eli Broad Graduate School of ManagementE-mail:   [EMAIL PROTECTED]
Michigan State University 
http://www.msu.edu/~rubin/
East Lansing, MI  48824-1122  (USA)
**
Mathematicians are like Frenchmen:  whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different.J. W. v. GOETHE



Re: Can't edit Wiki page

2004-06-09 Thread Christian Ridderström
On Wed, 9 Jun 2004, Paul A. Rubin wrote:

> > Actually, I think it *is* a matter of the amount of text. The page above 
> > was on a different server.
> 
> So you think the text quantity issue is tied to a specific server (as 
> opposed to a specific client, or client configuration, or failure to 
> make an appropriate propitiation to the gods before clicking "save")?

I don't know what I think - the last time I actually tried to get a handle
on this problem nothing made sense really...

> You're right.  Deleting paragraph 5 did not do the job, but deleting 4 
> and 5 let me save it.

So we know this problem only occurs if the size is above a certain limit. 

> I do this from my office (Ethernet to OC3 (?) link to regional net).  I 
> have a personal firewall on my office PC, and there are allegedly 
> firewalls in place between my building and our campus and between our 
> campus and Out There.

The firewall could be a common denominator... my router at home has a 
built in gateway. Actually, I wonder if the problem disappeared when I 
got a new router at home? If I have enough energy I'll see if I can plug 
the old router back in and see if I get problem again.

> However, the building firewall (allegedly) only filters inbound traffic,
> and I believe the same holds for the campus firewall.  So the edited
> page should be reaching the server.


> > This seems to be a problem that only happens when you:
> > * Do the save from some network (unknown what the characteristics are)
> > * The page contains more text than some unknown limit
> > 
> > Maybe there is something in the network path that doesn't like posting 
> > data over a certain size?
> 
> Highly unlikely in my case.  The server I used for a successful remote 
> post is on the same network segment as my office PC, so the successful 
> and unsucessful traffic should have followed pretty much identical 
> routes.

Ok, that's actually good since it means that the problem is "closer".

> The server has a static IP and my PC gets its IP address by DHCP, but
> that seems unlikely to explain the difference.

I agree.

> Hmm.  Just edited the page successfully from two PCs across the hall 
> from my office (same segment).  One was Win 98, the other Win XP (same 
> as my office), so the OS is not the differentiator.


> (Incidentally, FYI, the Wiki pages do not display correctly on Netscape
> 4.76, perhaps indicating a problem with CSS support in an older browser.)

Probably... was it really bad? (Maybe it's enough if I write a note in 
the Site.FAQ that Netscape 4.76 is too old.)

> Aha!  (Or perhaps I should say "Aha??")  I turned off my firewall 
> momentarily (scary thing to do here), and an edit went through just 
> fine.  Stranger still, I then turned the firewall back on, and I can 
> still edit the test page.

Ok... I can buy that turning of the firewall (what kind of firewall btw?) 
allows you to edit, but why would it keep working???

> I can't find anything in the firewall log with respect to traffic 
> to/from wiki.lyx.org.  However, there is an entry with a similar IP 
> address (maps to tott.linpro.no).

I think the wiki server is in Norway and here's a funny thing:

wiki.lyx.org is an alias for aussie.lyx.org.
aussie.lyx.org has address 80.232.38.164
tott.linpro.no has address 80.232.38.218

so these two machines are very close... this seems significant since I
don't remember encountering this problem on other wiki servers.

> It's about the right time frame for one of my unsuccessful edit attempts
> (prior to turning the firewall off), and it indicates that the firewall
> blocked 19 ICMP Type 3 (Destination Unreachable) packets from
> tott.linpro.no, apparently in response to traffic I sent.
> 
> Ok, this is getting a bit stochastic.  I closed the browser and 
> restarted it, then (with the firewall on) edited the LotsOfText page and 
> tried to save.  The browser hung, and the firewall reported a bunch of 
> ICMP 3 packets from tott.linpro.no.  Fine.  I then ran netstat to check 
> network connections, tried another edit (without shutting down the 
> firewall, without restarting the browser) and the edit went through 
> (!?).  Then I tried another edit, and it failed, but I got no new ICMP 
> packets from tott.linpro.no.  And then another attempt succeeded.

This reminds me of something else that I've noticed... the first time I 
want to upload a file, I have to click on the upload button twice (nothing 
happens after the first click, just as if a request has been sent but 
there's no response).

I'll bring this up on the devel list to see if tott.linpro.no is known.

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Changing Figure Directory in Document

2004-06-09 Thread Rich Shepard
  I have realized that keeping all the figures for my book in the main
directory results in clutter. So I created a subdirectory, figures/ and
moved all the figures there. When I went to the raw .lyx file to change the
pointers from one directory to the other, I could not find anything
directory specific.

  How do I tell the application that figures are now in a different
location? More specifically, can I do this in batch mode or must I open each
one and recreate the link?

TIA,

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)



Re: Can't edit Wiki page

2004-06-09 Thread Paul A. Rubin
Christian Ridderström wrote:
(Incidentally, FYI, the Wiki pages do not display correctly on Netscape
4.76, perhaps indicating a problem with CSS support in an older browser.)

Probably... was it really bad? (Maybe it's enough if I write a note in 
the Site.FAQ that Netscape 4.76 is too old.)
The first time I tried to load the page, it was illegible.  The second 
time, I think I got more or less legible content in the middle, but the 
left-margin menus were shifted up too high, so that the first few links 
overlapped other content and in fact some may have been off the top of 
the page.  (Might be a good idea if someone else blessed with an old 
browser could confirm that.)

Aha!  (Or perhaps I should say "Aha??")  I turned off my firewall 
momentarily (scary thing to do here), and an edit went through just 
fine.  Stranger still, I then turned the firewall back on, and I can 
still edit the test page.

Ok... I can buy that turning of the firewall (what kind of firewall btw?)
ZoneAlarm Pro.
allows you to edit, but why would it keep working???
Just to aggravate me?
-- Paul


Re: Changing Figure Directory in Document

2004-06-09 Thread Angus Leeming
Rich Shepard wrote:

>   I have realized that keeping all the figures for my book in the main
> directory results in clutter. So I created a subdirectory, figures/ and
> moved all the figures there. When I went to the raw .lyx file to change
> the pointers from one directory to the other, I could not find anything
> directory specific.
> 
>   How do I tell the application that figures are now in a different
> location? More specifically, can I do this in batch mode or must I open
> each one and recreate the link?

Try the attached script. run it as
$ sh rename.sh your_directory/*.lyx

It'll show you a diff of what it's changed and then prompt you before
overwriting the .lyx file.

-- 
Angus

rename.sh
Description: application/shellscript


Re: Changing Figure Directory in Document

2004-06-09 Thread Rich Shepard
On Wed, 9 Jun 2004, Angus Leeming wrote:

> Try the attached script. run it as
> $ sh rename.sh your_directory/*.lyx

Angus,

  Many thanks! I was trying to do a search-and-replace using emacs on the
.lyx file but didn't see any directory name that needed modifying. So now I
understand that the directory from which the figures were originally were
loaded is encoded somewhere invisible, but prepending the new subdirectory
keeps everyone happy.

Good to know,

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)



Re: Changing Figure Directory in Document

2004-06-09 Thread Angus Leeming
Rich Shepard wrote:
>> Try the attached script. run it as
>> $ sh rename.sh your_directory/*.lyx
> 
> Angus,
> 
>   Many thanks! I was trying to do a search-and-replace using emacs on
>   the
> .lyx file but didn't see any directory name that needed modifying. So
> now I understand that the directory from which the figures were
> originally were loaded is encoded somewhere invisible, but prepending
> the new subdirectory keeps everyone happy.

If you store the images paths as relative to the document directory, (as
here), then everything is much more flexible. You *can* save them as
absolute paths, but why would you?

-- 
Angus



Re: Changing Figure Directory in Document

2004-06-09 Thread Rich Shepard
On Wed, 9 Jun 2004, Angus Leeming wrote:

> If you store the images paths as relative to the document directory, (as
> here), then everything is much more flexible. You *can* save them as
> absolute paths, but why would you?

Angus,

  No reason at all. But, after adding a new figure (from the newly-added
subdirectory) and viewing the compiled output, only the latest figure is
found. :-( I closed the document and reopened it to see if that was
required, but it made no difference. I'll try shutting down lyx and
restarting it before going through the entire book and re-inserting each
figure.

  Have I missed something simple?

Thanks,

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)



Re: Changing Figure Directory in Document

2004-06-09 Thread Rich Shepard
On Wed, 9 Jun 2004, Rich Shepard wrote:

>   Have I missed something simple?

  As it turns out, no. But, the shell script did. It did not write the
changes to the file. So, I just did that with a text editor and I'm back to
being a delighted camper with LyX. What a super, high-productivity tool this
is!

Kudos -- and thanks -- to all of you,

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)



Same configuration, same code, but one failed to compile.

2004-06-09 Thread Adinda Praditya
Hi list,...

I have a strange problems. I wrote 2 different books with the same lyx version 
(1.3.2) and conffiguration. The first one has been successfully compiled. The 
other failed.

The last book, at first, i compiled successfully. However, when i add this tex 
code:
===
\addcontentsline{toc}{chapter}{Preface}
\markright{\MakeUppercase{Preface}}
===

I got these two errors:
===
LaTeX Error: Environment bahasa undefined.
 \begin{bahasa}
   
Your command was ignored.
Type  Ito replace it with another command,
orto continue without it.
===
and :
===
LaTeX Error: \begin{document} ended by \end{bahasa}.
 \end{bahasa}
 
Your command was ignored.
Type  Ito replace it with another command,
orto continue without it.
===

The odd is, if i can compile the first book normally, (with the same 
configuration and same tex code addition), why i couldn't do the same with 
the last one?

Did i misconfigured? I brought you guys my lyx preferences and both lyx files 
of the books. Hope that helps you find the trouble.

Thanks,

Adinda Praditya


### This file is part of
### 
###  LyX, The Document Processor
###
###  Copyright 1995 Matthias Ettrich
###  Copyright 1995-2001 The LyX Team.
###
### 

# This file is written by LyX, if you want to make your own
# modifications you should do them from inside LyX and save

\bind_file mybind

#
# MISC SECTION ##
#

\kbmap true
\kbmap_primary "null"
\kbmap_secondary "arabic"

#
# SCREEN & FONTS SECTION 
#

\popup_font_encoding "iso8859-1"
\screen_dpi 101
\screen_font_roman "Arabic Newspaper"
\screen_font_sans "Arab Naskh Juria"
\screen_font_typewriter "Courier"
\screen_font_encoding "iso10646-1"

#
# COLOR SECTION ###
#

\set_color "cursor" "#00"
\set_color "background" "#faf0e6"
\set_color "foreground" "#00"
\set_color "selection" "#add8e6"
\set_color "latex" "#8b"
\set_color "preview" "#00"
\set_color "note" "#00"
\set_color "notebg" "#00"
\set_color "depthbar" "#cd5c5c"
\set_color "language" "#ff"
\set_color "command" "#00"
\set_color "commandbg" "#f0"
\set_color "commandframe" "#00"
\set_color "special" "#4169e1"
\set_color "graphicsbg" "#faf0e6"
\set_color "math" "#8b"
\set_color "mathbg" "#faf0e6"
\set_color "mathmacrobg" "#faf0e6"
\set_color "mathframe" "#ff00ff"
\set_color "mathcursor" "#00"
\set_color "mathline" "#ff"
\set_color "captionframe" "#8b"
\set_color "collapsable" "#8b"
\set_color "collapsableframe" "#cd5c5c"
\set_color "insetbg" "#cc"
\set_color "insetframe" "#cd5c5c"
\set_color "error" "#ff"
\set_color "eolmarker" "#a52a2a"
\set_color "added_space" "#a52a2a"
\set_color "appendixline" "#a52a2a"
\set_color "topline" "#a52a2a"
\set_color "tabularline" "#00"
\set_color "tabularonoffline" "#b0c4de"
\set_color "bottomarea" "#66"
\set_color "pagebreak" "#4169e1"
\set_color "top" "#e5e5e5"
\set_color "bottom" "#99"
\set_color "left" "#e5e5e5"
\set_color "right" "#99"
\set_color "buttonbg" "#cc"

#
# PRINTER SECTION ###
#


#
# EXPORT SECTION 
#


#
# TEX SECTION ###
#


#
# FILE SECTION ##
#


#
# ASCII EXPORT SECTION ##
#


#
# SPELLCHECKER SECTION ##
#


#
# LANGUAGE SUPPORT SECTION ##
#

\rtl true
\language_package "\usepackage[bahasa]{babel} \usepackage{arabtex, iso88596} 
\setcode{iso8859-6}"
\language_command_begin "\begin{bahasa}"
\language_command_end "\end{bahasa}"
\mark_foreign_language false

#
# 2nd MISC SUPPORT SECTION ##
#

\default_language bahasa

#
# FORMATS SECTION ##
#

\viewer "html" "konqueror file://$$p$$i"

#
# CONVERTERS SECTION ##
#

\converter "latex" "html" "latex2html -no_subdir -split 3 -show_section_numbers $$i" 
"originaldir,needaux"
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass scrbook
\begin_preamble
%%% Hyphenation
\hyphenpenalty=8000
%\raggedright
\sloppy
%abbrvnat,unsrtnat
\end_preamble
\language bahasa
\inputencoding default
\fontscheme default
\graphics default
\paperfontsize 12
\spacing onehalf 
\papersize a4paper
\paperpackage a4wide
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language swedish
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Title

Title Book1
\layout Author

Author
\layout Standard


\begin_inset LatexCommand \tableofcontents{}

\end_inset 


\layout