Re: LyX and TeXShop

2006-06-02 Thread Bennett Helm

On Jun 2, 2006, at 5:44 PM, Stephen Buonopane wrote:

Does TeXShop make a better previewer than the default (Preview)  
for LyX/Mac? To change the viewer to TeXShop in LyX/Mac 1.4.1, I  
put -a texshop in the viewer space after doing Preferences > File  
formats > PDF (pdflatex). But viewing a LyX file then gave an  
error. Does texshop have to be by itself in the Applications  
folder? downloading mactex left TeXShop in a folder called TeX in  
the Applications folder, and not having sufficient authority I  
can't move it.


I use TexShop as my pdf viewer for LyX. It is the only OS X viewer  
that I know of that will update automatically when the pdf file  
changes. This way you can leave the pdf open in TexShop and use  
View->Update in LyX.


I installed TexXhop directly, so it is in the top level of my  
Applications folder. But you can put the full path name in the LyX  
preferences. Not sure where it looks by default. I have open -a  
'TeXShop'  Maybe you need the single quotes? Did you try a  
Reconfigure...Quit...Relaunch?


As others have noted, open -a TeXShop.app is what's needed. Another  
option, though, is to define TeXShop as the default pdf viewer in the  
Finder. (Select a .pdf file, select File > Get Info, select TeXShop  
in the "Open With" drop down menu, and click on the "Change all..."  
button.) Then you can leave LyX's viewer for .pdf files simply as  
"open", and everything will work.


Again, as others have noted, the major benefit of using TeXShop is  
that it will automatically update the screen when the .pdf file  
changes. That's true whether you choose View > Update > PDF  
(pdflatex) or simply View > PDF (pdflatex). (Reconfigure, relaunch  
are not necessary here.)


In fact, it's possible to trick LyX into running LaTeX in the  
background, so that you can continue working on your document while  
it is typesetting. (That's useful on long documents like the book I'm  
currently working on, which is > 100,000 words and which takes a  
minute or so for each pdflatex run.) How do you do this?


1. In LyX > Preferences > File formats, define a new file format as  
follows: Format = latex2, GUI name = PDFLaTeX (update), Extension =  
tex, Viewer = pdflatex.


2. In LyX > Preferences > Converters, define a new converter from  
LaTeX to PDFLaTeX (update), with Converter = touch $$i and Extra flag  
= latex.


Now when you select View > PDFLaTeX (Update), LyX will generate a  
new .tex file and run pdflatex once on it. Once the .pdf file is  
generated, TeXShop will update its screen.


Two things to note about this (which may make it confusing to those  
not familiar with LaTeX). First, if you are not currently viewing  
the .pdf file in TeXShop, that file will not be opened and so nothing  
will appear to happen (though in fact the .pdf file will be generated  
in your tmp directory). Second, pdflatex is only run once here, and  
bibtex and makeindex are not run at all. So if you add a new cross  
reference, it may take 2 pdflatex runs to generate the proper  
reference, and if you add a new citation, this trick will fail to  
generate the output properly. (For that, run the standard View > PDF  
(pdflatex).)


Bennett


Re: LyX and TeXShop

2006-06-02 Thread Stephen Buonopane
Does TeXShop make a better previewer than the default (Preview) for 
LyX/Mac? To change the viewer to TeXShop in LyX/Mac 1.4.1, I put -a 
texshop in the viewer space after doing Preferences > File formats > 
PDF (pdflatex). But viewing a LyX file then gave an error. Does 
texshop have to be by itself in the Applications folder? downloading 
mactex left TeXShop in a folder called TeX in the Applications folder, 
and not having sufficient authority I can't move it.


I use TexShop as my pdf viewer for LyX. It is the only OS X viewer that 
I know of that will update automatically when the pdf file changes. 
This way you can leave the pdf open in TexShop and use View->Update in 
LyX.


I installed TexXhop directly, so it is in the top level of my 
Applications folder. But you can put the full path name in the LyX 
preferences. Not sure where it looks by default. I have open -a 
'TeXShop'  Maybe you need the single quotes? Did you try a 
Reconfigure...Quit...Relaunch?





Re: LyX and TeXShop

2006-06-02 Thread Tomoharu Nishino


On Jun 2, 2006, at 5:03 PM, Bruce Pourciau wrote:

Does TeXShop make a better previewer than the default (Preview) for  
LyX/Mac?


I use it instead of Preview.  One advantage is that "View->Update"  
works with TeXShop and does not with Preview.


To change the viewer to TeXShop in LyX/Mac 1.4.1, I put -a texshop  
in the viewer space after doing Preferences > File formats > PDF  
(pdflatex). But viewing a LyX file then gave an error.


The proper command is: open -a 'TeXShop'.  (I don't remember if OSX  
is case sensitive or not.  Probably not.  Should work.


Does texshop have to be by itself in the Applications folder?  
downloading mactex left TeXShop in a folder called TeX in the  
Applications folder, and not having sufficient authority I can't  
move it.


I don't think this should matter.

Tomoharu


Re: LyX and TeXShop

2006-06-02 Thread Maria Gouskova
Does TeXShop make a better previewer than the default (Preview) for  
LyX/Mac?


Do you mean DVI? TeXShop is launched in Mac OS when you view a file  
in DVI from inside LyX. Preview.app is simply what's launched when  
you want to view a pdf file, which is the output of pdflatex or  
dvipdfm or whatever viewer you use.


I've had problems viewing files with images using DVI and divipdfm,  
so I use pdflatex exclusively. (which launches Preview.app.)


To change the viewer to TeXShop in LyX/Mac 1.4.1, I put -a texshop  
in the viewer space after doing Preferences > File formats > PDF  
(pdflatex). But viewing a LyX file then gave an error.


I don't know what that's about--maybe somebody else does.

Does texshop have to be by itself in the Applications folder?  
downloading mactex left TeXShop in a folder called TeX in the  
Applications folder, and not having sufficient authority I can't  
move it.


No, that shouldn't be a problem. TeXShop should work fine from inside  
Applications/TeX, and it doesn't matter if there are other things in  
that directory (I imagine it's Excalibur and BibDesk.app?)


mg


LyX and TeXShop

2006-06-02 Thread Bruce Pourciau
Does TeXShop make a better previewer than the default (Preview) for  
LyX/Mac? To change the viewer to TeXShop in LyX/Mac 1.4.1, I put -a  
texshop in the viewer space after doing Preferences > File formats >  
PDF (pdflatex). But viewing a LyX file then gave an error. Does  
texshop have to be by itself in the Applications folder? downloading  
mactex left TeXShop in a folder called TeX in the Applications  
folder, and not having sufficient authority I can't move it.


Bruce


Re: generate pdf with comments enabled?

2006-06-02 Thread Paul A. Rubin

Neal Becker wrote:

Is there some way to generate pdf that has review comments enabled?  Using
lyx with pdflatex (This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C
7.5.4)) the generated pdf does not have review comments enabled.





If you mean can you generate a PDF that allows the reader to add 
comments, the answer is 'no'.  Currently, the only way to do that is to 
inhale the PDF into Acrobat Pro and set that permission.  There are 
various open-source utilities that will let you set the permission, and 
it's possible that other open-source readers might accept that, but 
Acrobat Reader will not allow commenting, even if the commenting 
permission flag is set, unless the file has been digitally signed by 
Acrobat Pro.


/Paul



Layout copyright; was: Re: Sharing layout files

2006-06-02 Thread David Neeley

I've noticed with other wikis that it takes a considerable effort
before the average user is "sold" on the concept, enough to go through
the learning curve for the various tags. Unfortunately, IIRC wiki tags
are just enough different from HTML and other tagging taxonomies that
it can be confusing at first.

That said, I don't do HTML for email and I don't bother with extensive
formatting for wiki pages. (HTML email is ripe for malicious little
"surprises" hidden in it, especially for that security black hole
called Windows!).

Now, about copyright. There is a question whether a layout file is
capable of being copyrighted. It is *not* documentation in the usual
sense of the word--nor is it really any groundbreaking code (from a
legal standpoint).

Consider the situation with fonts, for example. The font *name* can be
copyrighted, but not the actual code bits--outlines and hints and
such.

I suspect rather strongly that it may be the same thing here, although
I have not practiced law for about fifteen years, and intellectual
copyright is a moving target.

As I mentioned before, it might be worth checking out the Creative
Commons license if what you want is to preserve a record of your
authorship but permit others to use it without charge--and preclude
someone else from trying to copyright your work to extract cash from
the unwary.

Of course, it may be just as easy to use one of the versions of the
GPL or the LGPL ("lesser general public license). Or, if you have no
objection to the work being included in a commercial activity, the BSD
license has much to recommend it.

All of which said, I wouldn't worry about it personally for a layout
file--with the possible exception of for a particular and highly
specialized and extremely commercial prpose. Then, I might be
tempted--for only then would it be worthwhile to consider suit to
protect copyright.

Since I am so new to TeX and to LyX, I have much to go to surmount the
learning curve--but as I begin to dabble in style files, I am
seriously considering doing a style file for the DITA XML
architecture. That would be extremely interesting for technical
documentation use, I think, especially when coupled with a decent tool
for accessing various code topics and constructing topic maps
therefrom.

Oh, and Christian--I would suggest you be sure to make the copyright
info static with editing disallowed. Legal boilerplate is *not* the
place for community-wide editing!

David

On 6/2/06, [EMAIL PROTECTED] * Wiki documentation

   * Wiki sandbox

>> Eh... I'd probably answer GPL, but I have no real clue. This
>
> 
http://en.wikipedia.org/wiki/Wikipedia:Text_of_the_GNU_Free_Documentation_License
>
> Is there a way to modify all of the wiki pages so that they link the
> copyrights page you mention?

I've already added a link at the bottom of the sidebar with the text
"Copyrights" that points to this wiki page.

   http://wiki.lyx.org/Site/Copyrights

If that's not prominent enough, just let me know where you think it'd look
good and I can move the link to that place.


Re: Sharing layout files

2006-06-02 Thread christian . ridderstrom

On Fri, 2 Jun 2006, Maria Gouskova wrote:

I think the PmWiki documentation page is very good 
(	http://wiki.lyx.org/PmWiki/DocumentationIndex


That's a good point. There's also a copy at the LyX wiki, which you can 
always get to through a link at the bottom of the sidebar. However, maybe 
that link should get a more prominent location, let's say at the top of 
the sidebar?


BUT, I also think that some of our LyX Wiki pages, while excellent, 
sometimes contain a lot of extra formatting, like red and green text, 
which is not necessary (strictly speaking). This is not a bad thing, 
since it makes the pages beautiful and easy to read, but it also not 
essential. I can see how that would be intimidating...


Hmm... I see your point. And I definitely agree that pretty formatting 
isn't really necessary - it's the content that matters.


Anyway, would it make sense to place a small section early in the sidebar 
that's for new users? Perhaps something like this:


New readers
* Wiki documentation
* Wiki sandbox

Eh... I'd probably answer GPL, but I have no real clue. This question also 
concerns anything you simply write on the wiki. Here's the relevant text 
that I put on the wiki a long time ago

http://wiki.lyx.org/Site/Copyrights

Not sure that it helps though, and maybe it needs to be expanded?


Wikipedia.org has the following page linked from every single entry:

http://en.wikipedia.org/wiki/Wikipedia:Text_of_the_GNU_Free_Documentation_License

Is there a way to modify all of the wiki pages so that they link the 
copyrights page you mention?


I've already added a link at the bottom of the sidebar with the text 
"Copyrights" that points to this wiki page.


http://wiki.lyx.org/Site/Copyrights

If that's not prominent enough, just let me know where you think it'd look 
good and I can move the link to that place.


/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

generate pdf with comments enabled?

2006-06-02 Thread Neal Becker
Is there some way to generate pdf that has review comments enabled?  Using
lyx with pdflatex (This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C
7.5.4)) the generated pdf does not have review comments enabled.




Re: Installing LyX 1.3.7 on Windows 98 - Some success

2006-06-02 Thread Stephen Harris

Stephen Harris wrote:

Nico wrote:
At the end, LyX started, but with the error message "This is not a LyX
document", in a tiny, non-resizable window, and the error "bddraw = 0"
in the dos box, seemingly repeating itself whenever the mouse moves over
the LyX window.



I also tried this on Win98, but with Enrico's Cygwin 1.4.1 release,
lyx-1.4.1-cygwin.tar.gz file at ftp://ftp.lyx.org/pub/lyx/bin/1.4.1
thinking that the X11 interface might overcome the drawing problem.
It failed like yours by generating a 4cm. x 12cm. rectangle; the splash 
screen showed "Welcome to LyX" and not much else. Also saw bddraw = 0


I realized that I had been using the startxserver bat rather than
the startxwin bat and this made a big difference. Also the environment,


  If, after installing cygnus, you get the message:
  Out of environment space
  add the line
  shell=C:\command.com /e:4096 /p
  to your c:\config.sys

LyX 1.4.1 now works on Win98 but the viewers are not functional,
they seem to connect to a helper app but can't draw a screen.

Regards,
Stephen



Re: Trouble with eps inclusions in lyx-1.4.1

2006-06-02 Thread Jean-Pierre Chretien

>>To: lyx-users@lists.lyx.org
>>From: Georg Baum <[EMAIL PROTECTED]>
>>Subject: Re: Trouble with eps inclusions in lyx-1.4.1
>>Date: Fri, 02 Jun 2006 17:10:21 +0200
>>
>>Jean-Pierre Chretien wrote:
[...]
>>> Of course, autorotation could be set on a figure by figure basis in the
>>> graphics menu, and on a general basis with a checkbox.
>>
>>Please not, that would only be confusing. If you want to set something on a
>>figure by figure basis you can explicitly rotate it.

Just a suggestion, I'm not going to implement it anyway :-)

I added a digest of the thread in the PDF FAQ:
http://wiki.lyx.org/FAQ/PDF

Fell free to update.

Regards.

-- 
Jean-Pierre



Newbie poblems

2006-06-02 Thread James Lea
Dear list

I use Windows XP, I have downloaded all relevant files including the 'Total' 
version of MikTek and LyX 1.4.1.
However most of the templates give ane error message referring to a missing 
TeX class and I appear to have no fonts other than the default one. 
I am not a computer scientist, so could someone kindly point me in the 
right direction.

Thanks in advance

James Lea


Re: Trouble with eps inclusions in lyx-1.4.1

2006-06-02 Thread Georg Baum
Jean-Pierre Chretien wrote:

> With pdfatex, your problem came from a badly configured eps file
> (disagreement between the .eps extension and the magic number in the file
> (no EPSF in the first line, which lead lyx to believe that it was a PS
> file). As I stated, ps2pdf conversion of individual figures could be
> avoided by giving precedence on extension over magic number when there is
> disagreement.

I don't like that approach, because I have programs that create files
with .ps extension that are in reality eps files. Maybe we could make the
format detection more liberal: Everything that has a bounding box is
recognized as eps in "included graphics mode". In "export document mode"
everything is recognized as ps. That would solve this particular problem.

> As for the ps2pdf conversion alone (DVI->PDF), I wonder if the autorotate
> switch should be included a default in the converter section.
> It's easier to remove a switch than to add one which you never heard of.
> Two converters (one w/autorotate, one without it) is perhaps an overkill.
>
> Of course, autorotation could be set on a figure by figure basis in the
> graphics menu, and on a general basis with a checkbox.

Please not, that would only be confusing. If you want to set something on a
figure by figure basis you can explicitly rotate it.


Georg



periods instead of colon after Figure, Table

2006-06-02 Thread Eric Zollars

Is it possible to use a period

Figure 1.1.

instead of a colon

Figure 1.1:

after Figure, Table, etc.

Thanks.
Eric


Re: Trouble with eps inclusions in lyx-1.4.1

2006-06-02 Thread Jean-Pierre Chretien

>>To: lyx-users@lists.lyx.org
>>From: Georg Baum <[EMAIL PROTECTED]>
>>Subject: Re: Trouble with eps inclusions in lyx-1.4.1
>>Date: Fri, 02 Jun 2006 16:37:31 +0200
>>
>>Paul Johnson wrote:
>>
>>> Well, this seems like a serious problem, not one where we should say
>>> "there's nothing to do".
>>
>>I did not say that. I said that I don't see a solution that will work in all
>>cases.
>>
>>> I'd suggest that LyX SHOULD NOT offer to export documents to pdf when
>>> they have eps files in them, or at least users need a VERY BIG warning
>>>  because a lot of users will get in trouble unless they proof read
>>> their output very carefully.  A bug of this sort, which crops up after
>>> a project is finished and printed out and presented to
>>> students/teachers, and appears only later in pdf output intended for
>>> the Web, is very serious.
>>
>>This is a disadvantage of the modular converter architecture. Since LyX has
>>no control over the used tools, bad things can happen. There is a similar
>>problem with bitmap images: If you specify a 50% scale, it entirely depends
>>on the converter how big the image will be in the output, since it needs to
>>assume a certain resolution (pixels per cm).
>>
>>> If tex2pdf works, couldn't LyX incorporate that (its GPL, right?) and
>>> cut all usage of the other converters?
>>
>>I don't know how good tex2pdf is, but you can easily create a new pdf4
>>format and define tex2pdf as a converter tex->pdf4 yourself. Any tex2pdf
>>experts please tell: Should we do that by default in LyX? Any possible
>>problems?

I've used it with success since the perl versions (tehere has been a lyx2pdf 
and tex2pdf bash ones),
and contributed a little (Steffen Eversand Oscar Lopez did most of the job
involved in the current perl port),  and yes, I have a pdf1 format associated
to tex2pdf conversion :-)
\format "pdf1" "pdf" "PDF (tex2pdf)" "x" "xpdf" ""
\converter "latex" "pdf1" "tex2pdf $$i" ""

The situations where tex2pdf gets into trouble comes mostly with latex files:
use of other packages than graphicx, insertion of graphics with user-defined 
macros, etc.
which kill the parsing for graphics names.
Use with LyX seems not concerned as the latex code is clean.
Another reason of failure came from unproper constructs used in \title and 
\author fields
(used to produce pdf metadata), but again this should less happen in LyX.

In addition to pdf compilation, and with the help of a configuration file
(defaults are reasonable), tex2pdf provides full hyperref control, makeindex 
control, etc.
So the command in the converter section is simple, the customization will be in 
the config file.

Presence can be checked and the format and converter commands installed.

HTH

-- 
Jean-Pierre



Re: Trouble with eps inclusions in lyx-1.4.1

2006-06-02 Thread Georg Baum
Paul Johnson wrote:

> Well, this seems like a serious problem, not one where we should say
> "there's nothing to do".

I did not say that. I said that I don't see a solution that will work in all
cases.

> I'd suggest that LyX SHOULD NOT offer to export documents to pdf when
> they have eps files in them, or at least users need a VERY BIG warning
>  because a lot of users will get in trouble unless they proof read
> their output very carefully.  A bug of this sort, which crops up after
> a project is finished and printed out and presented to
> students/teachers, and appears only later in pdf output intended for
> the Web, is very serious.

This is a disadvantage of the modular converter architecture. Since LyX has
no control over the used tools, bad things can happen. There is a similar
problem with bitmap images: If you specify a 50% scale, it entirely depends
on the converter how big the image will be in the output, since it needs to
assume a certain resolution (pixels per cm).

> If tex2pdf works, couldn't LyX incorporate that (its GPL, right?) and
> cut all usage of the other converters?

I don't know how good tex2pdf is, but you can easily create a new pdf4
format and define tex2pdf as a converter tex->pdf4 yourself. Any tex2pdf
experts please tell: Should we do that by default in LyX? Any possible
problems?


Georg



book class questions

2006-06-02 Thread Eric Zollars
I am using the Book class and using roman numbering until the first page 
of chapter 1.  I have two unnumbered chapters* before the Table of Contents.
1. How do I include these unnumbered chapters and the table of contents 
itself in the table of contents?
2. How do I get the roman page numbers at the top of the page instead of 
the bottom?


My preamble:

\usepackage{lscape}
\usepackage{rotating}
\usepackage{float}
\usepackage{rotfloat}
\usepackage{pdfpages}
\title{}
\date{}
\pagenumbering{roman}
\let\myTOC\tableofcontents
\renewcommand\tableofcontents{%
\myTOC
\clearpage
\pagenumbering{arabic}
}

Thanks.

Eric Zollars


Re: import LaTeX and encoding issues

2006-06-02 Thread Georg Baum
Bennett Helm wrote:

> On Jun 1, 2006, at 6:55 PM, Raymond Brock wrote:
> 
>> This is going to be a real pain...Any ideas?
> 
> Latin 1 works for me, properly importing apostrophes, dashes,
> accented characters, etc. Can you send a minimal test document that
> has this problem?

latin1 is hardcoded in tex2lyx. Everything else does not work. See also
http://bugzilla.lyx.org/show_bug.cgi?id=1961 and
http://bugzilla.lyx.org/show_bug.cgi?id=2130


Georg



Re: Sharing layout files

2006-06-02 Thread Maria Gouskova
1) I don't know (and forget when I do know) all the shortcuts for  
various

lines, heading levels and the like.


Hmm, ok I see. When it comes to remembering the markup, have you  
ever noticed the icons just below the edit area? See here for instance


http://wiki.lyx.org/Playground/TestBox?action=edit

The icons are just below the text "Editing Playground.TestBox". Do  
you think these help, or are they just confusing?


I would also like to know what you think about the help text below  
the edit field. Is it too much information, so it is just  
confusing?  Maybe it should only contain some of the really common  
markup?


I think the PmWiki documentation page is very good (http:// 
wiki.lyx.org/PmWiki/DocumentationIndex), especially the Beginner  
Topics area. I keep it open as a separate tab in my browser whenever  
I edit. Initially, though, I learned by simply hitting "Edit" on  
pages that had the stuff I wanted to do to see how they did it.


Moreover, one nice thing about the Wiki pages is that, even if you  
don't include much special formatting, there are always people around  
who can add it later!


BUT, I also think that some of our LyX Wiki pages, while excellent,  
sometimes contain a lot of extra formatting, like red and green text,  
which is not necessary (strictly speaking). This is not a bad thing,  
since it makes the pages beautiful and easy to read, but it also not  
essential. I can see how that would be intimidating...


Eh... I'd probably answer GPL, but I have no real clue. This  
question also concerns anything you simply write on the wiki.  
Here's the relevant text that I put on the wiki a long time ago

http://wiki.lyx.org/Site/Copyrights

Not sure that it helps though, and maybe it needs to be expanded?


Wikipedia.org has the following page linked from every single entry:

http://en.wikipedia.org/wiki/ 
Wikipedia:Text_of_the_GNU_Free_Documentation_License


Is there a way to modify all of the wiki pages so that they link the  
copyrights page you mention?


Maria


Re: Chapter base Page numbering to TOC

2006-06-02 Thread Sara Stymne
You can get the word "Chapter" in komascript. Just add the class option
"chapterprefix". You add it in the documents settings: class settings,
options.

/Sara

>
>
> btw, i have report Document, and the abstract page don't have
> the page number... i force with \setcounter{page}{2}
> but it always show as page number 1 at TOC
> except in Report(koma script) Document,  but i don't use it
> cause the word "Chapter" doesn't show up on the chapter page.
>
>
> thanks..




Re: Chapter base Page numbering to TOC

2006-06-02 Thread Luqman H

2006/6/2, Luqman H <[EMAIL PROTECTED]>:


it doesn't effect the pagenumbering align...
still .. i have centered align on every first page of a chapter


ups sorry... just notice on your previous mail
i forgot to add
\pagestyle{fancyplain}
it works now... thanks


i want every first page of a chapter, first page of TOC, LOF, LOT,
and first page of Bibliography have no page number.
so the page number only occur after the first page...


so i should corrent above to
i want the page number of Bibliography not showing
in TOC, so it only show Bibliography without page number.
Because the pagenumber not relevan anymore after using
chapter base page numbering...

and of course, i'm still expecting for the answer below...

btw, i have report Document, and the abstract page don't have
the page number... i force with \setcounter{page}{2}
but it always show as page number 1 at TOC
except in Report(koma script) Document,  but i don't use it
cause the word "Chapter" doesn't show up on the chapter page.



thanks..


Re: Chapter base Page numbering to TOC

2006-06-02 Thread Luqman H

2.  Add to the preamble:

\usepackage{chappg}
\pagenumbering{bychapter}
\renewcommand{\thechapter}{\Roman{chapter}}


i put \pagenumbering{bychapter} on the first Chapter.
The previous page use small roman, so i don't put it on preamble



3.  Change the \rfoot command back to

\rfoot{\thepage}

(or to \rfoot{\fancyplain{\thepage}{\thepage}} if you follow my other
suggestion about the fancyplain style).


it doesn't effect the pagenumbering align...
still .. i have centered align on every first page of a chapter

i want every first page of a chapter, first page of TOC, LOF, LOT,
and first page of Bibliography have no page number.
so the page number only occur after the first page...

btw, i have report Document, and the abstract page don't have
the page number... i force with \setcounter{page}{2}
but it always show as page number 1 at TOC
except in Report(koma script) Document,  but i don't use it
cause the word "Chapter" doesn't show up on the chapter page.


thanks..


Re: Trouble with eps inclusions in lyx-1.4.1

2006-06-02 Thread Jean-Pierre Chretien

>>Date: Thu, 1 Jun 2006 22:41:11 -0500
>>From: "Paul Johnson" <[EMAIL PROTECTED]>
>>To: lyx-users@lists.lyx.org
>>Subject: Re: Trouble with eps inclusions in lyx-1.4.1
>>
>>Well, this seems like a serious problem, not one where we should say
>>"there's nothing to do".
>>
>>I'd suggest that LyX SHOULD NOT offer to export documents to pdf when
>>they have eps files in them, or at least users need a VERY BIG warning
>> because a lot of users will get in trouble unless they proof read
>>their output very carefully.  A bug of this sort, which crops up after
>>a project is finished and printed out and presented to
>>students/teachers, and appears only later in pdf output intended for
>>the Web, is very serious.

Sure, this problem gave me headaches until I discovered the Autorotate switch
and patched it in a ps2pdf wrapper (epstopdf includes it by default since 
TL2005).

However, why should LyX behave differently with eps graphics than with other 
kinds of graphics ?
The current paradigm is to build output regardless of the type of graphic 
source, using
internal conversion.

With pdfatex, your problem came from a badly configured eps file (disagreement 
between the .eps extension 
and the magic number in the file (no EPSF in the first line, which lead lyx to 
believe
that it was a PS file).
As I stated, ps2pdf conversion of individual figures could be avoided by giving 
precedence
on extension over magic number when there is disagreement.

As for the ps2pdf conversion alone (DVI->PDF), I wonder if the autorotate 
switch 
should be included a default in the converter section.
It's easier to remove a switch than to add one which you never heard of.
Two converters (one w/autorotate, one without it) is perhaps an overkill.

Of course, autorotation could be set on a figure by figure basis in the 
graphics menu,
and on a general basis with a checkbox.

>>
>>If tex2pdf works, couldn't LyX incorporate that (its GPL, right?) and
>>cut all usage of the other converters?

I've seen it fail, but mostly on latex files not created with lyX,
and with older versions of epstopdf.
But I use it a lot (manages metadata, hyperref, indexes, glossaries, ... for 
you,
without extra coding in the source).

-- 
Jean-Pierre



Re: Is there LyX-1.4.1 for SuSE 10.x i586 ?

2006-06-02 Thread Detlev Humann

Adinda Praditya wrote:


Hi list,...

I went to ftp://ftp.lyx.org/pub/lyx/bin/1.4.1/ and found only the 64 bit
version of lyx for suse 10.x. So, is there its i586 version?

Regards,

Dida



Hi Adinda,
I was also looking for SUSE 10.1 binaries and couldn't find any. But 
Gunnar Hellmund gave a useful instruction to solve the problem.

It worked fine for me.
Regards
Detlev



 Original-Nachricht 
Betreff:SUSE 10.1 and LyX 1.4.1
Datum:  Thu, 25 May 2006 21:32:36 +0200
Von:Gunnar Hellmund <[EMAIL PROTECTED]>
Antwort an: [EMAIL PROTECTED]
An: lyx-users@lists.lyx.org



Hi

Currently there does not seem to be a SUSE 10.1 32-bit LyX-rpm available.
But maybe others can benefit from my experience:

I suceeded in installing the SUSE Lyx 1.4.1 rpm for SUSE 9.X
lyx-1.4.1_suse92_suse93-1_qt.i586.rpm

First I uninstalled Lyx 1.3.6 via Yast

Then I downloaded
compat-expat1-1.95.8-6.i586.rpm
and
compat-expat1-debuginfo-1.95.8-6.i586.rpm
from
http://download.opensuse.org/distribution/SL-OSS-current/inst-source/suse/i586/
and installed them...

su
rpm -i compat-expat1-1.95.8-6.i586.rpm
rpm -i compat-expat1-debuginfo-1.95.8-6.i586.rpm

Then I downloaded
lyx-1.4.1_suse92_suse93-1_qt.i586.rpm
from
ftp://ftp.lyx.org/pub/lyx/bin/1.4.1/
and installed it...

su
rpm -ivh lyx-1.4.1_suse92_suse93-1_qt.i586.rpm

Best wishes
Gunnar




Re: Sharing layout files

2006-06-02 Thread christian . ridderstrom

On Tue, 30 May 2006, Steve Litt wrote:


Ich konne ein bischen LaTex, aber keine Deutsch. Ich supposedlieren :-)
Deutsch gelernt auf Hochschule, aber neiiinnn!



Ok, that parody didn't come out as well as I'd hoped...


Nor did mine :-)


Well, I certainly enjoyed your "neiinnn" :-)


* People feel that it's too difficult to upload the layout...


Yes, I feel the layouts are too hard to upload. I hardly know how to use
wikis at all.


I'd be happy to help with this of course. More importantly probably, I'm
very grateful for any tips on *what* it is that makes it diffiult. If it
so difficult that people as you don't to it, the entire LyX community is
missing out...


I'll gratefully accept your help. I have 2 problems with wikis

1) I don't know (and forget when I do know) all the shortcuts for various
lines, heading levels and the like.


Hmm, ok I see. When it comes to remembering the markup, have you ever 
noticed the icons just below the edit area? See here for instance


http://wiki.lyx.org/Playground/TestBox?action=edit

The icons are just below the text "Editing Playground.TestBox". Do you 
think these help, or are they just confusing?


I would also like to know what you think about the help text below the 
edit field. Is it too much information, so it is just confusing?  Maybe it 
should only contain some of the really common markup?



2) The whole thing looks very intimidating to me. It's like I'm overwhelmed,
and don't know where to start with a wiki.


I see ... or rather I don't. Or maybe I sort of do. Is it a question of 
there being to many new things at once?


If the help text below the edit area would contain a big fat link saying 
that you can go and practice editing in the playground, do you think that 
would help?


One other question -- when submitting all these layouts, how do we 
license them so they're free software that can be used, modified, copied 
and redistruted by everyone?


Eh... I'd probably answer GPL, but I have no real clue. This question also 
concerns anything you simply write on the wiki. Here's the relevant text 
that I put on the wiki a long time ago

http://wiki.lyx.org/Site/Copyrights

Not sure that it helps though, and maybe it needs to be expanded?

/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr