Re: typesetting an algorithm

2004-04-26 Thread Raphael Clifford
Thanks for the reply.

Does this mean that there is currently *no* layout for the algorithm.sty 
in lyx?  I am stuck using enumerate and \quad at the moment which 
doesn't seem quite right.

Cheers,
Raphael
Stefaan Himpe wrote:

As far as I know the LyX algorithm is not related
to algorithm.sty; it is more like an
environment which, like verbatim, obeys user typed spaces, but,
unlike verbatim, also allows math, boldface, etc...
One thing that bites many users: when exporting
to Latex, LyX inserts empty lines between two lines
in the algorithm environment. If I recall correctly
this can be avoided by using ctrl-enter to go to a
new line inside the algorithm environment.
I normally use an external package (e.g. listings.sty
if you want to typeset code) and insert everything with ert.
Stefaan.
Raphael Clifford wrote:
I am writing a paper in article (AMS) and need to typeset some 
algorithms.  I see that there is an algorithm environmnent defined. I 
am sorry if I have missed them but are there any docs for using this 
environment in lyx?  It is not clear to me what the correct way to do 
the indentation etc is.

Cheers,
Raphael







Re: Graphics missing in PDF/PS, SGML export??

2004-04-26 Thread Jose' Matos
On Sunday 25 April 2004 15:44, Alex Brown wrote:

 Any ideas?  Thanks in advance.

  No, both images and tables didn't work in previous versions but it 
will in next, 1.4. :-)

 Alex Brown [EMAIL PROTECTED]

-- 
José Abílio

LyX and docbook, a perfect match. :-)


Re: Two pictures side by side

2004-04-26 Thread Helge Hafting
Roland Schmitz wrote:
Hi,

after reading, testing, ... here's my solution, in a ERT:

\begin{figure}[H]
  \parbox{.48\linewidth}
  {
\centering\includegraphics*{pic1.ps}
\caption{Picture 1}
  }
  \hfill
  \parbox{.48\linewidth}
  {
\centering\includegraphics*{pic2.ps}
\caption{Picture 2}
  }
\end{figure}
Here both pictures a placed side-by-side, each with a separate caption, an 
each with a separate entry in the list of figures.

This solution is fine.  Note that the same is possible without ERT too,
because lyx support all these commands natively.  (Well, lyx doesn't
support parbox, but minipage does the same thing.)
My way of doing this is:
Insert a figure float. Go inside, set the paragraph type to 
satandard instead of the default caption Insert two minipages inside the float
(insert-minipage)  with a hfill (insert-special-hfill) between them.
Set each minipage to 50% of COL or less.
In each minipage, include graphichs (insert-graphichs)  Center 
the graphichs using layout-pragraph.
Press enter after each graphich, to get a new paragraph. 
Set the paragraph type to caption, and enter caption text.

Helge Hafting



Re: ASCII considered obscure

2004-04-26 Thread Helge Hafting
Reuben Thomas wrote:
When importing text into an OpenOffice document, I suggested to a naïve
user that she export the LyX document as text. She had two problems, both
of which merit attention to LyX's menus, I think.
First, in most programs, Text is a file type listed on the save dialog,
not under Export, which tends to be reserved for non-editable formats
such as PDF. This is certainly the case in most word processors. Hence,
she was confused because there was no option in Save as to change the
file type to text.
Well, I wouldn't want any document types under save as.
Word processors that offer save as...document type tend to fully
support working with those document types, and remember to keep
using that type for subsequent saves. Lyx works with lyx documents, I
don't see any other choices there.
Export means to create a file in a different format for _some other_
software to use. I.e. lyx won't necessarily support the exported
file in any way.  Which is true for things like pdf.
Secondly, and much easier to fix, she then said but there's no option to
export as text. She didn't know that ASCII means plain text. I suggest
the menu entry be changed to say Plain text or similar, again, in line
with most wordprocessors.
I agree to this, plain text is a better word here.

Helge Hafting




multiple views?

2004-04-26 Thread Chris Menzel
Poking around in the developers' list archives, it appears there are plans
eventually to add to LyX the capability to have multiple views on one's buffer.
This is one of the few things I miss when I use LyX rather than emacs.  Do any
of those superlative developers have an idea when we grateful users might see
that feature?

Chris Menzel



Re: multiple views?

2004-04-26 Thread Angus Leeming
Chris Menzel wrote:

 Poking around in the developers' list archives, it appears there are
 plans eventually to add to LyX the capability to have multiple views
 on one's buffer.
 This is one of the few things I miss when I use LyX rather than
 emacs.  Do any of those superlative developers have an idea when we
 grateful users might see that feature?

Not in LyX 1.4, which I regard as something like the culmination of 
the code clean-up that was started in LyX 1.1. (If such a process can 
ever be culminated.)

Most (all?) of the fundamental reasons why we couldn't do it before 
have now been removed. Lots of people (developers included) are 
thinking seriously about how to proceed from here. I think that it's 
fair to say that multiple views have not been forgotten.

-- 
Angus



help with accents

2004-04-26 Thread Beny Spira
I am writing a document at work and at home. At work my keyboard is
ABTN2 (brazilian keyboard layout) and at home is an english
(international) keyboard, so the position of the accents (~; ^; '; `) is
different in each keyboard. When the document was transferred to the
computer with the ABTN-2 keyboard, all letters that contain accents have
just disappeared (and there is a lot a such letters in portuguese). May
anyone help me to fix it out? I would not like to  go through the whole
document to spellcheck every word.
Thanx
Beny
-- 
%
Beny Spira
Departamento de Microbiologia
Instituto de Ciências Biomédicas
Universidade de São Paulo
Av. Prof. Lineu Prestes 1374
São Paulo-SPCEP:05508-900
Tel: 5511-3091-7347
FAX: 5511-3091-7354
E-mail: [EMAIL PROTECTED]
%


Re: help with accents

2004-04-26 Thread Angus Leeming
Beny Spira wrote:

 I am writing a document at work and at home. At work my keyboard is
 ABTN2 (brazilian keyboard layout) and at home is an english
 (international) keyboard, so the position of the accents (~; ^; ';
 `) is different in each keyboard. When the document was transferred
 to the computer with the ABTN-2 keyboard, all letters that contain
 accents have just disappeared (and there is a lot a such letters in
 portuguese). May
 anyone help me to fix it out? I would not like to  go through the
 whole document to spellcheck every word.

Could you post a (short) example lyx document that works on your home 
machine and not on your work one.

-- 
Angus



Re: help with accents

2004-04-26 Thread Beny Spira
 Could you post a (short) example lyx document that works on your home 
 machine and not on your work one.


Sure, but first i would like to make something clear. The original
document was written at work (with the ABTN2 keyboard), I continued to
work on it at home (english keyboard) and today I sent it back to work.
Then the problem with the accents appeared.
Here is a small sample of the output in lyx:
H uma estrutura secundria de RNA localizada na regio intergenica entre
pstS e pstC, cuja presena foi demonstrada pela tcnica de extenso de
primer 
But it should be:
Há uma estrutura secundária de RNA localizada na região intergenica
entre pstS e pstC, cuja presença foi demonstrada pela técnica de
extensão de primer

Beny

-- 
%
Beny Spira
Departamento de Microbiologia
Instituto de Ciências Biomédicas
Universidade de São Paulo
Av. Prof. Lineu Prestes 1374
São Paulo-SPCEP:05508-900
Tel: 5511-3091-7347
FAX: 5511-3091-7354
E-mail: [EMAIL PROTECTED]
%


Re: multiple views?

2004-04-26 Thread Andre' Poenitz
On Mon, Apr 26, 2004 at 08:17:48AM -0500, Chris Menzel wrote:
 Poking around in the developers' list archives, it appears there are
 plans eventually to add to LyX the capability to have multiple views
 on one's buffer.  This is one of the few things I miss when I use LyX
 rather than emacs.  Do any of those superlative developers have an
 idea when we grateful users might see that feature?

It will take a while. Currently, the possibility to have multiple
viewssome day is just some kind of sanity check to judge whether a given
patch is good or bad.

The main problem is that the document data (i.e. the actual characters
of the document) and 'presentational' data (i.e. what character is
displayed at what position of a row) a not well enough separated. Things
have improved lately but I doubt 1.5 will come with mutiple views.
Certainly not 1.4.

Andre'


Re: typesetting an algorithm

2004-04-26 Thread Andre' Poenitz
On Mon, Apr 26, 2004 at 11:03:42AM +0100, Raphael Clifford wrote:
 Thanks for the reply.
 
 Does this mean that there is currently *no* layout for the algorithm.sty 
 in lyx?  I am stuck using enumerate and \quad at the moment which 
 doesn't seem quite right.

Well, I use \quad and the LyX code layout. This produces real ugly LaTeX
but works.

Of course, proper support for algorithm.sty would be nice (and should
not be too hard to do...)

Andre', waiting for volunteers.


Re: typesetting an algorithm

2004-04-26 Thread Raphael Clifford
Andre' Poenitz wrote:

On Mon, Apr 26, 2004 at 11:03:42AM +0100, Raphael Clifford wrote:
 

Thanks for the reply.

Does this mean that there is currently *no* layout for the algorithm.sty 
in lyx?  I am stuck using enumerate and \quad at the moment which 
doesn't seem quite right.
   

Well, I use \quad and the LyX code layout. This produces real ugly LaTeX
but works.
Of course, proper support for algorithm.sty would be nice (and should
not be too hard to do...)
Andre', waiting for volunteers.

 

Hi,
Does this mean that 
http://www.educat.hu-berlin.de/~voss/lyx/algorithm/algo-0.3.tar.gz has 
completely dissapeared? According to the mail list archives it even 
contained a sample lyx file in it.  That was as of December 2003.

Cheers,
Raphael


Help on siamltex document class or something better

2004-04-26 Thread huanyuan sheng
Any help is appreciated.

If you have no idea about siamltex, could you recommend a good simple document class 
that can be installed into lyx and contains all the theorem, lemma and proof ... 
environments? I don't like AMS document class for some reasons. Just want something 
simple as default article class + those maths enviroments. 

If you have tried siamltex article class, you may want to continue.

I am having some problems of using siamltex document class.

First, I downloaded siamltex.tar from www.siam.org and texhashed them into the 
database. Then I downloaded siamltex.layout 1.7 and put them into $HOME/.lyx/layouts/. 
After that I reconfigured the lyx and it found siamltex class with yes, no complain.

But when I tried to write articles using siamltex document class, I encountered two 
problems:
1. Latex compiler seems to have problems with table of contents created by siamltex 
document class. The error message is Undefined control sequence \tableofcontents {}.
2.Though I could set the environment change in lyx while writing a paper, i.e. changes 
for theorem, lemma , proof..., they all disappear when I view them in xdvi. I checked 
corresponding .tex file generated by lyx and found out that those environment 
definitions are not inserted into tex file. I guess this might be the reason why xdvi 
couldn't display them properly. 

If I switch to article (AMS) document class, all those problems are gone.

My machine is dell inspiron 8200. OS is linux redhat8.0. Lyx version is 1.3.3 and 
latex version (according to latex configuration file generated by lyx) is 2000/06/01. 
And I am not very good at latex.

Wayne






Re: typesetting an algorithm

2004-04-26 Thread Angus Leeming
Raphael Clifford wrote:
 Hi,
 Does this mean that
 http://www.educat.hu-berlin.de/~voss/lyx/algorithm/algo-0.3.tar.gz
 has completely dissapeared? According to the mail list archives it
 even
 contained a sample lyx file in it.  That was as of December 2003.

Why not drop Herbert a private email...

-- 
Angus



LyX and VNC, font problem

2004-04-26 Thread Alexander Stasinski
Dear LyX users,

I am using LyX through a VNC display. Everything works fine, except that 
fonts in LyX display in a very low resolution. Trying to modify the font 
settings (fixed or scalable, screen DPI) in lyxrc did not change a thing.
I have made sure that VNC can access all fonts in my X system, and Mozilla 
displays perfectly, so it seems the problem lies with LyX.
Upon starting LyX in VNC I get the message:

Xlib:  extension GLX missing on display :1.0.

Can this be some kind of bug in Xlib, or is it something else?

Best regards,
Alex



This message has been scanned but we cannot guarantee that it and any
attachments are free from viruses or other damaging content: you are
advised to perform your own checks.  Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.



Re: costumization of italics

2004-04-26 Thread Beny Spira
 If pressing two keys is too expensive (and I agree there are situations
 like that), maybe you should just write your document without any such
 markup and rather add it add the end using a simple script.
 
 Andre'

Thanks Andre
Yes, it is indeed the case. I have to spend a lot of time pressing again
and again c^E. I would appreciate if you could explain me or suggest a
literature where I could learn about making a script for this task.
Beny

-- 
%
Beny Spira
Departamento de Microbiologia
Instituto de Ciências Biomédicas
Universidade de São Paulo
Av. Prof. Lineu Prestes 1374
São Paulo-SPCEP:05508-900
Tel: 5511-3091-7347
FAX: 5511-3091-7354
E-mail: [EMAIL PROTECTED]
%


Re: help with accents

2004-04-26 Thread Marc Jeffrey Driftmeyer
Beny,

Sounds like a localization issue with the locales package installed on your 
system.  Since you don't list the operating system you have running and what 
locales package support you have installed versus that of the other system I 
would check this as an option to investigate.  

I'd also check whether or not your TeX/LaTeX installation wasn't corrupted by 
any chance. 

-Marc J. Driftmeyer

On Monday 26 April 2004 08:49, Beny Spira wrote:
  Could you post a (short) example lyx document that works on your home
  machine and not on your work one.

 Sure, but first i would like to make something clear. The original
 document was written at work (with the ABTN2 keyboard), I continued to
 work on it at home (english keyboard) and today I sent it back to work.
 Then the problem with the accents appeared.
 Here is a small sample of the output in lyx:
 H uma estrutura secundria de RNA localizada na regio intergenica entre
 pstS e pstC, cuja presena foi demonstrada pela tcnica de extenso de
 primer
 But it should be:
 Há uma estrutura secundária de RNA localizada na região intergenica
 entre pstS e pstC, cuja presença foi demonstrada pela técnica de
 extensão de primer

 Beny


Re: Graphics missing in PDF/PS, SGML export??

2004-04-26 Thread Alex Brown
Jose' Matos wrote:

On Sunday 25 April 2004 15:44, Alex Brown wrote:
 

Any ideas?  Thanks in advance.
   

 No, both images and tables didn't work in previous versions but it 
will in next, 1.4. :-)

 

Alex Brown [EMAIL PROTECTED]
   

 

Hmm, I have a clear memory of using graphics with Linuxdoc but I must be 
wrong.  Time to get going with Docbook, I suppose.  I have found a 
helpful comment on Docbook tools handling of graphics at 
http://articles.linuxguru.net/view/202#AEN6 -- each target file format 
requires a different graphics file type:

   *

  In your document do not specify the file type, as each
  conversion routine will expect a different extension, except the
  HTML conversion which takes this literally. This is why I asked
  you above not to have the .png extension on your PNG files. The
  browser can determine the file type anyway. Here is an example
  for a screen shot:
screenshot
screeninfoEmacs 21 Graphical Menus in X/screeninfo
  graphic fileref=graphic/emacs-21-graphic-menu/graphic
/screenshot
	  

Sounds like this can be made to work.



--
Alex Brown [EMAIL PROTECTED] +1 617 308 9456


How to visually divide between Picture Captions and Test

2004-04-26 Thread georg-philipp.burth

Hello!

I'm just writing my thesis with this great program, but now I stumbled over a
style problem...

When I add a picture in a float this picture may be set as top on a side.
Unfortunately the caption has to be below the picture and is in the same style
as the normal text, so it's sometimes difficult to see where to read further.

Is there a possibility to change the style of the caption or, perhaps better,
add a horizontal line between caption and text (or something like that)?

I assume I could do this with a forced newline and \hrule in the caption, but
this would not look too good in the List of Figures -- and I would have to
manually add it when needed...

Thanks for helping me
  Philipp


Re: multiple views?

2004-04-26 Thread Chris Menzel
My thanks to Andre and Angus for the informative replies.

Chris Menzel



Docbook export:

2004-04-26 Thread Alex Brown
Alex Brown wrote to [EMAIL PROTECTED]:

...  Time to get going with Docbook, I suppose. 

Chris -- I've found your excellent http://www.karakas-online.de/mySGML/  
-- thanks very much.  (For lyx-users, this provides some shell scripts 
esp. lyxtox that drive several large engines.)  Your approach is:

Chris Karakas [EMAIL PROTECTED] wrote:

   *

  We will put everything in a shell script. We don't want to
  bother about anything else. We want to ponder comfortably upon
  the meaning of life while drinking some coffee or tea, watching
  our computer do the work for us - personally, a very rewarding
  experience :-)
   *

  We will use sed
  http://www.gnu.org/software/sed/manual/sed.html to correct
  LyX' SGML output. The more we are able to correct, the more SGML
  features we get out of our plain vanilla LyX.
   *

  We use the sgmltools http://www.sgmltools.org package which
  hides a lot of details from the end user, giving nonetheless all
  the power of the involved tools.
   *

  We will adapt the DocBook DSSSL stylesheets
  http://docbook.sourceforge.net/projects/dsssl/ to our personal
  needs and taste.
   *

  The end product shall be a directory ready to upload to our web
  server with all files, links, images and formats necessary.

It seems usable, but it's a substantial investment of time just to get 
the tools and configuration set up.  Is this still the easiest way (in 
your opinion) to produce the various product files from LyX generated 
DocBook SGML?  Any changes for recent LyX, esp 1.4?

Any comments would be appreciated.

--
Alex Brown [EMAIL PROTECTED] +1 617 308 9456


Re: typesetting an algorithm

2004-04-26 Thread Raphael Clifford
Thanks for the reply.

Does this mean that there is currently *no* layout for the algorithm.sty 
in lyx?  I am stuck using enumerate and \quad at the moment which 
doesn't seem quite right.

Cheers,
Raphael
Stefaan Himpe wrote:

As far as I know the LyX algorithm is not related
to algorithm.sty; it is more like an
environment which, like verbatim, obeys user typed spaces, but,
unlike verbatim, also allows math, boldface, etc...
One thing that bites many users: when exporting
to Latex, LyX inserts empty lines between two lines
in the algorithm environment. If I recall correctly
this can be avoided by using ctrl-enter to go to a
new line inside the algorithm environment.
I normally use an external package (e.g. listings.sty
if you want to typeset code) and insert everything with ert.
Stefaan.
Raphael Clifford wrote:
I am writing a paper in article (AMS) and need to typeset some 
algorithms.  I see that there is an algorithm environmnent defined. I 
am sorry if I have missed them but are there any docs for using this 
environment in lyx?  It is not clear to me what the correct way to do 
the indentation etc is.

Cheers,
Raphael







Re: Graphics missing in PDF/PS, SGML export??

2004-04-26 Thread Jose' Matos
On Sunday 25 April 2004 15:44, Alex Brown wrote:

 Any ideas?  Thanks in advance.

  No, both images and tables didn't work in previous versions but it 
will in next, 1.4. :-)

 Alex Brown [EMAIL PROTECTED]

-- 
José Abílio

LyX and docbook, a perfect match. :-)


Re: Two pictures side by side

2004-04-26 Thread Helge Hafting
Roland Schmitz wrote:
Hi,

after reading, testing, ... here's my solution, in a ERT:

\begin{figure}[H]
  \parbox{.48\linewidth}
  {
\centering\includegraphics*{pic1.ps}
\caption{Picture 1}
  }
  \hfill
  \parbox{.48\linewidth}
  {
\centering\includegraphics*{pic2.ps}
\caption{Picture 2}
  }
\end{figure}
Here both pictures a placed side-by-side, each with a separate caption, an 
each with a separate entry in the list of figures.

This solution is fine.  Note that the same is possible without ERT too,
because lyx support all these commands natively.  (Well, lyx doesn't
support parbox, but minipage does the same thing.)
My way of doing this is:
Insert a figure float. Go inside, set the paragraph type to 
satandard instead of the default caption Insert two minipages inside the float
(insert-minipage)  with a hfill (insert-special-hfill) between them.
Set each minipage to 50% of COL or less.
In each minipage, include graphichs (insert-graphichs)  Center 
the graphichs using layout-pragraph.
Press enter after each graphich, to get a new paragraph. 
Set the paragraph type to caption, and enter caption text.

Helge Hafting



Re: ASCII considered obscure

2004-04-26 Thread Helge Hafting
Reuben Thomas wrote:
When importing text into an OpenOffice document, I suggested to a naïve
user that she export the LyX document as text. She had two problems, both
of which merit attention to LyX's menus, I think.
First, in most programs, Text is a file type listed on the save dialog,
not under Export, which tends to be reserved for non-editable formats
such as PDF. This is certainly the case in most word processors. Hence,
she was confused because there was no option in Save as to change the
file type to text.
Well, I wouldn't want any document types under save as.
Word processors that offer save as...document type tend to fully
support working with those document types, and remember to keep
using that type for subsequent saves. Lyx works with lyx documents, I
don't see any other choices there.
Export means to create a file in a different format for _some other_
software to use. I.e. lyx won't necessarily support the exported
file in any way.  Which is true for things like pdf.
Secondly, and much easier to fix, she then said but there's no option to
export as text. She didn't know that ASCII means plain text. I suggest
the menu entry be changed to say Plain text or similar, again, in line
with most wordprocessors.
I agree to this, plain text is a better word here.

Helge Hafting




multiple views?

2004-04-26 Thread Chris Menzel
Poking around in the developers' list archives, it appears there are plans
eventually to add to LyX the capability to have multiple views on one's buffer.
This is one of the few things I miss when I use LyX rather than emacs.  Do any
of those superlative developers have an idea when we grateful users might see
that feature?

Chris Menzel



Re: multiple views?

2004-04-26 Thread Angus Leeming
Chris Menzel wrote:

 Poking around in the developers' list archives, it appears there are
 plans eventually to add to LyX the capability to have multiple views
 on one's buffer.
 This is one of the few things I miss when I use LyX rather than
 emacs.  Do any of those superlative developers have an idea when we
 grateful users might see that feature?

Not in LyX 1.4, which I regard as something like the culmination of 
the code clean-up that was started in LyX 1.1. (If such a process can 
ever be culminated.)

Most (all?) of the fundamental reasons why we couldn't do it before 
have now been removed. Lots of people (developers included) are 
thinking seriously about how to proceed from here. I think that it's 
fair to say that multiple views have not been forgotten.

-- 
Angus



help with accents

2004-04-26 Thread Beny Spira
I am writing a document at work and at home. At work my keyboard is
ABTN2 (brazilian keyboard layout) and at home is an english
(international) keyboard, so the position of the accents (~; ^; '; `) is
different in each keyboard. When the document was transferred to the
computer with the ABTN-2 keyboard, all letters that contain accents have
just disappeared (and there is a lot a such letters in portuguese). May
anyone help me to fix it out? I would not like to  go through the whole
document to spellcheck every word.
Thanx
Beny
-- 
%
Beny Spira
Departamento de Microbiologia
Instituto de Ciências Biomédicas
Universidade de São Paulo
Av. Prof. Lineu Prestes 1374
São Paulo-SPCEP:05508-900
Tel: 5511-3091-7347
FAX: 5511-3091-7354
E-mail: [EMAIL PROTECTED]
%


Re: help with accents

2004-04-26 Thread Angus Leeming
Beny Spira wrote:

 I am writing a document at work and at home. At work my keyboard is
 ABTN2 (brazilian keyboard layout) and at home is an english
 (international) keyboard, so the position of the accents (~; ^; ';
 `) is different in each keyboard. When the document was transferred
 to the computer with the ABTN-2 keyboard, all letters that contain
 accents have just disappeared (and there is a lot a such letters in
 portuguese). May
 anyone help me to fix it out? I would not like to  go through the
 whole document to spellcheck every word.

Could you post a (short) example lyx document that works on your home 
machine and not on your work one.

-- 
Angus



Re: help with accents

2004-04-26 Thread Beny Spira
 Could you post a (short) example lyx document that works on your home 
 machine and not on your work one.


Sure, but first i would like to make something clear. The original
document was written at work (with the ABTN2 keyboard), I continued to
work on it at home (english keyboard) and today I sent it back to work.
Then the problem with the accents appeared.
Here is a small sample of the output in lyx:
H uma estrutura secundria de RNA localizada na regio intergenica entre
pstS e pstC, cuja presena foi demonstrada pela tcnica de extenso de
primer 
But it should be:
Há uma estrutura secundária de RNA localizada na região intergenica
entre pstS e pstC, cuja presença foi demonstrada pela técnica de
extensão de primer

Beny

-- 
%
Beny Spira
Departamento de Microbiologia
Instituto de Ciências Biomédicas
Universidade de São Paulo
Av. Prof. Lineu Prestes 1374
São Paulo-SPCEP:05508-900
Tel: 5511-3091-7347
FAX: 5511-3091-7354
E-mail: [EMAIL PROTECTED]
%


Re: multiple views?

2004-04-26 Thread Andre' Poenitz
On Mon, Apr 26, 2004 at 08:17:48AM -0500, Chris Menzel wrote:
 Poking around in the developers' list archives, it appears there are
 plans eventually to add to LyX the capability to have multiple views
 on one's buffer.  This is one of the few things I miss when I use LyX
 rather than emacs.  Do any of those superlative developers have an
 idea when we grateful users might see that feature?

It will take a while. Currently, the possibility to have multiple
viewssome day is just some kind of sanity check to judge whether a given
patch is good or bad.

The main problem is that the document data (i.e. the actual characters
of the document) and 'presentational' data (i.e. what character is
displayed at what position of a row) a not well enough separated. Things
have improved lately but I doubt 1.5 will come with mutiple views.
Certainly not 1.4.

Andre'


Re: typesetting an algorithm

2004-04-26 Thread Andre' Poenitz
On Mon, Apr 26, 2004 at 11:03:42AM +0100, Raphael Clifford wrote:
 Thanks for the reply.
 
 Does this mean that there is currently *no* layout for the algorithm.sty 
 in lyx?  I am stuck using enumerate and \quad at the moment which 
 doesn't seem quite right.

Well, I use \quad and the LyX code layout. This produces real ugly LaTeX
but works.

Of course, proper support for algorithm.sty would be nice (and should
not be too hard to do...)

Andre', waiting for volunteers.


Re: typesetting an algorithm

2004-04-26 Thread Raphael Clifford
Andre' Poenitz wrote:

On Mon, Apr 26, 2004 at 11:03:42AM +0100, Raphael Clifford wrote:
 

Thanks for the reply.

Does this mean that there is currently *no* layout for the algorithm.sty 
in lyx?  I am stuck using enumerate and \quad at the moment which 
doesn't seem quite right.
   

Well, I use \quad and the LyX code layout. This produces real ugly LaTeX
but works.
Of course, proper support for algorithm.sty would be nice (and should
not be too hard to do...)
Andre', waiting for volunteers.

 

Hi,
Does this mean that 
http://www.educat.hu-berlin.de/~voss/lyx/algorithm/algo-0.3.tar.gz has 
completely dissapeared? According to the mail list archives it even 
contained a sample lyx file in it.  That was as of December 2003.

Cheers,
Raphael


Help on siamltex document class or something better

2004-04-26 Thread huanyuan sheng
Any help is appreciated.

If you have no idea about siamltex, could you recommend a good simple document class 
that can be installed into lyx and contains all the theorem, lemma and proof ... 
environments? I don't like AMS document class for some reasons. Just want something 
simple as default article class + those maths enviroments. 

If you have tried siamltex article class, you may want to continue.

I am having some problems of using siamltex document class.

First, I downloaded siamltex.tar from www.siam.org and texhashed them into the 
database. Then I downloaded siamltex.layout 1.7 and put them into $HOME/.lyx/layouts/. 
After that I reconfigured the lyx and it found siamltex class with yes, no complain.

But when I tried to write articles using siamltex document class, I encountered two 
problems:
1. Latex compiler seems to have problems with table of contents created by siamltex 
document class. The error message is Undefined control sequence \tableofcontents {}.
2.Though I could set the environment change in lyx while writing a paper, i.e. changes 
for theorem, lemma , proof..., they all disappear when I view them in xdvi. I checked 
corresponding .tex file generated by lyx and found out that those environment 
definitions are not inserted into tex file. I guess this might be the reason why xdvi 
couldn't display them properly. 

If I switch to article (AMS) document class, all those problems are gone.

My machine is dell inspiron 8200. OS is linux redhat8.0. Lyx version is 1.3.3 and 
latex version (according to latex configuration file generated by lyx) is 2000/06/01. 
And I am not very good at latex.

Wayne






Re: typesetting an algorithm

2004-04-26 Thread Angus Leeming
Raphael Clifford wrote:
 Hi,
 Does this mean that
 http://www.educat.hu-berlin.de/~voss/lyx/algorithm/algo-0.3.tar.gz
 has completely dissapeared? According to the mail list archives it
 even
 contained a sample lyx file in it.  That was as of December 2003.

Why not drop Herbert a private email...

-- 
Angus



LyX and VNC, font problem

2004-04-26 Thread Alexander Stasinski
Dear LyX users,

I am using LyX through a VNC display. Everything works fine, except that 
fonts in LyX display in a very low resolution. Trying to modify the font 
settings (fixed or scalable, screen DPI) in lyxrc did not change a thing.
I have made sure that VNC can access all fonts in my X system, and Mozilla 
displays perfectly, so it seems the problem lies with LyX.
Upon starting LyX in VNC I get the message:

Xlib:  extension GLX missing on display :1.0.

Can this be some kind of bug in Xlib, or is it something else?

Best regards,
Alex



This message has been scanned but we cannot guarantee that it and any
attachments are free from viruses or other damaging content: you are
advised to perform your own checks.  Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.



Re: costumization of italics

2004-04-26 Thread Beny Spira
 If pressing two keys is too expensive (and I agree there are situations
 like that), maybe you should just write your document without any such
 markup and rather add it add the end using a simple script.
 
 Andre'

Thanks Andre
Yes, it is indeed the case. I have to spend a lot of time pressing again
and again c^E. I would appreciate if you could explain me or suggest a
literature where I could learn about making a script for this task.
Beny

-- 
%
Beny Spira
Departamento de Microbiologia
Instituto de Ciências Biomédicas
Universidade de São Paulo
Av. Prof. Lineu Prestes 1374
São Paulo-SPCEP:05508-900
Tel: 5511-3091-7347
FAX: 5511-3091-7354
E-mail: [EMAIL PROTECTED]
%


Re: help with accents

2004-04-26 Thread Marc Jeffrey Driftmeyer
Beny,

Sounds like a localization issue with the locales package installed on your 
system.  Since you don't list the operating system you have running and what 
locales package support you have installed versus that of the other system I 
would check this as an option to investigate.  

I'd also check whether or not your TeX/LaTeX installation wasn't corrupted by 
any chance. 

-Marc J. Driftmeyer

On Monday 26 April 2004 08:49, Beny Spira wrote:
  Could you post a (short) example lyx document that works on your home
  machine and not on your work one.

 Sure, but first i would like to make something clear. The original
 document was written at work (with the ABTN2 keyboard), I continued to
 work on it at home (english keyboard) and today I sent it back to work.
 Then the problem with the accents appeared.
 Here is a small sample of the output in lyx:
 H uma estrutura secundria de RNA localizada na regio intergenica entre
 pstS e pstC, cuja presena foi demonstrada pela tcnica de extenso de
 primer
 But it should be:
 Há uma estrutura secundária de RNA localizada na região intergenica
 entre pstS e pstC, cuja presença foi demonstrada pela técnica de
 extensão de primer

 Beny


Re: Graphics missing in PDF/PS, SGML export??

2004-04-26 Thread Alex Brown
Jose' Matos wrote:

On Sunday 25 April 2004 15:44, Alex Brown wrote:
 

Any ideas?  Thanks in advance.
   

 No, both images and tables didn't work in previous versions but it 
will in next, 1.4. :-)

 

Alex Brown [EMAIL PROTECTED]
   

 

Hmm, I have a clear memory of using graphics with Linuxdoc but I must be 
wrong.  Time to get going with Docbook, I suppose.  I have found a 
helpful comment on Docbook tools handling of graphics at 
http://articles.linuxguru.net/view/202#AEN6 -- each target file format 
requires a different graphics file type:

   *

  In your document do not specify the file type, as each
  conversion routine will expect a different extension, except the
  HTML conversion which takes this literally. This is why I asked
  you above not to have the .png extension on your PNG files. The
  browser can determine the file type anyway. Here is an example
  for a screen shot:
screenshot
screeninfoEmacs 21 Graphical Menus in X/screeninfo
  graphic fileref=graphic/emacs-21-graphic-menu/graphic
/screenshot
	  

Sounds like this can be made to work.



--
Alex Brown [EMAIL PROTECTED] +1 617 308 9456


How to visually divide between Picture Captions and Test

2004-04-26 Thread georg-philipp.burth

Hello!

I'm just writing my thesis with this great program, but now I stumbled over a
style problem...

When I add a picture in a float this picture may be set as top on a side.
Unfortunately the caption has to be below the picture and is in the same style
as the normal text, so it's sometimes difficult to see where to read further.

Is there a possibility to change the style of the caption or, perhaps better,
add a horizontal line between caption and text (or something like that)?

I assume I could do this with a forced newline and \hrule in the caption, but
this would not look too good in the List of Figures -- and I would have to
manually add it when needed...

Thanks for helping me
  Philipp


Re: multiple views?

2004-04-26 Thread Chris Menzel
My thanks to Andre and Angus for the informative replies.

Chris Menzel



Docbook export:

2004-04-26 Thread Alex Brown
Alex Brown wrote to [EMAIL PROTECTED]:

...  Time to get going with Docbook, I suppose. 

Chris -- I've found your excellent http://www.karakas-online.de/mySGML/  
-- thanks very much.  (For lyx-users, this provides some shell scripts 
esp. lyxtox that drive several large engines.)  Your approach is:

Chris Karakas [EMAIL PROTECTED] wrote:

   *

  We will put everything in a shell script. We don't want to
  bother about anything else. We want to ponder comfortably upon
  the meaning of life while drinking some coffee or tea, watching
  our computer do the work for us - personally, a very rewarding
  experience :-)
   *

  We will use sed
  http://www.gnu.org/software/sed/manual/sed.html to correct
  LyX' SGML output. The more we are able to correct, the more SGML
  features we get out of our plain vanilla LyX.
   *

  We use the sgmltools http://www.sgmltools.org package which
  hides a lot of details from the end user, giving nonetheless all
  the power of the involved tools.
   *

  We will adapt the DocBook DSSSL stylesheets
  http://docbook.sourceforge.net/projects/dsssl/ to our personal
  needs and taste.
   *

  The end product shall be a directory ready to upload to our web
  server with all files, links, images and formats necessary.

It seems usable, but it's a substantial investment of time just to get 
the tools and configuration set up.  Is this still the easiest way (in 
your opinion) to produce the various product files from LyX generated 
DocBook SGML?  Any changes for recent LyX, esp 1.4?

Any comments would be appreciated.

--
Alex Brown [EMAIL PROTECTED] +1 617 308 9456


Re: typesetting an algorithm

2004-04-26 Thread Raphael Clifford
Thanks for the reply.

Does this mean that there is currently *no* layout for the algorithm.sty 
in lyx?  I am stuck using enumerate and \quad at the moment which 
doesn't seem quite right.

Cheers,
Raphael
Stefaan Himpe wrote:

As far as I know the LyX algorithm is not related
to algorithm.sty; it is more like an
environment which, like verbatim, obeys user typed spaces, but,
unlike verbatim, also allows math, boldface, etc...
One thing that bites many users: when exporting
to Latex, LyX inserts empty lines between two lines
in the algorithm environment. If I recall correctly
this can be avoided by using ctrl-enter to go to a
new line inside the algorithm environment.
I normally use an external package (e.g. listings.sty
if you want to typeset code) and insert everything with ert.
Stefaan.
Raphael Clifford wrote:
I am writing a paper in article (AMS) and need to typeset some 
algorithms.  I see that there is an algorithm environmnent defined. I 
am sorry if I have missed them but are there any docs for using this 
environment in lyx?  It is not clear to me what the correct way to do 
the indentation etc is.

Cheers,
Raphael







Re: Graphics missing in PDF/PS, SGML export??

2004-04-26 Thread Jose' Matos
On Sunday 25 April 2004 15:44, Alex Brown wrote:
>
> Any ideas?  Thanks in advance.

  No, both images and tables didn't work in previous versions but it 
will in next, 1.4. :-)

> Alex Brown <[EMAIL PROTECTED]>

-- 
José Abílio

LyX and docbook, a perfect match. :-)


Re: Two pictures side by side

2004-04-26 Thread Helge Hafting
Roland Schmitz wrote:
Hi,

after reading, testing, ... here's my solution, in a ERT:

\begin{figure}[H]
  \parbox{.48\linewidth}
  {
\centering\includegraphics*{pic1.ps}
\caption{Picture 1}
  }
  \hfill
  \parbox{.48\linewidth}
  {
\centering\includegraphics*{pic2.ps}
\caption{Picture 2}
  }
\end{figure}
Here both pictures a placed side-by-side, each with a separate caption, an 
each with a separate entry in the list of figures.

This solution is fine.  Note that the same is possible without ERT too,
because lyx support all these commands natively.  (Well, lyx doesn't
support parbox, but minipage does the same thing.)
My way of doing this is:
Insert a figure float. Go inside, set the paragraph type to 
"satandard" instead of the default "caption" Insert two minipages inside the float
(insert->minipage)  with a hfill (insert->special->hfill) between them.
Set each minipage to 50% of COL or less.
In each minipage, include graphichs (insert->graphichs)  Center 
the graphichs using layout->pragraph.
Press enter after each graphich, to get a new paragraph. 
Set the paragraph type to caption, and enter caption text.

Helge Hafting



Re: "ASCII" considered obscure

2004-04-26 Thread Helge Hafting
Reuben Thomas wrote:
When importing text into an OpenOffice document, I suggested to a naïve
user that she export the LyX document as text. She had two problems, both
of which merit attention to LyX's menus, I think.
First, in most programs, "Text" is a file type listed on the save dialog,
not under "Export", which tends to be reserved for non-editable formats
such as PDF. This is certainly the case in most word processors. Hence,
she was confused because there was no option in "Save as" to change the
file type to text.
Well, I wouldn't want any document types under "save as".
Word processors that offer "save as...document type" tend to fully
support working with those document types, and remember to keep
using that type for subsequent saves. Lyx works with lyx documents, I
don't see any other choices there.
Export means to create a file in a different format for _some other_
software to use. I.e. lyx won't necessarily support the exported
file in any way.  Which is true for things like pdf.
Secondly, and much easier to fix, she then said "but there's no option to
export as text". She didn't know that ASCII means plain text. I suggest
the menu entry be changed to say "Plain text" or similar, again, in line
with most wordprocessors.
I agree to this, "plain text" is a better word here.

Helge Hafting




multiple views?

2004-04-26 Thread Chris Menzel
Poking around in the developers' list archives, it appears there are plans
eventually to add to LyX the capability to have multiple views on one's buffer.
This is one of the few things I miss when I use LyX rather than emacs.  Do any
of those superlative developers have an idea when we grateful users might see
that feature?

Chris Menzel



Re: multiple views?

2004-04-26 Thread Angus Leeming
Chris Menzel wrote:

> Poking around in the developers' list archives, it appears there are
> plans eventually to add to LyX the capability to have multiple views
> on one's buffer.
> This is one of the few things I miss when I use LyX rather than
> emacs.  Do any of those superlative developers have an idea when we
> grateful users might see that feature?

Not in LyX 1.4, which I regard as something like the culmination of 
the code clean-up that was started in LyX 1.1. (If such a process can 
ever be culminated.)

Most (all?) of the fundamental reasons why we couldn't do it before 
have now been removed. Lots of people (developers included) are 
thinking seriously about how to proceed from here. I think that it's 
fair to say that multiple views have not been forgotten.

-- 
Angus



help with accents

2004-04-26 Thread Beny Spira
I am writing a document at work and at home. At work my keyboard is
ABTN2 (brazilian keyboard layout) and at home is an english
(international) keyboard, so the position of the accents (~; ^; '; `) is
different in each keyboard. When the document was transferred to the
computer with the ABTN-2 keyboard, all letters that contain accents have
just disappeared (and there is a lot a such letters in portuguese). May
anyone help me to fix it out? I would not like to  go through the whole
document to spellcheck every word.
Thanx
Beny
-- 
%
Beny Spira
Departamento de Microbiologia
Instituto de Ciências Biomédicas
Universidade de São Paulo
Av. Prof. Lineu Prestes 1374
São Paulo-SPCEP:05508-900
Tel: 5511-3091-7347
FAX: 5511-3091-7354
E-mail: [EMAIL PROTECTED]
%


Re: help with accents

2004-04-26 Thread Angus Leeming
Beny Spira wrote:

> I am writing a document at work and at home. At work my keyboard is
> ABTN2 (brazilian keyboard layout) and at home is an english
> (international) keyboard, so the position of the accents (~; ^; ';
> `) is different in each keyboard. When the document was transferred
> to the computer with the ABTN-2 keyboard, all letters that contain
> accents have just disappeared (and there is a lot a such letters in
> portuguese). May
> anyone help me to fix it out? I would not like to  go through the
> whole document to spellcheck every word.

Could you post a (short) example lyx document that works on your home 
machine and not on your work one.

-- 
Angus



Re: help with accents

2004-04-26 Thread Beny Spira
> Could you post a (short) example lyx document that works on your home 
> machine and not on your work one.


Sure, but first i would like to make something clear. The original
document was written at work (with the ABTN2 keyboard), I continued to
work on it at home (english keyboard) and today I sent it back to work.
Then the problem with the accents appeared.
Here is a small sample of the output in lyx:
"H uma estrutura secundria de RNA localizada na regio intergenica entre
pstS e pstC, cuja presena foi demonstrada pela tcnica de extenso de
primer" 
But it should be:
"Há uma estrutura secundária de RNA localizada na região intergenica
entre pstS e pstC, cuja presença foi demonstrada pela técnica de
extensão de primer"

Beny

-- 
%
Beny Spira
Departamento de Microbiologia
Instituto de Ciências Biomédicas
Universidade de São Paulo
Av. Prof. Lineu Prestes 1374
São Paulo-SPCEP:05508-900
Tel: 5511-3091-7347
FAX: 5511-3091-7354
E-mail: [EMAIL PROTECTED]
%


Re: multiple views?

2004-04-26 Thread Andre' Poenitz
On Mon, Apr 26, 2004 at 08:17:48AM -0500, Chris Menzel wrote:
> Poking around in the developers' list archives, it appears there are
> plans eventually to add to LyX the capability to have multiple views
> on one's buffer.  This is one of the few things I miss when I use LyX
> rather than emacs.  Do any of those superlative developers have an
> idea when we grateful users might see that feature?

It will take a while. Currently, the possibility to have multiple
viewssome day is just some kind of sanity check to judge whether a given
patch is good or bad.

The main problem is that the document data (i.e. the actual characters
of the document) and 'presentational' data (i.e. what character is
displayed at what position of a row) a not well enough separated. Things
have improved lately but I doubt 1.5 will come with mutiple views.
Certainly not 1.4.

Andre'


Re: typesetting an algorithm

2004-04-26 Thread Andre' Poenitz
On Mon, Apr 26, 2004 at 11:03:42AM +0100, Raphael Clifford wrote:
> Thanks for the reply.
> 
> Does this mean that there is currently *no* layout for the algorithm.sty 
> in lyx?  I am stuck using enumerate and \quad at the moment which 
> doesn't seem quite right.

Well, I use \quad and the LyX code layout. This produces real ugly LaTeX
but "works".

Of course, proper support for algorithm.sty would be nice (and should
not be too hard to do...)

Andre', waiting for volunteers.


Re: typesetting an algorithm

2004-04-26 Thread Raphael Clifford
Andre' Poenitz wrote:

On Mon, Apr 26, 2004 at 11:03:42AM +0100, Raphael Clifford wrote:
 

Thanks for the reply.

Does this mean that there is currently *no* layout for the algorithm.sty 
in lyx?  I am stuck using enumerate and \quad at the moment which 
doesn't seem quite right.
   

Well, I use \quad and the LyX code layout. This produces real ugly LaTeX
but "works".
Of course, proper support for algorithm.sty would be nice (and should
not be too hard to do...)
Andre', waiting for volunteers.

 

Hi,
Does this mean that 
http://www.educat.hu-berlin.de/~voss/lyx/algorithm/algo-0.3.tar.gz has 
completely dissapeared? According to the mail list archives it even 
contained a sample lyx file in it.  That was as of December 2003.

Cheers,
Raphael


Help on siamltex document class or something better

2004-04-26 Thread huanyuan sheng
Any help is appreciated.

If you have no idea about siamltex, could you recommend a good simple document class 
that can be installed into lyx and contains all the theorem, lemma and proof ... 
environments? I don't like AMS document class for some reasons. Just want something 
simple as default article class + those maths enviroments. 

If you have tried siamltex article class, you may want to continue.

I am having some problems of using siamltex document class.

First, I downloaded siamltex.tar from www.siam.org and texhashed them into the 
database. Then I downloaded siamltex.layout 1.7 and put them into $HOME/.lyx/layouts/. 
After that I reconfigured the lyx and it found siamltex class with yes, no complain.

But when I tried to write articles using siamltex document class, I encountered two 
problems:
1. Latex compiler seems to have problems with table of contents created by siamltex 
document class. The error message is Undefined control sequence \tableofcontents {}.
2.Though I could set the environment change in lyx while writing a paper, i.e. changes 
for theorem, lemma , proof..., they all disappear when I view them in xdvi. I checked 
corresponding .tex file generated by lyx and found out that those environment 
definitions are not inserted into tex file. I guess this might be the reason why xdvi 
couldn't display them properly. 

If I switch to article (AMS) document class, all those problems are gone.

My machine is dell inspiron 8200. OS is linux redhat8.0. Lyx version is 1.3.3 and 
latex version (according to latex configuration file generated by lyx) is 2000/06/01. 
And I am not very good at latex.

Wayne






Re: typesetting an algorithm

2004-04-26 Thread Angus Leeming
Raphael Clifford wrote:
> Hi,
> Does this mean that
> http://www.educat.hu-berlin.de/~voss/lyx/algorithm/algo-0.3.tar.gz
> has completely dissapeared? According to the mail list archives it
> even
> contained a sample lyx file in it.  That was as of December 2003.

Why not drop Herbert a private email...

-- 
Angus



LyX and VNC, font problem

2004-04-26 Thread Alexander Stasinski
Dear LyX users,

I am using LyX through a VNC display. Everything works fine, except that 
fonts in LyX display in a very low resolution. Trying to modify the font 
settings (fixed or scalable, screen DPI) in lyxrc did not change a thing.
I have made sure that VNC can access all fonts in my X system, and Mozilla 
displays perfectly, so it seems the problem lies with LyX.
Upon starting LyX in VNC I get the message:

Xlib:  extension "GLX" missing on display ":1.0".

Can this be some kind of bug in Xlib, or is it something else?

Best regards,
Alex



This message has been scanned but we cannot guarantee that it and any
attachments are free from viruses or other damaging content: you are
advised to perform your own checks.  Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.



Re: costumization of italics

2004-04-26 Thread Beny Spira
> If pressing two keys is too expensive (and I agree there are situations
> like that), maybe you should just write your document without any such
> markup and rather add it add the end using a simple script.
> 
> Andre'

Thanks Andre
Yes, it is indeed the case. I have to spend a lot of time pressing again
and again c^E. I would appreciate if you could explain me or suggest a
literature where I could learn about making a script for this task.
Beny

-- 
%
Beny Spira
Departamento de Microbiologia
Instituto de Ciências Biomédicas
Universidade de São Paulo
Av. Prof. Lineu Prestes 1374
São Paulo-SPCEP:05508-900
Tel: 5511-3091-7347
FAX: 5511-3091-7354
E-mail: [EMAIL PROTECTED]
%


Re: help with accents

2004-04-26 Thread Marc Jeffrey Driftmeyer
Beny,

Sounds like a localization issue with the locales package installed on your 
system.  Since you don't list the operating system you have running and what 
locales package support you have installed versus that of the other system I 
would check this as an option to investigate.  

I'd also check whether or not your TeX/LaTeX installation wasn't corrupted by 
any chance. 

-Marc J. Driftmeyer

On Monday 26 April 2004 08:49, Beny Spira wrote:
> > Could you post a (short) example lyx document that works on your home
> > machine and not on your work one.
>
> Sure, but first i would like to make something clear. The original
> document was written at work (with the ABTN2 keyboard), I continued to
> work on it at home (english keyboard) and today I sent it back to work.
> Then the problem with the accents appeared.
> Here is a small sample of the output in lyx:
> "H uma estrutura secundria de RNA localizada na regio intergenica entre
> pstS e pstC, cuja presena foi demonstrada pela tcnica de extenso de
> primer"
> But it should be:
> "Há uma estrutura secundária de RNA localizada na região intergenica
> entre pstS e pstC, cuja presença foi demonstrada pela técnica de
> extensão de primer"
>
> Beny


Re: Graphics missing in PDF/PS, SGML export??

2004-04-26 Thread Alex Brown
Jose' Matos wrote:

On Sunday 25 April 2004 15:44, Alex Brown wrote:
 

Any ideas?  Thanks in advance.
   

 No, both images and tables didn't work in previous versions but it 
will in next, 1.4. :-)

 

Alex Brown <[EMAIL PROTECTED]>
   

 

Hmm, I have a clear memory of using graphics with Linuxdoc but I must be 
wrong.  Time to get going with Docbook, I suppose.  I have found a 
helpful comment on Docbook tools handling of graphics at 
http://articles.linuxguru.net/view/202#AEN6 -- each target file format 
requires a different graphics file type:

   *

  In your document do not specify the file type, as each
  conversion routine will expect a different extension, except the
  HTML conversion which takes this literally. This is why I asked
  you above not to have the .png extension on your PNG files. The
  browser can determine the file type anyway. Here is an example
  for a screen shot:

Emacs 21 Graphical Menus in X
  

	  

Sounds like this can be made to work.



--
Alex Brown <[EMAIL PROTECTED]> +1 617 308 9456


How to visually divide between Picture Captions and Test

2004-04-26 Thread georg-philipp.burth

Hello!

I'm just writing my thesis with this great program, but now I stumbled over a
style problem...

When I add a picture in a float this picture may be set as top on a side.
Unfortunately the caption has to be below the picture and is in the same style
as the "normal" text, so it's sometimes difficult to see where to read further.

Is there a possibility to change the style of the caption or, perhaps better,
add a horizontal line between caption and text (or something like that)?

I assume I could do this with a forced newline and \hrule in the caption, but
this would not look too good in the List of Figures -- and I would have to
manually add it when needed...

Thanks for helping me
  Philipp


Re: multiple views?

2004-04-26 Thread Chris Menzel
My thanks to Andre and Angus for the informative replies.

Chris Menzel



Docbook export:

2004-04-26 Thread Alex Brown
Alex Brown wrote to [EMAIL PROTECTED]:

...  Time to get going with Docbook, I suppose. 

Chris -- I've found your excellent http://www.karakas-online.de/mySGML/  
-- thanks very much.  (For lyx-users, this provides some shell scripts 
esp. "lyxtox" that drive several large engines.)  Your approach is:

Chris Karakas <[EMAIL PROTECTED]> wrote:

   *

  We will put everything in a shell script. We don't want to
  bother about anything else. We want to ponder comfortably upon
  the meaning of life while drinking some coffee or tea, watching
  our computer do the work for us - personally, a very rewarding
  experience :-)
   *

  We will use sed
   to correct
  LyX' SGML output. The more we are able to correct, the more SGML
  features we get out of our plain vanilla LyX.
   *

  We use the sgmltools  package which
  hides a lot of details from the end user, giving nonetheless all
  the power of the involved tools.
   *

  We will adapt the DocBook DSSSL stylesheets
   to our personal
  needs and taste.
   *

  The end product shall be a directory ready to upload to our web
  server with all files, links, images and formats necessary.

It seems usable, but it's a substantial investment of time just to get 
the tools and configuration set up.  Is this still the easiest way (in 
your opinion) to produce the various product files from LyX generated 
DocBook SGML?  Any changes for recent LyX, esp 1.4?

Any comments would be appreciated.

--
Alex Brown <[EMAIL PROTECTED]> +1 617 308 9456