Re: Problem installing classes

2005-06-08 Thread G. Milde
On  7.06.05, Leonardo wrote:
 Hi all,
 I'm trying to install a new latex class to be used with Lyx, but
 cannot manage to have it working.

 ---
 [EMAIL PROTECTED] leo]$  kpsewhich tex jpconf.cls
 /usr/share/texmf/tex/latex/iopams/jpconf.cls
 ---

OK
 
 Then I created a jpconf.layout file in $HOME/.lyx/layout,I
 reconfigured Lyx (Edit-Reconfigure) but I'm not so sure of the
 syntax:

My best tip is to look at other layout files to see how they do it...
 
 ---
 #% Do not delete the line below; configure depends on this
 #  \DeclareLaTeXClass[jpconf]{JPConf}
 
 # Read the definitions from article.layout
 \Input article.layout
 

 In fact I have some errors:
 LyX: Unknown TextClass tag `\Input' [around line 4 of file
 ~/.lyx/layouts/jpconf.layout]

This is quite clear (at least to me). Try

-\Input article.layout
+Input article.layout

 Error: Textclass 'jpconf' is missing a defaultstyle.

This is a follow up, as it did not read in article.layout

 If I don't add the article.layout reference the error is:
 Error: Textclass 'jpconf' is missing a defaultstyle.

Yes, you should define at least one style (explicitely or by including
another file).


Günter

-- 
G.Milde web.de


Re: Beamer Questions

2005-06-08 Thread G. Milde
On  7.06.05, Rich Shepard wrote:
   Toward the beginning of my presentation I made a frame with three items 
   and
 pauses between them. The LyX view shows a red bracket along the left margin

This looks like nesting (see the user guide about nesting).

 and the code reads:
 
 \layout Itemize
 How decisions are made.
 \begin_deeper 
 \layout Pause
 \end_deeper 
 \layout Itemize
   ...

This doesnot look like nesting, but maybe there is some nonstandard
conversion for beamer...

GM

-- 
G.Milde web.de


Rotated Table and text on same page

2005-06-08 Thread Andreas Novak
dear list,
 
I have a problem in my thesis with a rotated table. The table fits on one
page, there is still enough space over and under the table for some text. 
If I put a new section in my document, this text is shown on the same page.
If I put one sentence below the section, latex creates a page break between
the sentence and the rotated table. 
I've also tried to shrink the table to a minimum, but still the text does
not show on the same page.
 
Any ideas?
 
Thanks in advance 
 
Regards 
Andreas


Re: find/replace saving permanent

2005-06-08 Thread G. Milde
On 30.05.05, Paul Smith wrote:
 On 5/30/05, Kevin Pfeiffer [EMAIL PROTECTED] wrote:
  Wolfgang Engelmann writes:
   In translating a book from German to English it would be nice to safe
   the German/English entries of the find/exchange box. For a session they
   are safed and recoverable by selecting them after clicking on the
   down-arrow in the box. However, after finishing the session they are
   gone. Is there a workaround?
   Wolfgang
  
  Perhaps you should do your find/replace work in a better text editor, such
  as vim. Or in your CAT (computer-aided translation) program?

Or use the Python LyX package (http://wiki.lyx.org/Tools/PyClient) to
program a python function that does the replacement (via the lyxserver)
and keeps a record.

Maybe, the package could even be used to glue the OmegaT CAT program with
LyX.

Günter

-- 
G.Milde web.de


Re: lfun to set paragraph style?

2005-06-08 Thread G. Milde
On  7.06.05, Jean-Marc Lasgouttes wrote:
  G == G Milde [EMAIL PROTECTED] writes:
 
 G Dear fellow lyxers, Is there a lyx function to set the style of a
 G paragraph? (I am looking for a way to do this via the lyxserver.)
 
 If you mean the layout (Standard, Section, ...), then there is the
 layout lfun that takes an argument.

Thanks, that is what I was looking for. (Maybe it was too obvious ;-) but as
the *.layout files call them Style I was lost with

   [EMAIL PROTECTED]:~  lyx-bindings -k style 
   bibtex-style
   font-code  Toggle code style
   font-default   Default font style
   font-frak  Toggle fraktur font style
   font-free  Toggle user defined style
   font-ital  Toggle italic font style
   font-noun  Toggle noun style
   font-roman Toggle roman font style
   font-sans  Toggle sans font style

Now I see it is all around in the *.bind files

   [EMAIL PROTECTED]:~  lyx-bindings -w layout |more
   ...
   M-a 0   layout Part
   M-a 1   layout Chapter
   M-a 2   layout Section
   M-a 3   layout Subsection
   ...
   
so I even have examples of use.

Thanks to your help, the pyLyX package will soon be able to display
keybindings in a nice list.

Günter

   

-- 
G.Milde web.de


Re: lfun to set paragraph style?

2005-06-08 Thread Jean-Marc Lasgouttes
 G == G Milde [EMAIL PROTECTED] writes:

  If you mean the layout (Standard, Section, ...), then there is the
 layout lfun that takes an argument.

G Thanks, that is what I was looking for. (Maybe it was too obvious
G ;-) but as the *.layout files call them Style I was lost with

Yes, we have some schizophrenia going on here.

JMarc


Re: lfun to set paragraph style?

2005-06-08 Thread G. Milde
On  8.06.05, Jean-Marc Lasgouttes wrote:
  G == G Milde [EMAIL PROTECTED] writes:
 
   If you mean the layout (Standard, Section, ...), then there is the
  layout lfun that takes an argument.
 
 G Thanks, that is what I was looking for. (Maybe it was too obvious
 G ;-) but as the *.layout files call them Style I was lost with
 
 Yes, we have some schizophrenia going on here.

As an excuse, one could say that Standard, Section, ... are all layout
styles for paragraphs.

Quick fix: have a docstring for lfun layout that tells
set the paragraph style

 BTW: all the lfuns should have some usage doc (telling the expected
  arguments).


Günter

-- 
G.Milde web.de


Re: lfun to set paragraph style?

2005-06-08 Thread Jean-Marc Lasgouttes
 G == G Milde [EMAIL PROTECTED] writes:

G As an excuse, one could say that Standard, Section, ... are all
G layout styles for paragraphs.

Internally, they are called layouts. I think the Style terminology is
basically limited to layout files.

G Quick fix: have a docstring for lfun layout that tells set the
G paragraph style

G  BTW: all the lfuns should have some usage doc (telling the
G expected arguments).

docstrings are gone in 1.4.0cvs. They were actually tooltips for the
toolbar. They should indeed be replaced by something more useful.

JMarc


Re: Problem installing classes

2005-06-08 Thread Leonardo
That was it, thanks.

Leo

--- G. Milde . wrote:
  ---
  #% Do not delete the line below; configure depends on this
  #  \DeclareLaTeXClass[jpconf]{JPConf}
  
  # Read the definitions from article.layout
  \Input article.layout
  
 
  In fact I have some errors:
  LyX: Unknown TextClass tag `\Input' [around line 4 of file
  ~/.lyx/layouts/jpconf.layout]
 
 This is quite clear (at least to me). Try
 
 -\Input article.layout
 +Input article.layout
 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Arrows in math mode

2005-06-08 Thread Geoffrey Lloyd
Hi

I am trying to reproduce the following and wondered whether it was possible in 
Lyx mathmode

some text here
x--y

Where the arrow has a solid line and the text is written over the arrow rather 
than on a separate line although this wouldn't matter as long as the arrow was 
long enough for the text to be over it.

Anyone got any ideas?

Geoff



win2k: spaces in path

2005-06-08 Thread Micha Feigin
Whats with the limitation on spaces in the path under lyx 1.3.5 for windows?

Lyx opens and exports files just fine, and same goes for miktex.
That is I can do file-export-latex and then latex file.tex works just fine
but file-export-dvi or view-dvi fails with an error that no spaces are
allowed in the path.
 
 +++
 This Mail Was Scanned By Mail-seCure System
 at the Tel-Aviv University CC.


Re: win2k: spaces in path

2005-06-08 Thread Angus Leeming
Micha Feigin wrote:

 Whats with the limitation on spaces in the path under lyx 1.3.5 for
 windows?
 
 Lyx opens and exports files just fine, and same goes for miktex.
 That is I can do file-export-latex and then latex file.tex works just
 fine but file-export-dvi or view-dvi fails with an error that no
 spaces are allowed in the path.

Things will go pear-shaped when your DVI file includes a reference to such
a file. Eg, through a \insetgraphics call. See the clean_dvi.py script at 
http://wiki.lyx.org/LaTeX/FilesWithSpecialChars

Further more, many of the scripts that ship with LyX 1.3.5 are just plain
broken when it comes to files with spaces.

However, see the LyX 1.3.6 prerelease available at
http://wiki.lyx.org/Windows/LyX136pre ...

-- 
Angus



Testers wanted --- LyX 1.3.6 prerelease (Windows)

2005-06-08 Thread Angus Leeming
I've made a LyX 1.3.6 prerelease for Windows available at
http://wiki.lyx.org/Windows/LyX136pre .

I'm looking for a few more willing volunteers to try it out and send me bug
reports (to the lyx-devel mailing list please.)

I'm also looking for people to translate the Installer's interface into
language of your choice. I've already got a French translation and I may
have a German one soon. Other languages, however, would be great too.
There are only 50 strings to translate...

As ever with pre-release software --- Caveat Emptor. Please back up your
documents before trying them out with this.

-- 
Angus



Re: Testers wanted --- LyX 1.3.6 prerelease (Windows)

2005-06-08 Thread Angus Leeming
On Wednesday 08 June 2005 18:02, you wrote:
 On Wed, 8 Jun 2005, Angus Leeming wrote:
  I've made a LyX 1.3.6 prerelease for Windows available at
  http://wiki.lyx.org/Windows/LyX136pre .

 Angus,

 Don't you need to re-install the OS before upgrading an
 application? :-)

;-)

 If there's a linux beta I could test that for you folks.

There are too many different flavours of linux to make that a 
practical proposition. Anyway, LyX on *nix should be little more than 
a pure bug fix release so I'm less worried about that. Moreover, we 
all use linux (don't we?), so it's been tested much more thoroughly 
than its Windows cousin.

 Rich

Thanks though,
Angus



Re: Testers wanted --- LyX 1.3.6 prerelease (Windows)

2005-06-08 Thread Angus Leeming
On Wednesday 08 June 2005 18:27, you wrote:
 On Wednesday 08 June 2005 18:59, Angus Leeming wrote:
  I'm looking for a few more willing volunteers to try it out and
  send me bug reports (to the lyx-devel mailing list please.)

 I will try to find time in the weekend. I expect to do the test on
 a fresh Windows install under VMWare. Do you need test in WinXP, or
 could WinME do it?

Thank you.

I think its fair to say that LyX/Win 1.3.6 has been tested only in 
WinXP. I read that the installer 
( http://nsis.sourceforge.net/features/ ) is compatible with all 
major Windows versions (includes ME), so you should have no problems 
installing the thing. Running it? I have no idea. I'm 
ohhh-soo-ignorant of all things Windows.

  I'm also looking for people to translate the Installer's
  interface into language of your choice. I've already got a
  French translation and I may have a German one soon. Other
  languages, however, would be great too. There are only 50 strings
  to translate...

 Need a Danish translation,

Sure! Only the 55 strings in english.nsh ( http://tinyurl.com/8ukxa ) 
need translating. The bulk of the Danish translation comes 
pre-packaged with the installer.

 or will it be done by the person already i18n'izing LyX?

I think that Windows users should take responsibility for a Windows 
thingie, no?

Angus


Re: Testers wanted --- LyX 1.3.6 prerelease (Windows)

2005-06-08 Thread Uwe Stöhr

Angus Leeming wrote:

I think its fair to say that LyX/Win 1.3.6 has been tested only in 
WinXP.


I tested it the last two days on Win2000 and it works stable.

regards Uwe


Rule Under Center Head

2005-06-08 Thread Bruce Pourciau
Using the fancyheadings package and the fancy pagestyle, I get a center 
head underlined by a rule which, by default, seems to be the text 
width. What if I would like that rule to be shorter and still centered? 
A TeX novice, I've tried commands in the preamble aimed at adjusting 
the length of the rule, but I get the error Missing \begin{document} 
Any suggestions?


Bruce



More Beamer Hangups

2005-06-08 Thread Rich Shepard

  I suppose that it's just me, but I'm having a terrible time with the Beamer
class in LyX-1.3.5. In addition to the -deeper issue, I cannot indent
itemized items under another itemized item and the \block command does not
produce the expected output (the first letter after the name, block, is the
title and everything else is listed below that.)

  Have others successfully used these features within the LyX environment?
I'm not sufficiently productive trying to write this presentation.

Thanks,

Rich

--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Center Head in Italic

2005-06-08 Thread Bruce Pourciau
Oh, and I forgot, using fancyheaders how can I make the header appear 
in italic?


Bruce



Re: More Beamer Hangups

2005-06-08 Thread Bennett Helm

On Jun 8, 2005, at 3:04 PM, Rich Shepard wrote:

  I suppose that it's just me, but I'm having a terrible time with the 
Beamer

class in LyX-1.3.5. In addition to the -deeper issue, I cannot indent
itemized items under another itemized item and the \block command does 
not
produce the expected output (the first letter after the name, block, 
is the

title and everything else is listed below that.)

  Have others successfully used these features within the LyX 
environment?

I'm not sufficiently productive trying to write this presentation.


Rich -

I've used the sample beamerpresentation.lyx file that comes with beamer 
as a model, and I believe it will answer most of your questions. (If 
you don't have it for some reason, I can send it to you privately.)


For example, from that file it's clear that \block requires using ERT 
to put the block title in curly braces: {Title}.


Itemized items can be nested using standard LyX command 
(Increase/Decrease Environment Depth). Your trouble may be that you 
have a pause in between; the pause paragraph must be indented in 
order for subsequent items to be indented as well. (Again, that this is 
the case becomes evident from studying the beamerpresentation.lyx file 
-- but it does take some detective work.)


I hope that helps.

Bennett



Re: Testers wanted --- LyX 1.3.6 prerelease (Windows)

2005-06-08 Thread Janus Sandsgaard
On Wednesday 08 June 2005 19:43, Angus Leeming wrote:

 Sure! Only the 55 strings in english.nsh ( http://tinyurl.com/8ukxa )
 need translating. 

Here it is. Two things: 1) The translation is OK, but not perfect, since I 
haven't seen the sentences in context yet, but if these strings goes into 
next pre-release I can check it out and adjust. 2) I left the !ifndef 
field etc untouched.

 I think that Windows users should take responsibility for a Windows
 thingie, no?

Making installation of LyX on Windows easier is a really good thingtm. I'd 
be happy to help if I can.

Janus

-- 
Roskilde University, Denmark.
Department of Technology and Social Science.
International Development Studies.
ESST - Society, Science and Technology in Europe.
!ifndef _LYX_LANGUAGES_ENGLISH_NSH_
!define _LYX_LANGUAGES_ENGLISH_NSH_

!ifdef LYX_LANG
  !undef LYX_LANG
!endif
!define LYX_LANG ${LANG_ENGLISH}

LicenseLangString LyXLicenseData ${LYX_LANG} ${PRODUCT_LICENSE_FILE}

LangString SecAllUsersTitle ${LYX_LANG} Installer til alle brugere?
LangString SecFileAssocTitle ${LYX_LANG} Fil-associationer
LangString SecDesktopTitle ${LYX_LANG} Skrivebordsikon

LangString SecCoreDescription ${LYX_LANG} Filerne til ${PRODUCT_NAME}.
LangString SecAllUsersDescription ${LYX_LANG} Installer til alle brugere, 
eller kun den aktuelle bruger. (kræver administrator-rettigheder.)
LangString SecFileAssocDescription ${LYX_LANG} Opret association mellem LyX 
og .lyx filer.
LangString SecDesktopDescription ${LYX_LANG} Et ${PRODUCT_NAME} ikon på 
skrivebordet

LangString ModifyingConfigureFailed ${LYX_LANG} Forsøget på at indstille 
'path_prefix' i konfigurationen mislykkedes
LangString RunConfigureFailed ${LYX_LANG} Mislykket forsøg på at afvikle 
konfigurations-scriptet

LangString FinishPageMessage ${LYX_LANG} Tillykke!! LyX er installeret.
LangString FinishPageRun ${LYX_LANG} Start LyX

LangString DownloadPageField2 ${LYX_LANG} Installer ikke

LangString MinSYSHeader ${LYX_LANG} MinSYS
LangString MinSYSDescription ${LYX_LANG} MinSYS (www.mingw.org/msys.shtml) 
er et værktøj som ${PRODUCT_NAME} skal buge til at afvikle en række scripts.
LangString EnterMinSYSFolder ${LYX_LANG} Angiv stien til den mappe, som 
indeholder sh.exe
LangString InvalidMinSYSFolder ${LYX_LANG} Kunne ikke finde sh.exe
LangString MinSYSDownloadLabel ${LYX_LANG} Hent MinSYS
LangString MinSYSFolderLabel ${LYX_LANG} Mappen som indeholder sh.exe

LangString PythonHeader ${LYX_LANG} Python
LangString PythonDescription ${LYX_LANG} Python er et script-sprog 
(www.python.org) som skal være installeret. Ellers er der et antal scripts som 
${PRODUCT_NAME} ikke kan afvikle.
LangString EnterPythonFolder ${LYX_LANG} Angiv stien til den mappe som 
indeholder Python.exe
LangString InvalidPythonFolder ${LYX_LANG} Kunne ikke finde Python.exe
LangString PythonDownloadLabel ${LYX_LANG} hent Python
LangString PythonFolderLabel ${LYX_LANG} Mappen som indeholder Python.exe

LangString MiKTeXHeader ${LYX_LANG} MiKTeX
LangString MiKTeXDescription ${LYX_LANG} MiKTeX (www.miktex.org) er en 
ajourført TeX implementering til Windows.
LangString EnterMiKTeXFolder ${LYX_LANG} Angiv stien til mappen som 
indeholder latex.exe
LangString InvalidMiKTeXFolder ${LYX_LANG} Kunne ikke finde latex.exe
LangString MiKTeXDownloadLabel ${LYX_LANG} Hent MiKTeX
LangString MiKTeXFolderLabel ${LYX_LANG} Mappen som indeholder latex.exe

LangString PerlHeader ${LYX_LANG} Perl
LangString PerlDescription ${LYX_LANG} Hvis du forventer at skulle bruge 
reLyX til at konvertere LaTeX- til LyX-dokumenter, skal du installere Perl 
(www.perl.com).
LangString EnterPerlFolder ${LYX_LANG} Angiv stien til mappen som indeholder 
Perl.exe
LangString InvalidPerlFolder ${LYX_LANG} Kunne ikke finde Perl.exe
LangString PerlDownloadLabel ${LYX_LANG} Hent Perl
LangString PerlFolderLabel ${LYX_LANG} Mappen som indeholder perl.exe

LangString ImageMagickHeader ${LYX_LANG} ImageMagick
LangString ImageMagickDescription ${LYX_LANG} ImageMagick 
(www.imagemagick.org/script/index.php) bruges til at konvertere grafik-filer 
til forskellige slutformater.
LangString EnterImageMagickFolder ${LYX_LANG} Angiv stien til mappen som 
indeholder convert.exe
LangString InvalidImageMagickFolder ${LYX_LANG} Kunne ikke finde convert.exe
LangString ImageMagickDownloadLabel ${LYX_LANG} Hent ImageMagick
LangString ImageMagickFolderLabel ${LYX_LANG} Mappen som indeholder 
convert.exe

LangString GhostscriptHeader ${LYX_LANG} Ghostscript
LangString GhostscriptDescription ${LYX_LANG} Ghostscript 
(http://www.cs.wisc.edu/~ghost/) bruges til at konvertere billeder til og fra 
PostScript.
LangString EnterGhostscriptFolder ${LYX_LANG} Angiv stien til mappen som 
indeholder gswin32c.exe
LangString InvalidGhostscriptFolder ${LYX_LANG} Kunne ikke finde 
gswin32c.exe
LangString GhostscriptDownloadLabel ${LYX_LANG} Hent Ghostscript
LangString GhostscriptFolderLabel ${LYX_LANG} Mappen som indeholder 
gswin32c.exe

LangString SummaryTitle ${LYX_LANG} Software - sammendrag

Re: Testers wanted --- LyX 1.3.6 prerelease (Windows)

2005-06-08 Thread Angus Leeming

Janus Sandsgaard wrote:

Sure! Only the 55 strings in english.nsh ( http://tinyurl.com/8ukxa )
need translating. 


Here it is. Two things: 1) The translation is OK, but not perfect, since I 
haven't seen the sentences in context yet, but if these strings goes into 
next pre-release I can check it out and adjust. 2) I left the !ifndef 
field etc untouched.



I think that Windows users should take responsibility for a Windows
thingie, no?


Making installation of LyX on Windows easier is a really good thingtm. I'd 
be happy to help if I can.


Janus


You already have. Many thanks for that!

I've committed your translation to the repository
http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/development/Win32/packaging/installer/lyx_languages/Attic/danish.nsh?rev=1.1.2.1only_with_tag=BRANCH_1_3_Xcontent-type=text/vnd.viewcvs-markup
( Equivalent URL: http://tinyurl.com/9c9oe )

I made the !ifdef changes. Note also that I changed the encoding from UTF-8 
to ISO8859-1 because NSIS doesn't support UTF-8 ATM.


I also uploaded the updated package to 
http://wiki.lyx.org/Windows/LyX136pre (now version 7).


Regards,
Angus



Re: Center Head in Italic

2005-06-08 Thread Paul Medwell

Bruce Pourciau wrote:
Oh, and I forgot, using fancyheaders how can I make the header appear in 
italic?


in the preamble...

\chead{\textit{This is italics}}



Re: More Beamer Hangups

2005-06-08 Thread Rich Shepard

On Wed, 8 Jun 2005, Bennett Helm wrote:


I've used the sample beamerpresentation.lyx file that comes with beamer as
a model, and I believe it will answer most of your questions. (If you don't
have it for some reason, I can send it to you privately.)


Bennett,

  Good point. I did not look at the example, but am working from a template
and the manual.

For example, from that file it's clear that \block requires using ERT to put 
the block title in curly braces: {Title}.


  Aha! In retrospect that makes sense.


Itemized items can be nested using standard LyX command (Increase/Decrease
Environment Depth). Your trouble may be that you have a pause in between;
the pause paragraph must be indented in order for subsequent items to be
indented as well. (Again, that this is the case becomes evident from
studying the beamerpresentation.lyx file -- but it does take some detective
work.)


  Yes, I do have pauses.

  When I return from my business trip on Friday I'll dig into it some more. I
greatly appreciate the pointers.

Thanks,

Rich

--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: Testers wanted --- LyX 1.3.6 prerelease (Windows)

2005-06-08 Thread Paul Smith
Many thanks, Angus, for your efforts to port Lyx to MS Windows! I am
not anymore a MS Windows user, but I am sure it will benefit many
people.

Paul


Re: Problem installing classes

2005-06-08 Thread G. Milde
On  7.06.05, Leonardo wrote:
 Hi all,
 I'm trying to install a new latex class to be used with Lyx, but
 cannot manage to have it working.

 ---
 [EMAIL PROTECTED] leo]$  kpsewhich tex jpconf.cls
 /usr/share/texmf/tex/latex/iopams/jpconf.cls
 ---

OK
 
 Then I created a jpconf.layout file in $HOME/.lyx/layout,I
 reconfigured Lyx (Edit-Reconfigure) but I'm not so sure of the
 syntax:

My best tip is to look at other layout files to see how they do it...
 
 ---
 #% Do not delete the line below; configure depends on this
 #  \DeclareLaTeXClass[jpconf]{JPConf}
 
 # Read the definitions from article.layout
 \Input article.layout
 

 In fact I have some errors:
 LyX: Unknown TextClass tag `\Input' [around line 4 of file
 ~/.lyx/layouts/jpconf.layout]

This is quite clear (at least to me). Try

-\Input article.layout
+Input article.layout

 Error: Textclass 'jpconf' is missing a defaultstyle.

This is a follow up, as it did not read in article.layout

 If I don't add the article.layout reference the error is:
 Error: Textclass 'jpconf' is missing a defaultstyle.

Yes, you should define at least one style (explicitely or by including
another file).


Günter

-- 
G.Milde web.de


Re: Beamer Questions

2005-06-08 Thread G. Milde
On  7.06.05, Rich Shepard wrote:
   Toward the beginning of my presentation I made a frame with three items 
   and
 pauses between them. The LyX view shows a red bracket along the left margin

This looks like nesting (see the user guide about nesting).

 and the code reads:
 
 \layout Itemize
 How decisions are made.
 \begin_deeper 
 \layout Pause
 \end_deeper 
 \layout Itemize
   ...

This doesnot look like nesting, but maybe there is some nonstandard
conversion for beamer...

GM

-- 
G.Milde web.de


Rotated Table and text on same page

2005-06-08 Thread Andreas Novak
dear list,
 
I have a problem in my thesis with a rotated table. The table fits on one
page, there is still enough space over and under the table for some text. 
If I put a new section in my document, this text is shown on the same page.
If I put one sentence below the section, latex creates a page break between
the sentence and the rotated table. 
I've also tried to shrink the table to a minimum, but still the text does
not show on the same page.
 
Any ideas?
 
Thanks in advance 
 
Regards 
Andreas


Re: find/replace saving permanent

2005-06-08 Thread G. Milde
On 30.05.05, Paul Smith wrote:
 On 5/30/05, Kevin Pfeiffer [EMAIL PROTECTED] wrote:
  Wolfgang Engelmann writes:
   In translating a book from German to English it would be nice to safe
   the German/English entries of the find/exchange box. For a session they
   are safed and recoverable by selecting them after clicking on the
   down-arrow in the box. However, after finishing the session they are
   gone. Is there a workaround?
   Wolfgang
  
  Perhaps you should do your find/replace work in a better text editor, such
  as vim. Or in your CAT (computer-aided translation) program?

Or use the Python LyX package (http://wiki.lyx.org/Tools/PyClient) to
program a python function that does the replacement (via the lyxserver)
and keeps a record.

Maybe, the package could even be used to glue the OmegaT CAT program with
LyX.

Günter

-- 
G.Milde web.de


Re: lfun to set paragraph style?

2005-06-08 Thread G. Milde
On  7.06.05, Jean-Marc Lasgouttes wrote:
  G == G Milde [EMAIL PROTECTED] writes:
 
 G Dear fellow lyxers, Is there a lyx function to set the style of a
 G paragraph? (I am looking for a way to do this via the lyxserver.)
 
 If you mean the layout (Standard, Section, ...), then there is the
 layout lfun that takes an argument.

Thanks, that is what I was looking for. (Maybe it was too obvious ;-) but as
the *.layout files call them Style I was lost with

   [EMAIL PROTECTED]:~  lyx-bindings -k style 
   bibtex-style
   font-code  Toggle code style
   font-default   Default font style
   font-frak  Toggle fraktur font style
   font-free  Toggle user defined style
   font-ital  Toggle italic font style
   font-noun  Toggle noun style
   font-roman Toggle roman font style
   font-sans  Toggle sans font style

Now I see it is all around in the *.bind files

   [EMAIL PROTECTED]:~  lyx-bindings -w layout |more
   ...
   M-a 0   layout Part
   M-a 1   layout Chapter
   M-a 2   layout Section
   M-a 3   layout Subsection
   ...
   
so I even have examples of use.

Thanks to your help, the pyLyX package will soon be able to display
keybindings in a nice list.

Günter

   

-- 
G.Milde web.de


Re: lfun to set paragraph style?

2005-06-08 Thread Jean-Marc Lasgouttes
 G == G Milde [EMAIL PROTECTED] writes:

  If you mean the layout (Standard, Section, ...), then there is the
 layout lfun that takes an argument.

G Thanks, that is what I was looking for. (Maybe it was too obvious
G ;-) but as the *.layout files call them Style I was lost with

Yes, we have some schizophrenia going on here.

JMarc


Re: lfun to set paragraph style?

2005-06-08 Thread G. Milde
On  8.06.05, Jean-Marc Lasgouttes wrote:
  G == G Milde [EMAIL PROTECTED] writes:
 
   If you mean the layout (Standard, Section, ...), then there is the
  layout lfun that takes an argument.
 
 G Thanks, that is what I was looking for. (Maybe it was too obvious
 G ;-) but as the *.layout files call them Style I was lost with
 
 Yes, we have some schizophrenia going on here.

As an excuse, one could say that Standard, Section, ... are all layout
styles for paragraphs.

Quick fix: have a docstring for lfun layout that tells
set the paragraph style

 BTW: all the lfuns should have some usage doc (telling the expected
  arguments).


Günter

-- 
G.Milde web.de


Re: lfun to set paragraph style?

2005-06-08 Thread Jean-Marc Lasgouttes
 G == G Milde [EMAIL PROTECTED] writes:

G As an excuse, one could say that Standard, Section, ... are all
G layout styles for paragraphs.

Internally, they are called layouts. I think the Style terminology is
basically limited to layout files.

G Quick fix: have a docstring for lfun layout that tells set the
G paragraph style

G  BTW: all the lfuns should have some usage doc (telling the
G expected arguments).

docstrings are gone in 1.4.0cvs. They were actually tooltips for the
toolbar. They should indeed be replaced by something more useful.

JMarc


Re: Problem installing classes

2005-06-08 Thread Leonardo
That was it, thanks.

Leo

--- G. Milde . wrote:
  ---
  #% Do not delete the line below; configure depends on this
  #  \DeclareLaTeXClass[jpconf]{JPConf}
  
  # Read the definitions from article.layout
  \Input article.layout
  
 
  In fact I have some errors:
  LyX: Unknown TextClass tag `\Input' [around line 4 of file
  ~/.lyx/layouts/jpconf.layout]
 
 This is quite clear (at least to me). Try
 
 -\Input article.layout
 +Input article.layout
 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Arrows in math mode

2005-06-08 Thread Geoffrey Lloyd
Hi

I am trying to reproduce the following and wondered whether it was possible in 
Lyx mathmode

some text here
x--y

Where the arrow has a solid line and the text is written over the arrow rather 
than on a separate line although this wouldn't matter as long as the arrow was 
long enough for the text to be over it.

Anyone got any ideas?

Geoff



win2k: spaces in path

2005-06-08 Thread Micha Feigin
Whats with the limitation on spaces in the path under lyx 1.3.5 for windows?

Lyx opens and exports files just fine, and same goes for miktex.
That is I can do file-export-latex and then latex file.tex works just fine
but file-export-dvi or view-dvi fails with an error that no spaces are
allowed in the path.
 
 +++
 This Mail Was Scanned By Mail-seCure System
 at the Tel-Aviv University CC.


Re: win2k: spaces in path

2005-06-08 Thread Angus Leeming
Micha Feigin wrote:

 Whats with the limitation on spaces in the path under lyx 1.3.5 for
 windows?
 
 Lyx opens and exports files just fine, and same goes for miktex.
 That is I can do file-export-latex and then latex file.tex works just
 fine but file-export-dvi or view-dvi fails with an error that no
 spaces are allowed in the path.

Things will go pear-shaped when your DVI file includes a reference to such
a file. Eg, through a \insetgraphics call. See the clean_dvi.py script at 
http://wiki.lyx.org/LaTeX/FilesWithSpecialChars

Further more, many of the scripts that ship with LyX 1.3.5 are just plain
broken when it comes to files with spaces.

However, see the LyX 1.3.6 prerelease available at
http://wiki.lyx.org/Windows/LyX136pre ...

-- 
Angus



Testers wanted --- LyX 1.3.6 prerelease (Windows)

2005-06-08 Thread Angus Leeming
I've made a LyX 1.3.6 prerelease for Windows available at
http://wiki.lyx.org/Windows/LyX136pre .

I'm looking for a few more willing volunteers to try it out and send me bug
reports (to the lyx-devel mailing list please.)

I'm also looking for people to translate the Installer's interface into
language of your choice. I've already got a French translation and I may
have a German one soon. Other languages, however, would be great too.
There are only 50 strings to translate...

As ever with pre-release software --- Caveat Emptor. Please back up your
documents before trying them out with this.

-- 
Angus



Re: Testers wanted --- LyX 1.3.6 prerelease (Windows)

2005-06-08 Thread Angus Leeming
On Wednesday 08 June 2005 18:02, you wrote:
 On Wed, 8 Jun 2005, Angus Leeming wrote:
  I've made a LyX 1.3.6 prerelease for Windows available at
  http://wiki.lyx.org/Windows/LyX136pre .

 Angus,

 Don't you need to re-install the OS before upgrading an
 application? :-)

;-)

 If there's a linux beta I could test that for you folks.

There are too many different flavours of linux to make that a 
practical proposition. Anyway, LyX on *nix should be little more than 
a pure bug fix release so I'm less worried about that. Moreover, we 
all use linux (don't we?), so it's been tested much more thoroughly 
than its Windows cousin.

 Rich

Thanks though,
Angus



Re: Testers wanted --- LyX 1.3.6 prerelease (Windows)

2005-06-08 Thread Angus Leeming
On Wednesday 08 June 2005 18:27, you wrote:
 On Wednesday 08 June 2005 18:59, Angus Leeming wrote:
  I'm looking for a few more willing volunteers to try it out and
  send me bug reports (to the lyx-devel mailing list please.)

 I will try to find time in the weekend. I expect to do the test on
 a fresh Windows install under VMWare. Do you need test in WinXP, or
 could WinME do it?

Thank you.

I think its fair to say that LyX/Win 1.3.6 has been tested only in 
WinXP. I read that the installer 
( http://nsis.sourceforge.net/features/ ) is compatible with all 
major Windows versions (includes ME), so you should have no problems 
installing the thing. Running it? I have no idea. I'm 
ohhh-soo-ignorant of all things Windows.

  I'm also looking for people to translate the Installer's
  interface into language of your choice. I've already got a
  French translation and I may have a German one soon. Other
  languages, however, would be great too. There are only 50 strings
  to translate...

 Need a Danish translation,

Sure! Only the 55 strings in english.nsh ( http://tinyurl.com/8ukxa ) 
need translating. The bulk of the Danish translation comes 
pre-packaged with the installer.

 or will it be done by the person already i18n'izing LyX?

I think that Windows users should take responsibility for a Windows 
thingie, no?

Angus


Re: Testers wanted --- LyX 1.3.6 prerelease (Windows)

2005-06-08 Thread Uwe Stöhr

Angus Leeming wrote:

I think its fair to say that LyX/Win 1.3.6 has been tested only in 
WinXP.


I tested it the last two days on Win2000 and it works stable.

regards Uwe


Rule Under Center Head

2005-06-08 Thread Bruce Pourciau
Using the fancyheadings package and the fancy pagestyle, I get a center 
head underlined by a rule which, by default, seems to be the text 
width. What if I would like that rule to be shorter and still centered? 
A TeX novice, I've tried commands in the preamble aimed at adjusting 
the length of the rule, but I get the error Missing \begin{document} 
Any suggestions?


Bruce



More Beamer Hangups

2005-06-08 Thread Rich Shepard

  I suppose that it's just me, but I'm having a terrible time with the Beamer
class in LyX-1.3.5. In addition to the -deeper issue, I cannot indent
itemized items under another itemized item and the \block command does not
produce the expected output (the first letter after the name, block, is the
title and everything else is listed below that.)

  Have others successfully used these features within the LyX environment?
I'm not sufficiently productive trying to write this presentation.

Thanks,

Rich

--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Center Head in Italic

2005-06-08 Thread Bruce Pourciau
Oh, and I forgot, using fancyheaders how can I make the header appear 
in italic?


Bruce



Re: More Beamer Hangups

2005-06-08 Thread Bennett Helm

On Jun 8, 2005, at 3:04 PM, Rich Shepard wrote:

  I suppose that it's just me, but I'm having a terrible time with the 
Beamer

class in LyX-1.3.5. In addition to the -deeper issue, I cannot indent
itemized items under another itemized item and the \block command does 
not
produce the expected output (the first letter after the name, block, 
is the

title and everything else is listed below that.)

  Have others successfully used these features within the LyX 
environment?

I'm not sufficiently productive trying to write this presentation.


Rich -

I've used the sample beamerpresentation.lyx file that comes with beamer 
as a model, and I believe it will answer most of your questions. (If 
you don't have it for some reason, I can send it to you privately.)


For example, from that file it's clear that \block requires using ERT 
to put the block title in curly braces: {Title}.


Itemized items can be nested using standard LyX command 
(Increase/Decrease Environment Depth). Your trouble may be that you 
have a pause in between; the pause paragraph must be indented in 
order for subsequent items to be indented as well. (Again, that this is 
the case becomes evident from studying the beamerpresentation.lyx file 
-- but it does take some detective work.)


I hope that helps.

Bennett



Re: Testers wanted --- LyX 1.3.6 prerelease (Windows)

2005-06-08 Thread Janus Sandsgaard
On Wednesday 08 June 2005 19:43, Angus Leeming wrote:

 Sure! Only the 55 strings in english.nsh ( http://tinyurl.com/8ukxa )
 need translating. 

Here it is. Two things: 1) The translation is OK, but not perfect, since I 
haven't seen the sentences in context yet, but if these strings goes into 
next pre-release I can check it out and adjust. 2) I left the !ifndef 
field etc untouched.

 I think that Windows users should take responsibility for a Windows
 thingie, no?

Making installation of LyX on Windows easier is a really good thingtm. I'd 
be happy to help if I can.

Janus

-- 
Roskilde University, Denmark.
Department of Technology and Social Science.
International Development Studies.
ESST - Society, Science and Technology in Europe.
!ifndef _LYX_LANGUAGES_ENGLISH_NSH_
!define _LYX_LANGUAGES_ENGLISH_NSH_

!ifdef LYX_LANG
  !undef LYX_LANG
!endif
!define LYX_LANG ${LANG_ENGLISH}

LicenseLangString LyXLicenseData ${LYX_LANG} ${PRODUCT_LICENSE_FILE}

LangString SecAllUsersTitle ${LYX_LANG} Installer til alle brugere?
LangString SecFileAssocTitle ${LYX_LANG} Fil-associationer
LangString SecDesktopTitle ${LYX_LANG} Skrivebordsikon

LangString SecCoreDescription ${LYX_LANG} Filerne til ${PRODUCT_NAME}.
LangString SecAllUsersDescription ${LYX_LANG} Installer til alle brugere, 
eller kun den aktuelle bruger. (kræver administrator-rettigheder.)
LangString SecFileAssocDescription ${LYX_LANG} Opret association mellem LyX 
og .lyx filer.
LangString SecDesktopDescription ${LYX_LANG} Et ${PRODUCT_NAME} ikon på 
skrivebordet

LangString ModifyingConfigureFailed ${LYX_LANG} Forsøget på at indstille 
'path_prefix' i konfigurationen mislykkedes
LangString RunConfigureFailed ${LYX_LANG} Mislykket forsøg på at afvikle 
konfigurations-scriptet

LangString FinishPageMessage ${LYX_LANG} Tillykke!! LyX er installeret.
LangString FinishPageRun ${LYX_LANG} Start LyX

LangString DownloadPageField2 ${LYX_LANG} Installer ikke

LangString MinSYSHeader ${LYX_LANG} MinSYS
LangString MinSYSDescription ${LYX_LANG} MinSYS (www.mingw.org/msys.shtml) 
er et værktøj som ${PRODUCT_NAME} skal buge til at afvikle en række scripts.
LangString EnterMinSYSFolder ${LYX_LANG} Angiv stien til den mappe, som 
indeholder sh.exe
LangString InvalidMinSYSFolder ${LYX_LANG} Kunne ikke finde sh.exe
LangString MinSYSDownloadLabel ${LYX_LANG} Hent MinSYS
LangString MinSYSFolderLabel ${LYX_LANG} Mappen som indeholder sh.exe

LangString PythonHeader ${LYX_LANG} Python
LangString PythonDescription ${LYX_LANG} Python er et script-sprog 
(www.python.org) som skal være installeret. Ellers er der et antal scripts som 
${PRODUCT_NAME} ikke kan afvikle.
LangString EnterPythonFolder ${LYX_LANG} Angiv stien til den mappe som 
indeholder Python.exe
LangString InvalidPythonFolder ${LYX_LANG} Kunne ikke finde Python.exe
LangString PythonDownloadLabel ${LYX_LANG} hent Python
LangString PythonFolderLabel ${LYX_LANG} Mappen som indeholder Python.exe

LangString MiKTeXHeader ${LYX_LANG} MiKTeX
LangString MiKTeXDescription ${LYX_LANG} MiKTeX (www.miktex.org) er en 
ajourført TeX implementering til Windows.
LangString EnterMiKTeXFolder ${LYX_LANG} Angiv stien til mappen som 
indeholder latex.exe
LangString InvalidMiKTeXFolder ${LYX_LANG} Kunne ikke finde latex.exe
LangString MiKTeXDownloadLabel ${LYX_LANG} Hent MiKTeX
LangString MiKTeXFolderLabel ${LYX_LANG} Mappen som indeholder latex.exe

LangString PerlHeader ${LYX_LANG} Perl
LangString PerlDescription ${LYX_LANG} Hvis du forventer at skulle bruge 
reLyX til at konvertere LaTeX- til LyX-dokumenter, skal du installere Perl 
(www.perl.com).
LangString EnterPerlFolder ${LYX_LANG} Angiv stien til mappen som indeholder 
Perl.exe
LangString InvalidPerlFolder ${LYX_LANG} Kunne ikke finde Perl.exe
LangString PerlDownloadLabel ${LYX_LANG} Hent Perl
LangString PerlFolderLabel ${LYX_LANG} Mappen som indeholder perl.exe

LangString ImageMagickHeader ${LYX_LANG} ImageMagick
LangString ImageMagickDescription ${LYX_LANG} ImageMagick 
(www.imagemagick.org/script/index.php) bruges til at konvertere grafik-filer 
til forskellige slutformater.
LangString EnterImageMagickFolder ${LYX_LANG} Angiv stien til mappen som 
indeholder convert.exe
LangString InvalidImageMagickFolder ${LYX_LANG} Kunne ikke finde convert.exe
LangString ImageMagickDownloadLabel ${LYX_LANG} Hent ImageMagick
LangString ImageMagickFolderLabel ${LYX_LANG} Mappen som indeholder 
convert.exe

LangString GhostscriptHeader ${LYX_LANG} Ghostscript
LangString GhostscriptDescription ${LYX_LANG} Ghostscript 
(http://www.cs.wisc.edu/~ghost/) bruges til at konvertere billeder til og fra 
PostScript.
LangString EnterGhostscriptFolder ${LYX_LANG} Angiv stien til mappen som 
indeholder gswin32c.exe
LangString InvalidGhostscriptFolder ${LYX_LANG} Kunne ikke finde 
gswin32c.exe
LangString GhostscriptDownloadLabel ${LYX_LANG} Hent Ghostscript
LangString GhostscriptFolderLabel ${LYX_LANG} Mappen som indeholder 
gswin32c.exe

LangString SummaryTitle ${LYX_LANG} Software - sammendrag

Re: Testers wanted --- LyX 1.3.6 prerelease (Windows)

2005-06-08 Thread Angus Leeming

Janus Sandsgaard wrote:

Sure! Only the 55 strings in english.nsh ( http://tinyurl.com/8ukxa )
need translating. 


Here it is. Two things: 1) The translation is OK, but not perfect, since I 
haven't seen the sentences in context yet, but if these strings goes into 
next pre-release I can check it out and adjust. 2) I left the !ifndef 
field etc untouched.



I think that Windows users should take responsibility for a Windows
thingie, no?


Making installation of LyX on Windows easier is a really good thingtm. I'd 
be happy to help if I can.


Janus


You already have. Many thanks for that!

I've committed your translation to the repository
http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/development/Win32/packaging/installer/lyx_languages/Attic/danish.nsh?rev=1.1.2.1only_with_tag=BRANCH_1_3_Xcontent-type=text/vnd.viewcvs-markup
( Equivalent URL: http://tinyurl.com/9c9oe )

I made the !ifdef changes. Note also that I changed the encoding from UTF-8 
to ISO8859-1 because NSIS doesn't support UTF-8 ATM.


I also uploaded the updated package to 
http://wiki.lyx.org/Windows/LyX136pre (now version 7).


Regards,
Angus



Re: Center Head in Italic

2005-06-08 Thread Paul Medwell

Bruce Pourciau wrote:
Oh, and I forgot, using fancyheaders how can I make the header appear in 
italic?


in the preamble...

\chead{\textit{This is italics}}



Re: More Beamer Hangups

2005-06-08 Thread Rich Shepard

On Wed, 8 Jun 2005, Bennett Helm wrote:


I've used the sample beamerpresentation.lyx file that comes with beamer as
a model, and I believe it will answer most of your questions. (If you don't
have it for some reason, I can send it to you privately.)


Bennett,

  Good point. I did not look at the example, but am working from a template
and the manual.

For example, from that file it's clear that \block requires using ERT to put 
the block title in curly braces: {Title}.


  Aha! In retrospect that makes sense.


Itemized items can be nested using standard LyX command (Increase/Decrease
Environment Depth). Your trouble may be that you have a pause in between;
the pause paragraph must be indented in order for subsequent items to be
indented as well. (Again, that this is the case becomes evident from
studying the beamerpresentation.lyx file -- but it does take some detective
work.)


  Yes, I do have pauses.

  When I return from my business trip on Friday I'll dig into it some more. I
greatly appreciate the pointers.

Thanks,

Rich

--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: Testers wanted --- LyX 1.3.6 prerelease (Windows)

2005-06-08 Thread Paul Smith
Many thanks, Angus, for your efforts to port Lyx to MS Windows! I am
not anymore a MS Windows user, but I am sure it will benefit many
people.

Paul


Re: Problem installing classes

2005-06-08 Thread G. Milde
On  7.06.05, Leonardo wrote:
> Hi all,
> I'm trying to install a new latex class to be used with Lyx, but
> cannot manage to have it working.

> ---
> [EMAIL PROTECTED] leo]$  kpsewhich tex jpconf.cls
> /usr/share/texmf/tex/latex/iopams/jpconf.cls
> ---

OK
 
> Then I created a jpconf.layout file in $HOME/.lyx/layout,I
> reconfigured Lyx (Edit->Reconfigure) but I'm not so sure of the
> syntax:

My best tip is to look at other layout files to see how they do it...
 
> ---
> #% Do not delete the line below; configure depends on this
> #  \DeclareLaTeXClass[jpconf]{JPConf}
> 
> # Read the definitions from article.layout
> \Input article.layout
> 

> In fact I have some errors:
> LyX: Unknown TextClass tag `\Input' [around line 4 of file
> ~/.lyx/layouts/jpconf.layout]

This is quite clear (at least to me). Try

-\Input article.layout
+Input article.layout

> Error: Textclass 'jpconf' is missing a defaultstyle.

This is a follow up, as it did not read in article.layout

> If I don't add the article.layout reference the error is:
> Error: Textclass 'jpconf' is missing a defaultstyle.

Yes, you should define at least one style (explicitely or by including
another file).


Günter

-- 
G.Milde web.de


Re: Beamer Questions

2005-06-08 Thread G. Milde
On  7.06.05, Rich Shepard wrote:
>   Toward the beginning of my presentation I made a frame with three items 
>   and
> pauses between them. The LyX view shows a red bracket along the left margin

This looks like nesting (see the user guide about nesting).

> and the code reads:
> 
> \layout Itemize
> How decisions are made.
> \begin_deeper 
> \layout Pause
> \end_deeper 
> \layout Itemize
>   ...

This doesnot look like nesting, but maybe there is some nonstandard
conversion for beamer...

GM

-- 
G.Milde web.de


Rotated Table and text on same page

2005-06-08 Thread Andreas Novak
dear list,
 
I have a problem in my thesis with a rotated table. The table fits on one
page, there is still enough space over and under the table for some text. 
If I put a new section in my document, this text is shown on the same page.
If I put one sentence below the section, latex creates a page break between
the sentence and the rotated table. 
I've also tried to shrink the table to a minimum, but still the text does
not show on the same page.
 
Any ideas?
 
Thanks in advance 
 
Regards 
Andreas


Re: find/replace saving permanent

2005-06-08 Thread G. Milde
On 30.05.05, Paul Smith wrote:
> On 5/30/05, Kevin Pfeiffer <[EMAIL PROTECTED]> wrote:
> > Wolfgang Engelmann writes:
> > > In translating a book from German to English it would be nice to safe
> > > the German/English entries of the find/exchange box. For a session they
> > > are safed and recoverable by selecting them after clicking on the
> > > down-arrow in the box. However, after finishing the session they are
> > > gone. Is there a workaround?
> > > Wolfgang
> > 
> > Perhaps you should do your find/replace work in a better text editor, such
> > as vim. Or in your CAT (computer-aided translation) program?

Or use the Python LyX package (http://wiki.lyx.org/Tools/PyClient) to
program a python function that does the replacement (via the lyxserver)
and keeps a record.

Maybe, the package could even be used to glue the "OmegaT" CAT program with
LyX.

Günter

-- 
G.Milde web.de


Re: lfun to set paragraph style?

2005-06-08 Thread G. Milde
On  7.06.05, Jean-Marc Lasgouttes wrote:
> > "G" == G Milde <[EMAIL PROTECTED]> writes:
> 
> G> Dear fellow lyxers, Is there a lyx function to set the style of a
> G> paragraph? (I am looking for a way to do this via the lyxserver.)
> 
> If you mean the layout (Standard, Section, ...), then there is the
> "layout" lfun that takes an argument.

Thanks, that is what I was looking for. (Maybe it was too obvious ;-) but as
the *.layout files call them Style I was lost with

   [EMAIL PROTECTED]:~ > lyx-bindings -k style 
   bibtex-style
   font-code  Toggle code style
   font-default   Default font style
   font-frak  Toggle fraktur font style
   font-free  Toggle user defined style
   font-ital  Toggle italic font style
   font-noun  Toggle noun style
   font-roman Toggle roman font style
   font-sans  Toggle sans font style

Now I see it is all around in the *.bind files

   [EMAIL PROTECTED]:~ > lyx-bindings -w layout |more
   ...
   M-a 0   "layout Part"
   M-a 1   "layout Chapter"
   M-a 2   "layout Section"
   M-a 3   "layout Subsection"
   ...
   
so I even have examples of use.

Thanks to your help, the pyLyX package will soon be able to display
keybindings in a nice list.

Günter

   

-- 
G.Milde web.de


Re: lfun to set paragraph style?

2005-06-08 Thread Jean-Marc Lasgouttes
> "G" == G Milde <[EMAIL PROTECTED]> writes:

>>  If you mean the layout (Standard, Section, ...), then there is the
>> "layout" lfun that takes an argument.

G> Thanks, that is what I was looking for. (Maybe it was too obvious
G> ;-) but as the *.layout files call them Style I was lost with

Yes, we have some schizophrenia going on here.

JMarc


Re: lfun to set paragraph style?

2005-06-08 Thread G. Milde
On  8.06.05, Jean-Marc Lasgouttes wrote:
> > "G" == G Milde <[EMAIL PROTECTED]> writes:
> 
> >>  If you mean the layout (Standard, Section, ...), then there is the
> >> "layout" lfun that takes an argument.
> 
> G> Thanks, that is what I was looking for. (Maybe it was too obvious
> G> ;-) but as the *.layout files call them Style I was lost with
> 
> Yes, we have some schizophrenia going on here.

As an excuse, one could say that Standard, Section, ... are all "layout
styles" for paragraphs.

Quick fix: have a docstring for lfun "layout" that tells
"set the paragraph style"

 BTW: all the lfuns should have some usage doc (telling the expected
  arguments).


Günter

-- 
G.Milde web.de


Re: lfun to set paragraph style?

2005-06-08 Thread Jean-Marc Lasgouttes
> "G" == G Milde <[EMAIL PROTECTED]> writes:

G> As an excuse, one could say that Standard, Section, ... are all
G> "layout styles" for paragraphs.

Internally, they are called layouts. I think the Style terminology is
basically limited to layout files.

G> Quick fix: have a docstring for lfun "layout" that tells "set the
G> paragraph style"

G>  BTW: all the lfuns should have some usage doc (telling the
G> expected arguments).

docstrings are gone in 1.4.0cvs. They were actually tooltips for the
toolbar. They should indeed be replaced by something more useful.

JMarc


Re: Problem installing classes

2005-06-08 Thread Leonardo
That was it, thanks.

Leo

--- "G. Milde" <.> wrote:
> > ---
> > #% Do not delete the line below; configure depends on this
> > #  \DeclareLaTeXClass[jpconf]{JPConf}
> > 
> > # Read the definitions from article.layout
> > \Input article.layout
> > 
> 
> > In fact I have some errors:
> > LyX: Unknown TextClass tag `\Input' [around line 4 of file
> > ~/.lyx/layouts/jpconf.layout]
> 
> This is quite clear (at least to me). Try
> 
> -\Input article.layout
> +Input article.layout
> 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Arrows in math mode

2005-06-08 Thread Geoffrey Lloyd
Hi

I am trying to reproduce the following and wondered whether it was possible in 
Lyx mathmode

some text here
x-->y

Where the arrow has a solid line and the text is written over the arrow rather 
than on a separate line although this wouldn't matter as long as the arrow was 
long enough for the text to be over it.

Anyone got any ideas?

Geoff



win2k: spaces in path

2005-06-08 Thread Micha Feigin
Whats with the limitation on spaces in the path under lyx 1.3.5 for windows?

Lyx opens and exports files just fine, and same goes for miktex.
That is I can do file->export->latex and then latex file.tex works just fine
but file->export->dvi or view->dvi fails with an error that no spaces are
allowed in the path.
 
 +++
 This Mail Was Scanned By Mail-seCure System
 at the Tel-Aviv University CC.


Re: win2k: spaces in path

2005-06-08 Thread Angus Leeming
Micha Feigin wrote:

> Whats with the limitation on spaces in the path under lyx 1.3.5 for
> windows?
> 
> Lyx opens and exports files just fine, and same goes for miktex.
> That is I can do file->export->latex and then latex file.tex works just
> fine but file->export->dvi or view->dvi fails with an error that no
> spaces are allowed in the path.

Things will go pear-shaped when your DVI file includes a reference to such
a file. Eg, through a \insetgraphics call. See the clean_dvi.py script at 
http://wiki.lyx.org/LaTeX/FilesWithSpecialChars

Further more, many of the scripts that ship with LyX 1.3.5 are just plain
broken when it comes to "files with spaces".

However, see the LyX 1.3.6 prerelease available at
http://wiki.lyx.org/Windows/LyX136pre ...

-- 
Angus



Testers wanted --- LyX 1.3.6 prerelease (Windows)

2005-06-08 Thread Angus Leeming
I've made a LyX 1.3.6 prerelease for Windows available at
http://wiki.lyx.org/Windows/LyX136pre .

I'm looking for a few more willing volunteers to try it out and send me bug
reports (to the lyx-devel mailing list please.)

I'm also looking for people to translate the Installer's interface into
. I've already got a French translation and I may
have a German one soon. Other languages, however, would be great too.
There are only 50 strings to translate...

As ever with pre-release software --- Caveat Emptor. Please back up your
documents before trying them out with this.

-- 
Angus



Re: Testers wanted --- LyX 1.3.6 prerelease (Windows)

2005-06-08 Thread Angus Leeming
On Wednesday 08 June 2005 18:02, you wrote:
> On Wed, 8 Jun 2005, Angus Leeming wrote:
> > I've made a LyX 1.3.6 prerelease for Windows available at
> > http://wiki.lyx.org/Windows/LyX136pre .
>
> Angus,
>
> Don't you need to re-install the OS before upgrading an
> application? :-)

;-)

> If there's a linux beta I could test that for you folks.

There are too many different flavours of linux to make that a 
practical proposition. Anyway, LyX on *nix should be little more than 
a pure bug fix release so I'm less worried about that. Moreover, we 
all use linux (don't we?), so it's been tested much more thoroughly 
than its Windows cousin.

> Rich

Thanks though,
Angus



Re: Testers wanted --- LyX 1.3.6 prerelease (Windows)

2005-06-08 Thread Angus Leeming
On Wednesday 08 June 2005 18:27, you wrote:
> On Wednesday 08 June 2005 18:59, Angus Leeming wrote:
> > I'm looking for a few more willing volunteers to try it out and
> > send me bug reports (to the lyx-devel mailing list please.)
>
> I will try to find time in the weekend. I expect to do the test on
> a fresh Windows install under VMWare. Do you need test in WinXP, or
> could WinME do it?

Thank you.

I think its fair to say that LyX/Win 1.3.6 has been tested only in 
WinXP. I read that the installer 
( http://nsis.sourceforge.net/features/ ) is "compatible with all 
major Windows versions" (includes ME), so you should have no problems 
installing the thing. Running it? I have no idea. I'm 
ohhh-soo-ignorant of all things Windows.

> > I'm also looking for people to translate the Installer's
> > interface into . I've already got a
> > French translation and I may have a German one soon. Other
> > languages, however, would be great too. There are only 50 strings
> > to translate...
>
> Need a Danish translation,

Sure! Only the 55 strings in english.nsh ( http://tinyurl.com/8ukxa ) 
need translating. The bulk of the Danish translation comes 
pre-packaged with the installer.

> or will it be done by the person already i18n'izing LyX?

I think that Windows users should take responsibility for a Windows 
thingie, no?

Angus


Re: Testers wanted --- LyX 1.3.6 prerelease (Windows)

2005-06-08 Thread Uwe Stöhr

Angus Leeming wrote:

I think its fair to say that LyX/Win 1.3.6 has been tested only in 
WinXP.


I tested it the last two days on Win2000 and it works stable.

regards Uwe


Rule Under Center Head

2005-06-08 Thread Bruce Pourciau
Using the fancyheadings package and the fancy pagestyle, I get a center 
head underlined by a rule which, by default, seems to be the text 
width. What if I would like that rule to be shorter and still centered? 
A TeX novice, I've tried commands in the preamble aimed at adjusting 
the length of the rule, but I get the error "Missing \begin{document}" 
Any suggestions?


Bruce



More Beamer Hangups

2005-06-08 Thread Rich Shepard

  I suppose that it's just me, but I'm having a terrible time with the Beamer
class in LyX-1.3.5. In addition to the -deeper issue, I cannot indent
itemized items under another itemized item and the \block command does not
produce the expected output (the first letter after the name, "block," is the
title and everything else is listed below that.)

  Have others successfully used these features within the LyX environment?
I'm not sufficiently productive trying to write this presentation.

Thanks,

Rich

--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
   Voice: 503-667-4517   Fax: 503-667-8863


Center Head in Italic

2005-06-08 Thread Bruce Pourciau
Oh, and I forgot, using fancyheaders how can I make the header appear 
in italic?


Bruce



Re: More Beamer Hangups

2005-06-08 Thread Bennett Helm

On Jun 8, 2005, at 3:04 PM, Rich Shepard wrote:

  I suppose that it's just me, but I'm having a terrible time with the 
Beamer

class in LyX-1.3.5. In addition to the -deeper issue, I cannot indent
itemized items under another itemized item and the \block command does 
not
produce the expected output (the first letter after the name, "block," 
is the

title and everything else is listed below that.)

  Have others successfully used these features within the LyX 
environment?

I'm not sufficiently productive trying to write this presentation.


Rich -

I've used the sample beamerpresentation.lyx file that comes with beamer 
as a model, and I believe it will answer most of your questions. (If 
you don't have it for some reason, I can send it to you privately.)


For example, from that file it's clear that \block requires using ERT 
to put the block title in curly braces: {Title}.


Itemized items can be nested using standard LyX command 
(Increase/Decrease Environment Depth). Your trouble may be that you 
have a pause in between; the pause "paragraph" must be indented in 
order for subsequent items to be indented as well. (Again, that this is 
the case becomes evident from studying the beamerpresentation.lyx file 
-- but it does take some detective work.)


I hope that helps.

Bennett



Re: Testers wanted --- LyX 1.3.6 prerelease (Windows)

2005-06-08 Thread Janus Sandsgaard
On Wednesday 08 June 2005 19:43, Angus Leeming wrote:

> Sure! Only the 55 strings in english.nsh ( http://tinyurl.com/8ukxa )
> need translating. 

Here it is. Two things: 1) The translation is OK, but not perfect, since I 
haven't seen the sentences in context yet, but if these strings goes into 
next pre-release I can check it out and adjust. 2) I left the ""!ifndef" 
field etc untouched.

> I think that Windows users should take responsibility for a Windows
> thingie, no?

Making installation of LyX on Windows easier is a really good thing. I'd 
be happy to help if I can.

Janus

-- 
Roskilde University, Denmark.
Department of Technology and Social Science.
International Development Studies.
ESST - Society, Science and Technology in Europe.
!ifndef _LYX_LANGUAGES_ENGLISH_NSH_
!define _LYX_LANGUAGES_ENGLISH_NSH_

!ifdef LYX_LANG
  !undef LYX_LANG
!endif
!define LYX_LANG ${LANG_ENGLISH}

LicenseLangString LyXLicenseData ${LYX_LANG} "${PRODUCT_LICENSE_FILE}"

LangString SecAllUsersTitle "${LYX_LANG}" "Installer til alle brugere?"
LangString SecFileAssocTitle "${LYX_LANG}" "Fil-associationer"
LangString SecDesktopTitle "${LYX_LANG}" "Skrivebordsikon"

LangString SecCoreDescription "${LYX_LANG}" "Filerne til ${PRODUCT_NAME}."
LangString SecAllUsersDescription "${LYX_LANG}" "Installer til alle brugere, 
eller kun den aktuelle bruger. (kræver administrator-rettigheder.)"
LangString SecFileAssocDescription "${LYX_LANG}" "Opret association mellem LyX 
og .lyx filer."
LangString SecDesktopDescription "${LYX_LANG}" "Et ${PRODUCT_NAME} ikon på 
skrivebordet"

LangString ModifyingConfigureFailed "${LYX_LANG}" "Forsøget på at indstille 
'path_prefix' i konfigurationen mislykkedes"
LangString RunConfigureFailed "${LYX_LANG}" "Mislykket forsøg på at afvikle 
konfigurations-scriptet"

LangString FinishPageMessage "${LYX_LANG}" "Tillykke!! LyX er installeret."
LangString FinishPageRun "${LYX_LANG}" "Start LyX"

LangString DownloadPageField2 "${LYX_LANG}" " ikke"

LangString MinSYSHeader "${LYX_LANG}" "MinSYS"
LangString MinSYSDescription "${LYX_LANG}" "MinSYS (www.mingw.org/msys.shtml) 
er et værktøj som ${PRODUCT_NAME} skal buge til at afvikle en række scripts."
LangString EnterMinSYSFolder "${LYX_LANG}" "Angiv stien til den mappe, som 
indeholder sh.exe"
LangString InvalidMinSYSFolder "${LYX_LANG}" "Kunne ikke finde sh.exe"
LangString MinSYSDownloadLabel "${LYX_LANG}" " MinSYS"
LangString MinSYSFolderLabel "${LYX_LANG}" " som indeholder sh.exe"

LangString PythonHeader "${LYX_LANG}" "Python"
LangString PythonDescription "${LYX_LANG}" "Python er et script-sprog 
(www.python.org) som skal være installeret. Ellers er der et antal scripts som 
${PRODUCT_NAME} ikke kan afvikle."
LangString EnterPythonFolder "${LYX_LANG}" "Angiv stien til den mappe som 
indeholder Python.exe"
LangString InvalidPythonFolder "${LYX_LANG}" "Kunne ikke finde Python.exe"
LangString PythonDownloadLabel "${LYX_LANG}" " Python"
LangString PythonFolderLabel "${LYX_LANG}" " som indeholder Python.exe"

LangString MiKTeXHeader "${LYX_LANG}" "MiKTeX"
LangString MiKTeXDescription "${LYX_LANG}" "MiKTeX (www.miktex.org) er en 
ajourført TeX implementering til Windows."
LangString EnterMiKTeXFolder "${LYX_LANG}" "Angiv stien til mappen som 
indeholder latex.exe"
LangString InvalidMiKTeXFolder "${LYX_LANG}" "Kunne ikke finde latex.exe"
LangString MiKTeXDownloadLabel "${LYX_LANG}" " MiKTeX"
LangString MiKTeXFolderLabel "${LYX_LANG}" " som indeholder latex.exe"

LangString PerlHeader "${LYX_LANG}" "Perl"
LangString PerlDescription "${LYX_LANG}" "Hvis du forventer at skulle bruge 
reLyX til at konvertere LaTeX- til LyX-dokumenter, skal du installere Perl 
(www.perl.com)."
LangString EnterPerlFolder "${LYX_LANG}" "Angiv stien til mappen som indeholder 
Perl.exe"
LangString InvalidPerlFolder "${LYX_LANG}" "Kunne ikke finde Perl.exe"
LangString PerlDownloadLabel "${LYX_LANG}" " Perl"
LangString PerlFolderLabel "${LYX_LANG}" " som indeholder perl.exe"

LangString ImageMagickHeader "${LYX_LANG}" "ImageMagick"
LangString ImageMagickDescription "${LYX_LANG}" "ImageMagick 
(www.imagemagick.org/script/index.php) bruges til at konvertere grafik-filer 
til forskellige slutformater."
LangString EnterImageMagickFolder "${LYX_LANG}" "Angiv stien til mappen som 
indeholder convert.exe"
LangString InvalidImageMagickFolder "${LYX_LANG}" "Kunne ikke finde convert.exe"
LangString ImageMagickDownloadLabel "${LYX_LANG}" " ImageMagick"
LangString ImageMagickFolderLabel "${LYX_LANG}" " som indeholder 
convert.exe"

LangString GhostscriptHeader "${LYX_LANG}" "Ghostscript"
LangString GhostscriptDescription "${LYX_LANG}" "Ghostscript 
(http://www.cs.wisc.edu/~ghost/) bruges til at konvertere billeder til og fra 
PostScript."
LangString EnterGhostscriptFolder "${LYX_LANG}" "Angiv stien til mappen som 
indeholder gswin32c.exe"
LangString InvalidGhostscriptFolder "${LYX_LANG}" "Kunne ikke finde 
gswin32c.exe"
LangString GhostscriptDownloadLabel "${LYX_LANG}" " Ghostscript"
LangString 

Re: Testers wanted --- LyX 1.3.6 prerelease (Windows)

2005-06-08 Thread Angus Leeming

Janus Sandsgaard wrote:

Sure! Only the 55 strings in english.nsh ( http://tinyurl.com/8ukxa )
need translating. 


Here it is. Two things: 1) The translation is OK, but not perfect, since I 
haven't seen the sentences in context yet, but if these strings goes into 
next pre-release I can check it out and adjust. 2) I left the ""!ifndef" 
field etc untouched.



I think that Windows users should take responsibility for a Windows
thingie, no?


Making installation of LyX on Windows easier is a really good thing. I'd 
be happy to help if I can.


Janus


You already have. Many thanks for that!

I've committed your translation to the repository
http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/development/Win32/packaging/installer/lyx_languages/Attic/danish.nsh?rev=1.1.2.1_with_tag=BRANCH_1_3_X=text/vnd.viewcvs-markup
( Equivalent URL: http://tinyurl.com/9c9oe )

I made the !ifdef changes. Note also that I changed the encoding from UTF-8 
to ISO8859-1 because NSIS doesn't support UTF-8 ATM.


I also uploaded the updated package to 
http://wiki.lyx.org/Windows/LyX136pre (now version 7).


Regards,
Angus



Re: Center Head in Italic

2005-06-08 Thread Paul Medwell

Bruce Pourciau wrote:
Oh, and I forgot, using fancyheaders how can I make the header appear in 
italic?


in the preamble...

\chead{\textit{This is italics}}



Re: More Beamer Hangups

2005-06-08 Thread Rich Shepard

On Wed, 8 Jun 2005, Bennett Helm wrote:


I've used the sample beamerpresentation.lyx file that comes with beamer as
a model, and I believe it will answer most of your questions. (If you don't
have it for some reason, I can send it to you privately.)


Bennett,

  Good point. I did not look at the example, but am working from a template
and the manual.

For example, from that file it's clear that \block requires using ERT to put 
the block title in curly braces: {Title}.


  Aha! In retrospect that makes sense.


Itemized items can be nested using standard LyX command (Increase/Decrease
Environment Depth). Your trouble may be that you have a pause in between;
the pause "paragraph" must be indented in order for subsequent items to be
indented as well. (Again, that this is the case becomes evident from
studying the beamerpresentation.lyx file -- but it does take some detective
work.)


  Yes, I do have pauses.

  When I return from my business trip on Friday I'll dig into it some more. I
greatly appreciate the pointers.

Thanks,

Rich

--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
   Voice: 503-667-4517   Fax: 503-667-8863


Re: Testers wanted --- LyX 1.3.6 prerelease (Windows)

2005-06-08 Thread Paul Smith
Many thanks, Angus, for your efforts to port Lyx to MS Windows! I am
not anymore a MS Windows user, but I am sure it will benefit many
people.

Paul