erroneous line / unable to open file

2008-08-25 Thread Ludwig Geske

Dear Sir or Madam,

somehow I managed to include a nomenclature command into the environment 
of a Subsubsection. Now Lyx opens the file, but only till this erroneous 
line. From this line on the content of the file is not displayed and if 
I save the file, the text is gone.


I tried to change the file externally, but if I do so, Lyx does no 
longer open it and tells me this is no lyx-file.


What can I do?

Regards,
Ludwig.


Re: Floating Table Objects Error

2008-08-25 Thread G. Milde
On 22.08.08, Nico wrote:
 Hello Günter,

 I don't think that some unbalanced brackets are in my float... It's the  
 same effect if I insert just an empty tabular-float-environment. 
 It works with figure-float-environment... 

OK, to a table-float triggers the error but does not produce it.
Might have to do with tablecaption settings...

 I've realized now, that it must have s.th. to do with the declarations I  
 did in the preamble, because it works without it. I tried to take parts  
 out to recognize the guilty lines. 

Yes, this is the recommended way.

 With the first lines, the float is generated:

 %Definition des Absatz-Abstandes

 \setlength{\parskip}{0pt}

...[36 more lines]

 ... But when I insert these Lines, the error appears:


 %Realisierung der Hyperref-Attribute unter verschiedenen Voraussetzungen

 \usepackage{ifpdf} % part of the hyperref bundle

... [116 more lines]

 Does s.o. see the reason for my problem in these lines?

This are far too many line for me to spot an error in restricted time.
I'd recommend to try further by divide and conquer.
Keep an eye on settings that have to do with table floats.

Günter


Re: Float placement

2008-08-25 Thread G. Milde
On 22.08.08, Guillaume Larocque wrote:
 Guillaume Larocque wrote:
  Ok, here are the exact symptoms of the problem. If I have a few floats
  inserted in a sequence in Lyx, as soon as Latex decides that one float
  will be on a separate page, all the floats following it will also be
  placed on a separate page, regardless of their size. 
 
 Are you saying that after the first float gets a separate page, each of
 the subsequent floats sits alone on a page?  

 Yes. What I have in a few places in my document is something like: one
 large float, 4 smaller floats, one other large float and then 3
 smaller floats again.

 Latex decides to put the one large float on a separate page and then
 it puts all the rest of the floats on seperate pages 
 **also at the end of the Chapter.**

It looks to me as if your documentclass (or some loaded package or
preamble setting) creates a page of floats only **at the end of a
chapter**.

As the order of floats is never changed, subsequent floats in this 
chapter are placed behind this page of floats. As a new chapter starts
on a new page, these floats will also be alone on a page.

 Its probably deciding that there are too many floats that will break
 the text. I get that behaviour even if I select 'top of page' for all
 the floats.

What happens, if you activate the ignore LaTeX rules button?

 I managed to get the floats pretty much where I want them with info
 from this website: http://people.cs.uu.nl/piet/floats/node1.html

 Particularly with the use of:
 \afterpage{\clearpage}

 and by moving some floats between paragraphs. I was just hoping that
 Latex would figure all this out for me.

As good layout (and font-placing) is a matter of taste, LaTeX cannot
please all without some configuration efforts from the side of users
that have a different taste from the documentclass designers.

This is why typesetting with LaTeX/LyX is straightforward if you find a
documentstyle you happen to like (or which fullfills the requirements
of the institution you write for) but is a pain, if you do not like the
default output.

Günter


Re: \textservicemark vs. \texttrademark

2008-08-25 Thread G. Milde
On 22.08.08, Rich Shepard wrote:
 On Fri, 22 Aug 2008, Jürgen Spitzmüller wrote:

 The problem is that the font you're using does not provide the appropriate
 glyph (for SM). Thus textcomp bails out.

   That occurred to me, but I neglected to ask. I'm surprised that the
 Palatino fonts don't contain that glyph since this family is one of those
 provided by LaTeX.

There is no font provided by LaTeX.

There is one font that comes with TeX -- Computer Modern.

There are many fonts that are made accessible for LaTeX, e.g. the standard
Postscript fonts.

The free versions of these standard font families are mostly scaled
down (missing expert cuts like real small caps as well as not-so-common
glyphs and symbols).

Additional symbols for LaTeX are mostly designed to match Computer Modern.

Günter


Re: Does anyone know how to import WIKI pages into lyx.

2008-08-25 Thread G. Milde
On 23.08.08, wangyq wrote:

 Currently I am preparing teaching materials for students. I found there
 are some wonderful things in WIKI. I hope I can directly import them
 into my materials. But the wiki page is not completely same as latex.

There are many many Wiki dialects, so there is no definitive answer.

Two cases that come to my mind:

The Wikipedia, e.g. uses LaTeX markup for math, so it should be easy to
import from the text source (open as edit and drag-and-drop from the
text widget, then in LyX mark the math and press Ctrl-m).

Some Wikis use reStructuredText as markup language. This can be
converted to LaTeX with rst2latex.py from http://docutils.sf.net.

Günter


Why do Fonts look fuzzy?

2008-08-25 Thread Hesham Kamel
Hi,
I just wanted to ask why fonts look rather fuzzy and not crisp and sharp as
I see in either LyX docs., or in papers?
I tried changing the TeX encoding to OT1, but still, am I missing something
here?
Thank you,
Hesham


Re: erroneous line / unable to open file

2008-08-25 Thread Andre Poenitz
On Sun, Aug 24, 2008 at 05:09:25PM +0200, Ludwig Geske wrote:
 Dear Sir or Madam,

 somehow I managed to include a nomenclature command into the environment  
 of a Subsubsection. Now Lyx opens the file, but only till this erroneous  
 line. From this line on the content of the file is not displayed and if  
 I save the file, the text is gone.

 I tried to change the file externally, but if I do so, Lyx does no  
 longer open it and tells me this is no lyx-file.

 What can I do?

If there's no confidential stuff in there you can send me the file in
private mail and I'll have a look tonight.

Changing the file externally should work, but the .lyx format is
fragile in some places...

Andre'


Reduce spacing between // for hyperrefs?

2008-08-25 Thread Anthony Campbell
Is there any way to reduce the spacing between the slashes in hyperrefs
- http:// ? 

I don't mean to make cross-references; just to give cites in footnotes
and bibliographies for a book.

Anthony



-- 
Anthony Campbell - [EMAIL PROTECTED] 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews, 
and sceptical articles)



Re: Why do Fonts look fuzzy?

2008-08-25 Thread G. Milde
On 25.08.08, Hesham Kamel wrote:

 I just wanted to ask why fonts look rather fuzzy and not crisp and sharp as
 I see in either LyX docs., or in papers?
 I tried changing the TeX encoding to OT1, but still, am I missing something
 here?

There are a thousand reasons for this. (Maybe you are printing on bad paper
with an old inkjet?)

Maybe you are looking for this http://wiki.lyx.org/FAQ/PDF#toc5, otherwise
browsing the lyx wiki (or using its search function) might help.

Günter


Re: Reduce spacing between // for hyperrefs?

2008-08-25 Thread Andre Poenitz
On Mon, Aug 25, 2008 at 10:23:29AM +0100, Anthony Campbell wrote:
 Is there any way to reduce the spacing between the slashes in hyperrefs
 - http:// ? 
 
 I don't mean to make cross-references; just to give cites in footnotes
 and bibliographies for a book.

The only solution I can think of right now is to use plain LaTeX
in an 'ERT Box':

\href{http://www.lyx.org}{LyX (http:/\hspace{-0.8ex}/www.lyx.org)}


Andre'


Re: Reduce spacing between // for hyperrefs?

2008-08-25 Thread Anthony Campbell
On 25 Aug 2008, Andre Poenitz wrote:
 On Mon, Aug 25, 2008 at 10:23:29AM +0100, Anthony Campbell wrote:
  Is there any way to reduce the spacing between the slashes in hyperrefs
  - http:// ? 
  
  I don't mean to make cross-references; just to give cites in footnotes
  and bibliographies for a book.
 
 The only solution I can think of right now is to use plain LaTeX
 in an 'ERT Box':
 
 \href{http://www.lyx.org}{LyX (http:/\hspace{-0.8ex}/www.lyx.org)}
 
 
 Andre'

Yes, this is the solution I've come up with myself. But it seems odd
that there is no more elegant way of doing this; it must come up often
these days.

Anthony


-- 
Anthony Campbell - [EMAIL PROTECTED] 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews, 
and sceptical articles)



Re: Reduce spacing between // for hyperrefs?

2008-08-25 Thread Andre Poenitz
On Mon, Aug 25, 2008 at 11:26:02AM +0100, Anthony Campbell wrote:
 On 25 Aug 2008, Andre Poenitz wrote:
  On Mon, Aug 25, 2008 at 10:23:29AM +0100, Anthony Campbell wrote:
   Is there any way to reduce the spacing between the slashes in hyperrefs
   - http:// ? 
   
   I don't mean to make cross-references; just to give cites in footnotes
   and bibliographies for a book.
  
  The only solution I can think of right now is to use plain LaTeX
  in an 'ERT Box':
  
  \href{http://www.lyx.org}{LyX (http:/\hspace{-0.8ex}/www.lyx.org)}
  
  
  Andre'
 
 Yes, this is the solution I've come up with myself. But it seems odd
 that there is no more elegant way of doing this; it must come up often
 these days.

Well, elegant is in the eye of the beholder. You can try to put
something like

 \let\hreforig\href
 \def\foo#1://#2=={#1:/\hspace{-0.8ex}/#2}
 \def\href#1#2{\hreforig{#1}{\foo#2==}}

in to the preamble and use the hyperref insets as usual.


Andre'


Re: Reduce spacing between // for hyperrefs?

2008-08-25 Thread Andre Poenitz
On Mon, Aug 25, 2008 at 02:09:29PM +0200, Andre Poenitz wrote:
 On Mon, Aug 25, 2008 at 11:26:02AM +0100, Anthony Campbell wrote:
  On 25 Aug 2008, Andre Poenitz wrote:
   On Mon, Aug 25, 2008 at 10:23:29AM +0100, Anthony Campbell wrote:
Is there any way to reduce the spacing between the slashes in hyperrefs
- http:// ? 

I don't mean to make cross-references; just to give cites in footnotes
and bibliographies for a book.
   
   The only solution I can think of right now is to use plain LaTeX
   in an 'ERT Box':
   
   \href{http://www.lyx.org}{LyX (http:/\hspace{-0.8ex}/www.lyx.org)}
   
   
   Andre'
  
  Yes, this is the solution I've come up with myself. But it seems odd
  that there is no more elegant way of doing this; it must come up often
  these days.
 
 Well, elegant is in the eye of the beholder. You can try to put
 something like
 
  \let\hreforig\href
  \def\foo#1://#2=={#1:/\hspace{-0.8ex}/#2}
  \def\href#1#2{\hreforig{#1}{\foo#2==}}
 
 in to the preamble and use the hyperref insets as usual.

And, since the preamble is inserted before \usepackage{hyperref},
this needs to be wrapped in \AtBeginDocument

\AtBeginDocument{\let\hreforig\href
  \def\foo#1://#2=={#1:/\hspace{-0.8ex}/#2}
  \def\href#1#2{\hreforig{#1}{\foo#2==}}}

or put into ERT in the document body.

Andre'


Position of chapter heading - left or right page?

2008-08-25 Thread Anthony Campbell
I'm using the default book category.

The chapter headings come out on the left-hand (even number) page. This
doesn't seem to be usual in any of the books I look at. Is there a way
to make it appear on every page, or alternatively on the right-hand
(odd number) page?

Anthony

-- 
Anthony Campbell - [EMAIL PROTECTED] 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews, 
and sceptical articles)



Re: Position of chapter heading - left or right page?

2008-08-25 Thread rgheck

Anthony Campbell wrote:

I'm using the default book category.

The chapter headings come out on the left-hand (even number) page. This
doesn't seem to be usual in any of the books I look at. 

  
It's common in lots of books to open chapters on ODD pages. That's how 
it's supposed to work.



Is there a way
to make it appear on every page, or alternatively on the right-hand
(odd number) page?

  
Put the option openany into DocumentSettingsDocument ClassOptions 
for the former.


rh



Re: Position of chapter heading - left or right page?

2008-08-25 Thread Anthony Campbell
On 25 Aug 2008, rgheck wrote:
 Anthony Campbell wrote:
 I'm using the default book category.

 The chapter headings come out on the left-hand (even number) page. This
 doesn't seem to be usual in any of the books I look at. 

   
 It's common in lots of books to open chapters on ODD pages. That's how  
 it's supposed to work.

 Is there a way
 to make it appear on every page, or alternatively on the right-hand
 (odd number) page?

   
 Put the option openany into DocumentSettingsDocument ClassOptions  
 for the former.

 rh

Sorry; I wasn't clear. I was referring to the repeater chapter headings
that are at the top of ALL the left-hand pages. 

Anthony


-- 
Anthony Campbell - [EMAIL PROTECTED] 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews, 
and sceptical articles)



Re: LyX for MAC: problems in handling file images

2008-08-25 Thread Pierfranco Minsenti
Dear Bennet,

thnk your for your mail. I have tried what you suggested but unfortunately
nothing changes, I have the same problems as usual.
Pierfranco

2008/8/25 Bennett Helm [EMAIL PROTECTED]


 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




-- 
Pierfranco Minsenti
Università Ca' Foscari
Tel. +39 041/234.5707
Fax +39 041/234.5742
E-mail: [EMAIL PROTECTED]


Re: LyX for MAC: problems in handling file images

2008-08-25 Thread Bennett Helm
On Mon, Aug 25, 2008 at 9:58 AM, Pierfranco Minsenti 
[EMAIL PROTECTED] wrote:

 Dear Bennet,

 thnk your for your mail. I have tried what you suggested but unfortunately
 nothing changes, I have the same problems as usual.
 Pierfranco


If you launch Terminal.app and type convert --version (without the
quotes), what do you see?

Bennett


re: Memoir/hyperref conflict is a known issue

2008-08-25 Thread Eran Kaplinsky





Steve Litt
Sat, 23 Aug 2008 18:43:52 -0700

Hi all,

I need your help. It turns out to be a known problem that you can't use 
hyperref with Memoir. However, there's supposedly a fix, known as 
memhfixc.sty. Supposedly, if you \usepackage{memhfixc} AFTER you 
\usepackage{hyperref}, they can coexist. See this:


http://209.85.215.104/search?q=cache:8kIeWO2Ho9oJ:www.tug.org/pracjourn/2006-3/wilson/wilson.pdf+memoir+hyperref+ifpdfhl=enct=clnkcd=3gl=us
 
http://209.85.215.104/search?q=cache:8kIeWO2Ho9oJ:www.tug.org/pracjourn/2006-3/wilson/wilson.pdf+memoir+hyperref+ifpdfhl=enct=clnkcd=3gl=us

However, when I make a trivial latex file based on the preceding document, it 
fails. Here's the file:


\documentclass{memoir}
\usepackage{hyperref}
\usepackage{memhfixc}
\usepackage{mempatch}
\begin{document}
hello world.
\end{document}
  




Most of my documents are with memoir and hyperref, with no problem. I 
usually have:


\usepackage{hyperref}

\hypersetup{pdftex, bookmarks, backref, letterpaper, colorlinks=true, 
urlcolor=black}


\usepackage{memhfixc}


But, I tries your document and it works, too ...


Eran


Re: Logo in Presentation Beamer

2008-08-25 Thread Paul A. Rubin

Waluyo Adi Siswanto wrote:


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}



Well, I took a look and I think this would be a bigger pain to do than I 
initially thought.  As best I can tell, there's no easy way to do this 
in the preamble, so it would require hacking a few style files. I 
*think* something like the following might work:


1.  Copy TeX root\tex\latex\beamer\themes\theme\beamerthemeWarsaw.sty 
to a new file (call it beamerthemeMyWarsaw.sty) in an appropriate place 
under your localtexmf directory.  Change \useoutertheme{shadow} to 
\useoutertheme{myshadow}.


2.  Copy TeX 
root\tex\latex\beamer\themes\outer\beamerouterthemeshadow.sty to a new 
file (beamerouterthemmyshadow.sty) in the same place under localtexmf. 
Change the lines


  \rightskip0.3cm plus1fil\leavevmode
  \insertframetitle%
  [EMAIL PROTECTED]

to something like

  \rightskip0.3cm plus1fil\leavevmode
  \insertgraphics[height=1cm,width=1cm]{mylogo1.png}\hfill
  \insertframetitle%
  \hfill\insertgraphics[height=1cm,width=1cm]{mylogo2.png}
  [EMAIL PROTECTED]

3.  Put the two logos (mylogo1.png, mylogo2.png, or whatever you call 
them) in the same directory.


4.  Run texhash so that LaTeX can find the new files.  (There's no need 
to reconfigure LyX, but you may need to restart LyX if it was running 
when you made the change.)


5.  Change \usetheme{Warsaw} to \usetheme{MyWarsaw} in the preamble 
of your LyX doc.


I'm not sure if the \hfill's are warranted or not, and I'm not positive 
this will work.  You may also need to load the graphicx package in the 
preamble if you don't have images in the slideshow.  (If you insert 
images in LyX, LyX will load graphicx automatically.  I can't recall if 
beamer loads it or not.)


Again, I haven't tried this myself, so I'm not sure it will work.  Good 
luck.


/Paul



file-insert with ~ in the path

2008-08-25 Thread Philippe Grosjean

Hello,

I would like to set up a directory with little snippets to insert in LyX
documents. These snippets are small .lyx files located, let's say, in
~/LyXsnippets. I would like my menu and toolbar entries to be portable
(different users, different OSes). That's why I don't use
/Users/phgrosjean/LyXsnippets (on my Mac) for instance. Unfortunately, it
seems that the file-insert command does not expand ~, and it cannot use
environment variables too.

So, how can I do that? Any hint?


Also, there is problem with the slash in the name of the toolbar button icon
under Windows. I suppose I should use a .def file and the call command,
but I cannot make it run. Any hint welcome too.


I use LyX 1.5.6 under Mac OS X 10.4 / Windows XP sp2 / Ubuntu Hardy Heron.

Thanks,

Philippe Grosjean

-- 
View this message in context: 
http://n2.nabble.com/file-insert-with-%7E-in-the-path-tp781832p781832.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Position of chapter heading - left or right page?

2008-08-25 Thread Jeremy C. Reed
On Mon, 25 Aug 2008, Anthony Campbell wrote:

 I'm using the default book category.
 
 The chapter headings come out on the left-hand (even number) page. This
 doesn't seem to be usual in any of the books I look at. Is there a way
 to make it appear on every page, or alternatively on the right-hand
 (odd number) page?

I use fancy headers and I have:

% I want chapter on right odd pages to right side
% and book title on left even pages to left side
\fancyhead{}% delete the default header
\fancyhead[LE]{I put title here}
\fancyhead[RO]{\leftmark}



Re: Position of chapter heading - left or right page?

2008-08-25 Thread Anthony Campbell
On 25 Aug 2008, Jeremy C. Reed wrote:
 On Mon, 25 Aug 2008, Anthony Campbell wrote:
 
  I'm using the default book category.
  
  The chapter headings come out on the left-hand (even number) page. This
  doesn't seem to be usual in any of the books I look at. Is there a way
  to make it appear on every page, or alternatively on the right-hand
  (odd number) page?
 
 I use fancy headers and I have:
 
 % I want chapter on right odd pages to right side
 % and book title on left even pages to left side
 \fancyhead{}% delete the default header
 \fancyhead[LE]{I put title here}
 \fancyhead[RO]{\leftmark}

This doesn't seem to work for me - perhaps I'm misssing something. Do
you put it at the beginning of Chapter 1?

This does work:

\pagestyle{myheadings} 
\markboth{Book title}{chapter title}  

But the code has to be inserted for each chapter and and the correct
chapter title inserted, so it's only semi-automated.


Anthony




-- 
Anthony Campbell - [EMAIL PROTECTED] 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews, 
and sceptical articles)



Re: Memoir/hyperref conflict is a known issue PARTIALLY SOLVED

2008-08-25 Thread Steve Litt
First, thanks to all you LyX'ers -- the ones writing me both onlist and 
offlist. There's no way I would have solved this without you.

Second, I'm really bent out of shape (American idiom for extremely angry) 
because those fool packagers at Mandriva put in a 2004 Memoir package into 
Mandriva 2008.1. I've got nine months to get over my anger, but right now I'm 
inclined to switch to another distro next summer.

The big clue came when several of you said you couldn't reproduce my symptom 
on my 5 line LaTeX program. That pointed a very accusing finger at *MY* 
Memoir package installation. Looking at its files, I saw they were from 2004. 
So I downloaded a 2008 Memoir. My 5 line LaTeX program compiled, so I knew I 
was on the right track.

Unfortunately, my actual LyX book got approximately several hundred errors. 
Google was my friend, and I found out that to complete the installation, I 
had to do this:

latex memoir.ins

So I did that, but my LaTeX program still got a couple hundred errors. This 
time, however, most of the errors seemed to be associated with Enumerate, so 
I commented out my LaTeX code that compressed enumerate vertically. There 
were still some errors, so I commented out similar compression code in 
itemize and the table of contents. It compiled with hyperref included, and 
gave me a clickable table of contents.

What remains now is to find a different way to code my list compressions, and 
test everything else to make sure there are no other problems.

If anyone reading this list is using Mandriva 2008.x, be VERY careful, and 
don't assume your tetex package is correct or up to date.

In hindsight, I made the classic troubleshooting mistake of proceeding on an 
untested and invalid assumption -- in this case the assumption being that my 
tetex installation was solid. The several of you who responded telling me my 
program compiled correctly on your setups helped cast the light of day on 
that invalid assumption, leading to at least a partial solution.

Thank you all very much!!!

SteveT

On Monday 25 August 2008 11:25:25 am Eran Kaplinsky wrote:
  Steve Litt
  Sat, 23 Aug 2008 18:43:52 -0700
 
  Hi all,
 
  I need your help. It turns out to be a known problem that you can't use
  hyperref with Memoir. However, there's supposedly a fix, known as
  memhfixc.sty. Supposedly, if you \usepackage{memhfixc} AFTER you
  \usepackage{hyperref}, they can coexist. See this:
 
  http://209.85.215.104/search?q=cache:8kIeWO2Ho9oJ:www.tug.org/pracjourn/2
 006-3/wilson/wilson.pdf+memoir+hyperref+ifpdfhl=enct=clnkcd=3gl=us
  http://209.85.215.104/search?q=cache:8kIeWO2Ho9oJ:www.tug.org/pracjourn/
 2006-3/wilson/wilson.pdf+memoir+hyperref+ifpdfhl=enct=clnkcd=3gl=us
 
  However, when I make a trivial latex file based on the preceding
  document, it fails. Here's the file:
 
  \documentclass{memoir}
  \usepackage{hyperref}
  \usepackage{memhfixc}
  \usepackage{mempatch}
  \begin{document}
  hello world.
  \end{document}

 Most of my documents are with memoir and hyperref, with no problem. I
 usually have:

 \usepackage{hyperref}

 \hypersetup{pdftex, bookmarks, backref, letterpaper, colorlinks=true,
 urlcolor=black}

 \usepackage{memhfixc}


 But, I tries your document and it works, too ...


 Eran



Re: Memoir/hyperref conflict is a known issue PARTIALLY SOLVED

2008-08-25 Thread Bennett Helm
On Mon, Aug 25, 2008 at 2:15 PM, Steve Litt [EMAIL PROTECTED]wrote:

snip


 So I did that, but my LaTeX program still got a couple hundred errors. This
 time, however, most of the errors seemed to be associated with Enumerate,
 so
 I commented out my LaTeX code that compressed enumerate vertically. There
 were still some errors, so I commented out similar compression code in
 itemize and the table of contents. It compiled with hyperref included, and
 gave me a clickable table of contents.

 What remains now is to find a different way to code my list compressions,
 and
 test everything else to make sure there are no other problems.


Have you looked in Memoir's manual, searching for \tightlists, \tightlist
and \firmlist?

Bennett


Re: LyX for MAC: problems in handling file images

2008-08-25 Thread Pierfranco Minsenti
This is the message I get in Terminal after launching the command you
suggested:

$ convert -version
dyld: convert can't open library: /usr/X11R6/lib/libXext.6.dylib  (No such
file or directory, errno = 2)
Trace/BPT trap
Computer-di-Pierfranco-Minsenti:~ pierfranco$

I have checked my disk and found that I have this directory:
/usr/X11R6/lib/libXpm.4.11.dylib

so I see there is a difference between the file which is looked for in
Terminal, which is

libXext.6.dylib

and the file I actually have which is

libXpm.4.11.dylib

But this is all I can say at the moment.

Thank you in advance for the suggestions you will be able to give me.
Pierfranco






2008/8/25 Bennett Helm [EMAIL PROTECTED]

 On Mon, Aug 25, 2008 at 9:58 AM, Pierfranco Minsenti 
 [EMAIL PROTECTED] wrote:

  Dear Bennet,

 thnk your for your mail. I have tried what you suggested but unfortunately
 nothing changes, I have the same problems as usual.
 Pierfranco


 If you launch Terminal.app and type convert --version (without the
 quotes), what do you see?

 Bennett



Re: LyX for MAC: problems in handling file images

2008-08-25 Thread Bennett Helm
On Mon, Aug 25, 2008 at 3:11 PM, Pierfranco Minsenti 
[EMAIL PROTECTED] wrote:

 This is the message I get in Terminal after launching the command you
 suggested:

 $ convert -version
 dyld: convert can't open library: /usr/X11R6/lib/libXext.6.dylib  (No such
 file or directory, errno = 2)
 Trace/BPT trap


That you have problems with convert (which is from imagemagick) shows that
the problem is not with LyX but with imagemagick. Perhaps you should try
reinstalling imagemagick and see if that works. (How did you install it in
the first place?)

Bennett


Re: LyX for MAC: problems in handling file images

2008-08-25 Thread Pierfranco Minsenti
I have checked my installation of ImageMagick: 6.3.3.
Most elements are in the .usr/local/lib
Maybe I installed it when I installed the full MacTeX package containing the
texlive2007 package.

Now, since I am a totally beginner in the Lyx and Latex arena (I have been
using, LyX for 3 weeks), I am not sure about what are the right ways for
uninstalling/installing LaTeX packages and additional software.
Perhaps I could do the two operations through the i-Installer? However I
have just checked it for ImageMagick and it says that ImageMagick is being
updated and then is not available. Maybe I could download it from
http://www.imagemagick.org/? But then how could I uninstall the present
version and install the new one?
Sorry, but since I am used only to uninstall ordinary applications by moving
them from the Application folder to the Trash, which is not the case with
ImageMagick, I am unsure about how to uninstall ImageMagick and then
reinstall it.
Pierfranco


2008/8/25 Bennett Helm [EMAIL PROTECTED]

 On Mon, Aug 25, 2008 at 3:11 PM, Pierfranco Minsenti 
 [EMAIL PROTECTED] wrote:

 This is the message I get in Terminal after launching the command you
 suggested:

 $ convert -version
 dyld: convert can't open library: /usr/X11R6/lib/libXext.6.dylib  (No such
 file or directory, errno = 2)
 Trace/BPT trap


 That you have problems with convert (which is from imagemagick) shows that
 the problem is not with LyX but with imagemagick. Perhaps you should try
 reinstalling imagemagick and see if that works. (How did you install it in
 the first place?)

 Bennett




-- 
Pierfranco Minsenti
Università Ca' Foscari
Tel. +39 041/234.5707
Fax +39 041/234.5742
E-mail: [EMAIL PROTECTED]


Re: LyX for MAC: problems in handling file images

2008-08-25 Thread Bennett Helm
On Mon, Aug 25, 2008 at 4:18 PM, Pierfranco Minsenti 
[EMAIL PROTECTED] wrote:

 I have checked my installation of ImageMagick: 6.3.3.
 Most elements are in the .usr/local/lib
 Maybe I installed it when I installed the full MacTeX package containing
 the texlive2007 package.


It *is* installed with MacTeX.

If you can, you might want to wait a week or so (it should be out real soon
now) to download MacTeX based on texlive 2008; installing that will give
you a new installation of ImageMagick. Alternatively, you could use MacTeX
2007 to do it again.

But these are big downloads, and I'm not even sure if this will solve the
problem.


 Now, since I am a totally beginner in the Lyx and Latex arena (I have been
 using, LyX for 3 weeks), I am not sure about what are the right ways for
 uninstalling/installing LaTeX packages and additional software.
 Perhaps I could do the two operations through the i-Installer? However I
 have just checked it for ImageMagick and it says that ImageMagick is being
 updated and then is not available. Maybe I could download it from
 http://www.imagemagick.org/? But then how could I uninstall the present
 version and install the new one?
 Sorry, but since I am used only to uninstall ordinary applications by
 moving them from the Application folder to the Trash, which is not the case
 with ImageMagick, I am unsure about how to uninstall ImageMagick and then
 reinstall it.


I don't know how hard it is to build from scratch. Another option would be
to use macports or fink to install it for you.

Bennett


Re: Memoir/hyperref conflict is a known issue PARTIALLY SOLVED

2008-08-25 Thread Steve Litt
On Monday 25 August 2008 02:41:41 pm you wrote:
 On Mon, Aug 25, 2008 at 2:15 PM, Steve Litt
 [EMAIL PROTECTED]wrote:

 snip

  So I did that, but my LaTeX program still got a couple hundred errors.
  This time, however, most of the errors seemed to be associated with
  Enumerate, so
  I commented out my LaTeX code that compressed enumerate vertically. There
  were still some errors, so I commented out similar compression code in
  itemize and the table of contents. It compiled with hyperref included,
  and gave me a clickable table of contents.
 
  What remains now is to find a different way to code my list compressions,
  and
  test everything else to make sure there are no other problems.

 Have you looked in Memoir's manual, searching for \tightlists, \tightlist
 and \firmlist?

 Bennett

Thanks Bennett,

\tightlists kinda sorta helped, so I made a new environment called 
\supertightlists with even tighter parameters. That worked a little better, 
though not as tight as the original or as I'd like it, but good enough.

It's now not perfect, but it's good enough to offer customers, so thank you 
very much!

SteveT

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



Re: Float placement

2008-08-25 Thread Guillaume Larocque
Hi, I would like to use the natbib package for my citations in Lyx
with the [sort] option so that multiple citations are ordered into the
sequence in which they appear in the list of references. However,
specifying

\usepackage[numbers,sortcompress]{natbib}

in the preamble of my document produces an error when compiling to
pdf. It says the package has already been called. Is there any other
way of doing this in Lyx?

Thanks,

Guillaume


Natbib sort option

2008-08-25 Thread Guillaume Larocque
Hi, I would like to use the natbib package for my citations in Lyx
with the [sort] option so that multiple citations are ordered into the
sequence in which they appear in the list of references. However,
specifying

\usepackage[numbers,sortcompress]{natbib}

in the preamble of my document produces an error when compiling to
pdf. It says the package has already been called. Is there any other
way of doing this in Lyx?

Thanks,


erroneous line / unable to open file

2008-08-25 Thread Ludwig Geske

Dear Sir or Madam,

somehow I managed to include a nomenclature command into the environment 
of a Subsubsection. Now Lyx opens the file, but only till this erroneous 
line. From this line on the content of the file is not displayed and if 
I save the file, the text is gone.


I tried to change the file externally, but if I do so, Lyx does no 
longer open it and tells me this is no lyx-file.


What can I do?

Regards,
Ludwig.


Re: Floating Table Objects Error

2008-08-25 Thread G. Milde
On 22.08.08, Nico wrote:
 Hello Günter,

 I don't think that some unbalanced brackets are in my float... It's the  
 same effect if I insert just an empty tabular-float-environment. 
 It works with figure-float-environment... 

OK, to a table-float triggers the error but does not produce it.
Might have to do with tablecaption settings...

 I've realized now, that it must have s.th. to do with the declarations I  
 did in the preamble, because it works without it. I tried to take parts  
 out to recognize the guilty lines. 

Yes, this is the recommended way.

 With the first lines, the float is generated:

 %Definition des Absatz-Abstandes

 \setlength{\parskip}{0pt}

...[36 more lines]

 ... But when I insert these Lines, the error appears:


 %Realisierung der Hyperref-Attribute unter verschiedenen Voraussetzungen

 \usepackage{ifpdf} % part of the hyperref bundle

... [116 more lines]

 Does s.o. see the reason for my problem in these lines?

This are far too many line for me to spot an error in restricted time.
I'd recommend to try further by divide and conquer.
Keep an eye on settings that have to do with table floats.

Günter


Re: Float placement

2008-08-25 Thread G. Milde
On 22.08.08, Guillaume Larocque wrote:
 Guillaume Larocque wrote:
  Ok, here are the exact symptoms of the problem. If I have a few floats
  inserted in a sequence in Lyx, as soon as Latex decides that one float
  will be on a separate page, all the floats following it will also be
  placed on a separate page, regardless of their size. 
 
 Are you saying that after the first float gets a separate page, each of
 the subsequent floats sits alone on a page?  

 Yes. What I have in a few places in my document is something like: one
 large float, 4 smaller floats, one other large float and then 3
 smaller floats again.

 Latex decides to put the one large float on a separate page and then
 it puts all the rest of the floats on seperate pages 
 **also at the end of the Chapter.**

It looks to me as if your documentclass (or some loaded package or
preamble setting) creates a page of floats only **at the end of a
chapter**.

As the order of floats is never changed, subsequent floats in this 
chapter are placed behind this page of floats. As a new chapter starts
on a new page, these floats will also be alone on a page.

 Its probably deciding that there are too many floats that will break
 the text. I get that behaviour even if I select 'top of page' for all
 the floats.

What happens, if you activate the ignore LaTeX rules button?

 I managed to get the floats pretty much where I want them with info
 from this website: http://people.cs.uu.nl/piet/floats/node1.html

 Particularly with the use of:
 \afterpage{\clearpage}

 and by moving some floats between paragraphs. I was just hoping that
 Latex would figure all this out for me.

As good layout (and font-placing) is a matter of taste, LaTeX cannot
please all without some configuration efforts from the side of users
that have a different taste from the documentclass designers.

This is why typesetting with LaTeX/LyX is straightforward if you find a
documentstyle you happen to like (or which fullfills the requirements
of the institution you write for) but is a pain, if you do not like the
default output.

Günter


Re: \textservicemark vs. \texttrademark

2008-08-25 Thread G. Milde
On 22.08.08, Rich Shepard wrote:
 On Fri, 22 Aug 2008, Jürgen Spitzmüller wrote:

 The problem is that the font you're using does not provide the appropriate
 glyph (for SM). Thus textcomp bails out.

   That occurred to me, but I neglected to ask. I'm surprised that the
 Palatino fonts don't contain that glyph since this family is one of those
 provided by LaTeX.

There is no font provided by LaTeX.

There is one font that comes with TeX -- Computer Modern.

There are many fonts that are made accessible for LaTeX, e.g. the standard
Postscript fonts.

The free versions of these standard font families are mostly scaled
down (missing expert cuts like real small caps as well as not-so-common
glyphs and symbols).

Additional symbols for LaTeX are mostly designed to match Computer Modern.

Günter


Re: Does anyone know how to import WIKI pages into lyx.

2008-08-25 Thread G. Milde
On 23.08.08, wangyq wrote:

 Currently I am preparing teaching materials for students. I found there
 are some wonderful things in WIKI. I hope I can directly import them
 into my materials. But the wiki page is not completely same as latex.

There are many many Wiki dialects, so there is no definitive answer.

Two cases that come to my mind:

The Wikipedia, e.g. uses LaTeX markup for math, so it should be easy to
import from the text source (open as edit and drag-and-drop from the
text widget, then in LyX mark the math and press Ctrl-m).

Some Wikis use reStructuredText as markup language. This can be
converted to LaTeX with rst2latex.py from http://docutils.sf.net.

Günter


Why do Fonts look fuzzy?

2008-08-25 Thread Hesham Kamel
Hi,
I just wanted to ask why fonts look rather fuzzy and not crisp and sharp as
I see in either LyX docs., or in papers?
I tried changing the TeX encoding to OT1, but still, am I missing something
here?
Thank you,
Hesham


Re: erroneous line / unable to open file

2008-08-25 Thread Andre Poenitz
On Sun, Aug 24, 2008 at 05:09:25PM +0200, Ludwig Geske wrote:
 Dear Sir or Madam,

 somehow I managed to include a nomenclature command into the environment  
 of a Subsubsection. Now Lyx opens the file, but only till this erroneous  
 line. From this line on the content of the file is not displayed and if  
 I save the file, the text is gone.

 I tried to change the file externally, but if I do so, Lyx does no  
 longer open it and tells me this is no lyx-file.

 What can I do?

If there's no confidential stuff in there you can send me the file in
private mail and I'll have a look tonight.

Changing the file externally should work, but the .lyx format is
fragile in some places...

Andre'


Reduce spacing between // for hyperrefs?

2008-08-25 Thread Anthony Campbell
Is there any way to reduce the spacing between the slashes in hyperrefs
- http:// ? 

I don't mean to make cross-references; just to give cites in footnotes
and bibliographies for a book.

Anthony



-- 
Anthony Campbell - [EMAIL PROTECTED] 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews, 
and sceptical articles)



Re: Why do Fonts look fuzzy?

2008-08-25 Thread G. Milde
On 25.08.08, Hesham Kamel wrote:

 I just wanted to ask why fonts look rather fuzzy and not crisp and sharp as
 I see in either LyX docs., or in papers?
 I tried changing the TeX encoding to OT1, but still, am I missing something
 here?

There are a thousand reasons for this. (Maybe you are printing on bad paper
with an old inkjet?)

Maybe you are looking for this http://wiki.lyx.org/FAQ/PDF#toc5, otherwise
browsing the lyx wiki (or using its search function) might help.

Günter


Re: Reduce spacing between // for hyperrefs?

2008-08-25 Thread Andre Poenitz
On Mon, Aug 25, 2008 at 10:23:29AM +0100, Anthony Campbell wrote:
 Is there any way to reduce the spacing between the slashes in hyperrefs
 - http:// ? 
 
 I don't mean to make cross-references; just to give cites in footnotes
 and bibliographies for a book.

The only solution I can think of right now is to use plain LaTeX
in an 'ERT Box':

\href{http://www.lyx.org}{LyX (http:/\hspace{-0.8ex}/www.lyx.org)}


Andre'


Re: Reduce spacing between // for hyperrefs?

2008-08-25 Thread Anthony Campbell
On 25 Aug 2008, Andre Poenitz wrote:
 On Mon, Aug 25, 2008 at 10:23:29AM +0100, Anthony Campbell wrote:
  Is there any way to reduce the spacing between the slashes in hyperrefs
  - http:// ? 
  
  I don't mean to make cross-references; just to give cites in footnotes
  and bibliographies for a book.
 
 The only solution I can think of right now is to use plain LaTeX
 in an 'ERT Box':
 
 \href{http://www.lyx.org}{LyX (http:/\hspace{-0.8ex}/www.lyx.org)}
 
 
 Andre'

Yes, this is the solution I've come up with myself. But it seems odd
that there is no more elegant way of doing this; it must come up often
these days.

Anthony


-- 
Anthony Campbell - [EMAIL PROTECTED] 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews, 
and sceptical articles)



Re: Reduce spacing between // for hyperrefs?

2008-08-25 Thread Andre Poenitz
On Mon, Aug 25, 2008 at 11:26:02AM +0100, Anthony Campbell wrote:
 On 25 Aug 2008, Andre Poenitz wrote:
  On Mon, Aug 25, 2008 at 10:23:29AM +0100, Anthony Campbell wrote:
   Is there any way to reduce the spacing between the slashes in hyperrefs
   - http:// ? 
   
   I don't mean to make cross-references; just to give cites in footnotes
   and bibliographies for a book.
  
  The only solution I can think of right now is to use plain LaTeX
  in an 'ERT Box':
  
  \href{http://www.lyx.org}{LyX (http:/\hspace{-0.8ex}/www.lyx.org)}
  
  
  Andre'
 
 Yes, this is the solution I've come up with myself. But it seems odd
 that there is no more elegant way of doing this; it must come up often
 these days.

Well, elegant is in the eye of the beholder. You can try to put
something like

 \let\hreforig\href
 \def\foo#1://#2=={#1:/\hspace{-0.8ex}/#2}
 \def\href#1#2{\hreforig{#1}{\foo#2==}}

in to the preamble and use the hyperref insets as usual.


Andre'


Re: Reduce spacing between // for hyperrefs?

2008-08-25 Thread Andre Poenitz
On Mon, Aug 25, 2008 at 02:09:29PM +0200, Andre Poenitz wrote:
 On Mon, Aug 25, 2008 at 11:26:02AM +0100, Anthony Campbell wrote:
  On 25 Aug 2008, Andre Poenitz wrote:
   On Mon, Aug 25, 2008 at 10:23:29AM +0100, Anthony Campbell wrote:
Is there any way to reduce the spacing between the slashes in hyperrefs
- http:// ? 

I don't mean to make cross-references; just to give cites in footnotes
and bibliographies for a book.
   
   The only solution I can think of right now is to use plain LaTeX
   in an 'ERT Box':
   
   \href{http://www.lyx.org}{LyX (http:/\hspace{-0.8ex}/www.lyx.org)}
   
   
   Andre'
  
  Yes, this is the solution I've come up with myself. But it seems odd
  that there is no more elegant way of doing this; it must come up often
  these days.
 
 Well, elegant is in the eye of the beholder. You can try to put
 something like
 
  \let\hreforig\href
  \def\foo#1://#2=={#1:/\hspace{-0.8ex}/#2}
  \def\href#1#2{\hreforig{#1}{\foo#2==}}
 
 in to the preamble and use the hyperref insets as usual.

And, since the preamble is inserted before \usepackage{hyperref},
this needs to be wrapped in \AtBeginDocument

\AtBeginDocument{\let\hreforig\href
  \def\foo#1://#2=={#1:/\hspace{-0.8ex}/#2}
  \def\href#1#2{\hreforig{#1}{\foo#2==}}}

or put into ERT in the document body.

Andre'


Position of chapter heading - left or right page?

2008-08-25 Thread Anthony Campbell
I'm using the default book category.

The chapter headings come out on the left-hand (even number) page. This
doesn't seem to be usual in any of the books I look at. Is there a way
to make it appear on every page, or alternatively on the right-hand
(odd number) page?

Anthony

-- 
Anthony Campbell - [EMAIL PROTECTED] 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews, 
and sceptical articles)



Re: Position of chapter heading - left or right page?

2008-08-25 Thread rgheck

Anthony Campbell wrote:

I'm using the default book category.

The chapter headings come out on the left-hand (even number) page. This
doesn't seem to be usual in any of the books I look at. 

  
It's common in lots of books to open chapters on ODD pages. That's how 
it's supposed to work.



Is there a way
to make it appear on every page, or alternatively on the right-hand
(odd number) page?

  
Put the option openany into DocumentSettingsDocument ClassOptions 
for the former.


rh



Re: Position of chapter heading - left or right page?

2008-08-25 Thread Anthony Campbell
On 25 Aug 2008, rgheck wrote:
 Anthony Campbell wrote:
 I'm using the default book category.

 The chapter headings come out on the left-hand (even number) page. This
 doesn't seem to be usual in any of the books I look at. 

   
 It's common in lots of books to open chapters on ODD pages. That's how  
 it's supposed to work.

 Is there a way
 to make it appear on every page, or alternatively on the right-hand
 (odd number) page?

   
 Put the option openany into DocumentSettingsDocument ClassOptions  
 for the former.

 rh

Sorry; I wasn't clear. I was referring to the repeater chapter headings
that are at the top of ALL the left-hand pages. 

Anthony


-- 
Anthony Campbell - [EMAIL PROTECTED] 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews, 
and sceptical articles)



Re: LyX for MAC: problems in handling file images

2008-08-25 Thread Pierfranco Minsenti
Dear Bennet,

thnk your for your mail. I have tried what you suggested but unfortunately
nothing changes, I have the same problems as usual.
Pierfranco

2008/8/25 Bennett Helm [EMAIL PROTECTED]


 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




-- 
Pierfranco Minsenti
Università Ca' Foscari
Tel. +39 041/234.5707
Fax +39 041/234.5742
E-mail: [EMAIL PROTECTED]


Re: LyX for MAC: problems in handling file images

2008-08-25 Thread Bennett Helm
On Mon, Aug 25, 2008 at 9:58 AM, Pierfranco Minsenti 
[EMAIL PROTECTED] wrote:

 Dear Bennet,

 thnk your for your mail. I have tried what you suggested but unfortunately
 nothing changes, I have the same problems as usual.
 Pierfranco


If you launch Terminal.app and type convert --version (without the
quotes), what do you see?

Bennett


re: Memoir/hyperref conflict is a known issue

2008-08-25 Thread Eran Kaplinsky





Steve Litt
Sat, 23 Aug 2008 18:43:52 -0700

Hi all,

I need your help. It turns out to be a known problem that you can't use 
hyperref with Memoir. However, there's supposedly a fix, known as 
memhfixc.sty. Supposedly, if you \usepackage{memhfixc} AFTER you 
\usepackage{hyperref}, they can coexist. See this:


http://209.85.215.104/search?q=cache:8kIeWO2Ho9oJ:www.tug.org/pracjourn/2006-3/wilson/wilson.pdf+memoir+hyperref+ifpdfhl=enct=clnkcd=3gl=us
 
http://209.85.215.104/search?q=cache:8kIeWO2Ho9oJ:www.tug.org/pracjourn/2006-3/wilson/wilson.pdf+memoir+hyperref+ifpdfhl=enct=clnkcd=3gl=us

However, when I make a trivial latex file based on the preceding document, it 
fails. Here's the file:


\documentclass{memoir}
\usepackage{hyperref}
\usepackage{memhfixc}
\usepackage{mempatch}
\begin{document}
hello world.
\end{document}
  




Most of my documents are with memoir and hyperref, with no problem. I 
usually have:


\usepackage{hyperref}

\hypersetup{pdftex, bookmarks, backref, letterpaper, colorlinks=true, 
urlcolor=black}


\usepackage{memhfixc}


But, I tries your document and it works, too ...


Eran


Re: Logo in Presentation Beamer

2008-08-25 Thread Paul A. Rubin

Waluyo Adi Siswanto wrote:


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}



Well, I took a look and I think this would be a bigger pain to do than I 
initially thought.  As best I can tell, there's no easy way to do this 
in the preamble, so it would require hacking a few style files. I 
*think* something like the following might work:


1.  Copy TeX root\tex\latex\beamer\themes\theme\beamerthemeWarsaw.sty 
to a new file (call it beamerthemeMyWarsaw.sty) in an appropriate place 
under your localtexmf directory.  Change \useoutertheme{shadow} to 
\useoutertheme{myshadow}.


2.  Copy TeX 
root\tex\latex\beamer\themes\outer\beamerouterthemeshadow.sty to a new 
file (beamerouterthemmyshadow.sty) in the same place under localtexmf. 
Change the lines


  \rightskip0.3cm plus1fil\leavevmode
  \insertframetitle%
  [EMAIL PROTECTED]

to something like

  \rightskip0.3cm plus1fil\leavevmode
  \insertgraphics[height=1cm,width=1cm]{mylogo1.png}\hfill
  \insertframetitle%
  \hfill\insertgraphics[height=1cm,width=1cm]{mylogo2.png}
  [EMAIL PROTECTED]

3.  Put the two logos (mylogo1.png, mylogo2.png, or whatever you call 
them) in the same directory.


4.  Run texhash so that LaTeX can find the new files.  (There's no need 
to reconfigure LyX, but you may need to restart LyX if it was running 
when you made the change.)


5.  Change \usetheme{Warsaw} to \usetheme{MyWarsaw} in the preamble 
of your LyX doc.


I'm not sure if the \hfill's are warranted or not, and I'm not positive 
this will work.  You may also need to load the graphicx package in the 
preamble if you don't have images in the slideshow.  (If you insert 
images in LyX, LyX will load graphicx automatically.  I can't recall if 
beamer loads it or not.)


Again, I haven't tried this myself, so I'm not sure it will work.  Good 
luck.


/Paul



file-insert with ~ in the path

2008-08-25 Thread Philippe Grosjean

Hello,

I would like to set up a directory with little snippets to insert in LyX
documents. These snippets are small .lyx files located, let's say, in
~/LyXsnippets. I would like my menu and toolbar entries to be portable
(different users, different OSes). That's why I don't use
/Users/phgrosjean/LyXsnippets (on my Mac) for instance. Unfortunately, it
seems that the file-insert command does not expand ~, and it cannot use
environment variables too.

So, how can I do that? Any hint?


Also, there is problem with the slash in the name of the toolbar button icon
under Windows. I suppose I should use a .def file and the call command,
but I cannot make it run. Any hint welcome too.


I use LyX 1.5.6 under Mac OS X 10.4 / Windows XP sp2 / Ubuntu Hardy Heron.

Thanks,

Philippe Grosjean

-- 
View this message in context: 
http://n2.nabble.com/file-insert-with-%7E-in-the-path-tp781832p781832.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Position of chapter heading - left or right page?

2008-08-25 Thread Jeremy C. Reed
On Mon, 25 Aug 2008, Anthony Campbell wrote:

 I'm using the default book category.
 
 The chapter headings come out on the left-hand (even number) page. This
 doesn't seem to be usual in any of the books I look at. Is there a way
 to make it appear on every page, or alternatively on the right-hand
 (odd number) page?

I use fancy headers and I have:

% I want chapter on right odd pages to right side
% and book title on left even pages to left side
\fancyhead{}% delete the default header
\fancyhead[LE]{I put title here}
\fancyhead[RO]{\leftmark}



Re: Position of chapter heading - left or right page?

2008-08-25 Thread Anthony Campbell
On 25 Aug 2008, Jeremy C. Reed wrote:
 On Mon, 25 Aug 2008, Anthony Campbell wrote:
 
  I'm using the default book category.
  
  The chapter headings come out on the left-hand (even number) page. This
  doesn't seem to be usual in any of the books I look at. Is there a way
  to make it appear on every page, or alternatively on the right-hand
  (odd number) page?
 
 I use fancy headers and I have:
 
 % I want chapter on right odd pages to right side
 % and book title on left even pages to left side
 \fancyhead{}% delete the default header
 \fancyhead[LE]{I put title here}
 \fancyhead[RO]{\leftmark}

This doesn't seem to work for me - perhaps I'm misssing something. Do
you put it at the beginning of Chapter 1?

This does work:

\pagestyle{myheadings} 
\markboth{Book title}{chapter title}  

But the code has to be inserted for each chapter and and the correct
chapter title inserted, so it's only semi-automated.


Anthony




-- 
Anthony Campbell - [EMAIL PROTECTED] 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews, 
and sceptical articles)



Re: Memoir/hyperref conflict is a known issue PARTIALLY SOLVED

2008-08-25 Thread Steve Litt
First, thanks to all you LyX'ers -- the ones writing me both onlist and 
offlist. There's no way I would have solved this without you.

Second, I'm really bent out of shape (American idiom for extremely angry) 
because those fool packagers at Mandriva put in a 2004 Memoir package into 
Mandriva 2008.1. I've got nine months to get over my anger, but right now I'm 
inclined to switch to another distro next summer.

The big clue came when several of you said you couldn't reproduce my symptom 
on my 5 line LaTeX program. That pointed a very accusing finger at *MY* 
Memoir package installation. Looking at its files, I saw they were from 2004. 
So I downloaded a 2008 Memoir. My 5 line LaTeX program compiled, so I knew I 
was on the right track.

Unfortunately, my actual LyX book got approximately several hundred errors. 
Google was my friend, and I found out that to complete the installation, I 
had to do this:

latex memoir.ins

So I did that, but my LaTeX program still got a couple hundred errors. This 
time, however, most of the errors seemed to be associated with Enumerate, so 
I commented out my LaTeX code that compressed enumerate vertically. There 
were still some errors, so I commented out similar compression code in 
itemize and the table of contents. It compiled with hyperref included, and 
gave me a clickable table of contents.

What remains now is to find a different way to code my list compressions, and 
test everything else to make sure there are no other problems.

If anyone reading this list is using Mandriva 2008.x, be VERY careful, and 
don't assume your tetex package is correct or up to date.

In hindsight, I made the classic troubleshooting mistake of proceeding on an 
untested and invalid assumption -- in this case the assumption being that my 
tetex installation was solid. The several of you who responded telling me my 
program compiled correctly on your setups helped cast the light of day on 
that invalid assumption, leading to at least a partial solution.

Thank you all very much!!!

SteveT

On Monday 25 August 2008 11:25:25 am Eran Kaplinsky wrote:
  Steve Litt
  Sat, 23 Aug 2008 18:43:52 -0700
 
  Hi all,
 
  I need your help. It turns out to be a known problem that you can't use
  hyperref with Memoir. However, there's supposedly a fix, known as
  memhfixc.sty. Supposedly, if you \usepackage{memhfixc} AFTER you
  \usepackage{hyperref}, they can coexist. See this:
 
  http://209.85.215.104/search?q=cache:8kIeWO2Ho9oJ:www.tug.org/pracjourn/2
 006-3/wilson/wilson.pdf+memoir+hyperref+ifpdfhl=enct=clnkcd=3gl=us
  http://209.85.215.104/search?q=cache:8kIeWO2Ho9oJ:www.tug.org/pracjourn/
 2006-3/wilson/wilson.pdf+memoir+hyperref+ifpdfhl=enct=clnkcd=3gl=us
 
  However, when I make a trivial latex file based on the preceding
  document, it fails. Here's the file:
 
  \documentclass{memoir}
  \usepackage{hyperref}
  \usepackage{memhfixc}
  \usepackage{mempatch}
  \begin{document}
  hello world.
  \end{document}

 Most of my documents are with memoir and hyperref, with no problem. I
 usually have:

 \usepackage{hyperref}

 \hypersetup{pdftex, bookmarks, backref, letterpaper, colorlinks=true,
 urlcolor=black}

 \usepackage{memhfixc}


 But, I tries your document and it works, too ...


 Eran



Re: Memoir/hyperref conflict is a known issue PARTIALLY SOLVED

2008-08-25 Thread Bennett Helm
On Mon, Aug 25, 2008 at 2:15 PM, Steve Litt [EMAIL PROTECTED]wrote:

snip


 So I did that, but my LaTeX program still got a couple hundred errors. This
 time, however, most of the errors seemed to be associated with Enumerate,
 so
 I commented out my LaTeX code that compressed enumerate vertically. There
 were still some errors, so I commented out similar compression code in
 itemize and the table of contents. It compiled with hyperref included, and
 gave me a clickable table of contents.

 What remains now is to find a different way to code my list compressions,
 and
 test everything else to make sure there are no other problems.


Have you looked in Memoir's manual, searching for \tightlists, \tightlist
and \firmlist?

Bennett


Re: LyX for MAC: problems in handling file images

2008-08-25 Thread Pierfranco Minsenti
This is the message I get in Terminal after launching the command you
suggested:

$ convert -version
dyld: convert can't open library: /usr/X11R6/lib/libXext.6.dylib  (No such
file or directory, errno = 2)
Trace/BPT trap
Computer-di-Pierfranco-Minsenti:~ pierfranco$

I have checked my disk and found that I have this directory:
/usr/X11R6/lib/libXpm.4.11.dylib

so I see there is a difference between the file which is looked for in
Terminal, which is

libXext.6.dylib

and the file I actually have which is

libXpm.4.11.dylib

But this is all I can say at the moment.

Thank you in advance for the suggestions you will be able to give me.
Pierfranco






2008/8/25 Bennett Helm [EMAIL PROTECTED]

 On Mon, Aug 25, 2008 at 9:58 AM, Pierfranco Minsenti 
 [EMAIL PROTECTED] wrote:

  Dear Bennet,

 thnk your for your mail. I have tried what you suggested but unfortunately
 nothing changes, I have the same problems as usual.
 Pierfranco


 If you launch Terminal.app and type convert --version (without the
 quotes), what do you see?

 Bennett



Re: LyX for MAC: problems in handling file images

2008-08-25 Thread Bennett Helm
On Mon, Aug 25, 2008 at 3:11 PM, Pierfranco Minsenti 
[EMAIL PROTECTED] wrote:

 This is the message I get in Terminal after launching the command you
 suggested:

 $ convert -version
 dyld: convert can't open library: /usr/X11R6/lib/libXext.6.dylib  (No such
 file or directory, errno = 2)
 Trace/BPT trap


That you have problems with convert (which is from imagemagick) shows that
the problem is not with LyX but with imagemagick. Perhaps you should try
reinstalling imagemagick and see if that works. (How did you install it in
the first place?)

Bennett


Re: LyX for MAC: problems in handling file images

2008-08-25 Thread Pierfranco Minsenti
I have checked my installation of ImageMagick: 6.3.3.
Most elements are in the .usr/local/lib
Maybe I installed it when I installed the full MacTeX package containing the
texlive2007 package.

Now, since I am a totally beginner in the Lyx and Latex arena (I have been
using, LyX for 3 weeks), I am not sure about what are the right ways for
uninstalling/installing LaTeX packages and additional software.
Perhaps I could do the two operations through the i-Installer? However I
have just checked it for ImageMagick and it says that ImageMagick is being
updated and then is not available. Maybe I could download it from
http://www.imagemagick.org/? But then how could I uninstall the present
version and install the new one?
Sorry, but since I am used only to uninstall ordinary applications by moving
them from the Application folder to the Trash, which is not the case with
ImageMagick, I am unsure about how to uninstall ImageMagick and then
reinstall it.
Pierfranco


2008/8/25 Bennett Helm [EMAIL PROTECTED]

 On Mon, Aug 25, 2008 at 3:11 PM, Pierfranco Minsenti 
 [EMAIL PROTECTED] wrote:

 This is the message I get in Terminal after launching the command you
 suggested:

 $ convert -version
 dyld: convert can't open library: /usr/X11R6/lib/libXext.6.dylib  (No such
 file or directory, errno = 2)
 Trace/BPT trap


 That you have problems with convert (which is from imagemagick) shows that
 the problem is not with LyX but with imagemagick. Perhaps you should try
 reinstalling imagemagick and see if that works. (How did you install it in
 the first place?)

 Bennett




-- 
Pierfranco Minsenti
Università Ca' Foscari
Tel. +39 041/234.5707
Fax +39 041/234.5742
E-mail: [EMAIL PROTECTED]


Re: LyX for MAC: problems in handling file images

2008-08-25 Thread Bennett Helm
On Mon, Aug 25, 2008 at 4:18 PM, Pierfranco Minsenti 
[EMAIL PROTECTED] wrote:

 I have checked my installation of ImageMagick: 6.3.3.
 Most elements are in the .usr/local/lib
 Maybe I installed it when I installed the full MacTeX package containing
 the texlive2007 package.


It *is* installed with MacTeX.

If you can, you might want to wait a week or so (it should be out real soon
now) to download MacTeX based on texlive 2008; installing that will give
you a new installation of ImageMagick. Alternatively, you could use MacTeX
2007 to do it again.

But these are big downloads, and I'm not even sure if this will solve the
problem.


 Now, since I am a totally beginner in the Lyx and Latex arena (I have been
 using, LyX for 3 weeks), I am not sure about what are the right ways for
 uninstalling/installing LaTeX packages and additional software.
 Perhaps I could do the two operations through the i-Installer? However I
 have just checked it for ImageMagick and it says that ImageMagick is being
 updated and then is not available. Maybe I could download it from
 http://www.imagemagick.org/? But then how could I uninstall the present
 version and install the new one?
 Sorry, but since I am used only to uninstall ordinary applications by
 moving them from the Application folder to the Trash, which is not the case
 with ImageMagick, I am unsure about how to uninstall ImageMagick and then
 reinstall it.


I don't know how hard it is to build from scratch. Another option would be
to use macports or fink to install it for you.

Bennett


Re: Memoir/hyperref conflict is a known issue PARTIALLY SOLVED

2008-08-25 Thread Steve Litt
On Monday 25 August 2008 02:41:41 pm you wrote:
 On Mon, Aug 25, 2008 at 2:15 PM, Steve Litt
 [EMAIL PROTECTED]wrote:

 snip

  So I did that, but my LaTeX program still got a couple hundred errors.
  This time, however, most of the errors seemed to be associated with
  Enumerate, so
  I commented out my LaTeX code that compressed enumerate vertically. There
  were still some errors, so I commented out similar compression code in
  itemize and the table of contents. It compiled with hyperref included,
  and gave me a clickable table of contents.
 
  What remains now is to find a different way to code my list compressions,
  and
  test everything else to make sure there are no other problems.

 Have you looked in Memoir's manual, searching for \tightlists, \tightlist
 and \firmlist?

 Bennett

Thanks Bennett,

\tightlists kinda sorta helped, so I made a new environment called 
\supertightlists with even tighter parameters. That worked a little better, 
though not as tight as the original or as I'd like it, but good enough.

It's now not perfect, but it's good enough to offer customers, so thank you 
very much!

SteveT

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



Re: Float placement

2008-08-25 Thread Guillaume Larocque
Hi, I would like to use the natbib package for my citations in Lyx
with the [sort] option so that multiple citations are ordered into the
sequence in which they appear in the list of references. However,
specifying

\usepackage[numbers,sortcompress]{natbib}

in the preamble of my document produces an error when compiling to
pdf. It says the package has already been called. Is there any other
way of doing this in Lyx?

Thanks,

Guillaume


Natbib sort option

2008-08-25 Thread Guillaume Larocque
Hi, I would like to use the natbib package for my citations in Lyx
with the [sort] option so that multiple citations are ordered into the
sequence in which they appear in the list of references. However,
specifying

\usepackage[numbers,sortcompress]{natbib}

in the preamble of my document produces an error when compiling to
pdf. It says the package has already been called. Is there any other
way of doing this in Lyx?

Thanks,


erroneous line / unable to open file

2008-08-25 Thread Ludwig Geske

Dear Sir or Madam,

somehow I managed to include a nomenclature command into the environment 
of a Subsubsection. Now Lyx opens the file, but only till this erroneous 
line. From this line on the content of the file is not displayed and if 
I save the file, the text is gone.


I tried to change the file externally, but if I do so, Lyx does no 
longer open it and tells me this is no lyx-file.


What can I do?

Regards,
Ludwig.


Re: Floating Table Objects Error

2008-08-25 Thread G. Milde
On 22.08.08, Nico wrote:
> Hello Günter,

> I don't think that some unbalanced brackets are in my float... It's the  
> same effect if I insert just an empty tabular-float-environment. 
> It works with figure-float-environment... 

OK, to a table-float triggers the error but does not produce it.
Might have to do with tablecaption settings...

> I've realized now, that it must have s.th. to do with the declarations I  
> did in the preamble, because it works without it. I tried to take parts  
> out to recognize the guilty lines. 

Yes, this is the recommended way.

> With the first lines, the float is generated:

> %Definition des Absatz-Abstandes

> \setlength{\parskip}{0pt}

...[36 more lines]

> ... But when I insert these Lines, the error appears:


> %Realisierung der Hyperref-Attribute unter verschiedenen Voraussetzungen

> \usepackage{ifpdf} % part of the hyperref bundle

... [116 more lines]

> Does s.o. see the reason for my problem in these lines?

This are far too many line for me to spot an error in restricted time.
I'd recommend to try further by "divide and conquer.
Keep an eye on settings that have to do with table floats.

Günter


Re: Float placement

2008-08-25 Thread G. Milde
On 22.08.08, Guillaume Larocque wrote:
> Guillaume Larocque wrote:
> >> Ok, here are the exact symptoms of the problem. If I have a few floats
> >> inserted in a sequence in Lyx, as soon as Latex decides that one float
> >> will be on a separate page, all the floats following it will also be
> >> placed on a separate page, regardless of their size. 
> >
> >Are you saying that after the first float gets a separate page, each of
> >the subsequent floats sits alone on a page?  

> Yes. What I have in a few places in my document is something like: one
> large float, 4 smaller floats, one other large float and then 3
> smaller floats again.

> Latex decides to put the one large float on a separate page and then
> it puts all the rest of the floats on seperate pages 
> **also at the end of the Chapter.**

It looks to me as if your documentclass (or some loaded package or
preamble setting) creates a "page of floats" only **at the end of a
chapter**.

As the order of floats is never changed, subsequent floats in this 
chapter are placed behind this "page of floats". As a new chapter starts
on a new page, these floats will also be alone on a page.

> Its probably deciding that there are too many floats that will break
> the text. I get that behaviour even if I select 'top of page' for all
> the floats.

What happens, if you activate the "ignore LaTeX rules" button?

> I managed to get the floats pretty much where I want them with info
> from this website: http://people.cs.uu.nl/piet/floats/node1.html

> Particularly with the use of:
> \afterpage{\clearpage}

> and by moving some floats between paragraphs. I was just hoping that
> Latex would figure all this out for me.

As "good layout" (and font-placing) is a matter of taste, LaTeX cannot
please all without some configuration efforts from the side of users
that have a different taste from the documentclass designers.

This is why typesetting with LaTeX/LyX is straightforward if you find a
documentstyle you happen to like (or which fullfills the requirements
of the institution you write for) but is a pain, if you do not like the
default output.

Günter


Re: \textservicemark vs. \texttrademark

2008-08-25 Thread G. Milde
On 22.08.08, Rich Shepard wrote:
> On Fri, 22 Aug 2008, Jürgen Spitzmüller wrote:

>> The problem is that the font you're using does not provide the appropriate
>> glyph (for SM). Thus textcomp bails out.

>   That occurred to me, but I neglected to ask. I'm surprised that the
> Palatino fonts don't contain that glyph since this family is one of those
> provided by LaTeX.

There is no font "provided by LaTeX".

There is one font that "comes with TeX" -- Computer Modern.

There are many fonts that are "made accessible for LaTeX", e.g. the standard
Postscript fonts.

The free versions of these standard font families are mostly "scaled
down" (missing expert cuts like real small caps as well as not-so-common
glyphs and symbols).

Additional symbols for LaTeX are mostly designed to match Computer Modern.

Günter


Re: Does anyone know how to import WIKI pages into lyx.

2008-08-25 Thread G. Milde
On 23.08.08, wangyq wrote:

> Currently I am preparing teaching materials for students. I found there
> are some wonderful things in WIKI. I hope I can directly import them
> into my materials. But the wiki page is not completely same as latex.

There are many many Wiki dialects, so there is no definitive answer.

Two cases that come to my mind:

The Wikipedia, e.g. uses LaTeX markup for math, so it should be easy to
import from the text source (open as "edit" and drag-and-drop from the
text widget, then in LyX mark the math and press Ctrl-m).

Some Wikis use reStructuredText as markup language. This can be
converted to LaTeX with rst2latex.py from http://docutils.sf.net.

Günter


Why do Fonts look fuzzy?

2008-08-25 Thread Hesham Kamel
Hi,
I just wanted to ask why fonts look rather fuzzy and not crisp and sharp as
I see in either LyX docs., or in papers?
I tried changing the TeX encoding to OT1, but still, am I missing something
here?
Thank you,
Hesham


Re: erroneous line / unable to open file

2008-08-25 Thread Andre Poenitz
On Sun, Aug 24, 2008 at 05:09:25PM +0200, Ludwig Geske wrote:
> Dear Sir or Madam,
>
> somehow I managed to include a nomenclature command into the environment  
> of a Subsubsection. Now Lyx opens the file, but only till this erroneous  
> line. From this line on the content of the file is not displayed and if  
> I save the file, the text is gone.
>
> I tried to change the file externally, but if I do so, Lyx does no  
> longer open it and tells me this is no lyx-file.
>
> What can I do?

If there's no confidential stuff in there you can send me the file in
private mail and I'll have a look tonight.

Changing the file externally should work, but the .lyx format is
fragile in some places...

Andre'


Reduce spacing between // for hyperrefs?

2008-08-25 Thread Anthony Campbell
Is there any way to reduce the spacing between the slashes in hyperrefs
- http:// ? 

I don't mean to make cross-references; just to give cites in footnotes
and bibliographies for a book.

Anthony



-- 
Anthony Campbell - [EMAIL PROTECTED] 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews, 
and sceptical articles)



Re: Why do Fonts look fuzzy?

2008-08-25 Thread G. Milde
On 25.08.08, Hesham Kamel wrote:

> I just wanted to ask why fonts look rather fuzzy and not crisp and sharp as
> I see in either LyX docs., or in papers?
> I tried changing the TeX encoding to OT1, but still, am I missing something
> here?

There are a thousand reasons for this. (Maybe you are printing on bad paper
with an old inkjet?)

Maybe you are looking for this http://wiki.lyx.org/FAQ/PDF#toc5, otherwise
browsing the lyx wiki (or using its search function) might help.

Günter


Re: Reduce spacing between // for hyperrefs?

2008-08-25 Thread Andre Poenitz
On Mon, Aug 25, 2008 at 10:23:29AM +0100, Anthony Campbell wrote:
> Is there any way to reduce the spacing between the slashes in hyperrefs
> - http:// ? 
> 
> I don't mean to make cross-references; just to give cites in footnotes
> and bibliographies for a book.

The only solution I can think of right now is to use plain LaTeX
in an 'ERT Box':

\href{http://www.lyx.org}{LyX (http:/\hspace{-0.8ex}/www.lyx.org)}


Andre'


Re: Reduce spacing between // for hyperrefs?

2008-08-25 Thread Anthony Campbell
On 25 Aug 2008, Andre Poenitz wrote:
> On Mon, Aug 25, 2008 at 10:23:29AM +0100, Anthony Campbell wrote:
> > Is there any way to reduce the spacing between the slashes in hyperrefs
> > - http:// ? 
> > 
> > I don't mean to make cross-references; just to give cites in footnotes
> > and bibliographies for a book.
> 
> The only solution I can think of right now is to use plain LaTeX
> in an 'ERT Box':
> 
> \href{http://www.lyx.org}{LyX (http:/\hspace{-0.8ex}/www.lyx.org)}
> 
> 
> Andre'

Yes, this is the solution I've come up with myself. But it seems odd
that there is no more elegant way of doing this; it must come up often
these days.

Anthony


-- 
Anthony Campbell - [EMAIL PROTECTED] 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews, 
and sceptical articles)



Re: Reduce spacing between // for hyperrefs?

2008-08-25 Thread Andre Poenitz
On Mon, Aug 25, 2008 at 11:26:02AM +0100, Anthony Campbell wrote:
> On 25 Aug 2008, Andre Poenitz wrote:
> > On Mon, Aug 25, 2008 at 10:23:29AM +0100, Anthony Campbell wrote:
> > > Is there any way to reduce the spacing between the slashes in hyperrefs
> > > - http:// ? 
> > > 
> > > I don't mean to make cross-references; just to give cites in footnotes
> > > and bibliographies for a book.
> > 
> > The only solution I can think of right now is to use plain LaTeX
> > in an 'ERT Box':
> > 
> > \href{http://www.lyx.org}{LyX (http:/\hspace{-0.8ex}/www.lyx.org)}
> > 
> > 
> > Andre'
> 
> Yes, this is the solution I've come up with myself. But it seems odd
> that there is no more elegant way of doing this; it must come up often
> these days.

Well, "elegant" is in the eye of the beholder. You can try to put
something like

 \let\hreforig\href
 \def\foo#1://#2=={#1:/\hspace{-0.8ex}/#2}
 \def\href#1#2{\hreforig{#1}{\foo#2==}}

in to the preamble and use the hyperref insets as usual.


Andre'


Re: Reduce spacing between // for hyperrefs?

2008-08-25 Thread Andre Poenitz
On Mon, Aug 25, 2008 at 02:09:29PM +0200, Andre Poenitz wrote:
> On Mon, Aug 25, 2008 at 11:26:02AM +0100, Anthony Campbell wrote:
> > On 25 Aug 2008, Andre Poenitz wrote:
> > > On Mon, Aug 25, 2008 at 10:23:29AM +0100, Anthony Campbell wrote:
> > > > Is there any way to reduce the spacing between the slashes in hyperrefs
> > > > - http:// ? 
> > > > 
> > > > I don't mean to make cross-references; just to give cites in footnotes
> > > > and bibliographies for a book.
> > > 
> > > The only solution I can think of right now is to use plain LaTeX
> > > in an 'ERT Box':
> > > 
> > > \href{http://www.lyx.org}{LyX (http:/\hspace{-0.8ex}/www.lyx.org)}
> > > 
> > > 
> > > Andre'
> > 
> > Yes, this is the solution I've come up with myself. But it seems odd
> > that there is no more elegant way of doing this; it must come up often
> > these days.
> 
> Well, "elegant" is in the eye of the beholder. You can try to put
> something like
> 
>  \let\hreforig\href
>  \def\foo#1://#2=={#1:/\hspace{-0.8ex}/#2}
>  \def\href#1#2{\hreforig{#1}{\foo#2==}}
> 
> in to the preamble and use the hyperref insets as usual.

And, since the preamble is inserted before \usepackage{hyperref},
this needs to be wrapped in \AtBeginDocument

\AtBeginDocument{\let\hreforig\href
  \def\foo#1://#2=={#1:/\hspace{-0.8ex}/#2}
  \def\href#1#2{\hreforig{#1}{\foo#2==}}}

or put into ERT in the document body.

Andre'


Position of chapter heading - left or right page?

2008-08-25 Thread Anthony Campbell
I'm using the default book category.

The chapter headings come out on the left-hand (even number) page. This
doesn't seem to be usual in any of the books I look at. Is there a way
to make it appear on every page, or alternatively on the right-hand
(odd number) page?

Anthony

-- 
Anthony Campbell - [EMAIL PROTECTED] 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews, 
and sceptical articles)



Re: Position of chapter heading - left or right page?

2008-08-25 Thread rgheck

Anthony Campbell wrote:

I'm using the default book category.

The chapter headings come out on the left-hand (even number) page. This
doesn't seem to be usual in any of the books I look at. 

  
It's common in lots of books to open chapters on ODD pages. That's how 
it's supposed to work.



Is there a way
to make it appear on every page, or alternatively on the right-hand
(odd number) page?

  
Put the option "openany" into Document>Settings>Document Class>Options 
for the former.


rh



Re: Position of chapter heading - left or right page?

2008-08-25 Thread Anthony Campbell
On 25 Aug 2008, rgheck wrote:
> Anthony Campbell wrote:
>> I'm using the default book category.
>>
>> The chapter headings come out on the left-hand (even number) page. This
>> doesn't seem to be usual in any of the books I look at. 
>>
>>   
> It's common in lots of books to open chapters on ODD pages. That's how  
> it's supposed to work.
>
>> Is there a way
>> to make it appear on every page, or alternatively on the right-hand
>> (odd number) page?
>>
>>   
> Put the option "openany" into Document>Settings>Document Class>Options  
> for the former.
>
> rh

Sorry; I wasn't clear. I was referring to the repeater chapter headings
that are at the top of ALL the left-hand pages. 

Anthony


-- 
Anthony Campbell - [EMAIL PROTECTED] 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews, 
and sceptical articles)



Re: LyX for MAC: problems in handling file images

2008-08-25 Thread Pierfranco Minsenti
Dear Bennet,

thnk your for your mail. I have tried what you suggested but unfortunately
nothing changes, I have the same problems as usual.
Pierfranco

2008/8/25 Bennett Helm <[EMAIL PROTECTED]>

>
> 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
>



-- 
Pierfranco Minsenti
Università Ca' Foscari
Tel. +39 041/234.5707
Fax +39 041/234.5742
E-mail: [EMAIL PROTECTED]


Re: LyX for MAC: problems in handling file images

2008-08-25 Thread Bennett Helm
On Mon, Aug 25, 2008 at 9:58 AM, Pierfranco Minsenti <
[EMAIL PROTECTED]> wrote:

> Dear Bennet,
>
> thnk your for your mail. I have tried what you suggested but unfortunately
> nothing changes, I have the same problems as usual.
> Pierfranco
>

If you launch Terminal.app and type "convert --version" (without the
quotes), what do you see?

Bennett


re: Memoir/hyperref conflict is a known issue

2008-08-25 Thread Eran Kaplinsky





Steve Litt
Sat, 23 Aug 2008 18:43:52 -0700

Hi all,

I need your help. It turns out to be a known problem that you can't use 
hyperref with Memoir. However, there's supposedly a fix, known as 
memhfixc.sty. Supposedly, if you \usepackage{memhfixc} AFTER you 
\usepackage{hyperref}, they can coexist. See this:


http://209.85.215.104/search?q=cache:8kIeWO2Ho9oJ:www.tug.org/pracjourn/2006-3/wilson/wilson.pdf+memoir+hyperref+ifpdf=en=clnk=3=us
 


However, when I make a trivial latex file based on the preceding document, it 
fails. Here's the file:


\documentclass{memoir}
\usepackage{hyperref}
\usepackage{memhfixc}
\usepackage{mempatch}
\begin{document}
hello world.
\end{document}
  




Most of my documents are with memoir and hyperref, with no problem. I 
usually have:


\usepackage{hyperref}

\hypersetup{pdftex, bookmarks, backref, letterpaper, colorlinks=true, 
urlcolor=black}


\usepackage{memhfixc}


But, I tries your document and it works, too ...


Eran


Re: Logo in Presentation Beamer

2008-08-25 Thread Paul A. Rubin

Waluyo Adi Siswanto wrote:


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}



Well, I took a look and I think this would be a bigger pain to do than I 
initially thought.  As best I can tell, there's no easy way to do this 
in the preamble, so it would require hacking a few style files. I 
*think* something like the following might work:


1.  Copy \tex\latex\beamer\themes\theme\beamerthemeWarsaw.sty 
to a new file (call it beamerthemeMyWarsaw.sty) in an appropriate place 
under your localtexmf directory.  Change "\useoutertheme{shadow}" to 
"\useoutertheme{myshadow}".


2.  Copy root>\tex\latex\beamer\themes\outer\beamerouterthemeshadow.sty to a new 
file (beamerouterthemmyshadow.sty) in the same place under localtexmf. 
Change the lines


  \rightskip0.3cm plus1fil\leavevmode
  \insertframetitle%
  [EMAIL PROTECTED]

to something like

  \rightskip0.3cm plus1fil\leavevmode
  \insertgraphics[height=1cm,width=1cm]{mylogo1.png}\hfill
  \insertframetitle%
  \hfill\insertgraphics[height=1cm,width=1cm]{mylogo2.png}
  [EMAIL PROTECTED]

3.  Put the two logos (mylogo1.png, mylogo2.png, or whatever you call 
them) in the same directory.


4.  Run texhash so that LaTeX can find the new files.  (There's no need 
to reconfigure LyX, but you may need to restart LyX if it was running 
when you made the change.)


5.  Change "\usetheme{Warsaw}" to "\usetheme{MyWarsaw}" in the preamble 
of your LyX doc.


I'm not sure if the \hfill's are warranted or not, and I'm not positive 
this will work.  You may also need to load the graphicx package in the 
preamble if you don't have images in the slideshow.  (If you insert 
images in LyX, LyX will load graphicx automatically.  I can't recall if 
beamer loads it or not.)


Again, I haven't tried this myself, so I'm not sure it will work.  Good 
luck.


/Paul



file-insert with ~ in the path

2008-08-25 Thread Philippe Grosjean

Hello,

I would like to set up a directory with little snippets to insert in LyX
documents. These "snippets" are small .lyx files located, let's say, in
~/LyXsnippets. I would like my menu and toolbar entries to be portable
(different users, different OSes). That's why I don't use
/Users/phgrosjean/LyXsnippets (on my Mac) for instance. Unfortunately, it
seems that the "file-insert" command does not expand ~, and it cannot use
environment variables too.

So, how can I do that? Any hint?


Also, there is problem with the slash in the name of the toolbar button icon
under Windows. I suppose I should use a .def file and the "call" command,
but I cannot make it run. Any hint welcome too.


I use LyX 1.5.6 under Mac OS X 10.4 / Windows XP sp2 / Ubuntu Hardy Heron.

Thanks,

Philippe Grosjean

-- 
View this message in context: 
http://n2.nabble.com/file-insert-with-%7E-in-the-path-tp781832p781832.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Position of chapter heading - left or right page?

2008-08-25 Thread Jeremy C. Reed
On Mon, 25 Aug 2008, Anthony Campbell wrote:

> I'm using the default book category.
> 
> The chapter headings come out on the left-hand (even number) page. This
> doesn't seem to be usual in any of the books I look at. Is there a way
> to make it appear on every page, or alternatively on the right-hand
> (odd number) page?

I use fancy headers and I have:

% I want chapter on right odd pages to right side
% and book title on left even pages to left side
\fancyhead{}% delete the default header
\fancyhead[LE]{I put title here}
\fancyhead[RO]{\leftmark}



Re: Position of chapter heading - left or right page?

2008-08-25 Thread Anthony Campbell
On 25 Aug 2008, Jeremy C. Reed wrote:
> On Mon, 25 Aug 2008, Anthony Campbell wrote:
> 
> > I'm using the default book category.
> > 
> > The chapter headings come out on the left-hand (even number) page. This
> > doesn't seem to be usual in any of the books I look at. Is there a way
> > to make it appear on every page, or alternatively on the right-hand
> > (odd number) page?
> 
> I use fancy headers and I have:
> 
> % I want chapter on right odd pages to right side
> % and book title on left even pages to left side
> \fancyhead{}% delete the default header
> \fancyhead[LE]{I put title here}
> \fancyhead[RO]{\leftmark}

This doesn't seem to work for me - perhaps I'm misssing something. Do
you put it at the beginning of Chapter 1?

This does work:

\pagestyle{myheadings} 
\markboth{Book title}{chapter title}  

But the code has to be inserted for each chapter and and the correct
chapter title inserted, so it's only semi-automated.


Anthony




-- 
Anthony Campbell - [EMAIL PROTECTED] 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews, 
and sceptical articles)



Re: Memoir/hyperref conflict is a known issue

2008-08-25 Thread Steve Litt
First, thanks to all you LyX'ers -- the ones writing me both onlist and 
offlist. There's no way I would have solved this without you.

Second, I'm really bent out of shape (American idiom for extremely angry) 
because those fool packagers at Mandriva put in a 2004 Memoir package into 
Mandriva 2008.1. I've got nine months to get over my anger, but right now I'm 
inclined to switch to another distro next summer.

The big clue came when several of you said you couldn't reproduce my symptom 
on my 5 line LaTeX program. That pointed a very accusing finger at *MY* 
Memoir package installation. Looking at its files, I saw they were from 2004. 
So I downloaded a 2008 Memoir. My 5 line LaTeX program compiled, so I knew I 
was on the right track.

Unfortunately, my actual LyX book got approximately several hundred errors. 
Google was my friend, and I found out that to complete the installation, I 
had to do this:

latex memoir.ins

So I did that, but my LaTeX program still got a couple hundred errors. This 
time, however, most of the errors seemed to be associated with Enumerate, so 
I commented out my LaTeX code that compressed enumerate vertically. There 
were still some errors, so I commented out similar compression code in 
itemize and the table of contents. It compiled with hyperref included, and 
gave me a clickable table of contents.

What remains now is to find a different way to code my list compressions, and 
test everything else to make sure there are no other problems.

If anyone reading this list is using Mandriva 2008.x, be VERY careful, and 
don't assume your tetex package is correct or up to date.

In hindsight, I made the classic troubleshooting mistake of proceeding on an 
untested and invalid assumption -- in this case the assumption being that my 
tetex installation was solid. The several of you who responded telling me my 
program compiled correctly on your setups helped cast the light of day on 
that invalid assumption, leading to at least a partial solution.

Thank you all very much!!!

SteveT

On Monday 25 August 2008 11:25:25 am Eran Kaplinsky wrote:
> > Steve Litt
> > Sat, 23 Aug 2008 18:43:52 -0700
> >
> > Hi all,
> >
> > I need your help. It turns out to be a known problem that you can't use
> > hyperref with Memoir. However, there's supposedly a fix, known as
> > memhfixc.sty. Supposedly, if you \usepackage{memhfixc} AFTER you
> > \usepackage{hyperref}, they can coexist. See this:
> >
> > http://209.85.215.104/search?q=cache:8kIeWO2Ho9oJ:www.tug.org/pracjourn/2
> >006-3/wilson/wilson.pdf+memoir+hyperref+ifpdf=en=clnk=3=us
> >  >2006-3/wilson/wilson.pdf+memoir+hyperref+ifpdf=en=clnk=3=us>
> >
> > However, when I make a trivial latex file based on the preceding
> > document, it fails. Here's the file:
> >
> > \documentclass{memoir}
> > \usepackage{hyperref}
> > \usepackage{memhfixc}
> > \usepackage{mempatch}
> > \begin{document}
> > hello world.
> > \end{document}
>
> Most of my documents are with memoir and hyperref, with no problem. I
> usually have:
>
> \usepackage{hyperref}
>
> \hypersetup{pdftex, bookmarks, backref, letterpaper, colorlinks=true,
> urlcolor=black}
>
> \usepackage{memhfixc}
>
>
> But, I tries your document and it works, too ...
>
>
> Eran



Re: Memoir/hyperref conflict is a known issue

2008-08-25 Thread Bennett Helm
On Mon, Aug 25, 2008 at 2:15 PM, Steve Litt <[EMAIL PROTECTED]>wrote:




> So I did that, but my LaTeX program still got a couple hundred errors. This
> time, however, most of the errors seemed to be associated with Enumerate,
> so
> I commented out my LaTeX code that compressed enumerate vertically. There
> were still some errors, so I commented out similar compression code in
> itemize and the table of contents. It compiled with hyperref included, and
> gave me a clickable table of contents.
>
> What remains now is to find a different way to code my list compressions,
> and
> test everything else to make sure there are no other problems.


Have you looked in Memoir's manual, searching for \tightlists, \tightlist
and \firmlist?

Bennett


Re: LyX for MAC: problems in handling file images

2008-08-25 Thread Pierfranco Minsenti
This is the message I get in Terminal after launching the command you
suggested:

$ convert -version
dyld: convert can't open library: /usr/X11R6/lib/libXext.6.dylib  (No such
file or directory, errno = 2)
Trace/BPT trap
Computer-di-Pierfranco-Minsenti:~ pierfranco$

I have checked my disk and found that I have this directory:
/usr/X11R6/lib/libXpm.4.11.dylib

so I see there is a difference between the file which is looked for in
Terminal, which is

libXext.6.dylib

and the file I actually have which is

libXpm.4.11.dylib

But this is all I can say at the moment.

Thank you in advance for the suggestions you will be able to give me.
Pierfranco






2008/8/25 Bennett Helm <[EMAIL PROTECTED]>

> On Mon, Aug 25, 2008 at 9:58 AM, Pierfranco Minsenti <
> [EMAIL PROTECTED]> wrote:
>
>  Dear Bennet,
>>
>> thnk your for your mail. I have tried what you suggested but unfortunately
>> nothing changes, I have the same problems as usual.
>> Pierfranco
>>
>
> If you launch Terminal.app and type "convert --version" (without the
> quotes), what do you see?
>
> Bennett
>


Re: LyX for MAC: problems in handling file images

2008-08-25 Thread Bennett Helm
On Mon, Aug 25, 2008 at 3:11 PM, Pierfranco Minsenti <
[EMAIL PROTECTED]> wrote:

> This is the message I get in Terminal after launching the command you
> suggested:
>
> $ convert -version
> dyld: convert can't open library: /usr/X11R6/lib/libXext.6.dylib  (No such
> file or directory, errno = 2)
> Trace/BPT trap
>

That you have problems with convert (which is from imagemagick) shows that
the problem is not with LyX but with imagemagick. Perhaps you should try
reinstalling imagemagick and see if that works. (How did you install it in
the first place?)

Bennett


Re: LyX for MAC: problems in handling file images

2008-08-25 Thread Pierfranco Minsenti
I have checked my installation of ImageMagick: 6.3.3.
Most elements are in the .usr/local/lib
Maybe I installed it when I installed the full MacTeX package containing the
texlive2007 package.

Now, since I am a totally beginner in the Lyx and Latex arena (I have been
using, LyX for 3 weeks), I am not sure about what are the right ways for
uninstalling/installing LaTeX packages and additional software.
Perhaps I could do the two operations through the i-Installer? However I
have just checked it for ImageMagick and it says that ImageMagick is being
updated and then is not available. Maybe I could download it from
http://www.imagemagick.org/? But then how could I uninstall the present
version and install the new one?
Sorry, but since I am used only to uninstall ordinary applications by moving
them from the Application folder to the Trash, which is not the case with
ImageMagick, I am unsure about how to uninstall ImageMagick and then
reinstall it.
Pierfranco


2008/8/25 Bennett Helm <[EMAIL PROTECTED]>

> On Mon, Aug 25, 2008 at 3:11 PM, Pierfranco Minsenti <
> [EMAIL PROTECTED]> wrote:
>
>> This is the message I get in Terminal after launching the command you
>> suggested:
>>
>> $ convert -version
>> dyld: convert can't open library: /usr/X11R6/lib/libXext.6.dylib  (No such
>> file or directory, errno = 2)
>> Trace/BPT trap
>>
>
> That you have problems with convert (which is from imagemagick) shows that
> the problem is not with LyX but with imagemagick. Perhaps you should try
> reinstalling imagemagick and see if that works. (How did you install it in
> the first place?)
>
> Bennett
>



-- 
Pierfranco Minsenti
Università Ca' Foscari
Tel. +39 041/234.5707
Fax +39 041/234.5742
E-mail: [EMAIL PROTECTED]


Re: LyX for MAC: problems in handling file images

2008-08-25 Thread Bennett Helm
On Mon, Aug 25, 2008 at 4:18 PM, Pierfranco Minsenti <
[EMAIL PROTECTED]> wrote:
>
> I have checked my installation of ImageMagick: 6.3.3.
> Most elements are in the .usr/local/lib
> Maybe I installed it when I installed the full MacTeX package containing
> the texlive2007 package.
>

It *is* installed with MacTeX.

If you can, you might want to wait a week or so (it should be out "real soon
now") to download MacTeX based on texlive 2008; installing that will give
you a new installation of ImageMagick. Alternatively, you could use MacTeX
2007 to do it again.

But these are big downloads, and I'm not even sure if this will solve the
problem.


> Now, since I am a totally beginner in the Lyx and Latex arena (I have been
> using, LyX for 3 weeks), I am not sure about what are the right ways for
> uninstalling/installing LaTeX packages and additional software.
> Perhaps I could do the two operations through the i-Installer? However I
> have just checked it for ImageMagick and it says that ImageMagick is being
> updated and then is not available. Maybe I could download it from
> http://www.imagemagick.org/? But then how could I uninstall the present
> version and install the new one?
> Sorry, but since I am used only to uninstall ordinary applications by
> moving them from the Application folder to the Trash, which is not the case
> with ImageMagick, I am unsure about how to uninstall ImageMagick and then
> reinstall it.
>

I don't know how hard it is to build from scratch. Another option would be
to use macports or fink to install it for you.

Bennett


Re: Memoir/hyperref conflict is a known issue

2008-08-25 Thread Steve Litt
On Monday 25 August 2008 02:41:41 pm you wrote:
> On Mon, Aug 25, 2008 at 2:15 PM, Steve Litt
> <[EMAIL PROTECTED]>wrote:
>
> 
>
> > So I did that, but my LaTeX program still got a couple hundred errors.
> > This time, however, most of the errors seemed to be associated with
> > Enumerate, so
> > I commented out my LaTeX code that compressed enumerate vertically. There
> > were still some errors, so I commented out similar compression code in
> > itemize and the table of contents. It compiled with hyperref included,
> > and gave me a clickable table of contents.
> >
> > What remains now is to find a different way to code my list compressions,
> > and
> > test everything else to make sure there are no other problems.
>
> Have you looked in Memoir's manual, searching for \tightlists, \tightlist
> and \firmlist?
>
> Bennett

Thanks Bennett,

\tightlists kinda sorta helped, so I made a new environment called 
\supertightlists with even tighter parameters. That worked a little better, 
though not as tight as the original or as I'd like it, but good enough.

It's now not perfect, but it's good enough to offer customers, so thank you 
very much!

SteveT

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



Re: Float placement

2008-08-25 Thread Guillaume Larocque
Hi, I would like to use the natbib package for my citations in Lyx
with the [sort] option so that multiple citations are ordered into the
sequence in which they appear in the list of references. However,
specifying

\usepackage[numbers,sort]{natbib}

in the preamble of my document produces an error when compiling to
pdf. It says the package has already been called. Is there any other
way of doing this in Lyx?

Thanks,

Guillaume


Natbib sort option

2008-08-25 Thread Guillaume Larocque
Hi, I would like to use the natbib package for my citations in Lyx
with the [sort] option so that multiple citations are ordered into the
sequence in which they appear in the list of references. However,
specifying

\usepackage[numbers,sort]{natbib}

in the preamble of my document produces an error when compiling to
pdf. It says the package has already been called. Is there any other
way of doing this in Lyx?

Thanks,