Re: [update] Re: fancyhdr! It's working. BUT 3 questions ...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It would appear that on Jan 23, Helge Hafting did say: \jobname is your friend then. :-) Thank you! # ##_if_you'd_prefer_an_clearsigned_.asc_text_file_of_this_## ##message_as_an_mime_encoded_attachment,just_ask_me_while__## ##it's_STILL_IN_my_outbox_folder_._._._=+=+=+=+=+=+=+=+;-)_## #gpg sig for: Joe (theWordy) Philbrook DSA key ID 0x6C2163DE# # You can find my public gpg key at http://pgpkeys.mit.edu/ # # -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFFu6APRZ/61mwhY94RAtLmAJwJKIiKWs9VAhPBkUBW2EoekYimMgCdE4EB C1YcTF18fFDwt2RY3vP1OQQ= =RzLh -END PGP SIGNATURE- -- | --- ___ | 0 - Joe (theWordy) Philbrook | ^ J(tWdy)P |~\___/~ [EMAIL PROTECTED]
Re: [update] Re: fancyhdr! It's working. BUT 3 questions ...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It would appear that on Jan 23, Helge Hafting did say: \jobname is your friend then. :-) Thank you! # ##_if_you'd_prefer_an_clearsigned_.asc_text_file_of_this_## ##message_as_an_mime_encoded_attachment,just_ask_me_while__## ##it's_STILL_IN_my_outbox_folder_._._._=+=+=+=+=+=+=+=+;-)_## #gpg sig for: Joe (theWordy) Philbrook DSA key ID 0x6C2163DE# # You can find my public gpg key at http://pgpkeys.mit.edu/ # # -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFFu6APRZ/61mwhY94RAtLmAJwJKIiKWs9VAhPBkUBW2EoekYimMgCdE4EB C1YcTF18fFDwt2RY3vP1OQQ= =RzLh -END PGP SIGNATURE- -- | --- ___ | 0 - Joe (theWordy) Philbrook | ^ J(tWdy)P |~\___/~ [EMAIL PROTECTED]
Re: [update] Re: fancyhdr! It's working. BUT 3 questions ...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It would appear that on Jan 23, Helge Hafting did say: > > \jobname is your friend then. :-) > Thank you! # ##_if_you'd_prefer_an_clearsigned_".asc"_text_file_of_this_## ##message_as_an_mime_encoded_attachment,just_ask_me_while__## ##it's_STILL_IN_my_outbox_folder_._._._=+=+=+=+=+=+=+=+;-)_## #gpg sig for: Joe (theWordy) Philbrook DSA key ID 0x6C2163DE# # You can find my public gpg key at http://pgpkeys.mit.edu/ # # -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFFu6APRZ/61mwhY94RAtLmAJwJKIiKWs9VAhPBkUBW2EoekYimMgCdE4EB C1YcTF18fFDwt2RY3vP1OQQ= =RzLh -END PGP SIGNATURE- -- | --- ___ | <0> <-> Joe (theWordy) Philbrook | ^ J(tWdy)P |~\___/~ <<[EMAIL PROTECTED]>>
Re: [update] Re: fancyhdr! It's working. BUT 3 questions ...
Joe(theWordy)Philbrook wrote: Well for the simple file name WhatEver.tex is just as good as WhatEver.lyx... And I suppose that if I really want a file's actual pathname to print I could just manually insert it between the curly-braces of something like \lhead{}. I'd just have to remember to update it if I moved the file. \jobname is your friend then. :-) Helge Hafting
Re: [update] Re: fancyhdr! It's working. BUT 3 questions ...
Joe(theWordy)Philbrook wrote: Well for the simple file name WhatEver.tex is just as good as WhatEver.lyx... And I suppose that if I really want a file's actual pathname to print I could just manually insert it between the curly-braces of something like \lhead{}. I'd just have to remember to update it if I moved the file. \jobname is your friend then. :-) Helge Hafting
Re: [update] Re: fancyhdr! It's working. BUT 3 questions ...
Joe(theWordy)Philbrook wrote: Well for the simple file name "WhatEver.tex" is just as good as "WhatEver.lyx"... And I suppose that if I really want a file's actual pathname to print I could just manually insert it between the curly-braces of something like \lhead{}. I'd just have to remember to update it if I moved the file. \jobname is your friend then. :-) Helge Hafting
Re: [update] Re: fancyhdr! It's working. BUT 3 questions ...
Joe(theWordy)Philbrook wrote: That makes sense I guess. But all I want to do is to learn to use LyX instead of Ooffice for most of my writing. I'm not really planing on becoming a LaTeX expert. Still I suppose I might use google to find an online manual I could look at for clues now and then. No need to become an expert. A manual will contain the easy stuff too - feel free to skip the hard parts. Often-used stuff, like page number, chapter number/name and so on tends to be easy enough. If you don't find a handy list anywhere, make your own as you collect tips. :-) Now, if you want some specific thing in your header, such as date, filename, or the page number in roman numerals - just ask. Actually I wanted the list of possibles to see if it gave me any ideas. Well - anything goes. Some things may be harder than others, buit there are few limits on what you _can_ get somehow. Anything you can refer to, anything that is automatically numbered or named can be brought out in the headers if you wish. That's why I suggest that you ask - if you miss something your previous word processor could put in the header for you. Speaking of which you just gave me one. At least I think you did grin. When you say filename, do you mean the full pathname of the .lyx file such as /home/jtwdyp/com/lyxSTUFF/ToJim.lyx or just ToJim.lyx??? Wait let me guess, there is probably a latex command form for both the simple filename and the pathname, right? Unfortunately, you can only get the name of the latex file. Now, this is the same as the name of the lyx file, except that it ends in .tex instead of .lyx. So it is still useful. The way lyx manages files means that the path only is the path to the temporary directory lyx uses for conversions and processing. It is done this way because latex makes tons of little files while running - it is nice not having to clean up all of them in a careful way. The entire temporary directory is deleted when you close lyx, which is easier to do. Adding a filename reference to lyx might be useful - but it can't happen until 1.6 as version 1.5 is in feature freeze right now. Helge Hafting
Re: [update] Re: fancyhdr! It's working. BUT 3 questions ...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It would appear that on Jan 15, Helge Hafting did say: Joe(theWordy)Philbrook wrote: Wait let me guess, there is probably a latex command form for both the simple filename and the pathname, right? Unfortunately, you can only get the name of the latex file. Now, this is the same as the name of the lyx file, except that it ends in .tex instead of .lyx. So it is still useful. Well for the simple file name WhatEver.tex is just as good as WhatEver.lyx... And I suppose that if I really want a file's actual pathname to print I could just manually insert it between the curly-braces of something like \lhead{}. I'd just have to remember to update it if I moved the file. # ##_if_you'd_prefer_an_clearsigned_.asc_text_file_of_this_## ##message_as_an_mime_encoded_attachment,just_ask_me_while__## ##it's_STILL_IN_my_outbox_folder_._._._=+=+=+=+=+=+=+=+;-)_## #gpg sig for: Joe (theWordy) Philbrook DSA key ID 0x6C2163DE# # You can find my public gpg key at http://pgpkeys.mit.edu/ # # -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFFq8fwRZ/61mwhY94RAowZAJ47LIezlLnjsyr8JYcP8CsbCT/g6ACfWIAP 92sq3NVD1ASpR5FMYKhAUwQ= =5m2Q -END PGP SIGNATURE- -- | --- ___ | 0 - Joe (theWordy) Philbrook | ^ J(tWdy)P |~\___/~ [EMAIL PROTECTED]
Re: [update] Re: fancyhdr! It's working. BUT 3 questions ...
Joe(theWordy)Philbrook wrote: That makes sense I guess. But all I want to do is to learn to use LyX instead of Ooffice for most of my writing. I'm not really planing on becoming a LaTeX expert. Still I suppose I might use google to find an online manual I could look at for clues now and then. No need to become an expert. A manual will contain the easy stuff too - feel free to skip the hard parts. Often-used stuff, like page number, chapter number/name and so on tends to be easy enough. If you don't find a handy list anywhere, make your own as you collect tips. :-) Now, if you want some specific thing in your header, such as date, filename, or the page number in roman numerals - just ask. Actually I wanted the list of possibles to see if it gave me any ideas. Well - anything goes. Some things may be harder than others, buit there are few limits on what you _can_ get somehow. Anything you can refer to, anything that is automatically numbered or named can be brought out in the headers if you wish. That's why I suggest that you ask - if you miss something your previous word processor could put in the header for you. Speaking of which you just gave me one. At least I think you did grin. When you say filename, do you mean the full pathname of the .lyx file such as /home/jtwdyp/com/lyxSTUFF/ToJim.lyx or just ToJim.lyx??? Wait let me guess, there is probably a latex command form for both the simple filename and the pathname, right? Unfortunately, you can only get the name of the latex file. Now, this is the same as the name of the lyx file, except that it ends in .tex instead of .lyx. So it is still useful. The way lyx manages files means that the path only is the path to the temporary directory lyx uses for conversions and processing. It is done this way because latex makes tons of little files while running - it is nice not having to clean up all of them in a careful way. The entire temporary directory is deleted when you close lyx, which is easier to do. Adding a filename reference to lyx might be useful - but it can't happen until 1.6 as version 1.5 is in feature freeze right now. Helge Hafting
Re: [update] Re: fancyhdr! It's working. BUT 3 questions ...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It would appear that on Jan 15, Helge Hafting did say: Joe(theWordy)Philbrook wrote: Wait let me guess, there is probably a latex command form for both the simple filename and the pathname, right? Unfortunately, you can only get the name of the latex file. Now, this is the same as the name of the lyx file, except that it ends in .tex instead of .lyx. So it is still useful. Well for the simple file name WhatEver.tex is just as good as WhatEver.lyx... And I suppose that if I really want a file's actual pathname to print I could just manually insert it between the curly-braces of something like \lhead{}. I'd just have to remember to update it if I moved the file. # ##_if_you'd_prefer_an_clearsigned_.asc_text_file_of_this_## ##message_as_an_mime_encoded_attachment,just_ask_me_while__## ##it's_STILL_IN_my_outbox_folder_._._._=+=+=+=+=+=+=+=+;-)_## #gpg sig for: Joe (theWordy) Philbrook DSA key ID 0x6C2163DE# # You can find my public gpg key at http://pgpkeys.mit.edu/ # # -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFFq8fwRZ/61mwhY94RAowZAJ47LIezlLnjsyr8JYcP8CsbCT/g6ACfWIAP 92sq3NVD1ASpR5FMYKhAUwQ= =5m2Q -END PGP SIGNATURE- -- | --- ___ | 0 - Joe (theWordy) Philbrook | ^ J(tWdy)P |~\___/~ [EMAIL PROTECTED]
Re: [update] Re: fancyhdr! It's working. BUT 3 questions ...
Joe(theWordy)Philbrook wrote: That makes sense I guess. But all I want to do is to learn to use LyX instead of Ooffice for most of my writing. I'm not really planing on becoming a LaTeX expert. Still I suppose I might use google to find an online manual I could look at for clues now and then. No need to become an expert. A manual will contain the easy stuff too - feel free to skip the hard parts. Often-used stuff, like page number, chapter number/name and so on tends to be easy enough. If you don't find a handy list anywhere, make your own as you collect tips. :-) Now, if you want some specific thing in your header, such as date, filename, or the page number in roman numerals - just ask. Actually I wanted the list of possibles to see if it gave me any ideas. Well - anything goes. Some things may be harder than others, buit there are few limits on what you _can_ get somehow. Anything you can refer to, anything that is automatically numbered or named can be brought out in the headers if you wish. That's why I suggest that you ask - if you miss something your previous word processor could put in the header for you. Speaking of which you just gave me one. At least I think you did . When you say filename, do you mean the full pathname of the .lyx file such as "/home/jtwdyp/com/lyxSTUFF/ToJim.lyx" or just "ToJim.lyx"??? Wait let me guess, there is probably a latex command form for both the simple filename and the pathname, right? Unfortunately, you can only get the name of the latex file. Now, this is the same as the name of the lyx file, except that it ends in .tex instead of .lyx. So it is still useful. The way lyx manages files means that the path only is the path to the temporary directory lyx uses for conversions and processing. It is done this way because latex makes tons of little files while running - it is nice not having to clean up all of them in a careful way. The entire temporary directory is deleted when you close lyx, which is easier to do. Adding a filename reference to lyx might be useful - but it can't happen until 1.6 as version 1.5 is in feature freeze right now. Helge Hafting
Re: [update] Re: fancyhdr! It's working. BUT 3 questions ...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It would appear that on Jan 15, Helge Hafting did say: > Joe(theWordy)Philbrook wrote: > > Wait let me guess, there is probably a latex command form for both the > > simple filename and the pathname, right? > Unfortunately, you can only get the name of the latex file. > Now, this is the same as the name of the lyx file, except > that it ends in .tex instead of .lyx. So it is still useful. Well for the simple file name "WhatEver.tex" is just as good as "WhatEver.lyx"... And I suppose that if I really want a file's actual pathname to print I could just manually insert it between the curly-braces of something like \lhead{}. I'd just have to remember to update it if I moved the file. # ##_if_you'd_prefer_an_clearsigned_".asc"_text_file_of_this_## ##message_as_an_mime_encoded_attachment,just_ask_me_while__## ##it's_STILL_IN_my_outbox_folder_._._._=+=+=+=+=+=+=+=+;-)_## #gpg sig for: Joe (theWordy) Philbrook DSA key ID 0x6C2163DE# # You can find my public gpg key at http://pgpkeys.mit.edu/ # # -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFFq8fwRZ/61mwhY94RAowZAJ47LIezlLnjsyr8JYcP8CsbCT/g6ACfWIAP 92sq3NVD1ASpR5FMYKhAUwQ= =5m2Q -END PGP SIGNATURE- -- | --- ___ | <0> <-> Joe (theWordy) Philbrook | ^ J(tWdy)P |~\___/~ <<[EMAIL PROTECTED]>>
Re: [update] Re: fancyhdr! It's working. BUT 3 questions ...
Joe(theWordy)Philbrook wrote: Still haven't found a useful list yet But it was during this search that I tripped over instructions to use the TeX icon to insert ERTs so I'm glad I went there... I'd still like to find a good index/list of values that can be inserted to the header, footer (and/or I suspect inside the document body via ERTs) But you've given me enough to make me sure that I can use lyx for most of my writing needs. Now I can focus mostly on my writing, confident that I'll like letting lyx take care of MOST of the typesetting details... Well, I don't know any such lists. The problem is, you can put just about any latex command in the header. (Well, a page break would be really stupid, but anything that produce a small amount of output would work in a header.) There are thousands of latex commands, so it is hard to make a complete list. That's why I suggested a latex manual, they list everything and you can pick what you want. Latex really is a programming language aimed at typesetting. There are a few good manuals. You can look up anything, from simple stuff like getting a page number or section name in the header, all the way to complicated stuff like programming an entire new latex add-on package. Now, if you want some specific thing in your header, such as date, filename, or the page number in roman numerals - just ask. Helge Hafting
Re: [update] Re: fancyhdr! It's working. BUT 3 questions ...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It would appear that on Jan 11, Helge Hafting did say: Joe(theWordy)Philbrook wrote: Still haven't found a useful list yet But ... - - - - - - - - - s n i p - - - - - - - - - - Well, I don't know any such lists. The problem is, you can put just about any latex command in the header. (Well, a page break would be really stupid, but anything that produce a small amount of output would work in a header.) There are thousands of latex commands, so it is hard to make a complete list. That's why I suggested a latex manual, they list everything and you can pick what you want. Latex really is a programming language aimed at typesetting. There are a few good manuals. You can look up anything, from simple stuff like getting a page number or section name in the header, all the way to complicated stuff like programming an entire new latex add-on package. That makes sense I guess. But all I want to do is to learn to use LyX instead of Ooffice for most of my writing. I'm not really planing on becoming a LaTeX expert. Still I suppose I might use google to find an online manual I could look at for clues now and then. Now, if you want some specific thing in your header, such as date, filename, or the page number in roman numerals - just ask. Actually I wanted the list of possibles to see if it gave me any ideas. Speaking of which you just gave me one. At least I think you did grin. When you say filename, do you mean the full pathname of the .lyx file such as /home/jtwdyp/com/lyxSTUFF/ToJim.lyx or just ToJim.lyx??? Wait let me guess, there is probably a latex command form for both the simple filename and the pathname, right? In any case. Thanks again for all the great help you so kindly gave me. For even if I never learn any more of the underlying LaTeX, I now have enough to make LyX as useful for personal correspondence as it already was for more formal uses. This ensures that I'll use it enough to get comfortable with it. # ##_if_you'd_prefer_an_clearsigned_.asc_text_file_of_this_## ##message_as_an_mime_encoded_attachment,just_ask_me_while__## ##it's_STILL_IN_my_outbox_folder_._._._=+=+=+=+=+=+=+=+;-)_## #gpg sig for: Joe (theWordy) Philbrook DSA key ID 0x6C2163DE# # You can find my public gpg key at http://pgpkeys.mit.edu/ # # -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFFpsrhRZ/61mwhY94RAhXXAKCHK+4WlNNxIf0nSXK3+s6MI52AwACeNX3p GzVkPe0dE13FWkroYSggyRk= =ibgg -END PGP SIGNATURE- -- | --- ___ | 0 - Joe (theWordy) Philbrook | ^ J(tWdy)P |~\___/~ [EMAIL PROTECTED]
Re: [update] Re: fancyhdr! It's working. BUT 3 questions ...
Joe(theWordy)Philbrook wrote: Still haven't found a useful list yet But it was during this search that I tripped over instructions to use the TeX icon to insert ERTs so I'm glad I went there... I'd still like to find a good index/list of values that can be inserted to the header, footer (and/or I suspect inside the document body via ERTs) But you've given me enough to make me sure that I can use lyx for most of my writing needs. Now I can focus mostly on my writing, confident that I'll like letting lyx take care of MOST of the typesetting details... Well, I don't know any such lists. The problem is, you can put just about any latex command in the header. (Well, a page break would be really stupid, but anything that produce a small amount of output would work in a header.) There are thousands of latex commands, so it is hard to make a complete list. That's why I suggested a latex manual, they list everything and you can pick what you want. Latex really is a programming language aimed at typesetting. There are a few good manuals. You can look up anything, from simple stuff like getting a page number or section name in the header, all the way to complicated stuff like programming an entire new latex add-on package. Now, if you want some specific thing in your header, such as date, filename, or the page number in roman numerals - just ask. Helge Hafting
Re: [update] Re: fancyhdr! It's working. BUT 3 questions ...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It would appear that on Jan 11, Helge Hafting did say: Joe(theWordy)Philbrook wrote: Still haven't found a useful list yet But ... - - - - - - - - - s n i p - - - - - - - - - - Well, I don't know any such lists. The problem is, you can put just about any latex command in the header. (Well, a page break would be really stupid, but anything that produce a small amount of output would work in a header.) There are thousands of latex commands, so it is hard to make a complete list. That's why I suggested a latex manual, they list everything and you can pick what you want. Latex really is a programming language aimed at typesetting. There are a few good manuals. You can look up anything, from simple stuff like getting a page number or section name in the header, all the way to complicated stuff like programming an entire new latex add-on package. That makes sense I guess. But all I want to do is to learn to use LyX instead of Ooffice for most of my writing. I'm not really planing on becoming a LaTeX expert. Still I suppose I might use google to find an online manual I could look at for clues now and then. Now, if you want some specific thing in your header, such as date, filename, or the page number in roman numerals - just ask. Actually I wanted the list of possibles to see if it gave me any ideas. Speaking of which you just gave me one. At least I think you did grin. When you say filename, do you mean the full pathname of the .lyx file such as /home/jtwdyp/com/lyxSTUFF/ToJim.lyx or just ToJim.lyx??? Wait let me guess, there is probably a latex command form for both the simple filename and the pathname, right? In any case. Thanks again for all the great help you so kindly gave me. For even if I never learn any more of the underlying LaTeX, I now have enough to make LyX as useful for personal correspondence as it already was for more formal uses. This ensures that I'll use it enough to get comfortable with it. # ##_if_you'd_prefer_an_clearsigned_.asc_text_file_of_this_## ##message_as_an_mime_encoded_attachment,just_ask_me_while__## ##it's_STILL_IN_my_outbox_folder_._._._=+=+=+=+=+=+=+=+;-)_## #gpg sig for: Joe (theWordy) Philbrook DSA key ID 0x6C2163DE# # You can find my public gpg key at http://pgpkeys.mit.edu/ # # -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFFpsrhRZ/61mwhY94RAhXXAKCHK+4WlNNxIf0nSXK3+s6MI52AwACeNX3p GzVkPe0dE13FWkroYSggyRk= =ibgg -END PGP SIGNATURE- -- | --- ___ | 0 - Joe (theWordy) Philbrook | ^ J(tWdy)P |~\___/~ [EMAIL PROTECTED]
Re: [update] Re: fancyhdr! It's working. BUT 3 questions ...
Joe(theWordy)Philbrook wrote: Still haven't found a useful "list" yet But it was during this search that I tripped over instructions to use the TeX icon to insert ERTs so I'm glad I went there... I'd still like to find a good index/list of values that can be inserted to the header, footer (and/or I suspect inside the document body via ERTs) But you've given me enough to make me sure that I can use lyx for most of my writing needs. Now I can focus mostly on my writing, confident that I'll like letting lyx take care of MOST of the typesetting details... Well, I don't know any such lists. The problem is, you can put just about any latex command in the header. (Well, a page break would be really stupid, but anything that produce a "small" amount of output would work in a header.) There are thousands of latex commands, so it is hard to make a complete list. That's why I suggested a latex manual, they list everything and you can pick what you want. Latex really is a programming language aimed at typesetting. There are a few good manuals. You can look up anything, from simple stuff like getting a page number or section name in the header, all the way to complicated stuff like programming an entire new latex add-on package. Now, if you want some specific thing in your header, such as date, filename, or the page number in roman numerals - just ask. Helge Hafting
Re: [update] Re: fancyhdr! It's working. BUT 3 questions ...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It would appear that on Jan 11, Helge Hafting did say: > Joe(theWordy)Philbrook wrote: > > Still haven't found a useful "list" yet But ... - - - - - - - - -< s n i p >- - - - - - - - - - > Well, I don't know any such lists. The problem is, you can put > just about any latex command in the header. (Well, a page > break would be really stupid, but anything that produce > a "small" amount of output would work in a header.) > There are thousands of latex commands, so it is hard to make > a complete list. That's why I suggested a latex manual, > they list everything and you can pick what you want. > Latex really is a programming language aimed at typesetting. > There are a few good manuals. You can look up anything, > from simple stuff like getting a page number or section name > in the header, all the way to complicated stuff like > programming an entire new latex add-on package. That makes sense I guess. But all I want to do is to learn to use LyX instead of Ooffice for most of my writing. I'm not really planing on becoming a LaTeX expert. Still I suppose I might use google to find an online manual I could look at for clues now and then. > Now, if you want some specific thing in your header, such as > date, filename, or the page number in roman numerals - just ask. Actually I wanted the list of possibles to see if it gave me any ideas. Speaking of which you just gave me one. At least I think you did . When you say filename, do you mean the full pathname of the .lyx file such as "/home/jtwdyp/com/lyxSTUFF/ToJim.lyx" or just "ToJim.lyx"??? Wait let me guess, there is probably a latex command form for both the simple filename and the pathname, right? In any case. Thanks again for all the great help you so kindly gave me. For even if I never learn any more of the underlying LaTeX, I now have enough to make LyX as useful for personal correspondence as it already was for more formal uses. This ensures that I'll use it enough to get comfortable with it. # ##_if_you'd_prefer_an_clearsigned_".asc"_text_file_of_this_## ##message_as_an_mime_encoded_attachment,just_ask_me_while__## ##it's_STILL_IN_my_outbox_folder_._._._=+=+=+=+=+=+=+=+;-)_## #gpg sig for: Joe (theWordy) Philbrook DSA key ID 0x6C2163DE# # You can find my public gpg key at http://pgpkeys.mit.edu/ # # -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFFpsrhRZ/61mwhY94RAhXXAKCHK+4WlNNxIf0nSXK3+s6MI52AwACeNX3p GzVkPe0dE13FWkroYSggyRk= =ibgg -END PGP SIGNATURE- -- | --- ___ | <0> <-> Joe (theWordy) Philbrook | ^ J(tWdy)P |~\___/~ <<[EMAIL PROTECTED]>>
Re: fancyhdr! It's working. BUT 3 questions ...
Joe(theWordy)Philbrook wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It would appear that on Jan 8, Helge Hafting did say: Joe(theWordy)Philbrook wrote: Question 1 of 3 Why is the header/footer suppressed on page 1? That is how can I get headers and/or footers to output on the first page??? Because you changed the page style for normal pages, and the first page isn't normal in this case. Yeah that figures... Usually, the first page is either a chapter page (if your document style support chapters) or a title page. Lyx does not suppot changing the chapter/title page styles directly. You may use ERT to set \chapterpagestyle to fancy if you wish. Note that some document styles don't use chapterpagestyle or titlepagestyle, they have other ways. Usually, \thispagestyle{fancy} will do the trick though. Make sure you put this ERT somewhere on the page you want changed. Thanks for the prompt reply and the informative suggestion. However I get an error message when I try this. As it happens the document I used to try to do this with says: \textclass letter But when I try to insert either chapterpagestyle or thispagestyle by, for example, changing this: snip \layout Opening Dear Jim, \layout Standard Well Hello Jim. snip To this: snip \layout Opening Dear Jim, \layout Standard \thispagestyle{fancy} Well Hello Jim. snip What I get on opening the doc with lyx is An error pop-up that says: Textclass Loading Error! Are you changing the .lyx file directly with some kind of text editor? You are not supposed to do that! Open your working file with lyx. Place the cursor somewhere on the first page. Use the menu Insert-Tex Code. (Or click the toolbar button with the word TeX in red.) You should get a little box with red borders. Inside this box, type \thispagestyle{fancy} Then move the cursor out of the box so you don't type anything else there. Now try view-DVI or view-pdf, see if you get the page layout you want. I get a letter with a fancy first page. I have attached an example file, but be warned that it is made with a develpoment version of lyx. That's all I have right now. Encountered unknown token When reading [filename] Since the only place in my document's control codes I see braces {} I also tried: snip \thispagestyle fancy snip With the same results (sigh!) Any other suggestions? Never mess with the .lyx file unless you know what you do. Latex commands either go in boxes of their own (insert-tex code) or sometimes in the document preamble which you find in the document settings dialog. Helge Hafting fancyletter.lyx Description: application/lyx
[update] Re: fancyhdr! It's working. BUT 3 questions ...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It would appear that on Jan 8, Helge Hafting did say: Joe(theWordy)Philbrook wrote: Question 1 of 3 Why is the header/footer suppressed on page 1? That is how can I get headers and/or footers to output on the first page??? - - - - - - - - - s n i p - - - - - - - - - - Usually, \thispagestyle{fancy} will do the trick though. Make sure you put this ERT somewhere on the page you want changed. Thanks for the prompt reply and the informative suggestion. However I get an error message when I try this. - - - - - - - - - s n i p - - - - - - - - - - Ok, now I feel stupid: I'll confess I was trying to insert it to the filename.lyx file with vim... {Possible if I understood how, but...} I strongly dislike controlling my software via the mouse so I never noticed that the TeX icon had help text referring to the unfamiliar term Evil Red Text. And so didn't yet understand the function of M-i t or C-l key bindings. Which I'll admit is a lot easier than using vim to put all this: \begin_inset ERT status Open \layout Standard \backslash thispagestyle{fancy} \end_inset Just to get this ERT: \thispagestyle{fancy} - - - - - - - - - s n i p - - - - - - - - - - Question 3 of 3 Is there a list of {key words?} that can be used to insert values into header/footers such as /thepage current output page number /today Today's date etc... Sure, any latex reference manual should do. Also, search the web. The LyX homepage have some pointers. So using the acronym you used above as a guide, I'm guessing I might find what I'm looking for if I google: latex ERT Still haven't found a useful list yet But it was during this search that I tripped over instructions to use the TeX icon to insert ERTs so I'm glad I went there... I'd still like to find a good index/list of values that can be inserted to the header, footer (and/or I suspect inside the document body via ERTs) But you've given me enough to make me sure that I can use lyx for most of my writing needs. Now I can focus mostly on my writing, confident that I'll like letting lyx take care of MOST of the typesetting details... Thanks again Helge! Joe # ##_if_you'd_prefer_an_clearsigned_.asc_text_file_of_this_## ##message_as_an_mime_encoded_attachment,just_ask_me_while__## ##it's_STILL_IN_my_outbox_folder_._._._=+=+=+=+=+=+=+=+;-)_## #gpg sig for: Joe (theWordy) Philbrook DSA key ID 0x6C2163DE# # You can find my public gpg key at http://pgpkeys.mit.edu/ # # -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFFpZOxRZ/61mwhY94RArQaAJ9JdXEpFeGHdB3IuGHZLvprHhW5EACfai/A nYZ4OVP5vH65nJZQ8s+V7x4= =j96d -END PGP SIGNATURE- -- |^^^ ^^^ |o oGuess I just didn't know. |^ Joseph (the Wordy) Philbrook | ___ J(tWdy)P |[EMAIL PROTECTED] | sigh
Re: fancyhdr! It's working. BUT 3 questions ...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It would appear that on Jan 10, Helge Hafting did say: Are you changing the .lyx file directly with some kind of text editor? You are not supposed to do that! - - - - - - - - - s n i p - - - - - - - - - - Never mess with the .lyx file unless you know what you do. Latex commands either go in boxes of their own (insert-tex code) or sometimes in the document preamble which you find in the document settings dialog. Good deductive reasoning, and as I now know, very good advice... Actually I said something to that effect in my update reply which I sent before I caught up on downloading my mailboxes... Thanks again! # ##_if_you'd_prefer_an_clearsigned_.asc_text_file_of_this_## ##message_as_an_mime_encoded_attachment,just_ask_me_while__## ##it's_STILL_IN_my_outbox_folder_._._._=+=+=+=+=+=+=+=+;-)_## #gpg sig for: Joe (theWordy) Philbrook DSA key ID 0x6C2163DE# # You can find my public gpg key at http://pgpkeys.mit.edu/ # # -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFFpZtkRZ/61mwhY94RAtuiAKDJ5tKnvbPZy1BUPDOAcf2D2bh6ywCgh8iO Wj+LZOfo08t7ecoArVmjIK0= =Uu1U -END PGP SIGNATURE- -- | --- ___ | 0 - Joe (theWordy) Philbrook | ^ J(tWdy)P |~\___/~ [EMAIL PROTECTED] If I actually knew everything, then I'd know I was an idiot...
Re: fancyhdr! It's working. BUT 3 questions ...
Joe(theWordy)Philbrook wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It would appear that on Jan 8, Helge Hafting did say: Joe(theWordy)Philbrook wrote: Question 1 of 3 Why is the header/footer suppressed on page 1? That is how can I get headers and/or footers to output on the first page??? Because you changed the page style for normal pages, and the first page isn't normal in this case. Yeah that figures... Usually, the first page is either a chapter page (if your document style support chapters) or a title page. Lyx does not suppot changing the chapter/title page styles directly. You may use ERT to set \chapterpagestyle to fancy if you wish. Note that some document styles don't use chapterpagestyle or titlepagestyle, they have other ways. Usually, \thispagestyle{fancy} will do the trick though. Make sure you put this ERT somewhere on the page you want changed. Thanks for the prompt reply and the informative suggestion. However I get an error message when I try this. As it happens the document I used to try to do this with says: \textclass letter But when I try to insert either chapterpagestyle or thispagestyle by, for example, changing this: snip \layout Opening Dear Jim, \layout Standard Well Hello Jim. snip To this: snip \layout Opening Dear Jim, \layout Standard \thispagestyle{fancy} Well Hello Jim. snip What I get on opening the doc with lyx is An error pop-up that says: Textclass Loading Error! Are you changing the .lyx file directly with some kind of text editor? You are not supposed to do that! Open your working file with lyx. Place the cursor somewhere on the first page. Use the menu Insert-Tex Code. (Or click the toolbar button with the word TeX in red.) You should get a little box with red borders. Inside this box, type \thispagestyle{fancy} Then move the cursor out of the box so you don't type anything else there. Now try view-DVI or view-pdf, see if you get the page layout you want. I get a letter with a fancy first page. I have attached an example file, but be warned that it is made with a develpoment version of lyx. That's all I have right now. Encountered unknown token When reading [filename] Since the only place in my document's control codes I see braces {} I also tried: snip \thispagestyle fancy snip With the same results (sigh!) Any other suggestions? Never mess with the .lyx file unless you know what you do. Latex commands either go in boxes of their own (insert-tex code) or sometimes in the document preamble which you find in the document settings dialog. Helge Hafting fancyletter.lyx Description: application/lyx
[update] Re: fancyhdr! It's working. BUT 3 questions ...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It would appear that on Jan 8, Helge Hafting did say: Joe(theWordy)Philbrook wrote: Question 1 of 3 Why is the header/footer suppressed on page 1? That is how can I get headers and/or footers to output on the first page??? - - - - - - - - - s n i p - - - - - - - - - - Usually, \thispagestyle{fancy} will do the trick though. Make sure you put this ERT somewhere on the page you want changed. Thanks for the prompt reply and the informative suggestion. However I get an error message when I try this. - - - - - - - - - s n i p - - - - - - - - - - Ok, now I feel stupid: I'll confess I was trying to insert it to the filename.lyx file with vim... {Possible if I understood how, but...} I strongly dislike controlling my software via the mouse so I never noticed that the TeX icon had help text referring to the unfamiliar term Evil Red Text. And so didn't yet understand the function of M-i t or C-l key bindings. Which I'll admit is a lot easier than using vim to put all this: \begin_inset ERT status Open \layout Standard \backslash thispagestyle{fancy} \end_inset Just to get this ERT: \thispagestyle{fancy} - - - - - - - - - s n i p - - - - - - - - - - Question 3 of 3 Is there a list of {key words?} that can be used to insert values into header/footers such as /thepage current output page number /today Today's date etc... Sure, any latex reference manual should do. Also, search the web. The LyX homepage have some pointers. So using the acronym you used above as a guide, I'm guessing I might find what I'm looking for if I google: latex ERT Still haven't found a useful list yet But it was during this search that I tripped over instructions to use the TeX icon to insert ERTs so I'm glad I went there... I'd still like to find a good index/list of values that can be inserted to the header, footer (and/or I suspect inside the document body via ERTs) But you've given me enough to make me sure that I can use lyx for most of my writing needs. Now I can focus mostly on my writing, confident that I'll like letting lyx take care of MOST of the typesetting details... Thanks again Helge! Joe # ##_if_you'd_prefer_an_clearsigned_.asc_text_file_of_this_## ##message_as_an_mime_encoded_attachment,just_ask_me_while__## ##it's_STILL_IN_my_outbox_folder_._._._=+=+=+=+=+=+=+=+;-)_## #gpg sig for: Joe (theWordy) Philbrook DSA key ID 0x6C2163DE# # You can find my public gpg key at http://pgpkeys.mit.edu/ # # -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFFpZOxRZ/61mwhY94RArQaAJ9JdXEpFeGHdB3IuGHZLvprHhW5EACfai/A nYZ4OVP5vH65nJZQ8s+V7x4= =j96d -END PGP SIGNATURE- -- |^^^ ^^^ |o oGuess I just didn't know. |^ Joseph (the Wordy) Philbrook | ___ J(tWdy)P |[EMAIL PROTECTED] | sigh
Re: fancyhdr! It's working. BUT 3 questions ...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It would appear that on Jan 10, Helge Hafting did say: Are you changing the .lyx file directly with some kind of text editor? You are not supposed to do that! - - - - - - - - - s n i p - - - - - - - - - - Never mess with the .lyx file unless you know what you do. Latex commands either go in boxes of their own (insert-tex code) or sometimes in the document preamble which you find in the document settings dialog. Good deductive reasoning, and as I now know, very good advice... Actually I said something to that effect in my update reply which I sent before I caught up on downloading my mailboxes... Thanks again! # ##_if_you'd_prefer_an_clearsigned_.asc_text_file_of_this_## ##message_as_an_mime_encoded_attachment,just_ask_me_while__## ##it's_STILL_IN_my_outbox_folder_._._._=+=+=+=+=+=+=+=+;-)_## #gpg sig for: Joe (theWordy) Philbrook DSA key ID 0x6C2163DE# # You can find my public gpg key at http://pgpkeys.mit.edu/ # # -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFFpZtkRZ/61mwhY94RAtuiAKDJ5tKnvbPZy1BUPDOAcf2D2bh6ywCgh8iO Wj+LZOfo08t7ecoArVmjIK0= =Uu1U -END PGP SIGNATURE- -- | --- ___ | 0 - Joe (theWordy) Philbrook | ^ J(tWdy)P |~\___/~ [EMAIL PROTECTED] If I actually knew everything, then I'd know I was an idiot...
Re: fancyhdr! It's working. BUT 3 questions ...
Joe(theWordy)Philbrook wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It would appear that on Jan 8, Helge Hafting did say: Joe(theWordy)Philbrook wrote: Question 1 of 3 Why is the header/footer suppressed on page 1? That is how can I get headers and/or footers to output on the first page??? Because you changed the "page style" for normal pages, and the first page isn't normal in this case. Yeah that figures... Usually, the first page is either a chapter page (if your document style support chapters) or a title page. Lyx does not suppot changing the chapter/title page styles directly. You may use ERT to set \chapterpagestyle to fancy if you wish. Note that some document styles don't use chapterpagestyle or titlepagestyle, they have other ways. Usually, \thispagestyle{fancy} will do the trick though. Make sure you put this ERT somewhere on the page you want changed. Thanks for the prompt reply and the informative suggestion. However I get an error message when I try this. As it happens the document I used to try to do this with says: \textclass letter But when I try to insert either chapterpagestyle or thispagestyle by, for example, changing this: \layout Opening Dear Jim, \layout Standard Well Hello Jim. To this: \layout Opening Dear Jim, \layout Standard \thispagestyle{fancy} Well Hello Jim. What I get on opening the doc with lyx is An error pop-up that says: "Textclass Loading Error!" Are you changing the .lyx file directly with some kind of text editor? You are not supposed to do that! Open your working file with lyx. Place the cursor somewhere on the first page. Use the menu "Insert->Tex Code". (Or click the toolbar button with the word TeX in red.) You should get a little box with red borders. Inside this box, type \thispagestyle{fancy} Then move the cursor out of the box so you don't type anything else there. Now try "view->DVI" or "view->pdf", see if you get the page layout you want. I get a letter with a fancy first page. I have attached an example file, but be warned that it is made with a develpoment version of lyx. That's all I have right now. "Encountered unknown token When reading" [filename] Since the only place in my document's control codes I see braces "{}" I also tried: \thispagestyle fancy With the same results (sigh!) Any other suggestions? Never mess with the .lyx file unless you know what you do. Latex commands either go in boxes of their own (insert->tex code) or sometimes in the document preamble which you find in the document settings dialog. Helge Hafting fancyletter.lyx Description: application/lyx
[update] Re: fancyhdr! It's working. BUT 3 questions ...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It would appear that on Jan 8, Helge Hafting did say: > Joe(theWordy)Philbrook wrote: > > Question 1 of 3 > > > > Why is the header/footer suppressed on page 1? That is how can I get > > headers and/or footers to output on the first page??? - - - - - - - - -< s n i p >- - - - - - - - - - > Usually, \thispagestyle{fancy} will do the trick though. > Make sure you put this ERT somewhere on the page you want changed. Thanks for the prompt reply and the informative suggestion. However I get an error message when I try this. - - - - - - - - -< s n i p >- - - - - - - - - - Ok, now I feel stupid: I'll confess I was trying to insert it to the filename.lyx file with vim... {Possible if I understood how, but...} I strongly dislike controlling my software via the mouse so I never noticed that the TeX icon had help text referring to the unfamiliar term Evil Red Text. And so didn't yet understand the function of "M-i t" or "C-l" key bindings. Which I'll admit is a lot easier than using vim to put all this: \begin_inset ERT status Open \layout Standard \backslash thispagestyle{fancy} \end_inset Just to get this ERT: \thispagestyle{fancy} - - - - - - - - -< s n i p >- - - - - - - - - - > > Question 3 of 3 > > > > Is there a list of {key words?} that can be used to insert values into > > header/footers such as > > > > /thepage current output page number > > /today Today's date > > etc... > Sure, any latex reference manual should do. Also, search > the web. The LyX homepage have some pointers. So using the acronym you used above as a guide, I'm guessing I might find what I'm looking for if I google: latex ERT Still haven't found a useful "list" yet But it was during this search that I tripped over instructions to use the TeX icon to insert ERTs so I'm glad I went there... I'd still like to find a good index/list of values that can be inserted to the header, footer (and/or I suspect inside the document body via ERTs) But you've given me enough to make me sure that I can use lyx for most of my writing needs. Now I can focus mostly on my writing, confident that I'll like letting lyx take care of MOST of the typesetting details... Thanks again Helge! Joe # ##_if_you'd_prefer_an_clearsigned_".asc"_text_file_of_this_## ##message_as_an_mime_encoded_attachment,just_ask_me_while__## ##it's_STILL_IN_my_outbox_folder_._._._=+=+=+=+=+=+=+=+;-)_## #gpg sig for: Joe (theWordy) Philbrook DSA key ID 0x6C2163DE# # You can find my public gpg key at http://pgpkeys.mit.edu/ # # -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFFpZOxRZ/61mwhY94RArQaAJ9JdXEpFeGHdB3IuGHZLvprHhW5EACfai/A nYZ4OVP5vH65nJZQ8s+V7x4= =j96d -END PGP SIGNATURE- -- |^^^ ^^^ | Guess I just didn't know. |^ Joseph (the Wordy) Philbrook | ___ J(tWdy)P |<[EMAIL PROTECTED]> |
Re: fancyhdr! It's working. BUT 3 questions ...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It would appear that on Jan 10, Helge Hafting did say: Are you changing the .lyx file directly with some kind of text editor? You are not supposed to do that! - - - - - - - - -< s n i p >- - - - - - - - - - Never mess with the .lyx file unless you know what you do. Latex commands either go in boxes of their own (insert->tex code) or sometimes in the document preamble which you find in the document settings dialog. Good deductive reasoning, and as I now know, very good advice... Actually I said something to that effect in my "update" reply which I sent before I caught up on downloading my mailboxes... Thanks again! # ##_if_you'd_prefer_an_clearsigned_".asc"_text_file_of_this_## ##message_as_an_mime_encoded_attachment,just_ask_me_while__## ##it's_STILL_IN_my_outbox_folder_._._._=+=+=+=+=+=+=+=+;-)_## #gpg sig for: Joe (theWordy) Philbrook DSA key ID 0x6C2163DE# # You can find my public gpg key at http://pgpkeys.mit.edu/ # # -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFFpZtkRZ/61mwhY94RAtuiAKDJ5tKnvbPZy1BUPDOAcf2D2bh6ywCgh8iO Wj+LZOfo08t7ecoArVmjIK0= =Uu1U -END PGP SIGNATURE- -- | --- ___ | <0> <-> Joe (theWordy) Philbrook | ^ J(tWdy)P |~\___/~ <<[EMAIL PROTECTED]>> If I actually knew everything, then I'd know I was an idiot...
Re: fancyhdr! It's working. BUT 3 questions ...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It would appear that on Jan 8, Helge Hafting did say: Joe(theWordy)Philbrook wrote: Question 1 of 3 Why is the header/footer suppressed on page 1? That is how can I get headers and/or footers to output on the first page??? Because you changed the page style for normal pages, and the first page isn't normal in this case. Yeah that figures... Usually, the first page is either a chapter page (if your document style support chapters) or a title page. Lyx does not suppot changing the chapter/title page styles directly. You may use ERT to set \chapterpagestyle to fancy if you wish. Note that some document styles don't use chapterpagestyle or titlepagestyle, they have other ways. Usually, \thispagestyle{fancy} will do the trick though. Make sure you put this ERT somewhere on the page you want changed. Thanks for the prompt reply and the informative suggestion. However I get an error message when I try this. As it happens the document I used to try to do this with says: \textclass letter But when I try to insert either chapterpagestyle or thispagestyle by, for example, changing this: snip \layout Opening Dear Jim, \layout Standard Well Hello Jim. snip To this: snip \layout Opening Dear Jim, \layout Standard \thispagestyle{fancy} Well Hello Jim. snip What I get on opening the doc with lyx is An error pop-up that says: Textclass Loading Error! Encountered unknown token When reading [filename] Since the only place in my document's control codes I see braces {} I also tried: snip \thispagestyle fancy snip With the same results (sigh!) Any other suggestions? Question 2 of 3 Evidently \rhead{Page \thepage} yields: Page $currentpage But how would I get Page $currentpage of $pagecount??? That is page 1 of 3, page 2 of 3, Page 3 of 3 etc... Simple approach: put a label at the end of the document. Then, use a reference to that label for getting the last page number. There are also latex packages for doing this sort of thing, but no support in LyX. Try this in the preamble: \lhead{My pagenumber: \thepage{} of \pageref{last}} \size huge THANK YOU VERY MUCH! \size default This seams to work as long as I use the exact label name I put at the end of the document in my case that's: \lhead{My pagenumber: \thepage{} of \pageref{LastPage}} Question 3 of 3 Is there a list of {key words?} that can be used to insert values into header/footers such as /thepage current output page number /today Today's date etc... Sure, any latex reference manual should do. Also, search the web. The LyX homepage have some pointers. So using the acronym you used above as a guide, I'm guessing I might find what I'm looking for if I google: latex ERT Worth a try anyway. Thanks again! # ##_if_you'd_prefer_an_clearsigned_.asc_text_file_of_this_## ##message_as_an_mime_encoded_attachment,just_ask_me_while__## ##it's_STILL_IN_my_outbox_folder_._._._=+=+=+=+=+=+=+=+;-)_## #gpg sig for: Joe (theWordy) Philbrook DSA key ID 0x6C2163DE# # You can find my public gpg key at http://pgpkeys.mit.edu/ # # -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFFpChMRZ/61mwhY94RApo6AKCJtdqglzGj73037bNMqxhM0vv2GQCfcyS5 BqWyzhoSxjO+EDi/hBTultY= =3nu9 -END PGP SIGNATURE- -- | ~^~ ~^~ | ? ? Joe (theWordy) Philbrook | ^ J(tWdy)P |\___/ [EMAIL PROTECTED]
Re: fancyhdr! It's working. BUT 3 questions ...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It would appear that on Jan 8, Helge Hafting did say: Joe(theWordy)Philbrook wrote: Question 1 of 3 Why is the header/footer suppressed on page 1? That is how can I get headers and/or footers to output on the first page??? Because you changed the page style for normal pages, and the first page isn't normal in this case. Yeah that figures... Usually, the first page is either a chapter page (if your document style support chapters) or a title page. Lyx does not suppot changing the chapter/title page styles directly. You may use ERT to set \chapterpagestyle to fancy if you wish. Note that some document styles don't use chapterpagestyle or titlepagestyle, they have other ways. Usually, \thispagestyle{fancy} will do the trick though. Make sure you put this ERT somewhere on the page you want changed. Thanks for the prompt reply and the informative suggestion. However I get an error message when I try this. As it happens the document I used to try to do this with says: \textclass letter But when I try to insert either chapterpagestyle or thispagestyle by, for example, changing this: snip \layout Opening Dear Jim, \layout Standard Well Hello Jim. snip To this: snip \layout Opening Dear Jim, \layout Standard \thispagestyle{fancy} Well Hello Jim. snip What I get on opening the doc with lyx is An error pop-up that says: Textclass Loading Error! Encountered unknown token When reading [filename] Since the only place in my document's control codes I see braces {} I also tried: snip \thispagestyle fancy snip With the same results (sigh!) Any other suggestions? Question 2 of 3 Evidently \rhead{Page \thepage} yields: Page $currentpage But how would I get Page $currentpage of $pagecount??? That is page 1 of 3, page 2 of 3, Page 3 of 3 etc... Simple approach: put a label at the end of the document. Then, use a reference to that label for getting the last page number. There are also latex packages for doing this sort of thing, but no support in LyX. Try this in the preamble: \lhead{My pagenumber: \thepage{} of \pageref{last}} \size huge THANK YOU VERY MUCH! \size default This seams to work as long as I use the exact label name I put at the end of the document in my case that's: \lhead{My pagenumber: \thepage{} of \pageref{LastPage}} Question 3 of 3 Is there a list of {key words?} that can be used to insert values into header/footers such as /thepage current output page number /today Today's date etc... Sure, any latex reference manual should do. Also, search the web. The LyX homepage have some pointers. So using the acronym you used above as a guide, I'm guessing I might find what I'm looking for if I google: latex ERT Worth a try anyway. Thanks again! # ##_if_you'd_prefer_an_clearsigned_.asc_text_file_of_this_## ##message_as_an_mime_encoded_attachment,just_ask_me_while__## ##it's_STILL_IN_my_outbox_folder_._._._=+=+=+=+=+=+=+=+;-)_## #gpg sig for: Joe (theWordy) Philbrook DSA key ID 0x6C2163DE# # You can find my public gpg key at http://pgpkeys.mit.edu/ # # -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFFpChMRZ/61mwhY94RApo6AKCJtdqglzGj73037bNMqxhM0vv2GQCfcyS5 BqWyzhoSxjO+EDi/hBTultY= =3nu9 -END PGP SIGNATURE- -- | ~^~ ~^~ | ? ? Joe (theWordy) Philbrook | ^ J(tWdy)P |\___/ [EMAIL PROTECTED]
Re: fancyhdr! It's working. BUT 3 questions ...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It would appear that on Jan 8, Helge Hafting did say: > Joe(theWordy)Philbrook wrote: > > Question 1 of 3 > > > > Why is the header/footer suppressed on page 1? That is how can I get > > headers and/or footers to output on the first page??? > Because you changed the "page style" for normal pages, > and the first page isn't normal in this case. Yeah that figures... > Usually, the first page is either a chapter page (if > your document style support chapters) or a title > page. Lyx does not suppot changing the chapter/title > page styles directly. You may use ERT > to set \chapterpagestyle to fancy if you wish. > Note that some document styles don't use > chapterpagestyle or titlepagestyle, they have other ways. > > Usually, \thispagestyle{fancy} will do the trick though. > Make sure you put this ERT somewhere on the page you want changed. Thanks for the prompt reply and the informative suggestion. However I get an error message when I try this. As it happens the document I used to try to do this with says: \textclass letter But when I try to insert either chapterpagestyle or thispagestyle by, for example, changing this: \layout Opening Dear Jim, \layout Standard Well Hello Jim. To this: \layout Opening Dear Jim, \layout Standard \thispagestyle{fancy} Well Hello Jim. What I get on opening the doc with lyx is An error pop-up that says: "Textclass Loading Error!" "Encountered unknown token When reading" [filename] Since the only place in my document's control codes I see braces "{}" I also tried: \thispagestyle fancy With the same results (sigh!) Any other suggestions? > > Question 2 of 3 > > > > Evidently "\rhead{Page \thepage}" yields: "Page $currentpage" > > But how would I get "Page $currentpage of $pagecount"??? > > > > That is "page 1 of 3", "page 2 of 3", "Page 3 of 3" etc... > Simple approach: put a label at the end of the document. > Then, use a reference to that label for getting the last page number. > There are also latex packages for doing this sort of thing, but no > support in LyX. Try this in the preamble: > \lhead{My pagenumber: \thepage{} of \pageref{last}} \size huge THANK YOU VERY MUCH! \size default This seams to work as long as I use the exact label name I put at the end of the document in my case that's: \lhead{My pagenumber: \thepage{} of \pageref{LastPage}} > > Question 3 of 3 > > > > Is there a list of {key words?} that can be used to insert values into > > header/footers such as > > > > /thepage current output page number > > /today Today's date > > etc... > Sure, any latex reference manual should do. Also, search > the web. The LyX homepage have some pointers. So using the acronym you used above as a guide, I'm guessing I might find what I'm looking for if I google: latex ERT Worth a try anyway. Thanks again! # ##_if_you'd_prefer_an_clearsigned_".asc"_text_file_of_this_## ##message_as_an_mime_encoded_attachment,just_ask_me_while__## ##it's_STILL_IN_my_outbox_folder_._._._=+=+=+=+=+=+=+=+;-)_## #gpg sig for: Joe (theWordy) Philbrook DSA key ID 0x6C2163DE# # You can find my public gpg key at http://pgpkeys.mit.edu/ # # -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFFpChMRZ/61mwhY94RApo6AKCJtdqglzGj73037bNMqxhM0vv2GQCfcyS5 BqWyzhoSxjO+EDi/hBTultY= =3nu9 -END PGP SIGNATURE- -- | ~^~ ~^~ | Joe (theWordy) Philbrook | ^ J(tWdy)P |\___/ <<[EMAIL PROTECTED]>>
Re: fancyhdr! It's working. BUT 3 questions ...
Joe(theWordy)Philbrook wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm using lyx 1.3.7 on kubuntu linux (Dapper) I started with the included letter template which I modified the margins etc... for a NON business letter to my brother. Then I used it to play with the fancy header example in the Extended features manual. It took me a while to figure out that I couldn't use \lhead{Section \thesection} in the letter if I wanted stable results... Question 1 of 3 Why is the header/footer suppressed on page 1? That is how can I get headers and/or footers to output on the first page??? Because you changed the page style for normal pages, and the first page isn't normal in this case. Usually, the first page is either a chapter page (if your document style support chapters) or a title page. Lyx does not suppot changing the chapter/title page styles directly. You may use ERT to set \chapterpagestyle to fancy if you wish. Note that some document styles don't use chapterpagestyle or titlepagestyle, they have other ways. Usually, \thispagestyle{fancy} will do the trick though. Make sure you put this ERT somewhere on the page you want changed. Question 2 of 3 Evidently \rhead{Page \thepage} yields: Page $currentpage But how would I get Page $currentpage of $pagecount??? That is page 1 of 3, page 2 of 3, Page 3 of 3 etc... Simple approach: put a label at the end of the document. Then, use a reference to that label for getting the last page number. There are also latex packages for doing this sort of thing, but no support in LyX. Try this in the preamble: \lhead{My pagenumber: \thepage{} of \pageref{last}} Question 3 of 3 Is there a list of {key words?} that can be used to insert values into header/footers such as /thepage current output page number /today Today's date etc... Sure, any latex reference manual should do. Also, search the web. The LyX homepage have some pointers. Helge Hafting
Re: fancyhdr! It's working. BUT 3 questions ...
Joe(theWordy)Philbrook wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm using lyx 1.3.7 on kubuntu linux (Dapper) I started with the included letter template which I modified the margins etc... for a NON business letter to my brother. Then I used it to play with the fancy header example in the Extended features manual. It took me a while to figure out that I couldn't use \lhead{Section \thesection} in the letter if I wanted stable results... Question 1 of 3 Why is the header/footer suppressed on page 1? That is how can I get headers and/or footers to output on the first page??? Because you changed the page style for normal pages, and the first page isn't normal in this case. Usually, the first page is either a chapter page (if your document style support chapters) or a title page. Lyx does not suppot changing the chapter/title page styles directly. You may use ERT to set \chapterpagestyle to fancy if you wish. Note that some document styles don't use chapterpagestyle or titlepagestyle, they have other ways. Usually, \thispagestyle{fancy} will do the trick though. Make sure you put this ERT somewhere on the page you want changed. Question 2 of 3 Evidently \rhead{Page \thepage} yields: Page $currentpage But how would I get Page $currentpage of $pagecount??? That is page 1 of 3, page 2 of 3, Page 3 of 3 etc... Simple approach: put a label at the end of the document. Then, use a reference to that label for getting the last page number. There are also latex packages for doing this sort of thing, but no support in LyX. Try this in the preamble: \lhead{My pagenumber: \thepage{} of \pageref{last}} Question 3 of 3 Is there a list of {key words?} that can be used to insert values into header/footers such as /thepage current output page number /today Today's date etc... Sure, any latex reference manual should do. Also, search the web. The LyX homepage have some pointers. Helge Hafting
Re: fancyhdr! It's working. BUT 3 questions ...
Joe(theWordy)Philbrook wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm using lyx 1.3.7 on kubuntu linux (Dapper) I started with the included letter template which I modified the margins etc... for a NON business letter to my brother. Then I used it to play with the fancy header example in the Extended features manual. It took me a while to figure out that I couldn't use \lhead{Section \thesection} in the letter if I wanted stable results... Question 1 of 3 Why is the header/footer suppressed on page 1? That is how can I get headers and/or footers to output on the first page??? Because you changed the "page style" for normal pages, and the first page isn't normal in this case. Usually, the first page is either a chapter page (if your document style support chapters) or a title page. Lyx does not suppot changing the chapter/title page styles directly. You may use ERT to set \chapterpagestyle to fancy if you wish. Note that some document styles don't use chapterpagestyle or titlepagestyle, they have other ways. Usually, \thispagestyle{fancy} will do the trick though. Make sure you put this ERT somewhere on the page you want changed. Question 2 of 3 Evidently "\rhead{Page \thepage}" yields: "Page $currentpage" But how would I get "Page $currentpage of $pagecount"??? That is "page 1 of 3", "page 2 of 3", "Page 3 of 3" etc... Simple approach: put a label at the end of the document. Then, use a reference to that label for getting the last page number. There are also latex packages for doing this sort of thing, but no support in LyX. Try this in the preamble: \lhead{My pagenumber: \thepage{} of \pageref{last}} Question 3 of 3 Is there a list of {key words?} that can be used to insert values into header/footers such as /thepage current output page number /today Today's date etc... Sure, any latex reference manual should do. Also, search the web. The LyX homepage have some pointers. Helge Hafting
fancyhdr! It's working. BUT 3 questions ...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm using lyx 1.3.7 on kubuntu linux (Dapper) I started with the included letter template which I modified the margins etc... for a NON business letter to my brother. Then I used it to play with the fancy header example in the Extended features manual. It took me a while to figure out that I couldn't use \lhead{Section \thesection} in the letter if I wanted stable results... Question 1 of 3 Why is the header/footer suppressed on page 1? That is how can I get headers and/or footers to output on the first page??? Question 2 of 3 Evidently \rhead{Page \thepage} yields: Page $currentpage But how would I get Page $currentpage of $pagecount??? That is page 1 of 3, page 2 of 3, Page 3 of 3 etc... Question 3 of 3 Is there a list of {key words?} that can be used to insert values into header/footers such as /thepage current output page number /today Today's date etc... Much thanks in advance. # ##_if_you'd_prefer_an_clearsigned_.asc_text_file_of_this_## ##message_as_an_mime_encoded_attachment,just_ask_me_while__## ##it's_STILL_IN_my_outbox_folder_._._._=+=+=+=+=+=+=+=+;-)_## #gpg sig for: Joe (theWordy) Philbrook DSA key ID 0x6C2163DE# # You can find my public gpg key at http://pgpkeys.mit.edu/ # # -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFFoT5bRZ/61mwhY94RApZpAKC71TVT0ZcaPxT4lXs7tb5q06EUYwCdGydx Nz+fagGzW57r6u3c4wVcvmg= =x2r4 -END PGP SIGNATURE- -- | ~^~ ~^~ | ? ? Joe (theWordy) Philbrook | ^ J(tWdy)P |\___/ [EMAIL PROTECTED]
fancyhdr! It's working. BUT 3 questions ...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm using lyx 1.3.7 on kubuntu linux (Dapper) I started with the included letter template which I modified the margins etc... for a NON business letter to my brother. Then I used it to play with the fancy header example in the Extended features manual. It took me a while to figure out that I couldn't use \lhead{Section \thesection} in the letter if I wanted stable results... Question 1 of 3 Why is the header/footer suppressed on page 1? That is how can I get headers and/or footers to output on the first page??? Question 2 of 3 Evidently \rhead{Page \thepage} yields: Page $currentpage But how would I get Page $currentpage of $pagecount??? That is page 1 of 3, page 2 of 3, Page 3 of 3 etc... Question 3 of 3 Is there a list of {key words?} that can be used to insert values into header/footers such as /thepage current output page number /today Today's date etc... Much thanks in advance. # ##_if_you'd_prefer_an_clearsigned_.asc_text_file_of_this_## ##message_as_an_mime_encoded_attachment,just_ask_me_while__## ##it's_STILL_IN_my_outbox_folder_._._._=+=+=+=+=+=+=+=+;-)_## #gpg sig for: Joe (theWordy) Philbrook DSA key ID 0x6C2163DE# # You can find my public gpg key at http://pgpkeys.mit.edu/ # # -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFFoT5bRZ/61mwhY94RApZpAKC71TVT0ZcaPxT4lXs7tb5q06EUYwCdGydx Nz+fagGzW57r6u3c4wVcvmg= =x2r4 -END PGP SIGNATURE- -- | ~^~ ~^~ | ? ? Joe (theWordy) Philbrook | ^ J(tWdy)P |\___/ [EMAIL PROTECTED]
fancyhdr! It's working. BUT 3 questions ...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm using lyx 1.3.7 on kubuntu linux (Dapper) I started with the included letter template which I modified the margins etc... for a NON business letter to my brother. Then I used it to play with the fancy header example in the Extended features manual. It took me a while to figure out that I couldn't use \lhead{Section \thesection} in the letter if I wanted stable results... Question 1 of 3 Why is the header/footer suppressed on page 1? That is how can I get headers and/or footers to output on the first page??? Question 2 of 3 Evidently "\rhead{Page \thepage}" yields: "Page $currentpage" But how would I get "Page $currentpage of $pagecount"??? That is "page 1 of 3", "page 2 of 3", "Page 3 of 3" etc... Question 3 of 3 Is there a list of {key words?} that can be used to insert values into header/footers such as /thepage current output page number /today Today's date etc... Much thanks in advance. # ##_if_you'd_prefer_an_clearsigned_".asc"_text_file_of_this_## ##message_as_an_mime_encoded_attachment,just_ask_me_while__## ##it's_STILL_IN_my_outbox_folder_._._._=+=+=+=+=+=+=+=+;-)_## #gpg sig for: Joe (theWordy) Philbrook DSA key ID 0x6C2163DE# # You can find my public gpg key at http://pgpkeys.mit.edu/ # # -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFFoT5bRZ/61mwhY94RApZpAKC71TVT0ZcaPxT4lXs7tb5q06EUYwCdGydx Nz+fagGzW57r6u3c4wVcvmg= =x2r4 -END PGP SIGNATURE- -- | ~^~ ~^~ | Joe (theWordy) Philbrook | ^ J(tWdy)P |\___/ <<[EMAIL PROTECTED]>>