Possessive author names in citations

2015-02-25 Thread Marsh
The web page below shows how to modify standard BibLaTeX
to allow possessive author names in citations (use all three lines in the URL) :

https://tex.stackexchange.com/
  questions/22273/
  author-name-of-textcite-as-possessive

For example, suppose a bib file has the following entry:

@book{knuth,
author  = {Donald E. Knuth},
title   = {The {{\TeX}book}},
publisher   = {Addison-Wesley},
date= {1984}
}

Ordinary usage might include \textcite{knuth}.

The line above would look like:

Ordinary usage might include Knuth (1984).


But with the code shown on the web page, the following would hold.

Modified usage might include \posscite{knuth}.

This would appear as:

Ordinary usage might include Knuth's (1984).

OK. I can get this to work in plain LaTeX and perhaps in LyX by using ERT.
But how can I add the possessive style as a Citation style in
LyX's Citation dialog window for citations so that all citations 
can be done though the same interface and without ERT?



Re: how can I insert an html id tag

2015-02-25 Thread José Matos
On Wednesday 25 February 2015 07:39:36 Jerry Bond wrote:
> Hi List --
> 
> Using Lyx 2.1.3 on a Linux platform.
> 
> We have just gone live with a Users Manual for a Linux distribution in 
> both html and pdf format. For the most part, the conversion to html goes 
> well, and only minor adjustments need to be made to the css or the html 
> itself. If it helps, the html Manual is here:
> 
> http://www.mepiscommunity.org/user_manual_mx15/mxum.html
> 
> One annoying problem I have not been able to solve is how to avoid 
> inserting a large number of id tags manually into the converted html 
> every time we do a revision of any kind. As you know, these tags are 
> used to direct outside links to a specific portion of the document. For 
> instance, I insert  to direct the Help link from an 
> application about managing users to the appropriate location.
> 
> I have searched the documentation without luck so far, and a general web 
> search has also not been productive. Is there a way to do this inside Lyx?
> 
> Thanks for any help.
> 
> Jerry Bond
> Project Manager
> MX Linux

Does not it works if you insert a label called "users"?

Insert->Label

I see that the lyxhtml output is




Is that what you are looking for?

Regards,
-- 
José Abílio


Re: Accessing non-Latex truetype font in LyX

2015-02-25 Thread John Kane
Currently I'm perfectly happy to abuse a san serif font for the moment.
I've never liked that family anyway.

The fontspec document looks a bit intimidating but I'll give it a go.   I
suppose that the local layout approach would work, since one probably get
away without the display font showing Roman; it would be annoying but not a
real deal-breaker.

Thanks to both of you.

john



On 25 February 2015 at 04:16, Liviu Andronic  wrote:

> On Wed, Feb 25, 2015 at 10:05 AM, Guenter Milde 
> wrote:
> > On 2015-02-24, John Kane wrote:
> >
> >> [-- Type: text/plain, Encoding: quoted-printable --]
> >
> >> I have managed to get my screen font and output fonts set to 'unspell'
> as
> >> wanted and it is working well.
> >
> >> My next problem is that would like to mix two fonts in the body of the
> >> text.  It looks relatively easy to do this changing lanuages but it is
> not
> >> obvious to me how to do this when all I want to do is change the font
> >> (preferably both screen and output to pdf but I'd settle for pdf at the
> >> moment.
> >
> >> Can anyone suggest an approach?  Example attached
> >
> > The easiest way would be to (ab?)use the settings for the sans-serif
> > and/or teletyped/fixed-width fonts.
> >
> One approach that I can think of is to define a local layout inset
> which uses the font that you want. But I'm not sure if you can define
> also the display font in such a construct.
>
> Liviu
>
>
> > Of course, this only works if you do not require two different font
> > *families* both complete with matching variant shapes.
> >
> >   In this case, you will need to read the extensive documentation
> >   available for the "fontspec" LaTeX package (on my TeXLive system, the
> >   command `texdoc fontspec` brings up fontspec.pdf)
> >   and use a mixture of custom premble settings (Document>Settings>User
> >   Preamble and ERT (raw LaTeX) in the document to achieve the goal.
> >
> >   The fontspec definition also describes how different fonts can be
> assigned
> >   to different languages. It may work to do such a setup in the user
> >   preamble and then change fonts by assigning text languages.
> >
> > Günter
> >
>
>
>
> --
> Do you think you know what math is?
> http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02
> Or what it means to be intelligent?
> http://www.ideasroadshow.com/issues/john-duncan-2013-08-30
> Think again:
> http://www.ideasroadshow.com/library
>



-- 
John Kane
Kingston ON Canada


how can I insert an html id tag

2015-02-25 Thread Jerry Bond

Hi List --

Using Lyx 2.1.3 on a Linux platform.

We have just gone live with a Users Manual for a Linux distribution in 
both html and pdf format. For the most part, the conversion to html goes 
well, and only minor adjustments need to be made to the css or the html 
itself. If it helps, the html Manual is here:


http://www.mepiscommunity.org/user_manual_mx15/mxum.html

One annoying problem I have not been able to solve is how to avoid 
inserting a large number of id tags manually into the converted html 
every time we do a revision of any kind. As you know, these tags are 
used to direct outside links to a specific portion of the document. For 
instance, I insert  to direct the Help link from an 
application about managing users to the appropriate location.


I have searched the documentation without luck so far, and a general web 
search has also not been productive. Is there a way to do this inside Lyx?


Thanks for any help.

Jerry Bond
Project Manager
MX Linux


Re: Accessing non-Latex truetype font in LyX

2015-02-25 Thread Liviu Andronic
On Wed, Feb 25, 2015 at 10:05 AM, Guenter Milde  wrote:
> On 2015-02-24, John Kane wrote:
>
>> [-- Type: text/plain, Encoding: quoted-printable --]
>
>> I have managed to get my screen font and output fonts set to 'unspell' as
>> wanted and it is working well.
>
>> My next problem is that would like to mix two fonts in the body of the
>> text.  It looks relatively easy to do this changing lanuages but it is not
>> obvious to me how to do this when all I want to do is change the font
>> (preferably both screen and output to pdf but I'd settle for pdf at the
>> moment.
>
>> Can anyone suggest an approach?  Example attached
>
> The easiest way would be to (ab?)use the settings for the sans-serif
> and/or teletyped/fixed-width fonts.
>
One approach that I can think of is to define a local layout inset
which uses the font that you want. But I'm not sure if you can define
also the display font in such a construct.

Liviu


> Of course, this only works if you do not require two different font
> *families* both complete with matching variant shapes.
>
>   In this case, you will need to read the extensive documentation
>   available for the "fontspec" LaTeX package (on my TeXLive system, the
>   command `texdoc fontspec` brings up fontspec.pdf)
>   and use a mixture of custom premble settings (Document>Settings>User
>   Preamble and ERT (raw LaTeX) in the document to achieve the goal.
>
>   The fontspec definition also describes how different fonts can be assigned
>   to different languages. It may work to do such a setup in the user
>   preamble and then change fonts by assigning text languages.
>
> Günter
>



-- 
Do you think you know what math is?
http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02
Or what it means to be intelligent?
http://www.ideasroadshow.com/issues/john-duncan-2013-08-30
Think again:
http://www.ideasroadshow.com/library


Re: Accessing non-Latex truetype font in LyX

2015-02-25 Thread Guenter Milde
On 2015-02-24, John Kane wrote:

> [-- Type: text/plain, Encoding: quoted-printable --]

> I have managed to get my screen font and output fonts set to 'unspell' as
> wanted and it is working well.

> My next problem is that would like to mix two fonts in the body of the
> text.  It looks relatively easy to do this changing lanuages but it is not
> obvious to me how to do this when all I want to do is change the font
> (preferably both screen and output to pdf but I'd settle for pdf at the
> moment.

> Can anyone suggest an approach?  Example attached

The easiest way would be to (ab?)use the settings for the sans-serif
and/or teletyped/fixed-width fonts. 

Of course, this only works if you do not require two different font
*families* both complete with matching variant shapes. 

  In this case, you will need to read the extensive documentation
  available for the "fontspec" LaTeX package (on my TeXLive system, the
  command `texdoc fontspec` brings up fontspec.pdf)
  and use a mixture of custom premble settings (Document>Settings>User
  Preamble and ERT (raw LaTeX) in the document to achieve the goal.
  
  The fontspec definition also describes how different fonts can be assigned
  to different languages. It may work to do such a setup in the user
  preamble and then change fonts by assigning text languages.
  
Günter