Re: [Qt4.3 with LyX1.5.0 on mac] was {Re: Lyx 144 on Intel Mac: problems with large documents}

2007-04-20 Thread Bob Lounsbury



On 4/19/07 11:53 AM, "Patrick De Visschere" <[EMAIL PROTECTED]> wrote:

> 
> On Apr 19, 2007, at 6:04 PM, Bob Lounsbury wrote:
> 
>> On 4/19/07 1:53 AM, "Abdelrazak Younes" <[EMAIL PROTECTED]> wrote:
>> 
>>> Bob Lounsbury wrote:
>>> 
>>>> Well, after hours and hours and hours of compiling it seems I've
>>>> come to the
>>>> same result as Bennett. When compiling LyX1.5.0svn I get an error
>>>> saying "qt
>>>> 4 library not found !".
>>> 
>>> Is it after './autogen.sh' or after './configure'?
>>> In any case, I guess there should be some log file in the trunk
>>> directory. Could you please send that log(s) to the devel list?
>>> Hopefully someone will solve the problem.
>>> 
>>> Thanks a lot for your effort,
>>> Abdel.
>> 
>> This message was after ./configure.
>> 
>> Just for shits and giggles I'm compiling Qt4.3.0 and Qt4.2.3 from
>> source
>> with the same commands to see if I can compile LyX1.5.0 with either of
>> these. I know there is a precompiled Qt4.2.3 package for mac, but I
>> just
>> want to see if I can make it work myself from source. If I can't
>> compile
>> LyX1.5.0 with Qt4.2.3 then I'll assume that I am not properly
>> compiling Qt.
>> However, if I can compile LyX1.5.0 with Qt4.2.3 but not with
>> Qt4.3.0 then
>> I'll assume there is potentially an LyX issue. Any further
>> suggestions?
>> 
>> Bob
>> 
>> 
> I've compiled QT4.2.3 and LyX1.5.0svn without problems a few days ago
> on a (PPC) mac.
> pdv

Ok, LyX1.5.0svn has failed to compile with both Qt4.2.3 and Qt4.3.0 with the
same error message "qt 4 library not found !".

What am I doing wrong? Does something need to be altered for ppc macs?

I followed the install.macosx using the following ./configure command:

"./configure --prefix=/Applications/LyX.app --disable-concept-checks
--with-version-suffix=-1.5svn --with-qt4-dir=/sw/qt-4.2.3
--enable-optimization=-Os --without-x --with-included-gettext
--with-frontend=qt4 --disable-stdlib-debug".

During the ./autogen.sh the following pops up, although I wouldn't think it
would cause ./configure to fail relating to qt4 library not found:

" Building macros...
.
/sw/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
  run info '(automake)Extending aclocal'
  or see 
http://sources.redhat.com/automake/automake.html#Extending-aclocal;.

Hopefully, I'm just doing something blatantly not wise and once it is
cleared up it will configure just fine.

Any help would be greatly appreciated! It would be nice to be able to
compile LyX from source.

Thanks,
Bob Lounsbury




Re: [Qt4.3 with LyX1.5.0 on mac] was {Re: Lyx 144 on Intel Mac: problems with large documents}

2007-04-21 Thread Bob Lounsbury
 On 4/21/07 3:08 PM, "Anders Ekberg" <[EMAIL PROTECTED]> wrote:

>> On 4/19/07 11:53 AM, "Patrick De Visschere" <[EMAIL PROTECTED]> wrote:
>> 
>>>  
>>> On Apr 19, 2007, at 6:04 PM, Bob Lounsbury wrote:
>>>  
>>>> On 4/19/07 1:53 AM, "Abdelrazak Younes" <[EMAIL PROTECTED]> wrote:
>>>>  
>>>>> Bob Lounsbury wrote:
>>>>>  
>>>>>> Well, after hours and hours and hours of compiling it seems I've
>>>>>> come to the
>>>>>> same result as Bennett. When compiling LyX1.5.0svn I get an error
>>>>>> saying "qt
>>>>>> 4 library not found !".
>>>>>  
>>>>> Is it after './autogen.sh' or after './configure'?
>>>>> In any case, I guess there should be some log file in the trunk
>>>>> directory. Could you please send that log(s) to the devel list?
>>>>> Hopefully someone will solve the problem.
>>>>>  
>>>>> Thanks a lot for your effort,
>>>>> Abdel.
>>>>  
>>>> This message was after ./configure.
>>>>  
>>>> Just for shits and giggles I'm compiling Qt4.3.0 and Qt4.2.3 from
>>>> source
>>>> with the same commands to see if I can compile LyX1.5.0 with either of
>>>> these. I know there is a precompiled Qt4.2.3 package for mac, but I
>>>> just
>>>> want to see if I can make it work myself from source. If I can't
>>>> compile
>>>> LyX1.5.0 with Qt4.2.3 then I'll assume that I am not properly
>>>> compiling Qt.
>>>> However, if I can compile LyX1.5.0 with Qt4.2.3 but not with
>>>> Qt4.3.0 then
>>>> I'll assume there is potentially an LyX issue. Any further
>>>> suggestions?
>>>>  
>>>> Bob
>>>>  
>>>>  
>>> I've compiled QT4.2.3 and LyX1.5.0svn without problems a few days ago
>>> on a (PPC) mac.
>>> pdv
>> 
>> Ok, LyX1.5.0svn has failed to compile with both Qt4.2.3 and Qt4.3.0 with the
>> same error message "qt 4 library not found !".
>> 
>> What am I doing wrong? Does something need to be altered for ppc macs?
>> 
>> I followed the install.macosx using the following ./configure command:
>> 
>> "./configure --prefix=/Applications/LyX.app --disable-concept-checks
>> --with-version-suffix=-1.5svn --with-qt4-dir=/sw/qt-4.2.3
>> --enable-optimization=-Os --without-x --with-included-gettext
>> --with-frontend=qt4 --disable-stdlib-debug".
>> 
>> During the ./autogen.sh the following pops up, although I wouldn't think it
>> would cause ./configure to fail relating to qt4 library not found:
>> 
>> " Building macros...
>>         .
>> /sw/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
>>   run info '(automake)Extending aclocal'
>>   or see 
>> http://sources.redhat.com/automake/automake.html#Extending-aclocal;
>> <http://sources.redhat.com/automake/automake.html#Extending-aclocal%22> ;.
>> 
>> Hopefully, I'm just doing something blatantly not wise and once it is
>> cleared up it will configure just fine.
>> 
>> Any help would be greatly appreciated! It would be nice to be able to
>> compile LyX from source.
>> 
>> Thanks,
>> Bob Lounsbury
> 
> Bob, I think a "make clean" will solve it. At least it did for me after trying
> QT4.3 (except for one time that I managed to mess everything up so badly I had
> to trash my LyX source folder and reinstall from svn...)
> In addition, after trying, I have found 4.3beta, 4.3 snapshot and 4.4 snapshot
> not to work. IIRC the beta gave the same problem that you are reporting,
> whereas the snapshots simply won't compile. The latter two I hope will be
> fixed by Trolltech (although I haven't had time to file a bug report. Has
> anyone done that). The former could perhaps be related to how LyX searches for
> the QT-installation (i.e. the search criterion). But I don't know where in the
> set-up files this identification is done. Does anyone have any ideas?
> Anyway, if you are in urgent need of a 1.5-version of LyX, I compiled the beta
> 2 and posted it at http://www.charmec.chalmers.se/temp/LyX_15b2_PPC.zip 
> If it is not that urgent, I would suggest that you wait for Bennett's posting
> of the official beta.
> 
> /Anders

 
I recompiled both Qt4.3.0snapshot and Qt4.2.3 and the only difference was
rather than using Œsudo make install¹ I just entered Œmake install¹. Now I
have LyX1.5.0beta2 compiled under Qt4.2.3, but I got the same error message
when trying Qt4.3.0snapshot Œqt 4 library not found¹. A bug report would be
great, I really want to see if Qt4.3 is faster. Thanks for the info.

Bob






Re: Couple of questions about writing reports

2007-04-22 Thread Bob Lounsbury

I'm not sure about how insert a graphic in the title page, although I'm
pretty sure it has been discussed in the past. You may want to search the
mail archive to see if anything pops up on the topic.

To rename the Bibliography. Insert in ERT:
\renewcommand\bibname{References}

Just put that command somewhere at the start of your document. The
koma-script documentation covers this also, so if you don't have it now
would be a good time to track it down. :-)

Regards,
Bob Lounsbury

On 4/22/07, Karol Dudzinski <[EMAIL PROTECTED]> wrote:


I've changed to report(koma script) and this is indeed better suited to my
needs. However, I have a couple further questions.

How do I add a graphic to the title page without having to change to an
in-page title?

Is it possible to rename Bibliography to References?  If so, how do I do
it?


Thanks,
Karol

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 02 April 2007 22:11
To: Karol Dudzinski
Subject: Re: Couple of questions about writing reports

Siterer Karol Dudzinski <[EMAIL PROTECTED]>:

> Hi,
>
> Im using the report class to write a report and I have a few
> questions:

I think you would do better changing to report(koma script) where the
things you are trying to do are easier and well explained (search for
scrguien.pdf).

I think it the easiest way to get your margins as you like them are to
set them manually in LyX, however, you might read up in the koma script
guide for a more thorough explanation.

koma script has more environments for the title page than the plain
report class and you should be able to find a way to get both a logo
and some more lines of text there. In the worst case insert a hard line
shift(s) (CTRL+enter).

You could either use a latex command like:
\addcontentsline{toc}{chapter}{References}
in ERT or if you use bibtex check the box "add bibliography to toc" in
the BibTeX bibiography view.

Ingar


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.24/742 - Release Date:
01/04/2007
20:49


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.5.7/771 - Release Date: 21/04/2007
11:56





Re: [Qt4.3 with LyX1.5.0 on mac] was {Re: Lyx 144 on Intel Mac: problems with large documents}

2007-04-22 Thread Bob Lounsbury



On 4/22/07 1:58 AM, "Anders Ekberg" <[EMAIL PROTECTED]> wrote:

>> I recompiled both Qt4.3.0snapshot and Qt4.2.3 and the only
>> difference was
>> rather than using Œsudo make install¹ I just entered Œmake
>> install¹. Now I
>> have LyX1.5.0beta2 compiled under Qt4.2.3, but I got the same error
>> message
>> when trying Qt4.3.0snapshot Œqt 4 library not found¹. A bug report
>> would be
>> great, I really want to see if Qt4.3 is faster. Thanks for the info.
>> 
>> Bob
> 
> I guess the problem is that we need to figure out whether it is a QT
> or an LyX-issue...
> It is interesting that your compilation works? Do you have more info
> on your configuration? My fails on 10.4.9 (G4). with gcc 4.0.1,
> automake 1.10 and gettext 0.14.5.
> But I will try again to make sure I didn't do something stupid.
> 
> /Anders

I'm using 10.4.9 (G3) with gcc 4.0.1, automake 1.9.6, and gettext 0.14.5. I
really don't know if it's an LyX or Qt issue. The only thing I noticed was
that my qt4.3.0 directory is missing a mkspecs folder that is in qt4.2.3
even though they were compiled with the same ./configure command. I guess
I'll send a configure log to the development list.

Bob 




Re: [Qt4.3 with LyX1.5.0 on mac] was {Re: Lyx 144 on Intel Mac: problems with large documents}

2007-04-23 Thread Bob Lounsbury
On 4/22/07 4:01 PM, "Anders Ekberg" <[EMAIL PROTECTED]> wrote:

> 
> On 22 apr 2007, at 23.31, Bob Lounsbury wrote:
> 
>> On 4/22/07 3:07 PM, "Anders Ekberg" <[EMAIL PROTECTED]> wrote:
>> 
>>> 
>>> On 22 apr 2007, at 22.35, Bob Lounsbury wrote:
>>>> On 4/22/07 1:58 AM, "Anders Ekberg" <[EMAIL PROTECTED]> wrote:
>>>> 
>>>>>> I recompiled both Qt4.3.0snapshot and Qt4.2.3 and the only
>>>>>> difference was
>>>>>> rather than using Œsudo make install¹ I just entered Œmake
>>>>>> install¹. Now I
>>>>>> have LyX1.5.0beta2 compiled under Qt4.2.3, but I got the same
>>>>>> error
>>>>>> message
>>>>>> when trying Qt4.3.0snapshot Œqt 4 library not found¹. A bug report
>>>>>> would be
>>>>>> great, I really want to see if Qt4.3 is faster. Thanks for the
>>>>>> info.
>>>>>> 
>>>>>> Bob
>>>>> 
>>>>> I guess the problem is that we need to figure out whether it is
>>>>> a QT
>>>>> or an LyX-issue...
>>>>> It is interesting that your compilation works? Do you have more
>>>>> info
>>>>> on your configuration? My fails on 10.4.9 (G4). with gcc 4.0.1,
>>>>> automake 1.10 and gettext 0.14.5.
>>>>> But I will try again to make sure I didn't do something stupid.
>>>>> 
>>>>> /Anders
>>>> 
>>>> I'm using 10.4.9 (G3) with gcc 4.0.1, automake 1.9.6, and gettext
>>>> 0.14.5. I
>>>> really don't know if it's an LyX or Qt issue. The only thing I
>>>> noticed was
>>>> that my qt4.3.0 directory is missing a mkspecs folder that is in
>>>> qt4.2.3
>>>> even though they were compiled with the same ./configure command. I
>>>> guess
>>>> I'll send a configure log to the development list.
>>>> 
>>>> Bob
>>> 
>>> Do that. The problem is also reported in the tread:
>>> http://www.mail-archive.com/[EMAIL PROTECTED]/msg113399.html
>>> 
>>> It seems our configurations are similar apart from the automake
>>> version. Still I get an error with:
>>> /usr/bin/ld: can't locate file for: -lQtAssistantClient
>>> collect2: ld returned 1 exit status
>>> make[2]: *** [../../bin/qtdemo.app/Contents/MacOS/qtdemo] Error 1
>>> make[1]: *** [sub-qtdemo-make_default] Error 2
>>> make: *** [sub-demos-make_default-ordered] Error 2
>>> 
>>> The only explanation I can think of is if you compiled QT with the -
>>> nomake demos. That should probably avoid this error (I will try it
>>> now), but of course that doesn't solve the basic problem of compiling
>>> LyX...
>>> 
>>> /Anders
>> 
>> I also got this error if I include the '-nomake examples' command.
>> However,
>> if I remember correctly it went away when I didn't use this. I also
>> assumed
>> this wouldn't affect LyX compilation.
>> 
>> Bob
> 
> Thanks for the details Bob. And I can confirm that the compilation
> worked with -nomake demos.
> I have filed a bug report to Trolltech regarding the failed compilation.
> So it seems that one is under control. Now it's just the LyX-
> configuration left...
> 
> /Anders

So, yesterday I booted into Ubuntu (I have a dual-boot) because I wanted to
update LyX there also. There was a distribution upgrade so I upgraded then
compiled 1.5.0svn/beta2 (not sure which it is if downloaded from svn). By
default it used Qt4.2.3 and now I have the LyX "slowness" under Linux. This
leads me to believe that the issues are directly due to Qt4.2.3. I'm
thinking of compiling an earlier version of Qt to see if the slowness goes
away since we can't get LyX to compile with Qt4.3.

Bob




Re: 1.5b2 on Mac - problems

2007-04-25 Thread Bob Lounsbury
On 4/25/07 2:02 PM, "Bennett Helm" <[EMAIL PROTECTED]> wrote:

> On Apr 25, 2007, at 3:41 PM, James wrote:
> 
>> See comments below.
>> 
>> James
>> 
>>>> 3. spell checking doesn¹t function properly.  If I choose
>>>> ³reconfigure² then
>>>> the spell checker works, but after I close and reopen Lyx, it is
>>>> broken once
>>>> again.
>>> 
>>> Can you provide more details? (I can't confirm a problem here.)
>>> 
>> 
>> I downloaded and unzipped the Lyx 1.5b2 from the ftp site.  I then
>> ran the
>> program.  When I ran spell check (via the gui button), I got the
>> following
>> message:
>>   "The spellchecker could not be started
>> LyX: Failed to start ispell!"
>> If I then choose Lyx->Reconfigure I can run spell check successfully.
>> However, if I restart lyx, I have the same problem again.  It seems
>> that the
>> reconfigure magic isn't sticking.
> 
> Are you using ispell? aspell? Is the preference setting for the spell
> checker correct (LyX > Preferences > Language Settings >
> Spellchecker)? How did you install ispell/aspell? When spellchecking
> fails, does anything show up in Console.app? ...
> 
>>>> 4. Copy/paste from Lyx to another app doesn¹t work.  This also was
>>>> a problem
>>>> in previous distributions.
>>> 
>>> Again, can you provide details? Is it *all* other applications that
>>> give you this problem -- including TextEdit.app, say -- or only some,
>>> such as MS Word?
>> 
>> It seems that I cannot even copy/past from one Lyx doc to another.
>> I can
>> only copy/past within a single Lyx doc.  Note that I can copy from an
>> external app and paste into a Lyx doc, but I cannot copy from a Lyx
>> doc and
>> paste anywhere except in that same Lyx doc.  I have tried pasting
>> into MS
>> Word, a terminal, my mail client, other Lyx docs, etc.
> 
> That's odd. I cannot confirm at all. (Anyone else having this problem?)
> 
> Bennett

Cannot confirm here either. No problem with ispell spellchecker. I can
copy/paste to and from LyX to LyX, LyX to textedit, LyX to Pages, LyX to
Mail, LyX to Terminal.

However, I cannot copy from LyX to MS apps. Only copy/paste from MS apps to
LyX.

Bob Lounsbury




Re: 1.5.0-beta2 bug: bracketted math expressions not drawn correctly

2007-04-30 Thread Bob Lounsbury
On 4/30/07 2:02 PM, "Rodrigo Fresneda" <[EMAIL PROTECTED]> wrote:

> Hello, list. Can anyone confirm this bug?
> 
> http://bugzilla.lyx.org/show_bug.cgi?id=3516
> 
> --  Forwarded Message  --
> 
> Description of Problem:
> Whenever I try to modify a mathematical expression
> inside  \left{\right}, \left[\right] or \left(\right),
> like deleting a superscript I had previously added,
> the mathematical expression collapses into garbage.
> 
> Steps to reproduce the problem:
> 1.Write \left( A \right) inside a display equation
> 2. Add a subscript _a to the expression, as \left( A \right)_{a}
> 3. Delete the subscript.
> 
> Actual Results:
> The subscript is deleted, but the parenthesis aren't drawn. If the equation
>  contains many characters after the subscript, they all collapse into
>  something not readable.

Cannot confirm here. Works for me on LyX1.5.0beta2 mac.

Bob Lounsbury




Re: How do I use "noonelinecaption" in LyX?

2007-05-06 Thread Bob Lounsbury

Christian Liesen wrote:

Hi,

I'm stuck again and can not find any help in this list's archive or 
the manuals.


I want to have all table captions aligned left. However, I'm using the 
KOMA report class, which means that by default, all captions that have 
only one line are centered. Changing the paragraph settings has no 
effect whatsoever on this.


There is an option "noonelinecaption" which should solve this, but I 
have no idea how to put it into the preamble. It seems it has to be 
called with the documentclass, but if I add


\documentclass[noonelinecaption]

I only get error messages saying I can only call one documentclass. So 
how do I use "noonelinecaption" in LyX?



Many thanks in advance for any hints,
-- Christian

Document->Settings->Document Class->Options add "noonelinecaption" 
without the quotes.


Bob


floats before section

2007-05-07 Thread Bob Lounsbury
I have the following command in my preamble so that floats are not 
placed before a there corresponding section. However, the code does not 
work for the Appendix sections.


\let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}

Is there some other command I need to use or add so that floats are not 
above the appendix section titles?


Thanks,
Bob Lounsbury


[Solved] Re: floats before section

2007-05-08 Thread Bob Lounsbury

Uwe Stöhr wrote:

Bob Lounsbury schrieb:

I have the following command in my preamble so that floats are not 
placed before a there corresponding section. However, the code does 
not work for the Appendix sections.


Are you sure that these are \sections? You perhaps have there 
\chapters, the the command would be


\let\myChapter\chapter
\renewcommand{\chapter}{\suppressfloats[t]\myChapter}

regards Uwe


Ok, I solved it. Although it took awhile to track it down.

Yes, they are sections using the article class.

In the preamble I'm also using the sectsty package, which was defined 
after the \let\mySection command. Putting the sectsty package commands 
before the \let\mySection command solved the problem.


Bob Lounsbury


Re: build problems on OS X

2007-05-08 Thread Bob Lounsbury

Anders Ekberg wrote:

José Matos
Sun, 06 May 2007 06:50:14 -0700

On Saturday 05 May 2007 21:58:03 Patrick De Visschere wrote:
> Hi,
>
> I update through svn and cannot built LyX1.5 anymore.
> I get the following message from make:
>
> ...
> config runs successfully
>
> A hint would be appreciated.

  The easier solution, start from a fresh directory checkout and 
compile from

there.

  The difficult, remove some files left from previous compiles that 
induce the

wrong dependencies. The previous option is a lot easier. :-)

> Regards,
>
> Patrick De Visschere

--
José Abílio


Also make sure to follow the updated install instructions. There is an 
additional ld-flag to set and the skeleton does not have to be 
manually copied anymore.


/Anders

Anders,

I just updated svn and the INSTALL.MacOSX file has not been updated with 
instructions for not manually copying the LyX skeleton. Is there a 
different set of instructions somewhere that everyone should be following?


Thanks,
Bob Lounsbury


Re: build problems on OS X

2007-05-08 Thread Bob Lounsbury

Bennett Helm wrote:

On May 8, 2007, at 12:48 PM, Bob Lounsbury wrote:


Anders Ekberg wrote:

José Matos
Sun, 06 May 2007 06:50:14 -0700

On Saturday 05 May 2007 21:58:03 Patrick De Visschere wrote:
> Hi,
>
> I update through svn and cannot built LyX1.5 anymore.
> I get the following message from make:
>
> ...
> config runs successfully
>
> A hint would be appreciated.

  The easier solution, start from a fresh directory checkout and 
compile from

there.

  The difficult, remove some files left from previous compiles that 
induce the

wrong dependencies. The previous option is a lot easier. :-)

> Regards,
>
> Patrick De Visschere

--
José Abílio


Also make sure to follow the updated install instructions. There is 
an additional ld-flag to set and the skeleton does not have to be 
manually copied anymore.


/Anders

Anders,

I just updated svn and the INSTALL.MacOSX file has not been updated 
with instructions for not manually copying the LyX skeleton. Is there 
a different set of instructions somewhere that everyone should be 
following?


Thanks,
Bob Lounsbury


Well, it's partially there, partially not; I'm currently working on 
updating the INSTALL.MacOSX file. But the big thing for you to pay 
attention to is that you need to export LDFLAGS as specified in the 
version of INSTALL.MacOSX you have -- with "-framework Cocoa" at the 
end of that line.


Bennett


Right, thanks. I figured you may be updating the install instructions 
(and I'm not trying to push you, we're all busy). I just didn't want 
someone looking at the instructions and not finding anything about how 
to get a skeleton of LyX and then getting frustrated that the LyX 
installation is failing and they don't know why.


Thanks for the work,
Bob


Re: custom list of figures possible?

2007-05-08 Thread Bob Lounsbury

Holger Blank wrote:

Hello,

I'm currently writing a document with figures that have long captions. 
So the list of figures becomes very unsightly.
Is there a feature to specify short captions which appear in the list 
of figures?

If not, what would be the best trick to get this?

I'm currently using Lyx version 1.3.7. Ubuntu doesnt show me a newer 
version.


TIA,
Holger


In LyX 1.4.4 & 1.5.0beta2 it's Insert -> Short Title. I don't remember 
if it's the same menu option in 1.3.7, but nonetheless you should be 
able to find the Short Title option somewhere. This will give you what 
you're looking for :-) .


Bob


Re: Changing font name in the middle of a document

2007-05-08 Thread Bob Lounsbury

Ralph wrote:

Hello All:

I've been working for two days trying to find a way to change the font name 
selected places in a book.


Basically, what I want to do is set the Chapter and all Section Headings in 
Palatino, and the rest of the text in Times.


I have no problems changing the font to Times in the Preamble.  However, I've 
not been able to come up with a way to use Palatino in the Chapter title and 
Headings.  I thiuight that I might be able to use a \newenvironment approach, 
but everything I've tried has failed.


I've looked at the LyX docs and several LaTeX books too, and they don't 
mention anything about this.  

I'm I trying to do something impossible, or does someone out there know how to 
implement this change.


I'd appreciate any help.

Thanks,

Ralph
  


Using the koma-script book class, here is a very crude example of 
changing the font of different chapter and sectional headings. Although 
I don't know how to get Palatino font. Maybe someone else knows? For 
more information check out the koma-script documentation page 50, 
although it lists only \rmfamily, \sffamily, and \ttfamily as possible 
font choices. Hopefully someone else can fill in the gaps.


Regards,
Bob Lounsbury
#LyX 1.4.4 created this file. For more info see http://www.lyx.org/
\lyxformat 245
\begin_document
\begin_header
\textclass scrbook
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single
\papersize default
\use_geometry false
\use_amsmath 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\end_header

\begin_body

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Standard


\backslash
addtokomafont{sectioning}{
\backslash
rmfamily}
\end_layout

\end_inset


\end_layout

\begin_layout Chapter
Introduction
\end_layout

\begin_layout Standard
Testing of koma-script commands.
 Let's change this to roman.
\end_layout

\begin_layout Section
Testing
\end_layout

\begin_layout Standard
This heading should be roman also.
\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Standard


\backslash
addtokomafont{sectioning}{
\backslash
ttfamily}
\end_layout

\end_inset


\end_layout

\begin_layout Chapter
Methodology
\end_layout

\begin_layout Standard
Testing of koma-script commands.
 Let's change this to typewriter.
\end_layout

\begin_layout Section
Testing
\end_layout

\begin_layout Standard
This heading should be typewriter also.
\end_layout

\end_body
\end_document


Re: Changing font name in the middle of a document

2007-05-08 Thread Bob Lounsbury

Ralph wrote:
Bob Lounsbury wrote:

Ralph wrote:

Hello All:

I've been working for two days trying to find a way to change the font 
name selected places in a book.


Basically, what I want to do is set the Chapter and all Section 
Headings in Palatino, and the rest of the text in Times.


I have no problems changing the font to Times in the Preamble.  
However, I've not been able to come up with a way to use Palatino in 
the Chapter title and Headings.  I thiuight that I might be able to 
use a \newenvironment approach, but everything I've tried has failed.


I've looked at the LyX docs and several LaTeX books too, and they 
don't mention anything about this. 
I'm I trying to do something impossible, or does someone out there 
know how to implement this change.


I'd appreciate any help.

Thanks,

Ralph
  


Using the koma-script book class, here is a very crude example of 
changing the font of different chapter and sectional headings. Although 
I don't know how to get Palatino font. Maybe someone else knows? For 
more information check out the koma-script documentation page 50, 
although it lists only \rmfamily, \sffamily, and \ttfamily as possible 
font choices. Hopefully someone else can fill in the gaps.


Regards,
Bob Lounsbury


As per Paul Rubin's example you can get Palatino font by inserting:

\fontencoding{OT1}\fontfamily{ppl}

into my example as:

\addtokomafont{sectioning}{\fontencoding{OT1}\fontfamily{ppl}}

Regards,
Bob Lounsbury





Re: fatal Paragraph-bug in LyX150 (OS X)

2007-05-09 Thread Bob Lounsbury

Patrick De Visschere wrote:

Hi,

I dont' think this is mentionned in bugzilla.

If you change the environment of a blanco line (from Standard) to 
Paragraph and then type text on the line LyX crashes.


Regards,

Patrick De Visschere


Confirmed here with beta2 ppc.

Bob Lounsbury


Re: LyX/Mac-1.5.0 beta 3

2007-05-22 Thread Bob Lounsbury

On 5/22/07, Anders Ekberg <[EMAIL PROTECTED]> wrote:


> A third issue concerns typesetting. Before you run LyX for the
> first time, make sure you run the installer. Then run LyX and check
> the View menu to make sure options like PDF (pdflatex) appear. If
> the menu is mostly empty, you'll probably be able to fix it by
> reconfiguring LyX (LyX > Reconfigure) and then restarting. If you
> have this problem, please report it to the list along with details
> concerning your setup: Intel or PPC Mac as well as how you
> installed LaTeX (i-Installer, MacTeX, fink, macports, etc.).

For the record:
Problem with OSX 10.4.9, PPC and i-Installer.



Same problem with OSX 10.4.9, PPC, and Fink.

Bob

/Anders




package for \textsubscript

2007-05-24 Thread Bob Lounsbury

What package do I need to be able to use \textsubscript? I'm using MikTeX
and I thought it would be the textcomp package, but it is not available. Do
I have to manually install the textcomp package or is there another package
to enable \textsubscript? To ensure that all the packages were being read
properly I ran 'texhash' and 'reconfigured' LyX.

Thanks,
Bob Lounsbury


Re: package for \textsubscript

2007-05-24 Thread Bob Lounsbury

On 5/24/07, Bob Lounsbury <[EMAIL PROTECTED]> wrote:


What package do I need to be able to use \textsubscript? I'm using MikTeX
and I thought it would be the textcomp package, but it is not available. Do
I have to manually install the textcomp package or is there another package
to enable \textsubscript? To ensure that all the packages were being read
properly I ran 'texhash' and 'reconfigured' LyX.

Thanks,
Bob Lounsbury



Actually looking through my style files I already have 'textcomp.sty'.
However, using \textsubscript I get the error:

... if you use textsubscript: H\textsubscript

{2}O.

The control sequence at the end of the top line

of your error message was never \def'ed. If you have

misspelled it (e.g., `\hobx'), type `I' and the correct

spelling (e.g., `I\hbox'). Otherwise just continue,

and I'll forget about whatever was undefined.

So, back to the basic question. What package do I need to use \texsubscript?

Thanks,
Bob Lounsbury


Re: package for \textsubscript

2007-05-24 Thread Bob Lounsbury

On 5/24/07, Richard Heck <[EMAIL PROTECTED]> wrote:


Bob Lounsbury wrote:
> What package do I need to be able to use \textsubscript? I'm using
MikTeX
> and I thought it would be the textcomp package, but it is not
> available. Do
> I have to manually install the textcomp package or is there another
> package
> to enable \textsubscript? To ensure that all the packages were being
read
> properly I ran 'texhash' and 'reconfigured' LyX.
http://www.ctan.org/tex-archive/help/Catalogue/entries/subscript.html


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



Thanks


Re: LyX-1.5.0 Release Candidate 1 on Mac PPC: Speed issues (solution?)

2007-06-08 Thread Bob Lounsbury

On 6/8/07, Jean Kaplan <[EMAIL PROTECTED]> wrote:


This new PPC version works allright. it may be a little quicker than
the universal one, in particular for math previews, but I do not feel
a major change. However, I had not experienced a typing lag  with the
universal version. One advantage of the PPC only version is that it
is slightly smaller.
Jean
Le 8 juin 07 à 14:49, Bennett Helm a écrit :

> Apparently the PPC version was mistakenly compiled requiring some
> software not everyone has. (Thanks to Jean and Patrick for pointing
> this out to me.) I've posted a new version in the same place that
> should fix the problem.
>
> <http://edisk.fandm.edu/bennett.helm/LyX/LyX-universal-test.app.zip>
>
> Bennett




Just for the info.

I've tried your new universal-test and the ppc version posted by Gerard. I'm
using a 600MHz, 384MB ram, OS X 10.4.9 ppc machine.

Both versions are essentially unusably slow when typing in figure floats. I
don't know what version of Qt Gerard used for compilation (probably not
Qt4.3 since math preview display is normal size and the Times font works
correctly). However, his version is faster at loading the program and
standard typing in a new document is almost normal whereas in your universal
version typing in a new document without any figures or math is still slow
and the program icon bounces several times while loading whereas Gerards
version bounces two or three times then loads.

I've now dual-booted my Mac with Linux and I'll be using LyX in Linux since
this slowness is less pronounced (although still noticeable). I've found
Debian to be the most responsive when using LyX so far in my distro testing.

I'm not sure if upgrading to 640MB would make a significant difference or
not since it's still a 600MHz processor, if anyone thought it would make a
truly significant difference I would upgrade. I'll probably just plan on
upgrading laptops soon. It's time for an x86 Linux laptop :-}.

Thanks for all the work,
Bob Lounsbury


Re: moving to linux...

2007-06-08 Thread Bob Lounsbury

On 6/8/07, Ares <[EMAIL PROTECTED]> wrote:


2007/6/8, Bob Lounsbury <[EMAIL PROTECTED]>:
> On 6/8/07, Ares <[EMAIL PROTECTED]> wrote:
> > I have all repositories enabled and I can't see LyX. I have Ubuntu
> > 7.04. I'll try apt-get install lyx instead...
> >
> > --
> > Diego
> > http://www.ares001.altervista.org/
> >
>
>
> You did hit the "Reload" button in Synaptic after enabling the
repositories
> correct? This is the only thing I think of that would cause LyX to not
show
> up.
>
> Bob
>


I put a couple of screenshots here


http://ares001.altervista.org/images/Screenshot-Add-Remove_Applications.png

and here

http://ares001.altervista.org/images/Screenshot-Software_Sources.png

as far as I can see I open the Add/Remove... applet (fig 1), press
Preferences button to show the Software Sources panel (fig2) where
"universe" box is already checked, so the Apply button is disabled
when I close back... and LyX is not there yet... please notice that
this is not a problem to me (since I managed to install LyX very
easily from the command line) but a problem for LyX (which won't show
up for Ububntu users)!

BTW how do you manage LaTeX packages in GNU/Linux? I mean what is the
equivalent of MiKTeX package manager in Windows?

Regards,
--
Diego
http://www.ares001.altervista.org/



Rather than using the Add/Remove applet use the Synaptic Package Manager (a
gui frontend for apt-get) which should be under
System->Administration->Synaptic. The Add/Remove applet only has a small
subset of predefined packages that "work well" with Ubuntu. The Synaptic
manager will have close to 20,000 packages and LyX will definitely be one of
them.

Most LaTeX packages are included with tetex or texlive which you'll also
find in the Synaptic manager (tetex was probably installed by default when
you did "apt-get install lyx"). For odd packages that you need generally
ctan is your friend and you can set up a texmf directory under your home
directory for these odd packages. Then run 'sudo texhash' from command line
and reconfigure LyX and all is good in the world.

Good luck,
Bob


Re: moving to linux... part 2 - tetex package installation

2007-06-13 Thread Bob Lounsbury

On 6/13/07, killermike <[EMAIL PROTECTED]> wrote:


On Wednesday 13 June 2007 07:47, Ares wrote:
>
> when I was under windows (a long, long time ago), when exporting to
> pdf from LyX, I was prompted by LyX to install missing packages and,
> if I had an internet connection, everything worked smoothly.
> Now under GNU/Linux do I have to install missing packages manually (I
> know how to do it - more or less)? but then the question is: is there
> a way to download all new files from command line in one step?
>
> thanks in advance for the sympathetic advices...

On Kubuntu, with a fresh install, I generally install LyX from the package
manager. This means that all of the supporting tools are automatically
installed along with LyX. This tends to be a relatively old version, and
as I
have had quite good luck with the 1.5.0betas, I then manually build a more
uptodate version.

--
http://www.unmusic.co.uk - about me, music, geek sitcom etc.
http://www.unmusic.co.uk/amhs/ - alt.music.home-studio



I think what were trying to explain to you is that "in general" if you
install tetex or texlive you won't need to install any additional packages
like you needed to under Windoze. Just install either tetex or texlive and
use LyX and if you run into an instance of needing a package then post back
to the list and we'll be more than happy to explain how to install those.

Also, remember that the synaptic package manager and apt-get install are the
same thing. So every package available to the system will be listed in
synaptic.

Bob


debian compile and speed

2007-06-13 Thread Bob Lounsbury

I'm running debian etch on a 600MHz iBook and I have 1.4.3 from the
repositories and I've compiled 1.5rc1 from source.

When I'm using 1.5rc1 there is a very noticeable typing lag (kind of
frustrating to work with), especially in figure floats while 1.4.3 there are
absolutely no speed issues at all. Just for the info, since I'm sure someone
will mention it. I compiled 1.5rc1 with --disable-stdlib-debug so that is
not a factor in the slowness.

My questions are: Is this a 1.5 issue, a compiling issue, a qt issue, or am
I missing something? Is there a way to get a prebuilt 1.5rc1 version with
better speed?

I would prefer to continue using 1.5 but the speed is an issue.

Thanks,
Bob Lounsbury


Re: debian compile and speed

2007-06-13 Thread Bob Lounsbury

On 6/13/07, Darren Freeman <[EMAIL PROTECTED]> wrote:


On Wed, 2007-06-13 at 11:31 -0600, Bob Lounsbury wrote:
> When I'm using 1.5rc1 there is a very noticeable typing lag (kind of
> frustrating to work with), especially in figure floats while 1.4.3 there
are
> absolutely no speed issues at all. Just for the info, since I'm sure
someone
> will mention it. I compiled 1.5rc1 with --disable-stdlib-debug so that
is
> not a factor in the slowness.

See if this matches your problem:

http://bugzilla.lyx.org/show_bug.cgi?id=3700

Have fun,
Darren



Yes, seems that this is the same issue. Looks like there is no resolution
yet. I thought it was due to my 600MHz processor but I guess not. Maybe it
is due to some program used for compilation. I have no idea I'm not a
developer just an end user.

Anyways, thanks for the heads up. I added my comments to the bug report.

Bob


Re: debian compile and speed

2007-06-14 Thread Bob Lounsbury

On 6/13/07, Klaumi Klingsporn <[EMAIL PROTECTED]> wrote:


Am/At Mittwoch, 13. Juni 2007 19:31 Bob Lounsbury
<[EMAIL PROTECTED]> schrieb/wrote:

> I'm running debian etch on a 600MHz iBook and I have 1.4.3 from the
> repositories and I've compiled 1.5rc1 from source.
>
> When I'm using 1.5rc1 there is a very noticeable typing lag (kind of
> frustrating to work with),
> ...
> My questions are: Is this a 1.5 issue, a compiling issue, a qt
> issue, or am I missing something?


Dear Bob Lounsbury,

You may try my 1.5rc1-packages at http://apt.klaumikli.de/testing
I haven't noticed a typing lag till now, but I'm working on an AMD
1800 machine.

Good luck!

Klaumi

--
Klaus-M. Klingsporn
[EMAIL PROTECTED]
http://www.klaumikli.de


From my first post I'm using an iBook with powerpc processor. I assume since

your package is for i386 then it would not be compatible.

Thanks anyways,
Bob


LaTeX Error: Too many unprocessed floats.

2007-06-25 Thread Bob Lounsbury

I'm trying to complete my thesis in the next few weeks. I just
inserted 20 floating/sideways figures, which is one figure per page.
However, when I do this I get the error in the subject line along with
a bunch of other errors.

If I take ten or half of the figures out and then process with
pdflatex then everything works fine. Also, if I then put those same
ten figures back into the document then it also works fine. But if I
close the document and LyX and then reopen and try to run pdflatex
then I get the same errors again.

I'm using 1.5rc1 and I've tried running pdflatex from windows and
linux and I get the same error message.

Is there something I can adjust? Is there a limit to the number of
figures you can have in a document? This seems odd to me.

Thanks in advance,
Bob Lounsbury


Re: LaTeX Error: Too many unprocessed floats.

2007-06-25 Thread Bob Lounsbury

Thanks for the info. I randomly figured it because I put some page
breaks in between the figures since they were each a page.

Thanks again,
Bob

On 6/25/07, Les Denham <[EMAIL PROTECTED]> wrote:

On Monday 25 June 2007 14:09, Bob Lounsbury wrote:
> I'm trying to complete my thesis in the next few weeks. I just
> inserted 20 floating/sideways figures, which is one figure per page.
> However, when I do this I get the error in the subject line along with
> a bunch of other errors.
>
>
> Is there something I can adjust? Is there a limit to the number of
> figures you can have in a document? This seems odd to me.

Latex has a limit of 18 on the number of pending floats.  To get around this,
insert the latex command:

\clearpage

at intervals through your document where a new page makes sense to force the
display of pending floats.

See http://tug.org/TeXnik/mainFAQ.cgi?file=floats/floats#unprocessed


--
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html



Re: Re: LyX version 1.5.0 (release candidate 2) is released

2007-06-28 Thread Bob Lounsbury

On 6/28/07, Wolfgang Engelmann <[EMAIL PROTECTED]> wrote:

I have sent this Mail erraneously to
To: [EMAIL PROTECTED]

it should have gone to the lyx-users@lists.lyx.org

>
> We are glad to announce the release of LyX 1.5.0 (release candidate 2).
> We expect this to be the last release before 1.5.0, and until the
> first stable release only critical bugs and regressions will be
> addressed.
>
> We encourage users to try this release candidate and report
> any feedback or problems to lyx-devel at lists.lyx.org.

very impressive work, thanks and congratulations to the team.

I am planning to try 1.5.0 (release candidate 2) out and would appreciate if
somebody could tell me whether and how I can do it without throwing my 1.4.3
version out (Debian etch). Should I create a new user in my home?

Wolfgang


When you compile just use the "./configure
--with-version-suffix=-1.5rc2" or whatever suffix you prefer and this
will create a separate installation with the command to run the
program being "lyx-1.5rc2" rather than just "lyx". It also creates a
default directory ./lyx-1.5rc2 under your home directory. So
everything is separated from your 1.4.3 installation.

Cheers,
Bob Lounsbury


error in EmbeddedObjects

2007-06-29 Thread Bob Lounsbury

In Section 2.12.1 it says that the height of all table rows can be
changed by placing the following command in the preamble:

\setlength{\extrarowheight}{height}

This is not true unless the package dcolumn is also used before this:

\usepackage{dcolumn}

I don't know if I'm missing something or not, but creating a simple
document with a table and inserting the \setlength command just gives
me errors without using the dcolumn package.

Thanks for the documentation.

Cheers,
Bob Lounsbury


Re: How to crash LyX1.5.0beta2

2007-07-06 Thread Bob Lounsbury

On 7/6/07, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:

Hi Lyxers,

due to some serious work i have to do with Lyx i need to stick with the
generally very reliable 1.5.0beta2 for another next 2 weeks. Still, I
observe a strange crash, so I suggest that someone makes sure that this
crash has not been inherited by the current release candidate.

Essentially, the crash always happens with the WindowsXP-version when I
navigate through a table using Shift-uparrow and Shift-rightarrow.

I attach a stripped down version of the file which consistently causes
this crash. Below I also include a copy of the error message.

Greetings,
H.Peter Gumm



Cannot reproduce the crash on LyX 1.5.0rc2 on XP, I opened your
example and did Shift->Up and Shift->Right a bunch of different times
all over the table. I've found rc2 to be fairly resistant to crashes.

Bob Lounsbury


Re: Difficulty viewing document in DVI

2007-07-08 Thread Bob Lounsbury

On 7/8/07, Gauri Karve <[EMAIL PROTECTED]> wrote:

Hi,

I have attached a portion of my document where the error is showing
up. I can view all other files in the DVI mode..in this document, I
tried deleting various lines in the para but the same error shows up,
highlighting different sets of words! for eg, to begin with, it
highlighted "Cumulative Average Abnormal Return (CAAR) can be obtained
as:" as the error source, then when I deleted "Cumulative Average
Abnormal Return (CAAR) can be obtained as:", it highlighted "with day
\tau_{1}> T_{1}and ending with \tau _{2}, the" as the source of error.

Thanks for the help!

Gauri


On 7/6/07, Paul A. Rubin <[EMAIL PROTECTED]> wrote:
> Gauri Karve wrote:
> > Hello,
> >
> > I am a relatively new user of LyX and am using the version 1.4.4.
> > Since the last few days, everytime I try to view the dvi file of a
> > particular document, it
> > gives me the following error message:
> >
> > =
> >
> > LateX error: Undefined color 'ignore'.
> >
> >
> > ...or{ignore}{\color{ignore}AR}}}_{it}}}{N}
> > $
> > You're in trouble here.  Try typingto proceed.
> > If that doesn't work, type  X   to quit.
> >
> > ==
> >
> > Could you please help me fixing this error? I tried reinstalling LyX
> > but it gave me the same error again. I have not made any color changes
> > to my document. I am not fluent with the technicalities yet, so if you
> > could please explain how to solve the problem to me in simple terms,
> > it will be much appreciated.
> >
>
> Can you post the document (or, better, a minimal subset of it that
> generates the error)?
>
> /Paul


Why do you need the \color commands. If you delete AR using backspace
and then hit backspace two more times (to eliminate the \color
commands you've added) and then retype AR the .dvi is created
perfectly as in the attached example.

Regards,
Bob Lounsbury


ProblemViewingDVI-2.lyx
Description: application/lyx


Re: Newbie question bibtex LyX Windows

2007-07-11 Thread Bob Lounsbury

On 7/11/07, Eduardo Esteves <[EMAIL PROTECTED]> wrote:

Dear All,

I'm quite new to LyX and probably didn't properly read the documentation/lists but... I 
need help w/ two "problems":

1) I use jabref to keep my bibliography and I've managed to insert the (bibtex) refs list 
at the end of my article. I changed the style to natbib (I had to install natbib via 
miktex ?!?!) and this change is visible in LyX (author-date format) but when I 
"export" to dvi or pdf the in-text citations and refs list comes in numerical 
format. Am I missing some step in miktex or LyX.


A little more information would help here. However, make sure that
under Document->Settings->Bibliography you've selected Natbib and the
Author-year style for Natbib. Then when you insert the bibliography -
I'm assuming by Insert->List/TOC->Bibtex Bibliography - you need to
make sure that you're using a natbib bibliography style like plainnat
or abbrvnat.


2) Is it possible (and how) to export the article to a tex which (explicitly) 
includes de list of refs in order to submit it to a journal.


Don't know about this one. You could export to pdf.


Regards, Eduardo Esteves


Cheers,
Bob Lounsbury


Re: graphs

2007-07-11 Thread Bob Lounsbury

On 7/11/07, Paniez Paykari <[EMAIL PROTECTED]> wrote:

Dear Sir/Madam

Im trying to insert a graph in lyx 1.5.0 Deb. It is .ps file. When I ask
to view as pdf I get the error message. I have attached the lyx and the
ps files

Also, in the biblio section, my references come up in alphabetical
order, but I want it in the order i cite them...how can I do that?

Cheers
Paniez


The error are due to trying to use subfigure. I don't think this can
be used outside of a floating environment. If you put that figure into
a figure float then everything works correctly.

The references are controlled by the bibstyle.bst in your case your
using plain.bst. I use Natbib to control references. I'm sure there
are many other ways of accomplishing this. I use
Document->Settings->Bibliography then click Natbib and whether you
want author-year or numerical. Then under Document->Settings->Document
Class put "sort" without the quotes into the Options dialog.
Now go to you bibtex bibliography and change the style to unsrtnat.
That should give you what you're looking for. If not post back and I'm
sure many other people may have an answer.

Cheers,
Bob Lounsbury


beamer bibliography fonts

2007-07-13 Thread Bob Lounsbury

Does anyone know how to change the size of the fonts in a bibtex
bibliography using the beamer class.

I've changed the look of the bibliography items with
\setbeamertemplate{bibliography item}[text]

but I want to decrease the font size of the bibliography. I've tried
\setbeamerfont{bibliography}{size=\normalsize}
and
\setbeamerfont{bibliography item}{size=\normalsize}

along with may other things and I can't get it to work. I've read the
documentation and it just doesn't state what the available options are
for \setbeamerfont, which makes absolutely no sense to me!! If you
provide documentation saying that the command
\setbeamerfont{item}{options} can be used to modify the font, it is
absolutely useless unless you tell everyone what 'items' and 'options'
can be used.

Any ideas?

Thanks,
Bob Lounsbury


Re: beamer bibliography fonts

2007-07-13 Thread Bob Lounsbury

On 7/13/07, Bob Lounsbury <[EMAIL PROTECTED]> wrote:

Does anyone know how to change the size of the fonts in a bibtex
bibliography using the beamer class.

I've changed the look of the bibliography items with
\setbeamertemplate{bibliography item}[text]

but I want to decrease the font size of the bibliography. I've tried
\setbeamerfont{bibliography}{size=\normalsize}
and
\setbeamerfont{bibliography item}{size=\normalsize}

along with may other things and I can't get it to work. I've read the
documentation and it just doesn't state what the available options are
for \setbeamerfont, which makes absolutely no sense to me!! If you
provide documentation saying that the command
\setbeamerfont{item}{options} can be used to modify the font, it is
absolutely useless unless you tell everyone what 'items' and 'options'
can be used.

Any ideas?

Thanks,
Bob Lounsbury


Ok, I figured out at least one way of doing this. You can add
'[shrink=5]' to the frame and this will shrink the text by 5%.

Bob


Re: Re[2]: Removing first page number on bibtex generated bibliography

2007-07-17 Thread Bob Lounsbury

On 7/17/07, Lyx Physicst <[EMAIL PROTECTED]> wrote:

Hi, Alan.  Yes I tried that, and I also tried \usepackage{afterpage} in my
preamble and then \afterpage{\thispagestyleempty}} and neither work.  They
still leave the first page of the bib with a page number...  Is there any
way that I can create a sep file of my bib(with refs in order) and remove
the first page there?
Im out of ideas..


The afterpage package works for me. See the attached example (created
with 1.5rc2). Of course you'd have to insert your own references.

Cheers,
Bob Lounsbury


afterpage.lyx
Description: application/lyx


Re: Re[2]: Removing first page number on bibtex generated bibliography

2007-07-17 Thread Bob Lounsbury

On 7/17/07, Lyx Physicst <[EMAIL PROTECTED]> wrote:




On 7/17/07, Bob Lounsbury <[EMAIL PROTECTED]> wrote:
>
> On 7/17/07, Lyx Physicst <[EMAIL PROTECTED]> wrote:
> > Hi, Alan.  Yes I tried that, and I also tried \usepackage{afterpage} in
my
> > preamble and then \afterpage{\thispagestyleempty}} and
neither work.  They
> > still leave the first page of the bib with a page number...  Is there
any
> > way that I can create a sep file of my bib(with refs in order) and
remove
> > the first page there?
> > Im out of ideas..
>
> The afterpage package works for me. See the attached example (created
> with 1.5rc2). Of course you'd have to insert your own references.
>
> Cheers,
> Bob Lounsbury
> \


Bob, unfort I cant open the file because its is 1.5 and I am running
1.4.4...



Here's a 1.4.4 version.

Bob


afterpage-1.4.4.lyx
Description: application/lyx


Re: TOC font changes, adding dots between heading and page

2007-07-20 Thread Bob Lounsbury

On 7/20/07, Lyx Physicst <[EMAIL PROTECTED]> wrote:

Thanks bob, that got the name change and the dots correct, but for some
reason my List of Tables and List of Figures got dropped from the Table of
contents when I added your tex into my preamble... Is there any reason for
this, or do I need to add something else?
Charles



I don't know the reason, but you can add the Table of Contents, List
of Figures, List of Figures, and BibTeX bibliography to the Table of
contents using

\usepackage{tocbibind}

in the preamble. Or if you just want to add one or the other then you can add

\addcontentsline{toc}{chapter}{List of Figures}

next to the List of Figures callout in ERT.

Bob


Re: TOC font changes, adding dots between heading and page

2007-07-20 Thread Bob Lounsbury

On 7/20/07, Lyx Physicst <[EMAIL PROTECTED]> wrote:

On 7/20/07, Charles de Miramon <[EMAIL PROTECTED]> wrote:
>
> Lyx Physicst wrote:
>
> > Hi all, Im trying to tweak a few things in my Table of contents. 1) I
> need
> > to change how Lyx makes all new sections(ie chapter, list of tables,
> list
> > of
> > figures, etc)  in bold font and the corresponding listed page number is
> in
> > bold as well.  I need to make the whole thing in normal font.   2) I
> need
> > to have the dots that go from section to page number ie:
> > 1.1Background... 1
> > Apply to all items in the table of contents.  Right now, the main
> chapter
> > titles do not have these dots, nor do items such as list of tables, list
> > of
> > figures etc.  Only subsections within each chapter have them, and I need
> > to
> > include them for all entries.  3) Finally, I need to change the title to
> > Table of Contents, not contents
> > I am using Lyx 1.44 on a mac with the report class.  Thanks,
> > Charles
>
> Over use of dotted lines is very ugly and a bad habit left from MsWord.
>
> You seem to be a tweaker and you should borrow / buy the LaTeX Companion.
> It
> is a big expensive book but a good investment.
>
> Cheers,
> Charles
> --
> http://www.kde-france.org
>
> Charles, I agree that is ugly and if it were up to me I wouldnt use it.
But the editors at my graduate school are making me change the default Lyx
format to their standards and that uses dots for all the sections  All
of these changes are their doing, not mine.  I think it looks great as is...



The tocloft package will do everything that you need. Grab the package
documentation and read through it. It took me quite a while to figure
out how to add dotted leaders to chapters or sections. This was a
requirement for my thesis also.

I've attached a simple example of how to add dotted leaders and change
the name of the table of contents. Consult the tocloft documentation
for the other requirements.

Cheers,
Bob Lounsbury


newfile1-1.4.4.lyx
Description: application/lyx


Re: TOC font changes, adding dots between heading and page

2007-07-20 Thread Bob Lounsbury

On 7/20/07, Lyx Physicst <[EMAIL PROTECTED]> wrote:

> I don't know the reason, but you can add the Table of Contents, List
> of Figures, List of Figures, and BibTeX bibliography to the Table of
> contents using
>
> \usepackage{tocbibind}
>
> in the preamble. Or if you just want to add one or the other then you can
add
>
> \addcontentsline{toc}{chapter}{List of Figures}
>
> next to the List of Figures callout in ERT.
>
> Bob
>

So I did that, and it worked.  But now my page numbers are off... For the
first sections(acknowlegments, list of tables, list of figures,
abbreviations, etc) I have roman numerals counting.  Then the counter starts
at 1 once the text of Chapter one starts.  Well now my roman numerals are
off by one page.  It says the LOT starts at vi, but it really starts at vii
and so all the other ones are off by one... Is this due to the tocloft
package?



I'm not following. Have you separated your addcontentsline commands?

Here's an example as you've described number acknowledgments, lof, and
lot in roman and the chapter 1 in arabic. There is no page number
issue.

Bob


newfile1-1.4.4.lyx
Description: application/lyx


Re: TOC font changes, adding dots between heading and page

2007-07-20 Thread Bob Lounsbury

On 7/20/07, Lyx Physicst <[EMAIL PROTECTED]> wrote:



On 7/20/07, Bob Lounsbury <[EMAIL PROTECTED]> wrote:
> On 7/20/07, Lyx Physicst <[EMAIL PROTECTED]> wrote:
> > > I don't know the reason, but you can add the Table of Contents, List
> > > of Figures, List of Figures, and BibTeX bibliography to the Table of
> > > contents using
> > >
> > > \usepackage{tocbibind}
> > >
> > > in the preamble. Or if you just want to add one or the other then you
can
> > add
> > >
> > > \addcontentsline{toc}{chapter}{List of Figures}
> > >
> > > next to the List of Figures callout in ERT.
> > >
> > > Bob
> > >
> >
> > So I did that, and it worked.  But now my page numbers are off... For
the
> > first sections(acknowlegments, list of tables, list of figures,
> > abbreviations, etc) I have roman numerals counting.  Then the counter
starts
> > at 1 once the text of Chapter one starts.  Well now my roman numerals
are
> > off by one page.  It says the LOT starts at vi, but it really starts at
vii
> > and so all the other ones are off by one... Is this due to the tocloft
> > package?
>
>
> I'm not following. Have you separated your addcontentsline commands?
>
> Here's an example as you've described number acknowledgments, lof, and
> lot in roman and the chapter 1 in arabic. There is no page number
> issue.
>
> Bob


Yes, your sample is correct in how I would like it.  But, my TOC is two
pages long, so the counter "skips" the second page of the TOC and labels it
as the first page of the LOT(the next section)  So my TOC is on page v and
vi, and the LOT starts at vii, but is being listed as starting at vi.  I
hope I explained it better..



That makes sense, but I can't reproduce it. I added chapters and
sections such that the TOC was two pages long and the numbering was
still correct. Something else must be going on or conflicting. Maybe,
you could send a minimal example.

Bob


blue underlining with copy/paste

2007-07-25 Thread Bob Lounsbury

I'm using 1.5.0rc2 under XP and when I copy/paste between two LyX
documents everything gets underlined in blue and when I continue to
add content it is also underlined in blue. It's as if something is
changed in the document.

I've tried messing with change tracking and accepting all changes, but
it does not help.

What's going on here?

Thanks,
Bob Lounsbury


Re: tocloft

2007-08-13 Thread Bob Lounsbury
On 8/13/07, LB <[EMAIL PROTECTED]> wrote:
> > LB wrote:
> >> Hello
> >>
> >> I'm using Lyx 1.4.4 with Win XP and Document class: book
> >> For my thesis I need to added dots between chapter names and their
> >> page numbers in TOC.
> >> I can do that with:
> >>[EMAIL PROTECTED]@dottedtocline{0}{1.5em}{2.3em}} %
> >> However in TOC, this removes formatting of the chapter entries and
> >> removes section indents.
> >>
> >>> From what I can tell, I should be able to use tocloft package but
> >>> when I use
> >> it I get error:
> >> LaTeX Error: Command [EMAIL PROTECTED] already defined.
> >>
> >> Can anybody suggest a solution for this?
> >>
> >> Thank you
> >> Leo


Sorry I didn't respond sooner, but I just got a new job and have been very busy.

I was able to add dotted leaders to section titles using the article
class and the tocloft package with the following command:

\renewcommand\cftsecleader{\bfseries\cftdotfill\cftdotsep}

I'm pretty sure if you want this to apply to chapter titles then you
change sec to chap, but you may want to check the tocloft
documentation. So, it would be this in your preamble:

\renewcommand\cftchapleader{\bfseries\cftdotfill\cftdotsep}

This makes the dots bold from \bfseries, if you don't want them bold
don't use it.

This worked on my thesis and I've attached a simple example where it
works using book class.

Cheers,
Bob Lounsbury


tocloft-example.lyx
Description: Binary data


Re: Lyx 1.5.1 failed to start on Windows XP

2007-08-16 Thread Bob Lounsbury
On 8/15/07, Steven Truong <[EMAIL PROTECTED]> wrote:
> I downloaded both installers and after enough uninstallation of one
> version and trying another version, I am about to give up.
>
> I also followed this discussion in
> http://www.mail-archive.com/lyx-users@lists.lyx.org/msg58077.html
>
> and run this
>
> c:\program files\lyx15\resources> ..\python\python.exe configure.py
>
> After executing this command, a small window popped up and said "the
> required file blah blah blah is missing ...", I then clicked OK to
> install the missing pieces.  After that, the whole thing hung or
> refused to continue and the last thing I could see on the terminal
> was:
>
> +  checking for ec support in Latex format ... yes
>
> I had waited for roughly 1/2 hour on a laptop 1.8 GHz with 512 MB of
> RAM (currently firefox is running with 2 tabs).
>
> This same problems also happened on my other 2 PCs (very new and even
> dual core), so I do not think my computers are slow or anything.
>
> Please help because this is really frustrating.
> Thank you.
>

I had a similar issue. After installing the latest 1.5.1 with the
standard installer I clicked to run the program and nothing happened.
I waited a few minutes and still nothing happened. I looked in the
task manager processes and saw that lyx.exe was running. I then
decided to restart the machine and when I hit Start->Shut Down then
the program opened up. Strange?

Anyways, rebooting XP is always a good thing. Especially if you're
trying to install, uninstall, install, uninstall. If you want to
uninstall and reinstall properly you would uninstall all LyX related
programs, turn the computer off (not restart), wait 10 seconds then
turn the computer on and install LyX. Then it would still be a good
idea to turn the computer off, wait 10 seconds, and then turn it on
and see if LyX is working.

Good Luck,
Bob


Re: Lyx 1.5.1 failed to start on Windows XP

2007-08-16 Thread Bob Lounsbury
On 8/16/07, Steven Truong <[EMAIL PROTECTED]> wrote:
> Hi, Bob.  I tried your workarounds and it did not work for me.
>
> I think the problem here is that there are bugs in the installation
> process of LyX.
>
> I am quite disappointed.


You do have full administrative rights, right?

I've also heard talk on the list that it is best if you just accept
all of the defaults when installing LyX and all associated programs.
You can then go back and change certain things after everything is
installed.

If this continues to be a problem for you, it would be better to post
to the development list and maybe they would be better able to figure
out what is going wrong.

Cheers,
Bob


Re: Exporting

2007-08-27 Thread Bob Lounsbury
On 8/27/07, Richard Heck <[EMAIL PROTECTED]> wrote:
> I'm not on Windows, but someone will know. It's probably under
> C:\Documents and Settings\User Name\... somewhere.
> > I get excellent quality export of HTML and LaTeX to
> > the same directory that the original file comes from
> > but I have not been able to find an odt file or a LyX
> > temporay directory.
> >
> Well, at least the HTML works. You can try running the relevant htlatex
> command---see Preferences>Converters---manually, and see what happens.


If you look under Tools->Preferences->Paths it tells you where your
temporary directory is.

Bob


Re: Exporting

2007-08-27 Thread Bob Lounsbury
On 8/27/07, John Kane <[EMAIL PROTECTED]> wrote:
> Ah so there it is. Thanks
>
> However I don't seem much further ahead.  When I
> select the Export > Open Document command I  end up
> with nothing\  that resembles a OpenOffice.org (odt)
> file which I what I was expecting.
>
> The closest I seem to come to that is a file entitled
> : estimates.4od with 2 bytes  where estimates.lyx is
> the orginal file at 13k in LyX and TeX forms.  OOo
> refuses to open it.
>
> The estimates.tex file and the estimates.dvi are fine,
> that is, I can open the dvi and if I process the tex
> file it is fine.


Personally, I gave up on conversions awhile ago so I can't really help
you there. The export to html with LyX 1.5.1 on windoze worked best.
Otherwise, I just gave people pdf's.

Bob


Re: How to change date in "letter" document class?

2007-08-28 Thread Bob Lounsbury
On 8/28/07, Lance Simmons <[EMAIL PROTECTED]> wrote:
> In the document class "letter", how do I change the date from the
> current date to another date?  There is no "Date" paragraph
> environment in the "letter" document class.  Do I need to insert some
> LaTex code in the preamble, or perhaps some ERT code?  I didn't find
> anything in the User's Guide that answered this exact question, but
> maybe the answer is in there somewhere.
>
> It seems odd that the "letter" document class doesn't include a "Date"
> paragraph environment.  Doesn't every letter have a date?
>
> --
> Lance Simmons
>

This is changed in the preamble:

\date{whatever you want}

Cheers,
Bob


Re: texhash

2007-08-30 Thread Bob Lounsbury
On 8/30/07, Karen Chang <[EMAIL PROTECTED]> wrote:
> Hi Richard / Bennett,
>
> I installed MacTex and when I type "sudo texhash" in the terminal with the
> admin acct I get:
>
> texhash: Updating /usr/local/texlive/2007/../texmf-local/ls-R...
> texhash: Updating /usr/local/texlive/2007/texmf/ls-R...
> texhash: Updating /usr/local/texlive/2007/texmf-config/ls-R...
> texhash: Updating /usr/local/texlive/2007/texmf-dist/ls-R...
> texhash: Updating /usr/local/texlive/2007/texmf-var/ls-R...
> texhash: Done.
>
> However, when I try to open a .lyx document in LyX, I get the following
> error:
>
> "This layout file requested by this document, article.layout, is not
> usable.  This is probably because a LaTeX class or style file required by it
> is not available.  See the Customizaiton documentation for more
> information.  LyX will not be able to produce output. "
>
> Thanks,
> Karen


Did you install MacTeX after LyX? If so, you would need to open LyX
and reconfigure so that LyX recognizes your newly installed TeX
distribution. On Mac I don't remember if it's Tools->Reconfigure or
LyX->Reconfigure.

Cheers,
Bob


Re: relative paths

2007-09-03 Thread Bob Lounsbury
On 9/3/07, Daniel Lohmann <[EMAIL PROTECTED]> wrote:
> Helmut,
>
> In fact relative paths work very well - only the file selection dialog does
> not return them. Just enter the relative path to the figure by hand or
> change it after using the file selection dialog.
>
> Daniel
>
> Hauser Helmut schrieb:
> > Hello,
> >
> > I use LyX on a Linux machine in my office and on a Windows machine at
> > home. Sometimes I need to work on the same document on both machines.
> > The problem is, that the path for the figures to be included is always a
> > global one (/home/...  or C:/).
> > It would be great if I just could use a relative path and would not have
> > to change it all the time. Of course it would be great if I insert a new
> > figure LyX gives my me exactly this "./figures" directory. So this
> > relative path would be a variable of the document itself.
> >
> > Is that possible? Has anyone suggestions how to do that?
> >
> > thanks,
> > - helmut


Well, when I was working on my Thesis I just created a Pictures folder
at the same level as the document. This created a relative path
/Pictures that you are talking about. I used Windoze, Linux, and OS X
to make changes to my document and never had to worry about the
pictures.

Cheers,
Bob


Re: MS Word to LyX?

2007-09-04 Thread Bob Lounsbury
On 9/4/07, Steve Litt <[EMAIL PROTECTED]> wrote:
 > I don't spoze there's an rtf to LaTeX converter that doesn't require Word
> or .Net?

There is latex2rtf and rtf2latex. Don't know if it preserves any
styles. It's available on Linux.

Bob


Re: Merge documentation into one doc!

2007-09-05 Thread Bob Lounsbury
On 9/5/07, Martin A. Hansen <[EMAIL PROTECTED]> wrote:
> We have discussed this before ...
>
> I wanted to find out how to adjust appendixes to replace A, B, C with
> Appendix A, Appendix B, Appendix C. Etc. In LyX 1.4 you did that with some
> ERT, but now with LyX 1.5 there is some fancy red appendix box and perhaps
> another way to do what I wanted. So I headed to the docs ... Horrible
> experience! I had to open 6, six, S-I-X different documents to search for
> the information I wanted (not counting the introduction)!
>
> How about a little merging - LyX should be pretty good at that, yes?
>
> :o)
>
>
> Martin
>
>
> PS. In the mean time I decided just to use A, B, and C for my appendices.
>

Can't help with the merging, but the attached example shows how I got
Appendix A styling with article class on my thesis. I used the
appendix package. You can check the documentation for more info.

Cheers,
Bob


appendix-test.lyx
Description: application/lyx


Re: Merge documentation into one doc!

2007-09-06 Thread Bob Lounsbury
On 9/6/07, Uwe Stöhr <[EMAIL PROTECTED]> wrote:
> Martin A. Hansen schrieb:
>
> > I wanted to find out how to adjust appendixes to replace A, B, C with
> > Appendix A, Appendix B, Appendix C. Etc. In LyX 1.4 you did that with some
> > ERT, but now with LyX 1.5 there is some fancy red appendix box and perhaps
> > another way to do what I wanted.
>
> The appendix handling has not changed between LyX 1.4.x and 1.5.x.
> The attached LyX-file shows you how to get what you want.
>
> regards Uwe

Adding a toc to your example Uwe makes the section title overlap the
section text inside the toc. I think the example I posted using the
appendix package is a better solution, unless you have some nice way
of improving the toc.

Cheers,
Bob


Re: Tweaking the bibliography environment in Memoir class

2007-09-22 Thread Bob Lounsbury
On 9/22/07, John Lorenc <[EMAIL PROTECTED]> wrote:
> Hello All,
>
> I am trying to write my thesis in the humanities with LyX and have checked
> around on the Wiki and this list and have not yet found an answer to my
> question.  My thesis guidelines require me to use Chicago style footnotes
> plus a bibliography for references.  I have decided that the easiest way to
> comply fully with Chicago in LyX is to forget about bibtex and just do the
> citations manually.  This has worked fine so far, but I want to compile my
> bibliography now (again, manually, entering in each work).  The problem is
> that LyX's default behaviour is to use numerical references so that every
> time one adds an entry, one gets:
>
> [1] Op, The Continental. A Title. Place: Publisher & Co., 1993
>
> is there any way to suppress those numbers?  I realize it would be kind of
> silly if there was a way, since this would defeat the purpose of numerical
> citations, but I still hope that there might be a way to get LyX to "do the
> right thing".  So, I would want it to show up like:
>
> Op, The Continental. A Title. Place: Publisher & Co., 1993
>
> Davenport, Lucas. A Title. Place: Publisher & Co., 1993
>
> Parker, Charlie. A Title. Place: Publisher & Co., 1993
>
> ... etc.
>
> and likewise if the entry would extend to two lines, the second line would
> be indented more than the first.  I have figured out that this is the
> 'openbib' option in memoir, but I still can't get the numbers to go away.
>
> Any assistance you could provide would be most welcome.  Basically I just
> want to list all my works in a bibliography in chicago style.
>


I'm sure someone with more knowledge than me will respond. Did you
know that there is already a Chicago.bst available in LyX. If you
insert a bibtex bibliography just select the Chicago style, then under
Document->Settings->Bibliography select Natbib and Author-Year style.
I don't know about Chicago footnote styling.

There is also this page http://wiki.lyx.org/LyX/HumanitiesLyX that is
specifically written for humanities type work. Maybe something will
help there also.

Cheers,
Bob


Re: Natbib numerical citations with links in PDF

2007-10-11 Thread Bob Lounsbury
On 10/11/07, Christian Liesen <[EMAIL PROTECTED]> wrote:
> Hi,
>
> does anyone know how to make citations appear as clickable links in the
> pdf output?
>
> I'm using the Natbib numerical style with pdflatex and want something like
>
> ... the moon is made of cheese [1] ...
>
> to appear in the body text with the citation [1] being clickable and
> refering to the bibliography entry, say,
>
> [1] Brie 1989: My visit to the moon. Camembert Press.
>
>
> I tried to find something about this in in the Wiki and this list's
> archives, but to no avail.
>
> Many thanks,
> -- Christian


The hyperref package is a popular way. Look up the documentation on ctan.

Bob


Re: Instead of "A" "B" .. in Appendix "Appendix A" "Appendix B"

2010-01-26 Thread Bob Lounsbury
On Tue, Jan 26, 2010 at 3:07 AM, Rainer M Krug  wrote:

>
>
> On Tue, Jan 26, 2010 at 12:22 AM, Steve Litt wrote:
>
>> On Monday 25 January 2010 16:53:30 Rainer M Krug wrote:
>> > On Mon, Jan 25, 2010 at 11:12 PM, Steve Litt
>> wrote:
>> > > On Monday 25 January 2010 15:24:26 Rainer M Krug wrote:
>> > > > Hi
>> > > >
>> > > > I would like to have, instead of the standard numbering in the
>> Appendix
>> > > > ("A", "B", ...) a numbering like
>> > > >
>> > > > Appendix A: HERE COMES MY TITLE
>> > > > Appendix A: HERE COMES MY SECOND TITLE
>> > > > .
>> > > > .
>> > > > .
>> > > >
>> > > > How can I achieve this?
>> > > >
>> > > > Thanks,
>> > > >
>> > > > Rainer
>> > >
>> > > Hi Rainer,
>> > >
>> > > I'm not exactly sure what you're asking for, but I can tell you how
>> > > things work in my book "Rapid Learning for the 21st Century", which is
>> > > based on the
>> > > Book document class. That book has an Appendix called "Example: SSH".
>> > >
>> > >
>> > > On the Appendix's chapter page, it looks like this:
>> > >
>> > > Appendix A
>> > > Example: SSH
>> >
>> > Yes - in front of the consecutive numbering (A, B, C,... ) for the
>> >  different sections in the appendix, I want to have the word "Appendix "
>> as
>> >  you describe it.
>> >
>> > I am not worried about the Table of Contents, as I don't have one.
>> >
>> > Rainer
>> >
>> > > In the table of contents, it looks like this:
>> > >
>> > > A Example: SSH
>> > >
>> > > Is this what you're already getting, what you'd like to get, or
>> neither?
>> > >
>> > > Thanks
>> > >
>> > > SteveT
>> > >
>> > > Steve Litt
>> > > Recession Relief Package
>> > > http://www.recession-relief.US
>> > > Twitter: http://www.twitter.com/stevelitt
>> >
>>
>> Rainer,
>>
>> What document class are you using?
>>
>
> OK - I am back.
>
> I am using article (Springer svjour3/global), but it is the same with th
> normal article class.
>
>
>>
>> Do me a favor. Using the Book document class, make a brand new document
>> with
>> one chapter and one appendix, and see if it comes out the way I described,
>> and
>> let us know what happened.
>>
>
> That is similar to what I want - only that I want it to be in one line.
> instead of (see attached example) which results in
>
> 1 This happens rst
> 2 And this next
> A Some additional info
> B Some more additional info
>
> i would like to have:
>
> 1 This happens rst
> 2 And this next
> Appendix A Some additional info
> Appendix B Some more additional info
>
> And I can not use a different document class.
>
> Cheers,
>
> Rainer
>
>
>> Thanks
>>
>> SteveT
>>
>> Steve Litt
>> Recession Relief Package
>> http://www.recession-relief.US
>> Twitter: http://www.twitter.com/stevelitt
>>
>>
>
>
> --
> NEW GERMAN FAX NUMBER!!!
>
> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
> UCT), Dipl. Phys. (Germany)
>
> Centre of Excellence for Invasion Biology
> Natural Sciences Building
> Office Suite 2039
> Stellenbosch University
> Main Campus, Merriman Avenue
> Stellenbosch
> South Africa
>
> Cell:   +27 - (0)83 9479 042
> Fax:+27 - (0)86 516 2782
> Fax:+49 - (0)321 2125 2244
> email:  rai...@krugs.de
>
> Skype:  RMkrug
> Google: r.m.k...@gmail.com
>
>
See your modified example.lyx (attached). Added the Appendix package to
Document->Settings->LaTeX Preamble and added the necessary code to surround
the appendix in the document.

Cheers,
/Bob


example.lyx
Description: Binary data


Re: repeating toc and other doubts

2008-12-23 Thread Bob Lounsbury
On Tue, Dec 23, 2008 at 10:09 AM, Sindhu  wrote:
> hi all!
>
> am a total newbie to lyx (although am halfway through reading the
> tutorial). am using Lyx 1.5.6 on an Ubuntu 8.10 laptop.
>
> Am a computer science student developing software for my final semester
> project work. Am currently documenting the SRS (software requirements
> specification).
>
> Here is a ink to the SRS (just the toc) >
> http://dl.getdropbox.com/u/394046/SRS_FINAL.pdf

Can't access the file. Server is timing out.

> doubt #1: can someone please tell me why the TOC is repeating? am using
> the article (koma+script) document class.

How did you create it in the first place? In LyX and hence LaTeX you
don't manually type in your TOC, it is automatically generated for
you. In LyX this is done with 'Insert->List / TOC->Table of Contents'.

> doubt #2: the tutorial talks about so many keyboard shortcuts
>
> a). can someone please link me to a concise list of keyboard shortcuts
> in lyx?

http://wiki.lyx.org/LyX/KeyboardShortcuts

> doubt #3: the tutorial also talks about lyx code, how am to type the lyx
> code every time? I mean I know there is a insert tex code button in the
> toolbar but do I have to hit it every time I have to type the tex code?
> (if that's the only way, then i think that would slow down the
> productivity don't ya think?) if not, please tell me a short cut key
> binding or something that would let me insert tex code instantaneously
> as am typing. ( i hate having to use the mouse all the time).

Ctrl->L

> doubt #3: once am done typing the TOC , then? how do i start typing the
> actual material of the sections? (like ...don't I have to insert
> "something" so that it references the same in the TOC? I don't quite
> know how to put it better :/)

As stated earlier you don't manually type the TOC. You should read
more documentation on LyX and specifically on working with LaTeX.

You would first insert the TOC using the Insert toolbar described
above and then insert sections and subsections using the toolbar
shortcuts or keyboard combination's, but at this point you really need
to spend some time reading more documentation as these are very very
basic questions about LyX functionality.

> -Sindhu S
> P.S: if there is any other detail i have missed, please let me know.

Cheers,
/Bob


Re: Ligation in report(komascript)-class

2009-01-03 Thread Bob Lounsbury
On Sat, Jan 3, 2009 at 12:52 PM, jezZiFeR  wrote:
> Hello list,
>
> is it possible to get a ligation for »Oeuvre« in report-class? I do get a
> ligation for »fl« automatically. Is there a simple solution or should I have
> to enter ERT? How?
>
> Cheers*
> Jess

Don't know about a simple or automatic solution, but you can
Insert->Formatting->Ligature Break or Ctrl+Shift+L wherever needed.

Cheers,
/Bob


Re: printing table of contents

2009-01-09 Thread Bob Lounsbury
On Fri, Jan 9, 2009 at 9:38 AM, John White  wrote:
> I'm using lyx 1.6.1 (article) on a linux slackware system (vector 5.9).
> I cannot figure out how to put the table of contents in the document before
> printing it.  TOC works fine for getting around the document (as does
> navigate).  But when I try to insert it into the document for final
> printing, I do not get the table of contents.  All I get is the word
> "Contents."  No other data.
>
> Any suggestions are appreciated.
>
> John

Have you inserted sections or subsections or subsubsections into your
document? These are generally all that are included in the toc, unless
you've changed the default behavior in Document->Settings->Numbering &
TOC.

/Bob


Re: printing table of contents

2009-01-09 Thread Bob Lounsbury
On Fri, Jan 9, 2009 at 10:14 AM, John White <j...@lawquest.com> wrote:
>
>
> Bob Lounsbury wrote:
>>
>> On Fri, Jan 9, 2009 at 9:38 AM, John White <j...@lawquest.com> wrote:
>>
>>>
>>> I'm using lyx 1.6.1 (article) on a linux slackware system (vector 5.9).
>>> I cannot figure out how to put the table of contents in the document
>>> before
>>> printing it.  TOC works fine for getting around the document (as does
>>> navigate).  But when I try to insert it into the document for final
>>> printing, I do not get the table of contents.  All I get is the word
>>> "Contents."  No other data.
>>>
>>> Any suggestions are appreciated.
>>>
>>> John
>>>
>>
>> Have you inserted sections or subsections or subsubsections into your
>> document?
>
> Yes, I have inserted Section*, Subsection*, and Subsubsection*.
>>
>> These are generally all that are included in the toc, unless
>> you've changed the default behavior in Document->Settings->Numbering &
>> TOC.
>>
>
> Document->Settings->-Numbering & TOC shows "Yes" for "Appears in TOC."  I
> have changed nothing
>
> John

Starred stuff does not appear in the TOC. A LaTeX default. To add
starred stuff to the toc you would have to insert in ERT just after
the section in the text:

\addcontentsline{toc}{section}{Section name}
\addcontentsline{toc}{subsection}{Subsection name}
\addcontentsline{toc}{subsubsection}{Subsubsection name}

/Bob


Re: Hi, some doubt

2009-01-12 Thread Bob Lounsbury
On Mon, Jan 12, 2009 at 8:48 AM, Adrian Diaz  wrote:
> Sr. Lyx
> I have been using Lyx to write my thesis. I have set up the format of the
> page with a class document: "book" and a style of page "fancy". It is
> interesting to me to know how i can manage the properties of the size and
> type of font of the headers. I mean to set up
> some properties of book class, especially headers an numbers.
>
> How can i know if in my computer has installed the "fancyhdr"  package?
> How can i install the "fancyhdr"  package ?
> How can i manage the "fancyhdr"  package ?
>
>   Best Adrián
>

The fancyhdr package is a default on most TeX distributions. If you
selected a page style of fancy and didn't receive any error messages
when viewing the pdf or dvi, you have the the fancyhdr package
installed. You can learn about the package and how to use it from its
documentation:

http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=fancyhdr

Cheers,
/Bob


Re: Hi, some doubt

2009-01-12 Thread Bob Lounsbury
>> On Mon, Jan 12, 2009 at 8:48 AM, Adrian Diaz <aedmci...@gmail.com> wrote:
>> > Sr. Lyx
>> > I have been using Lyx to write my thesis. I have set up the format of
>> > the
>> > page with a class document: "book" and a style of page "fancy". It is
>> > interesting to me to know how i can manage the properties of the size
>> > and
>> > type of font of the headers. I mean to set up
>> > some properties of book class, especially headers an numbers.
>> >
>> > How can i know if in my computer has installed the "fancyhdr"  package?
>> > How can i install the "fancyhdr"  package ?
>> > How can i manage the "fancyhdr"  package ?
>> >
>> >   Best Adrián
>> >
>> >
>> 2009/1/12 Bob Lounsbury <boblounsb...@gmail.com>
>>
>> The fancyhdr package is a default on most TeX distributions. If you
>> selected a page style of fancy and didn't receive any error messages
>> when viewing the pdf or dvi, you have the the fancyhdr package
>> installed. You can learn about the package and how to use it from its
>> documentation:
>>
>> http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=fancyhdr
>>
>> Cheers,
>> /Bob
>
>On Mon, Jan 12, 2009 at 11:46 AM, Adrian Diaz <aedmci...@gmail.com> wrote:
>
> Bob
>
> Thanks for your advice, but i do not understand how i can change the type
> and size of font.
> Cos, when i have changed the size in documents->parameters this change the
> size fonts of body and the size of the headers.
> I would like to change only the fonts and size of headers and footers
>
>Saludos adrián
>

Changes are put into Document->Settings->LaTeX Preamble:

\cfoot{}\lhead{}\rhead{\thepage}
\renewcommand\headrulewidth{0pt}

Page 14 talks about it a little bit from the fancyhdr package docs.
So, if you wanted to change the right header font and size to \Huge
you would put:

\newcommand{\helv}{\fontfamily{phv}\fontseries{b}\selectfont}
\rhead{\Huge\helv \thepage}

Or you could change it to your own font name, it's just a name and arbitrary.

\newcommand{\myfont}{\fontfamily{phv}\fontseries{b}\selectfont}
\rhead{\Huge\myfont \thepage}

A little googling to find what options are available for \fontfamily
yielded the fonts in the attached fonts.txt. I'm sure there are others
if you wanted to search. From my testing the fourth letter doesn't
work. So, the options would just be 'pag, pbk, pcr, phv, pnc, ppl,
ptm'.

Obviously, if you don't want it to be bold then remove \fontseries{b},
and you can set what size you want the text to be by following (at the
bottom of the page):

http://texnik.dante.de/cgi-bin/mainFAQ.cgi?file=fonts/fonts#table

based on your default font size.

Hope that helps get you started.

Cheers,
/Bob
‘pagk’ ‘AvantGarde-Book’
‘pagko’ ‘AvantGarde-BookOblique’
‘pagd’ ‘AvantGarde-Demi’
‘pagdo’ ‘AvantGarde-DemiOblique’
‘pbkd’ ‘Bookman-Demi’
‘pbkdi’ ‘Bookman-DemiItalic’
‘pbkl’ ‘Bookman-Light’
‘pbkli’ ‘Bookman-LightItalic’
‘pcrb’ ‘Courier-Bold’
‘pcrbo’ ‘Courier-BoldOblique’
‘pcrr’ ‘Courier’
‘pcrro’ ‘Courier-Oblique’
‘phvb’ ‘Helvetica-Bold’
‘phvbo’ ‘Helvetica-BoldOblique’
‘phvbrn’ ‘Helvetica-NarrowBold’
‘phvbon’ ‘Helvetica-NarrowBoldOblique’
‘phvr’ ‘Helvetica’
‘phvro’ ‘Helvetica-Oblique’
‘phvrrn’ ‘Helvetica-Narrow’
‘phvron’ ‘Helvetica-NarrowOblique’
‘pncb’ ‘NewCenturySchlbk-Bold’
‘pncbi’ ‘NewCenturySchlbk-BoldItalic’
‘pncri’ ‘NewCenturySchlbk-Italic’
‘pncr’ ‘NewCenturySchlbk-Roman’
‘pplb’ ‘Palatino-Bold’
‘pplbi’ ‘Palatino-BoldItalic’
Appendix A: Font name lists 28
‘pplri’ ‘Palatino-Italic’
‘pplr’ ‘Palatino-Roman’
‘psyr’ ‘Symbol’
‘ptmb’ ‘Times-Bold’
‘ptmbi’ ‘Times-BoldItalic’
‘ptmri’ ‘Times-Italic’
‘ptmr’ ‘Times-Roman’
‘pzcmi’ ‘ZapfChancery-MediumItalic’
‘pzdr’ ‘ZapfDingbats’

Re: Numbering appendices

2009-01-15 Thread Bob Lounsbury
On Thu, Jan 15, 2009 at 12:47 PM, Ehud Kaplan  wrote:
> How do I number appendices?  Lyx numbers them as SECTIONS, and numbers
> APPENDIX 1 as Section N+!, where N is the number of the last section (before
> the appendices start).
> I would like to be able to refer to the appendices by their numbers in the
> body of the article (as in: "In Appendix 3 we give...")
>
> Thanks
> EK
>

I'm a little confused. To start the appendix you Document->Start
Appendix Here and then insert a section which will be numbered 'A
Section' not '3 Section'.

/Bob


Re: printing table of contents

2009-01-20 Thread Bob Lounsbury
On Tue, Jan 20, 2009 at 3:35 AM, John White  wrote:
> I'm using lyx 1.6.1 (article) on a linux slackware system (vector 5.9).  You
> helped me with the table of contents.  Now I have another problem, this time
> with indexes.  When I print out the document, indexed, the index only goes
> about half-way across the page.  The right half of the page is blank. This
> means the page number is below the index text.  I need the page number to be
> at the right of the page when the index is printed.  Any ideas on how to get
> the index text when printed to spread across the full page will be most
> appreciated.
>
> Thank you.
>
> John

Probably would have been better to start a new thread. I haven't
messed with indices much, and I'm not quite understanding what the
problem is. Maybe you could post a screen shot or a small lyx example
file showing the incorrect behavior and describe the expected
behavior.

/Bob


Re: Figure Numbering Error

2009-02-24 Thread Bob Lounsbury
On Tue, Feb 24, 2009 at 3:24 PM, Makhoma  wrote:
>
>  I don't think this has been answered before, but I am running into an 'error
> undefined' problem when trying to export to pdf. I have placed the
> \counterwithin{figure}{section} to the preamble and selected the AMS package
> as I should, I was able to get \numberwithin{equation}{section} to work that
> way. When I have it in the preamble it gives me the error, when I take it
> out it exports normally, but all my figures are numbered sequentially
> throughout.
>
>  Perhaps I am missing a file, and if so: what file is it and where do I put
> it so this works?
>
>  If this is needed, I am running Ubuntu 8.04 and am using Lyx version 1.5.3
> --
> View this message in context: 
> http://n2.nabble.com/Figure-Numbering-Error-tp2380764p2380764.html
> Sent from the LyX - Users mailing list archive at Nabble.com.
>
>

Isn't it:
\numberwithin{figure}{section}
not:
\counterwithin{figure}{section}

Cheers,
/Bob


Re: Question on \setkomafont{}{}

2009-04-18 Thread Bob Lounsbury
On Sat, Apr 18, 2009 at 1:34 PM, Rich Shepard wrote:

>  From the KOMA-script doc I see that I can use the
> \setkomafont{element}{command} directive to change the typeface for
> specific
> document elements.
>
>  Rather than the san-serif font for the title and section heads, I prefer
> to use the default body text typeface of Palatino-Roman. I added to the
> preamble:
>
> \setkomafont{title}{}
> \setkomafont{section}{}
>
>  This works for the title, but not the section names because those are
> defined as \section* so they are unnumbered. Trying:
>
> \setkomafont{section*}{}
>
> caused a TeX error.
>
>  How can I specify the desired typeface for the unnumbered sections?
>
> Rich
>
> --
> Richard B. Shepard, Ph.D.   |  IntegrityCredibility
> Applied Ecosystem Services, Inc.|Innovation
>  Voice: 503-667-4517  Fax:
> 503-667-8863
>


Don't have access to LyX at the moment. Does

\setkomafont{sectioning}{}

work for unnumbered sections? Probably not, but I thought I'd ask.

/Bob


Re: Lyx and Ubuntu Hardy

2009-09-19 Thread Bob Lounsbury
On Thu, Sep 17, 2009 at 8:20 PM, Myriam Abramson wrote:

>
> > Any reason you're on Hardy?
> I won't have to reinstall till 2011!
>
> > LyX 1.6.3-1 is available for Jaunty
> > at http://www.getdeb.net/search.php?keywords=lyx.  (For Hardy, that
> > site only has 1.6.0rc3; for Intrepid it has 1.6.2.)
>
> Thanks for the site. I've downloaded the version for Hardy. So, now I
> have 1.6.0 but I still have a problem with pdflatex for the graphics I
> have in my document.
>
> >
> > /Paul
>
>
> --
>myriam
>


I've always just grabbed the latest LyX source and:

# apt-get build-dep lyx
# ./configure && make && make install

Then 30-45 minutes later I'm running the latest LyX version. You can also
run the configure command so that it doesn't over write the default
installed LyX version.

Cheers,
/Bob


mwcls documentation help

2006-08-23 Thread Bob Lounsbury
Hi,
This is my first post to this list. I'm trying to write a thesis and
dread the thought of using Microsoft Word, this is where an internet
search found LyX. I've been experimenting with it a have come to really
appreciate the power of the program. I found a document class called
'book (mwbk)' that is almost an exact match for  the formatting
requirements  of my University. I'm trying to find documentation for
this document class but I can only find documentation in polish. Does
anyone have English documentation? 

Second, if there is no English documentation. Does anyone have help for
modifying the page numbers and the vertical spacing of chapters? I've
tried the fancyhdr package but there is never headings printed on the
first pages including toc, lof, and lot and the subsequent body
numbering is inconsistent. This is where some documentation would he
helpful.

Thanks in advance for any help.

Bob


Re: mwcls documentation help

2006-08-25 Thread Bob Lounsbury
Hello,

It's not that I really have a preference as to the document class, but I
am being constrained by the regulations of a Thesis layout from the
University and I'm trying to use the document class that requires the
least amount of modification. Currently I am using the memoir class but
have still encountered a couple of formatting issues that I haven't been
able to figure out even with the 300+ page documentation for it.

I've also been experimenting with book (koma-script),
report(koma-script), and a couple of others. However, it seems that each
class has some formatting issue that I have to try and resolve and it is
becoming extremely tedious to try and read the documentation for each
class and try to modify them to my needs.

For the most part, the formatting has come down to the toc. I need
dotted leaders for all entries including chapters, toc, lof, lot, bib,
appendix, and chapter* sections or chapter sections that are not
numbered by using the \frontmatter command. Also the Appendix format in
the toc needs to be Appendix A. title . . . . . . \thepage. This is
where the mwcls has given me almost all of these formatting requirements
except the page number needs to be in the right header on every page in
the document and the toc needs to be included in the toc. Without
documentation I haven't been able to figure out how to get the page
number there. I just need to know how to change the chapter page style
to get the page number displayed in the right header using the default
myheadings pagestyle like you can in the memoir and koma-script classes.
Also, the tocbibind package doesn't seem to be compatible with this
document class to include the toc in the toc.

I have had a lot of success with the memoir class. This is actually my
preferred document class right now for my thesis. Using the
\chaptersyle{article} has given me almost everything I need. All that is
left is to have dotted leaders for chapters in the toc and to figure out
how to change the Appendix style. I need the appendix style to be
Appendix A 'title' . . . \thepage in the toc and Appendix A 'title' on
the appendix page. I've been through most of the memoir documentation
and there seems to be some way of changing the Appendix name by
\appendixname but it hasn't worked for me. I am still pretty new to all
of this so I may be missing some important step.

Any help or additional information would be greatly appreciated.

Thanks,
Bob Lounsbury

On Fri, 2006-08-25 at 12:00 +0200, Jean-Marc Lasgouttes wrote:

> >>>>> "Bob" == Bob Lounsbury <[EMAIL PROTECTED]> writes:
> 
> Bob> Hi, This is my first post to this list. I'm trying to write a
> Bob> thesis and dread the thought of using Microsoft Word, this is
> Bob> where an internet search found LyX. I've been experimenting with
> Bob> it a have come to really appreciate the power of the program. I
> Bob> found a document class called 'book (mwbk)' that is almost an
> Bob> exact match for the formatting requirements of my University. I'm
> Bob> trying to find documentation for this document class but I can
> Bob> only find documentation in polish. Does anyone have English
> Bob> documentation?
> 
> What is it that you like in mwbook? It is indeed designed for Polish
> texts. 
> 
> JMarc


toc-dotted leaders

2006-08-28 Thread Bob Lounsbury
Hello,

Does anyone know how to get dotted leaders on chapter entries in the
toc?  I'm using the memoir class and have been through the documentation
but it seems to me that the latex commands are not working in LyX.

Thanks,
Bob


chapter spacing

2006-08-29 Thread Bob Lounsbury




Hello,

Does anyone know how to modify the chapter vertical space above and
below a chapter title for the koma-script book class? I've looked
through the pdf, but I don't see any options. 

Also, is there a way to make the lists look better? I need my document
to be double spaced and that makes the lists look bad even if I try to
define each item as single spaced. See attached screen printout of the
list issues and my need for the chapter title to not have any vertical
space above it.

Thanks,
Bob


<>


Re: chapter spacing

2006-08-30 Thread Bob Lounsbury
Thanks for the help, that worked nicely for the chapter vertical space.
Now how to I modify the vertical space for the other sections? I tried
these commands with no success.

\renewcommand*{\othersectionlevelsendvskip}{\vspace*{0pt}}
\renewcommand*{\othersectionlevelsheadendvskip}{\vspace*{0pt}}

Thanks again,
Bob




On Wed, 2006-08-30 at 10:05 +0200, Juergen Spitzmueller wrote:

> Bob Lounsbury wrote:
> > Does anyone know how to modify the chapter vertical space above and
> > below a chapter title for the koma-script book class? I've looked
> > through the pdf, but I don't see any options.
> 
> \renewcommand*{\chapterheadstartvskip}{\vspace*{<+/- some value>}} 
> \renewcommand*{\chapterheadendvskip}{\vspace*{<+/- some value>}} 
> 
> > Also, is there a way to make the lists look better? I need my document
> > to be double spaced and that makes the lists look bad even if I try to
> > define each item as single spaced. See attached screen printout of the
> > list issues and my need for the chapter title to not have any vertical
> > space above it.
> 
> http://wiki.lyx.org/FAQ/Unsorted#toc20
> 
> Jürgen


Re: How to make the TOC appear in the TOC

2006-09-06 Thread Bob Lounsbury
On Wed, 2006-09-06 at 15:00 +0200, Lorenzo Paulatto wrote:

> Dear LyX users,
> I have a small problem I wasn't able to solve myself: I have a docume
> ("book" class) structured in the following way:
> + sec*: Abstract
> + Table of Contents
> + cha: Chapter 1
> + ...
> + cha*: Appendix
> + ...
> 
> Using some \addcontentsline{toc}{section}{...}} I was able to include in
> the TOC even the un-numbered chapters and sections, but I found no way
> to include the TOC it itself.
> 
> If I add a \addcontentline just *before* the \tableofcontents it is
> indexed in the previous page, and of course if I put it just *after* the
> \tableofcontents it is indexed in the last page of the TROc wich is
> three pages long.
> 
> 
> This problem won't bother me much if the abstract was *after* the TOC,
> but with the current layout it feels like a hole in the TOC and I'll
> really like to fix it.
> 
> I have passed through several latex manuals, but I wasn't able to find a
> solution; do you have any hint?
> 
> Bye and thanks
> 
> 


Lorenzo,

Put in your latex preamble, under Document>Settings>Latex Preamble:

\usepackage{tocbibind}

This will include the toc, lof, and lot into your toc.

Bob Lounsbury


Re: [Re: adding hollywood TeX class]

2006-09-07 Thread Bob Lounsbury
On Thu, 2006-09-07 at 15:31 -0400, Matej Cepl wrote:
> [EMAIL PROTECTED] wrote:
> > /usr/share/lyx/tex/hollywood.cls
> > /usr/share/lyx/bind/hollywood.bind
> > /usr/share/lyx/layouts/hollywood.layout
> > /usr/share/lyx/templates/hollywood.lyx
> 
> Sorry, you need also (before running texhash) make this symlink:
> 
> mkdir /usr/share/texmf-var/tex/latex/hollywood/
> ln -sf /usr/share/lyx/tex/hollywood.cls 
> /usr/share/texmf-var/tex/latex/hollywood/
> 
> Then run texhash.
> 
> Matěj
> 

I did something similar but in a more low-end user way. 

1. I logged in as root
2. Copied the contents of /usr/share/lyx/tex
to /usr/share/texmf/tex/latex/base
3. Opened LyX and ran Tools>Reconfigure

Voila, all of the .cls document files were available in LyX.

Bob Lounsbury



Re: How to make the TOC appear in the TOC

2006-09-08 Thread Bob Lounsbury
On Fri, 2006-09-08 at 13:34 +0200, Helge Hafting wrote:
> Lorenzo Paulatto wrote:
> > Dear LyX users,
> > I have a small problem I wasn't able to solve myself: I have a docume
> > ("book" class) structured in the following way:
> > + sec*: Abstract
> > + Table of Contents
> > + cha: Chapter 1
> > + ...
> > + cha*: Appendix
> > + ...
> >
> > Using some \addcontentsline{toc}{section}{...}} I was able to include in
> > the TOC even the un-numbered chapters and sections, but I found no way
> > to include the TOC it itself.
> >   
> A TOC entry in the TOC is usually considered unnecessary for the
> following reasons:
> 
> 1. The only purpose of the TOC is to look up where stuff is.
> You don't need to look up the TOC in the TOC: When
> you're looking at the TOC, then you already found it!
> This is also the reason the TOC always is in the beginning
> of the document, a standard location is needed because
> there is nowhere to look it up. (And a "TOC entry" won't
> help because you still need to find the TOC before you can read it.)

I think this is a little inconsiderate and close-minded to tell everyone
that your way is the right way and that there is no need for inclusive
of the TOC in the TOC.

For example, I will be trying to write my master's thesis in LyX and due
to the formatting requirements of the University the TOC must be listed
in the TOC.

A simple way of including the TOC is the tocbibind package.

Just my 2cents.

Bob Lounsbury

> 2. An unnecessary entry in the TOC is best avoided, for it
> will occationally make the TOC one page longer. This is the
> reason the index tend to get omitted from the TOC, everybody
> knows it is at the end anyway, so no need for an entry that
> might cause an extra page.
> > This problem won't bother me much if the abstract was *after* the TOC,
> > but with the current layout it feels like a hole in the TOC and I'll
> > really like to fix it.
> >   
> If you are really sure - go ahead.  But typographers will
> shake their heads. . .
> 
> Helge Hafting



Re: MacOS X: GUI quirks

2006-09-18 Thread Bob Lounsbury


On Sep 18, 2006, at 6:20 PM, Maria Gouskova wrote:


On Sep 18, 2006, at 7:55 PM, Wolfgang Keller wrote:


Hello,

it seems that the 1.4.2 version of LyX for MacOS X (10.4.7, PPC)  
has certain

GUI problems:

- LyX -> About does nothing
- LyX -> Preferences displays the About LyX dialog
- LyX -> Quit LyX displays the Preferences dialog
- File -> Quit LyX shouldn't be there, but fortunately it is  
there, because

then you couldn't quit LyX >;->
- and closing the last open document window shouldn't quit the  
application


i have LyX 1.4.2 on Mac OS X, 10.4.7, PPC, and everything works  
fine. Have you tried deleting the preferences file from ~Library/ 
App Support/LyX-1.4 and reinstalling?


maria


I also have LyX 1.4.2 on Mac OS X 10.4.7 PPC and everything is  
working perfectly for me.


Bob



MSWord(html) or OpenOffice.Org

2006-09-22 Thread Bob Lounsbury

Hi,

What do you have to do to export in these formats. Neither work for  
me on 1.4.3 with XP.


Thanks,
Bob Lounsbury


Re: MSWord(html) or OpenOffice.Org

2006-09-25 Thread Bob Lounsbury


On Sep 24, 2006, at 9:15 PM, Russell Davie wrote:


On Fri, 22 Sep 2006 13:50:59 -0600
Bob Lounsbury <[EMAIL PROTECTED]> wrote:



On Sep 22, 2006, at 1:14 PM, TechTonics wrote:


Bob Lounsbury wrote:

Hi,
What do you have to do to export in these formats. Neither work
for me on 1.4.3 with XP.
Thanks,
Bob Lounsbury


I don't think they work. Export the file as .tex from LyX.
Then from the command line "htlatex foo.tex" = foo.html
which can be directly imported into Word, = foo.doc
htlatex is part of the TeX4ht package:


When I do: "htlatex foo.tex=foo.html" it returns: "Please type
another input file name" so I type "foo.tex" and everything seems to
work except that I get a bunch of different foo files like "foo.log,
foo.aux, foo.idv", but no foo.html file anywhere. The TeX4ht package
was already installed by MikTeX.

What I'm really trying to do is get a good output from LyX into Word
(Since my advisors want a Word document to read for my thesis) with
pictures and most formatting complete. Any suggestions would be
greatly appreciated. Thanks.




Hi
I have the same issue with my supervisor.
I have spent last two weekends and most of today looking for a way  
to do this and am at my wits end on how to do this smoothly.


Can anybody suggest a clean, efficient and reliable way to do this?

There are problems in graphics, tables, cross-references and  
bibliography. All of which make LyX a joy and conversion to .doc a  
pain.  I found that all had problems with this, ie: oolatex,  
htlatex, ConvTex, thh, hevea and the internal LyX html tools.


So far the most acceptable and least pain free was to use oolatex,  
but the .doc still needs to be edited in OOo as doc as cross  
references were incorrect and bibliography was left out.


why oolatex?
1) makes only one file whereas html conversion can make several   
(latex2html can make only 1 file);
2) made a .sxw which can be edited by OOo which can be later saved  
to doc

and why this one is the choice:
3) the only tool that embeds the graphics within the file whereas  
html can only link to outside files.


oolatex is a script from the tex4ht family which includes htlatex.

How I did this: (for Linux)
1) edit LyX file: to remove all "paragraph" ie change to "standard"
2) make graphics as eps or jpeg
3) if eps: correct image sizing though images are a bit blurry,  
slow response from OOo
4) if jpeg: very small image sizing, clear images and snappy  
reponse from OOo

5) set formatting of all graphic floats to "justify"
6) save LyX file in tmp directory eg ../tmp as this will make lots  
of temporary files

7) export LyX file: file -> export -> LaTeX(pdflatex)
8) open xterm and go to ../tmp as made above
9) run latex and bibtex on .tex: eg latex foo.tex; bibtex foo.tex;  
latex foo.tex; latex foo.tex

10) run oolatex on .tex: eg /usr/share/tex4ht/oolatex foo.tex
11) run OOo and open .sxw: ie goto to ../tmp and open foo.sxw
12) check formatting and graphic sizing
13) save as .doc
14) close file, keep OOo running
15) open .doc and check formatting, graphics and referencing
16) may have to open .sxw to copy references to .doc
17) save .doc
18) open again in OOo for final check to see if graphics and  
references are present

19) final QA check with MSwordview2003 (via wine)
20) it works! celebrate!

I took notes on the pros and cons of the other tools and can post  
them on request.


HTH

Russell



That is a lot of work. I'm not even sure that I would be able to  
figure out how to do all that.


What has worked best for me is to do as you said in step 5 and ensure  
that all the standard environments are on default settings and do an  
export to rtf from within LyX. Opening the rtf in Word there are a  
few formatting concerns, but it is easy enough to correct them  
quickly and send the file out to my advisor.


Thanks for the response, I may try that when I have time to go  
through the instruction carefully.


Bob



Re: MSWord(html) or OpenOffice.Org

2006-09-25 Thread Bob Lounsbury


On Sep 25, 2006, at 12:18 PM, Neal Becker wrote:


Bob Lounsbury wrote:

[...]

What has worked best for me is to do as you said in step 5 and ensure
that all the standard environments are on default settings and do an
export to rtf from within LyX. Opening the rtf in Word there are a
few formatting concerns, but it is easy enough to correct them
quickly and send the file out to my advisor.


No export to rtf in my LyX(1.4.3).  What am I missing?



If I remember correctly I had to specifically install 'latex2rtf'  
from within Fink then do a Tools>Reconfigure in LyX to enable this  
option.


-Bob


Re: lyx-143-2.exe for windows doesn´t work.

2006-09-25 Thread Bob Lounsbury


On Sep 25, 2006, at 12:56 PM, Mukhtar Ullah wrote:


Carlos <[EMAIL PROTECTED]> writes:



The error is the same as in the previous 143-1 version.

Trying to execute it from a dos window, the answer is "the program  
cannot be

executed."

Somebody else has the same problem?

Carlos.



Carlos,
Can you tell the specs of your computer? I want to know if it has  
anything to do
with processor. As I mentioned in one of my posts, it works on my  
PC (AMD

XP2600+) but not on my laptop(Pentium III-M).

Mukhtar


I don't know if this will help anyone with 1.4.3 problems on XP, but  
it is working for me and this was my process:


1) I uninstalled all programs used by LyX and uninstalled LyX 1.4.2
2) Restarted
3) Ran LyX 1.4.3 bundle installer (ignored the MikTex error)
4) At the end of install there is an option to start LyX and I  
clicked for LyX to be started

5) Did a Tools > Reconfigure in LyX
6) Restarted
7) Ran LyX and did a Tools > Reconfigure

After that everything was working properly. This was on an Intel  
Pentium D 3GHz computer.


--Bob Lounsbury


<    5   6   7   8   9   10