Aw: Format Page number references
I filled the preamble exactly as you recommended - so I didn't have to change anything. But I removed the commands \ index and added "|myA" etc. to the three LYX boxes. The result is unchanged in that I still only get the three keywords with the three letters a, b and f in the subject index, but without the page number. Enclosed the LYX and PDF files of a small example. Andreas Gesendet: Freitag, 27. August 2021 um 14:00 Uhr Von: lyx-users-requ...@lists.lyx.org An: lyx-users@lists.lyx.org Betreff: lyx-users Digest, Vol 100, Issue 5 Send lyx-users mailing list submissions to lyx-users@lists.lyx.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.lyx.org/mailman/listinfo/lyx-users or, via email, send a message with subject or body 'help' to lyx-users-requ...@lists.lyx.org You can reach the person managing the list at lyx-users-ow...@lists.lyx.org When replying, please edit your Subject line so it is more specific than "Re: Contents of lyx-users digest..." Today's Topics: 1. Re: Format Page number references (Herbert Voss) 2. Re: Installed module not found; page style not accepted (Rich Shepard) 3. Re: Installed module not found; page style not accepted (Herbert Voss) 4. Re: Installed module not found; page style not accepted (Rich Shepard) 5. Re: Installed module not found; page style not accepted [FIXED] (Rich Shepard) 6. Permanence of strange .tex file (Rich Shepard) -- Message: 1 Date: Thu, 26 Aug 2021 18:15:48 +0200 From: Herbert Voss To: lyx-users@lists.lyx.org Subject: Re: Format Page number references Message-ID: <257d9296-bf47-2cfc-33da-b65ec73fa...@fu-berlin.de> Content-Type: text/plain; charset=utf-8; format=flowed Am 26.08.21 um 17:58 schrieb Andreas Plihal: > First the good news: now no more errors are reported! > But: in the register, the specially defined keywords are now only > displayed with the respective letters, without the page number as a > prefix. my crystal ball says that you have \newcommand\myA[1]{a} but not \newcommand\myA[1]{#1a} And you do not need the \index command here. YOu can simply add the |myA in the LyX index box. More help only if you provide a smal LyX example file! Herbert -- Message: 2 Date: Thu, 26 Aug 2021 09:47:09 -0700 (PDT) From: Rich Shepard To: lyx-users@lists.lyx.org Subject: Re: Installed module not found; page style not accepted Message-ID: Content-Type: text/plain; charset=US-ASCII; format=flowed On Thu, 26 Aug 2021, Herbert Voss wrote: > Why do you have for lwarp /texmf-dist and for scrpage2 not? Herbert, A) Probably because that's where texlive-2020.200608-x86_64-2_SBo or texlive-extra-2020.200608-x86_64-1_SBo put it, and B) I've no idea what lwarp is. > However, try > \usepackage{scrlayer-scrpage} > instead of > \usepackage{scrpage2} How do I do this within LyX and not just LaTeX in emacs? Regards, Rich -- Message: 3 Date: Thu, 26 Aug 2021 18:52:48 +0200 From: "Herbert Voss" To: "Rich Shepard" Cc: lyx-users@lists.lyx.org Subject: Re: Installed module not found; page style not accepted Message-ID: <65454.79.236.210.15.1629996768.webm...@webmail.zedat.fu-berlin.de> Content-Type: text/plain;charset=utf-8 Rich Shepard schrieb: > On Thu, 26 Aug 2021, Herbert Voss wrote: > >> Why do you have for lwarp /texmf-dist and for scrpage2 not? > > Herbert, > > A) Probably because that's where texlive-2020.200608-x86_64-2_SBo or > texlive-extra-2020.200608-x86_64-1_SBo put it, and B) I've no idea what > lwarp is. > >> However, try >> \usepackage{scrlayer-scrpage} >> instead of >> \usepackage{scrpage2} > > How do I do this within LyX and not just LaTeX in emacs? Write it into document->setting->preamble Herbert > > Regards, > > Rich > -- > lyx-users mailing list > lyx-users@lists.lyx.org > http://lists.lyx.org/mailman/listinfo/lyx-users > -- Message: 4 Date: Thu, 26 Aug 2021 10:16:12 -0700 (PDT) From: Rich Shepard To: lyx-users@lists.lyx.org Subject: Re: Installed module not found; page style not accepted Message-ID: Content-Type: text/plain; charset=US-ASCII; format=flowed On Thu, 26 Aug 2021, Herbert Voss wrote: > Write it into document->setting->preamble Herbert, Sigh. I should have remembered that. Thanks, Rich -- Message: 5 Date: Thu, 26 Aug 2021 10:18:28 -0700 (PDT) From: Rich Shepard To: lyx-users@lists.lyx.org Subject: Re: Installed module not found; page style not accepted [FIXED] Message-ID: Content-Type: text/plain; charset=US-ASCII; format=flowed On Thu, 26 Aug 2021, Herbert Voss wrote: > However, try > \usepackage{scrlayer-scrpage} > instead of > \usepackage{scrpage2} Herbert, That did the trick. Thanks, Rich -- Message: 6 Date: Thu, 26 Aug 2021 12:27:32 -0700 (PDT) From: Rich Shepard To: lyx-users@lists.lyx.org Subject: Permanence of
Aw: Format Page number references
First the good news: now no more errors are reported! But: in the register, the specially defined keywords are now only displayed with the respective letters, without the page number as a prefix. I enclose two pictures. The first picture shows how I tagged three words as keywords, just like you suggested. The second picture shows a section of the register with exactly the three key words. Andreas Gesendet: Mittwoch, 25. August 2021 um 14:00 Uhr Von: lyx-users-requ...@lists.lyx.org An: lyx-users@lists.lyx.org Betreff: lyx-users Digest, Vol 100, Issue 2 Send lyx-users mailing list submissions to lyx-users@lists.lyx.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.lyx.org/mailman/listinfo/lyx-users or, via email, send a message with subject or body 'help' to lyx-users-requ...@lists.lyx.org You can reach the person managing the list at lyx-users-ow...@lists.lyx.org When replying, please edit your Subject line so it is more specific than "Re: Contents of lyx-users digest..." Today's Topics: 1. Re: Format Page number references (Herbert Voss) 2. Re: Format Page number references (Herbert Voss) -- Message: 1 Date: Tue, 24 Aug 2021 14:47:27 +0200 From: Herbert Voss To: lyx-users@lists.lyx.org Subject: Re: Format Page number references Message-ID: <706c945d-b9ee-ae8b-9f43-76009f044...@fu-berlin.de> Content-Type: text/plain; charset=utf-8; format=flowed Am 22.08.21 um 09:37 schrieb Andreas Plihal: > Hi! > Maybe I formulated my problem too vaguely, so I'll try again, but this > time in more detail: > I have already established an extensive subject index in my KOMA book. > In order to enforce the DUDEN order in it, I was advised to use the > index processor texindy. I use that and it works well. > There are numerous examples, exercises, and footnotes in my book that > contain a number of key words. If the keyword "resonance frequency" is > mentioned in a task, it has been shown in the subject index as follows: > example > Resonance frequency, 87 > Now an index creator has advised me to add only one letter to the page > number in the subject index instead of the keywords "example", > "exercise"or "footnote" in such (numerous!) Cases. In relation to my > above example, the entry in the subject register should look like this: > Resonance frequency, 87b > If the same keyword were mentioned in a footnote, the entry would read: > Resonance frequency, 87f Write into the documents preamble \newcommand\myA{#1a} \newcommand\myB{#1b} \newcommand\myF{#1f} And in the text insert the special entries with the | operator: \index{frequency|myF} Then it will get the f in the index as suffix. Or \index{frequency|myB} for 1b Herbert > That would be much more elegant and I could save space in my already > extensive subject index. > The question now arises as to how I can achieve this in my LYX > register. (I have already read the instructions for the text processor > Makeindex to get an idea of ??how I could implement this change in my > subject index. Unfortunately, the instructions are a bit too cryptic > for me, because it is not clear what tags and what variables are. > Apart from that, I also use the texindy processor ... ) > Please for your help! > Greetings Andreas > -- Message: 2 Date: Tue, 24 Aug 2021 14:49:51 +0200 From: Herbert Voss To: lyx-users@lists.lyx.org Subject: Re: Format Page number references Message-ID: <1b33b8c3-5aa6-706d-24f9-db74a27ef...@fu-berlin.de> Content-Type: text/plain; charset=utf-8; format=flowed Am 24.08.21 um 14:47 schrieb Herbert Voss: > > > Am 22.08.21 um 09:37 schrieb Andreas Plihal: >> Hi! >> Maybe I formulated my problem too vaguely, so I'll try again, but >> this time in more detail: >> I have already established an extensive subject index in my KOMA >> book. In order to enforce the DUDEN order in it, I was advised to use >> the index processor texindy. I use that and it works well. >> There are numerous examples, exercises, and footnotes in my book that >> contain a number of key words. If the keyword "resonance frequency" >> is mentioned in a task, it has been shown in the subject index as >> follows: >> example >> Resonance frequency, 87 >> Now an index creator has advised me to add only one letter to the >> page number in the subject index instead of the keywords "example", >> "exercise"or "footnote" in such (numerous!) Cases. In relation to my >> above example, the entry in the subject register should look like this: >> Resonance frequency, 87b >> If the same keyword were mentioned in a footnote, the entry would read: >> Resonance frequency, 87f > > > Write into the documents preamble > > \newcommand\myA{#1a} > \newcommand\myB{#1b} > \newcommand\myF{#1f} should be \newcommand\myA[1]{#1a} \newcommand\myB[1]{#1b} \newcommand\myF[1]{#1f} Herbert > > > And in the text insert the special entries with the |
Aw: Format Page number references
Hi Herbert, thx a lot! I got this error though: ! Illegal parameter number in definition of \myA. 1 l.232 \newcommand\myA{#1a} You meant to type ## instead of #, right? Or maybe a } was forgotten somewhere earlier, and things are all screwed up? I'm going to assume that you meant ##. ! LaTeX Error: Command \myA already defined. Or name \end... illegal, see p.192 of the manual. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. But the result is partly correct: the first entry defined in this regard is correct, the others are listed in the subject index without a page number. Greetings Andreas Gesendet: Mittwoch, 25. August 2021 um 14:00 Uhr Von: lyx-users-requ...@lists.lyx.org An: lyx-users@lists.lyx.org Betreff: lyx-users Digest, Vol 100, Issue 2 Send lyx-users mailing list submissions to lyx-users@lists.lyx.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.lyx.org/mailman/listinfo/lyx-users or, via email, send a message with subject or body 'help' to lyx-users-requ...@lists.lyx.org You can reach the person managing the list at lyx-users-ow...@lists.lyx.org When replying, please edit your Subject line so it is more specific than "Re: Contents of lyx-users digest..." Today's Topics: 1. Re: Format Page number references (Herbert Voss) 2. Re: Format Page number references (Herbert Voss) -- Message: 1 Date: Tue, 24 Aug 2021 14:47:27 +0200 From: Herbert Voss To: lyx-users@lists.lyx.org Subject: Re: Format Page number references Message-ID: <706c945d-b9ee-ae8b-9f43-76009f044...@fu-berlin.de> Content-Type: text/plain; charset=utf-8; format=flowed Am 22.08.21 um 09:37 schrieb Andreas Plihal: > Hi! > Maybe I formulated my problem too vaguely, so I'll try again, but this > time in more detail: > I have already established an extensive subject index in my KOMA book. > In order to enforce the DUDEN order in it, I was advised to use the > index processor texindy. I use that and it works well. > There are numerous examples, exercises, and footnotes in my book that > contain a number of key words. If the keyword "resonance frequency" is > mentioned in a task, it has been shown in the subject index as follows: > example > Resonance frequency, 87 > Now an index creator has advised me to add only one letter to the page > number in the subject index instead of the keywords "example", > "exercise"or "footnote" in such (numerous!) Cases. In relation to my > above example, the entry in the subject register should look like this: > Resonance frequency, 87b > If the same keyword were mentioned in a footnote, the entry would read: > Resonance frequency, 87f Write into the documents preamble \newcommand\myA{#1a} \newcommand\myB{#1b} \newcommand\myF{#1f} And in the text insert the special entries with the | operator: \index{frequency|myF} Then it will get the f in the index as suffix. Or \index{frequency|myB} for 1b Herbert > That would be much more elegant and I could save space in my already > extensive subject index. > The question now arises as to how I can achieve this in my LYX > register. (I have already read the instructions for the text processor > Makeindex to get an idea of ??how I could implement this change in my > subject index. Unfortunately, the instructions are a bit too cryptic > for me, because it is not clear what tags and what variables are. > Apart from that, I also use the texindy processor ... ) > Please for your help! > Greetings Andreas > -- Message: 2 Date: Tue, 24 Aug 2021 14:49:51 +0200 From: Herbert Voss To: lyx-users@lists.lyx.org Subject: Re: Format Page number references Message-ID: <1b33b8c3-5aa6-706d-24f9-db74a27ef...@fu-berlin.de> Content-Type: text/plain; charset=utf-8; format=flowed Am 24.08.21 um 14:47 schrieb Herbert Voss: > > > Am 22.08.21 um 09:37 schrieb Andreas Plihal: >> Hi! >> Maybe I formulated my problem too vaguely, so I'll try again, but >> this time in more detail: >> I have already established an extensive subject index in my KOMA >> book. In order to enforce the DUDEN order in it, I was advised to use >> the index processor texindy. I use that and it works well. >> There are numerous examples, exercises, and footnotes in my book that >> contain a number of key words. If the keyword "resonance frequency" >> is mentioned in a task, it has been shown in the subject index as >> follows: >> example >> Resonance frequency, 87 >> Now an index creator has advised me to add only one letter to the >> page number in the subject index instead of the keywords "example", >> "exercise"or "footnote" in such (numerous!) Cases. In relation to my >> above example, the entry in the subject register should look like this: >> Resonance frequency, 87b >> If the same keyword were mentioned in a footnote, the entry