Re: Inserting Citations

2012-06-19 Thread William Hanson
Ray,

I've solved the problem (not being able to insert citations or references),
thanks to the advice you gave in your June 15 message.

The key to the solution was getting to the important stuff that is buried
in Mendeley Desktop.  Under Tools > Options > Document Details, the
Citation Key must be checked, as you said.  And under under Tools > Options
> BibTeX, the right choices must be made, including the right path to the
location where Mendeley had stored my bib files, again as you said.

The foregoing was made harder than it otherwise would have been because my
version of Mendeley Desktop has no 'Tags' or 'Keywords'.  All the stuff I
needed to fiddle with was under Tools > Options.

Many thanks,

Bill



On Fri, Jun 15, 2012 at 2:39 PM, Ray Rashif  wrote:

> On 15 June 2012 03:17, William Hanson  wrote:
> > Ray,
> >
> >
> > I'm trying to make progress by taking mini-steps.  In trying to execute
> one
> > of your recommendations, I've hit a snag.  Recently you said:
> >
> > "Choose an existing citation in your LyX document, note down its name
> > as seen there. For eg., "Michael1999". In Mendeley look for that
> > specific bibliographic entry, as close as you can remember. Then find
> > the field "Citation Key". The two must match."
> >
> > By "Mendeley" you mean Mendeley Desktop, right?  In the LyX document I'm
> > most concerned with I can find, e.g., the citation "[Hanson2006]". And in
> > Mendeley Desktop I can find the exact bibliographic entry to which this
> > citation refers.  But I don't see any field called "Citation Key" in
> > Mendeley Desktop.  So I'm stuck at this point.
>
> Both Mendeley Web and Desktop have a 'Citation Key' field. Otherwise,
> citations would have no unique identifier, and hence would not be
> usable in any application. In Web, it's Edit document details >
> Additional Fields.
>
> In Desktop, it's right below 'Tags' and 'Keywords'. If not, go to
> Options > Document Details and make sure 'Citation Key' is selected
> for every document type. It may be wise to make sure you're fully
> updated to the latest version of the program.
>
> > But moving on just one more mini-step, you continue the passage quoted
> above
> > as follows:
> >
> >
> > "If not, simply reselect the item in LyX bib dialogue from the
> > "Available Citations" pane and delete the old citation from the
> > "Selected Citations" pane"
> >
> > But this is what I'm simply unable to do, because I can't find any way to
> > get any file from my Mendeley Desktop into the "Available Citations"
> pane in
> > LyX.  If only I could do that, I'm pretty sure I could solve my original
> > problem, namely, getting all the :"[?]"s in the pdf replaced with real
> > references.
>
> Look in Options > BibTeX. I personally have these checked:
>
> Escape LaTeX special characters
> Enable BibTeX syncing
> Create one BibTeX file per collection
> And a path where Mendeley will store the bib file(s)
>
> You may choose not to sync, in which case simply select a folder or
> the files you want and File > Export.
>
>
> --
> GPG/PGP ID: C0711BF1
>


Re: Custom frontmatter and headings

2012-06-19 Thread Steve Litt
On Wed, 20 Jun 2012 02:02:40 +0800, Ray Rashif said:
> On 20 June 2012 01:44, Ray Rashif  wrote:
> > Hi guys
> >
> > I'm adding a _static_ list of acronyms/abbreviations/units page
> > (because I don't want any program to mess with my style of
> > abbreviating throughout the document), but so far I haven't been
> > able to match the frontmatter headings, for eg. table of contents,
> > list of figures, list of tables.
> >
> > I would want the heading of this custom "List of Acronyms" to be
> > similar to the typeset "List of Tables" and so on. I've used the
> > code from [1] and it uses section*, but it is not consistent. Is
> > there a way I could centre the section title? But even so, I'd like
> > a better, more "integrated" approach.
> >
> > [1] http://www.latex-community.org/forum/viewtopic.php?f=44&t=16419
> >
> >
> > --
> > GPG/PGP ID: C0711BF1
> 
> Ermm..correction. It's not actually the list I'm worried about but
> another custom frontmatter - a declaration page. The list of acronyms
> would be left aligned, but not the declaration.
> 
> So, the real question is, how would I go about adding a custom
> "declaration" page with the title centred (and not left-aligned by
> using section*)?

:-)

It's time for my monthly "fingerpaint the frontmatter" suggestion.

In my opinion, the styles based nature of LyX is ideal for a document's
Mainmatter, where everything should be consistent.

But in my opinion, the frontmatter is a bunch of one-off stuff that's
much better done using ERT than trying to shoehorn a Document Class
into doing stuff like center aligning something or tailoring vertical
space, or for gosh sakes including a full sized cover image.

SteveT

Steve Litt*  http://www.troubleshooters.com/
  *  http://twitter.com/stevelitt
Troubleshooting Training  *  Human Performance



Re: Custom frontmatter and headings

2012-06-19 Thread Ray Rashif
On 20 June 2012 01:44, Ray Rashif  wrote:
> Hi guys
>
> I'm adding a _static_ list of acronyms/abbreviations/units page
> (because I don't want any program to mess with my style of
> abbreviating throughout the document), but so far I haven't been able
> to match the frontmatter headings, for eg. table of contents, list of
> figures, list of tables.
>
> I would want the heading of this custom "List of Acronyms" to be
> similar to the typeset "List of Tables" and so on. I've used the code
> from [1] and it uses section*, but it is not consistent. Is there a
> way I could centre the section title? But even so, I'd like a better,
> more "integrated" approach.
>
> [1] http://www.latex-community.org/forum/viewtopic.php?f=44&t=16419
>
>
> --
> GPG/PGP ID: C0711BF1

Ermm..correction. It's not actually the list I'm worried about but
another custom frontmatter - a declaration page. The list of acronyms
would be left aligned, but not the declaration.

So, the real question is, how would I go about adding a custom
"declaration" page with the title centred (and not left-aligned by
using section*)?


--
GPG/PGP ID: C0711BF1


Custom frontmatter and headings

2012-06-19 Thread Ray Rashif
Hi guys

I'm adding a _static_ list of acronyms/abbreviations/units page
(because I don't want any program to mess with my style of
abbreviating throughout the document), but so far I haven't been able
to match the frontmatter headings, for eg. table of contents, list of
figures, list of tables.

I would want the heading of this custom "List of Acronyms" to be
similar to the typeset "List of Tables" and so on. I've used the code
from [1] and it uses section*, but it is not consistent. Is there a
way I could centre the section title? But even so, I'd like a better,
more "integrated" approach.

[1] http://www.latex-community.org/forum/viewtopic.php?f=44&t=16419


--
GPG/PGP ID: C0711BF1


Re: abstract - pages

2012-06-19 Thread bart deruyter
Hi, thanks for your reply.

I'm writing a book, a manuscript, and all publishers here in Belgium need a
summary of the story to evaluate it. Since it is quite a big story I'm
writing, several hundreds of pages, it seems impossible to cram the
abstract into one single page without loosing most of the essential story
lines.

I guess I'll have to try out other document classes then. The 'abstract'
section definitely is part of the book(AMS) class though. I hope I won't
have to dig into hacking a class to get what I want. I'm writing, the story
must get finished and I have not time to code, nor do I want to get
distracted by issues like this. Now I still need to get Dutch spell
checking fixed too, doesn't work out of the box on Ubuntu aparently...
another distraction I can miss.

Thanks for tips though..

grtz,
Bart

http://www.bartart3d.be/
On facebook 
On Twitter 
On Identi.ca 
On Google+ 



2012/6/19 stefano franchi 

> On Tue, Jun 19, 2012 at 11:17 AM, bart deruyter 
> wrote:
> > Hi,
> >
> > no reactions at all? Or is this mail lost in the flood?
> >
>
> Hi Bart,
>
> here is a reaction, even though perhaps not the one you're looking
> for: why would you want a multi-page abstract in a book? Have you
> thought about using a different environment for what you are trying to
> accomplish?  To stress the obvious, abstracts are short summaries
> generally used for articles only. I don't know the details, but it is
> very possible that the possibility of a multi-page abstract is not
> even contemplated in the latex class you are using. Hence the problem
> you are facing. If you're trying to provide something like an
> "Executive summary," a combination of unnumbered document divisions
> (i.e. the starred command" *chapter, *section, etc) and ad-hoc
> formatting may be all you need. Or you may look into the memoir class,
> which offers a more powerful abstract environment than the standard
> classes. I think the Komascript book class offers similar facilities.
>
> Cheers,
>
> Stefano
>
>
> > grtz,
> > Bart
> > http://www.bartart3d.be/
> > On facebook
> > On Twitter
> > On Identi.ca
> > On Google+
> >
> >
> >
> > 2012/6/18 bart deruyter 
> >>
> >> Hi all,
> >>
> >> I'm using the book (AMS) class for my book here, and I've added an
> >> abstract. Now the abstract is longer then one page there seems to be
> quite
> >> an issue. In the pdf I see the text run through the bottom margin, and
> is
> >> cut off at the bottom edge of the page. Instead of printing it onto the
> next
> >> page it seems like the 'abstract part' thinks that the page is longer,
> while
> >> it isn't. The next page is blank, where the text should continue.
> >>
> >> What can I do to solve this problem?
> >>
> >> thanks,
> >>
> >> Bart
> >> http://www.bartart3d.be/
> >> On facebook
> >> On Twitter
> >> On Identi.ca
> >> On Google+
> >>
> >
>
>
>
> --
> __
> Stefano Franchi
> Associate Research Professor
> Department of Hispanic StudiesPh:   +1 (979) 845-2125
> Texas A&M University  Fax:  +1 (979) 845-6421
> College Station, Texas, USA
>
> stef...@tamu.edu
> http://stefano.cleinias.org
>


Re: abstract - pages

2012-06-19 Thread stefano franchi
On Tue, Jun 19, 2012 at 11:17 AM, bart deruyter  wrote:
> Hi,
>
> no reactions at all? Or is this mail lost in the flood?
>

Hi Bart,

here is a reaction, even though perhaps not the one you're looking
for: why would you want a multi-page abstract in a book? Have you
thought about using a different environment for what you are trying to
accomplish?  To stress the obvious, abstracts are short summaries
generally used for articles only. I don't know the details, but it is
very possible that the possibility of a multi-page abstract is not
even contemplated in the latex class you are using. Hence the problem
you are facing. If you're trying to provide something like an
"Executive summary," a combination of unnumbered document divisions
(i.e. the starred command" *chapter, *section, etc) and ad-hoc
formatting may be all you need. Or you may look into the memoir class,
which offers a more powerful abstract environment than the standard
classes. I think the Komascript book class offers similar facilities.

Cheers,

Stefano


> grtz,
> Bart
> http://www.bartart3d.be/
> On facebook
> On Twitter
> On Identi.ca
> On Google+
>
>
>
> 2012/6/18 bart deruyter 
>>
>> Hi all,
>>
>> I'm using the book (AMS) class for my book here, and I've added an
>> abstract. Now the abstract is longer then one page there seems to be quite
>> an issue. In the pdf I see the text run through the bottom margin, and is
>> cut off at the bottom edge of the page. Instead of printing it onto the next
>> page it seems like the 'abstract part' thinks that the page is longer, while
>> it isn't. The next page is blank, where the text should continue.
>>
>> What can I do to solve this problem?
>>
>> thanks,
>>
>> Bart
>> http://www.bartart3d.be/
>> On facebook
>> On Twitter
>> On Identi.ca
>> On Google+
>>
>



-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas A&M University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: abstract - pages

2012-06-19 Thread bart deruyter
Hi,

no reactions at all? Or is this mail lost in the flood?

grtz,
Bart
http://www.bartart3d.be/
On facebook 
On Twitter 
On Identi.ca 
On Google+ 



2012/6/18 bart deruyter 

> Hi all,
>
> I'm using the book (AMS) class for my book here, and I've added an
> abstract. Now the abstract is longer then one page there seems to be quite
> an issue. In the pdf I see the text run through the bottom margin, and is
> cut off at the bottom edge of the page. Instead of printing it onto the
> next page it seems like the 'abstract part' thinks that the page is longer,
> while it isn't. The next page is blank, where the text should continue.
>
> What can I do to solve this problem?
>
> thanks,
>
> Bart
> http://www.bartart3d.be/
> On facebook 
> On Twitter 
> On Identi.ca 
> On Google+ 
>
>


Re: font question: where to find font family name

2012-06-19 Thread stefano franchi
On Tue, Jun 19, 2012 at 10:43 AM, Csikos Bela  wrote:
> Hello:
>
> According to my knowledge if I want to use other fonts than the few in lyx 
> GUI selection window, I have to load them manually.
> For this I can use a command, eg.  \renewcommand{\rmdefault}{ptm}.
> ptm here specifies (Adobe?) times font family.
> My question is where can I find the font family name I have to specify in 
> this command. I read fntguide and a few other docs but I could not find how 
> to determine the font family name.
> For example I have installed tex-gyre-pagella fonts but I don't know what is
> the font family name for it. Where can I find it (not only for this font but 
> for other fonts as well)?
>
> Thanks,
>
> bcsikos
>

Finding standard Latex font names may be less than trivial at times.
See here for basic information:
http://tug.org/pracjourn/2006-1/schmidt/schmidt.pdf

For the family names of the standard postscript fonts, look at table 3
in the following doc:

ftp://www.ctan.org/pub/tex-archive/macros/latex/required/psnfss/psnfss2e.pdf

For the TeX Gyre fonts, you should use their own docs. For instance,
Pagella's name should be qpl (not tested). In general, TeX Gyre fonts
come with their own latex packages that simplify their use. For
instance, pagella can be used by loading the tgpagella package in your
preamble (instead of using the \rmdefault command) :

\usepackage{tgpagella}

Hope it helps,

Stefano



-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas A&M University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: Create my own class of documents

2012-06-19 Thread stefano franchi
On Mon, Jun 18, 2012 at 11:54 PM, Freddy Rojas  wrote:

>
>
>  Mensaje original   Asunto: Create my own class of
> documents  Fecha: Mon, 18 Jun 2012 16:51:54 -0500  De: Freddy Rojas
>A: lyx-users-dig...@lists.lyx.org
>
> Hi there,
>
> I've suscribed to this list because I've already looked for information
> about creating class of document for Lyx. I know that there are some of
> them such as book, article, broadway and so on. But It's not clear what
> is the proper way to do make a .cls file from scratch without depending
> on any else of default classes.
>
> I'm doing my thesis and It requires some specific parameters for the
> layout, margins, paper size and other features, but I would prefer set
> up them by myself instead of using a traditional word processor. Many
> people says LyX, LaTeX and similar are more powerful and easier.
>
>

Hi Freddy,

making a latex file from scratch is indeed a difficult task. One
alternative option is to use a highly customizable latex class and tailor
it to your requirements. You may want to take a look at the Memoir class,
which comes with excellent documentation and is highly customizable.

The memoir manual has step-by-step instructions that show you how to
customize memoir for a thesis. Look in your latex installation for a file
called memman.pdf (or, on linux, just type 'texdoc memoir' in a terminal).
 Look at chapter 21 (An example thesis design) for detailed instructions.
If you are completely new to latex, you may have to read some of the
introductory chapters as well. On the plus side, there is no need to write
a custom lyx module or custom lyx layout.

Hope it helps,

Stefano


> P.S. Sorry but the bad English but I'm learning. As usual.
>
> Best regards,
>
> ---
>
> Buenas tardes,
>
> Si alguien habla en español pues sería fabulosa su ayuda.
>
> Me suscribí a la lista porque necesito crear mi propio archivo de clase
> de documento. He leído que esa clase se aloja en un archivo .cls pero
> veo que ya hay varias predeterminadas y me gustaría aprender a generar
> una con ciertas características especiales de paginación, márgenes,
> disposición del texto y demás, sin depender de ninguna de las
> predeterminadas. Esto en razón a que estoy haciendo mi trabajo de grado
> y veo que ninguna de aquellas se ajusta a esa opción.
>
> He buscado mucho en google, pero no veo como tal un tutorial que
> explique esto. En la documentación que viene con el programa se habla de
> esas que vienen incluidas en LyX pero no cómo generar una desde cero.
>
> Gracias de antemano, como siempre.
>
> Freddy
>
>


-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas A&M University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


font question: where to find font family name

2012-06-19 Thread Csikos Bela
Hello:

According to my knowledge if I want to use other fonts than the few in lyx GUI 
selection window, I have to load them manually.
For this I can use a command, eg.  \renewcommand{\rmdefault}{ptm}.
ptm here specifies (Adobe?) times font family.
My question is where can I find the font family name I have to specify in this 
command. I read fntguide and a few other docs but I could not find how to 
determine the font family name.
For example I have installed tex-gyre-pagella fonts but I don't know what is
the font family name for it. Where can I find it (not only for this font but 
for other fonts as well)?

Thanks,

bcsikos



Re: Fwd: Create my own class of documents

2012-06-19 Thread Ignacio García
Freddy Rojas  gmail.com> writes:

> I've suscribed to this list because I've already looked for information
> about creating class of document for Lyx. I know that there are some of
> them such as book, article, broadway and so on. But It's not clear what
> is the proper way to do make a .cls file from scratch without depending
> on any else of default classes.

The .cls and .sty files are LaTeX files, they are not LyX files.
Making LaTeX files from scratch is a difficult task, I think.

The specific LyX files are .layout, .inc or .module. (see you in folder
/usr/share/lyx/layouts). They allow to use in Lyx the .cls/.sty LaTeX
files.

> I'm doing my thesis and It requires some specific parameters for the
> layout, margins, paper size and other features,

Possibly, the easiest way to start is trying to write a module.
All this is explained in detail in the chapter 5 of the Customization
manual.

___Spanish__
> Me suscribí a la lista porque necesito crear mi propio archivo de clase
> de documento. He leído que esa clase se aloja en un archivo .cls pero
> veo que ya hay varias predeterminadas y me gustaría aprender a generar
> una con ciertas características especiales de paginación, márgenes,
> disposición del texto y demás, sin depender de ninguna de las
> predeterminadas. Esto en razón a que estoy haciendo mi trabajo de grado
> y veo que ninguna de aquellas se ajusta a esa opción.

> He buscado mucho en google, pero no veo como tal un tutorial que
> explique esto. En la documentación que viene con el programa se habla de
> esas que vienen incluidas en LyX pero no cómo generar una desde cero.

Los archivos .cls o .sty son propios de LaTeX, no de LyX, y no es fácil
escribirlos.
LyX usa sus archivos específicos .layout, .module o .inc (en
/usr/share/lyx/layouts) para poder interpretar los archivos
propios de LaTeX.
Todo esto se explica en el capítulo 5 del manual Personalización.
Quizá, lo más sencillo para empezar es intentar escribir un módulo,
que te permite personalizar muchas características de un documento.

Saludos
Ignacio