Re: Viewing images in lyx-1.2: Choice of the converter to use

2002-07-10 Thread John Levon

On Wed, Jun 26, 2002 at 12:01:55PM +0100, Jan Warnking wrote:

> By default a converter PNG->EPS is defined. Since I defined an EPS->PS
> converter, Lyx then converted PNG->EPS->PS and failed to load the image
> (see previous message). So I removed the PNG->EPS converter, so that the
> PNG->XPM get used. However, the images still didn't get loaded. "lyx -dbg
> graphics" shows that lyx converts PNG->XPM->EPS->PS! Lyx _can_ load xpm
> directly and does so, if I delete the EPS->PS converter.
> This is minor once one knows what happens. There are always ways to work
> around this, defining only the right converters. But it still seems odd.

You must have made a mistake somewhere, I think. I just tested 1.2.1cvs
and it converted my png to xpm directly, and loaded it via the xforms
image loader

regards
john
-- 
"I hope you will find the courage to keep on living 
 despite the existence of this feature."
- Richard Stallman



Re: Viewing images in lyx-1.2: Displaying png and ps files

2002-07-10 Thread John Levon

On Wed, Jun 26, 2002 at 11:58:39AM +0100, Jan Warnking wrote:

> I think I heard once on the list that png files can be displayed directly.
> Is this only true for the internal image loader or with the xforms loader,
> too? I have quite a few of them and not having to convert them each time I
> open my thesis would speed up things considerably.

xforms image loader, alas, does not yet support png, so they must be
converted. "Don't display" is your best option here :/

> xforms image loader. Status : Converting PS ...
> xforms image loader. Status : Loading PostScript
> xforms image loader. Error : LoadPS: no page written!
> Image loading failed.
> xforms image loader. Status : Error Reading

Another xforms problem I guess. Please supply the failing file

john

-- 
"I hope you will find the courage to keep on living 
 despite the existence of this feature."
- Richard Stallman



Re: Viewing images in lyx-1.2: Minor display error

2002-07-10 Thread John Levon

On Wed, Jun 26, 2002 at 11:57:13AM +0100, Jan Warnking wrote:

> When inserting a graphics (or when converting old files without extension
> for the graphics file names), an empty box shows up representing the image
> to be loaded, along with some message. When inserting the correct file
> name, the image gets loaded, and is shown correctly outside the original
> box but has some weird display inside this box. This goes away immediately
> on the first redraw of the canvas and is harmless, but does not look very
> professional when trying to convince others how great Lyx is...

Please provide some more details (example file, exact steps to
reproduce, even a screenshot)

what do you mean "outside the original box" ??

thanks
john

-- 
"I hope you will find the courage to keep on living 
 despite the existence of this feature."
- Richard Stallman



Re: Viewing images in lyx1.2: Loading images blocks UI

2002-07-10 Thread John Levon

On Wed, Jun 26, 2002 at 11:55:02AM +0100, Jan Warnking wrote:

> background, too, so I was very disappointed to see that, on the contrary,
> image loading is done in foreground now. This is the reason I still prefer
> 1.1.6.

Image loading is not done in the foreground...

regards
john

-- 
"I hope you will find the courage to keep on living 
 despite the existence of this feature."
- Richard Stallman



Re: Viewing images in lyx-1.2

2002-07-10 Thread John Levon

On Wed, Jun 26, 2002 at 11:51:20AM +0100, Jan Warnking wrote:

> I guess the more power the developers give to the user, the more they need
> to hold the hands of those who are not interested in power, but in ease of
> use.

Not at all. It is just a matter of teething troubles with the new
system, and buggy programs lyx relies on, and old buggy image files.

When everyone is using xforms internal image loader or (eventually) the
Qt or Gnome frontends, things will just work much better, by default.

john

-- 
"I hope you will find the courage to keep on living 
 despite the existence of this feature."
- Richard Stallman



Re: itemize example problem 1.2.0

2002-07-10 Thread lks

On Mon, 08 Jul 2002 15:23:16 -0500, lks wrote:

> Itemize
> Layput > Document > Bullets:
> (Standart,Bullet Depth 1) star
> (Standart,Bullet Depth 2) cdot
> (Standart,Bullet Depth 3) diamond
> (Standart,Bullet Depth 4) ast
> 
> * 1 level
>   * 2 level
> * 3 level
>   * 4level
> * daa
> * dee
> 
> View > Postscript:
> If you see this does not correspond to the previous thing. Thanks to
> respond

The problem is because this in Spanish language, but if is added to 
him to "preambles" \usepackage{babel } no longer has problem. That was
 the solution that I gave him. 
THX JMarc





Re: Keyboard is stuck

2002-07-10 Thread Thorsten Fischer


Am Mittwoch, 10. Juli 2002 19:15 schrieben Sie:
>This is the third or so report on this, but we couldn't find out the
>problem. Try fiddling with your X key repeat settings ...

Can you tell me where I can do that? In the XF86 Config File?

> What xforms version are you using ?

the SuSE rpm of xforms-0.89-369

Thorsten




Re: Docbook status in 1.2.0

2002-07-10 Thread José Abílio Oliveira Matos

On Wednesday 10 July 2002 02:43, Kevin Page wrote:
> Hi,
>
> I've used lyx previously (very successfully, I may add - thanks!) in
> the past for creating LaTeX based output. I'm writing my thesis, and
> would ideally like the base document to use DocBook.

  Good. :-)

> I've have a brief experiment with the DocBook book class, though
> output was not ideal. I've looked at the db4lyx page and browsed the
> mailing list archives, but I still have a few questions remaining
> about DocBook features in 1.2.0 (which various places seem to suggest
> has better DocBook support).

  The code was cleaned so it should be easier to fix if something is broken.

> Any help, thoughts, or experiences are welcome. In particular, I'm
> interested in how successful I'll be with:
>
> - Multi chapter, section, sub section support. This seems to be in
> there and working fine (though my output wasn't aligned perfectly)

  I have fixed that in 1.3.0cvs

> - table of contents (seems to be working, though I guess this is
> directly constructed by the docbook toolset)

  You are right.

> - tables (again, seems to be good for simple tables)

  And also for more than simple tables. ;-)

> - Embedded figures and diagrams, with labels that can be referenced
> (as numbers)

  Cann't they already?

> - bibliography and references. Preferably with a separate bibliography
> file, as with BibTeX database. Configurable style for bibliography
> output.

  I need to work this more since, as an example, pybibliographer also exports 
docbook.

> - XML DocBook. The SGML output seems to be pretty well formed - it is
> also XML compliant now?

  No, because of that, if is SGML it cann't be XML (think for example about 
the empty tags  for sgml and  for xml.

  The idea is to add a new xml export option, as you can guess most of the 
changes are trivial.

> As I said above, I've had a quick experiment with the DocBook book
> class in 1.2.0, and the PS output was, shall we say, not ideal. I
> tried to throw the SGML export at some docbook tools (I'm using RedHat
> 7.3 with its docbook packages installed), but they didn't like it. I'm
> unsure as to whether this is a problem with the tool chain.

  Send me an example file, please.

> I'm open to any experiences - it may be that I'm best sticking with
> plain lyx/LaTeX, despite the obvious portability advantages of
> DocBook. (or maybe I should just get down to editing raw DocBook?!)

  It depends, what do you want/need?
  If we now that maybe we can point you to the different solutions...

  Don't be afraid to ask, we don't bite (well usually ;-).

> Regards,
>
> kev

-- 
José Abílio



Re: Keyboard is stuck

2002-07-10 Thread John Levon

On Wed, Jul 10, 2002 at 03:27:26PM +0200, Thorsten Fischer wrote:

> I'm using lyx 1.2 for a couple of weeks now and is is great. However today I 
> started writing a text and got a strange behaviour. Everytime I press a key 
> for the second time , e.g. "mm" nothing happens. This happens for all keys 
> including backspace, space and so on. 

This is the third or so report on this, but we couldn't find out the
problem. Try fiddling with your X key repeat settings ...

> WorkArea: Key is `l' [108]
> WorkArea: Keysym is `l' [108]
> Using keysym [B]
> Workarea Diff: 0

This diff should NOT be 0 !

What xforms version are you using ?

Lars, I don't understand why we have the "break;" inside the if.
Shouldn't we be setting last_time_pressed ?

Can you look at this please ?

john

-- 
"I know I believe in nothing but it is my nothing"
- Manic Street Preachers



Re: Dangerous BUG: Search/Replace

2002-07-10 Thread John Levon

On Thu, Jul 04, 2002 at 11:57:13AM +0200, Jean-Marc Lasgouttes wrote:

> This is a bug in the hu.po hungarian translation. I fixed it, but this
> translation is really out of date now.

Is the bugzilla bug on this still open or what ?

regards
john

-- 
"I know I believe in nothing but it is my nothing"
- Manic Street Preachers



Re: eps problems with 1.2

2002-07-10 Thread John Levon

On Fri, Jun 28, 2002 at 12:19:17PM +0200, Henk Coetzee wrote:

> ftp.lyx.org on a Mandrake 8.2 box. I am experiencing scaling problems 
> and also, none of my eps files display in the editor window. The 
> graphics show up as a box containing the words "error converting to 
> loadable format", while the postscript display shows the images at their 
> full size. I have seen this so far with eps files created using gnuplot 
> and xfig.

Make sure you have run reconfigure, and installed imagemagick. If you
still can't get it working, provide a small example lyx file and an eps
that fails

regards
john

-- 
"I know I believe in nothing but it is my nothing"
- Manic Street Preachers



Re: Keyboard is stuck

2002-07-10 Thread Thorsten Fischer


 Am Mittwoch, 10. Juli 2002 17:45 schrieb Herbert Voss:

 edit -> reconfigure didn't work.  I'm using the cua.bind. I changed it a
 little but my version and the original version both show the same
 behaviour.

 In the preamble dialog everything works fine.

> > try a edit->reconfigure and restart lyx and then if it doesn't help
> > tell us, what keybinding do you have: edit->preferences->Look&Feel
> >
> > Herbert




Re: Keyboard is stuck

2002-07-10 Thread Herbert Voss

Thorsten Fischer wrote:

> 
> I'm using lyx 1.2 for a couple of weeks now and is is great. However today I 
> started writing a text and got a strange behaviour. Everytime I press a key 
> for the second time , e.g. "mm" nothing happens. This happens for all keys 
> including backspace, space and so on. 
> 
> I couldn't find any help on the list. Has anyone an idea why this happens? I'm 
> using SuSE 7.3 but it worked fine and I didn't change anything on the system


try a edit->reconfigure and restart lyx and then if it doesn't help
tell us, what keybinding do you have: edit->preferences->Look&Feel

Herbert



-- 
http://www.lyx.org/help/




Re: Section numbering format

2002-07-10 Thread Herbert Voss

Remzi Seker wrote:

> 
> I need to have my chapter, section, subsection titles formatted together with 
> their numbers. I have the titles formatted with the help of Dekel and 
> Herbert, however the numbers are not really as I want. Such that
> 1.1 THIS IS A SECTION
> the number "1.1" is bold and larger than the title itself... 
> 
> I am attaching an example file. Thanks alot in advance.


> \chapterfont{\mdseries\centering}
> \sectionfont{\mdseries\centering}
> \subsectionfont{\mdseries\textit}
> \subsubsectionfont{\mdseries\textit}
> \paragraphfont{\mdseries\textit}


for example: \chapterfont{\small\mdseries\centering} ...

Herbert

-- 
http://www.lyx.org/help/




Re: Adding sections to TOC?

2002-07-10 Thread Herbert Voss

Michael McPherson wrote:

> I'm using the book class, and all my chapter headings show up in the 
> table of contents...except
> chapters using the chapter* type.
> 
> Basically I want to have a section at the end of my dissertation for a 
> short vita
> 
> Not,  "Chapter 7 Vita" but just vita
> 
> 
> using the chapter* type instead of the chapter type does this, but it 
> doesnt show up in the TOC.


http://www.lyx.org/help/layouts/chapter.php#nonumber

> Is there any way I can make it do so (or is there a better way to do 
> what I want)?


choose package sectsty

http://www.dante.de/CTAN//help/Catalogue/entries/sectsty.html

Herbert



-- 
http://www.lyx.org/help/




Re: Adding sections to TOC?

2002-07-10 Thread Renaud MICHEL

Le Mercredi 10 Juillet 2002 16:43, Michael McPherson a écrit :
> I'm using the book class, and all my chapter headings show up in the
> table of contents...except
> chapters using the chapter* type.
>
> Basically I want to have a section at the end of my dissertation for a
> short vita
>
> Not,  "Chapter 7 Vita" but just vita
>
>
> using the chapter* type instead of the chapter type does this, but it
> doesnt show up in the TOC.
>
> Is there any way I can make it do so (or is there a better way to do what
> I want)?

Add manually the entry in the toc with the command
\addcontentsline{toc}{chapter}{vita}

-- 
Renaud Michel

Une fois qu'une femme vous a donné son coeur, 
on ne peut plus se débarrasser du reste. John Vanbrugh



Adding sections to TOC?

2002-07-10 Thread Michael McPherson

I'm using the book class, and all my chapter headings show up in the table 
of contents...except
chapters using the chapter* type.

Basically I want to have a section at the end of my dissertation for a 
short vita

Not,  "Chapter 7 Vita" but just vita


using the chapter* type instead of the chapter type does this, but it 
doesnt show up in the TOC.

Is there any way I can make it do so (or is there a better way to do what I 
want)?

Thank you very much. :)

P.S.  one other quick question...is it possible to get the chapter heading 
centered?  The default is to left justify them.

Michael Shannon McPherson
Email: [EMAIL PROTECTED]
(Work) (Home)
Address:
NCPA  1903 Anderson Road
Coliseum Drive Apt A-2
University, MS 38677Oxford, MS 38655

Phone: (662) 915-7551 (662) 234-5463




Keyboard is stuck

2002-07-10 Thread Thorsten Fischer

Hi,

I'm using lyx 1.2 for a couple of weeks now and is is great. However today I 
started writing a text and got a strange behaviour. Everytime I press a key 
for the second time , e.g. "mm" nothing happens. This happens for all keys 
including backspace, space and so on. 

I couldn't find any help on the list. Has anyone an idea why this happens? I'm 
using SuSE 7.3 but it worked fine and I didn't change anything on the system

Below is the output of the Keyboard debugger for a new Document just pressing 
l two times

Thanks

Thorsten 


WorkArea: Key is `l' [108]
WorkArea: Keysym is `l' [108]
Using keysym [B]
Workarea Diff: 4170181407
KeySym is l[108] State is [16]
action first set to [90]
meta_fake_bit is [0]
action now set to [90]
Key [action=90][l]
Cannot decode: l
SelfInsert arg[`l']
WorkArea: Key is `l' [108]
WorkArea: Keysym is `l' [108]
Using keysym [B]
Workarea Diff: 0
Workarea: Purging X events.




Section numbering format

2002-07-10 Thread Remzi Seker

Hi,

I need to have my chapter, section, subsection titles formatted together with 
their numbers. I have the titles formatted with the help of Dekel and 
Herbert, however the numbers are not really as I want. Such that
1.1 THIS IS A SECTION
the number "1.1" is bold and larger than the title itself... 

I am attaching an example file. Thanks alot in advance.

Remzi

#LyX 1.2 created this file. For more info see http://www.lyx.org/
\lyxformat 220
\textclass scrbook
\begin_preamble
\usepackage{sectsty}
\chapterfont{\mdseries\centering}
\sectionfont{\mdseries\centering}
\subsectionfont{\mdseries\textit}
\subsubsectionfont{\mdseries\textit}
\paragraphfont{\mdseries\textit}
\renewcommand{\theequation}{\thesection.\arabic{equation}}
%\renewcommand{\@seccntformat}[1]{}
\usepackage{amssymb}
\usepackage{algorithm}
\usepackage{float}
\usepackage{ntheorem}
\usepackage{accents}
\usepackage{lscape}
\usepackage{tocloft}
\usepackage{multirow}
\usepackage{rotating}
\usepackage{setspace}
\newcommand{\rightBow}[1]{\accentset{\curvearrowright}{#1}}
\newcommand{\leftBow}[1]{\accentset{\curvearrowleft}{#1}}
\usepackage{dsfont}
\usepackage[nice]{nicefrac}

%%\def\need#1{\par \penalty-100 \begingroup % preserve \dimen@
%%  \dimen@\pagegoal \advance\dimen@-\pagetotal % space left
% % \ifdim #1>\dimen@ % not enough space left
 %%\ifdim\dimen@>\z@ \vfil\fi % only do \vfil if some space left on page
 % %   \eject 
 %% \fi \endgroup}

\renewcommand{\contentsname}{CONTENTS}
\renewcommand{\cfttoctitlefont}{\hfill\rmfamily\mdseries\scshape}
\renewcommand{\cftaftertoctitle}{\hfill}
\renewcommand{\cftloftitlefont}{\hfill\rmfamily\mdseries\scshape}
\renewcommand{\cftafterloftitle}{\hfill}
\renewcommand{\cftlottitlefont}{\hfill\rmfamily\mdseries\scshape}
\renewcommand{\cftafterlottitle}{\hfill}
%\renewcommand\thechapter{}

\hyphenpenalty=1
\clubpenalty = 1
\widowpenalty = 1 
\displaywidowpenalty = 1

\newcounter{parentfigure}

\newenvironment{subfigures}{%
  \refstepcounter{figure}%
  \protected@edef\theparentfigure{\thefigure}%
   \setcounter{parentfigure}{\value{figure}}%
   \setcounter{figure}{0}%
   \def\thefigure{\theparentfigure\alph{figure}}%
  \ignorespaces
}{%
  \setcounter{figure}{\value{parentfigure}}%
  \ignorespacesafterend
}


\usepackage[breaklines]{listings}
\renewcommand\lstlistingname{Program}% default is Listing
\renewcommand\lstlistlistingname{List of Programs}%default is Listings
\renewcommand\thelstlisting{\thechapter .\arabic{lstlisting}}% captionstyle
\newcommand{\lst}[2]{%
\noindent\rule[-1ex]{\textwidth}{0.3mm}\vspace{-1ex}

\lstinputlisting[caption={#2},label={#1},stringspaces=false,frame={tb},lineskip=-1pt,extendedchars=true,%

basicstyle=\footnotesize\tt,labelstep=1,labelstyle=\tiny,indent=2em,language=Matlab,breaklines]{#1}
\vspace{1ex}%
}

\def\ss#1{{\scriptstyle #1}}

%usepackage{hyperref}
\usepackage[refpage]{nomencl}
\makeglossary
\makeindex

\RequirePackage{ifthen}
\renewcommand{\nomgroup}[1]{% 
\ifthenelse{\equal{#1}{A}}{\item[\rmfamily\mdseries{Chapter 1}]}{%
\ifthenelse{\equal{#1}{B}}{\item[\rmfamily\mdseries{Chapter 2}]}{}}
\ifthenelse{\equal{#1}{C}}{\item[\rmfamily\mdseries{Chapter 3}]}{
\ifthenelse{\equal{#1}{D}}{\item[\rmfamily\mdseries{Chapter 4}]}{}}
\ifthenelse{\equal{#1}{E}}{\item[\rmfamily\mdseries{Chapter 5}]}{
\ifthenelse{\equal{#1}{F}}{\item[\rmfamily\mdseries{Chapter 6}]}{}}}
\end_preamble
\options nochapterprefix
\language american
\inputencoding auto
\fontscheme pslatex
\graphics default
\float_placement !h
\paperfontsize 12
\spacing double 
\papersize letterpaper
\paperpackage a4
\use_geometry 1
\use_amsmath 1
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\leftmargin 3.81cm
\topmargin 2.54cm
\rightmargin 2.54cm
\bottommargin 2.54cm
\secnumdepth 3
\tocdepth 4
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle plain

\layout Chapter


\family roman 
\series medium 
\size normal 
CHAPTER III: CUBIC FLOWGRAPHS
\layout Section


\family roman 
\series medium 
\size normal 
INTRODUCTION
\layout Subsection


\family roman 
\series medium 
\size normal 
Control Flowgraphs
\layout Standard

An alogorithm is usually represented by a diagram called flowchart, and
 then with the help of flowchart, the program can be built.
 Because of the logical flow, every program can be represented by a flowchart
 
\the_end



Re: Lyx 1.2 - Badvalue id:24 error - could be X server color depth related

2002-07-10 Thread Surinder S. Dio

Thanks for the reply.

On Wed, Jul 10, 2002 at 04:48:23AM +0100, John Levon wrote:
> On Tue, Jun 25, 2002 at 11:37:29AM +0100, Surinder S. Dio wrote:
> 
> > ~% ldd pkg/lyx-1.2.0/bin/lyx
> > libforms.so.0.89 =>  /usr/local/lib/libforms.so.0.89
> 
> We need the patch-level version of xforms too ideally. It is probably an

I'm not exactly sure - but from the form.h file it says 

#define FL_VERSION 0
#define FL_REVISION   89
#define FL_FIXLEVEL6

So I guess patch level 6 ?

> xforms bug. You could try one of the xforms 1.0 release candidates
> (search the xforms mailing list).

I'll have a go at that and I also got a copy of forms 0.88 and will
give that a go as well.

Many thanks
Surinder


> 
> regards
> john
> 
> -- 
> "I know I believe in nothing but it is my nothing"
>   - Manic Street Preachers



trouble with tex2pdf

2002-07-10 Thread harmel

I would converting a lyx file with *.eps files to PDF with tex2pdf, i
have install this paket, but isn't worked. tex2pdf wrote the pfad input
in the configure is not correct. How input the correct-notation for the
Pfad under win9x and cygwin.

Thanks Har




Re: itemize example problem 1.2.0

2002-07-10 Thread Jean-Marc Lasgouttes

> "lks" == lks  <[EMAIL PROTECTED]> writes:

lks> Itemize Layput > Document > Bullets: (Standart,Bullet Depth 1)
lks> star (Standart,Bullet Depth 2) cdot (Standart,Bullet Depth 3)
lks> diamond (Standart,Bullet Depth 4) ast

lks> * 1 level * 2 level * 3 level * 4level * daa * dee

lks> View > Postscript: If you see this does not correspond to the
lks> previous thing. Thanks to respond

Can you send an example file?

JMarc



Re: Editing PDF's and font appearances

2002-07-10 Thread Wayan


On Wed, 10 Jul 2002, Sid Carter wrote:

> Is it possible to edit PDF files created by other editors using LyX ? If
> LyX cannot do it, is there any other program which does it (Open-Source)
> ?

maybe you can use pdf2ps and ps2ascii and import it with lyx.
If your pdf is complex, it's difficult, at least take more time.

> I have created a CV using the cv template. The fonts looks garbled/hazy
> when I see it in "acroread", but looks good when I see it in "gv".

this the problem of outline font if you select computer modern font
(default font). Use times or pslatex instead of CMF. See extended.lyx
(help) section 3.6 (if I am not wrong).

> And it also prints the way I see it in "gv". Am I doing something wrong
> ?

you can print directly from lyx. I don't know how to set it.

> Can I do something such that it looks the same both in "gv" and
> "acroread" and also looks good on print, specifically the fonts.

see above...

Wayan




Re: acronyms

2002-07-10 Thread Jean-Pierre.Chretien


>>From: Andre Poenitz <[EMAIL PROTECTED]>
>>Date: Wed, 10 Jul 2002 07:54:33 +0200
>>To: Pierre Marc Dumuid <[EMAIL PROTECTED]>
>>Cc: [EMAIL PROTECTED]
>>Subject: Re: acronyms
>>X-message-flag: Formating hard disk. please wait...   10%...  20%...
>>X-Virus-Scanned: by AMaViS perl-11
>>
>>On Wed, Jul 10, 2002 at 12:43:13PM +0930, Pierre Marc Dumuid wrote:
>>> This may have already been done, but in case it hasn't I thought I'd ask...
>>
>>It has not be done yet. 
>>
>>I don't really know whether it is worth the hassle to implement 
>>especially as it does not seem to save any typing. You have to give the
>>full name once anyway (be it in that "list" or at the first occurence) and
>>can use the abbrevation afterwards... Or do I miss your point?

Doesn't it look like an access to macro (same machanism as math marco)
in plain text ?
The hassle would have more return...

-- 
Jean-Pierre