Re: LyX is wonderful -- thank you!

2007-05-18 Thread Gunnar Lindholm
 Hi Steve, I took your praise and placed a copy on the relevant page on the
 wiki:

   http://wiki.lyx.org/LyX/Praise

 /Christian

 PS. I'm forwarding this to the developers' list, it's good to remember now
 and then that LyX is really appreciated :-)

While on the subject of praising LyX I can only say that I can't imagine me 
writing the book I'm doing right now (soon 500 pages and still not finished) 
with any other tool. I've used it since the beginning (1997-ish) and it has 
really evolved into the only real tool for writing. 

All problems (almost) I've had has been solved by LyX and the both wise and 
helpful people on this list! Thanks. One of the problems I've reported to 
bugzilla was fixed a few days ago also. I can't imagine that happen with any 
other tool! So big thanks to the developer also!

The remaining problems are pure LaTeX problems and that pdflatex is beeing a 
little slow on generating postscript for preview when you have 500 pages. 
Then 2-3 seconds feels like an eternity ;-)

Gunnar


Re: How to put title and text in a box? SOLVED

2007-05-18 Thread Daniel Lohmann
Steve Litt wrote:
 Oh never mind, I already solved this problem and forgot I'd solved it. I made 
 the title LyX environment with a LatexType of command, and had that command 
 set a variable, and then the box text environment used that variable.
 

Steve,

Would you mind sharing the relevant parts of your layout file / preamble
for this? I am just trying to get something like this working for my thesis.

Thanks!

Daniel


Instant preview in 1.5.0 under Win Vista

2007-05-18 Thread A S

Hi, I have just installed LyX 1.5.0 beta (from
ftp://ftp.devel.lyx.org/pub/lyx/pre), under Windows Vista, but instant
preview does not behave as normal. If I start writing a new document,
maths is shown with instant preview, but if I load a previously
written document, the formulas don't change, even if I go in and out
of a formula. Moreover, even when I get instant preview, big symbols
like integrals, sums, and products don't show up.
Is this an issue with LyX, Vista, or both?

Regards,
Alex


Re: Why Lyx-Word?

2007-05-18 Thread Helge Hafting

Julio Rojas wrote:


Now my problem is that my tutor only uses Word. He doesn't want to
expend his time learning LyX, even thou there's really nothing to
learn (I'll do all the LaTeX job and he'll only do some writing).

How about:
You write with LyX, and sends him PDF. Anybody can read PDF.
He writes his answers in word (or
plain text email), possibly cutting and pasting
text from the PDF.

You then copy from his messages and paste into your
LyX document.

Does he have to write in the _same_ document file?

Helge Hafting


Re: How to put title and text in a box?

2007-05-18 Thread Helge Hafting

Steve Litt wrote:

Hi all,

All my books contain, interspersed throughout regular text, boxes breaking out 
special stuff. The boxes are centered and have slightly narrower margins than 
the rest of the text. Each box has a large box title on the top line, and the 
text of the message to the reader in the rest of the box. Titles are often 
things like NOTE, TIP, WARNING, CAUTION, but often are completely ad-hock 
text, which is why I can't simply create an environment for each.
  

Well - do you need latex code at all? LyX supports boxes
directly, and you can use a normal heading inside the box.
The box can of course be centered.

Or do you need something that insert-box don't offer?

Helge Hafting


Re: Creating a document class

2007-05-18 Thread Helge Hafting

NicoWinger wrote:

Hello,
 
I'm still creating a document class for the quote guidelines of our

university and a belonging template. Both is nearly finished, but there is
one thing that still bothers me. The cover: There are very strong
requirements for the position of title, name etc. So far I made it with a
table in the template but I would like to create new LaTeX-commands in the
document class for putting every style (Name, Title etc.) at its specified
position on the page with a label (similar to the letter-class). That would
enable the user to create the cover without template setting a style for any
detail.
 
I've tried many versions, but the LaTeX-Commands don't work! Please help me!
 
For illustration I'll show you the accordant lines of my document class:
 
# Input general definitions

Input scrartcl.layout
 
Preamble

\usepackage[paper=a4paper,left=3.5cm,right=1.5cm,top=2.5cm,bottom=2.0cm]{geo
metry}
\renewcommand{\sfdefault}{phv}
\sffamily
\fontsize{11}{11}
\linespread{1.5}
\usepackage[T1]{fontenc}
\pagenumbering{Roman}
\usepackage{scrpage2}
\pagestyle{scrheadings}
\ihead[]{}
\ohead[]{}
\chead[]{\pagemark}
\cfoot[]{}
\renewcommand{\pnumfont}{\normalfont\sffamily}
\setkomafont{footnote}{\sffamily}
\setlength{\parindent}{0pt}
\setlength{\parskip}{2ex}
\usepackage[latin1]{inputenc}
Endpreamble
 
And to add new styles for cover, name etc.:
 
Style Deckblatt_Titel

 LeftMargin
 LatexType   Command
 LatexName   deckblatttitel
 LabelType Static
 LabelString   Titel:
 LabelSep  x
 LabelFont
   Shape   Italic
   Color   blue
 EndFont
 TextFont
   Family   Sans
   Series   Bold
   Sizelarger
 EndFont
 BottomSep 2.0
 Spacing   Other 0.9
 Preamble
 
\newcommand{\deckblatttitel}[3]{{\pagebreak#1}{\setlength{\marginparwidth}{1

0mm}#2}{\bf#3}}
   %\setkomafont{deckblatttitel}{\normalfont\sffamily\bfseries}
 EndPreamble
End
 
What is wrong? In LyX all works, but with converting to PDF, nothing happens

with the styles. I would be very happy to get an solution for my problem.
 

Seems to me that your \decblatttitel command is set up to take three
parameters.  But where would they come from?
When you use this style, LyX will issue a \decblatttitel command
with only  parameter - the text you typed in that style.

To debug things like this - use export-latex and see what
kind of latex code LyX generate with your document class.

Helge Hafting


Re: LyX is wonderful -- thank you!

2007-05-18 Thread José Matos
On Thursday 17 May 2007 10:19:56 pm Chuming Chen wrote:
 I am using lyx 1.4.3-5 and looking forward to the final release of lyx
 1.5. I did a little bit customization to fit my needs. i.e. installed
 some layouts and document classes.
 Do I need to do it again when I switch to 1.5?

  We have a user directory (e.g. usually ~/.lyx under linux) where this is 
preserved between releases. I am not sure about the full details regarding 
other platforms. :-)

 Thanks,

-- 
José Abílio


Re: How to Spot a Word Processed Book

2007-05-18 Thread Helge Hafting

Stefano Franchi wrote:


Yes. In my field---Humanities---this is the almost universal rule. The 
academically serious publishers (i.e. those you need to publish with 
to get tenure ;-) ) want complete control and use MS Word as an 
editing format which they will input, typically, into InDesign (used 
to be Quark Xpress, but we know the story). Some of the most 
established publishers will even take this approach a step further and 
actually retype the whole book from the typescript, as it was done 
decades ago. They claim it is actually cheaper to use someone in India 
to retype it than to pay someone in the US to spot hidden problems in 
the word processing file. (I had personal experience with this 
approach, I am not kidding).

Well, if they *retype*, then they surely don't need a ms word file.
a PDF works just as well, or even typwritten manuscript. . .
Similar situation with Humanities journals--Word is now required for 
exactly the same reason. Now that I completely switched to LyX (I used 
to be a Framemaker user, and FrameMaker has a more than decent FM- MS 
Word capabilities), I have to go through the unpleasant experience of 
converting back to Word (through the OO route)  before submitting.
Exporting to text and reimporting into Word is not really an option 
because you lose all the basic formatting that actually conveys 
important semantic information---from emphasis to footnotes to 
sectioning, etcetera.
In my case---Humanities, again---the real solution would be a minimal 
LyX MS Word export function that preserved the most essential, 
content-bound formatting of the document: footnote/endnotes, emphasis, 
headings, etc.


Of course, one could ask why not make LyX the official wordprocessor
instead of MS Word, and supply a LyX layout instead of a MS Word style
template. The answer is simply that it's very hard to find willing and
qualified authors for the amount mainstream publishers are willing to 
pay,
and it would be far easier to get the few LyX/LaTeX users to switch 
to MS
Word than to get the multitudes of MS Word users to switch to LyX, 
which many

haven't heard of, don't have, and don't know how to install.



Exactly. The vast majority of my colleagues are not even aware that 
there is a category difference between word processor and MS Word. 
The tend to think there is no difference between the two terms and 
could not care less for an explanation of such difference.

Yuck - what an attitude! If they don't care about an explanation, just send
them some LyX files.  When they complain, show that they
open fine here!  :-(

Helge Hafting


Re: How to put title and text in a box?

2007-05-18 Thread Steve Litt
On Friday 18 May 2007 08:07, Helge Hafting wrote:
 Steve Litt wrote:
  Hi all,
 
  All my books contain, interspersed throughout regular text, boxes
  breaking out special stuff. The boxes are centered and have slightly
  narrower margins than the rest of the text. Each box has a large box
  title on the top line, and the text of the message to the reader in the
  rest of the box. Titles are often things like NOTE, TIP, WARNING,
  CAUTION, but often are completely ad-hock text, which is why I can't
  simply create an environment for each.

 Well - do you need latex code at all? LyX supports boxes
 directly, and you can use a normal heading inside the box.
 The box can of course be centered.

 Or do you need something that insert-box don't offer?

Thanks Helge,

I didn't even know Insert-box existed. That's gonna save me a lot of time on 
shorter documents.

Now to answer your question...

My box has all these features that Insert-box doesn't give you (natively):

* Narrower text width than body text
* A background color
* A large, bold, centered title
* Different formatting for the box text (in this case ragged right)

One could probably fine tune all that each time, but... Or one could make 
environments for the title and text, but then why not just have those two 
environments do the whole job.

Also, from a conceptual viewpoint, any time you have type of content that 
serves a special purpose, you should probably have a style for that type of 
content so that, in the future, if you want to change the appearance of every 
occurrence of that type of content, you just change your layout.

On that subject, the working version, of those environments, which I used in 
first-drafting the book, didn't use a minipage -- it just narrowed the text 
and put lines above and below the box. I wrote the book like that, and then 
at the last minute, took the time to convert the style to print in a shaded 
minipage, and all my boxes became shaded and quit page breaking at bad 
places.

Thanks

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Re: Why Lyx-Word?

2007-05-18 Thread Julio Rojas

Well, that could work and some of that is what we've using, but for the
thesis I don't think that's plausible. Notes for text already written and
ideas about moving paragraphs, are better seen in the actual document. At
least from an editorial point of view. I think that for my theisis I'll
stick to PDF's with comments, at least while I install LyX on his PC.

Anyway, thanks Helge. I'll keep you guys informed on the process.

On 5/18/07, Helge Hafting [EMAIL PROTECTED] wrote:


Julio Rojas wrote:

 Now my problem is that my tutor only uses Word. He doesn't want to
 expend his time learning LyX, even thou there's really nothing to
 learn (I'll do all the LaTeX job and he'll only do some writing).
How about:
You write with LyX, and sends him PDF. Anybody can read PDF.
He writes his answers in word (or
plain text email), possibly cutting and pasting
text from the PDF.

You then copy from his messages and paste into your
LyX document.

Does he have to write in the _same_ document file?

Helge Hafting





--
-
Julio Rojas
[EMAIL PROTECTED]


[announce] LyX 1.5beta3-18-05-2007 for Windows

2007-05-18 Thread Uwe Stöhr

Hello LyXers,

I uploaded an installer for LyX 1.5beta3:
https://developer.berlios.de/project/showfiles.php?group_id=5117release_id=12796

Changelog to last development snapshot:

Version LyX 1.5beta3-18-05-2007
- LyX 1.5 beta3 from 18-05-2007
  - fix bug, introduced with last version, that all margin notes in
a document are lost
  - support for Chinese, Japanese and Korean
  - support for the LaTeX-package listings

Installer changes:
- updated to ImageMagick 6.3.4
- updated to Python 2.5.1
- updated to MiKTeX 2.6 (version 2675)
- fix bug that LyX's menu language setting was ignored when LyX is
  started by double-clicking on a LyX-file
- when Updating PDFs, the PDF is opened at the last viewed position
  (only works with Acrobat/Adobe Reader version = 7)
- fix hopefully the case that PDFs couldn't be updated when
  Adobe Reader 8 is used on Windows Vista
- fix bug that MiKTeX and JabRef weren't correctly uninstalled

-

The Update installer version allows you to update your existing LyX 
installation to the latest
version. To use this installer you must have my last development snaphot LyX 
1.5beta2-02-05-2007
installed.

(More infos about the installer can be found here:
http://wiki.lyx.org/Windows/LyXWinInstaller )

-

For the update and support for MiKTeX 2.6 the installer source code had to be changed massively. So 
if you encounter problems with the installer, mail me directly or report them at bugzilla.lyx.org 
(please check that the reports don't already exists).


--- disclaimer ---
The LyX 1.5svn builds are for testers and interested LyXers to test the new 
features.
If you find bugs, please have a look at
http://bugzilla.lyx.org
and report them there if they aren't already reported.

Note! LyX 1.5 is in beta state, that means that it is still under very
active development. So don't use LyX1.5svn builds for production!

happy testing and best regards
Uwe



Re: How to put title and text in a box? SOLVED

2007-05-18 Thread Steve Litt
On Friday 18 May 2007 06:53, Daniel Lohmann wrote:
 Steve Litt wrote:
  Oh never mind, I already solved this problem and forgot I'd solved it. I
  made the title LyX environment with a LatexType of command, and had that
  command set a variable, and then the box text environment used that
  variable.

 Steve,

 Would you mind sharing the relevant parts of your layout file / preamble
 for this? I am just trying to get something like this working for my
 thesis.

 Thanks!

 Daniel

Hi Daniel,

I've put it in the body of this email below my sig. Let me explain:

I've named the two LyX environments CalloutTitle and CalloutText. CalloutTitle 
has latextype command, and calls the LaTeX command callouttitleL, which 
simply sets command callouttitleT to the text to which CalloutTitle was 
applied. The LyX parameters of LyX environment CalloutTitle are set to an 
appropriately big font etc, so it shows up realistically in the LyX GUI.

LyX environment CalloutText is applied to the text of the centered box. Its 
latextype is Environment, and it calls LaTeX environment callouttextL. Its 
LyX parameters are set to make it narrower than the body text.

That brings us to LaTeX command callouttextL, which does most of the work.

 ENVIRONMENT INITIALIZATION 
CalouttextL prints its contents within a shaded box (\begin{shaded}). As 
mentioned, this shaded box is contributed by package framed. I basically tore 
this environment out of the layout of my 2001 book Troubleshooting 
Techniques of the Successful Troubleshooter,  so bear in mind that it was 
written by a (then) LyX newbie.

Using package framed, callouttextL moves the box up .45 inch to narrow what 
would otherwise be its oceanic separation from the text above, then sets 4pt 
margins within the highlighted box, defines the box's background color, then 
starts the box.

Within the box it center-Large prints the contents of callouttitleT, which is 
the title stored by LyX environemnt CalloutTitle. It then raggedrights and 
creates a rather large 16 point paragraph indentation. That concludes the 
environment initialization.

 TEXT PRINTING 
Then the text to which CalloutText has been applied prints within the box and 
styles declared in the initialization.

 ENVIRONMENT FINALIZATION 
The environment is finalized by ending the shaded box, and then starting a new 
paragraph so the first paragraph of the next text doesn't start within the 
shaded box.

HTH

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/



#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[book]{mybook}

Input stdclass.inc
Input numreport.inc

Preamble
\usepackage{framed}% Frames for notes, tips, etc

% ### Callout title and text latex
\newcommand{\callouttitleL}[1]{\def\callouttitleT{#1}}

\newenvironment{callouttextL}
  {%
  ~\\[-0.45in]%
  \setlength\fboxsep{4pt}%
  \definecolor{shadecolor}{rgb}{1.00,0.90,0.90}%
  \begin{shaded}%
  \addtolength{\hsize}{-0.20\columnwidth}%
  {\centering\Large\callouttitleT\\[0.2cm]}%
  \raggedright%
  \setlength\parindent{16pt}%
  }%
  {%
  \end{shaded}%
  \par
  }%

EndPreamble



### CALLOUT LYX STYLES
Style CalloutTitle
Font
Series  Bold
Size Larger
EndFont
LatexName   callouttitleL
LatexType   Command
  Align Center
End

Style CalloutText
  LatexType Environment
  LatexName callouttextL
  LeftMarginMM
  RightMargin   MM
  ParIndent MMM
  TopSep1.4
  ItemSep   0.7
  ParSep0.7
  BottomSep 0.7
  Align Block
  AlignPossible Block

  Font 
   Series   Medium
   Size Normal
   ShapeItalic
  EndFont
End



Creating a layout for IOP publishing.

2007-05-18 Thread Stanislaw Kalicinski

Hi,

I'm currently working on a layout for IOP articles (I will make it available
as soon as it's finished). The reason why I'm doing it is the layout
which available ( wiki.lyx.org ) is rather poor and not satisfying me.

The problem is that in LyX I want to make use of some ready to use
macros from iopart.cls. So, instead of explicitly typing LaTeX code in LyX,
I would prefer to create a new style that would insert a macro into
the code  e.g.

\Bibliography{num}
\endbib

where num is the same as in the standard Bibliography environment (i.e.
\begin{thebibliography}{num})

or

\Table{\label{label}Table caption}
\endTable (or \endtab)

Is it possible to do in the current version of LyX? If yes, could you send
me some hints or examples solving a similar problem.

Thanks in advance!

Stanislaw Kalicinski


Re: LyX version 1.5.0 (beta 3) is released

2007-05-18 Thread Jean-Marc Lasgouttes
 José == José Matos [EMAIL PROTECTED] writes:

José You can download LyX 1.5.0beta3 here (the .bz2 are compressed
José with bzip2, which yields smaller files):

José   ftp://ftp.lyx.org/pub/lyx/devel/lyx-1.5.0beta3.tar.gz
José ftp://ftp.lyx.org/pub/lyx/devel/lyx-1.5.0beta3.tar.bz2

Err, this is not where I put them...

Also, you should set reply-to: to lyx-devel (I put lyx-users for
stable releases). 

JMarc


LyX version 1.5.0 (beta 3) is released

2007-05-18 Thread José Matos
Public release of LyX version 1.5.0 (beta 3)
===

We are glad to announce the release of LyX 1.5.0 (beta 3).

Compared with the previous beta release we have fixed several bugs
and added some improvements, namely a new inset to support code listings.

We have enabled the converter file cache by default.

Internally we have renamed files to follow a consistent name pattern,
this will allow an easier navigation of the source code thus simplifying
bug fixing.

Compared with the latest stable release, this is the culmination of
one year of hard work, and we sincerely hope you will enjoy the
results. The changes are too numerous to summarize in a few words,
with initial unicode support being the flagship among the new
features, see the end of this announcement for details.

As usual with a major release, a lot of work that is not directly
visible has taken place. The core of LyX has seen more cleanups and
some of the new features are the direct results of this work.

The file RELEASE-NOTES lists some known issues with this release
compared to the latest stable release (LyX 1.4.4). An updated list of
issues might later be found at http://wiki.lyx.org/LyX/ReleaseNotes


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

   LyX is a document processor that encourages an approach to writing
   based on the structure of your documents, not their appearance. It
   is released under a Free Software / Open Source license.

   LyX is for people that write and want their writing to look great,
   right out of the box. No more endless tinkering with formatting
   details, 'finger painting' font attributes or futzing around with page
   boundaries. You just write. In the background, Prof. Knuth's legendary
   TeX typesetting engine makes you look good.

   On screen, LyX looks like any word processor; its printed output -- or
   richly cross-referenced PDF, just as readily produced -- looks like
   nothing else. Gone are the days of industrially bland .docs, all
   looking similarly not-quite-right, yet coming out unpredictably
   different on different printer drivers. Gone are the crashes 'eating'
   your dissertation the evening before going to press.

   LyX is stable and fully featured. It is a multi-platform, fully
   internationalized application running natively on Unix/Linux and the
   Macintosh and modern Windows platforms. 

You can download LyX 1.5.0beta3 here (the .bz2 are compressed with
bzip2, which yields smaller files):

ftp://ftp.lyx.org/pub/lyx/devel/lyx-1.5.0beta3.tar.gz
ftp://ftp.lyx.org/pub/lyx/devel/lyx-1.5.0beta3.tar.bz2

Note that due to the amount of changes no patch is provided to upgrade
from version 1.4.4.

Prebuilt binaries (rpms for linux distributions, Mac OS X and Windows
installers) should soon be available at
ftp://ftp.lyx.org/pub/lyx/devel/


If you find what you think is a bug in LyX 1.5.0beta3, you may either
e-mail the LyX developers' mailing list (lyx-devel @ lists.lyx.org), 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/. If you can't find the answer there,
e-mail the LyX users' list (lyx-users @ lists.lyx.org).

Enjoy!

The LyX team.


What's new in version 1.5.0 (beta 3)?


* Unicode

LyX 1.5's big goal was to use unicode internally and so resolve a slew
of existing problems with special characters and non-alphabetic
languages. LyX 1.5 is able to output unicode (in addition to
encodings current available), so that you can use LaTeX's new utf8
encoding or such brand new typesetting systems as XeTeX.
Since the change to unicode touched much of the code base and some
areas still need a cleanup it is very likely that some bugs related to
the unicode transition still exist. Please have a look at the Known
bugs in LyX 1.5 page if you encounter a bug that seems to be related
to unicode. If it's not there, then please report it to the lyx-devel
mailing list.

* Integrated CJK support

The very first result of the Unicode transition is that we have finally
merged in the externally maintained CJK-LyX branch.

* Multiple views of the same buffer

LyX can now display multiple views of the same buffer. I.e., you can
now open a single document in multiple windows and work on different
parts of it synchronously.

* Outliner and embedded TOC

LyX has another long-awaited feature: a basic outliner mode, in which
you can move chapters and sections around in the Table of Contents
dialog. (The outliner has been backported and was released with LyX
1.4.4.) The TOC dialog is now a dock widget, embedded in the main window.

* Session management

LyX is now able to remember window size and position and it will
reopen the documents you worked on last time around. If you've
selected the feature in the Preferences dialog, it'll even move the
cursor to the place 

Mac LyX 1.4.4 problem with Natbib

2007-05-18 Thread Julio Rojas

Hi, my wife uses LyX on her Mac. She was using 1.4.3 without problems until
some weird error was present on her latest article class document. When
using Natbib in author, year format, the following error is presented
instead of references:

(author?) [4, 30–32]

As you can see, even thou the document uses author, year, the references
are presented numerically. And the name is substituted with that weird
(author?). This is the same for all references. I have installed 1.4.4 but
the problem lingers on.

Any idea? Thanks in advance.

--
-
Julio Rojas
[EMAIL PROTECTED]


Re: Why Lyx-Word?

2007-05-18 Thread Charles de Miramon
Julio Rojas wrote:

 Anyway, thanks Helge. I'll keep you guys informed on the process.
 

Not a solution for now but okular the next generation KDE pdf reader will
have annotations support.

http://kpdf.kde.org/okular/screenies/okular-annotations.png

KDE 4 applications should also work under Windows.

Cheers,
Charles

-- 
http://www.kde-france.org



LyX beta 2.0 on Mac

2007-05-18 Thread A. Scottedward Hodel
I had a few spare moments and decided to try the new 1.5 beta on an  
Intel Mac.  I like the new layout; I quickly found a possible bug.


I attempted to load an old LyX file that had many (in excess of 40)  
child documents. The beta opened all of them, and as a result I have  
a document bar composed of more than 40 document buttons, the total  
of which are now wider than both screens on my mac put together.


I suppose that the preferable behavior would be to wrap the document  
buttons onto separate lines.




I want to echo the praise for LyX given earlier.  I I've used LyX in  
lecture and they are impressed with the quick entry of equations,  
promptly followed by a legible on-screen preview of the equations.   
It's a wonderful tool.


A. Scottedward Hodel, 334 844-1854, fax 334 844-1809
[EMAIL PROTECTED] http://www.eng.auburn.edu/~hodelas



On May 18, 2007, at 9:27 AM, José Matos wrote:


Public release of LyX version 1.5.0 (beta 3)
===

We are glad to announce the release of LyX 1.5.0 (beta 3).

Compared with the previous beta release we have fixed several bugs
and added some improvements, namely a new inset to support code  
listings.


We have enabled the converter file cache by default.

Internally we have renamed files to follow a consistent name pattern,
this will allow an easier navigation of the source code thus  
simplifying

bug fixing.

Compared with the latest stable release, this is the culmination of
one year of hard work, and we sincerely hope you will enjoy the
results. The changes are too numerous to summarize in a few words,
with initial unicode support being the flagship among the new
features, see the end of this announcement for details.

As usual with a major release, a lot of work that is not directly
visible has taken place. The core of LyX has seen more cleanups and
some of the new features are the direct results of this work.

The file RELEASE-NOTES lists some known issues with this release
compared to the latest stable release (LyX 1.4.4). An updated list of
issues might later be found at http://wiki.lyx.org/LyX/ReleaseNotes


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

   LyX is a document processor that encourages an approach to writing
   based on the structure of your documents, not their appearance. It
   is released under a Free Software / Open Source license.

   LyX is for people that write and want their writing to look great,
   right out of the box. No more endless tinkering with formatting
   details, 'finger painting' font attributes or futzing around  
with page
   boundaries. You just write. In the background, Prof. Knuth's  
legendary

   TeX typesetting engine makes you look good.

   On screen, LyX looks like any word processor; its printed output  
-- or

   richly cross-referenced PDF, just as readily produced -- looks like
   nothing else. Gone are the days of industrially bland .docs, all
   looking similarly not-quite-right, yet coming out unpredictably
   different on different printer drivers. Gone are the crashes  
'eating'

   your dissertation the evening before going to press.

   LyX is stable and fully featured. It is a multi-platform, fully
   internationalized application running natively on Unix/Linux and  
the

   Macintosh and modern Windows platforms.

You can download LyX 1.5.0beta3 here (the .bz2 are compressed with
bzip2, which yields smaller files):

ftp://ftp.lyx.org/pub/lyx/devel/lyx-1.5.0beta3.tar.gz
ftp://ftp.lyx.org/pub/lyx/devel/lyx-1.5.0beta3.tar.bz2

Note that due to the amount of changes no patch is provided to upgrade
from version 1.4.4.

Prebuilt binaries (rpms for linux distributions, Mac OS X and Windows
installers) should soon be available at
ftp://ftp.lyx.org/pub/lyx/devel/


If you find what you think is a bug in LyX 1.5.0beta3, you may either
e-mail the LyX developers' mailing list (lyx-devel @  
lists.lyx.org), 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/. If you can't find the  
answer there,

e-mail the LyX users' list (lyx-users @ lists.lyx.org).

Enjoy!

The LyX team.


What's new in version 1.5.0 (beta 3)?


* Unicode

LyX 1.5's big goal was to use unicode internally and so resolve a slew
of existing problems with special characters and non-alphabetic
languages. LyX 1.5 is able to output unicode (in addition to
encodings current available), so that you can use LaTeX's new utf8
encoding or such brand new typesetting systems as XeTeX.
Since the change to unicode touched much of the code base and some
areas still need a cleanup it is very likely that some bugs related to
the unicode transition still exist. Please have a look at the Known
bugs in LyX 1.5 page if you encounter a bug that seems to be related
to unicode. If it's not there, then 

How to create a good looking and memory conserving full page graphic?

2007-05-18 Thread Steve Litt
Hi all,

The cover of my Ebook was created in Vim, and is incorporated on the first 
page of my LyX file as a .jpg. I started with an 8.5x11 drawing in Gimp, but 
it was too huge and I had to scale the image to quarter size and put it in 
LyX. If I scaled using linear interpolation, the letters were blurry at 
higher magnifications. If I scaled using cubic or Lanczos interpolation, it 
caused some disturbing artifacts, especially at higher magnifications within 
the .pdf file.

Anyone know of a way I can use a full sized 8.5x11 graphic without it taking 
over a megabyte of memory? One would think it would be very compressible. 
Over half the graphic is contiguous pure white, with another 10% contiguous 
pure black.

Thanks

STeveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Re: Creating a layout for IOP publishing.

2007-05-18 Thread Richard Heck


I don't really understand what you're trying to do. Is it that you just 
want some LyX command to insert these two lines:

   \Bibliography{num}
   \endbib
but where num is found automatically? If that's it, then no, that can't 
be done just with layouts, as they do not have access to the LyX kernel, 
which is where num would be found. Then again, you could just set it to 
999 or something. The other problem, though, is that, so far as I know, 
LyX assumes that each layout corresponds to one of a handful of kinds of 
LaTeX constructs---commands, which are output as \command{TEXT}, or 
environments, which are output as \begin{env}TEXT\end{evn}, or items, 
etc. The two lines above don't seem to fall into any of these categories.


Richard

Stanislaw Kalicinski wrote:

Hi,

I'm currently working on a layout for IOP articles (I will make it 
available as soon as it's finished). The reason why I'm doing it is 
the layout which available ( wiki.lyx.org ) is rather poor and not 
satisfying me.


The problem is that in LyX I want to make use of some ready to use 
macros from iopart.cls. So, instead of explicitly typing LaTeX code in 
LyX, I would prefer to create a new style that would insert a macro 
into the code  e.g.


\Bibliography{num}
\endbib

where num is the same as in the standard Bibliography environment (i.e.
\begin{thebibliography}{num})

or

\Table{\label{label}Table caption}
\endTable (or \endtab)

Is it possible to do in the current version of LyX? If yes, could you 
send me some hints or examples solving a similar problem.


Thanks in advance!

Stanislaw Kalicinski





Re: How to create a good looking and memory conserving full page graphic? SOLVED

2007-05-18 Thread Steve Litt
On Friday 18 May 2007 14:57, Steve Litt wrote:
 Hi all,

 The cover of my Ebook was created in Vim, and is incorporated on the first
 page of my LyX file as a .jpg. I started with an 8.5x11 drawing in Gimp,
 but it was too huge and I had to scale the image to quarter size and put it
 in LyX. If I scaled using linear interpolation, the letters were blurry at
 higher magnifications. If I scaled using cubic or Lanczos interpolation, it
 caused some disturbing artifacts, especially at higher magnifications
 within the .pdf file.

 Anyone know of a way I can use a full sized 8.5x11 graphic without it
 taking over a megabyte of memory? One would think it would be very
 compressible. Over half the graphic is contiguous pure white, with another
 10% contiguous pure black.

I figured it out. With a really big graphic, you you must create the graphic 
as a .eps, and within LyX include that .eps. Whatever graphic conversion 
programs LyX uses blows converts from .jpg or .png to a HUGE .eps, much 
bigger than the .eps would be if you created it directly from Gimp.

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Re: How to create a good looking and memory conserving full page graphic? SOLVED

2007-05-18 Thread Les Denham
On Friday 18 May 2007 14:09, Steve Litt wrote:
  Anyone know of a way I can use a full sized 8.5x11 graphic without it
  taking over a megabyte of memory? One would think it would be very
  compressible. Over half the graphic is contiguous pure white, with
  another 10% contiguous pure black.

 I figured it out. With a really big graphic, you you must create the
 graphic as a .eps, and within LyX include that .eps. Whatever graphic
 conversion programs LyX uses blows converts from .jpg or .png to a HUGE
 .eps, much bigger than the .eps would be if you created it directly from
 Gimp.

Steve,

Probably the best way of getting a full page graphic with a reasonable file 
size is to use a vector graphic.  I haven't used them for covers, but I have 
used them for full page illustrations within a document.  Some vector graphic 
formats can be taken care of automatically with Lyx -- Grace .agr format, for 
example, which I use very often -- while others you might export as a .eps 
file from the application that generates the graphic.
-- 
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


Re: Creating a layout for IOP publishing.

2007-05-18 Thread Stanislaw Kalicinski

Hi,

Thank you for a very quick reply.


From your email I understood that what I thought was (sad) true;( I hope it

can be implemented in LyX in the future.

To be more specific I'm giving here below some more details of my problem.

I'm using LyX to write an article to a journal from the IOP (The Institute
Of Physics Publishing). The IOP provides a class file, which is very
helpful. Apart from some classical commands and environments compatible
with LyX the iopart.cls contains some helpful macros that would all in one
job. For instance instead of typing:

\section*{References}
\begin{thebibliography}{num}
\end{thebibliography}

which in LyX would correspond to chosing a standard Section* class and
then inserting Bibliography class items, one would chose an equivalent short
version (defined in iopart.cls)

\Bibliography{num}
\endbib

which seems to not compatible with LyX.

It is not a problem at all, but I wanted to make nice layout for IOP, that
could be inserted into the standard LyX package:)

Best regards
Stanislaw


On 5/18/07, Richard Heck [EMAIL PROTECTED] wrote:



I don't really understand what you're trying to do. Is it that you just
want some LyX command to insert these two lines:
   \Bibliography{num}
   \endbib
but where num is found automatically? If that's it, then no, that can't
be done just with layouts, as they do not have access to the LyX kernel,
which is where num would be found. Then again, you could just set it to
999 or something. The other problem, though, is that, so far as I know,
LyX assumes that each layout corresponds to one of a handful of kinds of
LaTeX constructs---commands, which are output as \command{TEXT}, or
environments, which are output as \begin{env}TEXT\end{evn}, or items,
etc. The two lines above don't seem to fall into any of these categories.

Richard

Stanislaw Kalicinski wrote:
 Hi,

 I'm currently working on a layout for IOP articles (I will make it
 available as soon as it's finished). The reason why I'm doing it is
 the layout which available ( wiki.lyx.org ) is rather poor and not
 satisfying me.

 The problem is that in LyX I want to make use of some ready to use
 macros from iopart.cls. So, instead of explicitly typing LaTeX code in
 LyX, I would prefer to create a new style that would insert a macro
 into the code  e.g.

 \Bibliography{num}
 \endbib

 where num is the same as in the standard Bibliography environment (i.e
.
 \begin{thebibliography}{num})

 or

 \Table{\label{label}Table caption}
 \endTable (or \endtab)

 Is it possible to do in the current version of LyX? If yes, could you
 send me some hints or examples solving a similar problem.

 Thanks in advance!

 Stanislaw Kalicinski





Re: How to create a good looking and memory conserving full page graphic? SOLVED

2007-05-18 Thread Julio Rojas

But if you still want to use a bitmap format, old plain GIF seems to be the
solution for this case. Just index your figure with as few colors as
possible. For this kind of situations GIF does a way better job than JPG.

On 5/18/07, Les Denham [EMAIL PROTECTED] wrote:


On Friday 18 May 2007 14:09, Steve Litt wrote:
  Anyone know of a way I can use a full sized 8.5x11 graphic without it
  taking over a megabyte of memory? One would think it would be very
  compressible. Over half the graphic is contiguous pure white, with
  another 10% contiguous pure black.

 I figured it out. With a really big graphic, you you must create the
 graphic as a .eps, and within LyX include that .eps. Whatever graphic
 conversion programs LyX uses blows converts from .jpg or .png to a HUGE
 .eps, much bigger than the .eps would be if you created it directly from
 Gimp.

Steve,

Probably the best way of getting a full page graphic with a reasonable
file
size is to use a vector graphic.  I haven't used them for covers, but I
have
used them for full page illustrations within a document.  Some vector
graphic
formats can be taken care of automatically with Lyx -- Grace .agr format,
for
example, which I use very often -- while others you might export as a .eps
file from the application that generates the graphic.
--
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html





--
-
Julio Rojas
[EMAIL PROTECTED]


Re: LyX beta 2.0 on Mac

2007-05-18 Thread John Kane

--- A. Scottedward Hodel [EMAIL PROTECTED] wrote:


 I want to echo the praise for LyX given earlier.  I
 I've used LyX in  
 lecture and they are impressed with the quick entry
 of equations,  
 promptly followed by a legible on-screen preview of
 the equations.   
 It's a wonderful tool.

Can you give some more information about this?

It sounds very useful
 
 A. Scottedward Hodel, 334 844-1854, fax 334 844-1809
 [EMAIL PROTECTED]
 http://www.eng.auburn.edu/~hodelas
 
 
 
 On May 18, 2007, at 9:27 AM, José Matos wrote:
 
  Public release of LyX version 1.5.0 (beta 3)
  ===
 
  We are glad to announce the release of LyX 1.5.0
 (beta 3).
 
  Compared with the previous beta release we have
 fixed several bugs
  and added some improvements, namely a new inset to
 support code  
  listings.
 
  We have enabled the converter file cache by
 default.
 
  Internally we have renamed files to follow a
 consistent name pattern,
  this will allow an easier navigation of the source
 code thus  
  simplifying
  bug fixing.
 
  Compared with the latest stable release, this is
 the culmination of
  one year of hard work, and we sincerely hope you
 will enjoy the
  results. The changes are too numerous to summarize
 in a few words,
  with initial unicode support being the flagship
 among the new
  features, see the end of this announcement for
 details.
 
  As usual with a major release, a lot of work that
 is not directly
  visible has taken place. The core of LyX has seen
 more cleanups and
  some of the new features are the direct results of
 this work.
 
  The file RELEASE-NOTES lists some known issues
 with this release
  compared to the latest stable release (LyX 1.4.4).
 An updated list of
  issues might later be found at
 http://wiki.lyx.org/LyX/ReleaseNotes
 
 
  In case you are wondering what LyX is, here is
 what
  http://www.lyx.org/ has to say on the subject:
 
 LyX is a document processor that encourages an
 approach to writing
 based on the structure of your documents, not
 their appearance. It
 is released under a Free Software / Open Source
 license.
 
 LyX is for people that write and want their
 writing to look great,
 right out of the box. No more endless tinkering
 with formatting
 details, 'finger painting' font attributes or
 futzing around  
  with page
 boundaries. You just write. In the background,
 Prof. Knuth's  
  legendary
 TeX typesetting engine makes you look good.
 
 On screen, LyX looks like any word processor;
 its printed output  
  -- or
 richly cross-referenced PDF, just as readily
 produced -- looks like
 nothing else. Gone are the days of industrially
 bland .docs, all
 looking similarly not-quite-right, yet coming
 out unpredictably
 different on different printer drivers. Gone
 are the crashes  
  'eating'
 your dissertation the evening before going to
 press.
 
 LyX is stable and fully featured. It is a
 multi-platform, fully
 internationalized application running natively
 on Unix/Linux and  
  the
 Macintosh and modern Windows platforms.
 
  You can download LyX 1.5.0beta3 here (the .bz2 are
 compressed with
  bzip2, which yields smaller files):
 
  

ftp://ftp.lyx.org/pub/lyx/devel/lyx-1.5.0beta3.tar.gz
  

ftp://ftp.lyx.org/pub/lyx/devel/lyx-1.5.0beta3.tar.bz2
 
  Note that due to the amount of changes no patch is
 provided to upgrade
  from version 1.4.4.
 
  Prebuilt binaries (rpms for linux distributions,
 Mac OS X and Windows
  installers) should soon be available at
  ftp://ftp.lyx.org/pub/lyx/devel/
 
 
  If you find what you think is a bug in LyX
 1.5.0beta3, you may either
  e-mail the LyX developers' mailing list (lyx-devel
 @  
  lists.lyx.org), 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/. If you
 can't find the  
  answer there,
  e-mail the LyX users' list (lyx-users @
 lists.lyx.org).
 
  Enjoy!
 
  The LyX team.
 
 
  What's new in version 1.5.0 (beta 3)?
  
 
  * Unicode
 
  LyX 1.5's big goal was to use unicode internally
 and so resolve a slew
  of existing problems with special characters and
 non-alphabetic
  languages. LyX 1.5 is able to output unicode (in
 addition to
  encodings current available), so that you can use
 LaTeX's new utf8
  encoding or such brand new typesetting systems as
 XeTeX.
  Since the change to unicode touched much of the
 code base and some
  areas still need a cleanup it is very likely that
 some bugs related to
  the unicode transition still exist. Please have a
 look at the Known
  bugs in LyX 1.5 page if you encounter a bug that
 seems to be related
  to unicode. If it's not there, then please report
 it to the lyx-devel
  mailing list.
 
  * Integrated CJK support
 
  The very first result of the Unicode transition is
 that we have  
  finally
 
=== message 

Problem: TOC section 2 digit numbers crash into text

2007-05-18 Thread Steve Litt
Hi all,

LyX 1.4.2, Mandriva 2007 Linux.

I'm wondering if any of you have solved this already. I'm using a derivative 
ofthe Book document class.

In my table of contents, every section whose number ends in 2 digits (like 
10.12), or maybe it's every section whose number is 5 chars including the 
dot, crashes into the text for that contents line. This happens even if the 
text is incredibly short.

Anyone experienced this yet? Anyone solved it yet?

Thanks

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/



Re: pdf file quality

2007-05-18 Thread Uwe Stöhr

xinlei sun schrieb:


Any one knows where I can change the quality of the
output pdf? thanks!


Have a look here:
http://wiki.lyx.org/FAQ/PDF#toc5

regards Uwe


Re: LyX beta 2.0 on Mac

2007-05-18 Thread Bennett Helm

On May 18, 2007, at 7:23 PM, John Kane wrote:


--- A. Scottedward Hodel [EMAIL PROTECTED] wrote:


I want to echo the praise for LyX given earlier.  I
I've used LyX in
lecture and they are impressed with the quick entry
of equations,
promptly followed by a legible on-screen preview of
the equations.
It's a wonderful tool.


Can you give some more information about this?

It sounds very useful


LyX  Preferences  Graphics  Instant Preview. (Turn it on!)

Bennett


Re: LyX beta 2.0 on Mac

2007-05-18 Thread John Kane

--- Bennett Helm [EMAIL PROTECTED] wrote:

 On May 18, 2007, at 7:23 PM, John Kane wrote:
 
  --- A. Scottedward Hodel [EMAIL PROTECTED]
 wrote:
 
  I want to echo the praise for LyX given earlier. 
 I
  I've used LyX in
  lecture and they are impressed with the quick
 entry
  of equations,
  promptly followed by a legible on-screen preview
 of
  the equations.
  It's a wonderful tool.
 
  Can you give some more information about this?
 
  It sounds very useful
 
 LyX  Preferences  Graphics  Instant Preview.
 (Turn it on!)
 
 Bennett
 
Sounds good but I cannot find Preferences  Graphics 


  Be smarter than spam. See how smart SpamGuard is at giving junk email the 
boot with the All-new Yahoo! Mail at http://mrd.mail.yahoo.com/try_beta?.intl=ca



Re: LyX beta 2.0 on Mac

2007-05-18 Thread Bennett Helm

On May 18, 2007, at 8:45 PM, John Kane wrote:



--- Bennett Helm [EMAIL PROTECTED] wrote:


On May 18, 2007, at 7:23 PM, John Kane wrote:


--- A. Scottedward Hodel [EMAIL PROTECTED] wrote:


I want to echo the praise for LyX given earlier.
I've used LyX in lecture and they are impressed with
the quick entry of equations, promptly followed by a
legible on-screen preview of the equations. It's a
wonderful tool.


Can you give some more information about this?

It sounds very useful


LyX  Preferences  Graphics  Instant Preview.
(Turn it on!)

Bennett


Sounds good but I cannot find Preferences  Graphics


(Preferences  Look and Feel  Graphics  ...)

Bennett


Re: Problem: TOC section 2 digit numbers crash into text

2007-05-18 Thread Jeremy C. Reed
On Fri, 18 May 2007, Steve Litt wrote:

 LyX 1.4.2, Mandriva 2007 Linux.
 
 I'm wondering if any of you have solved this already. I'm using a derivative 
 ofthe Book document class.
 
 In my table of contents, every section whose number ends in 2 digits (like 
 10.12), or maybe it's every section whose number is 5 chars including the 
 dot, crashes into the text for that contents line. This happens even if the 
 text is incredibly short.
 
 Anyone experienced this yet? Anyone solved it yet?

I think you are talking about same problem I have had a few times.

See the archives for Subject:  space needed in table of contents in 
January of 2006.


  Jeremy C. Reed


Re: Problem: TOC section 2 digit numbers crash into text

2007-05-18 Thread Steve Litt
On Friday 18 May 2007 22:17, Jeremy C. Reed wrote:
 On Fri, 18 May 2007, Steve Litt wrote:
  LyX 1.4.2, Mandriva 2007 Linux.
 
  I'm wondering if any of you have solved this already. I'm using a
  derivative ofthe Book document class.
 
  In my table of contents, every section whose number ends in 2 digits
  (like 10.12), or maybe it's every section whose number is 5 chars
  including the dot, crashes into the text for that contents line. This
  happens even if the text is incredibly short.
 
  Anyone experienced this yet? Anyone solved it yet?

 I think you are talking about same problem I have had a few times.

 See the archives for Subject:  space needed in table of contents in
 January of 2006.


   Jeremy C. Reed

Thanks Jeremy,

That was exactly it.

%%% PREVENT TOC NUMBERS FROM CRASHING INTO TEXT
\usepackage{tocloft}% %%% Customize TOC
\addtolength{\cftsecnumwidth}{1em}%   %%% Make space for long numbers in toc 
lines
\setlength{\cftbeforechapskip}{1ex}%  %%% 1 ex above each chapter

Your entry in the LyX Users mailing list archive is here:

http://www.mail-archive.com/lyx-users@lists.lyx.org/msg44621.html

WARNING! Use of package tocloft eliminates the page break before the table of 
contents. To get such a page break, insert ERT \newline.

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Re: LyX version 1.5.0 (beta 3) is released

2007-05-18 Thread Russell Davie
On Fri, 18 May 2007 15:27:28 +0100
José Matos [EMAIL PROTECTED] wrote:

 Public release of LyX version 1.5.0 (beta 3)
 ===

snip

It compiled easily in Ubuntu Dapper under checkinstall.  It now has even *more* 
LyX goodness.

Thanks to all you devs, I miss the group photo on the splash screen!

Here is the checkinstall package: 
http://home.exetel.com.au/randombits/lyx_1.5.0beta3-1_i386.deb
It does not check for dependencies, use at your own risk.

cheers

Russell





Using listings package with beamer.

2007-05-18 Thread Bo Peng

Dear all,

I am trying to use listings with beamer, I learned that

1. beamer 3.07 is required.

2. listings can not be float (understandable)

3. the option fragile after \begin{frame} is necessary.

How would I insert this [fragile] option in lyx?

Bo


Re: LyX is wonderful -- thank you!

2007-05-18 Thread Gunnar Lindholm
 Hi Steve, I took your praise and placed a copy on the relevant page on the
 wiki:

   http://wiki.lyx.org/LyX/Praise

 /Christian

 PS. I'm forwarding this to the developers' list, it's good to remember now
 and then that LyX is really appreciated :-)

While on the subject of praising LyX I can only say that I can't imagine me 
writing the book I'm doing right now (soon 500 pages and still not finished) 
with any other tool. I've used it since the beginning (1997-ish) and it has 
really evolved into the only real tool for writing. 

All problems (almost) I've had has been solved by LyX and the both wise and 
helpful people on this list! Thanks. One of the problems I've reported to 
bugzilla was fixed a few days ago also. I can't imagine that happen with any 
other tool! So big thanks to the developer also!

The remaining problems are pure LaTeX problems and that pdflatex is beeing a 
little slow on generating postscript for preview when you have 500 pages. 
Then 2-3 seconds feels like an eternity ;-)

Gunnar


Re: How to put title and text in a box? SOLVED

2007-05-18 Thread Daniel Lohmann
Steve Litt wrote:
 Oh never mind, I already solved this problem and forgot I'd solved it. I made 
 the title LyX environment with a LatexType of command, and had that command 
 set a variable, and then the box text environment used that variable.
 

Steve,

Would you mind sharing the relevant parts of your layout file / preamble
for this? I am just trying to get something like this working for my thesis.

Thanks!

Daniel


Instant preview in 1.5.0 under Win Vista

2007-05-18 Thread A S

Hi, I have just installed LyX 1.5.0 beta (from
ftp://ftp.devel.lyx.org/pub/lyx/pre), under Windows Vista, but instant
preview does not behave as normal. If I start writing a new document,
maths is shown with instant preview, but if I load a previously
written document, the formulas don't change, even if I go in and out
of a formula. Moreover, even when I get instant preview, big symbols
like integrals, sums, and products don't show up.
Is this an issue with LyX, Vista, or both?

Regards,
Alex


Re: Why Lyx-Word?

2007-05-18 Thread Helge Hafting

Julio Rojas wrote:


Now my problem is that my tutor only uses Word. He doesn't want to
expend his time learning LyX, even thou there's really nothing to
learn (I'll do all the LaTeX job and he'll only do some writing).

How about:
You write with LyX, and sends him PDF. Anybody can read PDF.
He writes his answers in word (or
plain text email), possibly cutting and pasting
text from the PDF.

You then copy from his messages and paste into your
LyX document.

Does he have to write in the _same_ document file?

Helge Hafting


Re: How to put title and text in a box?

2007-05-18 Thread Helge Hafting

Steve Litt wrote:

Hi all,

All my books contain, interspersed throughout regular text, boxes breaking out 
special stuff. The boxes are centered and have slightly narrower margins than 
the rest of the text. Each box has a large box title on the top line, and the 
text of the message to the reader in the rest of the box. Titles are often 
things like NOTE, TIP, WARNING, CAUTION, but often are completely ad-hock 
text, which is why I can't simply create an environment for each.
  

Well - do you need latex code at all? LyX supports boxes
directly, and you can use a normal heading inside the box.
The box can of course be centered.

Or do you need something that insert-box don't offer?

Helge Hafting


Re: Creating a document class

2007-05-18 Thread Helge Hafting

NicoWinger wrote:

Hello,
 
I'm still creating a document class for the quote guidelines of our

university and a belonging template. Both is nearly finished, but there is
one thing that still bothers me. The cover: There are very strong
requirements for the position of title, name etc. So far I made it with a
table in the template but I would like to create new LaTeX-commands in the
document class for putting every style (Name, Title etc.) at its specified
position on the page with a label (similar to the letter-class). That would
enable the user to create the cover without template setting a style for any
detail.
 
I've tried many versions, but the LaTeX-Commands don't work! Please help me!
 
For illustration I'll show you the accordant lines of my document class:
 
# Input general definitions

Input scrartcl.layout
 
Preamble

\usepackage[paper=a4paper,left=3.5cm,right=1.5cm,top=2.5cm,bottom=2.0cm]{geo
metry}
\renewcommand{\sfdefault}{phv}
\sffamily
\fontsize{11}{11}
\linespread{1.5}
\usepackage[T1]{fontenc}
\pagenumbering{Roman}
\usepackage{scrpage2}
\pagestyle{scrheadings}
\ihead[]{}
\ohead[]{}
\chead[]{\pagemark}
\cfoot[]{}
\renewcommand{\pnumfont}{\normalfont\sffamily}
\setkomafont{footnote}{\sffamily}
\setlength{\parindent}{0pt}
\setlength{\parskip}{2ex}
\usepackage[latin1]{inputenc}
Endpreamble
 
And to add new styles for cover, name etc.:
 
Style Deckblatt_Titel

 LeftMargin
 LatexType   Command
 LatexName   deckblatttitel
 LabelType Static
 LabelString   Titel:
 LabelSep  x
 LabelFont
   Shape   Italic
   Color   blue
 EndFont
 TextFont
   Family   Sans
   Series   Bold
   Sizelarger
 EndFont
 BottomSep 2.0
 Spacing   Other 0.9
 Preamble
 
\newcommand{\deckblatttitel}[3]{{\pagebreak#1}{\setlength{\marginparwidth}{1

0mm}#2}{\bf#3}}
   %\setkomafont{deckblatttitel}{\normalfont\sffamily\bfseries}
 EndPreamble
End
 
What is wrong? In LyX all works, but with converting to PDF, nothing happens

with the styles. I would be very happy to get an solution for my problem.
 

Seems to me that your \decblatttitel command is set up to take three
parameters.  But where would they come from?
When you use this style, LyX will issue a \decblatttitel command
with only  parameter - the text you typed in that style.

To debug things like this - use export-latex and see what
kind of latex code LyX generate with your document class.

Helge Hafting


Re: LyX is wonderful -- thank you!

2007-05-18 Thread José Matos
On Thursday 17 May 2007 10:19:56 pm Chuming Chen wrote:
 I am using lyx 1.4.3-5 and looking forward to the final release of lyx
 1.5. I did a little bit customization to fit my needs. i.e. installed
 some layouts and document classes.
 Do I need to do it again when I switch to 1.5?

  We have a user directory (e.g. usually ~/.lyx under linux) where this is 
preserved between releases. I am not sure about the full details regarding 
other platforms. :-)

 Thanks,

-- 
José Abílio


Re: How to Spot a Word Processed Book

2007-05-18 Thread Helge Hafting

Stefano Franchi wrote:


Yes. In my field---Humanities---this is the almost universal rule. The 
academically serious publishers (i.e. those you need to publish with 
to get tenure ;-) ) want complete control and use MS Word as an 
editing format which they will input, typically, into InDesign (used 
to be Quark Xpress, but we know the story). Some of the most 
established publishers will even take this approach a step further and 
actually retype the whole book from the typescript, as it was done 
decades ago. They claim it is actually cheaper to use someone in India 
to retype it than to pay someone in the US to spot hidden problems in 
the word processing file. (I had personal experience with this 
approach, I am not kidding).

Well, if they *retype*, then they surely don't need a ms word file.
a PDF works just as well, or even typwritten manuscript. . .
Similar situation with Humanities journals--Word is now required for 
exactly the same reason. Now that I completely switched to LyX (I used 
to be a Framemaker user, and FrameMaker has a more than decent FM- MS 
Word capabilities), I have to go through the unpleasant experience of 
converting back to Word (through the OO route)  before submitting.
Exporting to text and reimporting into Word is not really an option 
because you lose all the basic formatting that actually conveys 
important semantic information---from emphasis to footnotes to 
sectioning, etcetera.
In my case---Humanities, again---the real solution would be a minimal 
LyX MS Word export function that preserved the most essential, 
content-bound formatting of the document: footnote/endnotes, emphasis, 
headings, etc.


Of course, one could ask why not make LyX the official wordprocessor
instead of MS Word, and supply a LyX layout instead of a MS Word style
template. The answer is simply that it's very hard to find willing and
qualified authors for the amount mainstream publishers are willing to 
pay,
and it would be far easier to get the few LyX/LaTeX users to switch 
to MS
Word than to get the multitudes of MS Word users to switch to LyX, 
which many

haven't heard of, don't have, and don't know how to install.



Exactly. The vast majority of my colleagues are not even aware that 
there is a category difference between word processor and MS Word. 
The tend to think there is no difference between the two terms and 
could not care less for an explanation of such difference.

Yuck - what an attitude! If they don't care about an explanation, just send
them some LyX files.  When they complain, show that they
open fine here!  :-(

Helge Hafting


Re: How to put title and text in a box?

2007-05-18 Thread Steve Litt
On Friday 18 May 2007 08:07, Helge Hafting wrote:
 Steve Litt wrote:
  Hi all,
 
  All my books contain, interspersed throughout regular text, boxes
  breaking out special stuff. The boxes are centered and have slightly
  narrower margins than the rest of the text. Each box has a large box
  title on the top line, and the text of the message to the reader in the
  rest of the box. Titles are often things like NOTE, TIP, WARNING,
  CAUTION, but often are completely ad-hock text, which is why I can't
  simply create an environment for each.

 Well - do you need latex code at all? LyX supports boxes
 directly, and you can use a normal heading inside the box.
 The box can of course be centered.

 Or do you need something that insert-box don't offer?

Thanks Helge,

I didn't even know Insert-box existed. That's gonna save me a lot of time on 
shorter documents.

Now to answer your question...

My box has all these features that Insert-box doesn't give you (natively):

* Narrower text width than body text
* A background color
* A large, bold, centered title
* Different formatting for the box text (in this case ragged right)

One could probably fine tune all that each time, but... Or one could make 
environments for the title and text, but then why not just have those two 
environments do the whole job.

Also, from a conceptual viewpoint, any time you have type of content that 
serves a special purpose, you should probably have a style for that type of 
content so that, in the future, if you want to change the appearance of every 
occurrence of that type of content, you just change your layout.

On that subject, the working version, of those environments, which I used in 
first-drafting the book, didn't use a minipage -- it just narrowed the text 
and put lines above and below the box. I wrote the book like that, and then 
at the last minute, took the time to convert the style to print in a shaded 
minipage, and all my boxes became shaded and quit page breaking at bad 
places.

Thanks

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Re: Why Lyx-Word?

2007-05-18 Thread Julio Rojas

Well, that could work and some of that is what we've using, but for the
thesis I don't think that's plausible. Notes for text already written and
ideas about moving paragraphs, are better seen in the actual document. At
least from an editorial point of view. I think that for my theisis I'll
stick to PDF's with comments, at least while I install LyX on his PC.

Anyway, thanks Helge. I'll keep you guys informed on the process.

On 5/18/07, Helge Hafting [EMAIL PROTECTED] wrote:


Julio Rojas wrote:

 Now my problem is that my tutor only uses Word. He doesn't want to
 expend his time learning LyX, even thou there's really nothing to
 learn (I'll do all the LaTeX job and he'll only do some writing).
How about:
You write with LyX, and sends him PDF. Anybody can read PDF.
He writes his answers in word (or
plain text email), possibly cutting and pasting
text from the PDF.

You then copy from his messages and paste into your
LyX document.

Does he have to write in the _same_ document file?

Helge Hafting





--
-
Julio Rojas
[EMAIL PROTECTED]


[announce] LyX 1.5beta3-18-05-2007 for Windows

2007-05-18 Thread Uwe Stöhr

Hello LyXers,

I uploaded an installer for LyX 1.5beta3:
https://developer.berlios.de/project/showfiles.php?group_id=5117release_id=12796

Changelog to last development snapshot:

Version LyX 1.5beta3-18-05-2007
- LyX 1.5 beta3 from 18-05-2007
  - fix bug, introduced with last version, that all margin notes in
a document are lost
  - support for Chinese, Japanese and Korean
  - support for the LaTeX-package listings

Installer changes:
- updated to ImageMagick 6.3.4
- updated to Python 2.5.1
- updated to MiKTeX 2.6 (version 2675)
- fix bug that LyX's menu language setting was ignored when LyX is
  started by double-clicking on a LyX-file
- when Updating PDFs, the PDF is opened at the last viewed position
  (only works with Acrobat/Adobe Reader version = 7)
- fix hopefully the case that PDFs couldn't be updated when
  Adobe Reader 8 is used on Windows Vista
- fix bug that MiKTeX and JabRef weren't correctly uninstalled

-

The Update installer version allows you to update your existing LyX 
installation to the latest
version. To use this installer you must have my last development snaphot LyX 
1.5beta2-02-05-2007
installed.

(More infos about the installer can be found here:
http://wiki.lyx.org/Windows/LyXWinInstaller )

-

For the update and support for MiKTeX 2.6 the installer source code had to be changed massively. So 
if you encounter problems with the installer, mail me directly or report them at bugzilla.lyx.org 
(please check that the reports don't already exists).


--- disclaimer ---
The LyX 1.5svn builds are for testers and interested LyXers to test the new 
features.
If you find bugs, please have a look at
http://bugzilla.lyx.org
and report them there if they aren't already reported.

Note! LyX 1.5 is in beta state, that means that it is still under very
active development. So don't use LyX1.5svn builds for production!

happy testing and best regards
Uwe



Re: How to put title and text in a box? SOLVED

2007-05-18 Thread Steve Litt
On Friday 18 May 2007 06:53, Daniel Lohmann wrote:
 Steve Litt wrote:
  Oh never mind, I already solved this problem and forgot I'd solved it. I
  made the title LyX environment with a LatexType of command, and had that
  command set a variable, and then the box text environment used that
  variable.

 Steve,

 Would you mind sharing the relevant parts of your layout file / preamble
 for this? I am just trying to get something like this working for my
 thesis.

 Thanks!

 Daniel

Hi Daniel,

I've put it in the body of this email below my sig. Let me explain:

I've named the two LyX environments CalloutTitle and CalloutText. CalloutTitle 
has latextype command, and calls the LaTeX command callouttitleL, which 
simply sets command callouttitleT to the text to which CalloutTitle was 
applied. The LyX parameters of LyX environment CalloutTitle are set to an 
appropriately big font etc, so it shows up realistically in the LyX GUI.

LyX environment CalloutText is applied to the text of the centered box. Its 
latextype is Environment, and it calls LaTeX environment callouttextL. Its 
LyX parameters are set to make it narrower than the body text.

That brings us to LaTeX command callouttextL, which does most of the work.

 ENVIRONMENT INITIALIZATION 
CalouttextL prints its contents within a shaded box (\begin{shaded}). As 
mentioned, this shaded box is contributed by package framed. I basically tore 
this environment out of the layout of my 2001 book Troubleshooting 
Techniques of the Successful Troubleshooter,  so bear in mind that it was 
written by a (then) LyX newbie.

Using package framed, callouttextL moves the box up .45 inch to narrow what 
would otherwise be its oceanic separation from the text above, then sets 4pt 
margins within the highlighted box, defines the box's background color, then 
starts the box.

Within the box it center-Large prints the contents of callouttitleT, which is 
the title stored by LyX environemnt CalloutTitle. It then raggedrights and 
creates a rather large 16 point paragraph indentation. That concludes the 
environment initialization.

 TEXT PRINTING 
Then the text to which CalloutText has been applied prints within the box and 
styles declared in the initialization.

 ENVIRONMENT FINALIZATION 
The environment is finalized by ending the shaded box, and then starting a new 
paragraph so the first paragraph of the next text doesn't start within the 
shaded box.

HTH

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/



#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[book]{mybook}

Input stdclass.inc
Input numreport.inc

Preamble
\usepackage{framed}% Frames for notes, tips, etc

% ### Callout title and text latex
\newcommand{\callouttitleL}[1]{\def\callouttitleT{#1}}

\newenvironment{callouttextL}
  {%
  ~\\[-0.45in]%
  \setlength\fboxsep{4pt}%
  \definecolor{shadecolor}{rgb}{1.00,0.90,0.90}%
  \begin{shaded}%
  \addtolength{\hsize}{-0.20\columnwidth}%
  {\centering\Large\callouttitleT\\[0.2cm]}%
  \raggedright%
  \setlength\parindent{16pt}%
  }%
  {%
  \end{shaded}%
  \par
  }%

EndPreamble



### CALLOUT LYX STYLES
Style CalloutTitle
Font
Series  Bold
Size Larger
EndFont
LatexName   callouttitleL
LatexType   Command
  Align Center
End

Style CalloutText
  LatexType Environment
  LatexName callouttextL
  LeftMarginMM
  RightMargin   MM
  ParIndent MMM
  TopSep1.4
  ItemSep   0.7
  ParSep0.7
  BottomSep 0.7
  Align Block
  AlignPossible Block

  Font 
   Series   Medium
   Size Normal
   ShapeItalic
  EndFont
End



Creating a layout for IOP publishing.

2007-05-18 Thread Stanislaw Kalicinski

Hi,

I'm currently working on a layout for IOP articles (I will make it available
as soon as it's finished). The reason why I'm doing it is the layout
which available ( wiki.lyx.org ) is rather poor and not satisfying me.

The problem is that in LyX I want to make use of some ready to use
macros from iopart.cls. So, instead of explicitly typing LaTeX code in LyX,
I would prefer to create a new style that would insert a macro into
the code  e.g.

\Bibliography{num}
\endbib

where num is the same as in the standard Bibliography environment (i.e.
\begin{thebibliography}{num})

or

\Table{\label{label}Table caption}
\endTable (or \endtab)

Is it possible to do in the current version of LyX? If yes, could you send
me some hints or examples solving a similar problem.

Thanks in advance!

Stanislaw Kalicinski


Re: LyX version 1.5.0 (beta 3) is released

2007-05-18 Thread Jean-Marc Lasgouttes
 José == José Matos [EMAIL PROTECTED] writes:

José You can download LyX 1.5.0beta3 here (the .bz2 are compressed
José with bzip2, which yields smaller files):

José   ftp://ftp.lyx.org/pub/lyx/devel/lyx-1.5.0beta3.tar.gz
José ftp://ftp.lyx.org/pub/lyx/devel/lyx-1.5.0beta3.tar.bz2

Err, this is not where I put them...

Also, you should set reply-to: to lyx-devel (I put lyx-users for
stable releases). 

JMarc


LyX version 1.5.0 (beta 3) is released

2007-05-18 Thread José Matos
Public release of LyX version 1.5.0 (beta 3)
===

We are glad to announce the release of LyX 1.5.0 (beta 3).

Compared with the previous beta release we have fixed several bugs
and added some improvements, namely a new inset to support code listings.

We have enabled the converter file cache by default.

Internally we have renamed files to follow a consistent name pattern,
this will allow an easier navigation of the source code thus simplifying
bug fixing.

Compared with the latest stable release, this is the culmination of
one year of hard work, and we sincerely hope you will enjoy the
results. The changes are too numerous to summarize in a few words,
with initial unicode support being the flagship among the new
features, see the end of this announcement for details.

As usual with a major release, a lot of work that is not directly
visible has taken place. The core of LyX has seen more cleanups and
some of the new features are the direct results of this work.

The file RELEASE-NOTES lists some known issues with this release
compared to the latest stable release (LyX 1.4.4). An updated list of
issues might later be found at http://wiki.lyx.org/LyX/ReleaseNotes


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

   LyX is a document processor that encourages an approach to writing
   based on the structure of your documents, not their appearance. It
   is released under a Free Software / Open Source license.

   LyX is for people that write and want their writing to look great,
   right out of the box. No more endless tinkering with formatting
   details, 'finger painting' font attributes or futzing around with page
   boundaries. You just write. In the background, Prof. Knuth's legendary
   TeX typesetting engine makes you look good.

   On screen, LyX looks like any word processor; its printed output -- or
   richly cross-referenced PDF, just as readily produced -- looks like
   nothing else. Gone are the days of industrially bland .docs, all
   looking similarly not-quite-right, yet coming out unpredictably
   different on different printer drivers. Gone are the crashes 'eating'
   your dissertation the evening before going to press.

   LyX is stable and fully featured. It is a multi-platform, fully
   internationalized application running natively on Unix/Linux and the
   Macintosh and modern Windows platforms. 

You can download LyX 1.5.0beta3 here (the .bz2 are compressed with
bzip2, which yields smaller files):

ftp://ftp.lyx.org/pub/lyx/devel/lyx-1.5.0beta3.tar.gz
ftp://ftp.lyx.org/pub/lyx/devel/lyx-1.5.0beta3.tar.bz2

Note that due to the amount of changes no patch is provided to upgrade
from version 1.4.4.

Prebuilt binaries (rpms for linux distributions, Mac OS X and Windows
installers) should soon be available at
ftp://ftp.lyx.org/pub/lyx/devel/


If you find what you think is a bug in LyX 1.5.0beta3, you may either
e-mail the LyX developers' mailing list (lyx-devel @ lists.lyx.org), 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/. If you can't find the answer there,
e-mail the LyX users' list (lyx-users @ lists.lyx.org).

Enjoy!

The LyX team.


What's new in version 1.5.0 (beta 3)?


* Unicode

LyX 1.5's big goal was to use unicode internally and so resolve a slew
of existing problems with special characters and non-alphabetic
languages. LyX 1.5 is able to output unicode (in addition to
encodings current available), so that you can use LaTeX's new utf8
encoding or such brand new typesetting systems as XeTeX.
Since the change to unicode touched much of the code base and some
areas still need a cleanup it is very likely that some bugs related to
the unicode transition still exist. Please have a look at the Known
bugs in LyX 1.5 page if you encounter a bug that seems to be related
to unicode. If it's not there, then please report it to the lyx-devel
mailing list.

* Integrated CJK support

The very first result of the Unicode transition is that we have finally
merged in the externally maintained CJK-LyX branch.

* Multiple views of the same buffer

LyX can now display multiple views of the same buffer. I.e., you can
now open a single document in multiple windows and work on different
parts of it synchronously.

* Outliner and embedded TOC

LyX has another long-awaited feature: a basic outliner mode, in which
you can move chapters and sections around in the Table of Contents
dialog. (The outliner has been backported and was released with LyX
1.4.4.) The TOC dialog is now a dock widget, embedded in the main window.

* Session management

LyX is now able to remember window size and position and it will
reopen the documents you worked on last time around. If you've
selected the feature in the Preferences dialog, it'll even move the
cursor to the place 

Mac LyX 1.4.4 problem with Natbib

2007-05-18 Thread Julio Rojas

Hi, my wife uses LyX on her Mac. She was using 1.4.3 without problems until
some weird error was present on her latest article class document. When
using Natbib in author, year format, the following error is presented
instead of references:

(author?) [4, 30–32]

As you can see, even thou the document uses author, year, the references
are presented numerically. And the name is substituted with that weird
(author?). This is the same for all references. I have installed 1.4.4 but
the problem lingers on.

Any idea? Thanks in advance.

--
-
Julio Rojas
[EMAIL PROTECTED]


Re: Why Lyx-Word?

2007-05-18 Thread Charles de Miramon
Julio Rojas wrote:

 Anyway, thanks Helge. I'll keep you guys informed on the process.
 

Not a solution for now but okular the next generation KDE pdf reader will
have annotations support.

http://kpdf.kde.org/okular/screenies/okular-annotations.png

KDE 4 applications should also work under Windows.

Cheers,
Charles

-- 
http://www.kde-france.org



LyX beta 2.0 on Mac

2007-05-18 Thread A. Scottedward Hodel
I had a few spare moments and decided to try the new 1.5 beta on an  
Intel Mac.  I like the new layout; I quickly found a possible bug.


I attempted to load an old LyX file that had many (in excess of 40)  
child documents. The beta opened all of them, and as a result I have  
a document bar composed of more than 40 document buttons, the total  
of which are now wider than both screens on my mac put together.


I suppose that the preferable behavior would be to wrap the document  
buttons onto separate lines.




I want to echo the praise for LyX given earlier.  I I've used LyX in  
lecture and they are impressed with the quick entry of equations,  
promptly followed by a legible on-screen preview of the equations.   
It's a wonderful tool.


A. Scottedward Hodel, 334 844-1854, fax 334 844-1809
[EMAIL PROTECTED] http://www.eng.auburn.edu/~hodelas



On May 18, 2007, at 9:27 AM, José Matos wrote:


Public release of LyX version 1.5.0 (beta 3)
===

We are glad to announce the release of LyX 1.5.0 (beta 3).

Compared with the previous beta release we have fixed several bugs
and added some improvements, namely a new inset to support code  
listings.


We have enabled the converter file cache by default.

Internally we have renamed files to follow a consistent name pattern,
this will allow an easier navigation of the source code thus  
simplifying

bug fixing.

Compared with the latest stable release, this is the culmination of
one year of hard work, and we sincerely hope you will enjoy the
results. The changes are too numerous to summarize in a few words,
with initial unicode support being the flagship among the new
features, see the end of this announcement for details.

As usual with a major release, a lot of work that is not directly
visible has taken place. The core of LyX has seen more cleanups and
some of the new features are the direct results of this work.

The file RELEASE-NOTES lists some known issues with this release
compared to the latest stable release (LyX 1.4.4). An updated list of
issues might later be found at http://wiki.lyx.org/LyX/ReleaseNotes


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

   LyX is a document processor that encourages an approach to writing
   based on the structure of your documents, not their appearance. It
   is released under a Free Software / Open Source license.

   LyX is for people that write and want their writing to look great,
   right out of the box. No more endless tinkering with formatting
   details, 'finger painting' font attributes or futzing around  
with page
   boundaries. You just write. In the background, Prof. Knuth's  
legendary

   TeX typesetting engine makes you look good.

   On screen, LyX looks like any word processor; its printed output  
-- or

   richly cross-referenced PDF, just as readily produced -- looks like
   nothing else. Gone are the days of industrially bland .docs, all
   looking similarly not-quite-right, yet coming out unpredictably
   different on different printer drivers. Gone are the crashes  
'eating'

   your dissertation the evening before going to press.

   LyX is stable and fully featured. It is a multi-platform, fully
   internationalized application running natively on Unix/Linux and  
the

   Macintosh and modern Windows platforms.

You can download LyX 1.5.0beta3 here (the .bz2 are compressed with
bzip2, which yields smaller files):

ftp://ftp.lyx.org/pub/lyx/devel/lyx-1.5.0beta3.tar.gz
ftp://ftp.lyx.org/pub/lyx/devel/lyx-1.5.0beta3.tar.bz2

Note that due to the amount of changes no patch is provided to upgrade
from version 1.4.4.

Prebuilt binaries (rpms for linux distributions, Mac OS X and Windows
installers) should soon be available at
ftp://ftp.lyx.org/pub/lyx/devel/


If you find what you think is a bug in LyX 1.5.0beta3, you may either
e-mail the LyX developers' mailing list (lyx-devel @  
lists.lyx.org), 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/. If you can't find the  
answer there,

e-mail the LyX users' list (lyx-users @ lists.lyx.org).

Enjoy!

The LyX team.


What's new in version 1.5.0 (beta 3)?


* Unicode

LyX 1.5's big goal was to use unicode internally and so resolve a slew
of existing problems with special characters and non-alphabetic
languages. LyX 1.5 is able to output unicode (in addition to
encodings current available), so that you can use LaTeX's new utf8
encoding or such brand new typesetting systems as XeTeX.
Since the change to unicode touched much of the code base and some
areas still need a cleanup it is very likely that some bugs related to
the unicode transition still exist. Please have a look at the Known
bugs in LyX 1.5 page if you encounter a bug that seems to be related
to unicode. If it's not there, then 

How to create a good looking and memory conserving full page graphic?

2007-05-18 Thread Steve Litt
Hi all,

The cover of my Ebook was created in Vim, and is incorporated on the first 
page of my LyX file as a .jpg. I started with an 8.5x11 drawing in Gimp, but 
it was too huge and I had to scale the image to quarter size and put it in 
LyX. If I scaled using linear interpolation, the letters were blurry at 
higher magnifications. If I scaled using cubic or Lanczos interpolation, it 
caused some disturbing artifacts, especially at higher magnifications within 
the .pdf file.

Anyone know of a way I can use a full sized 8.5x11 graphic without it taking 
over a megabyte of memory? One would think it would be very compressible. 
Over half the graphic is contiguous pure white, with another 10% contiguous 
pure black.

Thanks

STeveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Re: Creating a layout for IOP publishing.

2007-05-18 Thread Richard Heck


I don't really understand what you're trying to do. Is it that you just 
want some LyX command to insert these two lines:

   \Bibliography{num}
   \endbib
but where num is found automatically? If that's it, then no, that can't 
be done just with layouts, as they do not have access to the LyX kernel, 
which is where num would be found. Then again, you could just set it to 
999 or something. The other problem, though, is that, so far as I know, 
LyX assumes that each layout corresponds to one of a handful of kinds of 
LaTeX constructs---commands, which are output as \command{TEXT}, or 
environments, which are output as \begin{env}TEXT\end{evn}, or items, 
etc. The two lines above don't seem to fall into any of these categories.


Richard

Stanislaw Kalicinski wrote:

Hi,

I'm currently working on a layout for IOP articles (I will make it 
available as soon as it's finished). The reason why I'm doing it is 
the layout which available ( wiki.lyx.org ) is rather poor and not 
satisfying me.


The problem is that in LyX I want to make use of some ready to use 
macros from iopart.cls. So, instead of explicitly typing LaTeX code in 
LyX, I would prefer to create a new style that would insert a macro 
into the code  e.g.


\Bibliography{num}
\endbib

where num is the same as in the standard Bibliography environment (i.e.
\begin{thebibliography}{num})

or

\Table{\label{label}Table caption}
\endTable (or \endtab)

Is it possible to do in the current version of LyX? If yes, could you 
send me some hints or examples solving a similar problem.


Thanks in advance!

Stanislaw Kalicinski





Re: How to create a good looking and memory conserving full page graphic? SOLVED

2007-05-18 Thread Steve Litt
On Friday 18 May 2007 14:57, Steve Litt wrote:
 Hi all,

 The cover of my Ebook was created in Vim, and is incorporated on the first
 page of my LyX file as a .jpg. I started with an 8.5x11 drawing in Gimp,
 but it was too huge and I had to scale the image to quarter size and put it
 in LyX. If I scaled using linear interpolation, the letters were blurry at
 higher magnifications. If I scaled using cubic or Lanczos interpolation, it
 caused some disturbing artifacts, especially at higher magnifications
 within the .pdf file.

 Anyone know of a way I can use a full sized 8.5x11 graphic without it
 taking over a megabyte of memory? One would think it would be very
 compressible. Over half the graphic is contiguous pure white, with another
 10% contiguous pure black.

I figured it out. With a really big graphic, you you must create the graphic 
as a .eps, and within LyX include that .eps. Whatever graphic conversion 
programs LyX uses blows converts from .jpg or .png to a HUGE .eps, much 
bigger than the .eps would be if you created it directly from Gimp.

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Re: How to create a good looking and memory conserving full page graphic? SOLVED

2007-05-18 Thread Les Denham
On Friday 18 May 2007 14:09, Steve Litt wrote:
  Anyone know of a way I can use a full sized 8.5x11 graphic without it
  taking over a megabyte of memory? One would think it would be very
  compressible. Over half the graphic is contiguous pure white, with
  another 10% contiguous pure black.

 I figured it out. With a really big graphic, you you must create the
 graphic as a .eps, and within LyX include that .eps. Whatever graphic
 conversion programs LyX uses blows converts from .jpg or .png to a HUGE
 .eps, much bigger than the .eps would be if you created it directly from
 Gimp.

Steve,

Probably the best way of getting a full page graphic with a reasonable file 
size is to use a vector graphic.  I haven't used them for covers, but I have 
used them for full page illustrations within a document.  Some vector graphic 
formats can be taken care of automatically with Lyx -- Grace .agr format, for 
example, which I use very often -- while others you might export as a .eps 
file from the application that generates the graphic.
-- 
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


Re: Creating a layout for IOP publishing.

2007-05-18 Thread Stanislaw Kalicinski

Hi,

Thank you for a very quick reply.


From your email I understood that what I thought was (sad) true;( I hope it

can be implemented in LyX in the future.

To be more specific I'm giving here below some more details of my problem.

I'm using LyX to write an article to a journal from the IOP (The Institute
Of Physics Publishing). The IOP provides a class file, which is very
helpful. Apart from some classical commands and environments compatible
with LyX the iopart.cls contains some helpful macros that would all in one
job. For instance instead of typing:

\section*{References}
\begin{thebibliography}{num}
\end{thebibliography}

which in LyX would correspond to chosing a standard Section* class and
then inserting Bibliography class items, one would chose an equivalent short
version (defined in iopart.cls)

\Bibliography{num}
\endbib

which seems to not compatible with LyX.

It is not a problem at all, but I wanted to make nice layout for IOP, that
could be inserted into the standard LyX package:)

Best regards
Stanislaw


On 5/18/07, Richard Heck [EMAIL PROTECTED] wrote:



I don't really understand what you're trying to do. Is it that you just
want some LyX command to insert these two lines:
   \Bibliography{num}
   \endbib
but where num is found automatically? If that's it, then no, that can't
be done just with layouts, as they do not have access to the LyX kernel,
which is where num would be found. Then again, you could just set it to
999 or something. The other problem, though, is that, so far as I know,
LyX assumes that each layout corresponds to one of a handful of kinds of
LaTeX constructs---commands, which are output as \command{TEXT}, or
environments, which are output as \begin{env}TEXT\end{evn}, or items,
etc. The two lines above don't seem to fall into any of these categories.

Richard

Stanislaw Kalicinski wrote:
 Hi,

 I'm currently working on a layout for IOP articles (I will make it
 available as soon as it's finished). The reason why I'm doing it is
 the layout which available ( wiki.lyx.org ) is rather poor and not
 satisfying me.

 The problem is that in LyX I want to make use of some ready to use
 macros from iopart.cls. So, instead of explicitly typing LaTeX code in
 LyX, I would prefer to create a new style that would insert a macro
 into the code  e.g.

 \Bibliography{num}
 \endbib

 where num is the same as in the standard Bibliography environment (i.e
.
 \begin{thebibliography}{num})

 or

 \Table{\label{label}Table caption}
 \endTable (or \endtab)

 Is it possible to do in the current version of LyX? If yes, could you
 send me some hints or examples solving a similar problem.

 Thanks in advance!

 Stanislaw Kalicinski





Re: How to create a good looking and memory conserving full page graphic? SOLVED

2007-05-18 Thread Julio Rojas

But if you still want to use a bitmap format, old plain GIF seems to be the
solution for this case. Just index your figure with as few colors as
possible. For this kind of situations GIF does a way better job than JPG.

On 5/18/07, Les Denham [EMAIL PROTECTED] wrote:


On Friday 18 May 2007 14:09, Steve Litt wrote:
  Anyone know of a way I can use a full sized 8.5x11 graphic without it
  taking over a megabyte of memory? One would think it would be very
  compressible. Over half the graphic is contiguous pure white, with
  another 10% contiguous pure black.

 I figured it out. With a really big graphic, you you must create the
 graphic as a .eps, and within LyX include that .eps. Whatever graphic
 conversion programs LyX uses blows converts from .jpg or .png to a HUGE
 .eps, much bigger than the .eps would be if you created it directly from
 Gimp.

Steve,

Probably the best way of getting a full page graphic with a reasonable
file
size is to use a vector graphic.  I haven't used them for covers, but I
have
used them for full page illustrations within a document.  Some vector
graphic
formats can be taken care of automatically with Lyx -- Grace .agr format,
for
example, which I use very often -- while others you might export as a .eps
file from the application that generates the graphic.
--
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html





--
-
Julio Rojas
[EMAIL PROTECTED]


Re: LyX beta 2.0 on Mac

2007-05-18 Thread John Kane

--- A. Scottedward Hodel [EMAIL PROTECTED] wrote:


 I want to echo the praise for LyX given earlier.  I
 I've used LyX in  
 lecture and they are impressed with the quick entry
 of equations,  
 promptly followed by a legible on-screen preview of
 the equations.   
 It's a wonderful tool.

Can you give some more information about this?

It sounds very useful
 
 A. Scottedward Hodel, 334 844-1854, fax 334 844-1809
 [EMAIL PROTECTED]
 http://www.eng.auburn.edu/~hodelas
 
 
 
 On May 18, 2007, at 9:27 AM, José Matos wrote:
 
  Public release of LyX version 1.5.0 (beta 3)
  ===
 
  We are glad to announce the release of LyX 1.5.0
 (beta 3).
 
  Compared with the previous beta release we have
 fixed several bugs
  and added some improvements, namely a new inset to
 support code  
  listings.
 
  We have enabled the converter file cache by
 default.
 
  Internally we have renamed files to follow a
 consistent name pattern,
  this will allow an easier navigation of the source
 code thus  
  simplifying
  bug fixing.
 
  Compared with the latest stable release, this is
 the culmination of
  one year of hard work, and we sincerely hope you
 will enjoy the
  results. The changes are too numerous to summarize
 in a few words,
  with initial unicode support being the flagship
 among the new
  features, see the end of this announcement for
 details.
 
  As usual with a major release, a lot of work that
 is not directly
  visible has taken place. The core of LyX has seen
 more cleanups and
  some of the new features are the direct results of
 this work.
 
  The file RELEASE-NOTES lists some known issues
 with this release
  compared to the latest stable release (LyX 1.4.4).
 An updated list of
  issues might later be found at
 http://wiki.lyx.org/LyX/ReleaseNotes
 
 
  In case you are wondering what LyX is, here is
 what
  http://www.lyx.org/ has to say on the subject:
 
 LyX is a document processor that encourages an
 approach to writing
 based on the structure of your documents, not
 their appearance. It
 is released under a Free Software / Open Source
 license.
 
 LyX is for people that write and want their
 writing to look great,
 right out of the box. No more endless tinkering
 with formatting
 details, 'finger painting' font attributes or
 futzing around  
  with page
 boundaries. You just write. In the background,
 Prof. Knuth's  
  legendary
 TeX typesetting engine makes you look good.
 
 On screen, LyX looks like any word processor;
 its printed output  
  -- or
 richly cross-referenced PDF, just as readily
 produced -- looks like
 nothing else. Gone are the days of industrially
 bland .docs, all
 looking similarly not-quite-right, yet coming
 out unpredictably
 different on different printer drivers. Gone
 are the crashes  
  'eating'
 your dissertation the evening before going to
 press.
 
 LyX is stable and fully featured. It is a
 multi-platform, fully
 internationalized application running natively
 on Unix/Linux and  
  the
 Macintosh and modern Windows platforms.
 
  You can download LyX 1.5.0beta3 here (the .bz2 are
 compressed with
  bzip2, which yields smaller files):
 
  

ftp://ftp.lyx.org/pub/lyx/devel/lyx-1.5.0beta3.tar.gz
  

ftp://ftp.lyx.org/pub/lyx/devel/lyx-1.5.0beta3.tar.bz2
 
  Note that due to the amount of changes no patch is
 provided to upgrade
  from version 1.4.4.
 
  Prebuilt binaries (rpms for linux distributions,
 Mac OS X and Windows
  installers) should soon be available at
  ftp://ftp.lyx.org/pub/lyx/devel/
 
 
  If you find what you think is a bug in LyX
 1.5.0beta3, you may either
  e-mail the LyX developers' mailing list (lyx-devel
 @  
  lists.lyx.org), 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/. If you
 can't find the  
  answer there,
  e-mail the LyX users' list (lyx-users @
 lists.lyx.org).
 
  Enjoy!
 
  The LyX team.
 
 
  What's new in version 1.5.0 (beta 3)?
  
 
  * Unicode
 
  LyX 1.5's big goal was to use unicode internally
 and so resolve a slew
  of existing problems with special characters and
 non-alphabetic
  languages. LyX 1.5 is able to output unicode (in
 addition to
  encodings current available), so that you can use
 LaTeX's new utf8
  encoding or such brand new typesetting systems as
 XeTeX.
  Since the change to unicode touched much of the
 code base and some
  areas still need a cleanup it is very likely that
 some bugs related to
  the unicode transition still exist. Please have a
 look at the Known
  bugs in LyX 1.5 page if you encounter a bug that
 seems to be related
  to unicode. If it's not there, then please report
 it to the lyx-devel
  mailing list.
 
  * Integrated CJK support
 
  The very first result of the Unicode transition is
 that we have  
  finally
 
=== message 

Problem: TOC section 2 digit numbers crash into text

2007-05-18 Thread Steve Litt
Hi all,

LyX 1.4.2, Mandriva 2007 Linux.

I'm wondering if any of you have solved this already. I'm using a derivative 
ofthe Book document class.

In my table of contents, every section whose number ends in 2 digits (like 
10.12), or maybe it's every section whose number is 5 chars including the 
dot, crashes into the text for that contents line. This happens even if the 
text is incredibly short.

Anyone experienced this yet? Anyone solved it yet?

Thanks

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/



Re: pdf file quality

2007-05-18 Thread Uwe Stöhr

xinlei sun schrieb:


Any one knows where I can change the quality of the
output pdf? thanks!


Have a look here:
http://wiki.lyx.org/FAQ/PDF#toc5

regards Uwe


Re: LyX beta 2.0 on Mac

2007-05-18 Thread Bennett Helm

On May 18, 2007, at 7:23 PM, John Kane wrote:


--- A. Scottedward Hodel [EMAIL PROTECTED] wrote:


I want to echo the praise for LyX given earlier.  I
I've used LyX in
lecture and they are impressed with the quick entry
of equations,
promptly followed by a legible on-screen preview of
the equations.
It's a wonderful tool.


Can you give some more information about this?

It sounds very useful


LyX  Preferences  Graphics  Instant Preview. (Turn it on!)

Bennett


Re: LyX beta 2.0 on Mac

2007-05-18 Thread John Kane

--- Bennett Helm [EMAIL PROTECTED] wrote:

 On May 18, 2007, at 7:23 PM, John Kane wrote:
 
  --- A. Scottedward Hodel [EMAIL PROTECTED]
 wrote:
 
  I want to echo the praise for LyX given earlier. 
 I
  I've used LyX in
  lecture and they are impressed with the quick
 entry
  of equations,
  promptly followed by a legible on-screen preview
 of
  the equations.
  It's a wonderful tool.
 
  Can you give some more information about this?
 
  It sounds very useful
 
 LyX  Preferences  Graphics  Instant Preview.
 (Turn it on!)
 
 Bennett
 
Sounds good but I cannot find Preferences  Graphics 


  Be smarter than spam. See how smart SpamGuard is at giving junk email the 
boot with the All-new Yahoo! Mail at http://mrd.mail.yahoo.com/try_beta?.intl=ca



Re: LyX beta 2.0 on Mac

2007-05-18 Thread Bennett Helm

On May 18, 2007, at 8:45 PM, John Kane wrote:



--- Bennett Helm [EMAIL PROTECTED] wrote:


On May 18, 2007, at 7:23 PM, John Kane wrote:


--- A. Scottedward Hodel [EMAIL PROTECTED] wrote:


I want to echo the praise for LyX given earlier.
I've used LyX in lecture and they are impressed with
the quick entry of equations, promptly followed by a
legible on-screen preview of the equations. It's a
wonderful tool.


Can you give some more information about this?

It sounds very useful


LyX  Preferences  Graphics  Instant Preview.
(Turn it on!)

Bennett


Sounds good but I cannot find Preferences  Graphics


(Preferences  Look and Feel  Graphics  ...)

Bennett


Re: Problem: TOC section 2 digit numbers crash into text

2007-05-18 Thread Jeremy C. Reed
On Fri, 18 May 2007, Steve Litt wrote:

 LyX 1.4.2, Mandriva 2007 Linux.
 
 I'm wondering if any of you have solved this already. I'm using a derivative 
 ofthe Book document class.
 
 In my table of contents, every section whose number ends in 2 digits (like 
 10.12), or maybe it's every section whose number is 5 chars including the 
 dot, crashes into the text for that contents line. This happens even if the 
 text is incredibly short.
 
 Anyone experienced this yet? Anyone solved it yet?

I think you are talking about same problem I have had a few times.

See the archives for Subject:  space needed in table of contents in 
January of 2006.


  Jeremy C. Reed


Re: Problem: TOC section 2 digit numbers crash into text

2007-05-18 Thread Steve Litt
On Friday 18 May 2007 22:17, Jeremy C. Reed wrote:
 On Fri, 18 May 2007, Steve Litt wrote:
  LyX 1.4.2, Mandriva 2007 Linux.
 
  I'm wondering if any of you have solved this already. I'm using a
  derivative ofthe Book document class.
 
  In my table of contents, every section whose number ends in 2 digits
  (like 10.12), or maybe it's every section whose number is 5 chars
  including the dot, crashes into the text for that contents line. This
  happens even if the text is incredibly short.
 
  Anyone experienced this yet? Anyone solved it yet?

 I think you are talking about same problem I have had a few times.

 See the archives for Subject:  space needed in table of contents in
 January of 2006.


   Jeremy C. Reed

Thanks Jeremy,

That was exactly it.

%%% PREVENT TOC NUMBERS FROM CRASHING INTO TEXT
\usepackage{tocloft}% %%% Customize TOC
\addtolength{\cftsecnumwidth}{1em}%   %%% Make space for long numbers in toc 
lines
\setlength{\cftbeforechapskip}{1ex}%  %%% 1 ex above each chapter

Your entry in the LyX Users mailing list archive is here:

http://www.mail-archive.com/lyx-users@lists.lyx.org/msg44621.html

WARNING! Use of package tocloft eliminates the page break before the table of 
contents. To get such a page break, insert ERT \newline.

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Re: LyX version 1.5.0 (beta 3) is released

2007-05-18 Thread Russell Davie
On Fri, 18 May 2007 15:27:28 +0100
José Matos [EMAIL PROTECTED] wrote:

 Public release of LyX version 1.5.0 (beta 3)
 ===

snip

It compiled easily in Ubuntu Dapper under checkinstall.  It now has even *more* 
LyX goodness.

Thanks to all you devs, I miss the group photo on the splash screen!

Here is the checkinstall package: 
http://home.exetel.com.au/randombits/lyx_1.5.0beta3-1_i386.deb
It does not check for dependencies, use at your own risk.

cheers

Russell





Using listings package with beamer.

2007-05-18 Thread Bo Peng

Dear all,

I am trying to use listings with beamer, I learned that

1. beamer 3.07 is required.

2. listings can not be float (understandable)

3. the option fragile after \begin{frame} is necessary.

How would I insert this [fragile] option in lyx?

Bo


Re: LyX is wonderful -- thank you!

2007-05-18 Thread Gunnar Lindholm
> Hi Steve, I took your praise and placed a copy on the relevant page on the
> wiki:
>
>   http://wiki.lyx.org/LyX/Praise
>
> /Christian
>
> PS. I'm forwarding this to the developers' list, it's good to remember now
> and then that LyX is really appreciated :-)

While on the subject of praising LyX I can only say that I can't imagine me 
writing the book I'm doing right now (soon 500 pages and still not finished) 
with any other tool. I've used it since the beginning (1997-ish) and it has 
really evolved into the only real tool for writing. 

All problems (almost) I've had has been solved by LyX and the both wise and 
helpful people on this list! Thanks. One of the problems I've reported to 
bugzilla was fixed a few days ago also. I can't imagine that happen with any 
other tool! So big thanks to the developer also!

The remaining problems are pure LaTeX problems and that pdflatex is beeing a 
little slow on generating postscript for preview when you have 500 pages. 
Then 2-3 seconds feels like an eternity ;-)

Gunnar


Re: How to put title and text in a box?

2007-05-18 Thread Daniel Lohmann
Steve Litt wrote:
> Oh never mind, I already solved this problem and forgot I'd solved it. I made 
> the title LyX environment with a LatexType of command, and had that command 
> set a variable, and then the box text environment used that variable.
> 

Steve,

Would you mind sharing the relevant parts of your layout file / preamble
for this? I am just trying to get something like this working for my thesis.

Thanks!

Daniel


Instant preview in 1.5.0 under Win Vista

2007-05-18 Thread A S

Hi, I have just installed LyX 1.5.0 beta (from
ftp://ftp.devel.lyx.org/pub/lyx/pre), under Windows Vista, but instant
preview does not behave as normal. If I start writing a new document,
maths is shown with instant preview, but if I load a previously
written document, the formulas don't change, even if I go in and out
of a formula. Moreover, even when I get instant preview, "big" symbols
like integrals, sums, and products don't show up.
Is this an issue with LyX, Vista, or both?

Regards,
Alex


Re: Why Lyx->Word?

2007-05-18 Thread Helge Hafting

Julio Rojas wrote:


Now my problem is that my tutor only uses Word. He doesn't want to
expend his time "learning" LyX, even thou there's really nothing to
learn (I'll do all the LaTeX job and he'll only do some writing).

How about:
You write with LyX, and sends him PDF. Anybody can read PDF.
He writes his answers in word (or
plain text email), possibly cutting and pasting
text from the PDF.

You then copy from his messages and paste into your
LyX document.

Does he have to write in the _same_ document file?

Helge Hafting


Re: How to put title and text in a box?

2007-05-18 Thread Helge Hafting

Steve Litt wrote:

Hi all,

All my books contain, interspersed throughout regular text, boxes breaking out 
special stuff. The boxes are centered and have slightly narrower margins than 
the rest of the text. Each box has a large box title on the top line, and the 
text of the message to the reader in the rest of the box. Titles are often 
things like NOTE, TIP, WARNING, CAUTION, but often are completely ad-hock 
text, which is why I can't simply create an environment for each.
  

Well - do you need latex code at all? LyX supports boxes
directly, and you can use a normal heading inside the box.
The box can of course be centered.

Or do you need something that insert->box don't offer?

Helge Hafting


Re: Creating a document class

2007-05-18 Thread Helge Hafting

NicoWinger wrote:

Hello,
 
I'm still creating a document class for the quote guidelines of our

university and a belonging template. Both is nearly finished, but there is
one thing that still bothers me. The cover: There are very strong
requirements for the position of title, name etc. So far I made it with a
table in the template but I would like to create new LaTeX-commands in the
document class for putting every style (Name, Title etc.) at its specified
position on the page with a label (similar to the letter-class). That would
enable the user to create the cover without template setting a style for any
detail.
 
I've tried many versions, but the LaTeX-Commands don't work! Please help me!
 
For illustration I'll show you the accordant lines of my document class:
 
# Input general definitions

Input scrartcl.layout
 
Preamble

\usepackage[paper=a4paper,left=3.5cm,right=1.5cm,top=2.5cm,bottom=2.0cm]{geo
metry}
\renewcommand{\sfdefault}{phv}
\sffamily
\fontsize{11}{11}
\linespread{1.5}
\usepackage[T1]{fontenc}
\pagenumbering{Roman}
\usepackage{scrpage2}
\pagestyle{scrheadings}
\ihead[]{}
\ohead[]{}
\chead[]{\pagemark}
\cfoot[]{}
\renewcommand{\pnumfont}{\normalfont\sffamily}
\setkomafont{footnote}{\sffamily}
\setlength{\parindent}{0pt}
\setlength{\parskip}{2ex}
\usepackage[latin1]{inputenc}
Endpreamble
 
And to add new styles for cover, name etc.:
 
Style Deckblatt_Titel

 LeftMargin
 LatexType   Command
 LatexName   deckblatttitel
 LabelType Static
 LabelString   "Titel:"
 LabelSep  x
 LabelFont
   Shape   Italic
   Color   blue
 EndFont
 TextFont
   Family   Sans
   Series   Bold
   Sizelarger
 EndFont
 BottomSep 2.0
 Spacing   Other 0.9
 Preamble
 
\newcommand{\deckblatttitel}[3]{{\pagebreak#1}{\setlength{\marginparwidth}{1

0mm}#2}{\bf#3}}
   %\setkomafont{deckblatttitel}{\normalfont\sffamily\bfseries}
 EndPreamble
End
 
What is wrong? In LyX all works, but with converting to PDF, nothing happens

with the styles. I would be very happy to get an solution for my problem.
 

Seems to me that your \decblatttitel command is set up to take three
parameters.  But where would they come from?
When you use this style, LyX will issue a \decblatttitel command
with only  parameter - the text you typed in that style.

To debug things like this - use export->latex and see what
kind of latex code LyX generate with your document class.

Helge Hafting


Re: LyX is wonderful -- thank you!

2007-05-18 Thread José Matos
On Thursday 17 May 2007 10:19:56 pm Chuming Chen wrote:
> I am using lyx 1.4.3-5 and looking forward to the final release of lyx
> 1.5. I did a little bit customization to fit my needs. i.e. installed
> some layouts and document classes.
> Do I need to do it again when I switch to 1.5?

  We have a user directory (e.g. usually ~/.lyx under linux) where this is 
preserved between releases. I am not sure about the full details regarding 
other platforms. :-)

> Thanks,

-- 
José Abílio


Re: How to Spot a Word Processed Book

2007-05-18 Thread Helge Hafting

Stefano Franchi wrote:


Yes. In my field---Humanities---this is the almost universal rule. The 
"academically serious publishers" (i.e. those you need to publish with 
to get tenure ;-) ) want complete control and use MS Word as an 
editing format which they will input, typically, into InDesign (used 
to be Quark Xpress, but we know the story). Some of the most 
established publishers will even take this approach a step further and 
actually retype the whole book from the typescript, as it was done 
decades ago. They claim it is actually cheaper to use someone in India 
to retype it than to pay someone in the US to spot hidden problems in 
the word processing file. (I had personal experience with this 
approach, I am not kidding).

Well, if they *retype*, then they surely don't need a ms word file.
a PDF works just as well, or even typwritten manuscript. . .
Similar situation with Humanities journals--Word is now required for 
exactly the same reason. Now that I completely switched to LyX (I used 
to be a Framemaker user, and FrameMaker has a more than decent FM-> MS 
Word capabilities), I have to go through the unpleasant experience of 
converting back to Word (through the OO route)  before submitting.
Exporting to text and reimporting into Word is not really an option 
because you lose all the basic formatting that actually conveys 
important semantic information---from emphasis to footnotes to 
sectioning, etcetera.
In my case---Humanities, again---the real solution would be a minimal 
LyX MS Word export function that preserved the most essential, 
content-bound formatting of the document: footnote/endnotes, emphasis, 
headings, etc.


Of course, one could ask "why not make LyX the official "wordprocessor"
instead of MS Word, and supply a LyX layout instead of a MS Word style
template. The answer is simply that it's very hard to find willing and
qualified authors for the amount mainstream publishers are willing to 
pay,
and it would be far easier to get the few LyX/LaTeX users to switch 
to MS
Word than to get the multitudes of MS Word users to switch to LyX, 
which many

haven't heard of, don't have, and don't know how to install.



Exactly. The vast majority of my colleagues are not even aware that 
there is a category difference between "word processor" and "MS Word." 
The tend to think there is no difference between the two terms and 
could not care less for an explanation of such difference.

Yuck - what an attitude! If they don't care about an explanation, just send
them some LyX files.  When they complain, show that "they
open fine here!"  :-(

Helge Hafting


Re: How to put title and text in a box?

2007-05-18 Thread Steve Litt
On Friday 18 May 2007 08:07, Helge Hafting wrote:
> Steve Litt wrote:
> > Hi all,
> >
> > All my books contain, interspersed throughout regular text, boxes
> > breaking out special stuff. The boxes are centered and have slightly
> > narrower margins than the rest of the text. Each box has a large box
> > title on the top line, and the text of the message to the reader in the
> > rest of the box. Titles are often things like NOTE, TIP, WARNING,
> > CAUTION, but often are completely ad-hock text, which is why I can't
> > simply create an environment for each.
>
> Well - do you need latex code at all? LyX supports boxes
> directly, and you can use a normal heading inside the box.
> The box can of course be centered.
>
> Or do you need something that insert->box don't offer?

Thanks Helge,

I didn't even know Insert->box existed. That's gonna save me a lot of time on 
shorter documents.

Now to answer your question...

My box has all these features that Insert->box doesn't give you (natively):

* Narrower text width than body text
* A background color
* A large, bold, centered title
* Different formatting for the box text (in this case ragged right)

One could probably fine tune all that each time, but... Or one could make 
environments for the title and text, but then why not just have those two 
environments do the whole job.

Also, from a conceptual viewpoint, any time you have type of content that 
serves a special purpose, you should probably have a style for that type of 
content so that, in the future, if you want to change the appearance of every 
occurrence of that type of content, you just change your layout.

On that subject, the "working version", of those environments, which I used in 
first-drafting the book, didn't use a minipage -- it just narrowed the text 
and put lines above and below the "box". I wrote the book like that, and then 
at the last minute, took the time to convert the style to print in a shaded 
minipage, and all my boxes became shaded and quit page breaking at bad 
places.

Thanks

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Re: Why Lyx->Word?

2007-05-18 Thread Julio Rojas

Well, that could work and some of that is what we've using, but for the
thesis I don't think that's plausible. Notes for text already written and
ideas about moving paragraphs, are better seen "in" the actual document. At
least from an editorial point of view. I think that for my theisis I'll
stick to PDF's with comments, at least while I install LyX on his PC.

Anyway, thanks Helge. I'll keep you guys informed on the process.

On 5/18/07, Helge Hafting <[EMAIL PROTECTED]> wrote:


Julio Rojas wrote:
>
> Now my problem is that my tutor only uses Word. He doesn't want to
> expend his time "learning" LyX, even thou there's really nothing to
> learn (I'll do all the LaTeX job and he'll only do some writing).
How about:
You write with LyX, and sends him PDF. Anybody can read PDF.
He writes his answers in word (or
plain text email), possibly cutting and pasting
text from the PDF.

You then copy from his messages and paste into your
LyX document.

Does he have to write in the _same_ document file?

Helge Hafting





--
-
Julio Rojas
[EMAIL PROTECTED]


[announce] LyX 1.5beta3-18-05-2007 for Windows

2007-05-18 Thread Uwe Stöhr

Hello LyXers,

I uploaded an installer for LyX 1.5beta3:
https://developer.berlios.de/project/showfiles.php?group_id=5117_id=12796

Changelog to last development snapshot:

Version LyX 1.5beta3-18-05-2007
- LyX 1.5 beta3 from 18-05-2007
  - fix bug, introduced with last version, that all margin notes in
a document are lost
  - support for Chinese, Japanese and Korean
  - support for the LaTeX-package "listings"

Installer changes:
- updated to ImageMagick 6.3.4
- updated to Python 2.5.1
- updated to MiKTeX 2.6 (version 2675)
- fix bug that LyX's menu language setting was ignored when LyX is
  started by double-clicking on a LyX-file
- when Updating PDFs, the PDF is opened at the last viewed position
  (only works with Acrobat/Adobe Reader version <= 7)
- fix hopefully the case that PDFs couldn't be updated when
  Adobe Reader 8 is used on Windows Vista
- fix bug that MiKTeX and JabRef weren't correctly uninstalled

-

The Update installer version allows you to update your existing LyX 
installation to the latest
version. To use this installer you must have my last development snaphot LyX 
1.5beta2-02-05-2007
installed.

(More infos about the installer can be found here:
http://wiki.lyx.org/Windows/LyXWinInstaller )

-

For the update and support for MiKTeX 2.6 the installer source code had to be changed massively. So 
if you encounter problems with the installer, mail me directly or report them at bugzilla.lyx.org 
(please check that the reports don't already exists).


--- disclaimer ---
The LyX 1.5svn builds are for testers and interested LyXers to test the new 
features.
If you find bugs, please have a look at
http://bugzilla.lyx.org
and report them there if they aren't already reported.

Note! LyX 1.5 is in beta state, that means that it is still under very
active development. So don't use LyX1.5svn builds for production!

happy testing and best regards
Uwe



Re: How to put title and text in a box?

2007-05-18 Thread Steve Litt
On Friday 18 May 2007 06:53, Daniel Lohmann wrote:
> Steve Litt wrote:
> > Oh never mind, I already solved this problem and forgot I'd solved it. I
> > made the title LyX environment with a LatexType of command, and had that
> > command set a variable, and then the box text environment used that
> > variable.
>
> Steve,
>
> Would you mind sharing the relevant parts of your layout file / preamble
> for this? I am just trying to get something like this working for my
> thesis.
>
> Thanks!
>
> Daniel

Hi Daniel,

I've put it in the body of this email below my sig. Let me explain:

I've named the two LyX environments CalloutTitle and CalloutText. CalloutTitle 
has latextype "command", and calls the LaTeX command callouttitleL, which 
simply sets command callouttitleT to the text to which CalloutTitle was 
applied. The LyX parameters of LyX environment CalloutTitle are set to an 
appropriately big font etc, so it shows up realistically in the LyX GUI.

LyX environment CalloutText is applied to the text of the centered box. Its 
latextype is Environment, and it calls LaTeX environment callouttextL. Its 
LyX parameters are set to make it narrower than the body text.

That brings us to LaTeX command callouttextL, which does most of the work.

 ENVIRONMENT INITIALIZATION 
CalouttextL prints its contents within a shaded box (\begin{shaded}). As 
mentioned, this shaded box is contributed by package framed. I basically tore 
this environment out of the layout of my 2001 book "Troubleshooting 
Techniques of the Successful Troubleshooter",  so bear in mind that it was 
written by a (then) LyX newbie.

Using package framed, callouttextL moves the box up .45 inch to narrow what 
would otherwise be its oceanic separation from the text above, then sets 4pt 
margins within the highlighted box, defines the box's background color, then 
starts the box.

Within the box it center-Large prints the contents of callouttitleT, which is 
the title stored by LyX environemnt CalloutTitle. It then raggedrights and 
creates a rather large 16 point paragraph indentation. That concludes the 
environment initialization.

 TEXT PRINTING 
Then the text to which CalloutText has been applied prints within the box and 
styles declared in the initialization.

 ENVIRONMENT FINALIZATION 
The environment is finalized by ending the shaded box, and then starting a new 
paragraph so the first paragraph of the next text doesn't start within the 
shaded box.

HTH

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/



#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[book]{mybook}

Input stdclass.inc
Input numreport.inc

Preamble
\usepackage{framed}% Frames for notes, tips, etc

% ### Callout title and text latex
\newcommand{\callouttitleL}[1]{\def\callouttitleT{#1}}

\newenvironment{callouttextL}
  {%
  ~\\[-0.45in]%
  \setlength\fboxsep{4pt}%
  \definecolor{shadecolor}{rgb}{1.00,0.90,0.90}%
  \begin{shaded}%
  \addtolength{\hsize}{-0.20\columnwidth}%
  {\centering\Large\callouttitleT\\[0.2cm]}%
  \raggedright%
  \setlength\parindent{16pt}%
  }%
  {%
  \end{shaded}%
  \par
  }%

EndPreamble



### CALLOUT LYX STYLES
Style CalloutTitle
Font
Series  Bold
Size Larger
EndFont
LatexName   callouttitleL
LatexType   Command
  Align Center
End

Style CalloutText
  LatexType Environment
  LatexName callouttextL
  LeftMarginMM
  RightMargin   MM
  ParIndent MMM
  TopSep1.4
  ItemSep   0.7
  ParSep0.7
  BottomSep 0.7
  Align Block
  AlignPossible Block

  Font 
   Series   Medium
   Size Normal
   ShapeItalic
  EndFont
End



Creating a layout for IOP publishing.

2007-05-18 Thread Stanislaw Kalicinski

Hi,

I'm currently working on a layout for IOP articles (I will make it available
as soon as it's finished). The reason why I'm doing it is the layout
which available ( wiki.lyx.org ) is rather poor and not satisfying me.

The problem is that in LyX I want to make use of some "ready to use"
macros from iopart.cls. So, instead of explicitly typing LaTeX code in LyX,
I would prefer to create a new style that would insert a macro into
the code  e.g.

\Bibliography{}
\endbib

where  is the same as in the standard Bibliography environment (i.e.
\begin{thebibliography}{})

or

\Table{\label{label}Table caption}
\endTable (or \endtab)

Is it possible to do in the current version of LyX? If yes, could you send
me some hints or examples solving a similar problem.

Thanks in advance!

Stanislaw Kalicinski


Re: LyX version 1.5.0 (beta 3) is released

2007-05-18 Thread Jean-Marc Lasgouttes
> "José" == José Matos <[EMAIL PROTECTED]> writes:

José> You can download LyX 1.5.0beta3 here (the .bz2 are compressed
José> with bzip2, which yields smaller files):

José>   ftp://ftp.lyx.org/pub/lyx/devel/lyx-1.5.0beta3.tar.gz
José> ftp://ftp.lyx.org/pub/lyx/devel/lyx-1.5.0beta3.tar.bz2

Err, this is not where I put them...

Also, you should set reply-to: to lyx-devel (I put lyx-users for
stable releases). 

JMarc


LyX version 1.5.0 (beta 3) is released

2007-05-18 Thread José Matos
Public release of LyX version 1.5.0 (beta 3)
===

We are glad to announce the release of LyX 1.5.0 (beta 3).

Compared with the previous beta release we have fixed several bugs
and added some improvements, namely a new inset to support code listings.

We have enabled the converter file cache by default.

Internally we have renamed files to follow a consistent name pattern,
this will allow an easier navigation of the source code thus simplifying
bug fixing.

Compared with the latest stable release, this is the culmination of
one year of hard work, and we sincerely hope you will enjoy the
results. The changes are too numerous to summarize in a few words,
with initial unicode support being the flagship among the new
features, see the end of this announcement for details.

As usual with a major release, a lot of work that is not directly
visible has taken place. The core of LyX has seen more cleanups and
some of the new features are the direct results of this work.

The file RELEASE-NOTES lists some known issues with this release
compared to the latest stable release (LyX 1.4.4). An updated list of
issues might later be found at http://wiki.lyx.org/LyX/ReleaseNotes


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

   LyX is a document processor that encourages an approach to writing
   based on the structure of your documents, not their appearance. It
   is released under a Free Software / Open Source license.

   LyX is for people that write and want their writing to look great,
   right out of the box. No more endless tinkering with formatting
   details, 'finger painting' font attributes or futzing around with page
   boundaries. You just write. In the background, Prof. Knuth's legendary
   TeX typesetting engine makes you look good.

   On screen, LyX looks like any word processor; its printed output -- or
   richly cross-referenced PDF, just as readily produced -- looks like
   nothing else. Gone are the days of industrially bland .docs, all
   looking similarly not-quite-right, yet coming out unpredictably
   different on different printer drivers. Gone are the crashes 'eating'
   your dissertation the evening before going to press.

   LyX is stable and fully featured. It is a multi-platform, fully
   internationalized application running natively on Unix/Linux and the
   Macintosh and modern Windows platforms. 

You can download LyX 1.5.0beta3 here (the .bz2 are compressed with
bzip2, which yields smaller files):

ftp://ftp.lyx.org/pub/lyx/devel/lyx-1.5.0beta3.tar.gz
ftp://ftp.lyx.org/pub/lyx/devel/lyx-1.5.0beta3.tar.bz2

Note that due to the amount of changes no patch is provided to upgrade
from version 1.4.4.

Prebuilt binaries (rpms for linux distributions, Mac OS X and Windows
installers) should soon be available at
ftp://ftp.lyx.org/pub/lyx/devel/


If you find what you think is a bug in LyX 1.5.0beta3, you may either
e-mail the LyX developers' mailing list (lyx-devel @ lists.lyx.org), 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/. If you can't find the answer there,
e-mail the LyX users' list (lyx-users @ lists.lyx.org).

Enjoy!

The LyX team.


What's new in version 1.5.0 (beta 3)?


* Unicode

LyX 1.5's big goal was to use unicode internally and so resolve a slew
of existing problems with special characters and non-alphabetic
languages. LyX 1.5 is able to output unicode (in addition to
encodings current available), so that you can use LaTeX's new utf8
encoding or such brand new typesetting systems as XeTeX.
Since the change to unicode touched much of the code base and some
areas still need a cleanup it is very likely that some bugs related to
the unicode transition still exist. Please have a look at the Known
bugs in LyX 1.5 page if you encounter a bug that seems to be related
to unicode. If it's not there, then please report it to the lyx-devel
mailing list.

* Integrated CJK support

The very first result of the Unicode transition is that we have finally
merged in the externally maintained CJK-LyX branch.

* Multiple views of the same buffer

LyX can now display multiple views of the same buffer. I.e., you can
now open a single document in multiple windows and work on different
parts of it synchronously.

* Outliner and embedded TOC

LyX has another long-awaited feature: a basic outliner mode, in which
you can move chapters and sections around in the Table of Contents
dialog. (The outliner has been backported and was released with LyX
1.4.4.) The TOC dialog is now a dock widget, embedded in the main window.

* Session management

LyX is now able to remember window size and position and it will
reopen the documents you worked on last time around. If you've
selected the feature in the Preferences dialog, it'll even move the
cursor to the place 

Mac LyX 1.4.4 problem with Natbib

2007-05-18 Thread Julio Rojas

Hi, my wife uses LyX on her Mac. She was using 1.4.3 without problems until
some weird error was present on her latest "article" class document. When
using Natbib in "author, year" format, the following error is presented
instead of references:

(author?) [4, 30–32]

As you can see, even thou the document uses "author, year", the references
are presented numerically. And the name is substituted with that weird
"(author?)". This is the same for all references. I have installed 1.4.4 but
the problem lingers on.

Any idea? Thanks in advance.

--
-
Julio Rojas
[EMAIL PROTECTED]


Re: Why Lyx->Word?

2007-05-18 Thread Charles de Miramon
Julio Rojas wrote:

> Anyway, thanks Helge. I'll keep you guys informed on the process.
> 

Not a solution for now but okular the next generation KDE pdf reader will
have annotations support.

http://kpdf.kde.org/okular/screenies/okular-annotations.png

KDE 4 applications should also work under Windows.

Cheers,
Charles

-- 
http://www.kde-france.org



LyX beta 2.0 on Mac

2007-05-18 Thread A. Scottedward Hodel
I had a few spare moments and decided to try the new 1.5 beta on an  
Intel Mac.  I like the new layout; I quickly found a possible bug.


I attempted to load an old LyX file that had many (in excess of 40)  
child documents. The beta opened all of them, and as a result I have  
a "document bar" composed of more than 40 document buttons, the total  
of which are now wider than both screens on my mac put together.


I suppose that the preferable behavior would be to wrap the document  
"buttons" onto separate lines.




I want to echo the praise for LyX given earlier.  I I've used LyX in  
lecture and they are impressed with the quick entry of equations,  
promptly followed by a legible on-screen preview of the equations.   
It's a wonderful tool.


A. Scottedward Hodel, 334 844-1854, fax 334 844-1809
[EMAIL PROTECTED] http://www.eng.auburn.edu/~hodelas



On May 18, 2007, at 9:27 AM, José Matos wrote:


Public release of LyX version 1.5.0 (beta 3)
===

We are glad to announce the release of LyX 1.5.0 (beta 3).

Compared with the previous beta release we have fixed several bugs
and added some improvements, namely a new inset to support code  
listings.


We have enabled the converter file cache by default.

Internally we have renamed files to follow a consistent name pattern,
this will allow an easier navigation of the source code thus  
simplifying

bug fixing.

Compared with the latest stable release, this is the culmination of
one year of hard work, and we sincerely hope you will enjoy the
results. The changes are too numerous to summarize in a few words,
with initial unicode support being the flagship among the new
features, see the end of this announcement for details.

As usual with a major release, a lot of work that is not directly
visible has taken place. The core of LyX has seen more cleanups and
some of the new features are the direct results of this work.

The file RELEASE-NOTES lists some known issues with this release
compared to the latest stable release (LyX 1.4.4). An updated list of
issues might later be found at http://wiki.lyx.org/LyX/ReleaseNotes


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

   LyX is a document processor that encourages an approach to writing
   based on the structure of your documents, not their appearance. It
   is released under a Free Software / Open Source license.

   LyX is for people that write and want their writing to look great,
   right out of the box. No more endless tinkering with formatting
   details, 'finger painting' font attributes or futzing around  
with page
   boundaries. You just write. In the background, Prof. Knuth's  
legendary

   TeX typesetting engine makes you look good.

   On screen, LyX looks like any word processor; its printed output  
-- or

   richly cross-referenced PDF, just as readily produced -- looks like
   nothing else. Gone are the days of industrially bland .docs, all
   looking similarly not-quite-right, yet coming out unpredictably
   different on different printer drivers. Gone are the crashes  
'eating'

   your dissertation the evening before going to press.

   LyX is stable and fully featured. It is a multi-platform, fully
   internationalized application running natively on Unix/Linux and  
the

   Macintosh and modern Windows platforms.

You can download LyX 1.5.0beta3 here (the .bz2 are compressed with
bzip2, which yields smaller files):

ftp://ftp.lyx.org/pub/lyx/devel/lyx-1.5.0beta3.tar.gz
ftp://ftp.lyx.org/pub/lyx/devel/lyx-1.5.0beta3.tar.bz2

Note that due to the amount of changes no patch is provided to upgrade
from version 1.4.4.

Prebuilt binaries (rpms for linux distributions, Mac OS X and Windows
installers) should soon be available at
ftp://ftp.lyx.org/pub/lyx/devel/


If you find what you think is a bug in LyX 1.5.0beta3, you may either
e-mail the LyX developers' mailing list (lyx-devel @  
lists.lyx.org), 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/. If you can't find the  
answer there,

e-mail the LyX users' list (lyx-users @ lists.lyx.org).

Enjoy!

The LyX team.


What's new in version 1.5.0 (beta 3)?


* Unicode

LyX 1.5's big goal was to use unicode internally and so resolve a slew
of existing problems with special characters and non-alphabetic
languages. LyX 1.5 is able to output unicode (in addition to
encodings current available), so that you can use LaTeX's new utf8
encoding or such brand new typesetting systems as XeTeX.
Since the change to unicode touched much of the code base and some
areas still need a cleanup it is very likely that some bugs related to
the unicode transition still exist. Please have a look at the Known
bugs in LyX 1.5 page if you encounter a bug that seems to be related
to unicode. If it's not there, then 

How to create a good looking and memory conserving full page graphic?

2007-05-18 Thread Steve Litt
Hi all,

The cover of my Ebook was created in Vim, and is incorporated on the first 
page of my LyX file as a .jpg. I started with an 8.5x11 drawing in Gimp, but 
it was too huge and I had to scale the image to quarter size and put it in 
LyX. If I scaled using linear interpolation, the letters were blurry at 
higher magnifications. If I scaled using cubic or Lanczos interpolation, it 
caused some disturbing artifacts, especially at higher magnifications within 
the .pdf file.

Anyone know of a way I can use a full sized 8.5x11 graphic without it taking 
over a megabyte of memory? One would think it would be very compressible. 
Over half the graphic is contiguous pure white, with another 10% contiguous 
pure black.

Thanks

STeveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Re: Creating a layout for IOP publishing.

2007-05-18 Thread Richard Heck


I don't really understand what you're trying to do. Is it that you just 
want some LyX command to insert these two lines:

   \Bibliography{}
   \endbib
but where num is found automatically? If that's it, then no, that can't 
be done just with layouts, as they do not have access to the LyX kernel, 
which is where num would be found. Then again, you could just set it to 
999 or something. The other problem, though, is that, so far as I know, 
LyX assumes that each layout corresponds to one of a handful of kinds of 
LaTeX constructs---commands, which are output as \command{TEXT}, or 
environments, which are output as \begin{env}TEXT\end{evn}, or items, 
etc. The two lines above don't seem to fall into any of these categories.


Richard

Stanislaw Kalicinski wrote:

Hi,

I'm currently working on a layout for IOP articles (I will make it 
available as soon as it's finished). The reason why I'm doing it is 
the layout which available ( wiki.lyx.org ) is rather poor and not 
satisfying me.


The problem is that in LyX I want to make use of some "ready to use" 
macros from iopart.cls. So, instead of explicitly typing LaTeX code in 
LyX, I would prefer to create a new style that would insert a macro 
into the code  e.g.


\Bibliography{}
\endbib

where  is the same as in the standard Bibliography environment (i.e.
\begin{thebibliography}{})

or

\Table{\label{label}Table caption}
\endTable (or \endtab)

Is it possible to do in the current version of LyX? If yes, could you 
send me some hints or examples solving a similar problem.


Thanks in advance!

Stanislaw Kalicinski





Re: How to create a good looking and memory conserving full page graphic?

2007-05-18 Thread Steve Litt
On Friday 18 May 2007 14:57, Steve Litt wrote:
> Hi all,
>
> The cover of my Ebook was created in Vim, and is incorporated on the first
> page of my LyX file as a .jpg. I started with an 8.5x11 drawing in Gimp,
> but it was too huge and I had to scale the image to quarter size and put it
> in LyX. If I scaled using linear interpolation, the letters were blurry at
> higher magnifications. If I scaled using cubic or Lanczos interpolation, it
> caused some disturbing artifacts, especially at higher magnifications
> within the .pdf file.
>
> Anyone know of a way I can use a full sized 8.5x11 graphic without it
> taking over a megabyte of memory? One would think it would be very
> compressible. Over half the graphic is contiguous pure white, with another
> 10% contiguous pure black.

I figured it out. With a really big graphic, you you must create the graphic 
as a .eps, and within LyX include that .eps. Whatever graphic conversion 
programs LyX uses blows converts from .jpg or .png to a HUGE .eps, much 
bigger than the .eps would be if you created it directly from Gimp.

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Re: How to create a good looking and memory conserving full page graphic?

2007-05-18 Thread Les Denham
On Friday 18 May 2007 14:09, Steve Litt wrote:
> > Anyone know of a way I can use a full sized 8.5x11 graphic without it
> > taking over a megabyte of memory? One would think it would be very
> > compressible. Over half the graphic is contiguous pure white, with
> > another 10% contiguous pure black.
>
> I figured it out. With a really big graphic, you you must create the
> graphic as a .eps, and within LyX include that .eps. Whatever graphic
> conversion programs LyX uses blows converts from .jpg or .png to a HUGE
> .eps, much bigger than the .eps would be if you created it directly from
> Gimp.
>
Steve,

Probably the best way of getting a full page graphic with a reasonable file 
size is to use a vector graphic.  I haven't used them for covers, but I have 
used them for full page illustrations within a document.  Some vector graphic 
formats can be taken care of automatically with Lyx -- Grace .agr format, for 
example, which I use very often -- while others you might export as a .eps 
file from the application that generates the graphic.
-- 
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


Re: Creating a layout for IOP publishing.

2007-05-18 Thread Stanislaw Kalicinski

Hi,

Thank you for a very quick reply.


From your email I understood that what I thought was (sad) true;( I hope it

can be implemented in LyX in the future.

To be more specific I'm giving here below some more details of my problem.

I'm using LyX to write an article to a journal from the IOP (The Institute
Of Physics Publishing). The IOP provides a class file, which is very
helpful. Apart from some "classical" commands and environments compatible
with LyX the iopart.cls contains some helpful macros that would "all in one"
job. For instance instead of typing:

\section*{References}
\begin{thebibliography}{}
\end{thebibliography}

which in LyX would correspond to chosing a standard Section* class and
then inserting Bibliography class items, one would chose an equivalent short
version (defined in iopart.cls)

\Bibliography{}
\endbib

which seems to not compatible with LyX.

It is not a problem at all, but I wanted to make nice layout for IOP, that
could be inserted into the standard LyX package:)

Best regards
Stanislaw


On 5/18/07, Richard Heck <[EMAIL PROTECTED]> wrote:



I don't really understand what you're trying to do. Is it that you just
want some LyX command to insert these two lines:
   \Bibliography{}
   \endbib
but where num is found automatically? If that's it, then no, that can't
be done just with layouts, as they do not have access to the LyX kernel,
which is where num would be found. Then again, you could just set it to
999 or something. The other problem, though, is that, so far as I know,
LyX assumes that each layout corresponds to one of a handful of kinds of
LaTeX constructs---commands, which are output as \command{TEXT}, or
environments, which are output as \begin{env}TEXT\end{evn}, or items,
etc. The two lines above don't seem to fall into any of these categories.

Richard

Stanislaw Kalicinski wrote:
> Hi,
>
> I'm currently working on a layout for IOP articles (I will make it
> available as soon as it's finished). The reason why I'm doing it is
> the layout which available ( wiki.lyx.org ) is rather poor and not
> satisfying me.
>
> The problem is that in LyX I want to make use of some "ready to use"
> macros from iopart.cls. So, instead of explicitly typing LaTeX code in
> LyX, I would prefer to create a new style that would insert a macro
> into the code  e.g.
>
> \Bibliography{}
> \endbib
>
> where  is the same as in the standard Bibliography environment (i.e
.
> \begin{thebibliography}{})
>
> or
>
> \Table{\label{label}Table caption}
> \endTable (or \endtab)
>
> Is it possible to do in the current version of LyX? If yes, could you
> send me some hints or examples solving a similar problem.
>
> Thanks in advance!
>
> Stanislaw Kalicinski
>




Re: How to create a good looking and memory conserving full page graphic?

2007-05-18 Thread Julio Rojas

But if you still want to use a bitmap format, old plain GIF seems to be the
solution for this case. Just index your figure with as few colors as
possible. For this kind of situations GIF does a way better job than JPG.

On 5/18/07, Les Denham <[EMAIL PROTECTED]> wrote:


On Friday 18 May 2007 14:09, Steve Litt wrote:
> > Anyone know of a way I can use a full sized 8.5x11 graphic without it
> > taking over a megabyte of memory? One would think it would be very
> > compressible. Over half the graphic is contiguous pure white, with
> > another 10% contiguous pure black.
>
> I figured it out. With a really big graphic, you you must create the
> graphic as a .eps, and within LyX include that .eps. Whatever graphic
> conversion programs LyX uses blows converts from .jpg or .png to a HUGE
> .eps, much bigger than the .eps would be if you created it directly from
> Gimp.
>
Steve,

Probably the best way of getting a full page graphic with a reasonable
file
size is to use a vector graphic.  I haven't used them for covers, but I
have
used them for full page illustrations within a document.  Some vector
graphic
formats can be taken care of automatically with Lyx -- Grace .agr format,
for
example, which I use very often -- while others you might export as a .eps
file from the application that generates the graphic.
--
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html





--
-
Julio Rojas
[EMAIL PROTECTED]


Re: LyX beta 2.0 on Mac

2007-05-18 Thread John Kane

--- "A. Scottedward Hodel" <[EMAIL PROTECTED]> wrote:

>
> I want to echo the praise for LyX given earlier.  I
> I've used LyX in  
> lecture and they are impressed with the quick entry
> of equations,  
> promptly followed by a legible on-screen preview of
> the equations.   
> It's a wonderful tool.

Can you give some more information about this?

It sounds very useful
> 
> A. Scottedward Hodel, 334 844-1854, fax 334 844-1809
> [EMAIL PROTECTED]
> http://www.eng.auburn.edu/~hodelas
> 
> 
> 
> On May 18, 2007, at 9:27 AM, José Matos wrote:
> 
> > Public release of LyX version 1.5.0 (beta 3)
> > ===
> >
> > We are glad to announce the release of LyX 1.5.0
> (beta 3).
> >
> > Compared with the previous beta release we have
> fixed several bugs
> > and added some improvements, namely a new inset to
> support code  
> > listings.
> >
> > We have enabled the converter file cache by
> default.
> >
> > Internally we have renamed files to follow a
> consistent name pattern,
> > this will allow an easier navigation of the source
> code thus  
> > simplifying
> > bug fixing.
> >
> > Compared with the latest stable release, this is
> the culmination of
> > one year of hard work, and we sincerely hope you
> will enjoy the
> > results. The changes are too numerous to summarize
> in a few words,
> > with initial unicode support being the flagship
> among the new
> > features, see the end of this announcement for
> details.
> >
> > As usual with a major release, a lot of work that
> is not directly
> > visible has taken place. The core of LyX has seen
> more cleanups and
> > some of the new features are the direct results of
> this work.
> >
> > The file RELEASE-NOTES lists some known issues
> with this release
> > compared to the latest stable release (LyX 1.4.4).
> An updated list of
> > issues might later be found at
> http://wiki.lyx.org/LyX/ReleaseNotes
> >
> >
> > In case you are wondering what LyX is, here is
> what
> > http://www.lyx.org/ has to say on the subject:
> >
> >LyX is a document processor that encourages an
> approach to writing
> >based on the structure of your documents, not
> their appearance. It
> >is released under a Free Software / Open Source
> license.
> >
> >LyX is for people that write and want their
> writing to look great,
> >right out of the box. No more endless tinkering
> with formatting
> >details, 'finger painting' font attributes or
> futzing around  
> > with page
> >boundaries. You just write. In the background,
> Prof. Knuth's  
> > legendary
> >TeX typesetting engine makes you look good.
> >
> >On screen, LyX looks like any word processor;
> its printed output  
> > -- or
> >richly cross-referenced PDF, just as readily
> produced -- looks like
> >nothing else. Gone are the days of industrially
> bland .docs, all
> >looking similarly not-quite-right, yet coming
> out unpredictably
> >different on different printer drivers. Gone
> are the crashes  
> > 'eating'
> >your dissertation the evening before going to
> press.
> >
> >LyX is stable and fully featured. It is a
> multi-platform, fully
> >internationalized application running natively
> on Unix/Linux and  
> > the
> >Macintosh and modern Windows platforms.
> >
> > You can download LyX 1.5.0beta3 here (the .bz2 are
> compressed with
> > bzip2, which yields smaller files):
> >
> > 
>
ftp://ftp.lyx.org/pub/lyx/devel/lyx-1.5.0beta3.tar.gz
> > 
>
ftp://ftp.lyx.org/pub/lyx/devel/lyx-1.5.0beta3.tar.bz2
> >
> > Note that due to the amount of changes no patch is
> provided to upgrade
> > from version 1.4.4.
> >
> > Prebuilt binaries (rpms for linux distributions,
> Mac OS X and Windows
> > installers) should soon be available at
> > ftp://ftp.lyx.org/pub/lyx/devel/
> >
> >
> > If you find what you think is a bug in LyX
> 1.5.0beta3, you may either
> > e-mail the LyX developers' mailing list (lyx-devel
> @  
> > lists.lyx.org), 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/. If you
> can't find the  
> > answer there,
> > e-mail the LyX users' list (lyx-users @
> lists.lyx.org).
> >
> > Enjoy!
> >
> > The LyX team.
> >
> >
> > What's new in version 1.5.0 (beta 3)?
> > 
> >
> > * Unicode
> >
> > LyX 1.5's big goal was to use unicode internally
> and so resolve a slew
> > of existing problems with special characters and
> non-alphabetic
> > languages. LyX 1.5 is able to output unicode (in
> addition to
> > encodings current available), so that you can use
> LaTeX's new utf8
> > encoding or such brand new typesetting systems as
> XeTeX.
> > Since the change to unicode touched much of the
> code base and some
> > areas still need a cleanup it is very likely that
> some bugs related to
> > the unicode transition still exist. Please have a
> look at the Known
> > bugs in 

Problem: TOC section 2 digit numbers crash into text

2007-05-18 Thread Steve Litt
Hi all,

LyX 1.4.2, Mandriva 2007 Linux.

I'm wondering if any of you have solved this already. I'm using a derivative 
ofthe Book document class.

In my table of contents, every section whose number ends in 2 digits (like 
10.12), or maybe it's every section whose number is 5 chars including the 
dot, crashes into the text for that contents line. This happens even if the 
text is incredibly short.

Anyone experienced this yet? Anyone solved it yet?

Thanks

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/



Re: pdf file quality

2007-05-18 Thread Uwe Stöhr

xinlei sun schrieb:


Any one knows where I can change the quality of the
output pdf? thanks!


Have a look here:
http://wiki.lyx.org/FAQ/PDF#toc5

regards Uwe


Re: LyX beta 2.0 on Mac

2007-05-18 Thread Bennett Helm

On May 18, 2007, at 7:23 PM, John Kane wrote:


--- "A. Scottedward Hodel" <[EMAIL PROTECTED]> wrote:


I want to echo the praise for LyX given earlier.  I
I've used LyX in
lecture and they are impressed with the quick entry
of equations,
promptly followed by a legible on-screen preview of
the equations.
It's a wonderful tool.


Can you give some more information about this?

It sounds very useful


LyX > Preferences > Graphics > Instant Preview. (Turn it on!)

Bennett


Re: LyX beta 2.0 on Mac

2007-05-18 Thread John Kane

--- Bennett Helm <[EMAIL PROTECTED]> wrote:

> On May 18, 2007, at 7:23 PM, John Kane wrote:
> 
> > --- "A. Scottedward Hodel" <[EMAIL PROTECTED]>
> wrote:
> >
> >> I want to echo the praise for LyX given earlier. 
> I
> >> I've used LyX in
> >> lecture and they are impressed with the quick
> entry
> >> of equations,
> >> promptly followed by a legible on-screen preview
> of
> >> the equations.
> >> It's a wonderful tool.
> >
> > Can you give some more information about this?
> >
> > It sounds very useful
> 
> LyX > Preferences > Graphics > Instant Preview.
> (Turn it on!)
> 
> Bennett
> 
Sounds good but I cannot find Preferences > Graphics 


  Be smarter than spam. See how smart SpamGuard is at giving junk email the 
boot with the All-new Yahoo! Mail at http://mrd.mail.yahoo.com/try_beta?.intl=ca



Re: LyX beta 2.0 on Mac

2007-05-18 Thread Bennett Helm

On May 18, 2007, at 8:45 PM, John Kane wrote:



--- Bennett Helm <[EMAIL PROTECTED]> wrote:


On May 18, 2007, at 7:23 PM, John Kane wrote:


--- "A. Scottedward Hodel" <[EMAIL PROTECTED]> wrote:


I want to echo the praise for LyX given earlier.
I've used LyX in lecture and they are impressed with
the quick entry of equations, promptly followed by a
legible on-screen preview of the equations. It's a
wonderful tool.


Can you give some more information about this?

It sounds very useful


LyX > Preferences > Graphics > Instant Preview.
(Turn it on!)

Bennett


Sounds good but I cannot find Preferences > Graphics


(Preferences > Look and Feel > Graphics > ...)

Bennett


Re: Problem: TOC section 2 digit numbers crash into text

2007-05-18 Thread Jeremy C. Reed
On Fri, 18 May 2007, Steve Litt wrote:

> LyX 1.4.2, Mandriva 2007 Linux.
> 
> I'm wondering if any of you have solved this already. I'm using a derivative 
> ofthe Book document class.
> 
> In my table of contents, every section whose number ends in 2 digits (like 
> 10.12), or maybe it's every section whose number is 5 chars including the 
> dot, crashes into the text for that contents line. This happens even if the 
> text is incredibly short.
> 
> Anyone experienced this yet? Anyone solved it yet?

I think you are talking about same problem I have had a few times.

See the archives for Subject:  "space needed in table of contents" in 
January of 2006.


  Jeremy C. Reed


Re: Problem: TOC section 2 digit numbers crash into text

2007-05-18 Thread Steve Litt
On Friday 18 May 2007 22:17, Jeremy C. Reed wrote:
> On Fri, 18 May 2007, Steve Litt wrote:
> > LyX 1.4.2, Mandriva 2007 Linux.
> >
> > I'm wondering if any of you have solved this already. I'm using a
> > derivative ofthe Book document class.
> >
> > In my table of contents, every section whose number ends in 2 digits
> > (like 10.12), or maybe it's every section whose number is 5 chars
> > including the dot, crashes into the text for that contents line. This
> > happens even if the text is incredibly short.
> >
> > Anyone experienced this yet? Anyone solved it yet?
>
> I think you are talking about same problem I have had a few times.
>
> See the archives for Subject:  "space needed in table of contents" in
> January of 2006.
>
>
>   Jeremy C. Reed

Thanks Jeremy,

That was exactly it.

%%% PREVENT TOC NUMBERS FROM CRASHING INTO TEXT
\usepackage{tocloft}% %%% Customize TOC
\addtolength{\cftsecnumwidth}{1em}%   %%% Make space for long numbers in toc 
lines
\setlength{\cftbeforechapskip}{1ex}%  %%% 1 ex above each chapter

Your entry in the LyX Users mailing list archive is here:

http://www.mail-archive.com/lyx-users@lists.lyx.org/msg44621.html

WARNING! Use of package tocloft eliminates the page break before the table of 
contents. To get such a page break, insert ERT \newline.

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


  1   2   >