Re: none

2003-01-09 Thread Lars Gullik Bjønnes
Andre Poenitz [EMAIL PROTECTED] writes:

| On Wed, Jan 08, 2003 at 07:13:37PM +0100, Lars Gullik Bjønnes wrote:
|  | Keep the patch in your local tree and try again in the 1.4 cycle after
|  | you've seen a black cat crossing the street and the phase of the moon has
|  | changed 
|  
|  No... but perhaps when a my_getline has been implemented.
|  as per discussion...
| 
| What about a  os::getline()?
| 
| This would cause no overhead for *nix and the Windows people could do what
| they want...

I think that we be ok.

_but_ I think it should only be used where we read from text files
(text mode).

-- 
Lgb



Re: [PATCH] Re: still can't import any latex tabulars

2003-01-09 Thread Jean-Marc Lasgouttes
 Angus == Angus Leeming [EMAIL PROTECTED] writes:

Angus On Wednesday 08 January 2003 4:00 pm, Jean-Marc Lasgouttes
Angus wrote:
 Lars, since the (3) is your doing, feel free to replace that with
 any C++ally correct construct that may make you feel good.
 
 JMarc

Angus Why not either of:

I agree that these are doable. Howver, considering the size of the
array, the gain is kind of minimal. And I think the code in general
has worse problems than that :)

JMarc



Re: Fresh meat in bugzilla.lyx.org

2003-01-09 Thread Kornel Benko
-BEGIN PGP SIGNED MESSAGE-

On Donnerstag, 9. Januar 2003 01:23, Michael Schmitt wrote:
 Hi folks,

 I have added a couple of bug reports to bugzilla. Those of you who have
 not been tortured by a large number of emails should have a look at the
   bugs with tag UNCONFIRMED - and confirm them if possible.

Bug 795 confirmed, so long, as moving cursor means
use mouse pointer, left-click.

Kornel

- -- 
Kornel Benko
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8

iQCVAwUBPh1GXbewfbDGmeqhAQHVyAQAsX49n2iS1qCtvnReHwpmGtWpjn6fDoOV
VZLOliDXiux/ApaLbiiS+ljKL60qHB47FDz1RvbylCSLYmSTVrn8+hDyG86s1Txo
sobo3mbcJPQco/0uNoQ8VVZZ9BeskCSEebR1+dAOzsu/xpo8VQJOlXetSaP14/6j
va4Dqs21v3w=
=R1zG
-END PGP SIGNATURE-




AGU Journal of Geophysical Research layout templates

2003-01-09 Thread Martin Vermeer
[Bcc: AGU's infotech list]

Attached. A bit experimental and incomplete still, but works for me.
I did this in a hurry as I am getting requests for this :-)

This is for lyx-1.3.0. Also a patch to documentation (Extended.lyx) 
included. (Oops, seems to be reversed.)

Martin

-- 
Martin Vermeer  [EMAIL PROTECTED]
Helsinki University of Technology 
Department of Surveying
P.O. Box 1200, FIN-02015 HUT, Finland
:wq

# AGUplus textclass definition file. 
# Author: Martin Vermeer [EMAIL PROTECTED]
#
# Necessary LaTeX files to be found on
#
# http://www.linmpi.mpg.de/english/services/software/latex/localtex/localltx.html
# (both AGU++ 1.6b and AGUTeX 5.01 needed)
#
# Input general definitions
Input stdclass.inc

SecNumDepth 4
MaxCounter  Counter_Section

# There are no chapters in an article.
NoStyle Chapter
NoStyle Chapter*

NoStyle Subparagraph
NoStyle Subparagraph*

# Redefine these a bit:

Style Section
  Font
SizeLarge
  EndFont
End

Style Section*
  Font
SizeLarge
  EndFont
End

Style Subsection
  Font
SizeNormal
  EndFont
End

Style Subsection*
  Font
SizeNormal
  EndFont
End

# Subsubsubsection style (re-)definition
Style Paragraph
  LatexName subsubsection
End

# SubSubsubsection* style (re-)definition
Style Paragraph*
  CopyStyle Paragraph
  MarginStatic
  LatexName subsubsubsection*
  LabelType No_Label
  OptionalArgs  0
End

Preamble
\usepackage{times}
\sectionnumbers
EndPreamble

# Headers style definition
Style Left_Header
  MarginStatic
  LatexType Command
  LatexName lefthead
  NextNoIndent  1
  LeftMarginLeft Header:xx
  LabelSep  xxx
  ParSkip   0.4
  TopSep1.3
  BottomSep 0.7
  ParSep0.7
  Align Left
  AlignPossible Left
  LabelType Static
  LabelString   Left Header:
  InTitle   1

  # standard font definition
  LabelFont
Series  Bold
Shape   Italic
Color   red
  EndFont

End

Style Right_Header
  CopyStyle Left Header
  LatexName righthead
  LeftMarginRight Header:xx
  LabelString   Right Header:
End

Style Received
  CopyStyle Left Header
  LatexName received
  LeftMarginReceived:xx
  LabelString   Recieved:
End

Style Revised
  CopyStyle Left Header
  LatexName revised
  LeftMarginRevised:xx
  LabelString   Revised:
End

Style Accepted
  CopyStyle Left Header
  LatexName accepted
  LeftMarginAccepted:xx
  LabelString   Accepted:
End

Style CCC
  CopyStyle Left Header
  LatexName ccc
  LeftMarginCCC code:xx
  LabelString   CCC code:
End

# cpright

# journalid

# articleid

Style PaperId
  CopyStyle Left Header
  LatexName paperid
  LeftMarginPaper Id:xx
  LabelString   Paper Id:
End

Style AuthorAddr
  CopyStyle Left Header
  LatexName authoraddr
  LeftMarginAuthor Address:xx
  LabelString   Author Address:
End

Style SlugComment
  CopyStyle Left Header
  LatexName slugcomment
  LeftMarginSlug Comment:xx
  LabelString   Slug Comment:
End


# a few changes to the bibliography
Style Bibliography
  TopSep4
  LabelString   Bibliography

  # label font definition
  LabelFont 
Series  Bold
SizeHuge
  EndFont
End

# plate
Float
  Type  plate
  GuiName   Plate
  Placement htbp
  Extension lof
  NumberWithin  none
  Style plain
  LatexBuiltin  true
End

# planotable
Float
  GuiName   Planotable
  Type  planotable
  Placement htbp
  Extension lot
  NumberWithin  none
  Style Ruled
  LatexBuiltin  true
End


# Table Caption style definition
Style Table_Caption
  MarginFirst_Dynamic
  LatexType Command
  LatexName tablecaption
  NeedProtect   1
  LabelSep  xx
  ParSkip   0.4
  TopSep0.5
  Align Center
  AlignPossible Center
  LabelType Sensitive
  LabelString   TableCaption

  # label font definition
  LabelFont
Series  Bold
  EndFont
End

Counter
  Name  plate
  Withinnone
End

Counter
  Name  planotable
  Withinnone
End

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[aguplus,jgrga.sty]{article (AGU++) JGR}
# AGUplus JGR textclass definition file. 
# Author: Martin Vermeer [EMAIL PROTECTED]

# Input general definitions
Input aguplus.inc

ClassOptions
  Other jgrga
End



--- Extended.lyxThu Jan  9 12:18:23 2003
+++ Extended_old.lyxThu Jan  9 12:03:28 2003
@@ -8543,144 +8543,6 @@
  #.
 \layout Section
 
-AGU journals (
-\family sans 
-aguplus
-\family default 
-)
-\layout Standard
-
-by 
-\shape smallcaps 
-Martin Vermeer
-\layout Subsection
-
-Description
-\layout Standard
-
-These are the layout 

Re: captions in longtables / input in lyx

2003-01-09 Thread j.heidemeier
Dear Juergen,
Well, now I'm having some time to come back to the caption / longtables 
thread from November. I finally found a kludge to get the stuff working  
right. One can enter the caption as ERT in the header and firstheader row.

 I don't like the solution to implement this feature. I don't want
 text input fields for this type of stuff. The text should be inputed
 directly in the tabular (as then one has all option open regarding
 fonts etc.).

But the point you mention is one of the source of the problems:
if I enter the following block (newlines compressed):

 1 cell
 2 \begin_inset Text
 3 \layout Standard 
 4 \begin_inset ERT
 5 status Collapsed
 6 \layout Standard
 7 \backslash 
 8 caption[lot-text]{caption-text}
 9 \backslash 
10 \backslash 
11 \end_inset 
12 \size scriptsize 
13 column1
14 \end_inset 
15 /cell
 
I get the desired latex output but if line 12 directly follows line 3 the 
backend produces latex-code with errors. (See the tho attached test files.)


The appeareance of captions etc. is not controlled by the options in the 
table environment. It uses special packages like caption or caption2.
Maybe the problem can easily be fixed by small modifications of the 
latex-code generator.
Best wishes for the new Year
Yours

-- 
Dr. Joachim Heidemeier  Tel. +49-30-8903-2780 
Fachgebiet II 3.2   [EMAIL PROTECTED] 
Umweltbundesamt, Bismarckplatz 1 D-14191 Berlin

#LyX 1.2 created this file. For more info see http://www.lyx.org/
\lyxformat 220
\textclass scrbook
\begin_preamble
 \usepackage{ccaption}
\usepackage{nonfloat}
\newcommand{\rem}[1]{}
\end_preamble
\language german
\inputencoding latin1
\fontscheme pslatex
\graphics default
\paperfontsize default
\spacing single 
\papersize a4paper
\paperpackage widemarginsa4
\use_geometry 1
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 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 Standard


\begin_inset FloatList table

\end_inset 


\layout Standard


\begin_inset  Tabular
lyxtabular version=3 rows=3 columns=4
features islongtable=true
column alignment=left valignment=top width=1cm
column alignment=left valignment=top width=3.5cm
column alignment=left valignment=top width=3.5cm
column alignment=left valignment=top width=5cm
row bottomline=true endfirsthead=true
cell alignment=right valignment=top usebox=none
\begin_inset Text

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
caption[lot-text]{caption-text}
\backslash 

\backslash 

\end_inset 


\size scriptsize 
column1
\end_inset 
/cell
cell alignment=right valignment=top usebox=none
\begin_inset Text

\layout Standard


\size scriptsize 
column2
\end_inset 
/cell
cell alignment=right valignment=top usebox=none
\begin_inset Text

\layout Standard


\size scriptsize 
column3
\end_inset 
/cell
cell alignment=right valignment=top usebox=none
\begin_inset Text

\layout Standard


\size scriptsize 
column4
\end_inset 
/cell
/row
row bottomline=true endhead=true
cell alignment=right valignment=top usebox=none
\begin_inset Text

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
caption[]{caption-text}
\backslash 

\backslash 

\end_inset 


\size scriptsize 
column1
\end_inset 
/cell
cell alignment=right valignment=top usebox=none
\begin_inset Text

\layout Standard


\size scriptsize 
column2
\end_inset 
/cell
cell alignment=right valignment=top usebox=none
\begin_inset Text

\layout Standard


\size scriptsize 
column3
\end_inset 
/cell
cell alignment=right valignment=top usebox=none
\begin_inset Text

\layout Standard


\size scriptsize 
column4
\end_inset 
/cell
/row
row
cell alignment=right valignment=top usebox=none
\begin_inset Text

\layout Standard


\size scriptsize 
text1
\end_inset 
/cell
cell alignment=right valignment=top usebox=none
\begin_inset Text

\layout Standard


\size scriptsize 
text2
\end_inset 
/cell
cell alignment=right valignment=top usebox=none
\begin_inset Text

\layout Standard


\size scriptsize 
text3
\end_inset 
/cell
cell alignment=right valignment=top usebox=none
\begin_inset Text

\layout Standard


\size scriptsize 
text4
\end_inset 
/cell
/row
/lyxtabular

\end_inset 


\the_end

#LyX 1.2 created this file. For more info see http://www.lyx.org/
\lyxformat 220
\textclass scrbook
\begin_preamble
 \usepackage{ccaption}
\usepackage{nonfloat}
\newcommand{\rem}[1]{}
\end_preamble
\language german
\inputencoding latin1
\fontscheme pslatex
\graphics default
\paperfontsize default
\spacing single 
\papersize a4paper
\paperpackage widemarginsa4
\use_geometry 1
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle 

Re: [WARNING] Bad bug in lyx 1.2.2 configure script

2003-01-09 Thread Stephan Witt
Jean-Marc Lasgouttes wrote:


Michael == Michael Abshoff [EMAIL PROTECTED] writes:



Michael This bug bit me couple of times when I set up my new Laptop.
Michael I never suspected the configure-script and chased the bug for
Michael a week.

Yes, it is ugly. Note that kudos for spotting this should go to
Dominik Vogt.

JMarc



Ofcourse this isn't an excuse for this bug, but...

Once upon a time there was a rule:
Never configure and compile software as root!

After a succesful build you should become root with su (without hyphen!)
and do a make install, if you tested this piece of software and trust it.

I'm working without the magic power of root as much as possible.
And on my laptop and my home box there it is the same.

Stephan




Re: [WARNING] Bad bug in lyx 1.2.2 configure script

2003-01-09 Thread Jean-Marc Lasgouttes
 Michael == Michael Abshoff [EMAIL PROTECTED] writes:

Michael This bug bit me couple of times when I set up my new Laptop.
Michael I never suspected the configure-script and chased the bug for
Michael a week.

Yes, it is ugly. Note that kudos for spotting this should go to
Dominik Vogt.

JMarc



Re: [WARNING] Bad bug in lyx 1.2.2 configure script

2003-01-09 Thread Michael Abshoff
Stephan Witt wrote:


Ofcourse this isn't an excuse for this bug, but...

Once upon a time there was a rule:
Never configure and compile software as root!

After a succesful build you should become root with su (without hyphen!)
and do a make install, if you tested this piece of software and trust it.

I'm working without the magic power of root as much as possible.
And on my laptop and my home box there it is the same.

Stephan


You are right about build software, but it was a fresh install without
users.

The funny thing is, that in my case /dev/null still existed, but somehow
it couldn't be used.

Are you guys still interested in bugreports fpr lyx 1.2.2? I am compiling
a list of oddities and unexpected behaviours, but I won't be done
till late friday.

Michael

--
Michael Abshoff - MRB - Universität Dortmund - Telefon 755-3463 (intern)

  Where do you want to RTFM today?






Re: [WARNING] Bad bug in lyx 1.2.2 configure script

2003-01-09 Thread Andre Poenitz
On Thu, Jan 09, 2003 at 12:51:09PM +0100, Michael Abshoff wrote:
 Are you guys still interested in bugreports fpr lyx 1.2.2? I am compiling
 a list of oddities and unexpected behaviours, but I won't be done
 till late friday.

Especially if they are present in 1.3.0cvs, too: Yes.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



[ANNOUNCE] LyX 1.2.3 is released

2003-01-09 Thread Jean-Marc Lasgouttes

Public release of LyX version 1.2.3
===

We are glad to announce the release of LyX 1.2.3.

LyX 1.2.3 is a maintenance release. It mainly fixes a very bad bug
where configuring LyX as root could lead to deleting the /dev/null
special device (this does not impact users of prebuilt binaries).
Also, a bug where LyX would create zombie processes has been fixed.

In case you are wondering what LyX is, here is what
http://www.lyx.org/ has to say on the subject:

  LyX is an advanced open source document processor that encourages an
  approach to writing based on the structure of your documents, not their
  appearance. LyX lets you concentrate on writing, leaving details of 
  visual layout to the software.

  LyX runs on many Unix platforms (including MacOS X), OS/2, and under
  Windows/Cygwin. Note that all these ports use the same xforms interface 
  and therefore need an X server. 

The main LyX site is

ftp://ftp.lyx.org/pub/lyx/

with mirrors at

ftp://ftp.sdsc.edu/pub/other/lyx/
ftp://ftp.lip6.fr/pub/lyx/
ftp://gd.tuwien.ac.at/publishing/tex/lyx/
ftp://ftp.ntua.gr/pub/X11/LyX/
ftp://ftp.icm.edu.pl/vol/rzm0/lyx/

You can download LyX 1.2.3 here :

ftp://ftp.lyx.org/pub/lyx/stable/lyx-1.2.3.tar.gz
ftp://ftp.devel.lyx.org/pub/lyx/lyx-1.2.3.tar.gz

Prebuild binaries (mainly rpms for linux distributions) should soon be 
available at
ftp://ftp.lyx.org/pub/lyx/bin/1.2.3

If you already have LyX 1.2.2 sources, you may want to apply the
following patch instead
ftp://ftp.lyx.org/pub/lyx/stable/patch-1.2.3.gz  
 
If you find what you think is a bug in LyX 1.2.3, you may either
e-mail the LyX user's mailing list ([EMAIL PROTECTED]), or open
a bug report at http://bugzilla.lyx.org

If you're having trouble using the new version of LyX, or have a question,
first check out http://www.lyx.org/help/, and e-mail the LyX user's list if you
can't find an answer there.  

Enjoy!

The LyX team.


 
What's new
==

** Updates

- updated italian User Guide

- updated french localization

** Bug fixes

- fix bug where the configure script would try to delete the /dev/null
  device when there has been an error in configuration step

- fix bug where autosaving would leave a lot of zombie processes after
  a long time

- fix problem where it was not possible to force some values to 0 in
  custom margins

- fix bug where horizontal alignment would be reset automatically to
  left in the tabular dialog

- fix functions word-find-forward and word-find-backward, the meanings
  of which were inverted

- when the lyx binary was invoked through a symbolic link, LyX would
  print annoying messages on the console; they are now output only
  when debugging.

- fix an installation issue with solaris



strikethrough and tilde underline?

2003-01-09 Thread Dr. Richard E. Hawkins
A few years ago, when I needed to identify changes in my dissertation,
someone here showed me a quick and dirty way to define styles causeing
typethrough and underlining with tilde's.

Unfortunately, theose definitions apparently came out of the document by
the end.

Could someone give me a quick pointer?

thanks

hawk

-- 
Richard E. Hawkins, Asst. Prof. of Economics/\   ASCII ribbon campaign
[EMAIL PROTECTED]  Smeal 178  (814) 375-4700  \ /   against HTML mail
These opinions will not be those of  Xand postings. 
Penn State until it pays my retainer.   / \   



Re: AGU Journal of Geophysical Research layout templates

2003-01-09 Thread Jean-Marc Lasgouttes
 Martin == Martin Vermeer [EMAIL PROTECTED] writes:

Martin [Bcc: AGU's infotech list] Attached. A bit experimental and
Martin incomplete still, but works for me. I did this in a hurry as I
Martin am getting requests for this :-)

Martin This is for lyx-1.3.0. Also a patch to documentation
Martin (Extended.lyx) included. (Oops, seems to be reversed.)

Lars, can I apply this?

Martin, I'd need a patch to LaTeXConfig.lyx too.

JMarc



Re: AGU Journal of Geophysical Research layout templates

2003-01-09 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes:

|  Martin == Martin Vermeer [EMAIL PROTECTED] writes:
| 
| Martin [Bcc: AGU's infotech list] Attached. A bit experimental and
| Martin incomplete still, but works for me. I did this in a hurry as I
| Martin am getting requests for this :-)
| 
| Martin This is for lyx-1.3.0. Also a patch to documentation
| Martin (Extended.lyx) included. (Oops, seems to be reversed.)
| 
| Lars, can I apply this?

Not sure.

It does say experimental and incomplete.

-- 
Lgb



Re: AGU Journal of Geophysical Research layout templates

2003-01-09 Thread Jean-Marc Lasgouttes
 Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes:

Lars Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: |
Lars  Martin == Martin Vermeer [EMAIL PROTECTED] writes:
Lars | 
Lars | Martin [Bcc: AGU's infotech list] Attached. A bit
Lars experimental and | Martin incomplete still, but works for me. I
Lars did this in a hurry as I | Martin am getting requests for this
Lars :-)
Lars | 
Lars | Martin This is for lyx-1.3.0. Also a patch to documentation |
Lars Martin (Extended.lyx) included. (Oops, seems to be reversed.)
Lars | 
Lars | Lars, can I apply this?

Lars Not sure.

Lars It does say experimental and incomplete.

It is a new class anyway. And Martin is Mr AGU so I guess he is
willing to take the blame for anything that may happen :) Remember
that Martin wants to push use of LyX at AGU, and thus it would be nice
to have this in next stable release.

JMarc



Re: AGU Journal of Geophysical Research layout templates

2003-01-09 Thread Edwin Leuven
 it would be nice to have this in next stable release.

which is going to be when btw?

Ed.



Re: AGU Journal of Geophysical Research layout templates

2003-01-09 Thread Lars Gullik Bjønnes
Edwin Leuven [EMAIL PROTECTED] writes:

|  it would be nice to have this in next stable release.
| 
| which is going to be when btw?

some weeks yet.

I'll see if I can get a new pre out tomorrow or during the weekend. 

-- 
Lgb



Theorem environments

2003-01-09 Thread Michael Schmitt
Hello,

some time ago, I have extended class Article (KomaScript) to handle 
theorems and definitions (see attachment). The patch works fine for 
private use but it is limited and I don't really understand each and 
every detail.

But as it seems to be very easy to add new theorem environments to an 
existing TeX class, I am wondering whether we can define a set of 
standard theorem environments that are included in many more classes 
in generic way. Is that possible?

Michael
Index: lyx-old/lib/layouts/scrreprt.layout
===
RCS file: /cvs/lyx/lyx-devel/lib/layouts/scrreprt.layout,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 scrreprt.layout
--- lyx-old/lib/layouts/scrreprt.layout 1999/09/27 18:44:34 1.1.1.1
+++ lyx-old/lib/layouts/scrreprt.layout 2003/01/07 06:22:31
@@ -5,6 +5,7 @@
 
 # General textclass parameters
 Input scrclass.inc
+Input scrmaths.inc
 
 # Modify bibliography
 Style Bibliography

Style TheoremTemplate
  MarginFirst_Dynamic
  LatexType Environment
  LabelSep  M
  ParIndent MM
  ParSep0.4
  Align Block
  AlignPossible Block, Left
  LabelType Static

  # label font definition
  LabelFont
Series  Bold
  EndFont
End

Style Theorem
  CopyStyle TheoremTemplate
  LatexName theorem
  LabelString   Theorem #

  Preamble
\newtheorem{theorem}{Theorem}
  EndPreamble
End

Style Definition
  CopyStyle TheoremTemplate
  LatexName definition
  LabelString   Definition #

  Preamble
\newtheorem{definition}{Definition}
  EndPreamble
End

NoStyle TheoremTemplate



Re: AGU Journal of Geophysical Research layout templates

2003-01-09 Thread Martin Vermeer
On Thu, Jan 09, 2003 at 06:21:03PM +0100, Lars Gullik Bjønnes spake thusly:
 
 Jean-Marc Lasgouttes [EMAIL PROTECTED] writes:
 
 |  Martin == Martin Vermeer [EMAIL PROTECTED] writes:
 | 
 | Martin [Bcc: AGU's infotech list] Attached. A bit experimental and
 | Martin incomplete still, but works for me. I did this in a hurry as I
 | Martin am getting requests for this :-)
 | 
 | Martin This is for lyx-1.3.0. Also a patch to documentation
 | Martin (Extended.lyx) included. (Oops, seems to be reversed.)
 | 
 | Lars, can I apply this?
 
 Not sure.
 
 It does say experimental and incomplete.
 
 -- 
   Lgb

Here's to hoping that it will find independent testing before 1.3.0.

Will attend to LaTeXConfig.lyx at first opportunity (weekend?)

Martin




msg50752/pgp0.pgp
Description: PGP signature


[PATCH] Trivial stuff (mathed mouse wheel scrolling)

2003-01-09 Thread Michael Schmitt
Dear Lars, Jean-Marc,

please apply the following two patches:

  1. Change default value and description of mouse wheel jump
 (John thinks it is OK)
  2. Make CTRL-Pos1/End behave a little bit more intuitive
 (Patch suggested by Andre)

Michael

Index: lyx-devel-1_3_X//src/ChangeLog
===
RCS file: /cvs/lyx/lyx-devel/src/ChangeLog,v
retrieving revision 1.1009
diff -u -r1.1009 ChangeLog
--- lyx-devel-1_3_X//src/ChangeLog  2003/01/09 14:31:23 1.1009
+++ lyx-devel-1_3_X//src/ChangeLog  2003/01/09 19:09:57
@@ -1,3 +1,7 @@
+2003-01-08  Michael Schmitt [EMAIL PROTECTED]
+
+* Clarify the meaning of wheel mouse jump
+
 2003-01-06  Jean-Marc Lasgouttes  [EMAIL PROTECTED]
 
* lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
Index: lyx-devel-1_3_X//src/lyxrc.C
===
RCS file: /cvs/lyx/lyx-devel/src/lyxrc.C,v
retrieving revision 1.138
diff -u -r1.138 lyxrc.C
--- lyx-devel-1_3_X//src/lyxrc.C2003/01/06 14:02:21 1.138
+++ lyx-devel-1_3_X//src/lyxrc.C2003/01/09 19:10:02
@@ -197,7 +197,7 @@
dpi = 75;
// Because a screen typically is wider than a piece of paper:
zoom = 150;
-   wheel_jump = 100;
+   wheel_jump = 5;
// Default LaTeX font size:
font_sizes[LyXFont::SIZE_TINY] = 5.0;
font_sizes[LyXFont::SIZE_SCRIPT] = 7.0;
@@ -2124,7 +2124,7 @@
break;
 
case RC_WHEEL_JUMP:
-   str = _(The wheel movement factor (for mice with wheels or five 
button mice).);
+   str = _(The number of lines that are scrolled by mice with wheels or 
+five button mice.);
break;
 
case RC_CONVERTER:
Index: lyx-devel-1_3_X//src/mathed/formulabase.C
===
RCS file: /cvs/lyx/lyx-devel/src/mathed/formulabase.C,v
retrieving revision 1.231
diff -u -r1.231 formulabase.C
--- lyx-devel-1_3_X//src/mathed/formulabase.C   2003/01/08 17:38:47 1.231
+++ lyx-devel-1_3_X//src/mathed/formulabase.C   2003/01/09 19:10:17
@@ -536,7 +536,7 @@
case LFUN_PRIOR:
case LFUN_BEGINNINGBUFSEL:
case LFUN_BEGINNINGBUF:
-   result = FINISHED_UP;
+   result = FINISHED;
updateLocal(bv, false);
break;
 
@@ -544,7 +544,7 @@
case LFUN_NEXT:
case LFUN_ENDBUFSEL:
case LFUN_ENDBUF:
-   result = FINISHED_DOWN;
+   result = FINISHED_RIGHT;
updateLocal(bv, false);
break;
 



Updated da.po for 1.3.0cvs

2003-01-09 Thread Claus Hindsgaul
I have attached an updated da.po for LyX 1.3.0cvs.

Please insert it into the CVS.

Claus

-- 
Claus Hindsgaul [EMAIL PROTECTED]



da.po.gz
Description: GNU Zip compressed data


Compiler warnings

2003-01-09 Thread Michael Schmitt
Hi folks,

I recompiled the whole LyX sources. Below you can find the current list 
of compiler warnings.

Michael



formulabase.C:910:2: warning: #warning pretty ugly
math_data.C:157:2: warning: #warning temporarily disabled
math_hullinset.C:682:2: warning: #warning temporarily disabled
math_hullinset.C:738:2: warning: #warning temporarily disabled
math_hullinset.C:811:2: warning: #warning FIXME: please check you really 
mean repaint() ... is it needed,
math_hullinset.C:812:2: warning: #warning and if so, should it be 
update() instead ?
math_parser.C:1074:2: warning: #warning A hack...
insetcite.C:368:2: warning: #warning What is this code supposed to do? (Lgb)
insetcollapsable.C:246:2: warning: #warning Fix this properly in 
BufferView_pimpl::workAreaButtonRelease
insettabular.C:699:2: warning: #warning fix scrolling when cellinset has 
requested a scroll (Jug)!!!
insettabular.C:1564:2: warning: #warning This should be fixed in the 
right manner (20011128 Jug)
ControlBibitem.C:40:2: warning: #warning please check you mean repaint() 
not update(),
ControlBibitem.C:41:2: warning: #warning and whether the repaint() is 
needed at all
ControlBibtex.C:49:2: warning: #warning are you sure you need this 
repaint() ?
ControlMath.C:304:2: warning: #warning Use a static table for this (Lgb)
xforms_resize.C: In function `double 
unnamed::get_scaling_factor(FL_FORM*)':
xforms_resize.C:56: warning: assignment to `int' from `float'
xforms_resize.C:56: warning: argument to `int' from `float'
xforms_resize.C:64: warning: assignment to `int' from `float'
xforms_resize.C:64: warning: argument to `int' from `float'
xforms_resize.C:68: warning: assignment to `int' from `float'
xforms_resize.C:68: warning: argument to `int' from `float'
xformsImage.C: In member function `virtual void 
grfx::xformsImage::clip(const
   grfx::Params)':
xformsImage.C:290: warning: comparison between signed and unsigned integer
   expressions
xformsImage.C:292: warning: comparison between signed and unsigned integer
   expressions
xscreen.C: In member function `virtual void XScreen::draw(LyXText*,
   BufferView*, unsigned int)':
xscreen.C:217: warning: comparison between signed and unsigned integer
   expressions
xscreen.C:217: warning: comparison between signed and unsigned integer
   expressions
FormPreferences.C:1831:2: warning: #warning FIXME!! The graphics cache 
no longer has a changeDisplay method.
screen.C: In member function `virtual unsigned int
   LyXScreen::topCursorVisible(const LyXCursor, int)':
screen.C:199: warning: comparison between signed and unsigned integer
   expressions
paragraph_funcs.C:67:2: warning: #warning this seems wrong
buffer.C:281:2: warning: #warning And _why_ is this here? (Lgb)
buffer.C:2678:2: warning: #warning This is wrong we cannot insert an 
inset like this!!!
buffer.C:3102:2: warning: #warning repaint needed here, or do you mean 
update() ?
buffer.C:3295:2: warning: #warning repaint needed here, or do you mean 
update() ?
converter.C:846:2: warning: #warning repaint() or update() or nothing ?
converter.C:909:2: warning: #warning repaint() or update() or nothing ?
exporter.C:42:2: warning: #warning repaint() or update() or nothing ?
lyxfunc.C:833:2: warning: #warning I am not sure this is still right, 
please have a look! (Jug 20020417)
lyxfunc.C:1083:2: warning: #warning repaint() or update() or nothing ?
lyxfunc.C:1502:2: warning: #warning FIXME!! The graphics cache no longer 
has a changeDisplay method.
lyxlength.C:153:2: warning: #warning if you don't care than either call 
this function differently or let it return negative values and call 
abs() explicitly when needed (Andre')
paragraph_pimpl.C:310:2: warning: #warning Bug: we can have an empty 
font change here!
text2.C:1328:2: warning: #warning use boost.format
text2.C:1903:2: warning: #warning I believe this code is wrong. (Lgb)
text2.C:1904:2: warning: #warning Jürgen, have a look at this. (Lgb)
text2.C:1905:2: warning: #warning Hmmm, I guess you are right but we
text2.C:1906:2: warning: #warning should verify when this is needed
text2.C:2198:2: warning: #warning This will not work anymore when we 
have multiple views of the same buffer
text3.C:1520:2: warning: #warning Please remove donot call inset-edit() 
here (Jug 20020812)
toc.C:85:2: warning: #warning bogus type (Lgb)



Re: [Bug 809] LyX resets document class if the TeX class is missing

2003-01-09 Thread Michael Schmitt
Hello,

could some expert please explain why LyX has to reset the document class 
if the corresponding TeX class is missing? I don't understand this 
necessity.

See also:

  http://bugzilla.lyx.org/show_bug.cgi?id=809

Thanks in advance,

Michael



Re: Patch: RTL fix for TOC menu

2003-01-09 Thread John Levon
On Tue, Jan 07, 2003 at 02:04:41PM +0200, Dekel Tsur wrote:

 It is possible.
 I've attached an updated patch.

I'd much prefer a lyx_gui::can_handle_rtl() or  something.

 @@ -1748,8 +1747,10 @@ string const Paragraph::asString(Buffer 

Is this really the right place for this ? ::asString is used in many
places.

We should only do the reverse when it actually reaches e.g. xforms, no ?
Won't this work ?

regards
john


-- 
There was dog fights, drog deals, a lot of things were going on.
I need to give a reason for people to hate me ... watch out man, we'll be
cool brilliant for the rest of the summer ... hate me for this. 
- Westwood



CJK-LyX-1.2.3

2003-01-09 Thread cghan

Hello,

It seems that I have forgotten to make an anouncement for the 
CJK-LyX-1.2.2. So, this time I take no time to make the one for the 
CJK-LyX-1.2.3;

I have just uploaded the CJK-LyX-1.2.3 on the usual ftp site,
   ftp://stone.phys.pusan.ac.kr/pub/CJK-LyX  .
 
CJK-LyX-1.2.3 is the unofficial patched version of lyx-1.2.3 for Chinese, 
Japanese and Korean language users.

It is worth noticing that from this version (actually from 1.2.2) on, you 
can display CJK-letters without using lyxstring. That is, you can 
compile CJK-LyX with or without lyxstring. You can find and replace 
CJK-letters with CJK-LyX-menu, too.


  --cghan  




Re: none

2003-01-09 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes:

| On Wed, Jan 08, 2003 at 07:13:37PM +0100, Lars Gullik Bjønnes wrote:
| > | "Keep the patch in your local tree and try again in the 1.4 cycle after
| > | you've seen a black cat crossing the street and the phase of the moon has
| > | changed" 
| > 
| > No... but perhaps when a my_getline has been implemented.
| > as per discussion...
| 
| What about a  os::getline()?
| 
| This would cause no overhead for *nix and the Windows people could do what
| they want...

I think that we be ok.

_but_ I think it should only be used where we read from text files
(text mode).

-- 
Lgb



Re: [PATCH] Re: still can't import any latex tabulars

2003-01-09 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:

Angus> On Wednesday 08 January 2003 4:00 pm, Jean-Marc Lasgouttes
Angus> wrote:
>> Lars, since the "(3)" is your doing, feel free to replace that with
>> any C++ally correct construct that may make you feel good.
>> 
>> JMarc

Angus> Why not either of:

I agree that these are doable. Howver, considering the size of the
array, the gain is kind of minimal. And I think the code in general
has worse problems than that :)

JMarc



Re: Fresh meat in bugzilla.lyx.org

2003-01-09 Thread Kornel Benko
-BEGIN PGP SIGNED MESSAGE-

On Donnerstag, 9. Januar 2003 01:23, Michael Schmitt wrote:
> Hi folks,
>
> I have added a couple of bug reports to bugzilla. Those of you who have
> not been tortured by a large number of emails should have a look at the
>   bugs with tag "UNCONFIRMED" - and confirm them if possible.

Bug 795 confirmed, so long, as moving cursor means
"use mouse pointer, left-click".

Kornel

- -- 
Kornel Benko
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8

iQCVAwUBPh1GXbewfbDGmeqhAQHVyAQAsX49n2iS1qCtvnReHwpmGtWpjn6fDoOV
VZLOliDXiux/ApaLbiiS+ljKL60qHB47FDz1RvbylCSLYmSTVrn8+hDyG86s1Txo
sobo3mbcJPQco/0uNoQ8VVZZ9BeskCSEebR1+dAOzsu/xpo8VQJOlXetSaP14/6j
va4Dqs21v3w=
=R1zG
-END PGP SIGNATURE-




AGU Journal of Geophysical Research layout templates

2003-01-09 Thread Martin Vermeer
[Bcc: AGU's infotech list]

Attached. A bit experimental and incomplete still, but works for me.
I did this in a hurry as I am getting requests for this :-)

This is for lyx-1.3.0. Also a patch to documentation (Extended.lyx) 
included. (Oops, seems to be reversed.)

Martin

-- 
Martin Vermeer  [EMAIL PROTECTED]
Helsinki University of Technology 
Department of Surveying
P.O. Box 1200, FIN-02015 HUT, Finland
:wq

# AGUplus textclass definition file. 
# Author: Martin Vermeer <[EMAIL PROTECTED]>
#
# Necessary LaTeX files to be found on
#
# http://www.linmpi.mpg.de/english/services/software/latex/localtex/localltx.html
# (both AGU++ 1.6b and AGUTeX 5.01 needed)
#
# Input general definitions
Input stdclass.inc

SecNumDepth 4
MaxCounter  Counter_Section

# There are no chapters in an article.
NoStyle Chapter
NoStyle Chapter*

NoStyle Subparagraph
NoStyle Subparagraph*

# Redefine these a bit:

Style Section
  Font
SizeLarge
  EndFont
End

Style Section*
  Font
SizeLarge
  EndFont
End

Style Subsection
  Font
SizeNormal
  EndFont
End

Style Subsection*
  Font
SizeNormal
  EndFont
End

# Subsubsubsection style (re-)definition
Style Paragraph
  LatexName subsubsection
End

# SubSubsubsection* style (re-)definition
Style Paragraph*
  CopyStyle Paragraph
  MarginStatic
  LatexName subsubsubsection*
  LabelType No_Label
  OptionalArgs  0
End

Preamble
\usepackage{times}
\sectionnumbers
EndPreamble

# Headers style definition
Style Left_Header
  MarginStatic
  LatexType Command
  LatexName lefthead
  NextNoIndent  1
  LeftMargin"Left Header:xx"
  LabelSep  xxx
  ParSkip   0.4
  TopSep1.3
  BottomSep 0.7
  ParSep0.7
  Align Left
  AlignPossible Left
  LabelType Static
  LabelString   "Left Header:"
  InTitle   1

  # standard font definition
  LabelFont
Series  Bold
Shape   Italic
Color   red
  EndFont

End

Style Right_Header
  CopyStyle "Left Header"
  LatexName righthead
  LeftMargin"Right Header:xx"
  LabelString   "Right Header:"
End

Style Received
  CopyStyle "Left Header"
  LatexName received
  LeftMarginReceived:xx
  LabelString   Recieved:
End

Style Revised
  CopyStyle "Left Header"
  LatexName revised
  LeftMarginRevised:xx
  LabelString   Revised:
End

Style Accepted
  CopyStyle "Left Header"
  LatexName accepted
  LeftMarginAccepted:xx
  LabelString   Accepted:
End

Style CCC
  CopyStyle "Left Header"
  LatexName ccc
  LeftMargin"CCC code:xx"
  LabelString   "CCC code:"
End

# cpright

# journalid

# articleid

Style PaperId
  CopyStyle "Left Header"
  LatexName paperid
  LeftMargin"Paper Id:xx"
  LabelString   "Paper Id:"
End

Style AuthorAddr
  CopyStyle "Left Header"
  LatexName authoraddr
  LeftMargin"Author Address:xx"
  LabelString   "Author Address:"
End

Style SlugComment
  CopyStyle "Left Header"
  LatexName slugcomment
  LeftMargin"Slug Comment:xx"
  LabelString   "Slug Comment:"
End


# a few changes to the bibliography
Style Bibliography
  TopSep4
  LabelString   Bibliography

  # label font definition
  LabelFont 
Series  Bold
SizeHuge
  EndFont
End

# plate
Float
  Type  plate
  GuiName   Plate
  Placement htbp
  Extension lof
  NumberWithin  none
  Style plain
  LatexBuiltin  true
End

# planotable
Float
  GuiName   Planotable
  Type  planotable
  Placement htbp
  Extension lot
  NumberWithin  none
  Style Ruled
  LatexBuiltin  true
End


# Table Caption style definition
Style Table_Caption
  MarginFirst_Dynamic
  LatexType Command
  LatexName tablecaption
  NeedProtect   1
  LabelSep  xx
  ParSkip   0.4
  TopSep0.5
  Align Center
  AlignPossible Center
  LabelType Sensitive
  LabelString   TableCaption

  # label font definition
  LabelFont
Series  Bold
  EndFont
End

Counter
  Name  plate
  Withinnone
End

Counter
  Name  planotable
  Withinnone
End

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[aguplus,jgrga.sty]{article (AGU++) JGR}
# AGUplus JGR textclass definition file. 
# Author: Martin Vermeer <[EMAIL PROTECTED]>

# Input general definitions
Input aguplus.inc

ClassOptions
  Other "jgrga"
End



--- Extended.lyxThu Jan  9 12:18:23 2003
+++ Extended_old.lyxThu Jan  9 12:03:28 2003
@@ -8543,144 +8543,6 @@
  #.
 \layout Section
 
-AGU journals (
-\family sans 
-aguplus
-\family default 
-)
-\layout Standard
-
-by 
-\shape smallcaps 
-Martin Vermeer
-\layout Subsection
-

Re: captions in longtables / input in lyx

2003-01-09 Thread j.heidemeier
Dear Juergen,
Well, now I'm having some time to come back to the caption / longtables 
thread from November. I finally found a kludge to get the stuff working  
right. One can enter the caption as ERT in the header and firstheader row.
>
> I don't like the solution to implement this feature. I don't want
> text input fields for this type of stuff. The text should be inputed
> directly in the tabular (as then one has all option open regarding
> fonts etc.).
>
But the point you mention is one of the source of the problems:
if I enter the following block (newlines compressed):

 1 
 2 \begin_inset Text
 3 \layout Standard 
 4 \begin_inset ERT
 5 status Collapsed
 6 \layout Standard
 7 \backslash 
 8 caption[lot-text]{caption-text}
 9 \backslash 
10 \backslash 
11 \end_inset 
12 \size scriptsize 
13 column1
14 \end_inset 
15 
 
I get the desired latex output but if line 12 directly follows line 3 the 
backend produces latex-code with errors. (See the tho attached test files.)


The appeareance of captions etc. is not controlled by the options in the 
table environment. It uses special packages like caption or caption2.
Maybe the problem can easily be fixed by small modifications of the 
latex-code generator.
Best wishes for the new Year
Yours

-- 
Dr. Joachim Heidemeier  Tel. +49-30-8903-2780 
Fachgebiet II 3.2   [EMAIL PROTECTED] 
Umweltbundesamt, Bismarckplatz 1 D-14191 Berlin

#LyX 1.2 created this file. For more info see http://www.lyx.org/
\lyxformat 220
\textclass scrbook
\begin_preamble
 \usepackage{ccaption}
\usepackage{nonfloat}
\newcommand{\rem}[1]{}
\end_preamble
\language german
\inputencoding latin1
\fontscheme pslatex
\graphics default
\paperfontsize default
\spacing single 
\papersize a4paper
\paperpackage widemarginsa4
\use_geometry 1
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 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 Standard


\begin_inset FloatList table

\end_inset 


\layout Standard


\begin_inset  Tabular








\begin_inset Text

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
caption[lot-text]{caption-text}
\backslash 

\backslash 

\end_inset 


\size scriptsize 
column1
\end_inset 


\begin_inset Text

\layout Standard


\size scriptsize 
column2
\end_inset 


\begin_inset Text

\layout Standard


\size scriptsize 
column3
\end_inset 


\begin_inset Text

\layout Standard


\size scriptsize 
column4
\end_inset 




\begin_inset Text

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
caption[]{caption-text}
\backslash 

\backslash 

\end_inset 


\size scriptsize 
column1
\end_inset 


\begin_inset Text

\layout Standard


\size scriptsize 
column2
\end_inset 


\begin_inset Text

\layout Standard


\size scriptsize 
column3
\end_inset 


\begin_inset Text

\layout Standard


\size scriptsize 
column4
\end_inset 




\begin_inset Text

\layout Standard


\size scriptsize 
text1
\end_inset 


\begin_inset Text

\layout Standard


\size scriptsize 
text2
\end_inset 


\begin_inset Text

\layout Standard


\size scriptsize 
text3
\end_inset 


\begin_inset Text

\layout Standard


\size scriptsize 
text4
\end_inset 




\end_inset 


\the_end

#LyX 1.2 created this file. For more info see http://www.lyx.org/
\lyxformat 220
\textclass scrbook
\begin_preamble
 \usepackage{ccaption}
\usepackage{nonfloat}
\newcommand{\rem}[1]{}
\end_preamble
\language german
\inputencoding latin1
\fontscheme pslatex
\graphics default
\paperfontsize default
\spacing single 
\papersize a4paper
\paperpackage widemarginsa4
\use_geometry 1
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 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 Standard


\begin_inset FloatList table

\end_inset 


\layout Standard


\begin_inset  Tabular








\begin_inset Text

\layout Standard
\size scriptsize 

\begin_inset ERT
status Collapsed

\layout Standard

\size scriptsize 
\backslash 
caption[lot-text]{caption-text}
\backslash 

\backslash 

\end_inset 
 
column1
\end_inset 


\begin_inset Text

\layout Standard


\size scriptsize 
column2
\end_inset 


\begin_inset Text

\layout Standard


\size scriptsize 
column3
\end_inset 


\begin_inset Text

\layout Standard


\size scriptsize 
column4
\end_inset 




\begin_inset Text

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
caption[]{caption-text}
\backslash 

\backslash 

\end_inset 


column1
\end_inset 


\begin_inset Text

\layout Standard


\size scriptsize 
column2
\end_inset 


\begin_inset Text

\layout Standard


\size scriptsize 
column3
\end_inset 


\begin_inset Text

\layout Standard



Re: [WARNING] Bad bug in lyx 1.2.2 configure script

2003-01-09 Thread Stephan Witt
Jean-Marc Lasgouttes wrote:


"Michael" == Michael Abshoff <[EMAIL PROTECTED]> writes:



Michael> This bug bit me couple of times when I set up my new Laptop.
Michael> I never suspected the configure-script and chased the bug for
Michael> a week.

Yes, it is ugly. Note that kudos for spotting this should go to
Dominik Vogt.

JMarc



Ofcourse this isn't an excuse for this bug, but...

Once upon a time there was a rule:
Never configure and compile software as root!

After a succesful build you should become root with su (without hyphen!)
and do a make install, if you tested this piece of software and trust it.

I'm working without the magic power of root as much as possible.
And on my laptop and my home box there it is the same.

Stephan




Re: [WARNING] Bad bug in lyx 1.2.2 configure script

2003-01-09 Thread Jean-Marc Lasgouttes
> "Michael" == Michael Abshoff <[EMAIL PROTECTED]> writes:

Michael> This bug bit me couple of times when I set up my new Laptop.
Michael> I never suspected the configure-script and chased the bug for
Michael> a week.

Yes, it is ugly. Note that kudos for spotting this should go to
Dominik Vogt.

JMarc



Re: [WARNING] Bad bug in lyx 1.2.2 configure script

2003-01-09 Thread Michael Abshoff
Stephan Witt wrote:


Ofcourse this isn't an excuse for this bug, but...

Once upon a time there was a rule:
Never configure and compile software as root!

After a succesful build you should become root with su (without hyphen!)
and do a make install, if you tested this piece of software and trust it.

I'm working without the magic power of root as much as possible.
And on my laptop and my home box there it is the same.

Stephan


You are right about build software, but it was a fresh install without
users.

The funny thing is, that in my case /dev/null still existed, but somehow
it couldn't be used.

Are you guys still interested in bugreports fpr lyx 1.2.2? I am compiling
a list of oddities and unexpected behaviours, but I won't be done
till late friday.

Michael

--
Michael Abshoff - MRB - Universität Dortmund - Telefon 755-3463 (intern)

  Where do you want to RTFM today?






Re: [WARNING] Bad bug in lyx 1.2.2 configure script

2003-01-09 Thread Andre Poenitz
On Thu, Jan 09, 2003 at 12:51:09PM +0100, Michael Abshoff wrote:
> Are you guys still interested in bugreports fpr lyx 1.2.2? I am compiling
> a list of oddities and unexpected behaviours, but I won't be done
> till late friday.

Especially if they are present in 1.3.0cvs, too: Yes.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



[ANNOUNCE] LyX 1.2.3 is released

2003-01-09 Thread Jean-Marc Lasgouttes

Public release of LyX version 1.2.3
===

We are glad to announce the release of LyX 1.2.3.

LyX 1.2.3 is a maintenance release. It mainly fixes a very bad bug
where configuring LyX as root could lead to deleting the /dev/null
special device (this does not impact users of prebuilt binaries).
Also, a bug where LyX would create zombie processes has been fixed.

In case you are wondering what LyX is, here is what
http://www.lyx.org/ has to say on the subject:

  LyX is an advanced open source document processor that encourages an
  approach to writing based on the structure of your documents, not their
  appearance. LyX lets you concentrate on writing, leaving details of 
  visual layout to the software.

  LyX runs on many Unix platforms (including MacOS X), OS/2, and under
  Windows/Cygwin. Note that all these ports use the same xforms interface 
  and therefore need an X server. 

The main LyX site is

ftp://ftp.lyx.org/pub/lyx/

with mirrors at

ftp://ftp.sdsc.edu/pub/other/lyx/
ftp://ftp.lip6.fr/pub/lyx/
ftp://gd.tuwien.ac.at/publishing/tex/lyx/
ftp://ftp.ntua.gr/pub/X11/LyX/
ftp://ftp.icm.edu.pl/vol/rzm0/lyx/

You can download LyX 1.2.3 here :

ftp://ftp.lyx.org/pub/lyx/stable/lyx-1.2.3.tar.gz
ftp://ftp.devel.lyx.org/pub/lyx/lyx-1.2.3.tar.gz

Prebuild binaries (mainly rpms for linux distributions) should soon be 
available at
ftp://ftp.lyx.org/pub/lyx/bin/1.2.3

If you already have LyX 1.2.2 sources, you may want to apply the
following patch instead
ftp://ftp.lyx.org/pub/lyx/stable/patch-1.2.3.gz  
 
If you find what you think is a bug in LyX 1.2.3, you may either
e-mail the LyX user's mailing list ([EMAIL PROTECTED]), or open
a bug report at http://bugzilla.lyx.org

If you're having trouble using the new version of LyX, or have a question,
first check out http://www.lyx.org/help/, and e-mail the LyX user's list if you
can't find an answer there.  

Enjoy!

The LyX team.


 
What's new
==

** Updates

- updated italian User Guide

- updated french localization

** Bug fixes

- fix bug where the configure script would try to delete the /dev/null
  device when there has been an error in configuration step

- fix bug where autosaving would leave a lot of zombie processes after
  a long time

- fix problem where it was not possible to force some values to 0 in
  custom margins

- fix bug where horizontal alignment would be reset automatically to
  "left" in the tabular dialog

- fix functions word-find-forward and word-find-backward, the meanings
  of which were inverted

- when the lyx binary was invoked through a symbolic link, LyX would
  print annoying messages on the console; they are now output only
  when debugging.

- fix an installation issue with solaris



strikethrough and tilde underline?

2003-01-09 Thread Dr. Richard E. Hawkins
A few years ago, when I needed to identify changes in my dissertation,
someone here showed me a quick and dirty way to define styles causeing
typethrough and underlining with tilde's.

Unfortunately, theose definitions apparently came out of the document by
the end.

Could someone give me a quick pointer?

thanks

hawk

-- 
Richard E. Hawkins, Asst. Prof. of Economics/"\   ASCII ribbon campaign
[EMAIL PROTECTED]  Smeal 178  (814) 375-4700  \ /   against HTML mail
These opinions will not be those of  Xand postings. 
Penn State until it pays my retainer.   / \   



Re: AGU Journal of Geophysical Research layout templates

2003-01-09 Thread Jean-Marc Lasgouttes
> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes:

Martin> [Bcc: AGU's infotech list] Attached. A bit experimental and
Martin> incomplete still, but works for me. I did this in a hurry as I
Martin> am getting requests for this :-)

Martin> This is for lyx-1.3.0. Also a patch to documentation
Martin> (Extended.lyx) included. (Oops, seems to be reversed.)

Lars, can I apply this?

Martin, I'd need a patch to LaTeXConfig.lyx too.

JMarc



Re: AGU Journal of Geophysical Research layout templates

2003-01-09 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:

| > "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes:
| 
| Martin> [Bcc: AGU's infotech list] Attached. A bit experimental and
| Martin> incomplete still, but works for me. I did this in a hurry as I
| Martin> am getting requests for this :-)
| 
| Martin> This is for lyx-1.3.0. Also a patch to documentation
| Martin> (Extended.lyx) included. (Oops, seems to be reversed.)
| 
| Lars, can I apply this?

Not sure.

It does say "experimental and incomplete".

-- 
Lgb



Re: AGU Journal of Geophysical Research layout templates

2003-01-09 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:

Lars> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: |
Lars> > "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes:
Lars> | 
Lars> | Martin> [Bcc: AGU's infotech list] Attached. A bit
Lars> experimental and | Martin> incomplete still, but works for me. I
Lars> did this in a hurry as I | Martin> am getting requests for this
Lars> :-)
Lars> | 
Lars> | Martin> This is for lyx-1.3.0. Also a patch to documentation |
Lars> Martin> (Extended.lyx) included. (Oops, seems to be reversed.)
Lars> | 
Lars> | Lars, can I apply this?

Lars> Not sure.

Lars> It does say "experimental and incomplete".

It is a new class anyway. And Martin is "Mr AGU" so I guess he is
willing to take the blame for anything that may happen :) Remember
that Martin wants to push use of LyX at AGU, and thus it would be nice
to have this in next stable release.

JMarc



Re: AGU Journal of Geophysical Research layout templates

2003-01-09 Thread Edwin Leuven
> it would be nice to have this in next stable release.

which is going to be when btw?

Ed.



Re: AGU Journal of Geophysical Research layout templates

2003-01-09 Thread Lars Gullik Bjønnes
Edwin Leuven <[EMAIL PROTECTED]> writes:

| > it would be nice to have this in next stable release.
| 
| which is going to be when btw?

some weeks yet.

I'll see if I can get a new pre out tomorrow or during the weekend. 

-- 
Lgb



Theorem environments

2003-01-09 Thread Michael Schmitt
Hello,

some time ago, I have extended class "Article (KomaScript)" to handle 
theorems and definitions (see attachment). The patch works fine for 
private use but it is limited and I don't really understand each and 
every detail.

But as it seems to be very easy to add new theorem environments to an 
existing TeX class, I am wondering whether we can define a set of 
"standard" theorem environments that are included in many more classes 
in generic way. Is that possible?

Michael
Index: lyx-old/lib/layouts/scrreprt.layout
===
RCS file: /cvs/lyx/lyx-devel/lib/layouts/scrreprt.layout,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 scrreprt.layout
--- lyx-old/lib/layouts/scrreprt.layout 1999/09/27 18:44:34 1.1.1.1
+++ lyx-old/lib/layouts/scrreprt.layout 2003/01/07 06:22:31
@@ -5,6 +5,7 @@
 
 # General textclass parameters
 Input scrclass.inc
+Input scrmaths.inc
 
 # Modify bibliography
 Style Bibliography

Style TheoremTemplate
  MarginFirst_Dynamic
  LatexType Environment
  LabelSep  M
  ParIndent MM
  ParSep0.4
  Align Block
  AlignPossible Block, Left
  LabelType Static

  # label font definition
  LabelFont
Series  Bold
  EndFont
End

Style Theorem
  CopyStyle TheoremTemplate
  LatexName theorem
  LabelString   "Theorem #"

  Preamble
\newtheorem{theorem}{Theorem}
  EndPreamble
End

Style Definition
  CopyStyle TheoremTemplate
  LatexName definition
  LabelString   "Definition #"

  Preamble
\newtheorem{definition}{Definition}
  EndPreamble
End

NoStyle TheoremTemplate



Re: AGU Journal of Geophysical Research layout templates

2003-01-09 Thread Martin Vermeer
On Thu, Jan 09, 2003 at 06:21:03PM +0100, Lars Gullik Bjønnes spake thusly:
 
> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
> 
> | > "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes:
> | 
> | Martin> [Bcc: AGU's infotech list] Attached. A bit experimental and
> | Martin> incomplete still, but works for me. I did this in a hurry as I
> | Martin> am getting requests for this :-)
> | 
> | Martin> This is for lyx-1.3.0. Also a patch to documentation
> | Martin> (Extended.lyx) included. (Oops, seems to be reversed.)
> | 
> | Lars, can I apply this?
> 
> Not sure.
> 
> It does say "experimental and incomplete".
> 
> -- 
>   Lgb

Here's to hoping that it will find independent testing before 1.3.0.

Will attend to LaTeXConfig.lyx at first opportunity (weekend?)

Martin




msg50752/pgp0.pgp
Description: PGP signature


[PATCH] Trivial stuff (mathed & mouse wheel scrolling)

2003-01-09 Thread Michael Schmitt
Dear Lars, Jean-Marc,

please apply the following two patches:

  1. Change default value and description of mouse wheel jump
 (John thinks it is OK)
  2. Make CTRL-Pos1/End behave a little bit more intuitive
 (Patch suggested by Andre)

Michael

Index: lyx-devel-1_3_X//src/ChangeLog
===
RCS file: /cvs/lyx/lyx-devel/src/ChangeLog,v
retrieving revision 1.1009
diff -u -r1.1009 ChangeLog
--- lyx-devel-1_3_X//src/ChangeLog  2003/01/09 14:31:23 1.1009
+++ lyx-devel-1_3_X//src/ChangeLog  2003/01/09 19:09:57
@@ -1,3 +1,7 @@
+2003-01-08  Michael Schmitt <[EMAIL PROTECTED]>
+
+* Clarify the meaning of "wheel mouse jump"
+
 2003-01-06  Jean-Marc Lasgouttes  <[EMAIL PROTECTED]>
 
* lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
Index: lyx-devel-1_3_X//src/lyxrc.C
===
RCS file: /cvs/lyx/lyx-devel/src/lyxrc.C,v
retrieving revision 1.138
diff -u -r1.138 lyxrc.C
--- lyx-devel-1_3_X//src/lyxrc.C2003/01/06 14:02:21 1.138
+++ lyx-devel-1_3_X//src/lyxrc.C2003/01/09 19:10:02
@@ -197,7 +197,7 @@
dpi = 75;
// Because a screen typically is wider than a piece of paper:
zoom = 150;
-   wheel_jump = 100;
+   wheel_jump = 5;
// Default LaTeX font size:
font_sizes[LyXFont::SIZE_TINY] = 5.0;
font_sizes[LyXFont::SIZE_SCRIPT] = 7.0;
@@ -2124,7 +2124,7 @@
break;
 
case RC_WHEEL_JUMP:
-   str = _("The wheel movement factor (for mice with wheels or five 
button mice).");
+   str = _("The number of lines that are scrolled by mice with wheels or 
+five button mice.");
break;
 
case RC_CONVERTER:
Index: lyx-devel-1_3_X//src/mathed/formulabase.C
===
RCS file: /cvs/lyx/lyx-devel/src/mathed/formulabase.C,v
retrieving revision 1.231
diff -u -r1.231 formulabase.C
--- lyx-devel-1_3_X//src/mathed/formulabase.C   2003/01/08 17:38:47 1.231
+++ lyx-devel-1_3_X//src/mathed/formulabase.C   2003/01/09 19:10:17
@@ -536,7 +536,7 @@
case LFUN_PRIOR:
case LFUN_BEGINNINGBUFSEL:
case LFUN_BEGINNINGBUF:
-   result = FINISHED_UP;
+   result = FINISHED;
updateLocal(bv, false);
break;
 
@@ -544,7 +544,7 @@
case LFUN_NEXT:
case LFUN_ENDBUFSEL:
case LFUN_ENDBUF:
-   result = FINISHED_DOWN;
+   result = FINISHED_RIGHT;
updateLocal(bv, false);
break;
 



Updated da.po for 1.3.0cvs

2003-01-09 Thread Claus Hindsgaul
I have attached an updated da.po for LyX 1.3.0cvs.

Please insert it into the CVS.

Claus

-- 
Claus Hindsgaul <[EMAIL PROTECTED]>



da.po.gz
Description: GNU Zip compressed data


Compiler warnings

2003-01-09 Thread Michael Schmitt
Hi folks,

I recompiled the whole LyX sources. Below you can find the current list 
of compiler warnings.

Michael



formulabase.C:910:2: warning: #warning pretty ugly
math_data.C:157:2: warning: #warning temporarily disabled
math_hullinset.C:682:2: warning: #warning temporarily disabled
math_hullinset.C:738:2: warning: #warning temporarily disabled
math_hullinset.C:811:2: warning: #warning FIXME: please check you really 
mean repaint() ... is it needed,
math_hullinset.C:812:2: warning: #warning and if so, should it be 
update() instead ?
math_parser.C:1074:2: warning: #warning A hack...
insetcite.C:368:2: warning: #warning What is this code supposed to do? (Lgb)
insetcollapsable.C:246:2: warning: #warning Fix this properly in 
BufferView_pimpl::workAreaButtonRelease
insettabular.C:699:2: warning: #warning fix scrolling when cellinset has 
requested a scroll (Jug)!!!
insettabular.C:1564:2: warning: #warning This should be fixed in the 
right manner (20011128 Jug)
ControlBibitem.C:40:2: warning: #warning please check you mean repaint() 
not update(),
ControlBibitem.C:41:2: warning: #warning and whether the repaint() is 
needed at all
ControlBibtex.C:49:2: warning: #warning are you sure you need this 
repaint() ?
ControlMath.C:304:2: warning: #warning Use a static table for this (Lgb)
xforms_resize.C: In function `double 
::get_scaling_factor(FL_FORM*)':
xforms_resize.C:56: warning: assignment to `int' from `float'
xforms_resize.C:56: warning: argument to `int' from `float'
xforms_resize.C:64: warning: assignment to `int' from `float'
xforms_resize.C:64: warning: argument to `int' from `float'
xforms_resize.C:68: warning: assignment to `int' from `float'
xforms_resize.C:68: warning: argument to `int' from `float'
xformsImage.C: In member function `virtual void 
grfx::xformsImage::clip(const
   grfx::Params&)':
xformsImage.C:290: warning: comparison between signed and unsigned integer
   expressions
xformsImage.C:292: warning: comparison between signed and unsigned integer
   expressions
xscreen.C: In member function `virtual void XScreen::draw(LyXText*,
   BufferView*, unsigned int)':
xscreen.C:217: warning: comparison between signed and unsigned integer
   expressions
xscreen.C:217: warning: comparison between signed and unsigned integer
   expressions
FormPreferences.C:1831:2: warning: #warning FIXME!! The graphics cache 
no longer has a changeDisplay method.
screen.C: In member function `virtual unsigned int
   LyXScreen::topCursorVisible(const LyXCursor&, int)':
screen.C:199: warning: comparison between signed and unsigned integer
   expressions
paragraph_funcs.C:67:2: warning: #warning this seems wrong
buffer.C:281:2: warning: #warning And _why_ is this here? (Lgb)
buffer.C:2678:2: warning: #warning This is wrong we cannot insert an 
inset like this!!!
buffer.C:3102:2: warning: #warning repaint needed here, or do you mean 
update() ?
buffer.C:3295:2: warning: #warning repaint needed here, or do you mean 
update() ?
converter.C:846:2: warning: #warning repaint() or update() or nothing ?
converter.C:909:2: warning: #warning repaint() or update() or nothing ?
exporter.C:42:2: warning: #warning repaint() or update() or nothing ?
lyxfunc.C:833:2: warning: #warning I am not sure this is still right, 
please have a look! (Jug 20020417)
lyxfunc.C:1083:2: warning: #warning repaint() or update() or nothing ?
lyxfunc.C:1502:2: warning: #warning FIXME!! The graphics cache no longer 
has a changeDisplay method.
lyxlength.C:153:2: warning: #warning if you don't care than either call 
this function differently or let it return negative values and call 
abs() explicitly when needed (Andre')
paragraph_pimpl.C:310:2: warning: #warning Bug: we can have an empty 
font change here!
text2.C:1328:2: warning: #warning use boost.format
text2.C:1903:2: warning: #warning I believe this code is wrong. (Lgb)
text2.C:1904:2: warning: #warning Jürgen, have a look at this. (Lgb)
text2.C:1905:2: warning: #warning Hmmm, I guess you are right but we
text2.C:1906:2: warning: #warning should verify when this is needed
text2.C:2198:2: warning: #warning This will not work anymore when we 
have multiple views of the same buffer
text3.C:1520:2: warning: #warning Please remove donot call inset->edit() 
here (Jug 20020812)
toc.C:85:2: warning: #warning bogus type (Lgb)



Re: [Bug 809] LyX resets document class if the TeX class is missing

2003-01-09 Thread Michael Schmitt
Hello,

could some expert please explain why LyX has to reset the document class 
if the corresponding TeX class is missing? I don't understand this 
necessity.

See also:

  http://bugzilla.lyx.org/show_bug.cgi?id=809

Thanks in advance,

Michael



Re: Patch: RTL fix for TOC menu

2003-01-09 Thread John Levon
On Tue, Jan 07, 2003 at 02:04:41PM +0200, Dekel Tsur wrote:

> It is possible.
> I've attached an updated patch.

I'd much prefer a lyx_gui::can_handle_rtl() or  something.

> @@ -1748,8 +1747,10 @@ string const Paragraph::asString(Buffer 

Is this really the right place for this ? ::asString is used in many
places.

We should only do the reverse when it actually reaches e.g. xforms, no ?
Won't this work ?

regards
john


-- 
"There was dog fights, drog deals, a lot of things were going on."
"I need to give a reason for people to hate me ... watch out man, we'll be
cool brilliant for the rest of the summer ... hate me for this." 
- "Westwood"



CJK-LyX-1.2.3

2003-01-09 Thread cghan

Hello,

It seems that I have forgotten to make an anouncement for the 
CJK-LyX-1.2.2. So, this time I take no time to make the one for the 
CJK-LyX-1.2.3;

I have just uploaded the CJK-LyX-1.2.3 on the usual ftp site,
   ftp://stone.phys.pusan.ac.kr/pub/CJK-LyX  .
 
CJK-LyX-1.2.3 is the unofficial patched version of lyx-1.2.3 for Chinese, 
Japanese and Korean language users.

It is worth noticing that from this version (actually from 1.2.2) on, you 
can display CJK-letters without using "lyxstring". That is, you can 
compile CJK-LyX with or without "lyxstring". You can "find and replace" 
CJK-letters with CJK-LyX-menu, too.


  --cghan