Re: Font size

2006-06-15 Thread Ingo Klöcker
Am Donnerstag, 15. Juni 2006 01:49 schrieb Larry:
> On Wed, Jun 14, 2006 at 10:10:56AM +0200, Ingo Kl?cker wrote:
> > You can increase the font size in several steps. Look at
> > Format->Character.
>
> ??
> I looked all over Lyx and can't find this.

Well, I've translated it from my German LyX back to English, but it's 
actually Layout->Character. Under size you have several options.

If you want to have direct control over the font and don't want to write 
your own class/style file then you could use something like the 
following (to be inserted as ERT, i.e. TeX code) which I've used to 
print some text in really huge letters on a poster:

\fontsize{42mm}{50mm}
\usefont{T1}{pag}{b}{n}

This sets the font size to 42 mm with 50 mm line spacing. The second 
line changes the font. The general format is \usefont{}
{}{}{}.

If you only want to change the size then the following might work:

\fontsize{42mm}{50mm}
\selectfont

Of course, you should make sure that a scalable font is use, e.g. a 
PostScript font. Otherwise you might not get the expected result.

FWIW, this information comes from The LaTeX Companion. IMO this book in 
combination with some introduction to LaTeX is necessary to be able to 
make best use of LyX. At least, I consult it quite often. I guess most 
information can also be found on the net. So YMMV.

Regards
Ingo

-- 
Ingo Klöcker
Lehrstuhl A für Mathematik
RWTH Aachen
52056 Aachen



pgpd2N4chhKEz.pgp
Description: PGP signature


Re: Subtitles

2006-06-15 Thread Jose' Matos
On Wednesday 14 June 2006 20:25, Steve Litt wrote:
> > [EMAIL PROTECTED]

I don't know what I am talking about (you have been warned) but should not 
this be

\renewcommand{\maketitle}{%
?

  After all \maketitle is already defined.

-- 
José Abílio


Re: LaTex - Image Credit

2006-06-15 Thread Juergen Spitzmueller
Anne van Rossum wrote:
> Dear List members,
>
> Almost finished with my thesis, there remains one tiny, simple question:
> How to add image credit to the list of figures?

Did you try the optional argument in the caption (Inserts->Short Title)?

Jürgen

> Thanks in advance,
>
> Andy


Re: EPS and Lyx

2006-06-15 Thread Holger Blasum
Dear Jordi,

On 06-13, Jordi Tritlla i Cambra wrote:
>   While working with the 1.4.0pre2 mac 
> versions, I cold manage to introduce EPS figures 
> into the text. It worked perfectly, and I was 
> able to see the images in the screen without 
> problems. Now, I changed to 1.4.1 and catch up 
> the same document (a report) in order to continue 
> with it. I produced a couple of PDF documents 
> using DVI and pdflatex. It worked beautifully. 
> But, going back to the document I got in every 
> figure a message about an error in converting the 
> figure into a loadable form, while in the last 
> version I could see the EPS documents without 
> problems. Any suggestion 
> if anyone can figure how to see again the figures 
> in the text... Of course, I can change the format 
> to JPEG or whatever, but the number of figures is 
> really huge (>150).

Just speaking as a user (I'm no expert on lyx), things to 
try (if the problem still persists): 
(1) does it work if you (as a test) first convert one 
figure to jpg? (does that figure than show up?) 
(2) in a thread on this list started by Bruce Pourciau 
7 June 2006 it was turned out that having special
characters such as the apostrophe (') in file names 
might present difficulties in 1.4.* after upgrade from 
1.3.*
(3) at last, it might be helpful to post the exact wording of 
the "message about an error" that you mentioned

As a last resort, if you really would need to convert all 150 
figures something like "for j in *.jpg; do convert $j $j.jpg; done" 
should do the job if you have the convert tool (ImageMagick
package) and a bash-compatible shell on MacOS.

Cheers,

-- 
Holger Blasum +49-174-7313590 (gsm) GnuPG 1024D/ACDFC3B769DC1ED66B47


signature.asc
Description: Digital signature


Re: Subtitles

2006-06-15 Thread Steve Litt
On Thursday 15 June 2006 06:06 am, Jose' Matos wrote:
> On Wednesday 14 June 2006 20:25, Steve Litt wrote:
> > > [EMAIL PROTECTED]
>
> I don't know what I am talking about (you have been warned) but should not
> this be
>
> \renewcommand{\maketitle}{%
> ?
>
>   After all \maketitle is already defined.

Hi Jose,

The \def\myvar{mycode} syntax is pure TeX, whereas the \renewcommand{\myvar}
{mycode} syntax is LaTeX.  My reading indicates that if you CAN use LaTeX, 
you SHOULD use LaTeX, but sometimes it's very easy to use the TeX syntax.

So yes, theoretically I should use \renewcommand.

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm


Bibliography/citation formatting issues

2006-06-15 Thread Jeremy Wells
In 2003, I evaluated several solutions for an academic word processing environment--e.g., word processor and a 
bibliography manager. I seriously considered Lyx, but ended up using MS Word and Endnote.


I have now come full circle and am again looking at Lyx in combination with JabRef. In my assessment, the biggest 
weakness of Lyx and Latex is problems with supporting different bibliography and citation styles. In my field (historic 
preservation), which is quite multidisciplinary, I may be called on to conform to hundreds of different 
bibliography/citation styles for which there is no relevant bibtex style file.


Moreover, most of my field's journals require formatting in the Chicago A/Turabian-like style with citations as endnotes 
or footnotes. To properly adhere to this style, there is a need for shortened forms of subsequent citations and/or the 
use of "ibid" for repeated citations, none of which are supported by any Bibtex style file. Bibliography managers like 
EndNote do support this complexity.


Right now, I am aware of only three options:

1. Write the paper using a bibliography/citation format different from what a particular journal requires, convert the 
latex file to RTF/Open Office/Word and then manually reformat the citations.

2. Manually enter the citations into Lyx.
3. Learn how to write Bibtex style files.

In reality, I don't like any of these.

Solutions?

-Jeremy


Re: Subtitles

2006-06-15 Thread Richard Heck

There's a difference here between \maketitle and [EMAIL PROTECTED], at least
if you're modifying one of the existing classes. The former is defined
using \newcommand, but the latter is defined using \def. It'd be nice if
someone could explain why.

Richard

Steve Litt wrote:
> On Thursday 15 June 2006 06:06 am, Jose' Matos wrote:
>   
>> On Wednesday 14 June 2006 20:25, Steve Litt wrote:
>> 
 [EMAIL PROTECTED]
 
>> I don't know what I am talking about (you have been warned) but should not
>> this be
>>
>> \renewcommand{\maketitle}{%
>> ?
>>
>>   After all \maketitle is already defined.
>> 
>
> Hi Jose,
>
> The \def\myvar{mycode} syntax is pure TeX, whereas the \renewcommand{\myvar}
> {mycode} syntax is LaTeX.  My reading indicates that if you CAN use LaTeX, 
> you SHOULD use LaTeX, but sometimes it's very easy to use the TeX syntax.
>
> So yes, theoretically I should use \renewcommand.
>
> Thanks
>
> SteveT
>
> Steve Litt
> Author: 
>* Universal Troubleshooting Process courseware
>* Troubleshooting Techniques of the Successful Technologist
>* Manager's Guide to Technical Troubleshooting
>* Twenty Eight Tales of Troubleshooting
>* Rapid Learning: Secret Weapon of the Successful Technologist
>
> http://www.troubleshooters.com/bookstore
> http://www.troubleshooters.com/utp/tcourses.htm
>   



bug?: section numbering in note-insets

2006-06-15 Thread Sven Schreiber
Hi all,
when I shove an entire subsection into a note inset, the numbering of
the other non-note subsections remains as if nothing was "commented
out", i.e. numbers on screen do not match the printed output.

I realize that this behavior might also be considered a feature, but I'm
inclined to classify it as a bug instead. But I found no matching bugs
in bugzilla, although I vaguely remember reading some discussion of that
somewhere. So should I open a new bug? (oh btw this is with lyx 1.4.1 on
windows)

On a related note, isn't part 3.3.9.3 in the User's Guide concerning the
comment paragraph environment obsolete now with Lyx 1.4?

Cheers,
Sven


Re: Bibliography/citation formatting issues

2006-06-15 Thread K. Elo
Hi,

2006-06-15 08:19 -0400, Jeremy Wells:
> Moreover, most of my field's journals require formatting in the Chicago 
> A/Turabian-like style with citations as endnotes 
> or footnotes. To properly adhere to this style, there is a need for shortened 
> forms of subsequent citations and/or the 
> use of "ibid" for repeated citations, none of which are supported by any 
> Bibtex style file. Bibliography managers like 
> EndNote do support this complexity.

This is a topic only partially related to BibTex and, BTW, not wholly
correct. Maybe You should take a look on chapter 12 in "The Latex
companion (2nd ed.)", where You can find several possible solutions.

>From my point of view, the core problem is that both Lyx and Latex are
used by a minority of all document producers. Thus, the perspectives for
making money by developing packages and styles is not very promising
(even if the users were ready to pay for such solutions). The
consequence is that users encountering problems, limits etc. must find
proper solutions by themselves. This, in turn, requires not only
knowledge above the level of an "average" Word user, but also time.

Kind regards,
Kimmo




Re: Bibliography/citation formatting issues

2006-06-15 Thread Juergen Spitzmueller
Jeremy Wells wrote:
> To properly adhere to this style, there is a need for shortened forms of
> subsequent citations and/or the use of "ibid" for repeated citations, none
> of which are supported by any Bibtex style file.

Not true. Jurabib supports all of this (www.jurabib.org).

Jürgen


Re: Bibliography/citation formatting issues

2006-06-15 Thread Rich Shepard

On Thu, 15 Jun 2006, Jeremy Wells wrote:


I have now come full circle and am again looking at Lyx in combination with
JabRef. In my assessment, the biggest weakness of Lyx and Latex is problems
with supporting different bibliography and citation styles. In my field
(historic preservation), which is quite multidisciplinary, I may be called
on to conform to hundreds of different bibliography/citation styles for
which there is no relevant bibtex style file.


Jeremy,

  I suppose that "quite multidisciplinary" is different from my subject
areas; they're only "slightly multidisciplinary." :-)


Solutions?


  Yes: RefDB . Markus is incredibly
responsive to requests for enhancements, the system supports many different
journal styles, and users come from a wide spectrum of subject specialties. A
fellow at a Canadian university's English Department heads their digital
antiquities project (or something like that) and uses RefDB. He asked for a
more automated install script, and a bunch of us are testing it on different
distributions and finding those things that work in FreeBSD but not linux.
The application can also read the formats of various on-line databases, too.

  RefDB works with PostgreSQL (8.1.x), Sqlite, Sqlite3, and MySQL. It can be
set up on a server separate from the clients, and users can share a single
database (with read access to entries not their own) or multiple databases.
It exports to BibTeX and RIS (perhaps other formats), and imports from those
as well as the on-line formats.

  Take a look. It's a great tool with a dedicated creator.

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)|Accelerator
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Bibliography/citation formatting issues

2006-06-15 Thread Jeremy Wells
To reiterate, my main issue is with bibliography/citation formatting. I looked 
briefly at RefDB and rejected it because the documentation specifically said:

"refdb performs only a very limited amount of formatting for those items which 
are not well supported in BibTeX. [...] All other formatting is left to the 
LaTeX/BibTeX system." (http://refdb.sourceforge.net/manual/x193.html#AEN210)

Has this changed? If not, I don't think RefDB will solve the problem.

-Jeremy


> - Original Message -
> From: "Rich Shepard" <[EMAIL PROTECTED]>
> To: "Jeremy Wells" <[EMAIL PROTECTED]>
> Subject: Re: Bibliography/citation formatting issues
> Date: Thu, 15 Jun 2006 06:35:00 -0700 (PDT)
> 
> 
> On Thu, 15 Jun 2006, Jeremy Wells wrote:
> 
> > I have now come full circle and am again looking at Lyx in combination with
> > JabRef. In my assessment, the biggest weakness of Lyx and Latex is problems
> > with supporting different bibliography and citation styles. In my field
> > (historic preservation), which is quite multidisciplinary, I may be called
> > on to conform to hundreds of different bibliography/citation styles for
> > which there is no relevant bibtex style file.
> 
> Jeremy,
> 
>I suppose that "quite multidisciplinary" is different from my subject
> areas; they're only "slightly multidisciplinary." :-)
> 
> > Solutions?
> 
>Yes: RefDB . Markus is incredibly
> responsive to requests for enhancements, the system supports many different
> journal styles, and users come from a wide spectrum of subject specialties. A
> fellow at a Canadian university's English Department heads their digital
> antiquities project (or something like that) and uses RefDB. He asked for a
> more automated install script, and a bunch of us are testing it on different
> distributions and finding those things that work in FreeBSD but not linux.
> The application can also read the formats of various on-line databases, too.
> 
>RefDB works with PostgreSQL (8.1.x), Sqlite, Sqlite3, and MySQL. It can be
> set up on a server separate from the clients, and users can share a single
> database (with read access to entries not their own) or multiple databases.
> It exports to BibTeX and RIS (perhaps other formats), and imports from those
> as well as the on-line formats.
> 
>Take a look. It's a great tool with a dedicated creator.
> 
> Rich
> 
> -- Richard B. Shepard, Ph.D.   |The Environmental Permitting
> Applied Ecosystem Services, Inc.(TM)|Accelerator
>  Voice: 503-667-4517  Fax: 503-667-8863

>



Re: Bibliography/citation formatting issues

2006-06-15 Thread Rich Shepard

On Thu, 15 Jun 2006, Jeremy Wells wrote:


To reiterate, my main issue is with bibliography/citation formatting. I
looked briefly at RefDB and rejected it because the documentation
specifically said:



Has this changed? If not, I don't think RefDB will solve the problem.


Jeremy,

  No, it hasn't. NatBib or JuraBib may have the flexibility you need. And,
this resource may be helpful to you:
 

Good luck!

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)|Accelerator
 Voice: 503-667-4517  Fax: 503-667-8863


LyX/Mac and Bibdesk

2006-06-15 Thread Bruce Pourciau
I have always just typed my references directly into LyX, using the  
bibliography environment, but now a journal tells me they don't have  
the expertise to alter the plain [1], [2] citation style to their  
house style, which is


Smith, B. (1980) The article name. The journal name, volume, page range.
(Smith, 1980, p. 14)

in the reference list and in the text, respectively. So I guess this  
is going to force me into using BibDesk (which came in my MacTeX  
installation) together with LyX. I've been looking through the mail  
archives and the web, but have not found just a simple step-by-step  
set of instructions for using BibDesk with LyX.


Any help for this bibliographic novice would be much appreciated.

Bruce


Re: LyX/Mac and Bibdesk

2006-06-15 Thread Bonhôte André

Hi!

On 15.06.2006, at 17:21, Bruce Pourciau wrote:

in the reference list and in the text, respectively. So I guess  
this is going to force me into using BibDesk (which came in my  
MacTeX installation) together with LyX. I've been looking through  
the mail archives and the web, but have not found just a simple  
step-by-step set of instructions for using BibDesk with LyX.


Maybe this helps:

http://www.threewordslong.com/projects/misc/bibdesktolyx

Cheers

A.
André Bonhôte
Systems Engineer
COLT Telecom AG
Mürtschenstrasse 27
CH-8048 Zürich
Switzerland
Tel: +41 (0)58 560 15 01  Internal OneDial: 8-411-0501
Fax: +41 (0)58 560 2501
Email: [EMAIL PROTECTED]
www.colt.net

Data | Voice | Managed Services





Re: LyX/Mac and Bibdesk

2006-06-15 Thread Rich Shepard

On Thu, 15 Jun 2006, Bruce Pourciau wrote:

I have always just typed my references directly into LyX, using the 
bibliography environment, but now a journal tells me they don't have the 
expertise to alter the plain [1], [2] citation style to their house style, 
which is


Smith, B. (1980) The article name. The journal name, volume, page range.
(Smith, 1980, p. 14)


Bruce,

  This style is one of those supported by natbib. Take a look at the URL I
posted earlier today to Reed College for more information. Chapter 13 (pages
757-811) in TLC2 discusses bibliography generation. Chapter 12 (pages
227-239) in Guide to LaTeX, 2nd Ed. (Kopka and Daly) discusses Bibliographic
Databases and BibTeX. There are also .pdf files that Google can find for you.

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)|Accelerator
 Voice: 503-667-4517  Fax: 503-667-8863


Re: LyX/Mac and Bibdesk

2006-06-15 Thread Bruce Pourciau
Thanks, André. But I'd prefer not to use a script. I'm looking for  
the simplest way to get my references from the current plain form  
into the


Smith, B. (1980) The article name. The journal name, volume, page range.
(Smith, 1980, p.14)

styles, using LyX alone, or with Bibdesk, or with whatever.

Bruce



On Jun 15, 2006, at 10:25 AM, Bonhôte André wrote:


Hi!

On 15.06.2006, at 17:21, Bruce Pourciau wrote:

in the reference list and in the text, respectively. So I guess  
this is going to force me into using BibDesk (which came in my  
MacTeX installation) together with LyX. I've been looking through  
the mail archives and the web, but have not found just a simple  
step-by-step set of instructions for using BibDesk with LyX.


Maybe this helps:

http://www.threewordslong.com/projects/misc/bibdesktolyx

Cheers

A.
André Bonhôte
Systems Engineer
COLT Telecom AG
Mürtschenstrasse 27
CH-8048 Zürich
Switzerland
Tel: +41 (0)58 560 15 01  Internal OneDial: 8-411-0501
Fax: +41 (0)58 560 2501
Email: [EMAIL PROTECTED]
www.colt.net

Data | Voice | Managed Services







Re: LyX/Mac and Bibdesk

2006-06-15 Thread Rich Shepard

On Thu, 15 Jun 2006, Bruce Pourciau wrote:

Thanks, André. But I'd prefer not to use a script. I'm looking for the 
simplest way to get my references from the current plain form into the


Smith, B. (1980) The article name. The journal name, volume, page range.
(Smith, 1980, p.14)

styles, using LyX alone, or with Bibdesk, or with whatever.


Bruce,

  The references are in the text, and not in a separate .bib file? Allow me
to suggest that you separate them. The time and effort you spend will be
repaid many times since you can extract the data from the .bib file in many
different formats.

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)|Accelerator
 Voice: 503-667-4517  Fax: 503-667-8863

Re: LyX/Mac and Bibdesk

2006-06-15 Thread Bennett Helm

On Jun 15, 2006, at 11:34 AM, Bruce Pourciau wrote:

Thanks, André. But I'd prefer not to use a script. I'm looking for  
the simplest way to get my references from the current plain form  
into the


Smith, B. (1980) The article name. The journal name, volume, page  
range.

(Smith, 1980, p.14)

styles, using LyX alone, or with Bibdesk, or with whatever.


The script provided there is intended to make it possible to select  
items in your BibDesk database and have bibliographical citations for  
these shoved into your LyX document. That's useful, but I take in not  
what you have in mind.


Rather, I take it you want to somehow convert the contents of the LyX  
Bibliography environment to BibDesk, without retyping. I don't think  
that's possible: BibDesk is a GUI frontend to BibTeX, which works by  
identifying logical parts of a bibliographical citation so that  
natbib/jurabib can automatically format or reformat these citations  
for you in many different styles. For this to work, you need to enter  
"Smith, B" into the author field, "1980" into the year field, "The  
article name" into the title field, etc. (Moreover, you have to  
specify that this is an article being cited rather than a book or  
anything else.) That requires a degree of intelligence you're not  
likely to find in a converter.


On the bright side, once you've entered something into BibDesk,  
you'll never have to retype it again. From within LyX, you simply  
select the file containing the bibliographical database(s) you've  
constructed with BibDesk. (The database is not tied to a single LyX  
document, but can be reused as many times as you wish.) Then any time  
you want to cite something, it's as simple as Insert > Citation; LyX  
pulls up the list of all citations found in those databases. (Or, you  
can select particular citations in BibDesk, and run the above  
mentioned script to have them appear magically in LyX.)


Bennett

Re: LyX/Mac and Bibdesk

2006-06-15 Thread Bruce Pourciau
  The references are in the text, and not in a separate .bib file?  
Allow me
to suggest that you separate them. The time and effort you spend  
will be
repaid many times since you can extract the data from the .bib file  
in many

different formats.

Rich



Thanks, Rich. Yes, the references are in the text. I'm certainly  
willing to create a separate bib file, to save time in the future.


Bruce








On Jun 15, 2006, at 11:00 AM, Rich Shepard wrote:


On Thu, 15 Jun 2006, Bruce Pourciau wrote:

Thanks, André. But I'd prefer not to use a script. I'm looking for  
the simplest way to get my references from the current plain form  
into the


Smith, B. (1980) The article name. The journal name, volume, page  
range.

(Smith, 1980, p.14)

styles, using LyX alone, or with Bibdesk, or with whatever.


Bruce,

  The references are in the text, and not in a separate .bib file?  
Allow me
to suggest that you separate them. The time and effort you spend  
will be
repaid many times since you can extract the data from the .bib file  
in many

different formats.

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental  
Permitting

Applied Ecosystem Services, Inc.(TM)|Accelerator
 Voice: 503-667-4517  Fax:  
503-667-8863




Re: LyX/Mac and Bibdesk

2006-06-15 Thread Bruce Pourciau
On the bright side, once you've entered something into BibDesk,  
you'll never have to retype it again. From within LyX, you simply  
select the file containing the bibliographical database(s) you've  
constructed with BibDesk. (The database is not tied to a single LyX  
document, but can be reused as many times as you wish.) Then any  
time you want to cite something, it's as simple as Insert >  
Citation; LyX pulls up the list of all citations found in those  
databases.


Thank you, Bennett. So in BibDesk I could create a master bib file  
that lists all the references I might use in papers I might write?  
How though does the list of references (a subset of the master list)  
get created for a specific paper? From the citations I insert into  
the text? And does the master bib file have to be in a certain location?


Bruce










On Jun 15, 2006, at 11:05 AM, Bennett Helm wrote:


On Jun 15, 2006, at 11:34 AM, Bruce Pourciau wrote:

Thanks, André. But I'd prefer not to use a script. I'm looking for  
the simplest way to get my references from the current plain form  
into the


Smith, B. (1980) The article name. The journal name, volume, page  
range.

(Smith, 1980, p.14)

styles, using LyX alone, or with Bibdesk, or with whatever.


The script provided there is intended to make it possible to select  
items in your BibDesk database and have bibliographical citations  
for these shoved into your LyX document. That's useful, but I take  
in not what you have in mind.


Rather, I take it you want to somehow convert the contents of the  
LyX Bibliography environment to BibDesk, without retyping. I don't  
think that's possible: BibDesk is a GUI frontend to BibTeX, which  
works by identifying logical parts of a bibliographical citation so  
that natbib/jurabib can automatically format or reformat these  
citations for you in many different styles. For this to work, you  
need to enter "Smith, B" into the author field, "1980" into the  
year field, "The article name" into the title field, etc.  
(Moreover, you have to specify that this is an article being cited  
rather than a book or anything else.) That requires a degree of  
intelligence you're not likely to find in a converter.


On the bright side, once you've entered something into BibDesk,  
you'll never have to retype it again. From within LyX, you simply  
select the file containing the bibliographical database(s) you've  
constructed with BibDesk. (The database is not tied to a single LyX  
document, but can be reused as many times as you wish.) Then any  
time you want to cite something, it's as simple as Insert >  
Citation; LyX pulls up the list of all citations found in those  
databases. (Or, you can select particular citations in BibDesk, and  
run the above mentioned script to have them appear magically in LyX.)


Bennett




Re: LyX/Mac and Bibdesk

2006-06-15 Thread Rich Shepard

On Thu, 15 Jun 2006, Bruce Pourciau wrote:


So in BibDesk I could create a master bib file that lists all the
references I might use in papers I might write? How though does the list of
references (a subset of the master list) get created for a specific paper?
From the citations I insert into the text? And does the master bib file
have to be in a certain location?


Bruce,

  It's easy to get confused by the layers here. There are three components
involved: a bibliographic database, a .bib file with the references for a
particular document, and a .bst bibliographic style file.

  According to its web site, "BibDesk is a graphical BibTeX-bibliography
manager for Mac OS X. BibDesk is designed to help organize and use
bibliographic databases in BibTeX .bib format. In addition to manual typing,
BibDesk lets you drag & drop or cut & paste .bib files into the bibliographic
database and automatically opens files downloaded from PubMed. BibDesk also
keeps track of electronic copies of literature on your computer and allows
for searching your database through several keys." Other such databases (for
x86 and x64) include RefDB, pybiblio, and a bunch of others. That's the first
component.

  You select the files you want and save the references in BibTeX format in a
.bib file you name as you wish. That's the second component.

  Then you select the formatting tool: natbib, jurabib, etc. Each of these
allows you to choose the citation style, reference style, and bibliography
format (that is, alphabetical order, numeric order, or order of citation in
the text).

  The system is a la carte, not a complete dinner in one package.

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)|Accelerator
 Voice: 503-667-4517  Fax: 503-667-8863


Re: LyX/Mac and Bibdesk

2006-06-15 Thread Bruce Pourciau

Thanks, Rich. I really appreciate the help.

Bruce

On Jun 15, 2006, at 11:31 AM, Rich Shepard wrote:


On Thu, 15 Jun 2006, Bruce Pourciau wrote:


So in BibDesk I could create a master bib file that lists all the
references I might use in papers I might write? How though does  
the list of
references (a subset of the master list) get created for a  
specific paper?
From the citations I insert into the text? And does the master bib  
file

have to be in a certain location?


Bruce,

  It's easy to get confused by the layers here. There are three  
components
involved: a bibliographic database, a .bib file with the references  
for a

particular document, and a .bst bibliographic style file.

  According to its web site, "BibDesk is a graphical BibTeX- 
bibliography

manager for Mac OS X. BibDesk is designed to help organize and use
bibliographic databases in BibTeX .bib format. In addition to  
manual typing,
BibDesk lets you drag & drop or cut & paste .bib files into the  
bibliographic
database and automatically opens files downloaded from PubMed.  
BibDesk also
keeps track of electronic copies of literature on your computer and  
allows
for searching your database through several keys." Other such  
databases (for
x86 and x64) include RefDB, pybiblio, and a bunch of others. That's  
the first

component.

  You select the files you want and save the references in BibTeX  
format in a

.bib file you name as you wish. That's the second component.

  Then you select the formatting tool: natbib, jurabib, etc. Each  
of these
allows you to choose the citation style, reference style, and  
bibliography
format (that is, alphabetical order, numeric order, or order of  
citation in

the text).

  The system is a la carte, not a complete dinner in one package.

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental  
Permitting

Applied Ecosystem Services, Inc.(TM)|Accelerator
 Voice: 503-667-4517  Fax:  
503-667-8863




Re: Introduction and Conclusions

2006-06-15 Thread Julio Rojas

Thx... Worked perfectly!!!

On 6/14/06, Rich Shepard <[EMAIL PROTECTED]> wrote:


On Wed, 14 Jun 2006, Julio Rojas wrote:

> Hi, I'm using the "Chapter*" paragraph style for the Introduction and
> Conclusions of my work. I would like to add them to the TOC, but they
don't
> appear. How can I do that???

Julio,

   \addcontentsline{toc}{chapter}{Introduction} and
   \addcontentsline{toc}{chapter}{Conclusions}

   Put each in an ERT box at the beginning of the first line in each
chapter.

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)|Accelerator
 Voice: 503-667-4517  Fax:
503-667-8863





--
-
Julio Rojas
[EMAIL PROTECTED]


Re: Bibliography/citation formatting issues

2006-06-15 Thread Charles de Miramon
Juergen Spitzmueller wrote:

> Jeremy Wells wrote:
>> To properly adhere to this style, there is a need for shortened forms of
>> subsequent citations and/or the use of "ibid" for repeated citations,
>> none of which are supported by any Bibtex style file.
> 
> Not true. Jurabib supports all of this (www.jurabib.org).
> 
> Jürgen

Turabian and Jurabib : -->
http://angasm.org/2006/01/turabian-chicago-and-latex.html

Jurabib has also a not very well documented features for citing archival
sources.

Cheers,
Charles
-- 
http://www.kde-france.org



Turning a LyX environment into a LaTeX command

2006-06-15 Thread Steve Litt
Hi all,

After Richard Heck talked about LatexType=Command in the LyX Title environment 
thread, I started experimenting and got it to work. I have a LyX and LaTeX 
breakout environment (breakout is the name of the environment) which prints 
in a shaded box, with a label. However, the label isn't hard coded, but 
instead is contained in a variable called breakoutstring.

I had previously been setting breakoutstring with ERT before the section of 
breakout environment, but I don't like ERT. So, taking Richard Heck's advice, 
I made a BreakoutTitle LyX environment whose LatexType is command, and whose 
LatexName is setBreakoutstring. setBreakoutstring is simply a LaTeX (actually 
TeX) command to set the variable breakoutstring:

\def\setBreakoutstring#1{\def\breakoutstring{#1}}

I tried first to do it with \newcommand, but couldn't get it to compile. If 
anyone can show me how, please do.

Anyway, the following is the code for BreakoutTitle:

# Breakout title style definition
Style BreakoutTitle
  MarginStatic
  LatexType Command
  InTitle   1
  LatexName setBreakoutstring
  ParSkip   0.4
  ItemSep   0
  TopSep1
  BottomSep 0.0
  ParSep1
  Align Center
  AlignPossible Center
  LabelType No_Label

  # standard font definition
  Font 
SizeLarge
  EndFont

Preamble
\def\setBreakoutstring#1{\def\breakoutstring{#1}}
EndPreamble

End



And in case anyone wants to see it, here's the code for Breakout:


# ### Labeled shadowed box for Breakouts ###
Style Breakout
  LatexType Environment
  LatexName breakout_l
  
  AlignPossible Left
  LeftMargin"M"
  RightMargin   "M"
  ParSkip   0.7
  ParSep0.7
  TopSep0.7
  BottomSep 0.7

  Font
  EndFont
  Preamble
\newenvironment{breakout_l}{\begin{shadowbox}{\breakoutstring}}
{\end{shadowbox}}%
  EndPreamble
End


In the preceding, shadowbox is just a home grown LaTeX environment to put the 
text in shading, and bring its borders in.

Obviously, now that I've done this, doing subtitles with an environment 
instead of ERT is pretty easy. Hope some of you can use this.

Richard -- thanks for the tip. I've been trying to do this since 2001.

Thanks

SteveT


Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm


How to make home grown layouts much easier

2006-06-15 Thread Steve Litt
Hi all,

I have a suggestion to make it much easier for a LyX user to develop home 
grown layouts.

For me, 95% of the development time in making a layout is debugging. What 
balloons debugging time by a factor of 10 is the need to Edit->Reconfigure 
and then quit and restart LyX every time you make a change to the layout 
file. It's horrid.

If someone could either change LyX so it rereads the layout file on the fly, 
or develops a workaround or kludge so I could just run a command that does 
all that stuff and allows me to continue in my current LyX session, it would 
make layout creation a ton easier, and would kill a main source of resistance 
to LyX -- inability to easily make your own layout files.

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Manager's Guide to Technical Troubleshooting
   * Twenty Eight Tales of Troubleshooting
   * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm


Re: Turning a LyX environment into a LaTeX command

2006-06-15 Thread Paul A. Rubin

Steve Litt wrote:

Hi all,

After Richard Heck talked about LatexType=Command in the LyX Title environment 
thread, I started experimenting and got it to work. I have a LyX and LaTeX 
breakout environment (breakout is the name of the environment) which prints 
in a shaded box, with a label. However, the label isn't hard coded, but 
instead is contained in a variable called breakoutstring.


I had previously been setting breakoutstring with ERT before the section of 
breakout environment, but I don't like ERT. So, taking Richard Heck's advice, 
I made a BreakoutTitle LyX environment whose LatexType is command, and whose 
LatexName is setBreakoutstring. setBreakoutstring is simply a LaTeX (actually 
TeX) command to set the variable breakoutstring:


\def\setBreakoutstring#1{\def\breakoutstring{#1}}

I tried first to do it with \newcommand, but couldn't get it to compile. If 
anyone can show me how, please do.


Anyway, the following is the code for BreakoutTitle:

# Breakout title style definition
Style BreakoutTitle
  MarginStatic
  LatexType Command
  InTitle   1
  LatexName setBreakoutstring
  ParSkip   0.4
  ItemSep   0
  TopSep1
  BottomSep 0.0
  ParSep1
  Align Center
  AlignPossible Center
  LabelType No_Label

  # standard font definition
  Font 
Size		Large

  EndFont

Preamble
\def\setBreakoutstring#1{\def\breakoutstring{#1}}
EndPreamble

End



And in case anyone wants to see it, here's the code for Breakout:


# ### Labeled shadowed box for Breakouts ###
Style Breakout
  LatexType Environment
  LatexName breakout_l
  
  AlignPossible Left

  LeftMargin"M"
  RightMargin   "M"
  ParSkip   0.7
  ParSep0.7
  TopSep0.7
  BottomSep 0.7

  Font
  EndFont
  Preamble
\newenvironment{breakout_l}{\begin{shadowbox}{\breakoutstring}}
{\end{shadowbox}}%
  EndPreamble
End


In the preceding, shadowbox is just a home grown LaTeX environment to put the 
text in shading, and bring its borders in.


Obviously, now that I've done this, doing subtitles with an environment 
instead of ERT is pretty easy. Hope some of you can use this.


Richard -- thanks for the tip. I've been trying to do this since 2001.

Thanks

SteveT



Steve,

Thanks for sharing this.  I'll beat Christian to the punch :-) and 
suggest putting on the wiki as a tip.


/Paul



Math functions

2006-06-15 Thread José Marco de la Rosa


   Hi everybody, I just write because I can't make it to write functions which
are not in the math function panel to my equations. I try with \function_name
within the math mode but it fails to generate the dvi ¿anyone can help me?


  Thanks!

--
Mensaje enviado usando el servicio WebMail de la Universidad de Huelva



Re: Math functions

2006-06-15 Thread Jose' Matos
On Thursday 15 June 2006 18:31, José Marco de la Rosa wrote:
>    Hi everybody, I just write because I can't make it to write functions
> which are not in the math function panel to my equations. I try with
> \function_name within the math mode but it fails to generate the dvi
> ¿anyone can help me?

  As far as I understand what you want is \mathrm{ this will create a box for 
roman text (normal text) inside math.

  With my binding  Alt+m m works as well (it does the same), notice that Alt 
is only pressed for the first m. The right binding is Meta+m m (but in my 
keyboard and most out there Meta is assigned to Alt).

-- 
José Abílio


Re: Turning a LyX environment into a LaTeX command

2006-06-15 Thread christian . ridderstrom

On Thu, 15 Jun 2006, Paul A. Rubin wrote:

Thanks for sharing this.  I'll beat Christian to the punch :-) and 
suggest putting on the wiki as a tip.


Oh, you're quick :-)

Anyway, do you want to know what the most difficult thing with a wiki is?

Choosing where to put, or what to call a new page...

Anyway, I'd suggest putting this either in the group Layouts, perhaps

http://wiki.lyx.org/Layouts/EnvironmentBreakout

or in the group Examples/

http://wiki.lyx.org/Examples/EnvironmentBreakout

Hmm.. maybe Layouts/ make more sense? I assume that the way someone would 
use this would be to place Steves' code in a file and then include it?


/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: How to make home grown layouts much easier

2006-06-15 Thread christian . ridderstrom

On Thu, 15 Jun 2006, Steve Litt wrote:

Hi Steve

I forwarded your mail to the developers. (apologies if it's a duplicate)

/C


Hi all,

I have a suggestion to make it much easier for a LyX user to develop home
grown layouts.

For me, 95% of the development time in making a layout is debugging. What
balloons debugging time by a factor of 10 is the need to Edit->Reconfigure
and then quit and restart LyX every time you make a change to the layout
file. It's horrid.

If someone could either change LyX so it rereads the layout file on the fly,
or develops a workaround or kludge so I could just run a command that does
all that stuff and allows me to continue in my current LyX session, it would
make layout creation a ton easier, and would kill a main source of resistance
to LyX -- inability to easily make your own layout files.

SteveT

Steve Litt
Author:
  * Universal Troubleshooting Process courseware
  * Troubleshooting Techniques of the Successful Technologist
  * Manager's Guide to Technical Troubleshooting
  * Twenty Eight Tales of Troubleshooting
  * Rapid Learning: Secret Weapon of the Successful Technologist

http://www.troubleshooters.com/bookstore
http://www.troubleshooters.com/utp/tcourses.htm




--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: Turning a LyX environment into a LaTeX command

2006-06-15 Thread christian . ridderstrom

On Thu, 15 Jun 2006, Paul A. Rubin wrote:

Thanks for sharing this.  I'll beat Christian to the punch :-) and 
suggest putting on the wiki as a tip.


PS. Steve, let me know if you need or would like help.

/C

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: Layout copyright; was: Re: Sharing layout files

2006-06-15 Thread christian . ridderstrom

On Mon, 12 Jun 2006, David Neeley wrote:


Comments within

On 6/12/06, Steve Litt 
<[EMAIL PROTECTED]> wrote:


Why can't the original author label his or her contribution as "Licensed 
under the GNU General Public License, Version 2", or similar. Layout files 
are code, so the GPL fits them well. Speaking for myself, I'd be hesitant 
to contribute anything without GPL'ling it, because some licenses leave 
open the door for a big bad company to change my layout just a little bit 
and take it proprietary, and who knows, some day sue me for using code 
derived from their code, and then I have to prove that mine preceded 
theirs.




There is a considerable debate, as you probably know, about whether the 
GPL is a good idea for areas such as these in which a layout may be used 
to create commercial documents. That is why I would suggest something 
like the BSD approach that permits commercial use.




Finally, it is unlikely that layout files themselves would be an 
issue--since the objective is the documents created with that layout 
file and not the layout file itself. I really think that this discussion 
is largely the result of worry over what is very unlikely to happen to 
begin with--but a reasonable application of a license is certainly not a 
bad idea at all.


This is issue is apparently a bit complicated. However, I think it was a 
good idea to emphasize that wiki authors are free to license their work 
as they see fit, especially any files they upload. So, for the page


http://wiki.lyx.org/Site/Copyrights

What do you about adding a paragraph such as this:

Please note that contributors are free to license uploaded
material as they see fit. So if you wish to upload layout examples
under some specific license, please do so.

I'd be grateful for comments about this, and also about the text in 
general on http://wiki.lyx.org/Site/Copyrights - I'm not sure it's that 
thought through really (or legal for that matter...)


/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: Layout copyright; was: Re: Sharing layout files

2006-06-15 Thread christian . ridderstrom

On Mon, 12 Jun 2006, Steve Litt wrote:

Why can't the original author label his or her contribution as "Licensed 
under the GNU General Public License, Version 2", or similar.


This is fine by me. In fact, I think a lot of the uploaded files contain
copyright and license information.

Others might like the BSD license, or the Mozilla license, or whatever 
-- wouldn't it be their option rather than that of the Wiki?


I guess this is up to us. In theory, I guess we could require that only 
material released under a specific license is allowed to be uploaded to 
the wiki. Or contributed as text to wiki pages. Personally I don't have a 
strong opinon on this topic - probably because I haven't really considered 
it before.


I do however believe that the overall purpose of the wiki is to provide a 
forum for LyX users to help each other by sharing information in various 
forms.


/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: Turning a LyX environment into a LaTeX command

2006-06-15 Thread Rich Shepard

On Thu, 15 Jun 2006, [EMAIL PROTECTED] wrote:


PS. Steve, let me know if you need or would like help.


  There is a document available as a .pdf file that might be helpful. It's
called "LaTeX2e for class and package writers." The date is 12 March 1998.

  I no longer have the digital file because I printed it.

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)|Accelerator
 Voice: 503-667-4517  Fax: 503-667-8863


layout and template from LaTeX class.

2006-06-15 Thread Michael McNeil Forbes
Hi,

I have developed a LaTeX thesis class for UBC and have received questions
about how to use it with LyX.  As I know very little about LyX, I am not
sure how to proceed.

All of the LaTeX class files and templates can be found below:
http://alum.mit.edu/www/mforbes/projects/ubcthesis/

I am trying to make the ubcthesis.cls compliant with UBC standards, and so
have provided a sample file ubcsample.tex that contains many comments
about the ordering of content, formatting issues etc. as required by the
university.  These must be presented to users: I assume that this would be
done through a "template" for LyX users.

What is the best way to make this class available to LyX users?

The ubcthesis.cls is a modification of the standard book.cls.

I have tried making a simple ubcthesis.layout file:
-
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[ubcthesis]{University of British Columbia Theses}

# Read the definitions from book.layout
Input book.layout
-
It seems to work, but importing the ubcsample.tex renders most of the
comments in an extremely usless format.  Many of the comments are about
ways of doing things in LaTeX or required stuff, and the resulting file
seems almost useless for someone starting a thesis in LyX.  (I think
it would be easier for them to use LaTeX!)

Any suggestions on how to best make this class available to LyX users?

Thanks,
Michael.





conflict with good font for Acroread and Lyx-code quotes

2006-06-15 Thread Andrew Harrington

I am not managing to get two things I want with fonts:
I want English text + .png graphics to look decent in Acroread.  I get 
complete output using pdflatex, but as the Extended Features Guide 
5.3.6.2 mentions, the fonts look awful, so I followed the suggestion and 
put in my preamble

\usepackage{ae,aecompl}
Then I get a decent font in Acroread.

However, when I put a double quote character in Lyx-code, I get a black 
square as output for the quotes. (Single quotes are OK, though two 
single quotes together gives the same problem.)  I do not know how many 
other characters would give the same problem.


If I remove the preamble addition,
\usepackage{ae,aecompl}
The font in Acroread goes back to awful, but at least I do see all 
versions of quotes in Lyx-code.


I am running the binary for Lyx 1.3.7 on Windows XP.

There are other suggestions in the same section 5.3.6.2 on the Extended 
Features.  There is a reference to adding a ~/.dvipsrc.  I am not sure 
if that location is only for Linux.  I assume the the directory ~ for me 
in XP is

C:\Documents and Settings\Andrew Harrington
and I put .dvipsrc there, but adding it did not seem to make any difference.

Thanks,
Andy Harrington