Re: How to make some paragraphs uselesstermporally?

2008-08-24 Thread Waluyo Adi Siswanto

 Does anyone know how to make some paragraphs useless termporally? 
 Now I want some paragraphs disappear termporally?. But I dont want to delete 
 them, because I will use it in future. In WinEdt, the symbol % can do the 
 job.   
 Which symbol in lyx is charge of this function?

This is just my experience, it might be useful:
I save the unused paragraph, but may be considered later, including the
equations, in note : Insert  Note  LyX Note

When I need this, I can copy to the standard environment.

WAS






Re: How to make some paragraphs uselesstermporally?

2008-08-24 Thread Jürgen Spitzmüller
wangyq wrote:
 Does anyone know how to make some paragraphs useless termporally?
 Now I want some paragraphs disappear termporally?. But I dont want to
 delete them, because I will use it in future. In WinEdt, the symbol % can
 do the job.   Which symbol in lyx is charge of this function?

The Branches feature might be useful. Cf. sec. 6.8 of the User Guide.

Jürgen


lyx hangs when clicked on view pdf/ dvi

2008-08-24 Thread ramya kv
Hi,

lyx version 1.5.3
ubuntu 7.10

when ever i try to view the .lyx file i wrote for a c program, lyx stops
responding and i have to forcibly quit it.

format used: C
added by : format:c GUIname:C shortcut:c extension:c and with document
format, viewer and editor:emacs
converter: noweb--C (using notangle $$i$$o)

Menu warning: menu entries Custom...|C and C|C share the same shortcut.
PreferencesPolicy: No transition for input SMI_RESTORE from state INITIAL
Menu warning: menu entries C|C and Close All Insets|C share the same
shortcut.
newfile1.nw:23: unescaped  in documentation chunk
newfile1.nw:30: unescaped  in documentation chunk
Error: Cannot convert file

An error occurred whilst running notangle 'newfile1.nw'  'newfile1.c'
Menu warning: menu entries C|C and Close All Insets|C share the same
shortcut.
newfile1.nw:23: unescaped  in documentation chunk
newfile1.nw:30: unescaped  in documentation chunk
Error: Cannot convert file

An error occurred whilst running notangle 'newfile1.nw'  'newfile1.c'
Menu warning: menu entries C|C and Close All Insets|C share the same
shortcut.
newfile1.nw:23: unescaped  in documentation chunk
newfile1.nw:30: unescaped  in documentation chunk
Error: Cannot view file

Does anybody know what these errors mean and how can i go about fixing it?

Regards,
Ramya.


Re: lyx hangs when clicked on view pdf/ dvi

2008-08-24 Thread Andre Poenitz
On Sun, Aug 24, 2008 at 01:37:04PM +0530, ramya kv wrote:
 Hi,
 
 lyx version 1.5.3
 ubuntu 7.10
 
 when ever i try to view the .lyx file i wrote for a c program, lyx stops
 responding and i have to forcibly quit it.
 
 format used: C
 added by : format:c GUIname:C shortcut:c extension:c and with document
 format, viewer and editor:emacs
 converter: noweb--C (using notangle $$i$$o)
 
 Menu warning: menu entries Custom...|C and C|C share the same shortcut.
 PreferencesPolicy: No transition for input SMI_RESTORE from state INITIAL
 Menu warning: menu entries C|C and Close All Insets|C share the same
 shortcut.
 newfile1.nw:23: unescaped  in documentation chunk
 newfile1.nw:30: unescaped  in documentation chunk
 Error: Cannot convert file
 
 An error occurred whilst running notangle 'newfile1.nw'  'newfile1.c'
 Menu warning: menu entries C|C and Close All Insets|C share the same
 shortcut.
 newfile1.nw:23: unescaped  in documentation chunk
 newfile1.nw:30: unescaped  in documentation chunk
 Error: Cannot convert file
 
 An error occurred whilst running notangle 'newfile1.nw'  'newfile1.c'
 Menu warning: menu entries C|C and Close All Insets|C share the same
 shortcut.
 newfile1.nw:23: unescaped  in documentation chunk
 newfile1.nw:30: unescaped  in documentation chunk
 Error: Cannot view file
 
 Does anybody know what these errors mean and how can i go about fixing it?

There seems to be several problems. 

I'd try to look at lines 23 and 30 of newfile1.nw and check what needs
to be done to fix the 'unescaped  in documentation chunk' error.

But apart from that LyX seems to tun into an endless loop, and there's
a problem with menu shortcuts, but that's most likely nothing that can
be fixed on the user side. 

Could you send the 'newfile1.nw' file (possibly cut down to the first
35 lines or so?)

Andre'


Re: Re: use {gmeometric} in Lyx?

2008-08-24 Thread Joanne Demmler
There still seems to be some kind of package clash. (kpsewhich shows 
that the sty files are installed correctly). I even tried it with all 
packages that gmeometric is based on. Now it seems to have a problem 
with itemize and still says that geometry is only allowed in the 
preamble. Never mind. I might sort out something eventually.


In the meantime I have been exploring alternative scenarios, i.e. have 
the page in landscape A4 and just print it off in A3. Sounds easy, one 
might think...


example 1
\usepackage{lscape} or \usepackage{pdflscape} (they are supposedly 
different, but in my case they came up exactly the same in LYX)


\begin{landscape}
*** content on a landscape page ***
\end{landscape}

This rotates very nicely the page, but the  headers stay on the top (as 
they should, because in the normal page you just want to turn your 
document). However as I want this page to be in A3 later on the header 
has to be on the long site.


example2
\usepackage{portland} should in theory turn the whole thing including 
headers, but refuses to do so when I try it!


\landscape
*** content on a landscape page ***
\portrait

Well, outcome just as in lscape, no rotation of the headers.

example 3
keep pages empty and replace them later over the command line using pdftk.

Possibly ok if you don't have fancy headers with section titles in them 
and if you have endless time to replace all single pages with the right 
page numbers.

-

So if anyone has an idea how to rotate the headers, it would be very 
much appreciated!


Joanne


Re: How to make some paragraphs uselesstermporally?

2008-08-24 Thread Marcelo Acuña
  Does anyone know how to make some paragraphs useless
 termporally? 
  Now I want some paragraphs disappear termporally?. But
 I dont want to delete them, because I will use it in future.
 In WinEdt, the symbol % can do the job.   
  Which symbol in lyx is charge of this function?
 
 This is just my experience, it might be useful:
 I save the unused paragraph, but may be considered later,
 including the
 equations, in note : Insert  Note  LyX Note
 
 When I need this, I can copy to the standard environment.
 

 Or click in Disolve Inset. Is more easy than copy.

 Marcelo


  Yahoo! Cocina
Recetas prácticas y comida saludable
http://ar.mujer.yahoo.com/cocina/


Re: positioning logo in footer

2008-08-24 Thread Graham Smith

On 21 Aug 2008, at 02:53, Yago wrote:

If you want to place a logo (figure, graphic or something) in a  
page, you can use the command:


\AddToShipoutPicture{} (puts the picture on every page)
\AddToShipoutPicture*{} (puts it on to the current page)

See the eso-pic package documentation.


Sorry for the delay in answering, I managed to miss your reply.  As I  
am pretty new to this, and  eso-pic seems a bit complicated just to  
add a logo into the footer (indeed on first reading I have no idea  
what I should be doing) . Even though I appreciate it has obvious  
reasons for use in terms of  free form placement of images on a page.


As tutorials to add a logo suggest what I did, but don't help in  
terms of being wrongly positioned, are you suggesting eso-pic because  
there is no other way of refining the position of a logo when its  
part of the footer.


Thanks,

Graham





- Original Message -
From: Graham Smith [EMAIL PROTECTED]
To: LyX Users List lyx-users@lists.lyx.org
Sent: Wednesday, August 20, 2008 1:49 PM
Subject: positioning logo in footer

 Sorry folks, I'm still struggling along here

 I have a logo added with this code

 \lfoot{\resizebox{3cm}{!}{\includegraphics{Logo_Small.png}}}

 and then an address added as a \rfoot etc

 Horizontally this works fine, but vertically, the bottom of the logo
 is at the same height as the top of the address, giving the
 impression that the address is contained inside the footer, but the
 logo is sitting on top of the footer.

 How to I move the logo down so it better aligns with the address. I
 would like the top of the logo to align with the top of the address.

 Thanks,

 Graham

 Graham Smith
 [EMAIL PROTECTED]







 __ Information from ESET NOD32 Antivirus, version of  
virus signature database 3372 (20080820) __


 The message was checked by ESET NOD32 Antivirus.

 http://www.eset.com





Re: How to make some paragraphs uselesstermporally?

2008-08-24 Thread Abdelrazak Younes

Marcelo Acuña wrote:

Does anyone know how to make some paragraphs useless

termporally?

Now I want some paragraphs disappear termporally?. But

I dont want to delete them, because I will use it in future.
In WinEdt, the symbol % can do the job.

Which symbol in lyx is charge of this function?

This is just my experience, it might be useful:
I save the unused paragraph, but may be considered later,
including the
equations, in note : Insert  Note  LyX Note

When I need this, I can copy to the standard environment.



  Or click in Disolve Inset. Is more easy than copy.


Or move the cursor at the very beginning of the note inset and hit 
backspace.


Abdel.



Re: positioning logo in footer

2008-08-24 Thread Graham Smith




If you want to place a logo (figure, graphic or something) in  
a page, you can use the command:


\AddToShipoutPicture{} (puts the picture on every page)
\AddToShipoutPicture*{} (puts it on to the current page)

See the eso-pic package documentation.


Sorry for the delay in answering, I managed to miss your reply.  As  
I am pretty new to this, and  eso-pic seems a bit complicated just  
to add a logo into the footer (indeed on first reading I have no  
idea what I should be doing) . Even though I appreciate it has  
obvious reasons for use in terms of  free form placement of images  
on a page.


As tutorials to add a logo suggest what I did, but don't help in  
terms of being wrongly positioned, are you suggesting eso-pic  
because there is no other way of refining the position of a logo  
when its part of the footer.


To reply to my self,in fact \hfill does the job, when I tried this  
before, I obviously had the syntax wrong.


Thanks,

Graham

Re: PDF, DVI, and PS viewers don't work anymore

2008-08-24 Thread Paul A. Rubin

edi wrote:

Up to a couple of hours I was able to see my lyx file in PDF format, but it
mysteriously stopped working. If I attempt DVI or PS, it doesn't do
anything, as if I didn't even click the buttons.

Are there perhaps some processes hanging? Any help would be appreciated.

Thanks


First question:  does this happen just with one file (in which case the 
file is somehow broken), or does it happen with any document (in which 
case either LyX or your LaTeX distro is broken)?


If it's just the one document, try exporting it as a LaTeX file and run 
latex (or pdflatex) against it to see if it compiles correctly.


/Paul



Re: Logo in Presentation Beamer

2008-08-24 Thread Paul A. Rubin

Waluyo Adi Siswanto wrote:

Hi All

In my presentation [using presentation (beamer) class], I want to put two
logos in every page: One on the top-left (university logo) and another one
on the top-right (research group logo)
How can I do that, or any suggestions to place two different logo images in
every presentation page in the header or footer.

Thank you



You may be able to insert some commands in the preamble, after loading 
the beamer theme, to modify the header line.  If that doesn't work, 
you'll have to write your own beamer theme (which is not all that hard 
-- I just cobbled one together for my own presentations).  Which theme 
are you using?


/Paul



Re: Fail to create pdf/ps

2008-08-24 Thread Paul A. Rubin
wangyq wrote:
 1. No error massage was found. The conversion just stoped after
 several seconds. 

As Gunter suggested, try divide-and-conquer:  cut out portions of the
document, compile, and restore the cut portion if the document compiles
correctly.  Repeat until you home in on the offending portion.

 2. Does the lyx have feedback windows like WinEdit
 which clearly shows the locations of errors?

Document - LaTeX log will let you see what LaTeX complained about (if
it complained about anything) and where the message came up.

/Paul



Re: AMS align-environment in a table

2008-08-24 Thread Paul A. Rubin

Robert Neumann wrote:

Hello,
I just tried to put a AMS align environment in a table and I get an error
message. Is there any way to do this?
I'm using Lyx 1.34. on a SuSE 8.3 Linux.
Thanks
Robert




I'm not sure if it's possible inside a tabular environment, but if you 
look at section 67.1 of Herbert Voss's Math mode document (version 
2.33), he defines a new environment (mtabular) and gives an example 
where he nests an align* environment inside an mtabular environment. 
[Disclaimer: I have not tried this myself.]


/Paul



Memoir: Any possible way to have clickable table of contents?

2008-08-24 Thread Steve Litt
Hi all,

I'm not finding any way to include hyperref in a Memoir derived document 
class, and I'm getting orders requiring me to do so. Before I spend a couple 
days reworking a finished book's layout file to be derived from Book instead 
of Memoir, does anyone know a way to have a clickable table of contents (and 
cross references) in a Memoir derived document?

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US



LyX for MAC: problems in handling file images

2008-08-24 Thread Pierfranco Minsenti
Hi all,

is there anyone of the LyX for MAC users which could help me with handling
images in LyX?
I use Lyx 1.5.4 for Mac (PowerPC, Mac OS X 10.3.9) and I have found out that
I cannot insert in Lyx files JPEG images. I can only insert PNG images (and
PDF as well, even if they are not showed in Lyx as a preview).
If I try to insert JPEG images, I get an error message saying that the
system is unable to convert the image format.

Something similar happens when I use the Export function to HTML, even if
the LyX file has PNG images (which are not a problem in LyX preview and in
the pdf output). In the case of the Export function for files with PNG
images I get this message:

No information for converting png format files to eps.
Define a converter in the preferences.

Actually, the result of the HTML Export is a Folder which contains the HTML
file
converted form Lyx as well as the files of the PNG images which I had
inserted in
the original Lyx file, but when I open this html file in the browser window
I can't see the png images within the HTML page.

As for my installation, I installed ImageMagick with the full LyX package. I
think it works, otherways I couldn't charge png images, which are correctly
shown both in the Lyx preview and in the pdf output, still something doesn't
work.
Could you please help me with this issue?

Thank you very much for your kind help.

Pierfranco


Re: Logo in Presentation Beamer

2008-08-24 Thread Waluyo Adi Siswanto

  You may be able to insert some commands in the preamble, after loading
 the beamer theme, to modify the header line.  If that doesn't work, you'll
 have to write your own beamer theme (which is not all that hard -- I just
 cobbled one together for my own presentations).  Which theme are you using?

 /Paul


Thank you..
I am just using the beamer templete available in LyX 1.5.5, and modify the
content without logos (left top corner and right top corner) that I want.
In preamble I have:
\usetheme{Warsaw}

\setbeamercovered{transparent}


Re: LyX for MAC: problems in handling file images

2008-08-24 Thread Bennett Helm
On Sun, Aug 24, 2008 at 7:03 PM, Pierfranco Minsenti 
[EMAIL PROTECTED] wrote:

 Hi all,

 is there anyone of the LyX for MAC users which could help me with handling
 images in LyX?
 I use Lyx 1.5.4 for Mac (PowerPC, Mac OS X 10.3.9) and I have found out
 that
 I cannot insert in Lyx files JPEG images. I can only insert PNG images (and
 PDF as well, even if they are not showed in Lyx as a preview).
 If I try to insert JPEG images, I get an error message saying that the
 system is unable to convert the image format.


This sure sounds like you don't have ImageMagick installed properly (or
properly recognized by LyX).


 Something similar happens when I use the Export function to HTML, even if
 the LyX file has PNG images (which are not a problem in LyX preview and in
 the pdf output). In the case of the Export function for files with PNG
 images I get this message:

 No information for converting png format files to eps.
 Define a converter in the preferences.

 Actually, the result of the HTML Export is a Folder which contains the HTML
 file
 converted form Lyx as well as the files of the PNG images which I had
 inserted in
 the original Lyx file, but when I open this html file in the browser window
 I can't see the png images within the HTML page.

 As for my installation, I installed ImageMagick with the full LyX package.
 I
 think it works, otherways I couldn't charge png images, which are correctly
 shown both in the Lyx preview and in the pdf output, still something
 doesn't
 work.
 Could you please help me with this issue?


Try first reconfiguring LyX (LyX  Reconfigure) and then restarting. Does
that solve it? If not, try moving aside your preferences file (in
~/Library/Application Support/LyX-1.5) or even the whole LyX-1.5 directory.
Does that solve it?

Bennett


Re: How to make some paragraphs uselesstermporally?

2008-08-24 Thread Waluyo Adi Siswanto

 Does anyone know how to make some paragraphs useless termporally? 
 Now I want some paragraphs disappear termporally?. But I dont want to delete 
 them, because I will use it in future. In WinEdt, the symbol % can do the 
 job.   
 Which symbol in lyx is charge of this function?

This is just my experience, it might be useful:
I save the unused paragraph, but may be considered later, including the
equations, in note : Insert  Note  LyX Note

When I need this, I can copy to the standard environment.

WAS






Re: How to make some paragraphs uselesstermporally?

2008-08-24 Thread Jürgen Spitzmüller
wangyq wrote:
 Does anyone know how to make some paragraphs useless termporally?
 Now I want some paragraphs disappear termporally?. But I dont want to
 delete them, because I will use it in future. In WinEdt, the symbol % can
 do the job.   Which symbol in lyx is charge of this function?

The Branches feature might be useful. Cf. sec. 6.8 of the User Guide.

Jürgen


lyx hangs when clicked on view pdf/ dvi

2008-08-24 Thread ramya kv
Hi,

lyx version 1.5.3
ubuntu 7.10

when ever i try to view the .lyx file i wrote for a c program, lyx stops
responding and i have to forcibly quit it.

format used: C
added by : format:c GUIname:C shortcut:c extension:c and with document
format, viewer and editor:emacs
converter: noweb--C (using notangle $$i$$o)

Menu warning: menu entries Custom...|C and C|C share the same shortcut.
PreferencesPolicy: No transition for input SMI_RESTORE from state INITIAL
Menu warning: menu entries C|C and Close All Insets|C share the same
shortcut.
newfile1.nw:23: unescaped  in documentation chunk
newfile1.nw:30: unescaped  in documentation chunk
Error: Cannot convert file

An error occurred whilst running notangle 'newfile1.nw'  'newfile1.c'
Menu warning: menu entries C|C and Close All Insets|C share the same
shortcut.
newfile1.nw:23: unescaped  in documentation chunk
newfile1.nw:30: unescaped  in documentation chunk
Error: Cannot convert file

An error occurred whilst running notangle 'newfile1.nw'  'newfile1.c'
Menu warning: menu entries C|C and Close All Insets|C share the same
shortcut.
newfile1.nw:23: unescaped  in documentation chunk
newfile1.nw:30: unescaped  in documentation chunk
Error: Cannot view file

Does anybody know what these errors mean and how can i go about fixing it?

Regards,
Ramya.


Re: lyx hangs when clicked on view pdf/ dvi

2008-08-24 Thread Andre Poenitz
On Sun, Aug 24, 2008 at 01:37:04PM +0530, ramya kv wrote:
 Hi,
 
 lyx version 1.5.3
 ubuntu 7.10
 
 when ever i try to view the .lyx file i wrote for a c program, lyx stops
 responding and i have to forcibly quit it.
 
 format used: C
 added by : format:c GUIname:C shortcut:c extension:c and with document
 format, viewer and editor:emacs
 converter: noweb--C (using notangle $$i$$o)
 
 Menu warning: menu entries Custom...|C and C|C share the same shortcut.
 PreferencesPolicy: No transition for input SMI_RESTORE from state INITIAL
 Menu warning: menu entries C|C and Close All Insets|C share the same
 shortcut.
 newfile1.nw:23: unescaped  in documentation chunk
 newfile1.nw:30: unescaped  in documentation chunk
 Error: Cannot convert file
 
 An error occurred whilst running notangle 'newfile1.nw'  'newfile1.c'
 Menu warning: menu entries C|C and Close All Insets|C share the same
 shortcut.
 newfile1.nw:23: unescaped  in documentation chunk
 newfile1.nw:30: unescaped  in documentation chunk
 Error: Cannot convert file
 
 An error occurred whilst running notangle 'newfile1.nw'  'newfile1.c'
 Menu warning: menu entries C|C and Close All Insets|C share the same
 shortcut.
 newfile1.nw:23: unescaped  in documentation chunk
 newfile1.nw:30: unescaped  in documentation chunk
 Error: Cannot view file
 
 Does anybody know what these errors mean and how can i go about fixing it?

There seems to be several problems. 

I'd try to look at lines 23 and 30 of newfile1.nw and check what needs
to be done to fix the 'unescaped  in documentation chunk' error.

But apart from that LyX seems to tun into an endless loop, and there's
a problem with menu shortcuts, but that's most likely nothing that can
be fixed on the user side. 

Could you send the 'newfile1.nw' file (possibly cut down to the first
35 lines or so?)

Andre'


Re: Re: use {gmeometric} in Lyx?

2008-08-24 Thread Joanne Demmler
There still seems to be some kind of package clash. (kpsewhich shows 
that the sty files are installed correctly). I even tried it with all 
packages that gmeometric is based on. Now it seems to have a problem 
with itemize and still says that geometry is only allowed in the 
preamble. Never mind. I might sort out something eventually.


In the meantime I have been exploring alternative scenarios, i.e. have 
the page in landscape A4 and just print it off in A3. Sounds easy, one 
might think...


example 1
\usepackage{lscape} or \usepackage{pdflscape} (they are supposedly 
different, but in my case they came up exactly the same in LYX)


\begin{landscape}
*** content on a landscape page ***
\end{landscape}

This rotates very nicely the page, but the  headers stay on the top (as 
they should, because in the normal page you just want to turn your 
document). However as I want this page to be in A3 later on the header 
has to be on the long site.


example2
\usepackage{portland} should in theory turn the whole thing including 
headers, but refuses to do so when I try it!


\landscape
*** content on a landscape page ***
\portrait

Well, outcome just as in lscape, no rotation of the headers.

example 3
keep pages empty and replace them later over the command line using pdftk.

Possibly ok if you don't have fancy headers with section titles in them 
and if you have endless time to replace all single pages with the right 
page numbers.

-

So if anyone has an idea how to rotate the headers, it would be very 
much appreciated!


Joanne


Re: How to make some paragraphs uselesstermporally?

2008-08-24 Thread Marcelo Acuña
  Does anyone know how to make some paragraphs useless
 termporally? 
  Now I want some paragraphs disappear termporally?. But
 I dont want to delete them, because I will use it in future.
 In WinEdt, the symbol % can do the job.   
  Which symbol in lyx is charge of this function?
 
 This is just my experience, it might be useful:
 I save the unused paragraph, but may be considered later,
 including the
 equations, in note : Insert  Note  LyX Note
 
 When I need this, I can copy to the standard environment.
 

 Or click in Disolve Inset. Is more easy than copy.

 Marcelo


  Yahoo! Cocina
Recetas prácticas y comida saludable
http://ar.mujer.yahoo.com/cocina/


Re: positioning logo in footer

2008-08-24 Thread Graham Smith

On 21 Aug 2008, at 02:53, Yago wrote:

If you want to place a logo (figure, graphic or something) in a  
page, you can use the command:


\AddToShipoutPicture{} (puts the picture on every page)
\AddToShipoutPicture*{} (puts it on to the current page)

See the eso-pic package documentation.


Sorry for the delay in answering, I managed to miss your reply.  As I  
am pretty new to this, and  eso-pic seems a bit complicated just to  
add a logo into the footer (indeed on first reading I have no idea  
what I should be doing) . Even though I appreciate it has obvious  
reasons for use in terms of  free form placement of images on a page.


As tutorials to add a logo suggest what I did, but don't help in  
terms of being wrongly positioned, are you suggesting eso-pic because  
there is no other way of refining the position of a logo when its  
part of the footer.


Thanks,

Graham





- Original Message -
From: Graham Smith [EMAIL PROTECTED]
To: LyX Users List lyx-users@lists.lyx.org
Sent: Wednesday, August 20, 2008 1:49 PM
Subject: positioning logo in footer

 Sorry folks, I'm still struggling along here

 I have a logo added with this code

 \lfoot{\resizebox{3cm}{!}{\includegraphics{Logo_Small.png}}}

 and then an address added as a \rfoot etc

 Horizontally this works fine, but vertically, the bottom of the logo
 is at the same height as the top of the address, giving the
 impression that the address is contained inside the footer, but the
 logo is sitting on top of the footer.

 How to I move the logo down so it better aligns with the address. I
 would like the top of the logo to align with the top of the address.

 Thanks,

 Graham

 Graham Smith
 [EMAIL PROTECTED]







 __ Information from ESET NOD32 Antivirus, version of  
virus signature database 3372 (20080820) __


 The message was checked by ESET NOD32 Antivirus.

 http://www.eset.com





Re: How to make some paragraphs uselesstermporally?

2008-08-24 Thread Abdelrazak Younes

Marcelo Acuña wrote:

Does anyone know how to make some paragraphs useless

termporally?

Now I want some paragraphs disappear termporally?. But

I dont want to delete them, because I will use it in future.
In WinEdt, the symbol % can do the job.

Which symbol in lyx is charge of this function?

This is just my experience, it might be useful:
I save the unused paragraph, but may be considered later,
including the
equations, in note : Insert  Note  LyX Note

When I need this, I can copy to the standard environment.



  Or click in Disolve Inset. Is more easy than copy.


Or move the cursor at the very beginning of the note inset and hit 
backspace.


Abdel.



Re: positioning logo in footer

2008-08-24 Thread Graham Smith




If you want to place a logo (figure, graphic or something) in  
a page, you can use the command:


\AddToShipoutPicture{} (puts the picture on every page)
\AddToShipoutPicture*{} (puts it on to the current page)

See the eso-pic package documentation.


Sorry for the delay in answering, I managed to miss your reply.  As  
I am pretty new to this, and  eso-pic seems a bit complicated just  
to add a logo into the footer (indeed on first reading I have no  
idea what I should be doing) . Even though I appreciate it has  
obvious reasons for use in terms of  free form placement of images  
on a page.


As tutorials to add a logo suggest what I did, but don't help in  
terms of being wrongly positioned, are you suggesting eso-pic  
because there is no other way of refining the position of a logo  
when its part of the footer.


To reply to my self,in fact \hfill does the job, when I tried this  
before, I obviously had the syntax wrong.


Thanks,

Graham

Re: PDF, DVI, and PS viewers don't work anymore

2008-08-24 Thread Paul A. Rubin

edi wrote:

Up to a couple of hours I was able to see my lyx file in PDF format, but it
mysteriously stopped working. If I attempt DVI or PS, it doesn't do
anything, as if I didn't even click the buttons.

Are there perhaps some processes hanging? Any help would be appreciated.

Thanks


First question:  does this happen just with one file (in which case the 
file is somehow broken), or does it happen with any document (in which 
case either LyX or your LaTeX distro is broken)?


If it's just the one document, try exporting it as a LaTeX file and run 
latex (or pdflatex) against it to see if it compiles correctly.


/Paul



Re: Logo in Presentation Beamer

2008-08-24 Thread Paul A. Rubin

Waluyo Adi Siswanto wrote:

Hi All

In my presentation [using presentation (beamer) class], I want to put two
logos in every page: One on the top-left (university logo) and another one
on the top-right (research group logo)
How can I do that, or any suggestions to place two different logo images in
every presentation page in the header or footer.

Thank you



You may be able to insert some commands in the preamble, after loading 
the beamer theme, to modify the header line.  If that doesn't work, 
you'll have to write your own beamer theme (which is not all that hard 
-- I just cobbled one together for my own presentations).  Which theme 
are you using?


/Paul



Re: Fail to create pdf/ps

2008-08-24 Thread Paul A. Rubin
wangyq wrote:
 1. No error massage was found. The conversion just stoped after
 several seconds. 

As Gunter suggested, try divide-and-conquer:  cut out portions of the
document, compile, and restore the cut portion if the document compiles
correctly.  Repeat until you home in on the offending portion.

 2. Does the lyx have feedback windows like WinEdit
 which clearly shows the locations of errors?

Document - LaTeX log will let you see what LaTeX complained about (if
it complained about anything) and where the message came up.

/Paul



Re: AMS align-environment in a table

2008-08-24 Thread Paul A. Rubin

Robert Neumann wrote:

Hello,
I just tried to put a AMS align environment in a table and I get an error
message. Is there any way to do this?
I'm using Lyx 1.34. on a SuSE 8.3 Linux.
Thanks
Robert




I'm not sure if it's possible inside a tabular environment, but if you 
look at section 67.1 of Herbert Voss's Math mode document (version 
2.33), he defines a new environment (mtabular) and gives an example 
where he nests an align* environment inside an mtabular environment. 
[Disclaimer: I have not tried this myself.]


/Paul



Memoir: Any possible way to have clickable table of contents?

2008-08-24 Thread Steve Litt
Hi all,

I'm not finding any way to include hyperref in a Memoir derived document 
class, and I'm getting orders requiring me to do so. Before I spend a couple 
days reworking a finished book's layout file to be derived from Book instead 
of Memoir, does anyone know a way to have a clickable table of contents (and 
cross references) in a Memoir derived document?

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US



LyX for MAC: problems in handling file images

2008-08-24 Thread Pierfranco Minsenti
Hi all,

is there anyone of the LyX for MAC users which could help me with handling
images in LyX?
I use Lyx 1.5.4 for Mac (PowerPC, Mac OS X 10.3.9) and I have found out that
I cannot insert in Lyx files JPEG images. I can only insert PNG images (and
PDF as well, even if they are not showed in Lyx as a preview).
If I try to insert JPEG images, I get an error message saying that the
system is unable to convert the image format.

Something similar happens when I use the Export function to HTML, even if
the LyX file has PNG images (which are not a problem in LyX preview and in
the pdf output). In the case of the Export function for files with PNG
images I get this message:

No information for converting png format files to eps.
Define a converter in the preferences.

Actually, the result of the HTML Export is a Folder which contains the HTML
file
converted form Lyx as well as the files of the PNG images which I had
inserted in
the original Lyx file, but when I open this html file in the browser window
I can't see the png images within the HTML page.

As for my installation, I installed ImageMagick with the full LyX package. I
think it works, otherways I couldn't charge png images, which are correctly
shown both in the Lyx preview and in the pdf output, still something doesn't
work.
Could you please help me with this issue?

Thank you very much for your kind help.

Pierfranco


Re: Logo in Presentation Beamer

2008-08-24 Thread Waluyo Adi Siswanto

  You may be able to insert some commands in the preamble, after loading
 the beamer theme, to modify the header line.  If that doesn't work, you'll
 have to write your own beamer theme (which is not all that hard -- I just
 cobbled one together for my own presentations).  Which theme are you using?

 /Paul


Thank you..
I am just using the beamer templete available in LyX 1.5.5, and modify the
content without logos (left top corner and right top corner) that I want.
In preamble I have:
\usetheme{Warsaw}

\setbeamercovered{transparent}


Re: LyX for MAC: problems in handling file images

2008-08-24 Thread Bennett Helm
On Sun, Aug 24, 2008 at 7:03 PM, Pierfranco Minsenti 
[EMAIL PROTECTED] wrote:

 Hi all,

 is there anyone of the LyX for MAC users which could help me with handling
 images in LyX?
 I use Lyx 1.5.4 for Mac (PowerPC, Mac OS X 10.3.9) and I have found out
 that
 I cannot insert in Lyx files JPEG images. I can only insert PNG images (and
 PDF as well, even if they are not showed in Lyx as a preview).
 If I try to insert JPEG images, I get an error message saying that the
 system is unable to convert the image format.


This sure sounds like you don't have ImageMagick installed properly (or
properly recognized by LyX).


 Something similar happens when I use the Export function to HTML, even if
 the LyX file has PNG images (which are not a problem in LyX preview and in
 the pdf output). In the case of the Export function for files with PNG
 images I get this message:

 No information for converting png format files to eps.
 Define a converter in the preferences.

 Actually, the result of the HTML Export is a Folder which contains the HTML
 file
 converted form Lyx as well as the files of the PNG images which I had
 inserted in
 the original Lyx file, but when I open this html file in the browser window
 I can't see the png images within the HTML page.

 As for my installation, I installed ImageMagick with the full LyX package.
 I
 think it works, otherways I couldn't charge png images, which are correctly
 shown both in the Lyx preview and in the pdf output, still something
 doesn't
 work.
 Could you please help me with this issue?


Try first reconfiguring LyX (LyX  Reconfigure) and then restarting. Does
that solve it? If not, try moving aside your preferences file (in
~/Library/Application Support/LyX-1.5) or even the whole LyX-1.5 directory.
Does that solve it?

Bennett


Re: How to make some paragraphs uselesstermporally?

2008-08-24 Thread Waluyo Adi Siswanto

> Does anyone know how to make some paragraphs useless termporally? 
> Now I want some paragraphs disappear termporally?. But I dont want to delete 
> them, because I will use it in future. In WinEdt, the symbol % can do the 
> job.   
> Which symbol in lyx is charge of this function?

This is just my experience, it might be useful:
I save the unused paragraph, but may be considered later, including the
equations, in note : Insert > Note > LyX Note

When I need this, I can copy to the standard environment.

WAS






Re: How to make some paragraphs uselesstermporally?

2008-08-24 Thread Jürgen Spitzmüller
wangyq wrote:
> Does anyone know how to make some paragraphs useless termporally?
> Now I want some paragraphs disappear termporally?. But I dont want to
> delete them, because I will use it in future. In WinEdt, the symbol % can
> do the job.   Which symbol in lyx is charge of this function?

The "Branches" feature might be useful. Cf. sec. 6.8 of the User Guide.

Jürgen


lyx hangs when clicked on view pdf/ dvi

2008-08-24 Thread ramya kv
Hi,

lyx version 1.5.3
ubuntu 7.10

when ever i try to view the .lyx file i wrote for a c program, lyx stops
responding and i have to forcibly quit it.

format used: C
added by : format:c GUIname:C shortcut:c extension:c and with document
format, viewer and editor:emacs
converter: noweb-->C (using notangle $$i>$$o)

Menu warning: menu entries "Custom...|C" and "C|C" share the same shortcut.
PreferencesPolicy: No transition for input SMI_RESTORE from state INITIAL
Menu warning: menu entries "C|C" and "Close All Insets|C" share the same
shortcut.
newfile1.nw:23: unescaped << in documentation chunk
newfile1.nw:30: unescaped << in documentation chunk
Error: Cannot convert file

An error occurred whilst running notangle 'newfile1.nw' > 'newfile1.c'
Menu warning: menu entries "C|C" and "Close All Insets|C" share the same
shortcut.
newfile1.nw:23: unescaped << in documentation chunk
newfile1.nw:30: unescaped << in documentation chunk
Error: Cannot convert file

An error occurred whilst running notangle 'newfile1.nw' > 'newfile1.c'
Menu warning: menu entries "C|C" and "Close All Insets|C" share the same
shortcut.
newfile1.nw:23: unescaped << in documentation chunk
newfile1.nw:30: unescaped << in documentation chunk
Error: Cannot view file

Does anybody know what these errors mean and how can i go about fixing it?

Regards,
Ramya.


Re: lyx hangs when clicked on view pdf/ dvi

2008-08-24 Thread Andre Poenitz
On Sun, Aug 24, 2008 at 01:37:04PM +0530, ramya kv wrote:
> Hi,
> 
> lyx version 1.5.3
> ubuntu 7.10
> 
> when ever i try to view the .lyx file i wrote for a c program, lyx stops
> responding and i have to forcibly quit it.
> 
> format used: C
> added by : format:c GUIname:C shortcut:c extension:c and with document
> format, viewer and editor:emacs
> converter: noweb-->C (using notangle $$i>$$o)
> 
> Menu warning: menu entries "Custom...|C" and "C|C" share the same shortcut.
> PreferencesPolicy: No transition for input SMI_RESTORE from state INITIAL
> Menu warning: menu entries "C|C" and "Close All Insets|C" share the same
> shortcut.
> newfile1.nw:23: unescaped << in documentation chunk
> newfile1.nw:30: unescaped << in documentation chunk
> Error: Cannot convert file
> 
> An error occurred whilst running notangle 'newfile1.nw' > 'newfile1.c'
> Menu warning: menu entries "C|C" and "Close All Insets|C" share the same
> shortcut.
> newfile1.nw:23: unescaped << in documentation chunk
> newfile1.nw:30: unescaped << in documentation chunk
> Error: Cannot convert file
> 
> An error occurred whilst running notangle 'newfile1.nw' > 'newfile1.c'
> Menu warning: menu entries "C|C" and "Close All Insets|C" share the same
> shortcut.
> newfile1.nw:23: unescaped << in documentation chunk
> newfile1.nw:30: unescaped << in documentation chunk
> Error: Cannot view file
> 
> Does anybody know what these errors mean and how can i go about fixing it?

There seems to be several problems. 

I'd try to look at lines 23 and 30 of newfile1.nw and check what needs
to be done to fix the 'unescaped << in documentation chunk' error.

But apart from that LyX seems to tun into an endless loop, and there's
a problem with menu shortcuts, but that's most likely nothing that can
be fixed on the user side. 

Could you send the 'newfile1.nw' file (possibly cut down to the first
35 lines or so?)

Andre'


Re: Re: use {gmeometric} in Lyx?

2008-08-24 Thread Joanne Demmler
There still seems to be some kind of package clash. (kpsewhich shows 
that the sty files are installed correctly). I even tried it with all 
packages that gmeometric is based on. Now it seems to have a problem 
with "itemize" and still says that "geometry is only allowed in the 
preamble". Never mind. I might sort out something eventually.


In the meantime I have been exploring alternative scenarios, i.e. have 
the page in landscape A4 and just print it off in A3. Sounds easy, one 
might think...


example 1
\usepackage{lscape} or \usepackage{pdflscape} (they are supposedly 
different, but in my case they came up exactly the same in LYX)


\begin{landscape}
*** content on a landscape page ***
\end{landscape}

This rotates very nicely the page, but the  headers stay on the top (as 
they should, because in the normal page you just want to turn your 
document). However as I want this page to be in A3 later on the header 
has to be on the long site.


example2
\usepackage{portland} should in theory turn the whole thing including 
headers, but refuses to do so when I try it!


\landscape
*** content on a landscape page ***
\portrait

Well, outcome just as in "lscape", no rotation of the headers.

example 3
keep pages empty and replace them later over the command line using "pdftk".

Possibly ok if you don't have fancy headers with section titles in them 
and if you have endless time to replace all single pages with the right 
page numbers.

-

So if anyone has an idea how to rotate the headers, it would be very 
much appreciated!


Joanne


Re: How to make some paragraphs uselesstermporally?

2008-08-24 Thread Marcelo Acuña
> > Does anyone know how to make some paragraphs useless
> termporally? 
> > Now I want some paragraphs disappear termporally?. But
> I dont want to delete them, because I will use it in future.
> In WinEdt, the symbol % can do the job.   
> > Which symbol in lyx is charge of this function?
> 
> This is just my experience, it might be useful:
> I save the unused paragraph, but may be considered later,
> including the
> equations, in note : Insert > Note > LyX Note
> 
> When I need this, I can copy to the standard environment.
> 

 Or click in Disolve Inset. Is more easy than copy.

 Marcelo


  Yahoo! Cocina
Recetas prácticas y comida saludable
http://ar.mujer.yahoo.com/cocina/


Re: positioning logo in footer

2008-08-24 Thread Graham Smith

On 21 Aug 2008, at 02:53, Yago wrote:

If you want to place a logo (figure, graphic or something) in a  
page, you can use the command:


\AddToShipoutPicture{} (puts the picture on every page)
\AddToShipoutPicture*{} (puts it on to the current page)

See the eso-pic package documentation.


Sorry for the delay in answering, I managed to miss your reply.  As I  
am pretty new to this, and  eso-pic seems a bit complicated just to  
add a logo into the footer (indeed on first reading I have no idea  
what I should be doing) . Even though I appreciate it has obvious  
reasons for use in terms of  free form placement of images on a page.


As tutorials to add a logo suggest what I did, but don't help in  
terms of being wrongly positioned, are you suggesting eso-pic because  
there is no other way of refining the position of a logo when its  
part of the footer.


Thanks,

Graham





- Original Message -
From: "Graham Smith" <[EMAIL PROTECTED]>
To: "LyX Users List" 
Sent: Wednesday, August 20, 2008 1:49 PM
Subject: positioning logo in footer

> Sorry folks, I'm still struggling along here
>
> I have a logo added with this code
>
> \lfoot{\resizebox{3cm}{!}{\includegraphics{Logo_Small.png}}}
>
> and then an address added as a \rfoot etc
>
> Horizontally this works fine, but vertically, the bottom of the logo
> is at the same height as the top of the address, giving the
> impression that the address is contained inside the footer, but the
> logo is sitting on top of the footer.
>
> How to I move the logo down so it better aligns with the address. I
> would like the top of the logo to align with the top of the address.
>
> Thanks,
>
> Graham
>
> Graham Smith
> [EMAIL PROTECTED]
>
>
>
>
>
>
>
> __ Information from ESET NOD32 Antivirus, version of  
virus signature database 3372 (20080820) __

>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>




Re: How to make some paragraphs uselesstermporally?

2008-08-24 Thread Abdelrazak Younes

Marcelo Acuña wrote:

Does anyone know how to make some paragraphs useless

termporally?

Now I want some paragraphs disappear termporally?. But

I dont want to delete them, because I will use it in future.
In WinEdt, the symbol % can do the job.

Which symbol in lyx is charge of this function?

This is just my experience, it might be useful:
I save the unused paragraph, but may be considered later,
including the
equations, in note : Insert>  Note>  LyX Note

When I need this, I can copy to the standard environment.



  Or click in Disolve Inset. Is more easy than copy.


Or move the cursor at the very beginning of the note inset and hit 
backspace.


Abdel.



Re: positioning logo in footer

2008-08-24 Thread Graham Smith




If you want to place a logo (figure, graphic or something) in  
a page, you can use the command:


\AddToShipoutPicture{} (puts the picture on every page)
\AddToShipoutPicture*{} (puts it on to the current page)

See the eso-pic package documentation.


Sorry for the delay in answering, I managed to miss your reply.  As  
I am pretty new to this, and  eso-pic seems a bit complicated just  
to add a logo into the footer (indeed on first reading I have no  
idea what I should be doing) . Even though I appreciate it has  
obvious reasons for use in terms of  free form placement of images  
on a page.


As tutorials to add a logo suggest what I did, but don't help in  
terms of being wrongly positioned, are you suggesting eso-pic  
because there is no other way of refining the position of a logo  
when its part of the footer.


To reply to my self,in fact \hfill does the job, when I tried this  
before, I obviously had the syntax wrong.


Thanks,

Graham

Re: PDF, DVI, and PS viewers don't work anymore

2008-08-24 Thread Paul A. Rubin

edi wrote:

Up to a couple of hours I was able to see my lyx file in PDF format, but it
mysteriously stopped working. If I attempt DVI or PS, it doesn't do
anything, as if I didn't even click the buttons.

Are there perhaps some processes hanging? Any help would be appreciated.

Thanks


First question:  does this happen just with one file (in which case the 
file is somehow broken), or does it happen with any document (in which 
case either LyX or your LaTeX distro is broken)?


If it's just the one document, try exporting it as a LaTeX file and run 
latex (or pdflatex) against it to see if it compiles correctly.


/Paul



Re: Logo in Presentation Beamer

2008-08-24 Thread Paul A. Rubin

Waluyo Adi Siswanto wrote:

Hi All

In my presentation [using presentation (beamer) class], I want to put two
logos in every page: One on the top-left (university logo) and another one
on the top-right (research group logo)
How can I do that, or any suggestions to place two different logo images in
every presentation page in the header or footer.

Thank you



You may be able to insert some commands in the preamble, after loading 
the beamer theme, to modify the header line.  If that doesn't work, 
you'll have to write your own beamer theme (which is not all that hard 
-- I just cobbled one together for my own presentations).  Which theme 
are you using?


/Paul



Re: Fail to create pdf/ps

2008-08-24 Thread Paul A. Rubin
wangyq wrote:
> 1. No error massage was found. The conversion just stoped after
> several seconds. 

As Gunter suggested, try divide-and-conquer:  cut out portions of the
document, compile, and restore the cut portion if the document compiles
correctly.  Repeat until you home in on the offending portion.

> 2. Does the lyx have feedback windows like WinEdit
> which clearly shows the locations of errors?

Document -> LaTeX log will let you see what LaTeX complained about (if
it complained about anything) and where the message came up.

/Paul



Re: AMS align-environment in a table

2008-08-24 Thread Paul A. Rubin

Robert Neumann wrote:

Hello,
I just tried to put a AMS align environment in a table and I get an error
message. Is there any way to do this?
I'm using Lyx 1.34. on a SuSE 8.3 Linux.
Thanks
Robert




I'm not sure if it's possible inside a tabular environment, but if you 
look at section 67.1 of Herbert Voss's "Math mode" document (version 
2.33), he defines a new environment ("mtabular") and gives an example 
where he nests an align* environment inside an mtabular environment. 
[Disclaimer: I have not tried this myself.]


/Paul



Memoir: Any possible way to have clickable table of contents?

2008-08-24 Thread Steve Litt
Hi all,

I'm not finding any way to include hyperref in a Memoir derived document 
class, and I'm getting orders requiring me to do so. Before I spend a couple 
days reworking a finished book's layout file to be derived from Book instead 
of Memoir, does anyone know a way to have a clickable table of contents (and 
cross references) in a Memoir derived document?

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US



LyX for MAC: problems in handling file images

2008-08-24 Thread Pierfranco Minsenti
Hi all,

is there anyone of the LyX for MAC users which could help me with handling
images in LyX?
I use Lyx 1.5.4 for Mac (PowerPC, Mac OS X 10.3.9) and I have found out that
I cannot insert in Lyx files JPEG images. I can only insert PNG images (and
PDF as well, even if they are not showed in Lyx as a preview).
If I try to insert JPEG images, I get an error message saying that the
system is unable to convert the image format.

Something similar happens when I use the Export function to HTML, even if
the LyX file has PNG images (which are not a problem in LyX preview and in
the pdf output). In the case of the Export function for files with PNG
images I get this message:

No information for converting png format files to eps.
Define a converter in the preferences.

Actually, the result of the HTML Export is a Folder which contains the HTML
file
converted form Lyx as well as the files of the PNG images which I had
inserted in
the original Lyx file, but when I open this html file in the browser window
I can't see the png images within the HTML page.

As for my installation, I installed ImageMagick with the full LyX package. I
think it works, otherways I couldn't charge png images, which are correctly
shown both in the Lyx preview and in the pdf output, still something doesn't
work.
Could you please help me with this issue?

Thank you very much for your kind help.

Pierfranco


Re: Logo in Presentation Beamer

2008-08-24 Thread Waluyo Adi Siswanto
>
>  You may be able to insert some commands in the preamble, after loading
>> the beamer theme, to modify the header line.  If that doesn't work, you'll
>> have to write your own beamer theme (which is not all that hard -- I just
>> cobbled one together for my own presentations).  Which theme are you using?
>>
>> /Paul
>
>
Thank you..
I am just using the beamer templete available in LyX 1.5.5, and modify the
content without logos (left top corner and right top corner) that I want.
In preamble I have:
\usetheme{Warsaw}

\setbeamercovered{transparent}


Re: LyX for MAC: problems in handling file images

2008-08-24 Thread Bennett Helm
On Sun, Aug 24, 2008 at 7:03 PM, Pierfranco Minsenti <
[EMAIL PROTECTED]> wrote:

> Hi all,
>
> is there anyone of the LyX for MAC users which could help me with handling
> images in LyX?
> I use Lyx 1.5.4 for Mac (PowerPC, Mac OS X 10.3.9) and I have found out
> that
> I cannot insert in Lyx files JPEG images. I can only insert PNG images (and
> PDF as well, even if they are not showed in Lyx as a preview).
> If I try to insert JPEG images, I get an error message saying that the
> system is unable to convert the image format.


This sure sounds like you don't have ImageMagick installed properly (or
properly recognized by LyX).


> Something similar happens when I use the Export function to HTML, even if
> the LyX file has PNG images (which are not a problem in LyX preview and in
> the pdf output). In the case of the Export function for files with PNG
> images I get this message:
>
> No information for converting png format files to eps.
> Define a converter in the preferences.
>
> Actually, the result of the HTML Export is a Folder which contains the HTML
> file
> converted form Lyx as well as the files of the PNG images which I had
> inserted in
> the original Lyx file, but when I open this html file in the browser window
> I can't see the png images within the HTML page.
>
> As for my installation, I installed ImageMagick with the full LyX package.
> I
> think it works, otherways I couldn't charge png images, which are correctly
> shown both in the Lyx preview and in the pdf output, still something
> doesn't
> work.
> Could you please help me with this issue?


Try first reconfiguring LyX (LyX > Reconfigure) and then restarting. Does
that solve it? If not, try moving aside your preferences file (in
~/Library/Application Support/LyX-1.5) or even the whole LyX-1.5 directory.
Does that solve it?

Bennett