Re: character styles in LyX 1.5.0?
Stacia Hartleben wrote: > I had a question about character styles in LyX 1.5.0. In 1.4.x, they > were implemented as a bit of a hack through the command buffer. You don't need the command buffer. You need to define the character styles in the layout files (or included inc-files; see attached example); then you'll see a menu entry "Insert->Char Style". > I remember being really excited about this feature (as I use a lot of > ERT for things in different scripts) but I never ended up using it > because of the clunky interface (or lack thereof) and lack of > documentation. This is unfortunately true. > This was a really promising feature but I think it > needs more work before people actually begin to use it on a daily > basis - is there any chance that in LyX 1.5.0 we will have a menu and > a GUI to add more character styles? I'm afraid not (we're in feature freeze). But it's high on my agenda for 1.6. Jürgen # Textclass definition file for docbook. # Author : José Abílio Oliveira Matos <[EMAIL PROTECTED]> # Character Styles definition Format 2 CharStyle Versal LatexType Command LatexName versal LabelFont Family Roman Color blue EndFont Preamble [EMAIL PROTECTED] \usepackage{soul} }{} [EMAIL PROTECTED] \DeclareRobustCommand*\versal[1]{% \MakeUppercase{\scalefont{.92}\null{\caps{#1}}}% } }{} EndPreamble End CharStyle Enquote* LatexType Command LatexName enquote* Font Family Typewriter EndFont LabelFont Family Roman Color green EndFont End CharStyle Enquote LatexType Command LatexName enquote LabelFont Family Roman Color green EndFont End CharStyle Test LatexType Command LatexName dummy Font Family Typewriter EndFont LabelFont Family Roman Color green EndFont Preamble \newcommand\dummy[1]{#1} endPreamble End
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]>>
Re: long-time LyX user needs install help on Mac OSX 10.4.8
On Jan 7, 2007, at 8:31 PM, [EMAIL PROTECTED] wrote: Hi, I've been using LyX quite successfully for a few years in slackware linux. But now I need to get it running on a Mac as well. LyX installs fine and runs fine on the mac including the basic program functions, classes, styles, etc. But I'm having a problem with the DVI and postscript viewers. Previous to installing LyX I installed ghostscript, imagemagic, DVI and TeX via fink. I tried it via i-install but it couldn't complete the installations so I uninstalled everything and tried again with fink. I also previously tried MacTeX and it also couldn't complete the install. I also re-installed LyX 1.4.3 for intel after succeeding with fink. The classes seem fine now that I've fixed the path and such. But now the three types of PDF viewers insist on bringing up QuickTime even though I've de-configured quicktime to view PDF files. I've checked the file conversions and path and have taken out anything that pre-empts the /sw (/sw/bin:/sw/sbin mainly) sub-dirs where fink installs everything. I can't see anything wrong even though I've re-configured and checked all that. The Postscript viewer brings up Preview -- which is "okay." But I mainly need the DVI viewer like I have in linux and the ability to create good pdf files. I can't do either at this point on the mac. Does someone know what might be wrong and recommend a fix, or the most optimal way for me to install everything on the intel Mac with OSX 10.4.8? thanks much, jamie faunt Jamie, I'm also getting all my tex software through fink, and things work fine on my Intel Mac. But you do need to tweak the paths for LyX a little. First, make sure that you have tetex-base installed from fink. That gives you the dvi viewer you're looking for (I'd recommend xdvik), and of course latex & friends. In order to use the DVI viewer, you need to have X11 installed (it's on the Tiger Install disk as an optional install). Once you're sure these are installed and work from the command line, go to LyX Preferences, and under "File Formats" select DVI. For the Viewer, enter the following line: open-x11 && export DISPLAY=:0.0 && /sw/bin/xdvik The entries for PDF viewers are simpler: I just have the single command "open" in the Viewer field (I think it's "auto" by default). Just make sure that you've selected a reasonable default viewer for PDF files in the Finder Info (select a pdf file, show Info, select your favorite application for Open with..., and click "Change all"). Maybe this should be on the Wiki somewhere... if it works for you, I'll perhaps add it under "known issues", because you're not the first to have trouble opening pdf files. Hope this works, Jens
long-time LyX user needs install help on Mac OSX 10.4.8
Hi, I've been using LyX quite successfully for a few years in slackware linux. But now I need to get it running on a Mac as well. LyX installs fine and runs fine on the mac including the basic program functions, classes, styles, etc. But I'm having a problem with the DVI and postscript viewers. Previous to installing LyX I installed ghostscript, imagemagic, DVI and TeX via fink. I tried it via i-install but it couldn't complete the installations so I uninstalled everything and tried again with fink. I also previously tried MacTeX and it also couldn't complete the install. I also re-installed LyX 1.4.3 for intel after succeeding with fink. The classes seem fine now that I've fixed the path and such. But now the three types of PDF viewers insist on bringing up QuickTime even though I've de-configured quicktime to view PDF files. I've checked the file conversions and path and have taken out anything that pre-empts the /sw (/sw/bin:/sw/sbin mainly) sub-dirs where fink installs everything. I can't see anything wrong even though I've re-configured and checked all that. The Postscript viewer brings up Preview -- which is "okay." But I mainly need the DVI viewer like I have in linux and the ability to create good pdf files. I can't do either at this point on the mac. Does someone know what might be wrong and recommend a fix, or the most optimal way for me to install everything on the intel Mac with OSX 10.4.8? thanks much, jamie faunt
Re: Using Hollywood template on windows
Andrew Diederich schrieb: I just installed LyX 1.4.3-5 on windows XP, with the bundle so I made sure to get miktek installed, etc. However, when I open a new file with the hollywood template, I get an error message: The document uses a missing TeX class "hollywod". LyX will not be able to produce output. Copy the file "hollywod.cls" somewhere to a subfolder of MiKTeX's installation folder and then refresh MiKTeX file name database using the program MiKTeX Options. Then reconfigure LyX. When you install LyX using this installer: http://wiki.lyx.org/Windows/LyXWinInstaller this is done for you automatically in the background while installing LyX. regards Uwe
Using Hollywood template on windows
Hello lyx-users, I just installed LyX 1.4.3-5 on windows XP, with the bundle so I made sure to get miktek installed, etc. However, when I open a new file with the hollywood template, I get an error message: The document uses a missing TeX class "hollywod". LyX will not be able to produce output. I saw some indications in the wiki that the windows installer copied the hollywood.cls file into the right place in miktek, but it isn't there anywhere. It is in c:\Program Files\Lyx14\Resources\tex. How do I get LyX to use the Hollywood template correctly? Thanks for the help. -- Best regards, Andrew
Re: character styles in LyX 1.5.0?
Stacia Hartleben <[EMAIL PROTECTED]> writes: > basis - is there any chance that in LyX 1.5.0 we will have a menu and > a GUI to add more character styles? You can customise layout files. Gregor
character styles in LyX 1.5.0?
I had a question about character styles in LyX 1.5.0. In 1.4.x, they were implemented as a bit of a hack through the command buffer. I remember being really excited about this feature (as I use a lot of ERT for things in different scripts) but I never ended up using it because of the clunky interface (or lack thereof) and lack of documentation. This was a really promising feature but I think it needs more work before people actually begin to use it on a daily basis - is there any chance that in LyX 1.5.0 we will have a menu and a GUI to add more character styles?
Re: Calligraphic Typeface
My apologies. The word normalize in 4. should be normalsize, i.e. 4. Inserted into the ERT box \fontfamily{concrete}\normalsize{ } Regards, Donald
Re: Calligraphic Typeface
Bruce Pourciau wrote: On Dec 6, 2006, at 10:54 AM, Juergen Spitzmueller wrote: Bruce Pourciau wrote: \fontfamily{pzc}\large {text} seems to work, but replacing \large by \larger does not. What's up with that? try \Large, \LARGE, \huge and \Huge Jürgen Thanks, Jürgen. I was intrigued by this inquiry. Out of interest I read the replies to you question and I tried an experiment. It gave the expected result. In the main text of my small document I did the following: 1. Added a TeX box i.e. ERT from the Lyx menu. 2. Inserted into the ERT box \fontfamily{pzc}\Large{ } Added some lines in Lyx "verse" 3. Added a TeX box i.e. ERT from the Lyx menu 4. Inserted into the ERT box \fontfamily{concrete}\normalize{ } As I said earlier it gave the desired result. I also notice that my Mandrake Linux OS appears to contain a calligraphic font under: /usr/share/texmf/fonts/type1/urw/zapfchan A somewhat long and torturous example is given by the following URL: http://www.katspace.org/stuff/Computers/LyxHow Regards, Donald
Re: Footnote crash...
Hello Bo, do we have any idea about when the fixed binaries will appear on BerliOS? I think there will be an alpha 2 (or even beta) release soon. This release will be much more usable in terms of crashes. Bo
Re: Footnote crash...
In a recent message <[EMAIL PROTECTED]>, Bo Peng <[EMAIL PROTECTED]> wrote. One thing I have noticed with the latest version is that if I move the cursor to immediately before a footnote, LyX dies instantly. Here is a test file, I wonder if anyone else can reproduce this phenomenon? This problem has been fixed yesterday. [...] Hello Bo, do we have any idea about when the fixed binaries will appear on BerliOS? Thanks for all of the good work. Regards, Nick. -- Nick Hopton and Anne Hopton Caversham, Reading, England <[EMAIL PROTECTED]>