Re: What LFUN to create 2x1 matrix shortcut?

2007-03-16 Thread Bo Peng

On 3/16/07, Gunnar Lindholm <[EMAIL PROTECTED]> wrote:

Hello
I wish to create a keyboard shortcut for inserting 2x1 matrix (when I'm inside
a math enivornment), what should I write in the bind file for this?


There are some examples in
http://wiki.lyx.org/uploads/LyX/keyboardShortcuts/bpeng/personal.bind

Cheers,
Bo


Re: Authors in TOC, etc.

2007-03-16 Thread Alan Isaac
On Wed, 14 Mar 2007, [EMAIL PROTECTED] wrote: 
> I'm working on an anthology [this book will actually be 
> printed], and as such there are almost as many authors as 
> chapters. 

Sorry if this proves tangential to your needs, but you may 
get some mileage out of looking at how Fairbains has used 
his includex package.

Cheers,
Alan Isaac






Re: degree symbol in lyx on ubuntu with the Compose key

2007-03-16 Thread John Pye
Hi Ignacio

You are right -- thanks!  (The sequence Compose o o worked for me; the
other one didn't -- I don't have an AltGr key).

But any thoughts on why this compose sequence is different from that
required in GNOME programs like gnome-terminal and gedit, etc?

If I have to learn different compose sequences for different programs,
that's really fairly poor, right?

Cheers
JP

Ignacio García wrote:
> In Ubuntu GNU/Linux (Gnome Desktop) the degree symbol insert directly by
> 1. the binding AltGr-S-^-^ (ALtGr Shift and two ^)
> 2. If the Compose key is OK, with the binding Compose-o-o
>
> Regards
> Ignacio


Re: Lyx 1.4.4. of Sat Feb 17: PDF graphics problem

2007-03-16 Thread Enrico Forestieri
Georg Baum writes:
> 
> Enrico Forestieri wrote:
> 
> > Point is that the Windows official installer contains a lyxrc.dist
> > redefining the pdf formats without the vector flag. So the user has
> > to explicitely check the appropriate box in preferences.
> 
> Why that?

I think it is done in order to set the custom pdfview program as a viewer.

> Of course that lyxrc.dist should contain these flags, and a new
> installer should be created.

Seems that only after the fifth iteration the installer stabilizes...

-- 
Enrico



How can I generate a Powerdot PDF with bookmarks open TRUE

2007-03-16 Thread Robert Orr
Has anyone successfully done a powerdot with
Bookmarksopen set to TRUE?



 

Food fight? Enjoy some healthy debate 
in the Yahoo! Answers Food & Drink Q&A.
http://answers.yahoo.com/dir/?link=list&sid=396545367


Show changes in output and RevTeX

2007-03-16 Thread Kurt Pernstich

Hi,
it seems that my changes are not marked in the output when I use
RevTeX but are included when I use, say, the article class. Has
anybody experienced the same problem? In
http://wiki.lyx.org/Tips/ChangeTrackingLyx1-3-2
it's written than   doublespace.sty   can cause troubles, but I don't
find RevTeX is using this style file.
Does somebody have a solution or a suggestion to solve this issue please?
- kurt


Re: convert lyx to PDF from command line

2007-03-16 Thread Eugeny N Dzhurinsky
On Fri, Mar 16, 2007 at 01:49:12PM +0100, Jean-Pierre Chretien wrote:
> 
> >>From: Gunnar <[EMAIL PROTECTED]>
> >>To: lyx-users@lists.lyx.org
> >>Subject: Re: convert lyx to PDF from command line
> >>Date: Fri, 16 Mar 2007 13:10:10 +0100
> >>X-Scan-Result: No virus found in message 1HSBG6-0008FV-8O.
> >>X-Scan-Signature: ch-smtp02.sth.basefarm.net 1HSBG6-0008FV-8O 
> 2502a4e268935daaa468c1d61bf4a19f
> >>
> >>> Is there any way to specify I would like to use pdflatex to make
> >>> conversion?
> >>lyx -e pdflatex file.lyx 
> 
> Here
> lyx -e pdf2 file.lyx 
> Check the converters section of the Documents->Settings to find
> the real name of the pdflatex compilation destination PDF.

Thanks!

-- 
Eugene N Dzhurinsky


Re: convert lyx to PDF from command line

2007-03-16 Thread Eugeny N Dzhurinsky
On Fri, Mar 16, 2007 at 01:10:10PM +0100, Gunnar wrote:
> > Is there any way to specify I would like to use pdflatex to make
> > conversion?
> lyx -e pdflatex file.lyx 
> perhaps?

It converts all EPs images to PDF but LyX document to a TeX one, no PDf is
generated

-- 
Eugene N Dzhurinsky


Re: How to embed all fonts?

2007-03-16 Thread Jean-Pierre Chretien

>>From: Steve Litt <[EMAIL PROTECTED]>
>>To: lyx-users@lists.lyx.org
>>Subject: How to embed all fonts?
>>Date: Fri, 16 Mar 2007 10:53:56 -0400
[...]
>>
>>Does anyone know a simple way to get all fonts embed?

Seen on the web
http://multimedia.polito.it/masala/pub_font_embedding_pdf_linux.html

-- 
Jean-Pierre



Re: How to embed all fonts?

2007-03-16 Thread Richard Heck

Try ps2pdf -dEmbedAllFonts=true ...

Steve Litt wrote:
> Hi all,
>
> I just played my new Ebook in Kpdf. After pressing 
> File->Properties->Fonts_tab, I saw that most of the fonts were type 1C and 
> those were embedded. However, two type 1 fonts, Courier and Times-Roman, were 
> not embedded and referred to /usr/share/fonts/default/Type1/n021003l.pfb. I 
> doubt my Windows customers will 
> have /usr/share/fonts/default/Type1/n021003l.pfb :-). So my question is, how 
> do I get those two files to embed also?
>
> I'm using LyX 1.4.2 on Mandriva 2007, and I create the PDF by exporting to 
> LaTeX, running makeindex then running latex on the resulting .tex file, 
> running dvips on the resulting .dvi, and ps2pdf on the resulting .ps.
>
> I need to ship several of these books today -- I have some orders that are 2 
> days old and need to go out. This means, unless I'm absolutely sure that 
> upgrading LyX or changing to pdflatex will really work, and is the only way, 
> I'd prefer not to experiment with pdflatex, or especially my LyX version, at 
> this time.
>
> Does anyone know a simple way to get all fonts embed?
>
> Thanks
>
> SteveT
>
> Steve Litt
> Author: Universal Troubleshooting Process books and courseware
> http://www.troubleshooters.com/
>   


-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://bobjweil.com/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



How to embed all fonts?

2007-03-16 Thread Steve Litt
Hi all,

I just played my new Ebook in Kpdf. After pressing 
File->Properties->Fonts_tab, I saw that most of the fonts were type 1C and 
those were embedded. However, two type 1 fonts, Courier and Times-Roman, were 
not embedded and referred to /usr/share/fonts/default/Type1/n021003l.pfb. I 
doubt my Windows customers will 
have /usr/share/fonts/default/Type1/n021003l.pfb :-). So my question is, how 
do I get those two files to embed also?

I'm using LyX 1.4.2 on Mandriva 2007, and I create the PDF by exporting to 
LaTeX, running makeindex then running latex on the resulting .tex file, 
running dvips on the resulting .dvi, and ps2pdf on the resulting .ps.

I need to ship several of these books today -- I have some orders that are 2 
days old and need to go out. This means, unless I'm absolutely sure that 
upgrading LyX or changing to pdflatex will really work, and is the only way, 
I'd prefer not to experiment with pdflatex, or especially my LyX version, at 
this time.

Does anyone know a simple way to get all fonts embed?

Thanks

SteveT

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


Re: key bindings on mac os x

2007-03-16 Thread David L. Johnson

Stefano Baroni wrote:
Why don't the default key bindings on mac osx follow the standard mac 
convention? (e.g. italicising could be -i, rather than -e). 
Not that it is that important, but it would be much nicer ... Thanks - SB


One answer to that is that this really isn't italics, it's "emphasis". 
If you emphasize a word in a line that is normally set in italics, such 
as the statement of a theorem in mathematics, then the emphasized word 
comes out upright.  LyX (and TeX) hang on to the idea of emphasizing the 
word, so you can take the paragraph containing it, change the 
environment that text is in, and get correct behavior.  If, on the other 
hand, you set it as forced-italicized and changed the whole paragraph to 
an italicized mode, it would stay italicized.  This is the difference 
between the two ERT commands {\it{}}  and \emph{}.  As I recall, Lyx 
used to support both environments, but a decision was made to only use 
\emph{}.


Of course, it may be that Mac's do this with -i for other programs.

--

David L. Johnson

As far as the laws of mathematics refer to reality, they are not
certain, and as far as they are certain, they do not refer to reality.
 -- Albert Einstein


Re: Utility to help with importing text?

2007-03-16 Thread John Kane

--- Tad Marko <[EMAIL PROTECTED]> wrote:

> Howdy!
> 
> I have a few manuscripts in convering to LyX for a
> friend. They are
> plain text files. Are there any utilities that can
> help me with the
> transformation of the double quotes to a `` and ''
> format (or whatever
> format I should be using)?
> 
> Thanks,
> Tad

I have had the same problem and on a small text file I
simply did a "Find & Replace All" in my text editor. 
I forget who in the list suggested it but if the docs
are not too complicated this may work for you too.



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


Re: Lyx 1.4.4. of Sat Feb 17: PDF graphics problem

2007-03-16 Thread Georg Baum
Enrico Forestieri wrote:

> Georg Baum writes:
>> 
>> Ekkehart Schlicht wrote:
>> 
>> > Thanks a lot! That solved my problem.
>> > 
>> > (I can't debug because the error is no occurring with Windows XP).
>> > Maybe these boxes can be checked by default (i.e. when upgrading)?
>> 
>> This is done for all formats that you did not customize. It is very
>> difficult to do with customized formats.
> 
> Point is that the Windows official installer contains a lyxrc.dist
> redefining the pdf formats without the vector flag. So the user has
> to explicitely check the appropriate box in preferences.

Why that? Of course that lyxrc.dist should contain these flags, and a new
installer should be created.


Georg



Re: cross-references in PDF

2007-03-16 Thread Richard Heck
Uwe Stöhr wrote:
>> how is it possible to create
>> cross-references between sections/subsections? For instance, in
>> section 1.2 i
>> need to refer to section 1.8, I would like to insert something like
>> "(see
>> section 1.8 `section 1.8 name' for details", where section number and
>> name is
>> inserted and updated automatically if document is changed (sections
>> added/removed or section name is changed).
> Attached is an example LyX-file.
> > Make sure that your labels are NOT in the section titles themselves.
> Why? It works for me.
I think it depends upon your version of nameref. There's a remark in the
latest version of nameref.dtx that seems to reference this problem. I
don't know why, but my distribution (tetex, on FC6) only has version
6.74m, 2003/11/30, of the hyperref code, and this bug seems to be there.
I gather tetex's not being supported any more, so that's probably why.
Wonder what Fedora's planning to do?

Richard

-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://bobjweil.com/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: Layouts and Optional Arguments

2007-03-16 Thread Richard Heck
Jean-Marc Lasgouttes wrote:
> Richard Heck schrieb:
>   
>>> In playing around with layouts recently, I tried to make use of the
>>> "OptionalArgs" option. If I set it to "1", then the GUI gives me
>>> the ability to set a "Short Title", which is pretty much what I
>>> expected, though it would be better to have this appear as
>>> "Optional Argument". But setting the Short Title then has no
>>> effect: Nothing corresponding to it appears in the LaTeX.
>>>   
> This is not the same problem (here we have optional arguments).
>
> Richard, what kind of latex command did you have in mind? Plain macro
> or environment? The later is only supported in 1.5 (so the short title
> should be disabled in 1.4 in this case, I guess).
It was an environment. But if it works in 1.5---I haven't installed
that---that's good enough, I'd suppose.

Richard

-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://bobjweil.com/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: convert lyx to PDF from command line

2007-03-16 Thread Jean-Pierre Chretien

>>From: Gunnar <[EMAIL PROTECTED]>
>>To: lyx-users@lists.lyx.org
>>Subject: Re: convert lyx to PDF from command line
>>Date: Fri, 16 Mar 2007 13:10:10 +0100
>>X-Scan-Result: No virus found in message 1HSBG6-0008FV-8O.
>>X-Scan-Signature: ch-smtp02.sth.basefarm.net 1HSBG6-0008FV-8O 
2502a4e268935daaa468c1d61bf4a19f
>>
>>> Is there any way to specify I would like to use pdflatex to make
>>> conversion?
>>lyx -e pdflatex file.lyx 

Here
lyx -e pdf2 file.lyx 
Check the converters section of the Documents->Settings to find
the real name of the pdflatex compilation destination PDF.

-- 
Jean-Pierre




Re: Lyx 1.4.4. of Sat Feb 17: PDF graphics problem

2007-03-16 Thread Enrico Forestieri
Georg Baum writes:
> 
> Ekkehart Schlicht wrote:
> 
> > Thanks a lot! That solved my problem.
> > 
> > (I can't debug because the error is no occurring with Windows XP).
> > Maybe these boxes can be checked by default (i.e. when upgrading)?
> 
> This is done for all formats that you did not customize. It is very
> difficult to do with customized formats.

Point is that the Windows official installer contains a lyxrc.dist
redefining the pdf formats without the vector flag. So the user has
to explicitely check the appropriate box in preferences.

-- 
Enrico



Re: convert lyx to PDF from command line

2007-03-16 Thread Gunnar
> Is there any way to specify I would like to use pdflatex to make
> conversion?
lyx -e pdflatex file.lyx 

perhaps?


Re: convert lyx to PDF from command line

2007-03-16 Thread Eugeny N Dzhurinsky
On Fri, Mar 16, 2007 at 01:04:06PM +0100, Gunnar wrote:
> On Friday 16 March 2007 12:55, Eugeny N Dzhurinsky wrote:
> > Hello, could somebody please tell me how is it possible to convert LyX
> > document to PDF from command line?
> lyx -e pdf  file.lyx
> creates file.pdf

Is there any way to specify I would like to use pdflatex to make conversion?

-- 
Eugene N Dzhurinsky


Re: convert lyx to PDF from command line

2007-03-16 Thread Gunnar
On Friday 16 March 2007 12:55, Eugeny N Dzhurinsky wrote:
> Hello, could somebody please tell me how is it possible to convert LyX
> document to PDF from command line?
lyx -e pdf  file.lyx
creates file.pdf


convert lyx to PDF from command line

2007-03-16 Thread Eugeny N Dzhurinsky
Hello, could somebody please tell me how is it possible to convert LyX
document to PDF from command line?

-- 
Eugene N Dzhurinsky


Re: What LFUN to create 2x1 matrix shortcut?

2007-03-16 Thread Jean-Marc Lasgouttes
> "Gunnar" == Gunnar Lindholm <[EMAIL PROTECTED]> writes:

Gunnar> Hello I wish to create a keyboard shortcut for inserting 2x1
Gunnar> matrix (when I'm inside a math enivornment), what should I
Gunnar> write in the bind file for this? I use LyX 1.4.4. The only
Gunnar> documentation I seem to find is for 1.3.3 on the wikipages.
Gunnar> Isn't there any more uptodate?

Try "math-matrix 2 1". You can also specify alignment, like
"math-align 2 3 c rcl".

Before you ask, my source is the code source.

JMarc


Re: key bindings on mac os x

2007-03-16 Thread Jean-Marc Lasgouttes
> "Stefano" == Stefano Baroni <[EMAIL PROTECTED]> writes:

Stefano> Why don't the default key bindings on mac osx follow the
Stefano> standard mac convention? (e.g. italicising could be -i,
Stefano> rather than -e). Not that it is that important, but it
Stefano> would be much nicer ... Thanks - SB

Because -e is not italicizing, but emphasizing. 

JMarc


Re: Layouts and Optional Arguments

2007-03-16 Thread Jean-Marc Lasgouttes
> "Uwe" == Uwe Stöhr <[EMAIL PROTECTED]> writes:

Uwe> Richard Heck schrieb:
>> In playing around with layouts recently, I tried to make use of the
>> "OptionalArgs" option. If I set it to "1", then the GUI gives me
>> the ability to set a "Short Title", which is pretty much what I
>> expected, though it would be better to have this appear as
>> "Optional Argument". But setting the Short Title then has no
>> effect: Nothing corresponding to it appears in the LaTeX.

Uwe> This and other problems are described in bug 2339
Uwe> http://bugzilla.lyx.org/show_bug.cgi?id=2339

This is not the same problem (here we have optional arguments).

Richard, what kind of latex command did you have in mind? Plain macro
or environment? The later is only supported in 1.5 (so the short title
should be disabled in 1.4 in this case, I guess).

JMarc


What LFUN to create 2x1 matrix shortcut?

2007-03-16 Thread Gunnar Lindholm
Hello
I wish to create a keyboard shortcut for inserting 2x1 matrix (when I'm inside 
a math enivornment), what should I write in the bind file for this?
I use LyX 1.4.4.
The only documentation I seem to find is for 1.3.3 on the wikipages. Isn't 
there any more uptodate?

Thanks,
Gunnar.


Re: key bindings on mac os x

2007-03-16 Thread Ingar Pareliussen
fr. 16. mars 2007 05:48 skive Stefano Baroni:
> Why don't the default key bindings on mac osx follow the standard mac
> convention? (e.g. italicising could be -i, rather than -e).
> Not that it is that important, but it would be much nicer ... Thanks

Hi,

you can change the key bindings to your liking:
http://wiki.lyx.org/LyX/KeyboardShortcuts

However, I think it is important for lyx to use, as far as possible, the same 
key bindings on the different platforms it runs.  This helps people using lyx 
on many platforms, and make it easier to teach and help people to use LyX.

When it comes to opt-e, it is not italicising the text, it is emphasising the 
text. It might not seem as a big difference most of the time, but try to set 
your normal font to an italicised font, and the difference will become 
apparent. :)

Ingar


Re: cross-references in PDF

2007-03-16 Thread Eugeny N Dzhurinsky
On Thu, Mar 15, 2007 at 11:33:51AM -0400, Richard Heck wrote:
> 
> You may have the same problem the previous person did. Make sure that
> your labels are NOT in the section titles themselves. This is where I
> normally put them, and where I think everyone normally puts them, but it
> messes up nameref, for reasons you can see if you look at the aux files
> that get generated. Just put the label at the start of the section.

Really, I figured that after some time of experimenting with placement of
labels

Thanks!

-- 
Eugene N Dzhurinsky


Re: instant preview on mac

2007-03-16 Thread Stefano Baroni
sorry to keep bothering you. I may be dummy, but as suddenly as  
"instant preview" stopped to work, it started again to work  
correctly. not idea whatsoever about what may have determined the  
weird behavior. Stefano B.


On Mar 16, 2007, at 5:26 PM, Stefano Baroni wrote:

hi All! What may determine that all of a suddent instant preview  
does not seem to work any longer on mac os x? regular pdflatex  
preview of the entire document still works fine. Thanks - Stefano B.


---
Stefano Baroni - SISSA  &  DEMOCRITOS National Simulation Center -  
Trieste

[+39] 040 3787 406 (tel) -528 (fax) / stefanobaroni (skype)

Please, if possible, don't  send me MS Word or PowerPoint attachments
Why? See:  http://www.gnu.org/philosophy/no-word-attachments.html





---
Stefano Baroni - SISSA  &  DEMOCRITOS National Simulation Center -  
Trieste

[+39] 040 3787 406 (tel) -528 (fax) / stefanobaroni (skype)

Please, if possible, don't  send me MS Word or PowerPoint attachments
Why? See:  http://www.gnu.org/philosophy/no-word-attachments.html