Re: Problems with 1.1.5pre3

2000-05-31 Thread Dekel Tsur

 2) When opening a document written in 1.1.4 everything looks fine. However, when 
 I want to view the dvi or postscript file (File - View dvi) the LaTeX run 
 produces the following errors and fails (from the LaTeX log):
 
 The piece of text is from the end of a figure caption in a figure float. 
 According to the coding in the lyx-file there is no excess '}'. Below follows 
 the caption text extracted using cut-and-paste:
 
 Entrainment rate E as a function of s=\sin \varphi . The simple formula 
 ([eq:E_bope80_simple]) is compared to ([eq:E_bope80]), as tabulated in Table 5.4 
 of \citeN{bope80} for the lower values of C_{D}, and the results of 
 \citeN{eltu59} (determined from the fitted curve in their Fig. 8).
 
 Now, the interesting part is that if I remove the citations everything works 
 (?)! Putting them back produces the same errors again. Is this a bug in 
 1.1.5pre3, that one cannot have citations in figure captions?

Maybe the problem is that the \citeN command is fragile (which cite package
are you using?), so you should put \protect (in LaTeX mode) before it.
Note that the bug is actually in 1.1.4 as it doesn't report the LaTeX errors
correctly.



Re: Presentation

2000-05-31 Thread Dekel Tsur

On Tue, May 30, 2000 at 09:21:15AM -0500, Roland Krause wrote:
 Hi, 
 I am a long time LyX user and I am kind of in trouble. I am giving a
 presentation on Friday and I kinda bet on that I can do it with LyX/pstricks
 just as good as with Powerpoint. The presentation has lots and lots of formulas
 and some screenshots too. 
 
 I am using foiltex with a modified layout file that lets me put graded
 background behind the slides. Then I convert to pdf with ps2pdf because I can
 not get pdflatex to work with  pstricks. 
 My problem is of course the fonts... They just look crappy on the projector
 especially the math fonts. 
 So what can I do, I know there was a lengthy discussion on Type1 fonts here
 lately but I dont understand the whole issue 
 Can anyone clue me in on this or give me pointer where to find
 __comprehensive__ (Remember I am under time pressure big time :-) information?

First, if you use ps2pdf, you should use gs version 6.0 (not 5.x)
Second, if you use the EC fonts (T1 font encoding),
you should add \usepackage{ae,aecompl} to the preamble.

 PS: If anybody is interested in how to use these graded backgrounds in
 combination with foiltex and the foils layout I'll be happy to write a
 mini-howto and summarize the process of making presentations for scientific
 purposes with LyX after this is over.
 

BTW, it may be better to use pdflatex directly for doing presentations.
Look for example at the pdfslide package or the PPower4 post-processor.




Re: Nested includes

2000-06-02 Thread Dekel Tsur

On Wed, May 31, 2000 at 09:07:00AM +0200, Michael Zapf wrote:
 "Lars Gullik Bj?nnes" wrote:
  Nested inputs are allowed, but not nested includes.
 
  You can use include on the first level, but have to use input to get
  deeper than that.
 
 If that only did work... Actually, it does not. Try doing the following:
 
 1. Create a file doc1.lyx which contains a file inclusion. Use "Insert-Include
 File", select "use input" and enter doc2.lyx.
 2. Do the same with doc2.lyx which is to include doc3.lyx.
 3. Create doc3.lyx with some content lines.
 4. Select "File-View DVI".
 5. You get an alert "There were errors during the LaTeX run...".
 6. Clicking on the "error" tag pops up a window which states: "LaTeX error: File
 'doc3.tex' not found.", "\input{doc3.tex}"
 
 The reason seems to be that LyX does not recursively create temporary .tex files.

Nested input will work if LyX doesn't use temporary directories
(put "\use_tempdir false" in the lyxrc file).

If LyX uses temporary directories, it creates all doc*.tex files,
but it puts doc1.tex  doc2.tex in one directory 
(e.g. /tmp/lyx_tmp11555aaa/lyx_bufrtmp11555aaa), and the doc3.tex in another
directory (e.g. /tmp/lyx_tmp11555aaa/lyx_bufrtmp11555aab).
This is a bug that needs to be fixed.



Re: Lyx-1.1.5pre3

2000-06-02 Thread Dekel Tsur

 many thanks for having a look at my table which is
 attached as .gzip -file.

The problem is that the document is in German, but some words are in English
(american), and there is a bug in the code for handling mixed languages in
a table.

Now, I presume you didn't want to have English text in the document.
To fix this, select the whole text, open the character style popup (alt+l c)
select german from the language combox, and press ok.

Another question is how did you manage to get the English words?
It may have happened if you copypaste from another document, which had the
default language. Is this what happened?



Re: Question about future functionalities

2000-06-04 Thread Dekel Tsur

 Is it envisaged, before October 2000, to include the following 
 functionalities :
 - The displaying (on the screen) of the whole of the symbols of AMS
 (currently, the pallet of displayable symbols is rather restricted)

This is a feature I too would like to see. I've actually did some work on
this, but I stopped as I learned that Alejandro Sierra 
(the author of the math editor) has been working on a totally new mathed,
so I will probably start working again after the new mathed is merged to the
current code (unless the new mathed already supports all AMS symbols :)

[Note to Alejandro: is the new mathed is feature complete (i.e. is it ready
to replace the old mathed?]

 - The functionality ABOVE/BELOW which allows, for
 example, to write the
 arrow of an equation in chemistry (arrow with text above).
 
You can use arrays for composing two symbol vertically.
However, for arrows it is better to use the amsmath commands \xleftarrow and
\xrightarrow. Use can use these command in the math editor, but you don't 
get visual representation for these commands.
Again, the addition of better support for these (and other amsmath) commands 
should be done after the merge with the new mathed.



Re: How to generate a link to and HTML page ?

2000-06-19 Thread Dekel Tsur

On Sat, Jun 17, 2000 at 09:54:31PM +0200, Jacques Nilo wrote:
 Hello. I am totally new to lyx and installed today the 1.1.5 version on
 my Mandrake 7.0 linux box.
 I would like to be able to make a link to an HTML page without showing
 the full adress of thi page. I do not find the solution. I am using the
 Insert/URL command I click on the HTML type box but I always see the
 full adress (dvi view or after HTML generation)
 What did I missed
 Thanks
 Jacques

To create such a link, use the \href command, e.g.
\href{http://www.lyx.org}{LyX homepage}
(you need to enter this text in LaTeX mode).
You also need to put \usepackage{hyperref} in the preamble.
Also note that the tex2html converter you use should have support for the
\href command.

Future versions of LyX may have support for the hyperref package.



Re: Language conversion?

2000-06-19 Thread Dekel Tsur

On Mon, Jun 19, 2000 at 11:09:33AM -0500, Roland Krause wrote:
 How do I convert text that has the attribute Language:english to
 Language:default? Is there a way to do this the "GUI way" or do I need to know
 a magic command?

Select the text, open the layout-character popup (alt+l c, or use the menu)
select american language (assuming the language of the document is "default".
Otherwise select the language of the document) and press apply.




Re: poor quality of on-screen fonts in PDFs from Lyx

2000-07-06 Thread Dekel Tsur

On Tue, Jul 04, 2000 at 06:21:11PM +0200, Ramon Diaz-Uriarte wrote:
 Dear Rachel,
 
 I've had a similar problem. What I have done is force lyx (latex) to use Type I
 fonts. To do this, I have in the preamble:
 
 \usepackage{ae}
 \usepackage{aecompl} 
 
 and prevent Lyx from using the default encoiding "T1" by changing the
 lyxrc file in ~/.lyx, as follows:
 #\font_encoding "T1"   - this line is commented
 \font_encoding default   - this I have added

You only need to use one of the above (i.e., the 'ae' package is only needed
when you use the T1 font encoding).

It should also be mentioned that if you use ps2pdf to create the pdf, you
need to use ghostscript version = 6.0, and put the following in ~/.dvipsrc
  p+ psfonts.cmz
  p+ psfonts.amz

PS: Shouldn't this be in the FAQ?




Re: Underlined text does not split up!

2000-07-13 Thread Dekel Tsur

On Thu, Jul 13, 2000 at 02:43:59PM +0200, Juergen Vigna wrote:
 As said in the subject if I have some long text and underline it in LyX
 it is not split up in rows in the LaTeX output. I could emphasize it and
 then use ulem, but I think that's not really what I want.
 
 Does someone have a solution to this problem?

Use the soul package.



Re: .layout and \par

2000-07-17 Thread Dekel Tsur

On Fri, Jul 14, 2000 at 08:22:55AM +0200, Andre Poenitz wrote:
 
 I fiddled with a .layout file, and there is now a style 'Proof'.
 
 In LyX everything looks ok (including e.g. the EndLabel),
 but the exported LaTeX looks like:
 
  some text.
 \end{proof}
 And here comes the next paragraph ...
 
 The .dvi consequently looks like
 
  some text. [] And here comes the next paragraph ...
 
 i.e. there is either a \par or an empty line after the \end{proof}
 missing. How can I convince LyX to insert one there?
 
One possible solution:

Style Proof
...
  Preamble
\newenvironment{proof}{\emph{Proof:}}{\hfill\rule{2mm}{2mm}\par\vspace{2mm}}
  EndPreamble
End
^^^
(note the \par command!)



Re: Bug in pretty ref

2000-07-26 Thread Dekel Tsur

On Tue, Jul 25, 2000 at 11:25:20PM +, Herbert Voss wrote:
 prettyref needs a label definiaion like \label{tab:MyTable}
 than \prettyref{tab:Mytable} gives in dvi-output Table aNumber.
 from my point of view, lyx doesn't create the labels in
 prettyref-style, so it's not possible to use cross-reference
 with the prettyref-button.

Why not?
When inserting the label in LyX, give it the name tab:mytable,
and then you can insert the prettyref. No need for ERT!

 it's a question to Lars or/and Jean-Marc:
   insert label AND insert cross-reference must have BOTH
   the prettyref-option?! if someone chooses once this option
   all the rest of labels and references must converted
   to prettyref-style. 

It seems that you expect to use labels without a prefix, (like MyTable),
and let lyx automatically generate the prefix (tab:) when generating the
latex file.
This is not done by LyX.

An interesting question is whether it is possible to write a smarter LaTeX
package, which doesn't need the prefixing the labels (i.e., the \label command
is redefined to output also the counter name to the auxiliary file) ?




Re: LaTeX error ignored by 1.04 but not by 1.15

2000-08-01 Thread Dekel Tsur

On Mon, Jul 31, 2000 at 04:42:13PM +0200, Lionel Portmann wrote:
 In a figure (float) caption, I want to put within the text some math
 symboles. If I use for instance an overrightarrow over even a single
 letter, I get an error from Latex. With Lyx 1.04, this error was
 ignored, (no grey box) and the DVI came out all right (fine for me).
 With Lyx 1.15 the error is caught, and I get a grey box in my Lyx
 document, and no DVI (bad for me). Actually, Lyx 1.04 and 1.15 write the
 same Latex code, which triggers the same error.
 
 These errors come when I use overrightarrow, overbrace, etc., but not
 with overline or tilde!

You can use the attached patch that fixes this problem.
If you can not use the patch, a workaround for the problem is to type
\protect before the overrightarrow.

 patch.gz


Re: Lyx: Hebrew quotes

2000-08-04 Thread Dekel Tsur

On Fri, Aug 04, 2000 at 04:19:44PM +0300, Yotam Medini wrote:
 
 Hebrew:
 ===
 * In Hebrew mode, how shoud one insert 
   right '' and left ``  quotation marks -
   without turning into L2R mode?

Why do you want to have these quotes?
In Hebrew, identical quotes marks are used, and this is exactly what LyX
generates when you use the " key.

 * When starting a Hebrew paragraph with quotation marks
   Lyx or Lyx user gets confused. There should be an option
   to insert a 'logical R2L'-symbol to control teh paragraph main direction.

More generally, you need the language of the paragraph to be different then
the language of the first character in the paragraph.
The solution: go to the start of the paragraph, 
select the desired paragraph language (using the character style popup, or
in your case with F12), and insert a note inset.



Re: vertical spacing within table

2000-08-17 Thread Dekel Tsur

On Thu, Aug 17, 2000 at 09:28:07AM +0200, Guenter Milde wrote:
 On Wed, 16 Aug 2000 16:16:06 -0700 (PDT) you wrote:
 
 Klyx offers also a linespacing part in the Layout|Paragraph
 menu which allows to adjust the \baselineskip (space between
 lines) within a paragraph. Besides "single", "double" and 
 so on there is the option "other" which allows any length to
 be insertet into a alligned text field.  I just tried (with
 "2ex") and it worked fine!
 
 The bad news is, this menu point is missing in Lyx without
 K. (Could it be inserted?)

Actually, LyX 1.1.5 has this feature, but without GUI support.
To use it, move to the paragraph, then type "M-x paragraph-spacing other 1.5"
(or any other number instead of 1.5).
However, it will not work if LyX was compiled by a compiler without sstream
support. I've fixed the bug, and I'll send a patch to the lyx-devel mailing
list.



Re: Importing PS files

2000-08-21 Thread Dekel Tsur

On Sun, Aug 20, 2000 at 02:18:38AM +0300, Tuukka Toivonen wrote:
 On Fri, 18 Aug 2000, Jonathan Pennington wrote:
 
  I seem to remember this thread rearing its head before, but I can't
  find it in the archives. I want to import and edit postscript
  files. How can I do so?
 
 Not too easy. Probably the best way is to load the postscript
 file to xfig and "paint over": ie, you can't really edit
 the postscript file in xfig, but you can remove parts by
 drawing white rectangles over the graphics and add new graphics.

pstoedit can convert from Postscript to xfig (and other formats).



Re: noindent

2000-08-21 Thread Dekel Tsur

On Sun, Aug 20, 2000 at 12:16:22PM +, thomas sch?nhoff wrote:
 Hello,
 I've written a paper encompassing about 90 pages .
 Because I didn't want to number the introduction I
 changed from chapter to paragraph.
 Now everything seems to be fine, but unfortunately
 the first sentence is set as an indent, this looks
 rather curiously. So marking the whole paragraph
 and changed it to \noindent, I inserted ERT
 (\noindent), but no way..

If I understand correctly, you need to set the layout of the introduction
to chapter*



Re: Document versions

2000-09-01 Thread Dekel Tsur

On Wed, Aug 30, 2000 at 08:28:04PM +0200, Matej Cepl wrote:
Content-Description: Mail message body
 Let me transfer a discussion from lyx-docs. I think, that it may be 
 much more interesting here.
 
 On Tue, 18 May 1999 08:39:17 -0700 Amir Karger wrote on lyx-
 docs list:
 
   I was just thinking about comparing two documents and seeing
   additions/deletions, like diff does for text file.
   
 
  This sounds Hard. Do tools like this exist for, say, HTML? If so,
  we could probably steal them. 

There is already a tool for comparing latex files:
$TEXMF/latex/changebar/chbar.sh
This script "take two LaTeX files and produce a third which
has changebars highlighting the difference between them."



Re: Bibliography

2000-09-01 Thread Dekel Tsur

On Thu, Aug 31, 2000 at 01:16:35PM -0500, Will Fischer wrote:
 
 As is, (LyX 1.1.5fix1 of Tue Jul 18, 2000) I can put in the several
 citation keys in the bibtex pop-up (and it works fine) BUT it makes
 adding citations or changing their arrangement more problematic.

In the CVS version, the citation dialog was completely rewritten, and it is
now very easy to add/change several citations inside a single citation inset.



Re: How to suppress FoilTeX advertising

2000-09-01 Thread Dekel Tsur

On Fri, Sep 01, 2000 at 02:02:21AM +0200, Martijn Brouwer wrote:
 How can I suppress the annoying 'Typeset by FoilTeX' messages in a FoilTeX
 presentation? Even Micro$oft does not play such a trick...

Put \MyLogo{} in the preamble.



[fwd] Re[2]: Followup: Bibliography problems.]

2000-09-04 Thread Dekel Tsur




On Fri, 1 Sep 2000 14:50:26 +0300 Dekel wrote:

  It is much better to build a bibtex database than enter the bibliography
  inside LyX. If you don't know the bibtex file format, you can use a GUI
  bibliography managers like gbib, pyliographer, tkbibtex or barracuda.

I strongly agree, however I recommend reading about BibTeX
database format even when using a GUI just to understand
what is happening as the concept is very different from
"normal" textprocessing systems (far better) Besides
Chapters about BibTeX in any good LaTeX book I recommend the
files btxdoc.txt und btxdoc.bib that come with BibTeX and
should be part of every complete TeX installation.

Guenter

--
[EMAIL PROTECTED]






Re: Call for feature

2000-09-05 Thread Dekel Tsur

On Mon, Sep 04, 2000 at 02:42:34PM +0200, Aleksandr Konstantinov wrote:
 Hello, All.
 
  I finally moved from lyx-1.1.4 to lyx-1.1.5fix1  and liked it very
 much.
  Especially I liked the possibility to create multilingual documents.
 But
 this feature is not full without possibility to change inputencoding as
 well.
 Is it possible to include such feature in upcoming version ? 

I've already added this feature :)
However, the inputenc package allows changing the input encoding
only between paragraphs, (not inside paragraphs).
I tried to change the package to remove my limitations, but since I don't
know much about latex programming, I couldn't managed to do it without
adding some side-effects.
Does anyone knows how to do it correctly ?

I also want to add support for Omega, which I think allows processing of
utf8 encoded files. A patch from you will be welcomed.

 For 1.1.5 i can suggest the patch to add this feature and also to
 provide the 
 possibility to add more encoding and languages than precompiled in LyX.

I have planned to have the languages definition in a file and not hard-coded,
but I haven't done it yet. Again, a patch will be welcomed.



Re: Preprocessing .tex file

2000-09-17 Thread Dekel Tsur

On Mon, Sep 11, 2000 at 12:26:09AM +0200, Matej Cepl wrote:
 
 I am a Czech. And we have a problem in the Czech typography -- 
 one letter prepositions. According to the Czech typographical rules, 
 one-letter preposition cannot be the last word on a line. Therefore, 
 some Czechs prepared program vlnka (see 
 http://math.feld.cvut.cz/olsak/Welcome.html for further reference), 
 which replaces space after one-letter preposition by tilde (~). How 
 to include such preprocessor to work in the LyX-driven process of 
 {dvi,ps}-generation?

Create a script called (for example) mylatex
-
#!/usr/bin/tcsh

set f = $1:r
vlnka  $f.tex ! $f_tmp.tex
latex $f_tmp
cat $f_tmp.log ! $f.log
cat $f_tmp.aux ! $f.aux
cat $f_tmp.dvi ! $f.dvi
-
and add the following line to ~/.lyx/lyxrc 
\latex_command mylatex



Re: Couple of complaints

2000-09-17 Thread Dekel Tsur

On Thu, Sep 14, 2000 at 07:45:01PM +0200, Matej Cepl wrote:

 1) There is something screwed up with LinuxDoc support (I know, 
 
 Original text is HTML, which I have transformed by hand into 
 linuxdoc-SGML (checked via sgmlcheck -- sgml-tools-1.0.9-2 w/ 
 Czech support) and then imported via sgml2latex and reLyX into 
 LyX. Everything seems to be OK, the format of document is fairly 
 simple anyway.

You can import Linuxdoc files directly from LyX (using the sgml2lyx command).

 2) Well, the only part of LyX which I really do not like is its 
 international keyboard support (for example the issue of inserting 
 non-alphanumeric characters, like \{} -- necessary when using ERT; 

I can't understand what is the problem here. Please explain more verbosely.

 Pause doesn't work for me as a switcher and I really hate "intuitive" 
 combination of M-k,x for US keyboard and M-x,1 for Czech keyboard 
 :-).

I'm not sure what you meant here, but you can define your own bindings for
changing between keymaps.

 I understand, that LyX has been initiated in the time when there was 
 not support for international keyboards at all, so LyX has been built 
 to work even on "empty railway-station" as my brother characterize 
 programs working without any support from operating environment. 
 But (thanks God) such awfull times are gone and bot GNOME as well 
 as KDE (which counts for 90% of all LyX's users, IMHO) have 
 excellent international keyboard support and you could rely on it. Or 
 at least (if the number of plain X-Window users is bigger) you could 
 at least make use of LyX's own support optional, couldn't you?

Why using an external keymap program is better ?



Re: *.lyx --- *.pdf ??

2000-09-17 Thread Dekel Tsur

On Thu, Sep 14, 2000 at 07:45:01PM +0200, Matej Cepl wrote:
 I do not know anything about math-fonts, but using 
 \usepackage{pslatex} (available via Layout/Document/Font) makes 
 things working for me very well (no Type3 fonts).

It is also possible to use the default (Computer Modern) fonts.
See http://www.mail-archive.com/lyx-users@lists.lyx.org/msg06029.html

 On 13 Sep 00, at 10:15, Tuukka Toivonen wrote:
 
  On Tue, 12 Sep 2000, John Culleton wrote:
  
   You can convert ps documents to pdf using ps2pdf. I find this the surest
  
  Yes, but the fonts (at least for math) will be bitmapped, which means that
  they look ugly with acroread and don't work at all with xpdf. It will be
  fine with gv, though.
  
  It is probably better to use pdftex/pdflatex, which works fine as long as

You can also have outline fonts when using ps2pdf.
The problem is that either you are using an old Ghostscript (version  6.0),
or that your dvips isn't set to use outline fonts.
See the link above for more information.



Re: *.lyx --- *.pdf ??

2000-09-17 Thread Dekel Tsur

On Fri, Sep 15, 2000 at 09:20:22AM +0200, Jean-Pierre.Chretien wrote:
 Up to my experience, it's OK unless you used bodsymbol
 (there is a warning message :
 
 LaTeX Warning: there is no bold Symbol font on input line 48.
 
 and it fails).
 
 Perhaps this doesn't happen in LyX, this was with a LaTeX file where
 \newcommand{\delbol}{\mbox{\boldmath $\delta$}}
 allowed to have bold greek symbols, \mathbf fails with usual fonts.

It is perhaps cleaner to use the \boldsymbol{} command (from AMS math)
for bold symbols.
When using pslatex, the \boldsymbol{} (or \boldmath) doesn't work as
the Postscript fonts do not have a bold symbol font. You should use instead
the \pmb{} (poor man's bold) command (from AMS math).
You can also redefine the \boldsymbol command by putting
 \renewcommand{\boldsymbol}[1]{\pmb{#1}} in the preamble.

 But I checked that \mathbf works fine with greek symbol when
 pslatex is called, so should pslatex should be recommended to provide
 bold math symbols ?

\mathbf only works with latin letters, and not with greek.



Re: quality .eps screenshots???

2000-09-22 Thread Dekel Tsur

On Thu, Sep 21, 2000 at 10:04:19PM -, [EMAIL PROTECTED] wrote:
 Hello
 I desperately try to insert Linux desktop screenshots into my
 LyX formatted thesis.
 The problem is and was that I don't manage to generate .eps grayscale
 (because B/W laserprinter)with enough quality. My fellow students would
 laugh on me when comparing their sharp pictures inserted in Word :-((
 So I tried both Gimp and Xv as advised in your ML archive under the thread
 reference "Using GIF Images?" (especially by contributor C. Sawtell).
 Unfortunately, the results seen and printed via GV5.50 are still awful.
 What's the procedure to prove that LyX "can do it"?

If bitmap graphics is needed, perhaps the best way is to use pdflatex which can
directly include JPEG/PNG/TIFF images.
Unfortunately, the most recent stable version (1.1.5fix1) doesn't have PDF
support, so you will have to export the file as latex and run pdflatex
yourself (the CVS version does have PDF support).



Re: proof in Lyx

2000-10-12 Thread Dekel Tsur

On Tue, Oct 10, 2000 at 01:50:43PM +0200, Nicolas SABOURET wrote:
 How can I make inferences like :
B C
--- (y)
  A  D
 -- (x)
   E
 
 There exists a "proof.sty" package with a "\infer{}{}" command, but if
 A,B,C,D,E are big math formulaes, I can't use "\infer{}{}" in math mode
 : it doesn't hold on a single lyx line (screen isn't wide enough :)). Is
 there a solution ?
 Can I temporarily redefine \frac by \infer ? How can I do this ?
 Nicolas.

Yes. If you don't need to use (normal) \frac, just put the following line in
the preamble:
\def\frac##1##2{\infer{##2}{##1}}

If you do need to use \frac, then put the following line in the preamble
\def\foo#1{{\def\frac##1##2{\infer{##2}{##1}}#1}}
and then put \foo{} around each formula inset with a proof (outside of the
insets).



Re: second try: CJK-LyX with Japanese AND German support

2000-10-12 Thread Dekel Tsur

 as it seems I'm in a dilemma. Perhaps someone can help me. Basicly I'm
 writing in German but sometimes I also need Japanese (in the same document).
 So I installed CJK-LyX on an RedHat 6.2J and really managed to get japanese
 support for writing and printing -- but I lost the German support. As far as
 I see it depends on the LANG variable. If I define LANG as "de_DE", the
 japanese support doesn't work. If I define it "ja_JP" the german umlauts
 don't work although the document is defined in lyx as language=German and
 encoding=Latin1. (By the way the menues appear in German!) I also tried to
 define a secondary keyboard as german. But no success: documents written in
 German don't appear correctly and I can't write umlauts.
 Does anybody know a way to get japanese support in LyX without losing the

Which of the following are you experiencing when LANG is set to ja_JP ?
(1) You can't enter umlauts within LyX.
(2) Umlauts are not shown in the LyX window
(3) Umlauts are not shown in the DVI/Postscript.

I suspect that (3) happens as the encoding defined by the inputenc package 
(Latin1) clashes with the encoding defined by the CJK package (Big5, GB etc.).
Perhaps you need to use the UTF8 encoding option of the CJK package (if
CJK-LyX supports it), or use Omega instead of LaTeX (if CJK-LYX supports it).
Also, if (3) happens, please send me a small example file 
(the lyx file + the latex file).

Anyhow, I plan of integrating the CJK-LyX into the normal version, and I
hope that in this process your problem will be solved.



Re: initial enumerate counter value

2000-10-15 Thread Dekel Tsur

On Fri, Oct 13, 2000 at 04:52:37PM -0400, Lior Silberman wrote:
 Hello,
 
 I'd like to have an enumerate environment, starting the count from 5
 (rather than 1). The LaTeX effect I'd like to have is:
 
 \begin{enumerate}
 \setcounter{enumi}{5}
 \item My First Item
 \item My Second Item
 \end{enumerate}
 
 But in LyX, if I put ERT in the "Enumerate" enivronment, it's put into the
 first item and not before it, while if I put it before the start of the
 environment it has no effect.

Put [5.]\setcounter{enumi}{5} in latex mode at the beginning of the first
item.

Note that if you just want to suspend an enumerate (i.e., you have items
1,2,3,4 then some text and then items 5,6,7,...) then you should use the
mdwlist package. See the attached file.


#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 2.16
\textclass article
\begin_preamble
\usepackage{mdwlist}
\end_preamble
\language default
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Enumerate

Item 1
\layout Enumerate

Item 2
\layout Enumerate

Item 3
\layout Enumerate

Item 4
\begin_deeper 
\layout Standard


\latex latex 

\backslash 
suspend{enumerate}
\latex default 
This is a text outside the enumerate.
 This is a text outside the enumerate.
 This is a text outside the enumerate.
\layout Standard

It may contain more than one paragraph.
\latex latex 

\backslash 
resume{enumerate}
\end_deeper 
\layout Enumerate

Item 5
\layout Enumerate

Item 6
\the_end



Re: Status of pdflatex support in lyx?

2000-10-18 Thread Dekel Tsur

On Wed, Oct 18, 2000 at 11:29:27AM +0200, Lars Gullik Bjnnes wrote:
 Beaubert Francois [EMAIL PROTECTED] writes:
 
 | Hi,
 | 
 | I'm wondering about the status of pdflatex support in lyx
 | To me the only tool avaible to produce pdf directly from lyx files is
 | lyx2pdf which work well on my computer
 | But is there plan to include pdflatex support in lyx in 1.1.6?
 
 No, not directly... but there will be support for exporting to latex.
 And that export can use pdflatex.
 
 More integrated support will not come until 1.2.x

No, there will be a direct support for pdflatex in 1.1.6,
i.e. in the File-Export menu, one of the options is to export as PDF
(using pdflatex).



Re: the most annoying feature...

2000-10-23 Thread Dekel Tsur

On Wed, Oct 18, 2000 at 10:12:58AM -0400, Christopher wrote:
 This is a comment for anyone who wants to take notice (hint hint, you
 developers out there). I am ever annoyed that when I have a footnote standing
 at the end of a line I cannot place my cursor after the footnote using my
 mouse, without opening the footnote window. I have to use my arrow keys to get
 my cursor there. Nor can I select such a line to delete it, without the same
 thing happening. I have to use shift-arrow.
 
 I hope that's clear. And in case I am griping about something which is fixable,
 please let me know how.

Good news: this bug will be fixed in 1.2.0, as footnotes will be implemented 
as insets.

Bad news: due to the above, it is possible that no developer will bother to
fix the bug before 1.2.0 (although it should probably be easy to fix).



Re: Itemize in Enumerate, how to ?

2000-10-25 Thread Dekel Tsur

On Tue, Oct 24, 2000 at 07:20:08PM +0200, Aleksandr Konstantinov wrote:
 Hello
 
 
  I want to write following in LyX (using lix1.1.4):
 
 
  1. Enumerated string 1
   * Itemized string 1  
   * Itemized string 2
 Continuation of enumerated string 1
  2. Enumerated strig 2
 ...
 
 But can't find how. Can anybody help me ?

You just need to change the layout of the "Continuation of.." paragraph to
"Standard", and change its depth with the "Change env. depth" icon in the
toolbar.
See the attached file.


#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 2.16
\textclass article
\language default
\inputencoding default
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Enumerate

Enumerated string 1
\begin_deeper 
\layout Itemize

Itemized string 1
\layout Itemize

Itemized string 2
\layout Standard

Continuation of enumerated string 1
\end_deeper 
\layout Enumerate

Enumerated string 2
\the_end



Re: right to left writting

2000-10-27 Thread Dekel Tsur

On Thu, Oct 26, 2000 at 05:35:18AM -0400, Mahmud Ashrafizaadeh wrote:
 Hi there,
 Could someone please help me find the documentation for the 
 Right-to-Left support for Hebrew and Arabic in Lyx 1.1.5-fix2 ?
 Your help is appreciated.
 Thanks.

Instructions for Hebrew are given in http://www.math.tau.ac.il/~dekelts/lyx/
(more specifically, http://www.math.tau.ac.il/~dekelts/lyx/instructions.txt)
Instructions for Arabic are given in the file lyxrc.example in the LyX
distribution.



Re: TOC and section numbering

2000-10-28 Thread Dekel Tsur

On Thu, Oct 26, 2000 at 01:06:21PM -0500, Will Fischer wrote:
 Here's my problem:  I like to use the TOC to navigate around my
 documents, but I don't like to have the numbers in the section,
 subsection, etc.   
 
 Currently I use the Section environment while I'm writing, then
 (when I'm printing final copy) I edit the file with a text editor to
 change all the "Section" headings to "Section*".  This works, but is
 a pain.
 
 Could it be made possible to include the Section* etc. environments
 in the TOC?

The Section* environments do not appear in the TOC menu as they also do not
appear in the "Table of Contents" generated by latex.

However, you can use the non-stared environments (section, ...), and set the
section number depth (using layout-document menu) to -1 (this will omit the
numbering from these environments).



Re: command line export fails

2000-11-03 Thread Dekel Tsur

On Thu, Nov 02, 2000 at 10:45:11AM -0500, Will Fischer wrote:
 Running lyx-1.1.5fix2-1 on RedHat linux 6.2
 
 I type:
 me% lyx --export ps Research+TrainingPlan.lyx
 
 A lyx window pops up briefly, then goes away.
 
 lyx types:
 About to handle -x 'buffer-export postscript'
 We are done!   
 
 So, all is well ... but no postscript file appears.  Same thing if I
 ask for latex.  What's up?  This is supposed to work, right?

I can verify that in 1.1.5fix2, command line export to postscript doesn't work,
but export to latex does work.
However, in 1.1.6pre1 it is possible to export to postscript (and PDF).
Morover, LyX doesn't open a window in the process!.
(Warning: using a pre-release is at your own risk).



Re: blue underline for wrong language?

2000-11-16 Thread Dekel Tsur

On Thu, Nov 16, 2000 at 11:54:35AM +0100, Oscar wrote:
 
 I understand that this feature tries to allow multilingual documents,
 but it has never worked for me, I mean if I try to spellcheck a document
 which has text with differents languages ispell is not able to work
 properly

There is no support, yet!, for spellchecking multi-lingual documents.

The multi-lingual support does the following:

1. Change the font between languages that uses different fonts (e.g.
English/Russian).

2. Make latex use correct hyphenation patterns
(i.e., if you write some German text inside a English document, and you
don't mark this text as German, the German words will not get hyphenated).

3. Change the language of automatically generated text (e.g. "Figure" or
"Table").



Re: Customizing Chapter

2000-11-16 Thread Dekel Tsur

On Thu, Nov 16, 2000 at 05:49:15PM +0800, Teddy Surya Gunawan wrote:
 Hi,
 
 I want to change the appearance of Chapter. I am using report class to
 write my thesis. So, how can I customize lyx/latex from :
 
 Chapter 1
 Introduction
 
 to :
 
   Chapter 1
 Introduction
 --

Put the following in the preamble:

\usepackage{titlesec}
\titleformat{\chapter}[display]
  {\normalfont\Large\filcenter\sffamily}
  {\LARGE\chaptertitlename \thechapter}
  {1ex}
  {\Huge}
  [\vspace{0.5ex}\titlerule]

You can also look in the titlesec documantion for more (prettier) examples.



Re: Presentation / large fonts

2000-11-16 Thread Dekel Tsur

On Thu, Nov 16, 2000 at 12:33:56PM +0200, Tuukka Toivonen wrote:
 I need to do a presentation (transparencies etc) due Friday. Of course,
 I'd like very much to use LyX.
 
 First I'd like to hear comments, tips and maybe even have example
 presentations done with LyX.

I've recently created a presentation using pdfscreen and TeXPower.
The result PDF file is viewed using Acrobat reader in full screen mode,
and the result is like a powerpoint presentation
(i.e. I didn't create transparencies).

I've put a small example at
http://www.math.tau.ac.il/~dekelts/lyx/pdfscreen.tar.gz
It contains slightly modified version of pdfscreen.sty, and a pdfscreen.layout
file. Note that the file can only be processed with pdflatex, so either use
lyx 1.1.6cvs/1.1.6pre*, or manually export to latex and run pdflatex.




Re: I got some problem to produce a tex file

2000-11-24 Thread Dekel Tsur

On Fri, Nov 24, 2000 at 03:42:54AM -0600, Yong Min Wang wrote:
 To whom it may concern:
 
 Hi, I have gladly installed you program and tried some documents.
 But after finishing making a document, I tried to print but failed.
 The message is that there are some errors for tex file, which is 
 the same message as the one I got when trying to make a tex file.
 Those messages seem to be related with tex syntex, "begin{document}"
 and "end{document}" but I don't know how to fix them.
 
 Please give me some help to fix those errors.

In the latex preamble you have a '{' which isn't closed by '}'.
To fix the problem, you can just erase the whole preamble.




Re: Section with line (slightly off-topic)

2000-12-01 Thread Dekel Tsur

On Thu, Nov 30, 2000 at 11:47:00AM +0100, Matej Cepl wrote:
 Hi,
 
 trying to create sectino with line. What I mean is something
 like this
 
 Section title___ (to the right edge)
 

 \usepackage{titlesec}
 \titleformat{\section}[hang]
  {\ttfamily\huge\bfseries}
  {}{}{\hrulefill}

Use:

\usepackage{titlesec}
\newcommand{\hruleafter}[1]{#1\hrulefill}
\titleformat{\section}[hang]
{\ttfamily\huge\bfseries}
{}{0ex}{\hruleafter}



Re: Newbie request: severe problem with fontenc in LyX with latex2html

2000-12-04 Thread Dekel Tsur

On Fri, Dec 01, 2000 at 06:05:37PM +0100, Heiko Schroeder wrote:
 My aim: I want to create a HTML-Output with LyX using "Export HTML".

You don't write what exactly is your problem with the output generated by
latex2html. My guess is that at least one problem is that the URLs entered 
using the URL inset are not translated into hyperlinks.

 My problem: I get the folowing message although I put in the LaTeX preamble 
 \usepackage {html, fontenc, url} and fontenc.sty, html.sty do exist:
You don't need to use include the fontenc and url packages, as LyX
already does this.

 No implementation found for style 'fontenc'
 No implementation found for style 'url'

This is a warning message of latex2html telling that it doesn't know how to
handle these packages (although it can handle the \url command).

 The ???.aux file was not found

Before running latex2html from LyX, you need to create a .aux file by
selecting file-export-dvi. This bug was fixed in lyx 1.1.6

 redefining command \url
 previous meaning of \url will be lost
 
 Unknown commands IfFileExists

LyX generates the following latex code:
\IfFileExists{url.sty}{\usepackage{url}}
  {\newcommand{\url}{\texttt}}
which is used to define a simple \url command if the url.sty package is not
available. However, latex2html doesn't understand the IfFileExists, which
causes it to redefine \url as \texttt, and therefore, it will not create a
hyperlink when the \url command is used.

Solutions to this problem:
1) Check if this bug happens in the latest version of latex2html.
2) Switch to another latex-html converter.
3) Export the lyx file to tex, and change the two lines above 
(\IfFileExists... ) to '\usepackage{url}', and run latex2html manually.
4) Write a script that does (3) or use the lyx2html script from
http://user.cs.tu-berlin.de/~tron/opensource/node31.html



Re: Something like reftex

2000-12-07 Thread Dekel Tsur

On Wed, Dec 06, 2000 at 06:10:29PM +0100, Jan Ulrich Hasecke wrote:
 Hi LyX-Users!
 
 Is there anything like reftex for LyX?  Reftex with Emacs+AucTeX
 nearly automagically inserts labels for each section. It would be nice
 if each heading, table, figure etc. gets a label by default. Are there
 any plans?

I've already implemented this feature. However, it may not appear in 1.1.6
as we don't want to add new feature now, but it may appear in 1.1.6fix1.




Re: Footnoteref Problem

2000-12-08 Thread Dekel Tsur

On Thu, Dec 07, 2000 at 09:53:19PM -0800, Dave Tweten wrote:

 This time, I need for both the original footnote and the \footnoteref to be in 
 section headings.  In spite of adding \protect's everywhere I can think to do 
 so, I'm left with the following LaTeX error at the \footnotemark:
 
   Missing number, treated as zero.
   ...ect\footnotemark[\protect\ref{foot:div}]}
 
   A number should have been here; I inserted "0".
   (If you can't figure out why I needed to see a number,
   look up `wierd error' in the index to The TeXbook.)
 
 "Wierd error" indeed.  I protected the original footnote in its section 
 heading.  I protected the label within the footnote.  I protected the 
 footnotemark in its section heading, and I protected its optional reference 
 argument.  My previous experience is that a \ref to a label in a previous 
 footnote will produce the number footnotemark needs.
 
 Is this just not possible, or can someone show me how to get what I'm looking 
 for?

You should put protect _only_ before \footnotemark, namely
\protect\footnotemark[\ref{foot:div}]



Re: Picture on title page

2000-12-08 Thread Dekel Tsur

On Fri, Dec 08, 2000 at 02:11:27PM +0100, Yann Collete wrote:
 Hello,
 
 I have tried very hard to add a picture on the title page but
 it does not work. When I put the picture under the author's name,
 the picture is printed on the second page.
 I can't find any information on the Latex FAQ.
 So, how can I do ?

After entering the author name, press ctrl+enter, and then insert the figure
as _inlined_.
Another option, is to put the figure (as inlined) in the date layout.



Re: Footnoteref Problem

2000-12-10 Thread Dekel Tsur

On Sun, Dec 10, 2000 at 12:59:33AM +, Herbert Voss wrote:
 Dave Tweten wrote:
 
 it's a solution without \footnoteref. the command \sups
 for superscript is defined in latex preamble.
 
 hope this helps.

It is better to use
\newcommand\sups[1]{\textsuperscript{\rm #1}}



Re: footnotes in HTML

2000-12-14 Thread Dekel Tsur

On Wed, Dec 13, 2000 at 04:30:15PM -0500, Dikeman, Brett wrote:
 I'm trying to export an HTML version of some docs I just finished up.  After
 reading through the various docs and checking both the archives and the web
 in general, I haven't found any conclusive instructions on "fixing"
 footnotes...just unhelpful stuff about cleanup scripts that Lyx runs to prep
 the tex file and then clean up latex2html's output.
 
 Specifically, I get munged footnotes with what appears to be latex commands
 and @@'s around the footnote text, which is inline with the text.  I tried
 both an export and a manual run of latex2html.  Both spit out text that's
 pretty much useless with the footnotes the way they are(otherwise, the docs
 look great.)
 
 I'm using 1.1.5-fix2 of Lyx and 99.2beta6(1.42) of Latex2html.

Perhaps you use a footnote in a section, in which case LyX redefines
the footnote command, which probably confuses the latex2html converter.
Try exporting to latex, and check if you get the following in the beginning
of the file:
%% Special footnote code from the package 'stblftnt.sty'
%% Author: Robin Fairbairns -- Last revised Dec 13 1996
\let\SF@@footnote\footnote
...
  \expandafter\noexpand\csname SF@gobble@opt \endcsname}
\def\SF@gobble@twobracket[#1]#2{}

If so, remove this part, and run latex2html manually.

If the above doesn't help, try using a different latex2html converter:
tth - http://hutchinson.belmont.ma.us/tth/
ltoh - http://www.best.com/~quong/ltoh/
hevea - http://para.inria.fr/~maranget/hevea/



Re: Help with Maths Symbol

2000-12-14 Thread Dekel Tsur

On Thu, Dec 14, 2000 at 09:29:09AM +0200, Lindsey Bangay wrote:
 HI
 
 I need help for displaying notation used in the teaching of our
 introductory financial maths course for displaying  present and future values
 of annuities.
 
 The required symbol is n with a line on top and a line to the right, followed
 by and i,  pronounced n angle i.  Looks something like this
   _
   n | i
 
 but with the lines joined. It can be done manually with ERT  latex as a single
 cell table with a top line and right line, however I need to use this within
 maths displays. Is this possible? Any ideas?

Here is a possible solution (there may be a better solution):
In the preamble put
\newcommand{\foo}[1]{\mbox{\begin{tabular}{@{}c@{\,}|} \hline #1\\
\end{tabular}\,}}
and when in the math editor, type \foo{n
(you will see foo{n} where foo{} is in red, and n in blue).



Re: how to get date out of title?

2000-12-14 Thread Dekel Tsur

On Thu, Dec 14, 2000 at 09:48:27AM -0600, Ronny Haryanto wrote:
 On 14-Dec-2000, Anna H.Pryor wrote:
  I don't want to have the date automatically appear with the title.  Is there an 
  easy way to fix that?
 
 You could put a forced blank in the date environment, Ctrl-Space by default.

This will generate too much space between the title/author and the beginning
of the text.
A better option is to insert a note in the date layout, or alternatively,
insert {} in latex mode in the date layout.



Re: Comment/lyx-code problem

2000-12-16 Thread Dekel Tsur

On Sat, Dec 16, 2000 at 08:27:08AM +, Herbert Voss wrote:
 Jason Stirling wrote:
  
  Here's how to produce the problem:

The problem is the quotes in the lyx-code paragraph.
To fix this problem, edit the file LYXLIBDIR/layouts/lyxmacros.inc
replacing the line
  \verbatim@font}%
by
  \normalfont\ttfamily}%

 i could only produce an error once, when i deleted some text
 in the comment line, but all other runs no problem with class article, 
 an empty preamble and lyx 1.1.6pre2 

The above fix has been applied to 1.1.6, which explains why you didn't have
problems.



Re: How can I fax with 1.1.6pre2

2000-12-17 Thread Dekel Tsur

On Sat, Dec 16, 2000 at 06:16:03PM -0500, Ronald Florence wrote:
 I haven't tried Lyx-1.1.6pre2, but for previous versions of LyX,
 including 1.1.5fix2, tkhylafax (at least version 3.2 or later) works
 very well with the following in lyxrc:
 
\fax_program "tkhylafax -file $$FName"
 
 Hylafax is a superb fax daemon for a networked setup, and far more
 reliable and versatile than any other fax program I've tried.

In 1.1.6pre2 you should use
\converter ps fax "tkhylafax -file $$i"
in lyxrc/preferences (or define this converter using the GUI).



Re: Converting Lyx files to PDF

2000-12-28 Thread Dekel Tsur

On Wed, Dec 27, 2000 at 10:10:14PM -0300, German Poo Caaman~o wrote:
 IMHO, don't try pdflatex until you have more experience.  You
 can try:
 1. Choose "pslatex" on Format/Document/Font.

This should be Layout-Documents-Fonts.

 2. Export to PostScript
 3. execute ps2pdf your-file.ps

It seems he was using LyX 1.1.6pre2 in which steps 2,3 should be replaced by
2. Choose View-PDF from the menu.



Re: figure floats with text besides the picture

2001-01-04 Thread Dekel Tsur

On Thu, Jan 04, 2001 at 11:21:10PM +0200, Dekel Tsur wrote:
 Alternatively, you can use the following hack:
 Insert the following lines to your .layout file

 Style Caption
 ...

An alternative to the above is to put the following in the layout file:

Style ShortCaption
  CopyStyle Caption
  LatexName setshortcaption
  LabelString   "Short Caption:"
  LabelType Static
  Preamble
\let\oldcaption=\caption
\renewcommand{\caption}[1]{
\ifx \shortcaption \undefined
   \oldcaption{#1}
\else
   \oldcaption[\shortcaption]{#1}
\fi
}
\newcommand{\setshortcaption}[1]{
\newcommand{\shortcaption}{#1}
}
  EndPreamble
End



Re: footnotes at end of a longtable

2001-01-08 Thread Dekel Tsur

On Sun, Jan 07, 2001 at 08:39:22PM +, Herbert Voss wrote:
 Rolf von Kuhlmann wrote:
  
  I want footnotes in a longtable, but they should appear at the end of the table, 
not at the
  bottom of the respective pages. This seems not to be covered by any of the 
examples in
  TableExamples.lyx .
  Is it possible, or does anybody know a workaround?
 
 from my point of view with standard-footnotes not possible.

It is possible!
The following solution is based of the footnote.sty package, after changing
one line (so the footnotes will not appear as footnotes at the last page of
table).

To use it, put

\usepackage{myfootnote}
\makesavenoteenv{longtable}

in the preamble (and use \footnote in the longtable as usual).

 myfootnote.sty.gz


Re: bibtex question

2001-01-08 Thread Dekel Tsur

On Sun, Jan 07, 2001 at 06:23:21PM +0200, Liad Blumrozen wrote:
 Hi lyx users,
 
 How can I change the vertical space between entries of the bibtex
 section? I need to change the space between the bib entries, but do not
 change the vertical space in other parts of the document.
 In default, there is a line space which I want to ommit.

Put

\renewcommand{\@openbib@code}{\setlength{\itemsep}{0pt}}

in the preamble (this will work in the standard classes article/report/book).
You might need to put negative space instead of 0pt.




Re: Directory Tree

2001-01-09 Thread Dekel Tsur

On Tue, Jan 09, 2001 at 11:14:11AM -0600, Darryl VanDorp wrote:
 Hiya lyx users,
 
 I'm trying to diagram a directory layout using lyx that will export nicely to
 ASCII and html. However I can't use spaces etc. in lyx. how would i do 
 something like
 this:

Use the lyx-code layout (and use ctrl+enter to break the lines).



Re: 1.1.6-pre3 and wv

2001-01-09 Thread Dekel Tsur

On Tue, Jan 09, 2001 at 05:59:08PM +0200, Robin Turner wrote:
 Nice to see Word import in 1.1.6-pre3 - I never use Word myself, but
 people insist on sending me files in .doc format.  However, I'm having
 trouble getting it to work.  With wv versions 0.5.26 and 0.5.44, lyx
 won't detect wv (i.e. after reconfiguring there is still no "Import -
 Word" option).  With version 0.6.2, Import-Word gives me all the LaTeX
 commands' but the text is just digital garbage.  Is there another
 version of wv I should be using, or is there something else I should
 have installed?

What was the language of the document?
wv supports only latin1 encoding (but it is possible to change this).



Re: VNC and LyX

2001-01-11 Thread Dekel Tsur

On Wed, Jan 10, 2001 at 12:50:14PM +1200, Arnim Littek wrote:
 I find that LyX V1.1.5fix2 and earlier does not work over VNC.  I've
 not done any homework to establish why.

Your vncserver probably runs in 8 bit *TrueColor* which causes many problems.
You should either run it in 8 bit PseudoColor by using the -cc 3 flag
or run in in 16 bit (or more) TrueColor using the -depth 16 flag.






Re: Table of Contents in Text output?

2001-01-11 Thread Dekel Tsur

On Tue, Jan 09, 2001 at 01:56:50PM -0500, Ronald Florence wrote:
 Brian Lavender wrote:
 
How do I get the table of contents generated with ascii text
 
 Herbert's suggestion is, as usual, timely and correct.  But I wonder:
 if the philosopy of LyX is that the user should worry about content
 and not the form of what is being written, shouldn't the user be able
 to export to commonly used formats, like ascii without the gyrations
 of converting to pdf or ps and then to ascii?  I've seen comparably
 complicated recommendations for getting a word-count and other
 operations that shouldn't require the user to look up the procedure
 and revert to an xterm and a shell to run off scripts and pipelines.

The CVS version now creates a table of contents when doing ascii export,
so this feature will be in 1.1.6 which will be released soon.



Re: Should Lyx allow me to introduce a mistake like this?

2001-01-13 Thread Dekel Tsur

On Fri, Jan 12, 2001 at 10:46:05AM -0600, Paul E Johnson wrote:
 If it is true that sections cannot be correctly modified through
 layout-paragraph, shouldn't LyX block me from making those changes?

Yes, it should. I'll fix this.



Re: 1.1.6 Bugs

2001-01-15 Thread Dekel Tsur

On Sun, Jan 14, 2001 at 06:42:09PM -0800, Jeremy Fox wrote:
 Hi.
 
 I am a lowly user, but I've had a lot of trouble with 1.1.6:
 
 I have experienced other problems I can't remember and am going to
 reinstall 1.1.5fix2. I am using Solaris 2.6. Previous versions of LyX
 have always worked.

What is your compiler ?
Try compiling again, after running 'configure --with-included-string'



Re: Release LyX 1.1.6 - DVI view

2001-01-15 Thread Dekel Tsur

On Mon, Jan 15, 2001 at 01:10:16PM +, Adrian Ball wrote:
 
 I am having real trouble with previewing the document I am working on. 
 Everything works fine, but running a preview consistently shows me a previous
 version.  The only way to fix it easily is to close and reopen the document,
 then preview it.

This might be a bug.
Please run LyX with the '-dbg depend' flag, open a file, do view-dvi,
make a change in the file, and do view-dvi again.
Now, send to lyx-devel all the debug messages from LyX.



Re: configuring fax custom ascii export commands (lyx-1.1.6)

2001-01-17 Thread Dekel Tsur

On Mon, Jan 15, 2001 at 03:31:25PM -0500, Ronald Florence wrote:
 pointer to a guide, or perhaps a brief summary instruction, on how to
 configure lyx-1.1.5 (lyxrc) features like
 
   \fax_program "tkhylafax -file $$FName"

Open the preferences dialog, select converter from the top row, then
converters from the bottom.
Fill the fields as follows: from=Postscript, To=Fax, and
Converter="tkhylafax -file $$i", and press the add(or modify) button.

   \custom_export_command envelope  [using ascii export]
 
 into the preferences of lyx-1.1.6?

Open the preferences dialog, select converter from the top row, then
formats from the bottom.
Fill the fields as follows: Format=envelope,GUIname=Envelope
(leave the rest empty) and press Add.
Now go to the converters tab, and add an ASCII-envelope converter
(from=ASCII, to=Envelope, Converter="envelope $$i").



Re: double quotes are displayed as

2001-01-17 Thread Dekel Tsur

On Tue, Jan 16, 2001 at 08:45:00AM +0100, Thorsten Mika wrote:
 there is another problem of which i do not know whether it is xfs-related or a 
 lyx problem.
 since upgrading, lyx sometimes displays the "french" quotes as two "greater" 
 signs, i.e.  instead of the character lyx 1.1.2 used, which was correct. 
 strange thing: sometimes it works, esp. after changing the display font for 
 standard text, sometimes it does not. any idea? i am sorry, but i cannot really 
 reprodzue this "bug".

This is a a bug in LyX, which I've just fixed.



Re: pdf fonts

2001-01-17 Thread Dekel Tsur

On Wed, Jan 17, 2001 at 07:26:18AM +, Herbert Voss wrote:
 I have just tried out the new LyX 1.1.6 and its new shiny integrated PDF
  exporters, and I've found that the generated PDF documents have really ugly
  fonts, close to unreadable in Acrobat Reader. I'm sure there's a way to fix
  this ;-). Any hint?
 
 layout-document-fonts-pslatex
 and in your atex preamble 
 \usepackage{ae}

Only _one_ of the above should be used!
(and instead of the latter, it is better to use \usepackage{ae,aecompl} ).

More information is available in section 3.3.6.2 of Extended.lyx



Re: Two points on a letter.

2001-01-18 Thread Dekel Tsur

On Wed, Jan 17, 2001 at 11:32:57PM +0100, Joeri Verbiest wrote:
 Hi,
 
 Some german letters have two points on it, how can I to this in Lyx. I
 can't find it in the symbol list of LaTex.

You can enter these letters by pressing, M-m " and then pressing letter you
want (there also other methods).



Re: partial pdf export in 1.1.6

2001-01-18 Thread Dekel Tsur

On Thu, Jan 18, 2001 at 09:40:33AM -0500, Roy Cutler wrote:
 
 Hello everyone,
 
 I have the need to pull out chapters of a book seperately and make pdf 
 versions of them. In 1.1.5 I can do this by: exporting to PS and then using 
 the dialogue box to print out a range of pages, name the file "ChapterX.ps" 
 and then use to ps2pdf to convert it. Worked great. Is there anyway to do 
 this with the new pdf export function in 1.1.6? Does PS export still have the 
 same dialogue box in 1.1.6?

You can have this dialog if you choose file-print from the menu.



Re: 1.1.6-pre3 and wv

2001-01-18 Thread Dekel Tsur

On Thu, Jan 18, 2001 at 07:22:23PM +0200, Robin Turner wrote:
 I installed from RPMs.  If I compile wv from source, Lyx doesn't detect
 it.

In order to autodetect the wvCleanLatex program, it must be in your path.
Did you did a make install after compiling it ?
You can also add a Word-Latex converter manually using the preferences
dialog.

 Is it possible to use the old mswordview in Lyx (i.e. convert Word to
 HTML, then HTML to LaTeX)?

Yes. You just need to define a Word-html and html-latex converters in the
preferences dialog (but you will probably need to install a html-latex
converter).




Re: two definitions in a row, article(AMS), 1.1.5fix1

2001-01-19 Thread Dekel Tsur

On Thu, Jan 18, 2001 at 01:46:33PM -0600, Rodney Bates wrote:
 I am just learning lyx for the first time on a paper.  I want two
 (sometimes
 more) Definitions in a row.  The definition environment puts all
 contiguous
 definition paragraphs under one occurrence of the label "definition",
 with
 one definition number.  The only way I have gotten two of them is to put
 a standard paragraph in between, but I have no content for it, so I put
 the name of the thing being defined in the definition paragraph and its
 actual definition in subsequent stardard paragraphs.  I greatly doubt
 this is the way it was intended.  How do I do this the right way.

This is a limitation of LyX (we have plans to remove it, of course).
Currently, you need to put a "Comment" paragraph between any two consecutive
Definition paragraphs.



Re: two definitions in a row, article(AMS), 1.1.5fix1

2001-01-19 Thread Dekel Tsur

On Fri, Jan 19, 2001 at 10:42:15AM +0100, Herbert Voss wrote:
 Rodney Bates wrote:
  
   I am just learning lyx for the first time on a paper.  I want two
   (sometimes
   more) Definitions in a row.  The definition environment puts all
   contiguous
   definition paragraphs under one occurrence of the label "definition",
   with
   one definition number.
 
 insert a ctrl-space with the standard paragraph-style

No, this will generate too much space between the two definition paragraphs.
But you can put {} in latex mode (using standard paragraph), or as I mentioned
in another message, you can put a comment paragraph.



Re: how to add layout

2001-01-20 Thread Dekel Tsur

 Please would you help me to add  in "layout" arabic
 article.
 But with lyx I must add in the preambule 
 \usepackage{arabtex}. Unfortunatly the caracteristic
 of the arabtex don't appear.

Did you put
\language_package "\usepackage{arabtex,iso88596} \setcode{iso8859-6}"
in .lyx/lyxrc ?

 I used to save in latex file and change the document
 class to the class "arabart".
 It works OK.
 
 Now I would add this ine Layout to have directly from
 the Lyx.
 
 I mean I would have : "article (arab)" in the layout
 and standard ,section, subsection, , in the list
 (these words written in english it doesn't matter), 
 but when choose them tey refere to the correct thing.

Put the attached file (arab-article.layout) in ~/.lyx/layouts/
and then do options-reconfigure from LyX (or edit-reconfigure in LyX 1.1.6),
and restart LyX.


#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[arabart]{article (Arabic)}
# Arabic article textclass definition file.
# Author: Dekel Tsur [EMAIL PROTECTED]

Input article



Re: Fw: Section Numbering and Face.

2001-01-20 Thread Dekel Tsur

On Fri, Jan 19, 2001 at 05:12:47PM +, Angus Leeming wrote:
   Another question is how do I set the page margins? I have tried but it
   does
   not let me set them. May be I need to try milimeters?
 You need a valid unit with the integer. Eg, "1 cm", "2 em", "3 mm" etc.

You also need to make sure that the "Use geometry package" option is selected.



Re: Bibliography question

2001-01-20 Thread Dekel Tsur

On Fri, Jan 19, 2001 at 11:01:13AM -0800, Mohammad Reza Danesh wrote:
 I've recently upgraded my Lyx to 1.1.6 and I have the following problem with
 inserting bibliography citations.
 
 Let's say I have a master document with several chapters as sub-files inserted
 to it. I put the BibTex generated references in the master document. Now in
 sub-files, when I want to add a citation, I can't since the BibTex references
 are inserted in the master doc and aren't viewable by sub-files (all of the
 files are open).
 
 In previous versions, I had the option to type in the index of the citation
 (assuming that I know it) in sub-files. LaTex would find it and create the
 correct citation reference. In "Insert  Citation Reference" of 1.1.6, I can't
 type anything in (it should be taken from the existing list). My question is:
 should I use Tex to insert citations or there is another way to do this?

Copy the bibtex inset from the master file, and paste it into each of the
included files, changing the paragraph layout to comment.



Re: html

2001-01-20 Thread Dekel Tsur

On Fri, Jan 19, 2001 at 11:57:35PM +, Robin Gerard wrote:
 On Thu, Jan 11, 2001 at 11:15:18PM +, Herbert Voss wrote:
  Robin Gerard wrote:
   
   when I convert a file (lyx) into a file html the
   result is very fine, but not any of amya or netscape(3.04)
   can display the mathematical expressions...it is not
   a problem with lyx but, wich are the softs allows to display
   mathematical expression written in html ?
  
  what kind of converter do you have installed?
  tex2html or tth?
 
 I think that it is tex2html. Lyx dispays the msg :
 this document was generated using the latex2html 

latex2html converts the math formulae into PNG images which are readable by
any decent browser (I think that netscape 3 doesn't support PNG, but who
uses it ?).
I should be possible to cause latex2html to create GIF images instead of
PNG, but I don't know how (read the docs).



Re: Bibliography question

2001-01-21 Thread Dekel Tsur

On Sun, Jan 21, 2001 at 01:05:51AM +0200, Dekel Tsur wrote:
  In previous versions, I had the option to type in the index of the citation
  (assuming that I know it) in sub-files. LaTex would find it and create the
  correct citation reference. In "Insert  Citation Reference" of 1.1.6, I can't
  type anything in (it should be taken from the existing list). My question is:
  should I use Tex to insert citations or there is another way to do this?
 
 Copy the bibtex inset from the master file, and paste it into each of the
 included files, changing the paragraph layout to comment.

Another option is to type 'M-x citation-insert the citation key'
(in fact, instead of typing citation-insert, you can type ci and press Tab).



Re: lyx crashed for insert label

2001-01-22 Thread Dekel Tsur

On Mon, Jan 22, 2001 at 03:26:40PM +0200, Tuukka Toivonen wrote:
 On Mon, 22 Jan 2001, Tuukka Toivonen wrote:
 
  I didn't manage to crash it another time, so I guess this bug report is
  pretty useless, but I hope the best.
 
 Aha! Now I found how to reproduce this. Get the file
 http://s-inf-pc24.oulu.fi/ftp/incoming/lyxbug1.lyx

I cannot access this machine. Send the file (compressed) to lyx-devel,
if it is not too large ( 50K).

 Move the cursor so that the middle of the cursor is exactly on top of the
 "," character after the word "SSD". Ie. the cursor must be at
 "subscript" position. Click left mouse button. The equation jumps suddenly
 down half a line (bug #1).

I think I've already fixed this bug. Try using the latest CVS.



Re: LyX 1.1.6: Bug report #12

2001-01-22 Thread Dekel Tsur

On Mon, Jan 22, 2001 at 06:48:59PM +0100, Michael Schmitt wrote:
 
 Assume that I have created a reference to some label. Now if I select a
 different reference in the reference dialog and click at 'Goto Reference', LyX
 still jumps to the former label. Only after clicking "Apply", 'Goto Reference"
 jumps to the new label. I think this is at least very confusing. And it is not
 possible to check whether you have choosen the right label before you apply it. 

I've already fixed this bug (a week ago).



Re: LyX 1.1.6: Bug report #12

2001-01-22 Thread Dekel Tsur

 I've already fixed this bug (a week ago).

Sorry, wrong list!



Re: page break before headers

2001-01-23 Thread Dekel Tsur

On Mon, Jan 22, 2001 at 11:31:18PM -0500, Myriam Abramson wrote:
 How can I tell lyx once and for all to break before Section,
 subsection, paragraph etc. headers if there is no room for a couple of
 lines at least?

I think that LaTeX usually does that: it will put a pagebreak before a
section if there is no room for 2 lines, but I don't know how to increase the
value 2.
However, in some document classes, the sections command are poorly defined,
and the the section heading can appear on one page while the paragraph
begins at the next page.

Marco Bravi wrote:
 This translates into: "does LaTeX provide control over the number of
 widows/orphans of a document?". Every decent wordprocessor does, so I
 assume LaTeX does even better!

LaTeX does have widows/orphans control (from the LyX FAQ):
 To eliminate widows and orphans (first line from a paragraph at the bottom
 of the page and the last line from a paragraph at the top of the page), add
 the following to the LaTeX preamble:
 \widowpenalty=1 
 \clubpenalty=1 

but I don't think it will help with the problem above.



Re: trouble exporting lyx to pdf and html

2001-01-24 Thread Dekel Tsur

On Tue, Jan 23, 2001 at 07:46:58PM +0100, Marcus Beyer wrote:
 Isn't PDFLaTeX the _only_ reasonable solution,
 when you want to include bitmap pictures,
 but don't want to have huge 
 (Megabytes instead of Kilobytes) target files?

Now, you can also use latex+dvipdfm.



Re: trouble exporting lyx to pdf and html

2001-01-24 Thread Dekel Tsur

On Wed, Jan 24, 2001 at 10:55:00AM +0100, Jean-Marc Lasgouttes wrote:
 If however your problem is only to get small and readable pdf files, a
 good solution is to use the Postscript Type1 version of the computer
 modern fonts. Usually you can do that by doing
 
 dvips -Pps myfile.dvi -o myfile.ps
 ps2pdf myfile.ps

See Extended.lyx, section 3.3.6.2 for more information on this issue.



Re: disabling columns for wide matrix

2001-01-24 Thread Dekel Tsur

On Tue, Jan 23, 2001 at 08:55:20PM +, Herbert Voss wrote:
 Tuukka Toivonen wrote:
  
  I'm writing an article using two columns. It looks good but I have couple
  of wide math matrices that don't fit in single column. How could I disable
  the columns for a few lines so that the matrix would use both columns?
 
 from my point of view the only senseful way is to use the multicol
 package. than you can switch between multicols and not on one page.
 maybe that there is a special latex package, have a look at CTAN.

You can also use a wide figure float.

 it's also possible to use the package, which breaks equations like
 textlines.

What is the name of the package?



Re: deleting one line from multiline equation

2001-01-24 Thread Dekel Tsur

On Tue, Jan 23, 2001 at 06:51:04PM +0200, Tuukka Toivonen wrote:
 This feels like simple question but I cannot find answer from LyX
 documents. How can I delete one line from multiline math equation?
 
 User Guide says M-e k but it doesn't work with 1.1.6. I couldn't find the
 command from reference manual.

If you use the emacs keybinding then the binding is C-k, but there is
currently no binding for this action when using the cua (default) bindings.
But, you can define a binding yourself, or just write line-delete-forward 
in the minibuffer.




Re: double lines at the top and bottom of tables?

2001-01-24 Thread Dekel Tsur

On Tue, Jan 23, 2001 at 10:03:14AM -0800, Anna H.Pryor wrote:
 
 Is it possible to put double lines at the top and bottom of tables?  I know that 
 I can do this for all of the other lines in the table, but I only need it for 
 the top and bottom lines...and can't seem to figure that out.

You cannot do it with the GUI, but you can do it with ERT:
For double line at the top, put '\hline ' (using latex mode) at the beginning
of the first cell (i.e. the top left cell).
For double line at the bottom, put the following line in the preamble

 \newcommand{\dblline}[2]{\\ \hline\hline}

and put '\dblline' at the end of the last cell.



Re: Working with multipart documents

2001-01-26 Thread Dekel Tsur

On Wed, Jan 24, 2001 at 09:21:05PM -0700, Michael Zapf wrote:
 And now for the cross references. Lets add a "... like in section x.y".
 This section is in another LyX file. How do I insert this reference?

Suppose that your files are master.lyx, chap1.lyx, chap2.lyx,
and you want to insert a label from chap2.lyx to chap1.lyx.
There are three methods:

1. Open master.lyx, open the insert reference dialog, and return to chap1.lyx.
Now, whenever you open the insert reference dialog in chap1.lyx, you will
get a list of all labels in all the files.

2. Open chap2.lyx, open the insert reference dialog, and without closing the
dialog, return to chap1.lyx, and then insert the reference.
This doesn't work in LyX 1.1.6.

3. In LyX 1.1.6, type M-x reference-insert ref|++||++|label
where label is the required label.



Re: Importing Gnumeric spreadsheet, rotation by 90deg

2001-01-26 Thread Dekel Tsur

On Thu, Jan 25, 2001 at 03:37:35PM +, Adrian Ball wrote:
 
 Dear all,
 
 I have a spreadsheet, created in Gnumeric.  I can export as latex2e, reLyX it
 and include it within a table float.
 So far so good, however, the spreadsheet, whilst not enormous, does not fit
 horizontally across the page.  What ERT do I need (and wherabouts!) to rotate
 this by 90 degrees within the float?

\rotatebox{90}{the include inset} in latex mode.
If your document doesn't have eps figures, you also need to put
\usepackage{graphics} in the preamble.





Re: figure problems

2001-01-26 Thread Dekel Tsur

On Thu, Jan 25, 2001 at 03:33:22PM -0800, Anna H.Pryor wrote:
 I am using 1.1.5fix2 on linux.
 
 Someone sent me some .eps files that I would like to include in a paper that I 
 am writing.  I have already included some .eps files generated from matlab with 
 no problem.
 
 When I try to include these .eps files in a float figure, I am able to preview 
 the figure in the ghostview screen.  However, when I try to bring up a 
 postscript version of the paper I get the message:
 
 dvips: ! premature end of file in binary section.
 
 The postscript version will not come up at all...not even anything else that I 
 have written.
 
 I hope that one of you knows what is going on?

The eps file may be corrupt (perhaps it doesn't have a bounding box?).
Was the eps file generated on Windows ?  (the default postscript driver in
Windows is not good).



Re: Working with multipart documents

2001-01-26 Thread Dekel Tsur

On Fri, Jan 26, 2001 at 03:09:31PM +0100, Michael Zapf wrote:
  On Wed, Jan 24, 2001 at 09:21:05PM -0700, Michael Zapf wrote:
   And now for the cross references. Lets add a "... like in section x.y".
   This section is in another LyX file. How do I insert this reference?
 
  Suppose that your files are master.lyx, chap1.lyx, chap2.lyx,
  and you want to insert a label from chap2.lyx to chap1.lyx.
  There are three methods:
 
  1. Open master.lyx, open the insert reference dialog, and return to chap1.lyx.
  Now, whenever you open the insert reference dialog in chap1.lyx, you will
  get a list of all labels in all the files.
 
 Yes, seems to be working alright. Hmm, what about adding a box to InsertReference
 like "Take references from file(s)..."?

I am planning to add this.



Re: .eps file will not show up in lyx but will show up in ghostview

2001-01-26 Thread Dekel Tsur

On Fri, Jan 26, 2001 at 06:31:47AM -0800, Anna H.Pryor wrote:
 I am using 1.1.5fix2 on linux.
 
 Here is a sample of what I was talking about.  Maybe one of you can get it to 
 show up in lyx??  I have a friend at work who works in LaTex and she had no 
 problem getting it to show up in her document, so I know that the problem is 
 with Lyx.  It does have a bounding box.
 
 The file was made on a PC using raw pictures and Adobe Photoshop.

The problem is in dvips, not in LyX (and I suppose that your friend uses
LaTeX on Windows, so her dvi-ps program is different).

You can fix the problem in the eps file by running 
 epstopdf Fig3.pdf
 pdf2ps Fig3.pdf Fig3.eps

(and the size of the result file is half of the original!)




Re: BibTeX problem

2001-01-28 Thread Dekel Tsur

On Fri, Jan 26, 2001 at 10:55:14PM +0100, Guido Milanese wrote:
 I think I am doing a stupid error in my bibtex files.
 I cannot use crossref. Both from within Lyx and from running direct 
 LaTeX, the "missing" fields are not added -- regardless the style I use.
 I followed the instructions given in the standard manuals regarding 
 order of entries.
 
 Example (partially faked):
 
 @InBook{Ludwig:Musik,
   Author = {Ludwig, Friedrich},
   Title  = {Die geistliche nichtliturgische {M}usik},
   Pages  = {157-295},
   crossref   = {Adler:Handbuch}, 
 }

I think that you need to use @InCollection instead of @InBook.



Re: moving equations to left

2001-01-28 Thread Dekel Tsur

On Sun, Jan 28, 2001 at 06:13:56PM +0200, Tuukka Toivonen wrote:
 My problem is that I have some wide equations on 2-column article, that
 will be printed over the equation number on the right edge of the
 column. If there's just one equation line, the AMSmath is clever enough to
 move the equation number down that they don't overlap. But it doesn't do
 this for multiline equations. How could I prevent the equation and its
 number from overlapping?

You should use the AMS math environment align, instead of using eqnarray.

Unfortunately, LyX currently doesn't have support for it, so you need to write
the the formula using ERT (you can use math-macro to define parts of of the
formula, and then use the defined macros in the ERT).
However, I recently added to LyX support for the align environment,
but the code is not yet in CVS. I can send you a patch if you are interested.



Re: moving equations to left

2001-01-28 Thread Dekel Tsur

 On Sun, 28 Jan 2001, Herbert Voss wrote:
 
  layout-paragraph-extra(1.1.6)-Indented Paragraph
  
  and write in the field for example -1cm!

But this might cause an equation on the right column to overlap with the text
on the left column.

One thing that might help you is to put the lines below in the preamble.
It will decrease the space between the 3 column of an eqnarray in all
the eqnarrays in the document (and therefore, it will reduce (or eliminate)
the overlap between the formula and the number).

\let\oldeqnarray=\eqnarray
\let\oldarray=\array
\newlength{\oldcolsep}
\setlength{\oldcolsep}{\arraycolsep}

\def\eqnarray{
  \setlength{\arraycolsep}{1.5pt}
  \def\array{\setlength{\arraycolsep}{\oldcolsep}\oldarray}
  \oldeqnarray
}
  



Re: FoiTeX (again!)

2001-02-02 Thread Dekel Tsur

On Thu, Feb 01, 2001 at 07:36:47PM +0100, [EMAIL PROTECTED] wrote:
 Dear LyXers,
 
   I have downloaded and installed FoiTeX on my tetex
 setup. It works well *if* I select the English language.
 
 Unfortunately, latex produces an error: "Package babel error: You haven't
 defined the language english yet" and then says: "your command will be
 ignored, type RETURN to proceed".
 
 Anybody coming up with any idea? Thanks in advance!

This is a known problem.
You just need run latex again, and the error will go away.




Re: pdflatex don't work with images

2001-02-04 Thread Dekel Tsur

On Thu, Feb 01, 2001 at 11:46:42PM +0100, [EMAIL PROTECTED] wrote:
 with the same source.  You don't have to export the tex-file and edit
 it, you can do that directly within LyX : in the figure dialog box,
 enter the filename without its prefix (but you lose the preview !).

You don't lose the preview in 1.1.6.



Re: File - Export -HTML

2001-02-04 Thread Dekel Tsur

On Sat, Feb 03, 2001 at 02:50:49PM +, [EMAIL PROTECTED] wrote:
 Hello,
 
 1. with lyx-1.1.6 if I click on "View - HTML" on a file 
 containing mathematical expressions and graphic inserted,
 (.ps created with xfig) I obtain a fine result.
 
 2. If I do "File - Export - HTML" I obtain a .html file
 and when I open it with nescape (4.76) I obtain a bad result:
 all the files PNG are not present and those wich are present
 do not position in the right place.
 How can I do to obtain a fine result in the case 2 ?
 Thanks for your comments and advices.

You need to copy all the png files from the tempdir 
(e.g. 'cp lyx_tmpdir24080a24080/lyx_tmpbuf24080a24080/*.png DESTDIR/')

Another option is to disable the temporary directory.

PS: I'll fix this bug shortly.




Re: how to really deal with figures?

2001-02-06 Thread Dekel Tsur

On Tue, Feb 06, 2001 at 12:56:56AM +0200, Baruch Even wrote:
   - figures render and scale correctly in the LyX GUI
   - 'View - DVI' works correctly
   - 'View - PS'  works correctly
   - 'View - PDF (pdflatex)' works correctly
 
 If you agree to lose rendering and scaling in the gui you can use the
 new external inset, it will accept your .fig file and will convert it by
 itself into PNG or EPS for inclusion into the document when you export
 or preview.

The external inset will not work with pdflatex.



Re: how to really deal with figures?

2001-02-06 Thread Dekel Tsur

On Mon, Feb 05, 2001 at 09:51:37PM +0100, Friedemann Baitinger wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 I am having real problems with integrating figures into LyX documents.
 If I include them as .eps files, then for instance "View - PDF
 (pdflatex)" does not work. If I leave the .eps extension away, then
 the figures are not rendered correctly in the LyX GUI, and the "View -
 DVI" causes Latex to hang in the background for way too long and
 eventually aborts with 50 error boxes, however, the "View -
 PDF" obviously works this way. (I am using xfig to create the figures
 and then fig2dev commandlines to generate .eps and .pdf out of the .fig
 files)

What errors are you getting ?



Re: abstract in two languages

2001-02-06 Thread Dekel Tsur

On Tue, Feb 06, 2001 at 12:28:57PM +0200, Tuukka Toivonen wrote:
 I guess this is LaTeX question, but I'm very novice with TeX and LyX user
 anyway, so here it goes...
 
 How can I put two abstracts in a document, one in English and one in
 Finnish?

I'll assume that the main language of the document is English, and that the
English abstract appears first.

1. Change the layout to Abstract and write the English abstract.
2. Press enter.
3. Change language to Finnish by opening layout-character and selecting the
Finnish language (all other fields should be "no change").
4. Select standard layout. Change to latex mode (ctrl+l)
5. Press % and then enter.
6. Change the layout to Abstract and write the Finnish abstract.
7. Press enter.
8. Change layout to Standard. Change to latex mode (ctrl+l)
9. Press % and then enter.
10. Change back to English by pressing the toolbar button "Font".




Re: abstract in two languages

2001-02-07 Thread Dekel Tsur

On Tue, Feb 06, 2001 at 03:37:38PM +0200, Tuukka Toivonen wrote:
 
 The second % doesn't seem to be necessary, it is enough just to have one
 between the abstracts. It's surprising how easily this works now that LyX
 can use many languages in one document from the GUI. And multiple
 "abstract" paragraphs don't seem to bother LaTeX either.

It is necessary, because curenly LyX misplaces the \selectlanguage command:

 \begin{abstract}
 Tämä puolestaan on suomenkielinen tiivistelmä.
 \selectlanguage{english}
 \end{abstract}

which means that the rest of the document is now considered Finnish.
The correct latex code should be
  \begin{abstract}
  Tämä puolestaan on suomenkielinen tiivistelmä.
  \end{abstract}
  \selectlanguage{english}

The second % (in Finnish language) is a workaround for this problem.
I will fix the problem in the next version.




Re: Revision bars

2001-02-07 Thread Dekel Tsur

On Wed, Feb 07, 2001 at 10:54:37PM +0100, ben wrote:
 Hello,
 
 I would like to know if it is possible to define revision bars in a lyx
 document, in order to show differences between two versions. If so, can
 it be an automatic process?

Use the changebar package.



Re: spelling

2001-02-07 Thread Dekel Tsur

On Wed, Feb 07, 2001 at 07:35:09PM +0100, Joeri Verbiest wrote:
 Hi,
 
 When I convert lyx to pdf I get (sorry that it is in Dutch)
 
  zoals het zoeken naar bruinen dw-
 ergen en extrasolar ...
 
 How can I get
 
  zoals het zoeken naar bruinen dwergen
 en extrasolar ...
 
 I mean how can I configure the document so that never words would be
 split, because lyx does not do this correct in the Dutch language.

First you can try to enable hyphenation for the Dutch language by running
texconfig.

If this doesn't work, you can disable hyphenation by putting
 \hyphenpenalty = 1
in the preamble.



  1   2   3   4   5   6   7   8   9   10   >