Re: lyx-users Digest, Vol 76, Issue 5

2021-03-13 Thread Jürgen Spitzmüller
Am Freitag, dem 12.03.2021 um 21:41 +0100 schrieb Andreas Plihal:
> Hi,
>  
> thanks for looking into it.
>  
> I am sending you an emaciated LYX file and the corresponding compiled
> PDF file. The compilation is error-free, but ...
>  
> I chose TEXINDY as the index processor. (In comparison, the index
> processors STANDARD, MAKEINDEX and XINDY delivered even worse results.)
>  
> The result:
>  
>  * The entry is now in the table of contents, but further back in the
> book the index is still with the title "Index".

You have this in the preamble:

\@ifpackageloaded{babel}{
 % Damit der Index den Namen "Stichwortverzeichnis" erhält
\addto\captionsngerman{\renewcommand{\indexname}{Stichwortverzeichnis}}
}{}

Replace this with:

\AtBeginDocument{
 % Damit der Index den Namen "Stichwortverzeichnis" erhält
 \addto\captionsgerman{\renewcommand{\indexname}{Stichwortverzeichnis}}
}

You are not using babel, but polyglossia!

>  * The page reference is incorrect.

What do you mean?

>  * The cross-references are not shown, although I have written the
> command in the TEX code box.

Shown correctly here.

>  * And the lexical sorting is horrible: All words that begin with an
> umlaut are grouped under the letter "O".

Use as index processor options:
-L german-din5007 -C utf8

HTH,
Jürgen

>  
> Please: Help!
>  



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


Layout

2021-03-13 Thread Mario Moles

Dear lyx-users

I'm happy to be part of your community. I am new to the Lyx world. I 
would like to know if there is a paperback layout. I haven't found any. 
Do you have any idea?


Thanks so much

Mario Moles

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


Aw: Re: lyx-users Digest, Vol 76, Issue 5

2021-03-13 Thread Andreas Plihal
Thank you!

 

The naming of the index and the entry in the table of contents are now correct! 

 

However, the page reference is incorrect: Page 30 is specified in the table of contents; the index is actually on page 29.

 

And although the cross-references are syntactically correct, they do not appear in the index. Because the keywords

 

Gasse, s. Straße

Straße, s. Gasse

 

should be pop up in the index. Unfortunately, this is not the case.

 

I'll send you the associated files again.

 

 

Greetings

Andreas

 

Gesendet: Samstag, 13. März 2021 um 09:10 Uhr
Von: "Jürgen Spitzmüller" 
An: "Andreas Plihal" , lyx-users@lists.lyx.org
Betreff: Re: lyx-users Digest, Vol 76, Issue 5

Am Freitag, dem 12.03.2021 um 21:41 +0100 schrieb Andreas Plihal:
> Hi,
>  
> thanks for looking into it.
>  
> I am sending you an emaciated LYX file and the corresponding compiled
> PDF file. The compilation is error-free, but ...
>  
> I chose TEXINDY as the index processor. (In comparison, the index
> processors STANDARD, MAKEINDEX and XINDY delivered even worse results.)
>  
> The result:
>  
>  * The entry is now in the table of contents, but further back in the
> book the index is still with the title "Index".

You have this in the preamble:

\@ifpackageloaded{babel}{
% Damit der Index den Namen "Stichwortverzeichnis" erhält
\addto\captionsngerman{\renewcommand{\indexname}{Stichwortverzeichnis}}
}{}

Replace this with:

\AtBeginDocument{
% Damit der Index den Namen "Stichwortverzeichnis" erhält
\addto\captionsgerman{\renewcommand{\indexname}{Stichwortverzeichnis}}
}

You are not using babel, but polyglossia!

>  * The page reference is incorrect.

What do you mean?

>  * The cross-references are not shown, although I have written the
> command in the TEX code box.

Shown correctly here.

>  * And the lexical sorting is horrible: All words that begin with an
> umlaut are grouped under the letter "O".

Use as index processor options:
-L german-din5007 -C utf8

HTH,
Jürgen

>  
> Please: Help!
>  
 




Buch-Struktur2.lyx
Description: application/lyx


Buch-Struktur2.pdf
Description: Adobe PDF document
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Re: lyx-users Digest, Vol 76, Issue 5

2021-03-13 Thread Jürgen Spitzmüller
Am Samstag, dem 13.03.2021 um 13:56 +0100 schrieb Andreas Plihal:
> However, the page reference is incorrect: Page 30 is specified in the
> table of contents; the index is actually on page 29.

Remove the line
\addcontentsline{toc}{chapter}{Sachregister}

before the index (actually, you can remove the whole TeX inset there).
Rather than that, add to preamble:

\KOMAoptions{index=totoc}

> And although the cross-references are syntactically correct, they do
> not appear in the index. Because the keywords
>  
> Gasse, s. Straße
> Straße, s. Gasse
>  
> should be pop up in the index. Unfortunately, this is not the case.

They do appear here. See attached PDF.

Does it work i you disable hyperref support in Document > PDF? 

It might be due to this xindy bug (which is resolved in my version):
https://sourceforge.net/p/xindy/bugs/62/

It is quite easy to fix this. You need to replace the file
makeindex.xdy in your LaTeX distribution by this updated one:
https://raw.githubusercontent.com/jschrod/xindy.ctan/ac9e2c628f2e8e9c6b28de2bb00248bea3f41165/modules/base/makeindex.xdy

HTH,
Jürgen

>  
> I'll send you the associated files again.
>  



Buch-Struktur2_(1).pdf
Description: Adobe PDF document


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: Re: lyx-users Digest, Vol 76, Issue 5

2021-03-13 Thread Jürgen Spitzmüller
Am Samstag, dem 13.03.2021 um 14:14 +0100 schrieb Jürgen Spitzmüller:
> It is quite easy to fix this. You need to replace the file
> makeindex.xdy in your LaTeX distribution by this updated one:
> https://raw.githubusercontent.com/jschrod/xindy.ctan/ac9e2c628f2e8e9c6b28de2bb00248bea3f41165/modules/base/makeindex.xdy

(or update your TeX distribution, since this fix is included in recent
releases of xindy).

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


Custom footer and header

2021-03-13 Thread Néstor
Hello!

I have searched for any info about this before asking you, but it's
all a bit confusing.

I just need to put the page number in the footer, and the current
chapter title on the header. My document is a Standard Book.

Thank you!

-- 
Néstor Amigo
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Layout

2021-03-13 Thread Dr Eberhard W Lisse

KOMA Book?

el

On 2021-03-13 11:56 , Mario Moles wrote:

Dear lyx-users

I'm happy to be part of your community. I am new to the Lyx world. I 
would like to know if there is a paperback layout. I haven't found any. 
Do you have any idea?


Thanks so much

Mario Moles




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


Re: Custom footer and header

2021-03-13 Thread Ricardo Berlasso
I wrote in detail about headers and footers on chapter 12 of "LyX, The
Other Way of Writing"

https://frommindtotype.wordpress.com/lyx-book/

You need to use the fancyhdr package and a bit of preamble code magic.

Regards,
Ricardo



El sáb, 13 mar 2021 a las 14:46, Néstor () escribió:

> Hello!
>
> I have searched for any info about this before asking you, but it's
> all a bit confusing.
>
> I just need to put the page number in the footer, and the current
> chapter title on the header. My document is a Standard Book.
>
> Thank you!
>
> --
> Néstor Amigo
> --
> 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: Layout

2021-03-13 Thread Ricardo Berlasso
Layouts are controlled by a "documentclass". Under Document → Settings →
Documentclass it's possible to select any of the documentclasses installed
in your system. There are several "book" documentclasses, the simplest one
being "Standard" and the more powerfull KOMA-Script. All documentclasses
can be modified through code, so which documentclass is the best for you
depends on your needs. For a simple paperback format, probably Standard
will be the right choice.

Regards,
Ricardo


El sáb, 13 mar 2021 a las 10:56, Mario Moles ()
escribió:

> Dear lyx-users
>
> I'm happy to be part of your community. I am new to the Lyx world. I
> would like to know if there is a paperback layout. I haven't found any.
> Do you have any idea?
>
> Thanks so much
>
> Mario Moles
>
> --
> 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: Custom footer and header

2021-03-13 Thread Tobias Hilbricht
Am Samstag, den 13.03.2021, 15:34 +0100 schrieb Ricardo Berlasso:
> I wrote in detail about headers and footers on chapter 12 of "LyX,
> The Other Way of Writing"
> 
> https://frommindtotype.wordpress.com/lyx-book/
> 
> You need to use the fancyhdr package and a bit of preamble code
> magic. 
> 
> Regards,
> Ricardo
> 
> 
> 
> El sáb, 13 mar 2021 a las 14:46, Néstor ()
> escribió:
> > Hello!
> > 
> > I have searched for any info about this before asking you, but it's
> > all a bit confusing.
> > 
> > I just need to put the page number in the footer, and the current
> > chapter title on the header. My document is a Standard Book.
> > 
> > Thank you!
> > 
> > -- 
> > Néstor Amigo

Ricardo,

your LyX-book is really very impressive, and your book on Libreoffice
Writer too. Is the LyX-book advertised on one of those lyx.org
documentation pages? It definitely should.

Yours
Tobias

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


Re: Layout

2021-03-13 Thread Mario Moles
Yes I know. Thank you. But I was looking more for something like A4 page 
split into two columns counted as single pages. It's possible? Including 
the first page with the title.


Il 13/03/21 15:42, Ricardo Berlasso ha scritto:
Layouts are controlled by a "documentclass". Under Document → Settings 
→ Documentclass it's possible to select any of the documentclasses 
installed in your system. There are several "book" documentclasses, 
the simplest one being "Standard" and the more powerfull KOMA-Script. 
All documentclasses can be modified through code, so which 
documentclass is the best for you depends on your needs. For a simple 
paperback format, probably Standard will be the right choice.


Regards,
Ricardo


El sáb, 13 mar 2021 a las 10:56, Mario Moles (>) escribió:


Dear lyx-users

I'm happy to be part of your community. I am new to the Lyx world. I
would like to know if there is a paperback layout. I haven't found
any.
Do you have any idea?

Thanks so much

Mario Moles

-- 
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