Canadian legal citation

2006-08-27 Thread Eran Kaplinsky
I am looking for a bibliography style to conform to the Canadian guide 
to uniform legal citation ("McGill"):



http://library.queensu.ca/law/lederman/legalcit.htm#McGill

http://www.uoit.ca/assets/Section~specific/Current~students/Library/PDF/Library%20Guide%20for%20Legal%20Citation.pdf#search=%22canadian%20guide%20to%20legal%20citation%22


The most important (for me) is books and articles. For example:


Author Name, /Title in Italics /(Place: Publisher, 2007)

Author Name, "Title in Q marks" (2006) 93 J. Title 28


I don't suppose anyone created one, but how do I start?


Thanks,

Eran



Re: tabular*

2006-08-27 Thread Paul A. Rubin

Enrico Forestieri wrote:

I am afraid LyX does not support the tabular* environment. However
there is way to obtain what you are looking for. Please have a look
at the attached .lyx file


Thanks, Enrico!  This should do the job (relatively painlessly).

/Paul




Re: Footnotes

2006-08-27 Thread Juergen Fenn
"Miki Dovrat" <[EMAIL PROTECTED]> writes:

>> I would like the same footnote (affiliation) in two places (authors), but 
>> I don't know how to get lyx to do it.
>
> I will use \footnotetext and \footnotemark in ERT instead of lyx's 
> footnotes.

The savefnmark package could possibly help you: "Sometimes the same
footnote applies to more than one location in a table. With this
package the mark of a footnote can be saved into a name, and re-used
subsequently without creating another footnote at the bottom."

  http://texcatalogue.sarovar.org/entries/savefnmark.html
  ftp://cam.ctan.org/tex-archive/macros/latex/contrib/savefnmark

Jürgen.



Re: Designing a book with LyX (link)

2006-08-27 Thread christian . ridderstrom
On Thu, 24 Aug 2006, José Matos wrote:

> Hi all,
>   I found this link in Linux Weekly News:
> Designing a book with LyX - 
> http://software.newsforge.com/article.pl?sid=06/08/15/1859251
> 
>   It should be interesting to add to wiki. It is a good promotion of LyX's 
> abilities. :-)

I've simply added it as a link on this page:

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

As for promoting LyX on the wiki, that probably requires some other kind 
of page...

/Christian

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

Re: Colors

2006-08-27 Thread Paul Smith

On 8/27/06, Pupeno <[EMAIL PROTECTED]> wrote:

> You can use the package xcolor and define your own colors. You may
> want to use agave
>
> (http://home.gna.org/colorscheme/)
>
> to determine the RGB codes of the colors. Pay attention to the
> preamble of the attached example.

Just for the record, getting the xcolor package was a matter of emerging
dev-tex/xcolor on my Gentoo and then in the preamble I wrote:

\usepackage{xcolor}
\definecolor{green}{RGB}{0, 180, 0}
\definecolor{cyan}{RGB}{0, 180, 180}
\definecolor{yellow}{RGB}{211,211,0}

which was very nice because I could still work using LyX's nice way to sent a
font color (no ERT) and get the colors I wanted (which were just a bit darker
than the originals).

Do you think that I should write this on some wiki for others to have it ?


Yes, I think it is worthy to mention that procedure in LyX Wiki. As a
side comment, notice that you could have installed the package xcolor
directly from CTAN.

Paul


Re: Colors

2006-08-27 Thread Pupeno
On Sunday 27 August 2006 11:15, Paul Smith wrote:
> On 8/27/06, Pupeno <[EMAIL PROTECTED]> wrote:
> > Maybe they can be changed by some commands in the preamble ? (sorry, I
> > don't really know tex or latex).
> >
> > On Saturday 26 August 2006 22:57, Pupeno wrote:
> > > I am heavily using colors in some LyX documents. Is it possible to make
> > > them darker ? some are really light, like yellow and cyan.
>
> Pupeno,
>
> You can use the package xcolor and define your own colors. You may
> want to use agave
>
> (http://home.gna.org/colorscheme/)
>
> to determine the RGB codes of the colors. Pay attention to the
> preamble of the attached example.

Thank you.

Just for the record, getting the xcolor package was a matter of emerging 
dev-tex/xcolor on my Gentoo and then in the preamble I wrote:

\usepackage{xcolor}
\definecolor{green}{RGB}{0, 180, 0}
\definecolor{cyan}{RGB}{0, 180, 180}
\definecolor{yellow}{RGB}{211,211,0}

which was very nice because I could still work using LyX's nice way to sent a 
font color (no ERT) and get the colors I wanted (which were just a bit darker 
than the originals).

Do you think that I should write this on some wiki for others to have it ?

Thank you a lot, I love LyX and can't way to have Unicode support. Even my 
wife is using LyX to edit her book.
-- 
Pupeno <[EMAIL PROTECTED]> (http://pupeno.com)


pgpHAV1EN3PJ4.pgp
Description: PGP signature


Re: Bibtex or bibitem?

2006-08-27 Thread Bruce Pourciau


On Aug 27, 2006, at 8:27 AM, Miki Dovrat wrote:



That's what *.bbl file is about. Paste it into ERT to your  
document, and

you
are all set.


Great. I didn't know this file existed.

Thanks.





More specifically:

* Generate a pdf file with pdflatex; this creates a temporary bbl  
file in folder /tmp/


* To find path to bbl file in hidden /tmp/ folder, in LyX do Prefs >  
Paths and browse/drill down in temporary directory


* Open the LaTeX file you've exported from your LyX file, delete the  
two lines that concern the BibTeX generated bibliography, and paste  
in the bbl file


* Submit this revised tex file to the journal

Bruce


Re: Footnotes

2006-08-27 Thread Miki Dovrat

> Hi,
>
> I would like the same footnote (affiliation) in two places (authors), but 
> I don't know how to get lyx to do it.
>
> Does anyone have a solution?
>

I am replying to myself.

I will use \footnotetext and \footnotemark in ERT instead of lyx's 
footnotes.





Re: Bibtex or bibitem?

2006-08-27 Thread Miki Dovrat

> That's what *.bbl file is about. Paste it into ERT to your document, and 
> you
> are all set.

Great. I didn't know this file existed.

Thanks.





Re: Bibtex or bibitem?

2006-08-27 Thread Matej Cepl
Miki Dovrat wrote:
> Is there a way to "translate" entries from a bibtex file to a specific
> format and then reinclude them as items in the bibliography? Nice or dirty
> solutions are welcome.

That's what *.bbl file is about. Paste it into ERT to your document, and you
are all set.

Matej

-- 
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
http://www.ceplovi.cz/matej/blog/, Jabber: [EMAIL PROTECTED]
23 Marion St. #3, (617) 876-1259, ICQ 132822213
 
When you're happy that cut and paste actually works I think it's
a sign you've been using X-Windows for too long.
   -- from /. discussion on poor integration between KDE and
  GNOME




Re: Colors

2006-08-27 Thread Paul Smith

On 8/27/06, Pupeno <[EMAIL PROTECTED]> wrote:

Maybe they can be changed by some commands in the preamble ? (sorry, I don't
really know tex or latex).

On Saturday 26 August 2006 22:57, Pupeno wrote:
> I am heavily using colors in some LyX documents. Is it possible to make
> them darker ? some are really light, like yellow and cyan.


Pupeno,

You can use the package xcolor and define your own colors. You may
want to use agave

(http://home.gna.org/colorscheme/)

to determine the RGB codes of the colors. Pay attention to the
preamble of the attached example.

Paul


pupeno.lyx
Description: application/lyx


tabular*

2006-08-27 Thread Enrico Forestieri
Paul Rubin wrote:

> I suspect I'm doomed to disappointment here, but is there a way to get LyX
> to treat a table as tabular* rather than just tabular environment? I know I
> can do it in ERT, but I was hoping to exploit the table editor and layout
> features in the GUI but get it typeset as tabular*.
> 
> Alternatively, is there a slick way in LyX to get a table to stretch from
> margin to margin (width of table = textwidth)? I can do it with tabular* by
> inserting some "stretch" along with the alignment for one of the columns. I
> could probably do it by creating an extra row that spanned all columns and
> putting a zero-height rule in there, but that would screw up the vertical
> size of the table.

Paul,

I am afraid LyX does not support the tabular* environment. However
there is way to obtain what you are looking for. Please have a look
at the attached .lyx file

-- 
Enrico
#LyX 1.4.0cvs created this file. For more info see http://www.lyx.org/
\lyxformat 245
\begin_document
\begin_header
\textclass article
\begin_preamble

\end_preamble
\options a4paper
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single
\papersize default
\use_geometry false
\use_amsmath 0
\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 true
\end_header

\begin_body

\begin_layout Section
TABLES
\end_layout

\begin_layout Standard
As LyX does not support the LaTeX 
\family typewriter
tabular*
\family default
 environment, to get a full page width table it is necessary to appropriately
 set the width of the columns, as done in Table 
\begin_inset LatexCommand \ref{Tab1}

\end_inset

.
\end_layout

\begin_layout Standard
\begin_inset Float table
placement th
wide false
sideways false
status open

\begin_layout Caption
\align block
\begin_inset LatexCommand \label{Tab1}

\end_inset

Sample table
\end_layout

\begin_layout Standard
\begin_inset Tabular








\begin_inset Text

\begin_layout Standard

\emph on
Column 1
\end_layout

\end_inset


\begin_inset Text

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Standard

\backslash
hfil
\end_layout

\end_inset

 
\emph on
Column 2
\end_layout

\end_inset


\begin_inset Text

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Standard

\backslash
hfil
\end_layout

\end_inset

 
\emph on
Column 3
\end_layout

\end_inset


\begin_inset Text

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Standard

\backslash
hfil
\end_layout

\end_inset


\emph on
 Column 4
\end_layout

\end_inset




\begin_inset Text

\begin_layout Standard
Row 2
\end_layout

\end_inset


\begin_inset Text

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Standard

\backslash
hfil
\end_layout

\end_inset

 2,2
\end_layout

\end_inset


\begin_inset Text

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Standard

\backslash
hfil
\end_layout

\end_inset

 2,3
\end_layout

\end_inset


\begin_inset Text

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Standard

\backslash
hfil
\end_layout

\end_inset

 2,4
\end_layout

\end_inset




\begin_inset Text

\begin_layout Standard
Row 3
\end_layout

\end_inset


\begin_inset Text

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Standard

\backslash
hfil
\end_layout

\end_inset

 3,2
\end_layout

\end_inset


\begin_inset Text

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Standard

\backslash
hfil
\end_layout

\end_inset

 3,3
\end_layout

\end_inset


\begin_inset Text

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Standard

\backslash
hfil
\end_layout

\end_inset

 3,4
\end_layout

\end_inset




\begin_inset Text

\begin_layout Standard
Row 4
\end_layout

\end_inset


\begin_inset Text

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Standard

\backslash
hfil
\end_layout

\end_inset

 4,2
\end_layout

\end_inset


\begin_inset Text

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Standard

\backslash
hfil
\end_layout

\end_inset

 4,3
\end_layout

\end_inset


\begin_inset Text

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Standard

\backslash
hfil
\end_layout

\end_inset

 4,4
\end_layout

\end_inset




\end_inset


\begin_inset VSpace smallskip
\end_inset


\end_layout

\begin_layout Standard
\paragraph_spacing other 0.8

\size footnotesize
Table notes can be inserted beneath the table.
 If you'd like to insert more rows in this table, place the cursor on the
 row under which you want to insert another one and select from the menu
 
\family sans
Edit\SpecialChar \menuseparator
Rows\InsetSpace ~
&\InsetSpace ~
Cols\Speci

Re: Colors

2006-08-27 Thread Pupeno
Maybe they can be changed by some commands in the preamble ? (sorry, I don't 
really know tex or latex).
Thanks.

On Saturday 26 August 2006 22:57, Pupeno wrote:
> Hello,
> I am heavily using colors in some LyX documents. Is it possible to make
> them darker ? some are really light, like yellow and cyan.
> Thank you.

-- 
Pupeno <[EMAIL PROTECTED]> (http://pupeno.com)


pgpF31qVPse0I.pgp
Description: PGP signature


Bibtex or bibitem?

2006-08-27 Thread Miki Dovrat
Hi,

A certain journal requires the references to be included as bibitems in the 
same latex file as the entire article.

What do I do if I already have these references in a bibtex file?

Is there a way to "translate" entries from a bibtex file to a specific 
format and then reinclude them as items in the bibliography? Nice or dirty 
solutions are welcome.

When I think of copying and pasting from the pdf back to lyx and then 
marking every italic and bold I get depressed. Or maybe I should just submit 
to another journal?

Am I missing some obvious or known solution?

Thanks

Miki








Footnotes

2006-08-27 Thread Miki Dovrat
Hi,

I would like the same footnote (affiliation) in two places (authors), but I 
don't know how to get lyx to do it.

Does anyone have a solution?

Thanks.