Re: Classic Thesis and LyX

2009-09-04 Thread Guenter Milde
On 2009-09-03, Manolo Martí­nez wrote:

...

 I'm getting several Math formula deleted: Insufficient symbol fonts. 
 errors every time I try to run pdflatex. The description of the error is:

 Sorry, but I can't typeset math unless \textfont 2

 and \scriptfont 2 and \scriptscriptfont 2 have all

 the \fontdimen values needed in math symbol fonts.

...

 After some googling I've come to think that this has to do with my 
 having some fonts installed which supersede the order to escale some 
 other fonts. But beyond that, I do not really know where to look.

It most certainly is a font issue. Could you try if this happens 

with every math formula, 
only with sub- and superscripts, 
maybe with formulae in headings or otherwise scaled?

Does the problem go away if you choose a different font set?

Could you be more specific about your font setup?

Günter




Re: How to install new packages to Lyx?

2009-09-04 Thread Agoldenquill


dirac14 wrote:
 
 Hello there!
 I am a relatively new lyx user and this is my first post so please forgive
 my total ignorance..
 
 I ve searched for at least 3 hours to give myself the answer to the
 subject's question . . .  what do i have to do in order to install a new
 package and make it work as if it were preinstalled in lyx?

I am in the same position as dirac14. I began using LyX about a month ago,
but in that time I have yet to figure out how to install new packages. I
searched everywhere, but all the LyX information seems written for
programmer-types, or people who know LaTeX. Yet the LyX webpages said one
does not need to know LaTeX in order to use LyX.

Does anyone have simple, regular, end-user English instructions for
installing new packages?
Any help is appreciated.

-- 
View this message in context: 
http://n2.nabble.com/How-to-install-new-packages-to-Lyx-tp3549182p3579462.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Smart/curly quotes vs straight quotes

2009-09-04 Thread Agoldenquill

I'm a new LyX user needing to convert a novel manuscript to LyX format. I
managed to remove all but the barebones formatting from my
OpenOffice-formatted document (could not export directly to LyX -- didn't
work for some reason), but now I cannot seem to find any way to convert all
the quotes to smart, or curly, quotes. They're all straight quotes.

The only thing I've discovered so far is to manually go through and delete
the left-quote / right-quote and type in the new one. With over 400 pages
including extensive dialogue, this is a huge undertaking!

Does anyone know of a macro-type method or any other method to automatically
convert straight quotes to smart/curly quotes?

FYI, I've already tried search-and-replace, but this too is a time-consuming
task, having to go through and search each left straight quote and replace
it with a left smart quote, then do the same for the right. Twice through
400+ pages...not fun.

Any help is appreciated.
-- 
View this message in context: 
http://n2.nabble.com/Smart-curly-quotes-vs-straight-quotes-tp3579497p3579497.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: How to install new packages to Lyx?

2009-09-04 Thread Julio Rojas
I'm sorry to tell you this, but there is not such thing as Lyx
packages. All of them are Latex packages. So unfortunately you need
to, at least, know how to install and use a package in LaTeX, as there
is no easy way to interface a LaTeX package with Lyx. Installation
depends on your OS and LaTeX distribution. Usage is OS independent.

Please check this:
http://en.wikibooks.org/wiki/LaTeX/Packages/Installing_Extra_Packages
http://www.artofproblemsolving.com/LaTeX/AoPS_L_GuidePack.php
http://www.troubleshooters.com/linux/lyx/lyx_latex_tex.htm
http://www.stat.rice.edu/~helpdesk/howto/lyxguide.html
-
Julio Rojas
jcredbe...@gmail.com



On Fri, Sep 4, 2009 at 2:02 PM, Agoldenquillagoldenqu...@yahoo.com wrote:


 dirac14 wrote:

 Hello there!
 I am a relatively new lyx user and this is my first post so please forgive
 my total ignorance..

 I ve searched for at least 3 hours to give myself the answer to the
 subject's question . . .  what do i have to do in order to install a new
 package and make it work as if it were preinstalled in lyx?

 I am in the same position as dirac14. I began using LyX about a month ago,
 but in that time I have yet to figure out how to install new packages. I
 searched everywhere, but all the LyX information seems written for
 programmer-types, or people who know LaTeX. Yet the LyX webpages said one
 does not need to know LaTeX in order to use LyX.

 Does anyone have simple, regular, end-user English instructions for
 installing new packages?
 Any help is appreciated.

 --
 View this message in context: 
 http://n2.nabble.com/How-to-install-new-packages-to-Lyx-tp3549182p3579462.html
 Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Smart/curly quotes vs straight quotes

2009-09-04 Thread Jürgen Spitzmüller
Agoldenquill wrote:
 Does anyone know of a macro-type method or any other method to
  automatically convert straight quotes to smart/curly quotes?
 
 FYI, I've already tried search-and-replace, but this too is a
  time-consuming task, having to go through and search each left straight
  quote and replace it with a left smart quote, then do the same for the
  right. Twice through 400+ pages...not fun.
 
 Any help is appreciated.

Assuming you mean the character  by straight quote and assuming you want 
American quote style, the following preamble code is supposed to produce what 
you want in the output (while the straight quotes are kept inside LyX):

\usepackage[english]{csquotes}
\MakeOuterQuote{}

Jürgen


Re: breaking long url

2009-09-04 Thread rgheck

On 09/03/2009 09:49 PM, Sharma, Vivek wrote:

I am using the memoir class, Lyx 1.6.4 and want to write the following:

Web sites:

University Hospital Llandough, Cardiff:

\url{http://www.cardiffandvale.wales.nhs.uk/portal/page?_pageid=33,480404,33_480405_dad=portal_schema=PORTAL}

East Glamorgan General Hospital now known as to Royal Glamorgan Hospital, 
Cardiff

Ynys Maerdy, Pontyclun, Llantrisant, CF72 8XR

http://www.wales.nhs.uk/hospitals.cfm

Ysbyty Gwynedd Hospital, Bangor:

http://www.northwestwales.org/WiSSCMS-en-308.aspx

Problem despite trying the insert URL option in lyx or the above putting the 
url as ERT i have not been able to get it to break appropriately and the url 
goes beyond the text margins. I have  tried the suggestion to put it as 
\href{url}{...} as well

I would appreciate any help with this

   

If LaTeX is having trouble breaking it, then you'll have to do so manually.

rh



Re: breaking long url

2009-09-04 Thread Paul A. Rubin

Sharma, Vivek wrote:

I am using the memoir class, Lyx 1.6.4 and want to write the following:

Web sites: 


University Hospital Llandough, Cardiff:

\url{http://www.cardiffandvale.wales.nhs.uk/portal/page?_pageid=33,480404,33_480405_dad=portal_schema=PORTAL}

East Glamorgan General Hospital now known as to Royal Glamorgan Hospital, 
Cardiff

Ynys Maerdy, Pontyclun, Llantrisant, CF72 8XR

http://www.wales.nhs.uk/hospitals.cfm

Ysbyty Gwynedd Hospital, Bangor: 


http://www.northwestwales.org/WiSSCMS-en-308.aspx


___


I have the following in the preamble:

\usepackage{booktabs}
\usepackage{graphicx}
\usepackage{color}
%\usepackage[%
%colorlinks=true,linkcolor=black,citecolor=black,urlcolor=black,%
%pdfstartview=FitH,%
%bookmarksopen=true,bookmarksopenlevel=0,%
%plainpages=false,pdfpagelabels,%
%pagebackref=true,%
%pdftoolbar=false]{hyperref}
\usepackage{url}
%% Define a new 'leo' style for the package that will use a smaller font.
%\makeatletter
%\def\...@leostyle{%
  
\...@ifundefined{selectfont}%{\def\urlfont{\sf}}%{\def\urlfont{\small\ttfamily}}}
%\makeatother
%% Now actually use the newly defined style.
%\urlstyle{leo}
\usepackage{breakurl}


Problem despite trying the insert URL option in lyx or the above putting the 
url as ERT i have not been able to get it to break appropriately and the url 
goes beyond the text margins. I have  tried the suggestion to put it as 
\href{url}{...} as well

I would appreciate any help with this


Regards
Vivek


This thread may help: 
http://article.gmane.org/gmane.editors.lyx.general/32119/match=long+url.


/Paul



Re: rotated table problem

2009-09-04 Thread Marcelo Acuña
 martes, 1 de septiembre de 2009, 7:55 pm
   In my koma-script book I
 chose to have two
  columns.
   The tables are displayed correctly, except when
  they are rotated. (I use the corresponding option,
 spam
  column.)
   In this case they begin in one of the columns
  and are partially outside the page leaving the
 rest of the
  page in blank.
   How I can solve this problem? 
  
  Can you provide a small LyX example file?
  regards Uwe
 
 Could somebody reproduce the error?
 I need to correct this.
 Regards
Marcelo


  Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/


Re: rotated table problem

2009-09-04 Thread Marcelo Acuña
  In my koma-script book I
 chose to have two columns.
  The tables are displayed correctly, except when
 they are rotated. (I use the corresponding option,
 spam column.)
  In this case they begin in one of the columns
 and are partially outside the page leaving the
 rest of the page in blank.
  How I can solve this problem? 
  
 Can you provide a small LyX example file?
 regards Uwe
 
 Here it is the example.
 Regards
Marcelo



  Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/

ratated.lyx
Description: Binary data


Re: rotated table problem

2009-09-04 Thread Uwe Stöhr

Marcelo Acuña schrieb:

 In my koma-script book I
chose to have two columns.
 The tables are displayed correctly, except when
they are rotated. (I use the corresponding option,
spam column.)
 In this case they begin in one of the columns
and are partially outside the page leaving the
rest of the page in blank.
 How I can solve this problem? 


As I write in sec. 3.6 Rotated Floats in the EmbeddedObjects manual, rotated floats will _always_ 
be placed on their own page. Therefore the float placing options will be greyed out in the dialog 
when you set a float to be rotated.


Looking at your example, the float looks well placed. I cannot see that it is outside of the page. 
Attached is another example that works as it should.


regards Uwe


ratated.lyx
Description: application/lyx


Re: breaking long url

2009-09-04 Thread Les Denham
On Friday 04 September 2009 09:57:02 Uwe Stöhr wrote:
 Sharma, Vivek schrieb:
  I am using the memoir class, Lyx 1.6.4 and want to write the following:
  Web sites:
 
  University Hospital Llandough, Cardiff:
  \url{http://www.cardiffandvale.wales.nhs.uk/portal/page?_pageid=33,480404
 ,33_480405_dad=portal_schema=PORTAL}

 Better use a hyperlink for that. For your case there are three
 possibilities:

 - using the long link and breaking it by inserting \\ in the name field

 - using the long link but using another name

 - making the link much shorter by using tinyurl.com

 Attached is a LyX file showing the possibilities.

.
.
.
 regards Uwe

Another simple alternative is to reduce the font size for the URL so it fits. 
However, in this case even reducing it to Tiny doesn't do the job for default 
Memoir A4 fonts and margins.  I'd use tinyurl.com.
-- 
..
Les Denham


Re: breaking long url

2009-09-04 Thread Uwe Stöhr

Sharma, Vivek schrieb:


I am using the memoir class, Lyx 1.6.4 and want to write the following:
Web sites: 


University Hospital Llandough, Cardiff:
\url{http://www.cardiffandvale.wales.nhs.uk/portal/page?_pageid=33,480404,33_480405_dad=portal_schema=PORTAL}


Better use a hyperlink for that. For your case there are three possibilities:

- using the long link and breaking it by inserting \\ in the name field

- using the long link but using another name

- making the link much shorter by using tinyurl.com

Attached is a LyX file showing the possibilities.


I have the following in the preamble:

\usepackage{booktabs}
\usepackage{graphicx}
\usepackage{color}


You can delete this because LyX already takes care to load these packages when 
they are needed.


%\usepackage[%
%colorlinks=true,linkcolor=black,citecolor=black,urlcolor=black,%

 %pdfstartview=FitH,%
 %bookmarksopen=true,bookmarksopenlevel=0,%
 %plainpages=false,pdfpagelabels,%
 %pagebackref=true,%
 %pdftoolbar=false]{hyperref}

This can also be deleted. The hyperref settings can be set in the LyX documents settings under PDF 
properties. (I've also used this in the attached LyX file.)



\usepackage{url}


You can delete this because LyX already takes care to load this packages when 
it is are needed.


%\makeatletter


\makeatletter and \mekeatother is automatically inserted by LyX if needed.

regards Uwe


newfile1.lyx
Description: application/lyx


Re: Multiple Bib - Koma

2009-09-04 Thread Pierfranco Minsenti
Dear Yannick,

I am glad to hear that the files I sent you solved your problem. I tried to
send my e-mail, with the attached files, even to the
lyx-us...@lists.lyx.orgbut the mail systems continues to refuse my
message to the list. I don't
know why.
According to the Readme file the NM LyX port  is free software; you can
redistribute it and/or modify it so I imagine I am free to post to a
website my modified version. But maybe it is not so difficult to have it and
in any case  I will be happy to send it to other interested people who would
like to use the LyX version of André Miede's ClassicThesis, by Nick Mariette
together with the biblatex package.

pierfranco



2009/9/4 Yannick Wurm yannick.w...@unil.ch
Cool that's excellent!
Thank you so much! Can I buy you a beer? What's your paypal?

Now all I have to do is figure out how to format the references the way I
want them :)

have a wonderful evening,
yannick
ps: will you post this to the list or to a website?

On 4 Sep 2009, at 15:18, Pierfranco Minsenti wrote:




Dear Yannick,

Good News! It works: I mean: LyX+classicthesis port + biblatex.
I have tested it using 2 different computers and environments:
1) an iBook PowerPc with MAC OS X 10.3.9, TeXLive 2007 and LyX 1.5
2) an iMac Intet with MAC OS X 10.5.8, TeXLive 2008 and LyX 1.6.2
it works on both machines so it SHOULD work even in your case.

Let's sum up the preliminary steps to have it work:

1) download the biblatex.module from http://wiki.lyx.org/BibTeX/Biblatex and
put it into your /Users/your_computer_name/Library/Application
Support/LyX-1.6/layouts

2) download the Perl script bibtexall from
http://wiki.lyx.org/BibTeX/Tips#secbib and copy it into your /usr/local/bin

3) open LyX and Run Edit→Reconfigure, restart LyX and select the module
Biblatex-citation-styles from Document→Settings→Modules. as explained in
http://wiki.lyx.org/BibTeX/Biblatex

4) put your bibliography (that is your .bib file) in your personal LaTeX
directory, that is in the folder
/Users/your_computer_name/Library/texmf/bibtex/bib

Now let's go and open the two files preamble.sty and nm_classicthesis.sty
from the Nick Mariette ClassicThesis LyX port:

1. Modifications to preamble.sty

2. Modifications to nm_classicthesis.sty

and modify them as I have explained in the file List of commands to modify
in the preamble_sty file.tex you will find in the folder enclosed


Finally, modify your LyX files:

1. in the preamble of your master file add these lines:

\usepackage{nameref}
\defbibheading{references}{\section*{References}}
%
\defbibheading{bibliography}{\chapter*{Bibliography}}
%
\defbibfilter{notcited}{%
 \not \segment{1}
\and \not \segment{2}
\and \not \segment{3}



2. in every chapter add these lines:

for example:

\myChapter{Title of first chapter}

\begin{refsegment}

...

\addcontentsline{toc}{section}{\refname}

\printbibliography[heading=references,segment=1]

\end{refsegment}

and then again:

\myChapter{Title of second chapter}

\begin{refsegment}

...

\addcontentsline{toc}{section}{\refname}

\printbibliography[heading=references,segment=2]

\end{refsegment}

etc.

Mind the line with the command
\printbibliography[heading=references,segment=2] : in the options the number
after segment is the same number of your segment, that is, in your case, the
number of the chapter

Save and run PDF (pdflatex) from your master file.

In the addedd folder you will find and example done with Chapter 02 from the
Nick Mariette LyX port of ClassicThesis.

I hope this will work.

Best wishes

Pierfranco


2009/9/3 Yannick Wurm yannick.w...@unil.ch

H,
 so getting things working with ClassicThesis is harder than I thought.

 I've resolved most of the conflicts between the classicthesis.sty,
 preamble.sty and the preable that you gave in your example. (like you said,
 those were related to natbib, hyperref, backref). So I feel I'm 90% there!
 However, as soon as I add the code below to my ClassicThesis.lyx preamble,
 things fail.

 But I cannot make sense of the errors, nor locate where they are coming
 from (is there any way to get more verbose error messages from lyx?). What
 follows is the first error out of many:
 Error: You can't use '\spacefactor' in vertical mode.
 Description:  \@
 ifundefined{showcaptionsetup}{}{%
 Sorry, but I'm not programmed to handle this case;
 I'll just pretend that you didn't ask for it.
 If you're in the wrong mode, you might be able to
 return to the right one by typing `I}' or `I$' or `I\par'.
 

 Do you have any ideas where I should look?

 Thanks!!
 yannick


 
 %  responsible for converting the citekeys to pretty citations
 \makeatletter
 \AtEveryBibitem{%
 \iffieldequals{namehash}{\...@prevhash}
 {}
 {\addvspace{0.8\baselineskip}}% 0.8\baselineskip o altra misura
 \savefield{namehash}{\...@prevhash}}
 \AtBeginBibliography{%
 \let\...@prevhash\undefined}
 \makeatother

 On 3 Sep 2009, at 16:18, Yannick Wurm wrote:

  Hello Pierfranco,
 thank you very much for the rapid 

PDFscreen NewPanel

2009-09-04 Thread exp123

Hi,
I have been reading the following manual on pdfscreen:
http://amath.colorado.edu/documentation/LaTeX/prosper/0/pdfscreen_man.pdf
Could anyone please let me know where do I need to insert code on page 9 of
the above tutorial to create a new panel?
Thanks


I tried the following but the navigation panel does not change:



___
\documentclass[pdftex,12pt]{article}
%%% misc extensions %
\usepackage[latin1]{inputenc}
\usepackage[english]{babel}
\usepackage[T1]{fontenc}
\usepackage{aeguill}

%%% pdfscreen %%%
\def\panel{\colorbox{panelbackground}
{\begin{minipage}[t][\paperheight][b]{\panelwidth}
\centering\null\vspace*{12pt}
\includegraphics[width=.75in]{univ}\par\vfill
\hre...@urlid}{\addbutton{.85in}{\@Panelhomepagename}}\par\vfill
\Acrobatmenu{FirstPage}{\addButton{.85in}
{\fbla...@paneltitlepagename}}\par\vfill
\Acrobatmenu{FirstPage}{\addButton{.2in}
{\FBlack\scalebox{.8}[1.4]{\btl\btl}}}\hspace{-3pt}
\Acrobatmenu{PrevPage}{\addButton{.2in}
{\FBlack\scalebox{.8}[1.4]{\btl}}}\hspace{-3pt}
\Acrobatmenu{NextPage}{\addButton{.2in}
{\LBlack\scalebox{.8}[1.4]{\rtl}}}\hspace{-3pt}
\Acrobatmenu{LastPage}{\addButton{.2in}
{\LBlack\scalebox{.8}[1.4]{\rtl\rtl}}}\par\vfill
\Acrobatmenu{GoBack}{\addButton{.85in}
{...@panelgobackname}}\par\vfill
\Acrobatmenu{FullScreen}{\addButton{.85in}{Full Screen}}\par\vfill
\acrobatmenu{close}{\addbutton{.85in...@panelclosename}}\par\vfill
\acrobatmenu{quit}{\addbutton{.85in...@panelquitname}}\par
\null\vspace*{12pt}
\end{minipage}}}

\usepackage[screen,panelleft,chocolate]{pdfscreen}




%% height width
\screensize{150mm}{200mm}
%% left right top bottom
\marginsize{42mm}{8mm}{10mm}{10mm}
% Color or image for background
\overlayempty
\definecolor{mybg}{rgb}{1,0.9,0.7}
\backgroundcolor{mybg}
% Logo
%\emblema{MyLogo}
%%% For PPower4 (post-processor) 
\usepackage{pause}
%



\begin{document}


\begin{slide}
\begin{itemize}
\item Good News\dots \pause
\item Bad News
\end{itemize}
\end{slide}
\end{document}

-- 
View this message in context: 
http://n2.nabble.com/PDFscreen-NewPanel-tp3582931p3582931.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: PDFscreen NewPanel

2009-09-04 Thread Uwe Stöhr

exp123 schrieb:


I have been reading the following manual on pdfscreen:
http://amath.colorado.edu/documentation/LaTeX/prosper/0/pdfscreen_man.pdf
Could anyone please let me know where do I need to insert code on page 9 of
the above tutorial to create a new panel?


Insert this code to the document preamble (menu Document - Settings - LaTeX 
preamble)

regards Uwe


Re: Classic Thesis and LyX

2009-09-04 Thread Guenter Milde
On 2009-09-03, Manolo Martí­nez wrote:

...

 I'm getting several Math formula deleted: Insufficient symbol fonts. 
 errors every time I try to run pdflatex. The description of the error is:

 Sorry, but I can't typeset math unless \textfont 2

 and \scriptfont 2 and \scriptscriptfont 2 have all

 the \fontdimen values needed in math symbol fonts.

...

 After some googling I've come to think that this has to do with my 
 having some fonts installed which supersede the order to escale some 
 other fonts. But beyond that, I do not really know where to look.

It most certainly is a font issue. Could you try if this happens 

with every math formula, 
only with sub- and superscripts, 
maybe with formulae in headings or otherwise scaled?

Does the problem go away if you choose a different font set?

Could you be more specific about your font setup?

Günter




Re: How to install new packages to Lyx?

2009-09-04 Thread Agoldenquill


dirac14 wrote:
 
 Hello there!
 I am a relatively new lyx user and this is my first post so please forgive
 my total ignorance..
 
 I ve searched for at least 3 hours to give myself the answer to the
 subject's question . . .  what do i have to do in order to install a new
 package and make it work as if it were preinstalled in lyx?

I am in the same position as dirac14. I began using LyX about a month ago,
but in that time I have yet to figure out how to install new packages. I
searched everywhere, but all the LyX information seems written for
programmer-types, or people who know LaTeX. Yet the LyX webpages said one
does not need to know LaTeX in order to use LyX.

Does anyone have simple, regular, end-user English instructions for
installing new packages?
Any help is appreciated.

-- 
View this message in context: 
http://n2.nabble.com/How-to-install-new-packages-to-Lyx-tp3549182p3579462.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Smart/curly quotes vs straight quotes

2009-09-04 Thread Agoldenquill

I'm a new LyX user needing to convert a novel manuscript to LyX format. I
managed to remove all but the barebones formatting from my
OpenOffice-formatted document (could not export directly to LyX -- didn't
work for some reason), but now I cannot seem to find any way to convert all
the quotes to smart, or curly, quotes. They're all straight quotes.

The only thing I've discovered so far is to manually go through and delete
the left-quote / right-quote and type in the new one. With over 400 pages
including extensive dialogue, this is a huge undertaking!

Does anyone know of a macro-type method or any other method to automatically
convert straight quotes to smart/curly quotes?

FYI, I've already tried search-and-replace, but this too is a time-consuming
task, having to go through and search each left straight quote and replace
it with a left smart quote, then do the same for the right. Twice through
400+ pages...not fun.

Any help is appreciated.
-- 
View this message in context: 
http://n2.nabble.com/Smart-curly-quotes-vs-straight-quotes-tp3579497p3579497.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: How to install new packages to Lyx?

2009-09-04 Thread Julio Rojas
I'm sorry to tell you this, but there is not such thing as Lyx
packages. All of them are Latex packages. So unfortunately you need
to, at least, know how to install and use a package in LaTeX, as there
is no easy way to interface a LaTeX package with Lyx. Installation
depends on your OS and LaTeX distribution. Usage is OS independent.

Please check this:
http://en.wikibooks.org/wiki/LaTeX/Packages/Installing_Extra_Packages
http://www.artofproblemsolving.com/LaTeX/AoPS_L_GuidePack.php
http://www.troubleshooters.com/linux/lyx/lyx_latex_tex.htm
http://www.stat.rice.edu/~helpdesk/howto/lyxguide.html
-
Julio Rojas
jcredbe...@gmail.com



On Fri, Sep 4, 2009 at 2:02 PM, Agoldenquillagoldenqu...@yahoo.com wrote:


 dirac14 wrote:

 Hello there!
 I am a relatively new lyx user and this is my first post so please forgive
 my total ignorance..

 I ve searched for at least 3 hours to give myself the answer to the
 subject's question . . .  what do i have to do in order to install a new
 package and make it work as if it were preinstalled in lyx?

 I am in the same position as dirac14. I began using LyX about a month ago,
 but in that time I have yet to figure out how to install new packages. I
 searched everywhere, but all the LyX information seems written for
 programmer-types, or people who know LaTeX. Yet the LyX webpages said one
 does not need to know LaTeX in order to use LyX.

 Does anyone have simple, regular, end-user English instructions for
 installing new packages?
 Any help is appreciated.

 --
 View this message in context: 
 http://n2.nabble.com/How-to-install-new-packages-to-Lyx-tp3549182p3579462.html
 Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Smart/curly quotes vs straight quotes

2009-09-04 Thread Jürgen Spitzmüller
Agoldenquill wrote:
 Does anyone know of a macro-type method or any other method to
  automatically convert straight quotes to smart/curly quotes?
 
 FYI, I've already tried search-and-replace, but this too is a
  time-consuming task, having to go through and search each left straight
  quote and replace it with a left smart quote, then do the same for the
  right. Twice through 400+ pages...not fun.
 
 Any help is appreciated.

Assuming you mean the character  by straight quote and assuming you want 
American quote style, the following preamble code is supposed to produce what 
you want in the output (while the straight quotes are kept inside LyX):

\usepackage[english]{csquotes}
\MakeOuterQuote{}

Jürgen


Re: breaking long url

2009-09-04 Thread rgheck

On 09/03/2009 09:49 PM, Sharma, Vivek wrote:

I am using the memoir class, Lyx 1.6.4 and want to write the following:

Web sites:

University Hospital Llandough, Cardiff:

\url{http://www.cardiffandvale.wales.nhs.uk/portal/page?_pageid=33,480404,33_480405_dad=portal_schema=PORTAL}

East Glamorgan General Hospital now known as to Royal Glamorgan Hospital, 
Cardiff

Ynys Maerdy, Pontyclun, Llantrisant, CF72 8XR

http://www.wales.nhs.uk/hospitals.cfm

Ysbyty Gwynedd Hospital, Bangor:

http://www.northwestwales.org/WiSSCMS-en-308.aspx

Problem despite trying the insert URL option in lyx or the above putting the 
url as ERT i have not been able to get it to break appropriately and the url 
goes beyond the text margins. I have  tried the suggestion to put it as 
\href{url}{...} as well

I would appreciate any help with this

   

If LaTeX is having trouble breaking it, then you'll have to do so manually.

rh



Re: breaking long url

2009-09-04 Thread Paul A. Rubin

Sharma, Vivek wrote:

I am using the memoir class, Lyx 1.6.4 and want to write the following:

Web sites: 


University Hospital Llandough, Cardiff:

\url{http://www.cardiffandvale.wales.nhs.uk/portal/page?_pageid=33,480404,33_480405_dad=portal_schema=PORTAL}

East Glamorgan General Hospital now known as to Royal Glamorgan Hospital, 
Cardiff

Ynys Maerdy, Pontyclun, Llantrisant, CF72 8XR

http://www.wales.nhs.uk/hospitals.cfm

Ysbyty Gwynedd Hospital, Bangor: 


http://www.northwestwales.org/WiSSCMS-en-308.aspx


___


I have the following in the preamble:

\usepackage{booktabs}
\usepackage{graphicx}
\usepackage{color}
%\usepackage[%
%colorlinks=true,linkcolor=black,citecolor=black,urlcolor=black,%
%pdfstartview=FitH,%
%bookmarksopen=true,bookmarksopenlevel=0,%
%plainpages=false,pdfpagelabels,%
%pagebackref=true,%
%pdftoolbar=false]{hyperref}
\usepackage{url}
%% Define a new 'leo' style for the package that will use a smaller font.
%\makeatletter
%\def\...@leostyle{%
  
\...@ifundefined{selectfont}%{\def\urlfont{\sf}}%{\def\urlfont{\small\ttfamily}}}
%\makeatother
%% Now actually use the newly defined style.
%\urlstyle{leo}
\usepackage{breakurl}


Problem despite trying the insert URL option in lyx or the above putting the 
url as ERT i have not been able to get it to break appropriately and the url 
goes beyond the text margins. I have  tried the suggestion to put it as 
\href{url}{...} as well

I would appreciate any help with this


Regards
Vivek


This thread may help: 
http://article.gmane.org/gmane.editors.lyx.general/32119/match=long+url.


/Paul



Re: rotated table problem

2009-09-04 Thread Marcelo Acuña
 martes, 1 de septiembre de 2009, 7:55 pm
   In my koma-script book I
 chose to have two
  columns.
   The tables are displayed correctly, except when
  they are rotated. (I use the corresponding option,
 spam
  column.)
   In this case they begin in one of the columns
  and are partially outside the page leaving the
 rest of the
  page in blank.
   How I can solve this problem? 
  
  Can you provide a small LyX example file?
  regards Uwe
 
 Could somebody reproduce the error?
 I need to correct this.
 Regards
Marcelo


  Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/


Re: rotated table problem

2009-09-04 Thread Marcelo Acuña
  In my koma-script book I
 chose to have two columns.
  The tables are displayed correctly, except when
 they are rotated. (I use the corresponding option,
 spam column.)
  In this case they begin in one of the columns
 and are partially outside the page leaving the
 rest of the page in blank.
  How I can solve this problem? 
  
 Can you provide a small LyX example file?
 regards Uwe
 
 Here it is the example.
 Regards
Marcelo



  Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/

ratated.lyx
Description: Binary data


Re: rotated table problem

2009-09-04 Thread Uwe Stöhr

Marcelo Acuña schrieb:

 In my koma-script book I
chose to have two columns.
 The tables are displayed correctly, except when
they are rotated. (I use the corresponding option,
spam column.)
 In this case they begin in one of the columns
and are partially outside the page leaving the
rest of the page in blank.
 How I can solve this problem? 


As I write in sec. 3.6 Rotated Floats in the EmbeddedObjects manual, rotated floats will _always_ 
be placed on their own page. Therefore the float placing options will be greyed out in the dialog 
when you set a float to be rotated.


Looking at your example, the float looks well placed. I cannot see that it is outside of the page. 
Attached is another example that works as it should.


regards Uwe


ratated.lyx
Description: application/lyx


Re: breaking long url

2009-09-04 Thread Les Denham
On Friday 04 September 2009 09:57:02 Uwe Stöhr wrote:
 Sharma, Vivek schrieb:
  I am using the memoir class, Lyx 1.6.4 and want to write the following:
  Web sites:
 
  University Hospital Llandough, Cardiff:
  \url{http://www.cardiffandvale.wales.nhs.uk/portal/page?_pageid=33,480404
 ,33_480405_dad=portal_schema=PORTAL}

 Better use a hyperlink for that. For your case there are three
 possibilities:

 - using the long link and breaking it by inserting \\ in the name field

 - using the long link but using another name

 - making the link much shorter by using tinyurl.com

 Attached is a LyX file showing the possibilities.

.
.
.
 regards Uwe

Another simple alternative is to reduce the font size for the URL so it fits. 
However, in this case even reducing it to Tiny doesn't do the job for default 
Memoir A4 fonts and margins.  I'd use tinyurl.com.
-- 
..
Les Denham


Re: breaking long url

2009-09-04 Thread Uwe Stöhr

Sharma, Vivek schrieb:


I am using the memoir class, Lyx 1.6.4 and want to write the following:
Web sites: 


University Hospital Llandough, Cardiff:
\url{http://www.cardiffandvale.wales.nhs.uk/portal/page?_pageid=33,480404,33_480405_dad=portal_schema=PORTAL}


Better use a hyperlink for that. For your case there are three possibilities:

- using the long link and breaking it by inserting \\ in the name field

- using the long link but using another name

- making the link much shorter by using tinyurl.com

Attached is a LyX file showing the possibilities.


I have the following in the preamble:

\usepackage{booktabs}
\usepackage{graphicx}
\usepackage{color}


You can delete this because LyX already takes care to load these packages when 
they are needed.


%\usepackage[%
%colorlinks=true,linkcolor=black,citecolor=black,urlcolor=black,%

 %pdfstartview=FitH,%
 %bookmarksopen=true,bookmarksopenlevel=0,%
 %plainpages=false,pdfpagelabels,%
 %pagebackref=true,%
 %pdftoolbar=false]{hyperref}

This can also be deleted. The hyperref settings can be set in the LyX documents settings under PDF 
properties. (I've also used this in the attached LyX file.)



\usepackage{url}


You can delete this because LyX already takes care to load this packages when 
it is are needed.


%\makeatletter


\makeatletter and \mekeatother is automatically inserted by LyX if needed.

regards Uwe


newfile1.lyx
Description: application/lyx


Re: Multiple Bib - Koma

2009-09-04 Thread Pierfranco Minsenti
Dear Yannick,

I am glad to hear that the files I sent you solved your problem. I tried to
send my e-mail, with the attached files, even to the
lyx-us...@lists.lyx.orgbut the mail systems continues to refuse my
message to the list. I don't
know why.
According to the Readme file the NM LyX port  is free software; you can
redistribute it and/or modify it so I imagine I am free to post to a
website my modified version. But maybe it is not so difficult to have it and
in any case  I will be happy to send it to other interested people who would
like to use the LyX version of André Miede's ClassicThesis, by Nick Mariette
together with the biblatex package.

pierfranco



2009/9/4 Yannick Wurm yannick.w...@unil.ch
Cool that's excellent!
Thank you so much! Can I buy you a beer? What's your paypal?

Now all I have to do is figure out how to format the references the way I
want them :)

have a wonderful evening,
yannick
ps: will you post this to the list or to a website?

On 4 Sep 2009, at 15:18, Pierfranco Minsenti wrote:




Dear Yannick,

Good News! It works: I mean: LyX+classicthesis port + biblatex.
I have tested it using 2 different computers and environments:
1) an iBook PowerPc with MAC OS X 10.3.9, TeXLive 2007 and LyX 1.5
2) an iMac Intet with MAC OS X 10.5.8, TeXLive 2008 and LyX 1.6.2
it works on both machines so it SHOULD work even in your case.

Let's sum up the preliminary steps to have it work:

1) download the biblatex.module from http://wiki.lyx.org/BibTeX/Biblatex and
put it into your /Users/your_computer_name/Library/Application
Support/LyX-1.6/layouts

2) download the Perl script bibtexall from
http://wiki.lyx.org/BibTeX/Tips#secbib and copy it into your /usr/local/bin

3) open LyX and Run Edit→Reconfigure, restart LyX and select the module
Biblatex-citation-styles from Document→Settings→Modules. as explained in
http://wiki.lyx.org/BibTeX/Biblatex

4) put your bibliography (that is your .bib file) in your personal LaTeX
directory, that is in the folder
/Users/your_computer_name/Library/texmf/bibtex/bib

Now let's go and open the two files preamble.sty and nm_classicthesis.sty
from the Nick Mariette ClassicThesis LyX port:

1. Modifications to preamble.sty

2. Modifications to nm_classicthesis.sty

and modify them as I have explained in the file List of commands to modify
in the preamble_sty file.tex you will find in the folder enclosed


Finally, modify your LyX files:

1. in the preamble of your master file add these lines:

\usepackage{nameref}
\defbibheading{references}{\section*{References}}
%
\defbibheading{bibliography}{\chapter*{Bibliography}}
%
\defbibfilter{notcited}{%
 \not \segment{1}
\and \not \segment{2}
\and \not \segment{3}



2. in every chapter add these lines:

for example:

\myChapter{Title of first chapter}

\begin{refsegment}

...

\addcontentsline{toc}{section}{\refname}

\printbibliography[heading=references,segment=1]

\end{refsegment}

and then again:

\myChapter{Title of second chapter}

\begin{refsegment}

...

\addcontentsline{toc}{section}{\refname}

\printbibliography[heading=references,segment=2]

\end{refsegment}

etc.

Mind the line with the command
\printbibliography[heading=references,segment=2] : in the options the number
after segment is the same number of your segment, that is, in your case, the
number of the chapter

Save and run PDF (pdflatex) from your master file.

In the addedd folder you will find and example done with Chapter 02 from the
Nick Mariette LyX port of ClassicThesis.

I hope this will work.

Best wishes

Pierfranco


2009/9/3 Yannick Wurm yannick.w...@unil.ch

H,
 so getting things working with ClassicThesis is harder than I thought.

 I've resolved most of the conflicts between the classicthesis.sty,
 preamble.sty and the preable that you gave in your example. (like you said,
 those were related to natbib, hyperref, backref). So I feel I'm 90% there!
 However, as soon as I add the code below to my ClassicThesis.lyx preamble,
 things fail.

 But I cannot make sense of the errors, nor locate where they are coming
 from (is there any way to get more verbose error messages from lyx?). What
 follows is the first error out of many:
 Error: You can't use '\spacefactor' in vertical mode.
 Description:  \@
 ifundefined{showcaptionsetup}{}{%
 Sorry, but I'm not programmed to handle this case;
 I'll just pretend that you didn't ask for it.
 If you're in the wrong mode, you might be able to
 return to the right one by typing `I}' or `I$' or `I\par'.
 

 Do you have any ideas where I should look?

 Thanks!!
 yannick


 
 %  responsible for converting the citekeys to pretty citations
 \makeatletter
 \AtEveryBibitem{%
 \iffieldequals{namehash}{\...@prevhash}
 {}
 {\addvspace{0.8\baselineskip}}% 0.8\baselineskip o altra misura
 \savefield{namehash}{\...@prevhash}}
 \AtBeginBibliography{%
 \let\...@prevhash\undefined}
 \makeatother

 On 3 Sep 2009, at 16:18, Yannick Wurm wrote:

  Hello Pierfranco,
 thank you very much for the rapid 

PDFscreen NewPanel

2009-09-04 Thread exp123

Hi,
I have been reading the following manual on pdfscreen:
http://amath.colorado.edu/documentation/LaTeX/prosper/0/pdfscreen_man.pdf
Could anyone please let me know where do I need to insert code on page 9 of
the above tutorial to create a new panel?
Thanks


I tried the following but the navigation panel does not change:



___
\documentclass[pdftex,12pt]{article}
%%% misc extensions %
\usepackage[latin1]{inputenc}
\usepackage[english]{babel}
\usepackage[T1]{fontenc}
\usepackage{aeguill}

%%% pdfscreen %%%
\def\panel{\colorbox{panelbackground}
{\begin{minipage}[t][\paperheight][b]{\panelwidth}
\centering\null\vspace*{12pt}
\includegraphics[width=.75in]{univ}\par\vfill
\hre...@urlid}{\addbutton{.85in}{\@Panelhomepagename}}\par\vfill
\Acrobatmenu{FirstPage}{\addButton{.85in}
{\fbla...@paneltitlepagename}}\par\vfill
\Acrobatmenu{FirstPage}{\addButton{.2in}
{\FBlack\scalebox{.8}[1.4]{\btl\btl}}}\hspace{-3pt}
\Acrobatmenu{PrevPage}{\addButton{.2in}
{\FBlack\scalebox{.8}[1.4]{\btl}}}\hspace{-3pt}
\Acrobatmenu{NextPage}{\addButton{.2in}
{\LBlack\scalebox{.8}[1.4]{\rtl}}}\hspace{-3pt}
\Acrobatmenu{LastPage}{\addButton{.2in}
{\LBlack\scalebox{.8}[1.4]{\rtl\rtl}}}\par\vfill
\Acrobatmenu{GoBack}{\addButton{.85in}
{...@panelgobackname}}\par\vfill
\Acrobatmenu{FullScreen}{\addButton{.85in}{Full Screen}}\par\vfill
\acrobatmenu{close}{\addbutton{.85in...@panelclosename}}\par\vfill
\acrobatmenu{quit}{\addbutton{.85in...@panelquitname}}\par
\null\vspace*{12pt}
\end{minipage}}}

\usepackage[screen,panelleft,chocolate]{pdfscreen}




%% height width
\screensize{150mm}{200mm}
%% left right top bottom
\marginsize{42mm}{8mm}{10mm}{10mm}
% Color or image for background
\overlayempty
\definecolor{mybg}{rgb}{1,0.9,0.7}
\backgroundcolor{mybg}
% Logo
%\emblema{MyLogo}
%%% For PPower4 (post-processor) 
\usepackage{pause}
%



\begin{document}


\begin{slide}
\begin{itemize}
\item Good News\dots \pause
\item Bad News
\end{itemize}
\end{slide}
\end{document}

-- 
View this message in context: 
http://n2.nabble.com/PDFscreen-NewPanel-tp3582931p3582931.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: PDFscreen NewPanel

2009-09-04 Thread Uwe Stöhr

exp123 schrieb:


I have been reading the following manual on pdfscreen:
http://amath.colorado.edu/documentation/LaTeX/prosper/0/pdfscreen_man.pdf
Could anyone please let me know where do I need to insert code on page 9 of
the above tutorial to create a new panel?


Insert this code to the document preamble (menu Document - Settings - LaTeX 
preamble)

regards Uwe


Re: Classic Thesis and LyX

2009-09-04 Thread Guenter Milde
On 2009-09-03, Manolo Martí­nez wrote:

...

> I'm getting several "Math formula deleted: Insufficient symbol fonts." 
> errors every time I try to run pdflatex. The description of the error is:

> "Sorry, but I can't typeset math unless \textfont 2

> and \scriptfont 2 and \scriptscriptfont 2 have all

> the \fontdimen values needed in math symbol fonts."

...

> After some googling I've come to think that this has to do with my 
> having some fonts installed which supersede the order to escale some 
> other fonts. But beyond that, I do not really know where to look.

It most certainly is a font issue. Could you try if this happens 

with every math formula, 
only with sub- and superscripts, 
maybe with formulae in headings or otherwise scaled?

Does the problem go away if you choose a different font set?

Could you be more specific about your font setup?

Günter




Re: How to install new packages to Lyx?

2009-09-04 Thread Agoldenquill


dirac14 wrote:
> 
> Hello there!
> I am a relatively new lyx user and this is my first post so please forgive
> my total ignorance..
> 
> I ve searched for at least 3 hours to give myself the answer to the
> subject's question . . .  what do i have to do in order to install a new
> package and make it work as if it were preinstalled in lyx?

I am in the same position as dirac14. I began using LyX about a month ago,
but in that time I have yet to figure out how to install new packages. I
searched everywhere, but all the LyX information seems written for
programmer-types, or people who know LaTeX. Yet the LyX webpages said one
does not need to know LaTeX in order to use LyX.

Does anyone have simple, regular, end-user English instructions for
installing new packages?
Any help is appreciated.

-- 
View this message in context: 
http://n2.nabble.com/How-to-install-new-packages-to-Lyx-tp3549182p3579462.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Smart/curly quotes vs straight quotes

2009-09-04 Thread Agoldenquill

I'm a new LyX user needing to convert a novel manuscript to LyX format. I
managed to remove all but the barebones formatting from my
OpenOffice-formatted document (could not export directly to LyX -- didn't
work for some reason), but now I cannot seem to find any way to convert all
the quotes to smart, or curly, quotes. They're all straight quotes.

The only thing I've discovered so far is to manually go through and delete
the left-quote / right-quote and type in the new one. With over 400 pages
including extensive dialogue, this is a huge undertaking!

Does anyone know of a macro-type method or any other method to automatically
convert straight quotes to smart/curly quotes?

FYI, I've already tried search-and-replace, but this too is a time-consuming
task, having to go through and search each left straight quote and replace
it with a left smart quote, then do the same for the right. Twice through
400+ pages...not fun.

Any help is appreciated.
-- 
View this message in context: 
http://n2.nabble.com/Smart-curly-quotes-vs-straight-quotes-tp3579497p3579497.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: How to install new packages to Lyx?

2009-09-04 Thread Julio Rojas
I'm sorry to tell you this, but there is not such thing as Lyx
packages. All of them are Latex packages. So unfortunately you need
to, at least, know how to install and use a package in LaTeX, as there
is no easy way to interface a LaTeX package with Lyx. Installation
depends on your OS and LaTeX distribution. Usage is OS independent.

Please check this:
http://en.wikibooks.org/wiki/LaTeX/Packages/Installing_Extra_Packages
http://www.artofproblemsolving.com/LaTeX/AoPS_L_GuidePack.php
http://www.troubleshooters.com/linux/lyx/lyx_latex_tex.htm
http://www.stat.rice.edu/~helpdesk/howto/lyxguide.html
-
Julio Rojas
jcredbe...@gmail.com



On Fri, Sep 4, 2009 at 2:02 PM, Agoldenquill wrote:
>
>
> dirac14 wrote:
>>
>> Hello there!
>> I am a relatively new lyx user and this is my first post so please forgive
>> my total ignorance..
>>
>> I ve searched for at least 3 hours to give myself the answer to the
>> subject's question . . .  what do i have to do in order to install a new
>> package and make it work as if it were preinstalled in lyx?
>
> I am in the same position as dirac14. I began using LyX about a month ago,
> but in that time I have yet to figure out how to install new packages. I
> searched everywhere, but all the LyX information seems written for
> programmer-types, or people who know LaTeX. Yet the LyX webpages said one
> does not need to know LaTeX in order to use LyX.
>
> Does anyone have simple, regular, end-user English instructions for
> installing new packages?
> Any help is appreciated.
>
> --
> View this message in context: 
> http://n2.nabble.com/How-to-install-new-packages-to-Lyx-tp3549182p3579462.html
> Sent from the LyX - Users mailing list archive at Nabble.com.
>


Re: Smart/curly quotes vs straight quotes

2009-09-04 Thread Jürgen Spitzmüller
Agoldenquill wrote:
> Does anyone know of a macro-type method or any other method to
>  automatically convert straight quotes to smart/curly quotes?
> 
> FYI, I've already tried search-and-replace, but this too is a
>  time-consuming task, having to go through and search each left straight
>  quote and replace it with a left smart quote, then do the same for the
>  right. Twice through 400+ pages...not fun.
> 
> Any help is appreciated.

Assuming you mean the character " by "straight quote" and assuming you want 
American quote style, the following preamble code is supposed to produce what 
you want in the output (while the straight quotes are kept inside LyX):

\usepackage[english]{csquotes}
\MakeOuterQuote{"}

Jürgen


Re: breaking long url

2009-09-04 Thread rgheck

On 09/03/2009 09:49 PM, Sharma, Vivek wrote:

I am using the memoir class, Lyx 1.6.4 and want to write the following:

Web sites:

University Hospital Llandough, Cardiff:

\url{http://www.cardiffandvale.wales.nhs.uk/portal/page?_pageid=33,480404,33_480405&_dad=portal&_schema=PORTAL}

East Glamorgan General Hospital now known as to Royal Glamorgan Hospital, 
Cardiff

Ynys Maerdy, Pontyclun, Llantrisant, CF72 8XR

http://www.wales.nhs.uk/hospitals.cfm

Ysbyty Gwynedd Hospital, Bangor:

http://www.northwestwales.org/WiSSCMS-en-308.aspx

Problem despite trying the insert URL option in lyx or the above putting the 
url as ERT i have not been able to get it to break appropriately and the url 
goes beyond the text margins. I have  tried the suggestion to put it as 
\href{url}{...} as well

I would appreciate any help with this

   

If LaTeX is having trouble breaking it, then you'll have to do so manually.

rh



Re: breaking long url

2009-09-04 Thread Paul A. Rubin

Sharma, Vivek wrote:

I am using the memoir class, Lyx 1.6.4 and want to write the following:

Web sites: 


University Hospital Llandough, Cardiff:

\url{http://www.cardiffandvale.wales.nhs.uk/portal/page?_pageid=33,480404,33_480405&_dad=portal&_schema=PORTAL}

East Glamorgan General Hospital now known as to Royal Glamorgan Hospital, 
Cardiff

Ynys Maerdy, Pontyclun, Llantrisant, CF72 8XR

http://www.wales.nhs.uk/hospitals.cfm

Ysbyty Gwynedd Hospital, Bangor: 


http://www.northwestwales.org/WiSSCMS-en-308.aspx


___


I have the following in the preamble:

\usepackage{booktabs}
\usepackage{graphicx}
\usepackage{color}
%\usepackage[%
%colorlinks=true,linkcolor=black,citecolor=black,urlcolor=black,%
%pdfstartview=FitH,%
%bookmarksopen=true,bookmarksopenlevel=0,%
%plainpages=false,pdfpagelabels,%
%pagebackref=true,%
%pdftoolbar=false]{hyperref}
\usepackage{url}
%% Define a new 'leo' style for the package that will use a smaller font.
%\makeatletter
%\def\...@leostyle{%
  
\...@ifundefined{selectfont}%{\def\urlfont{\sf}}%{\def\urlfont{\small\ttfamily}}}
%\makeatother
%% Now actually use the newly defined style.
%\urlstyle{leo}
\usepackage{breakurl}


Problem despite trying the insert URL option in lyx or the above putting the 
url as ERT i have not been able to get it to break appropriately and the url 
goes beyond the text margins. I have  tried the suggestion to put it as 
\href{url}{...} as well

I would appreciate any help with this


Regards
Vivek


This thread may help: 
http://article.gmane.org/gmane.editors.lyx.general/32119/match=long+url.


/Paul



Re: rotated table problem

2009-09-04 Thread Marcelo Acuña
 martes, 1 de septiembre de 2009, 7:55 pm
> >>  In my koma-script book I
> chose to have two
> >> columns.
> >>  The tables are displayed correctly, except when
> >> they are rotated. (I use the corresponding option,
> spam
> >> column.)
> >>  In this case they begin in one of the columns
> >> and are partially outside the page leaving the
> rest of the
> >> page in blank.
> >>  How I can solve this problem? 
>  
> > Can you provide a small LyX example file?
> > regards Uwe
> 
 Could somebody reproduce the error?
 I need to correct this.
 Regards
Marcelo


  Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/


Re: rotated table problem

2009-09-04 Thread Marcelo Acuña
>>>  In my koma-script book I
>>> chose to have two columns.
>>>  The tables are displayed correctly, except when
>>> they are rotated. (I use the corresponding option,
>>> spam column.)
>>>  In this case they begin in one of the columns
>>> and are partially outside the page leaving the
>>> rest of the page in blank.
>>>  How I can solve this problem? 
  
>> Can you provide a small LyX example file?
>> regards Uwe
 
 Here it is the example.
 Regards
Marcelo



  Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/

ratated.lyx
Description: Binary data


Re: rotated table problem

2009-09-04 Thread Uwe Stöhr

Marcelo Acuña schrieb:

 In my koma-script book I
chose to have two columns.
 The tables are displayed correctly, except when
they are rotated. (I use the corresponding option,
spam column.)
 In this case they begin in one of the columns
and are partially outside the page leaving the
rest of the page in blank.
 How I can solve this problem? 


As I write in sec. 3.6 "Rotated Floats" in the EmbeddedObjects manual, rotated floats will _always_ 
be placed on their own page. Therefore the float placing options will be greyed out in the dialog 
when you set a float to be rotated.


Looking at your example, the float looks well placed. I cannot see that it is outside of the page. 
Attached is another example that works as it should.


regards Uwe


ratated.lyx
Description: application/lyx


Re: breaking long url

2009-09-04 Thread Les Denham
On Friday 04 September 2009 09:57:02 Uwe Stöhr wrote:
> Sharma, Vivek schrieb:
> > I am using the memoir class, Lyx 1.6.4 and want to write the following:
> > Web sites:
> >
> > University Hospital Llandough, Cardiff:
> > \url{http://www.cardiffandvale.wales.nhs.uk/portal/page?_pageid=33,480404
> >,33_480405&_dad=portal&_schema=PORTAL}
>
> Better use a hyperlink for that. For your case there are three
> possibilities:
>
> - using the long link and breaking it by inserting "\\" in the name field
>
> - using the long link but using another name
>
> - making the link much shorter by using tinyurl.com
>
> Attached is a LyX file showing the possibilities.
>
.
.
.
> regards Uwe

Another simple alternative is to reduce the font size for the URL so it fits. 
However, in this case even reducing it to Tiny doesn't do the job for default 
Memoir A4 fonts and margins.  I'd use tinyurl.com.
-- 
..
Les Denham


Re: breaking long url

2009-09-04 Thread Uwe Stöhr

Sharma, Vivek schrieb:


I am using the memoir class, Lyx 1.6.4 and want to write the following:
Web sites: 


University Hospital Llandough, Cardiff:
\url{http://www.cardiffandvale.wales.nhs.uk/portal/page?_pageid=33,480404,33_480405&_dad=portal&_schema=PORTAL}


Better use a hyperlink for that. For your case there are three possibilities:

- using the long link and breaking it by inserting "\\" in the name field

- using the long link but using another name

- making the link much shorter by using tinyurl.com

Attached is a LyX file showing the possibilities.


I have the following in the preamble:

\usepackage{booktabs}
\usepackage{graphicx}
\usepackage{color}


You can delete this because LyX already takes care to load these packages when 
they are needed.


%\usepackage[%
%colorlinks=true,linkcolor=black,citecolor=black,urlcolor=black,%

> %pdfstartview=FitH,%
> %bookmarksopen=true,bookmarksopenlevel=0,%
> %plainpages=false,pdfpagelabels,%
> %pagebackref=true,%
> %pdftoolbar=false]{hyperref}

This can also be deleted. The hyperref settings can be set in the LyX documents settings under "PDF 
properties". (I've also used this in the attached LyX file.)



\usepackage{url}


You can delete this because LyX already takes care to load this packages when 
it is are needed.


%\makeatletter


\makeatletter and \mekeatother is automatically inserted by LyX if needed.

regards Uwe


newfile1.lyx
Description: application/lyx


Re: Multiple Bib - Koma

2009-09-04 Thread Pierfranco Minsenti
Dear Yannick,

I am glad to hear that the files I sent you solved your problem. I tried to
send my e-mail, with the attached files, even to the
lyx-us...@lists.lyx.orgbut the mail systems continues to refuse my
message to the list. I don't
know why.
According to the Readme file the NM LyX port  "is free software; you can
redistribute it and/or modify it" so I imagine I am free to post to a
website my modified version. But maybe it is not so difficult to have it and
in any case  I will be happy to send it to other interested people who would
like to use the LyX version of André Miede's ClassicThesis, by Nick Mariette
together with the biblatex package.

pierfranco



2009/9/4 Yannick Wurm 
Cool that's excellent!
Thank you so much! Can I buy you a beer? What's your paypal?

Now all I have to do is figure out how to format the references the way I
want them :)

have a wonderful evening,
yannick
ps: will you post this to the list or to a website?

On 4 Sep 2009, at 15:18, Pierfranco Minsenti wrote:




Dear Yannick,

Good News! It works: I mean: LyX+classicthesis port + biblatex.
I have tested it using 2 different computers and environments:
1) an iBook PowerPc with MAC OS X 10.3.9, TeXLive 2007 and LyX 1.5
2) an iMac Intet with MAC OS X 10.5.8, TeXLive 2008 and LyX 1.6.2
it works on both machines so it SHOULD work even in your case.

Let's sum up the preliminary steps to have it work:

1) download the biblatex.module from http://wiki.lyx.org/BibTeX/Biblatex and
put it into your /Users/your_computer_name/Library/Application
Support/LyX-1.6/layouts

2) download the Perl script bibtexall from
http://wiki.lyx.org/BibTeX/Tips#secbib and copy it into your /usr/local/bin

3) open LyX and Run Edit→Reconfigure, restart LyX and select the module
"Biblatex-citation-styles" from Document→Settings→Modules. as explained in
http://wiki.lyx.org/BibTeX/Biblatex

4) put your bibliography (that is your .bib file) in your personal LaTeX
directory, that is in the folder
/Users/your_computer_name/Library/texmf/bibtex/bib

Now let's go and open the two files preamble.sty and nm_classicthesis.sty
from the Nick Mariette ClassicThesis LyX port:

1. Modifications to preamble.sty

2. Modifications to nm_classicthesis.sty

and modify them as I have explained in the file List of commands to modify
in the preamble_sty file.tex you will find in the folder enclosed


Finally, modify your LyX files:

1. in the preamble of your master file add these lines:

\usepackage{nameref}
\defbibheading{references}{\section*{References}}
%
\defbibheading{bibliography}{\chapter*{Bibliography}}
%
\defbibfilter{notcited}{%
 \not \segment{1}
\and \not \segment{2}
\and \not \segment{3}



2. in every chapter add these lines:

for example:

\myChapter{Title of first chapter}

\begin{refsegment}

...

\addcontentsline{toc}{section}{\refname}

\printbibliography[heading=references,segment=1]

\end{refsegment}

and then again:

\myChapter{Title of second chapter}

\begin{refsegment}

...

\addcontentsline{toc}{section}{\refname}

\printbibliography[heading=references,segment=2]

\end{refsegment}

etc.

Mind the line with the command
\printbibliography[heading=references,segment=2] : in the options the number
after segment is the same number of your segment, that is, in your case, the
number of the chapter

Save and run PDF (pdflatex) from your master file.

In the addedd folder you will find and example done with Chapter 02 from the
Nick Mariette LyX port of ClassicThesis.

I hope this will work.

Best wishes

Pierfranco


2009/9/3 Yannick Wurm 

H,
> so getting things working with ClassicThesis is harder than I thought.
>
> I've resolved most of the conflicts between the classicthesis.sty,
> preamble.sty and the preable that you gave in your example. (like you said,
> those were related to natbib, hyperref, backref). So I feel I'm 90% there!
> However, as soon as I add the code below to my ClassicThesis.lyx preamble,
> things fail.
>
> But I cannot make sense of the errors, nor locate where they are coming
> from (is there any way to get more verbose error messages from lyx?). What
> follows is the first error out of many:
> Error: "You can't use '\spacefactor' in vertical mode."
> Description: " \@
> ifundefined{showcaptionsetup}{}{%
> Sorry, but I'm not programmed to handle this case;
> I'll just pretend that you didn't ask for it.
> If you're in the wrong mode, you might be able to
> return to the right one by typing `I}' or `I$' or `I\par'.
> "
>
> Do you have any ideas where I should look?
>
> Thanks!!
> yannick
>
>
> 
> %  responsible for converting the citekeys to pretty citations
> \makeatletter
> \AtEveryBibitem{%
> \iffieldequals{namehash}{\...@prevhash}
> {}
> {\addvspace{0.8\baselineskip}}% 0.8\baselineskip o altra misura
> \savefield{namehash}{\...@prevhash}}
> \AtBeginBibliography{%
> \let\...@prevhash\undefined}
> \makeatother
>
> On 3 Sep 2009, at 16:18, Yannick Wurm wrote:
>
>  

PDFscreen NewPanel

2009-09-04 Thread exp123

Hi,
I have been reading the following manual on pdfscreen:
http://amath.colorado.edu/documentation/LaTeX/prosper/0/pdfscreen_man.pdf
Could anyone please let me know where do I need to insert code on page 9 of
the above tutorial to create a new panel?
Thanks


I tried the following but the navigation panel does not change:



___
\documentclass[pdftex,12pt]{article}
%%% misc extensions %
\usepackage[latin1]{inputenc}
\usepackage[english]{babel}
\usepackage[T1]{fontenc}
\usepackage{aeguill}

%%% pdfscreen %%%
\def\panel{\colorbox{panelbackground}
{\begin{minipage}[t][\paperheight][b]{\panelwidth}
\centering\null\vspace*{12pt}
\includegraphics[width=.75in]{univ}\par\vfill
\hre...@urlid}{\addbutton{.85in}{\@Panelhomepagename}}\par\vfill
\Acrobatmenu{FirstPage}{\addButton{.85in}
{\fbla...@paneltitlepagename}}\par\vfill
\Acrobatmenu{FirstPage}{\addButton{.2in}
{\FBlack\scalebox{.8}[1.4]{\btl\btl}}}\hspace{-3pt}
\Acrobatmenu{PrevPage}{\addButton{.2in}
{\FBlack\scalebox{.8}[1.4]{\btl}}}\hspace{-3pt}
\Acrobatmenu{NextPage}{\addButton{.2in}
{\LBlack\scalebox{.8}[1.4]{\rtl}}}\hspace{-3pt}
\Acrobatmenu{LastPage}{\addButton{.2in}
{\LBlack\scalebox{.8}[1.4]{\rtl\rtl}}}\par\vfill
\Acrobatmenu{GoBack}{\addButton{.85in}
{...@panelgobackname}}\par\vfill
\Acrobatmenu{FullScreen}{\addButton{.85in}{Full Screen}}\par\vfill
\acrobatmenu{close}{\addbutton{.85in...@panelclosename}}\par\vfill
\acrobatmenu{quit}{\addbutton{.85in...@panelquitname}}\par
\null\vspace*{12pt}
\end{minipage}}}

\usepackage[screen,panelleft,chocolate]{pdfscreen}




%% height width
\screensize{150mm}{200mm}
%% left right top bottom
\marginsize{42mm}{8mm}{10mm}{10mm}
% Color or image for background
\overlayempty
\definecolor{mybg}{rgb}{1,0.9,0.7}
\backgroundcolor{mybg}
% Logo
%\emblema{MyLogo}
%%% For PPower4 (post-processor) 
\usepackage{pause}
%



\begin{document}


\begin{slide}
\begin{itemize}
\item Good News\dots \pause
\item Bad News
\end{itemize}
\end{slide}
\end{document}

-- 
View this message in context: 
http://n2.nabble.com/PDFscreen-NewPanel-tp3582931p3582931.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: PDFscreen NewPanel

2009-09-04 Thread Uwe Stöhr

exp123 schrieb:


I have been reading the following manual on pdfscreen:
http://amath.colorado.edu/documentation/LaTeX/prosper/0/pdfscreen_man.pdf
Could anyone please let me know where do I need to insert code on page 9 of
the above tutorial to create a new panel?


Insert this code to the document preamble (menu Document -> Settings -> LaTeX 
preamble)

regards Uwe