Re: Too large space before cross-references?

2020-04-05 Thread Neal Becker
In my opinion a full space is proper here, although I'd usually put a tie.
Usually want to prevent line break before a number.

On Sat, Apr 4, 2020, 2:11 PM Bernd  wrote:

> I have the feeling that there is a too large space before cross-references.
>
> In "see table 1.1", table and 1 should be set with a half space, not a
> full space.
>
> Of course I can set it manually every time, but I would prefer a more
> integrated solution...
>
> Anybody has this issue?
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: onehalfspace

2020-04-05 Thread Scott Kostyshak
On Thu, Aug 08, 2019 at 08:19:29PM +0200, Patrick Dupre wrote:
> Hello,
> 
> It seems that there is an issue with: onehalfspace
> 
> Can I get some feedback?
> 
> See attached file.

You might want to file a bug report so we don't forget about this
(please remove the preamble code when you attach the file). I can
reproduce that I get an error with the .lyx file, but I don't know what
the root issue is.

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Too large space before cross-references?

2020-04-05 Thread Richard Kimberly Heck
>> On Sat, Apr 4, 2020, 2:11 PM Bernd > > wrote:
>> I have the feeling that there is a too large space before
>> cross-references.
>>
>> In "see table 1.1", table and 1 should be set with a half space, not a
>> full space.
>>
>> Of course I can set it manually every time, but I would prefer a more
>> integrated solution...
>>
>> Anybody has this issue?

On 4/5/20 7:37 AM, Neal Becker wrote:
> In my opinion a full space is proper here, although I'd usually put a
> tie. Usually want to prevent line break before a number.

I'm a bit puzzled, too, why one would want a half space there. But it is
customizable. How depends upon whether you are using refstyle or
prettyref. For refstyle:

\newref{tab}{name = {table\thinspace{}}, Name = {Table\thinspace{}}}

Etc, if you want to redefine for the plural case.

For prettyref:

\newrefformat{tab}{Table\thinspace\ref{#1}}

Riki

>
> -- 
>
> lyx-users mailing list
> lyx-users@lists.lyx.org 
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Too large space before cross-references?

2020-04-05 Thread Bernd

In German, a thin space is used between abbreviations and numbers:

https://de.wikipedia.org/wiki/Schmales_Leerzeichen

Now "table" is not an abbreviation, so I am not sure what do here...

A full space just feels too much, but maybe it's just me.

Am 05.04.2020 um 17:02 schrieb Richard Kimberly Heck:

On Sat, Apr 4, 2020, 2:11 PM Bernd mailto:bernd.kappenb...@gmx.de>> wrote:
I have the feeling that there is a too large space before
cross-references.

In "see table 1.1", table and 1 should be set with a half space, not a
full space.

Of course I can set it manually every time, but I would prefer a more
integrated solution...

Anybody has this issue?


On 4/5/20 7:37 AM, Neal Becker wrote:

In my opinion a full space is proper here, although I'd usually put a
tie. Usually want to prevent line break before a number.


I'm a bit puzzled, too, why one would want a half space there. But it
is customizable. How depends upon whether you are using refstyle or
prettyref. For refstyle:

\newref{tab}{name = {table\thinspace{}}, Name = {Table\thinspace{}}}

Etc, if you want to redefine for the plural case.

For prettyref:

\newrefformat{tab}{Table\thinspace\ref{#1}}

Riki



--

lyx-users mailing list
lyx-users@lists.lyx.org 
http://lists.lyx.org/mailman/listinfo/lyx-users


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Too large space before cross-references?

2020-04-05 Thread Jürgen Spitzmüller
Am Sonntag, den 05.04.2020, 18:05 +0200 schrieb Bernd:
> In German, a thin space is used between abbreviations and numbers:
> 
> https://de.wikipedia.org/wiki/Schmales_Leerzeichen
> 
> Now "table" is not an abbreviation, so I am not sure what do here...

A normal (non-breakable) space is appropriate in German typography. A
small space would be too narrow.

Jürgen




signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: No revtex4-2.layout ?

2020-04-05 Thread Kornel Benko
Am Thu, 2 Apr 2020 16:45:37 -0400
schrieb Richard Kimberly Heck :

> On 4/2/20 2:54 PM, Xaver Gerster wrote:
> >
> >
> > On 02.04.20 20:38, Richard Kimberly Heck wrote:  
> >> On 4/2/20 12:09 PM, Xaver Gerster wrote:  
> >>> Dear LyX users,
> >>> I am lacking a "revtex4-2.layout" in my (latest) LyX ver. 2.3.4.2. Is
> >>> this really true?
> >>> Stemming from the APS, the revtex package is probably among some of
> >>> the most heavily used latex packages in natural science and physics.
> >>> The 4.2 version of revtex is out since more than a year. Yet my LyX
> >>> only shows a revtex4-1.layout. What am I missing? Can I get this from
> >>> somewhere else?  
> >>
> >> No one has needed it yet, I suppose. It shouldn't be too hard to create,
> >> simply by starting with the 4.1 file and modifying it as necessary. If
> >> you do this, please post the file, so we can include it in future
> >> releases.
> >>
> >> Riki  
> >
> > From your DIY suggestion I understand that as of today revtex4.2
> > articles indeed cannot be edited using LyX. What a pity. Modifying any
> > LyX *.layout file is beyond me.  
> 
> Probably not. It is very easy to do. It may not even need very much
> modification at all, and we are here to help.
> 
> In any event, LyX is user-written software. Nothing happens with LyX
> unless some user does it in their spare time.
> 
> Riki
> 
> 

Looks like the old 4.1 layout is still valid also for 4.2.
The only difference is the the use of revtex4.2 class instead of revtex4.1
The attached may be enough ...

Copy the 3 files to your userdir/layouts (on unix most probably ~/.lyx/layouts)
and do a 'Tools->Reconfigure' in lyx.
Restarting lyx, you should be able to use the class.

Kornel


revtex4-1.layout
Description: Binary data


revtex4-2.layout
Description: Binary data


revtex4-x.inc
Description: Binary data


pgpWdhkOsPhH7.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Get unicode output for quotation marks

2020-04-05 Thread Jürgen Spitzmüller
Am Montag, den 24.02.2020, 11:38 +0100 schrieb Daniel:
> Hi,
> 
> Is there a way to get LyX to use unicode for quotation marks?
> 
> In particular, I am using quotation marks in a section title which 
> generates the following LaTeX code:
> 
> \section{``Test''}
> 
> However, I would like it to generate
> 
> \section{“Test”}
> 
> The problem is that otherwise the bookmarks in PDFs also show
> ``Test'' 
> instead of “Test”.
> 
> Minimal example attached.

Fixed in master at
https://www.lyx.org/trac/changeset/c0adb03a7ae15cf6409ee3cb64f4cc91c24c052e/lyxgit

We use now the macros with headings in hyperref.

Could be backported to stable.

Jürgen

> 
> Daniel


signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users