Re: install thesis class, Mac
Mike Martell wrote: #python/library/applications/lyx.app/content/resources/configure.py What did you get? Richard wants to know what is the output of this. Please copy/paste. /Konrad
Re: paragraph indents -- document class book (Polish version by M. W.), MWBK
You do not reply to the list. I am not able to help you, but there is much more people knowing koma-script and latex quite good. W dniu 21 października 2008 17:26 użytkownik Jonathan Kroner [EMAIL PROTECTED] napisał: I agree with you completely. The Koma does paragraph indents the way I would want, but I can't figure out how to make the other changes I want, in particular headers like the polish book class (attached). Here is what I'm would want to do with headers: move the current lehead (left even header) that has chapter # and chapter name to the rehead (right even) position and add the word Chapter preceeding the chapter number. Keep the same italicised font. move the current rohead (right odd) section name to the lohead (left odd). Keep the same italicised font. put page numbers in lehead and rohead , except for first page of chapter eliminate page numbers from footers After hours of going through the various manuals I think I need something like this, but I still cant figure out how to implement it. The documetation is beyond me. \lehead{\pagemark} \rehead{\ ??? } how to designate chapter and chapter # and title? \rohead{\pagemark} \lohead{\ ??? } how to designate section name? \ifoot{} \cfoot{} \ocfoot{} On Tue, Oct 21, 2008 at 2:51 AM, Manveru [EMAIL PROTECTED] wrote: The most tweakable (is this correct word in English?) style is Koma-Script, so you may probably prefer it instead of fighting with mwcls classes. Koma-Script is well documented, which not exactly means is easy for beginners. Marcin Woliński who is the author of mwcls used old documents about Polish typography, when he was creating these classes (mwcls set). And in real, output looks very similarly to that what I remember from old books from times of the primary school. M. 2008/10/21 Jonathan Kroner [EMAIL PROTECTED]: Hi Manveru, Thank you for getting back to me. I don't think I'll get very far in Polish but I still like that book class. It works great for me for a few reasons: it seems to be more laid out like a book than some of the more popular classes. In particular I like that the cover page is not numbered, the headers fit and it looks (to me) more professional. I'm not doing a lot of tweaks, mostly because after way way too many hours I still can't figure out how to use most advanced LyX features. regards, Jonathan On Mon, Oct 20, 2008 at 5:18 AM, Manveru [EMAIL PROTECTED] wrote: 2008/10/18 Jonathan Kroner [EMAIL PROTECTED]: re: paragraph indents -- document class book (Polish version by M. W.), MWBK 1. Is there a way to remove the indent from the initial paragraph under chapter, section, subsection titles in the document class book (Polish version by M. W.)? 2. Is there a link to document class options for MWBK, Polish version by M. W. other than those listed in Extended LyX Features, section 4.19 about the MWBK class? I don't remember all options for mwbk, but this is very specific for classic Polish book standards (let's say very old standards). In these standards all paragraphs has indentation. And I am not sure whether this could be removed. Additionally, LyX layout file was buggy for this style in 1.5.3 - it does not contains some include, what causes outline function to not work (I dont't remember whether it was corrected or not as I am using my own layout file). This style has more strange behaviours, so I suggest not using it, if you really do not know what are you doing. It is good practice to read the manual for this style, but it is in Polish only: http://www.ctan.org/tex-archive/macros/latex/contrib/mwcls/mwclsdoc.pdf -- Manveru jabber: [EMAIL PROTECTED] gg: 1624001 http://www.manveru.pl -- Jonathan Kroner http://jonathankroner.com/ http://floridafalseclaim.com/ 305.310.6046 -- Manveru jabber: [EMAIL PROTECTED] gg: 1624001 http://www.manveru.pl -- Jonathan Kroner http://jonathankroner.com/ http://floridafalseclaim.com/ 305.310.6046 -- Manveru jabber: [EMAIL PROTECTED] gg: 1624001 http://www.manveru.pl
Re: Mac Cursor and Math Mode problem
Hi Antonio, Antonio Rieser wrote: Two problems. I'm using LyX on the Mac (OS X.3/4.?) Which Mac OS X and which LyX version? for the first time, and after I choose 'Section' and then type, the text on the line I'm typing jumps to the right, but the cursor stays where it is. It drives me a little nuts. This behavior continues if I choose another mode, like 'Standard' or 'Theorem', if I have a 'Section' somewhere above where I'm trying to type. If I only type above all of the 'Section' areas, then the cursor acts normally. Hmm... sounds like a bug. Do you have Right-to-left language support enabled in Preferences-Language ? Also, the program does not keep the areas typed in math mode in a different color. If I scroll to a new page, the formulas start out blue, but then switch to black after a second. What you get after a second is a preview of what the formula will look like in the final output. I would prefer that they stayed blue. How is it supposed to work? You can turn off instant preview in the Preferences. Or, you can change the colour of the previewed snippet, also in Preferences. HTH. Konrad
Re: install thesis class, Mac
Mike Martell [EMAIL PROTECTED] writes: Hi: I've been having a lot of trouble installing a new class for LyX with my mac. I am hoping to use LyX to write my doctoral dissertation. I am trying to install the thesis class for my university, authesis.cls. I have followed the directions, I believe, but am not getting the class to work. I have placed these files (authesis.cls, aucas.clo, aut10.clo, auecon.clo) in this location: users/username/library/texmf/tex/latex/authesis/ i have placed a layout file (authesis.layout) at this location: username/libarary/Application Support/Lyx-1.5/layouts The layout file reads: #% Do not delete hte line below; configure depens on this # \DeclareLaTeXClass[authesis]{article (authesis)} # Input general definitions Input stdclass.inc [snip] Thanks, Mike Since it is a thesis class, are you sure that the article class should be used, and not the book class instead? Try the following layout file: #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[authesis]{book (authesis)} # Input general definitions Input book.layout Best regards, Andreas
Re: Frustrated user
On 22/10/2008 08:04, Jonathan Suit wrote: Hello, Hello Jonathan, I'm a new user of LyX. For the first couple of days, everything went well. But now I'm running into trouble. First thing first: this is the documentation development list. I put the correct list in copy. Second: which platform? I am guessing Windows here but the fact that you talk about ispell is an indication of Linux. Third: which version of LyX? First, no matter what I do I can't run spellcheck. It says something about it being unable to run ispell. That's interesting since I've set my preferences to run something other than ispell. I can't export documents to latex, even though I'm told I just need to click on the relevant export button to latex (i've have the latex stuff and i've been telling it to export to latexplain (or something like that). I don't know what else I could export to. If you run one of the 1.6 release candidates on WinXP, that's a known bug. Please use stable 1.5.6 instead. And the bibliography has been a complete mess. I have Bibtex up and running. But LyX never recognizes any new entries. If you are on Windows, the Bibtex 'push' feature does not work. You have to save your bibtex file and reload it in LyX for the new entries to be recognized. I'm going to have to use Microsoft Word to do my bibliography. To be honest, I'm quite fed up with this Latex/Lyx thing. I've spend many more hours just trying to format/figure out what the formatting means than writing my papers. The fact that the finished product looks nice does not justify anything. Fourth: LyX is a free software developed by people on their spare time, the user list is very helpful and this is *gratis*, provided that you ask gently and that you give more information. Abdel. Furthermore, I find it incomprehensible that there isn't a much more user friendly decent word processer/typesetting program. Seriously, what is wrong with having a program that the hardest thing is pointing and clicking. Why do I keep running into computer codes!? I just want to download a package that is good for X, and perhaps one that is good for Y. I can't believe that we can put out iPhones but we can't get a good word procesing program/typesetting program. Ridiculous. Jonathan Suit
Re: How to change pdf viewer?
Hi, I must confess that even in my case (LyX 1.5.4 on Mac Os X 10.3.9), if I want to change the default PDF viewer I have to put the whole path to the executable. For example, for using the pdf viewer Adobe Reader 7.1.0 for Mac it works only if I use: /Applications/Adobe\ Reader\ 7.1.0/Adobe\ Reader\ 7.1.0.app/Contents/MacOS/Adobe\ Reader instead if i follow the other suggestions and use: open -a Adobe Reader 7.1.0 it doesn't work. Nothing happens. Pierfranco 2008/10/21 Konrad Hofbauer [EMAIL PROTECTED] Joachim Kreimer-de Fries wrote: Am 21.10.2008 um 16:10 schrieb Uwe Stöhr: menu Tools-Settings-file formats Am 21.10.2008 um 16:17 schrieb Konrad Hofbauer: you can change in LyX - Preferences - File Formats - PDF (...) - Viewer. Thanks, it works finally. But for someone else who also might want to change the pdf viewer I add: it it not sufficient to give in the path to the application package but to the application EXECutable itself, at least on Mac-OSX, in my case: /Applications/Skim.app/Contents/MacOS/Skim What should also do the trick is open -a Skim, that lets OS X do the work of finding the app. What I actually use is the attached script that explicitly tells Skim to reload. I've disabled auto-reload in Skim, since this sometimes does not work in combination with LyX's multiple compilation of the file. So I have the attached script in ~/bin, set the script as executable (chmod u+x ...), in LyX ~/bin/SkimReload.sh, and then always use View PDF (not: Update PDF) in LyX HTH, Konrad
Re: Unicode - IPA-Phonetic characters - Which packages, preambel?
Joachim Kreimer-de Fries wrote: BTW (2), I find the document class tufte-layout worth to be transformed into a LyX document class, style or template - for the time being I did not find a way to import the sample-handout into Lyx. Look here: http://wiki.lyx.org/Layouts/Tufte-handout J??rgen
affidavit
Hi, I'm currently writing my thesis using lyx, and now I want to insert a affidavit into my document (which is komascript-report). Does anyone know a good solution for that? Of course, I could use a chapter for that, but it's kind of awkward. Greetings Matthias Coy
Re: How to change pdf viewer?
Hi, On Tue, Oct 21, 2008 at 4:17 PM, Konrad Hofbauer [EMAIL PROTECTED] wrote: Joachim Kreimer-de Fries wrote [on Mac]: How can one configure LyX to use another pdf viewer when clicking the view pdf (pdf-latex) button? By default, LyX uses the default viewer that is set in the operating system for PDFs. So you can change Mac OS X default PDF application setting, or you can change in LyX - Preferences - File Formats - PDF (...) - Viewer. Btw, how do I change the xommand used to produce the preview pdf? The default is set to pdflatex but I have some problem with it and I would like to use dvipdfm. Cheers, Emme HTH, Konrad P.S. Please do not hijack threads by replying to old messages with a new question. Start a new thread for new questions. PPS does my question still count as hijacking?
Re: Table of contents dialog problem
asm23 schrieb: My environment is Windows XP En. Lyx 1.6RC3. When I click the Table of contents in a lyx file. A Outline dialog will display in the left side. But nothing will show below. This bug has been fixed in the meantime. LyX 1.6.0RC4 i ncluding the fix comes out soon. When you still have problems, please report this at http://bugzilla.lyx.org regards Uwe
Re: Bringing the footer higher...
M-L wrote: [...] As an aside to do with the footer: Setting my bottom margin: Document--Settings=Page Margins--Bottom to 6 Here is my footer preamble [you'll need to insert your own graphic file, in my case it's a .jpg file of a tawny frogmouth] on my footer experimental document: \usepackage{graphics}\rfoot{\resizebox{60pt}{!} {\includegraphics{/home/charlie/Wildlife/tawny-egwsg.jpg}}} \lfoot{\bf \large \scshape this was\\fine as well} \cfoot{\bf \large \scshape did this\\and it was fine} The tawny frogmouth graphic sits a bit high as you can see in the attached pic. Not a problem, just something I haven't as yet worked out how to fix. I don't like bothering the list. It is okay to ask questions on the list! That is one of the lists purposes. People making demands or complaining loudly sometimes makes themselves unpopular, but how do I do that? is fine. When you use \includegraphic, the bottom edge of the picture aligns with the text baseline. (Most letters sits on top of the baseline, a few, like j and g extends under it.) There are quite a few ways to change that. A simple one is to put the image inside a \raisebox command. Raise by a negative length to get the image lower down. Some experimentation may be necessary to get it just right. In some cases, one wants to line the image up so it matches something else. Such as another image or a table. In such cases, put the image inside a box (\parbox or \minipage). Such boxes can be aligned in various ways: top alignment, bottom alignment, middle alignment. You can usually get what you want, but it is not always trivial. LyX now comes with a file named EmbeddedObjects.lyx, which you can find from the help menu. It demonstrates lots of box stuff, as well as the \raisebox trick. You can also find examples on the net. Helge Hafting
Automagically reduce the spacing between ++ in the word C++
Hi, I am currently in the process of polishing the typesetting of my thesis. One of the things I would like to achieve is to reduce the spacing between ++ in the words C++ and AspectC++, as this looks somewhat strange with the font I am using. This question is somewhat related to the thread http://www.mail-archive.com/lyx-users@lists.lyx.org/msg66864.html where the original poster asked for a way to reduce the space between the two slashes in hyperlinks. However, the original solution does not work in my case, as C++ and AspectC++ are not typeset by any kind of (La)TeX command, but are just ordinary words. Replacing all occurrences with some ERT box is not an option, as this would cause too much hassle and would not work in external material, such as bibliographic entries. I am looking for a more elegant solution. I think that I remember to have read about so-called catcodes (or whatever?) in TeX, which apparently make it possible to declare certain characters as active so that further processing is possible whenever the TeX scanner reads such character. I wonder if it is possible this way to declare in the preamble that C followed by +, followed by + is active and should be inherently substituted with something like \mbox{C+\hspace{-.5ex}+}} Any TeX gurus on this list who might help me? Thanks! Daniel
Re: install thesis class, Mac
Andreas K. wrote: Since it is a thesis class, are you sure that the article class should be used, and not the book class instead? Try the following layout file: #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[authesis]{book (authesis)} # Input general definitions Input book.layout And better yet, open up authesis.cls in a text editor and find out there what it's based on. Somewhere, there is like to be a \LoadClass line: That's the one we want. rh
Re: How to change pdf viewer?
muzzle wrote: Btw, how do I change the xommand used to produce the preview pdf? The default is set to pdflatex but I have some problem with it and I would like to use dvipdfm. In the View-menu, you should have different PDF() options, one of them being PDF (dvipdfm), same in File-Export. If not, something is wrong/missing in your setup. PPS does my question still count as hijacking? Let's not overdo this - it does not matter too much. :) (Anyhow: no, it doesn't.) /Konrad
Re: Automagically reduce the spacing between ++ in the word C++
Daniel Lohmann wrote: Any TeX gurus on this list who might help me? If you don't get any answer here, try in the comp.text.tex newsgroup. /Konrad
Re: install thesis class, Mac
Mike Martell wrote: Thanks again. I took your advice. I located configure.py I opened terminal, typed: # cd /tmp/ then, #python/library/applications/lyx.app/content/resources/configure.py As Konrad said, I want to know what this does. LyX should write a configure.log file for you. You can post that. Actually, I just tried this myself, and there may be a bug here. Which LyX version are you using again? rh
Re: How to change pdf viewer?
On Wed, Oct 22, 2008 at 1:41 PM, Konrad Hofbauer [EMAIL PROTECTED] wrote: muzzle wrote: Btw, how do I change the xommand used to produce the preview pdf? The default is set to pdflatex but I have some problem with it and I would like to use dvipdfm. In the View-menu, you should have different PDF() options, one of them being PDF (dvipdfm), same in File-Export. Well, I do have several options in the menu, but I would like to change the default for the toolbar button, is it possible? If not, something is wrong/missing in your setup. PPS does my question still count as hijacking? Let's not overdo this - it does not matter too much. :) (Anyhow: no, it doesn't.) ok :) Bye, Emme /Konrad
Re: Automagically reduce the spacing between ++ in the word C++
Daniel Lohmann wrote: Hi, I am currently in the process of polishing the typesetting of my thesis. One of the things I would like to achieve is to reduce the spacing between ++ in the words C++ and AspectC++, as this looks somewhat strange with the font I am using. This question is somewhat related to the thread http://www.mail-archive.com/lyx-users@lists.lyx.org/msg66864.html where the original poster asked for a way to reduce the space between the two slashes in hyperlinks. However, the original solution does not work in my case, as C++ and AspectC++ are not typeset by any kind of (La)TeX command, but are just ordinary words. Replacing all occurrences with some ERT box is not an option, as this would cause too much hassle and would not work in external material, such as bibliographic entries. I am looking for a more elegant solution. The easiest way would be to process your latex and bib files through a sed script to replace C++ to \C++ and define a \C++ macro with the correct space between C and + I think that I remember to have read about so-called catcodes (or whatever?) in TeX, which apparently make it possible to declare certain characters as active so that further processing is possible whenever the TeX scanner reads such character. I wonder if it is possible this way to declare in the preamble that C followed by +, followed by + is active and should be inherently substituted with something like \mbox{C+\hspace{-.5ex}+}} It is possible to redefine in TeX the letter C catcode and then test if it is followed by two +. But it is a lot of work (TeX macros are not very easy) and maybe it is like using a hammer to kill a fly. Cheers, C. -- http://www.kde-france.org
Re: How to change pdf viewer?
muzzle wrote: Well, I do have several options in the menu, but I would like to change the default for the toolbar button, is it possible? Not with the GUI, I believe. It should be possible by creating your own *.ui files. Look at what is in /Applications/LyX.app/Contents/Resources/ui/, create your own set of *.ui and *.inc files, put them in your user-directory and select them in the Preferences. /Konrad
Re: Automagically reduce the spacing between ++ in the word C++
On 22.10.2008, at 14:12, Charles de Miramon wrote: Daniel Lohmann wrote: [...] occurrences with some ERT box is not an option, as this would cause too much hassle and would not work in external material, such as bibliographic entries. I am looking for a more elegant solution. The easiest way would be to process your latex and bib files through a sed script to replace C++ to \C++ and define a \C++ macro with the correct space between C and + Thanks Charles! However, I am editing and working in LyX, not LaTeX. Replacing C++ in the lyx files by the correct ERT boxes is somewhat more complicated, as it requires inserting some extra begin_inset and end_inset lines. Moreover, this would not cover the occurrences of C++ in the bibliography. I think that I remember to have read about so-called catcodes (or whatever?) in TeX, which apparently make it possible to declare certain characters as active so that further processing is possible whenever the TeX scanner reads such character. I wonder if it is possible this way to declare in the preamble that C followed by +, followed by + is active and should be inherently substituted with something like \mbox{C+\hspace{-.5ex}+}} It is possible to redefine in TeX the letter C catcode and then test if it is followed by two +. But it is a lot of work (TeX macros are not very easy) and maybe it is like using a hammer to kill a fly. Well, I really do like hammers! :-) Daniel
Bibtex: limit the number of authors for \cite to three
Hi, I use the style geralpha to layout my bibliographic references. When I create a pdf-file with lyx everything is fine, except the citation style. Now it looks like that: ...some text [NCTLH07]. There are five authors for the cited entry (the first character of every surname is used, plus the year). I want to limit the characters used for a citation to three, so that it looks like that: some text [NCT07]. Hence only mention the first characters of the first three authors. Is that possible? Thanks for any help. Oli
Re: Automagically reduce the spacing between ++ in the word C++
On 22.10.2008, at 14:07, Konrad Hofbauer wrote: Daniel Lohmann wrote: Any TeX gurus on this list who might help me? If you don't get any answer here, try in the comp.text.tex newsgroup. Thanks Konrad! Daniel, who is hoping nevertheless to find an expert here :-)
lyx 1.5.x under debian
I try to get the latest 1.5 lyx under debian and entered in /etc/apt/sources.list # Testing deb http://download.tuxfamily.org/emiscabpo/lyx15-bpo/ but synaptic does not like this line. I also tried to update texlive et Co., but the latest version is 2005, which seems to me a bit antique. It also asks for libgnome2-perl, which I can't get if I search for it in synaptic (nor libgnome). Which package is responsible for it? http://www.samuel-greef.de/?p=210 tells me to get these packages and install them sequentially: 1. lyx-common_1.5.4-1~emiscabpo40+1_all.deb 2. libboost-filesystem1.34.1_1.34.1-2~emiscabpo40+1_i386.deb 3. libboost-regex1.34.1_1.34.1-2~emiscabpo40+1_i386.deb 4. libboost-signals1.34.1_1.34.1-2~emiscabpo40+1_i386.deb 5. lyx_1.5.4-1~emiscabpo40+1_i386.deb # Pakete in der angegebenen Reihenfolge mittels “dpkg -i PAKETNAME” installieren Is this correct, or does synaptic do the job for me? I would appreciate hints from one of you who uses Debian and has successfully installed Lyx 1.5.4 Thanks, Wolfgang
Re: install thesis class, Mac
On Wed, Oct 22, 2008 at 8:10 AM, rgheck [EMAIL PROTECTED] wrote: Mike Martell wrote: Thanks again. I took your advice. I located configure.py I opened terminal, typed: # cd /tmp/ then, #python/library/applications/lyx.app/content/resources/configure.py Just a few mostly Mac specific comments that might be helpful. The correct line should be: python /path/to/LyX.app/Contents/Resources/configure.py (of course replacing /path/to by the appropriate path. /library/applications is not the standard location for applications; it's typically just /Applications). Note 2 (or 3) other things: 1. There's a space after python. 2. It should be Contents (with an s), not content. 3. Depending on your file system, the capitalization of LyX Contents and Resources may matter. When in doubt, use proper capitalization. Bennett
Re: How to change pdf viewer?
On Wed, Oct 22, 2008 at 4:17 AM, Pierfranco Minsenti [EMAIL PROTECTED] wrote: Hi, I must confess that even in my case (LyX 1.5.4 on Mac Os X 10.3.9), if I want to change the default PDF viewer I have to put the whole path to the executable. For example, for using the pdf viewer Adobe Reader 7.1.0 for Mac it works only if I use: /Applications/Adobe\ Reader\ 7.1.0/Adobe\ Reader\ 7.1.0.app/Contents/MacOS/Adobe\ Reader instead if i follow the other suggestions and use: open -a Adobe Reader 7.1.0 it doesn't work. Nothing happens. My guess is that you need: open -a Adobe Reader 7.1.0 (with the quotation marks).
Re: install thesis class, Mac
Thanks. Here is what terminal said after I typed in your suggested line. Is this the output you wanted me to post? I have no idea what it means. LyX still fails to reconfigure. Once again, thank you so much for your help. Also, I am using LyX 1.5.6 . I looked throught the authesis.cls file and did not find a line that said /LoadClass line. dhcp-226-212:~ mikemartell$ python /Applications/LyX.app/Contents/Resources/configure.py checking for a Latex2e program... +checking for latex... yes checking for a DVI postprocessing program... +checking for pplatex... no checking for a Tgif viewer and editor... +checking for tgif... no checking for a FIG viewer and editor... +checking for xfig... no checking for a Grace viewer and editor... +checking for xmgrace... no checking for a FEN viewer and editor... +checking for xboard... no checking for a raster image viewer... +checking for xv... no +checking for kview... no +checking for gimp-remote... no +checking for gimp... no checking for a raster image editor... +checking for gimp-remote... no +checking for gimp... no checking for a text editor... +checking for sensible-editor... no +checking for xemacs... no +checking for gvim... no +checking for kedit... no +checking for kwrite... no +checking for kate... no +checking for nedit... no +checking for gedit... no +checking for notepad... no checking for a Postscript previewer... +checking for kghostview... no +checking for evince... no +checking for gv... no +checking for ghostview... no checking for a PDF previewer... +checking for kpdf... no +checking for evince... no +checking for kghostview... no +checking for xpdf... no +checking for acrobat... no +checking for acroread... no +checking for gv... no +checking for ghostview... no checking for a DVI previewer... +checking for xdvi... yes checking for an HTML previewer... +checking for firefox... no +checking for mozilla... no +checking for netscape... no checking for Noteedit... +checking for noteedit... no checking for an OpenDocument viewer... +checking for oowriter... no checking for the pdflatex program... +checking for pdflatex... yes checking for a LaTeX/Noweb - LyX converter... +checking for tex2lyx... no +checking for tex2lyx... no checking for a Noweb - LaTeX converter... +checking for noweave... no checking for an HTML - LaTeX converter... +checking for html2latex... no +checking for gnuhtml2latex... no +checking for htmltolatex... no +checking for java... yes checking for an MS Word - LaTeX converter... +checking for wvCleanLatex... no checking for a LaTeX - HTML converter... +checking for htlatex... yes checking for a LaTeX - MS Word converter... +checking for htlatex... yes checking for an OpenOffice.org - LaTeX converter... +checking for w2l... no checking for an OpenDocument - LaTeX converter... +checking for w2l... no checking for a LaTeX - Open Document converter... +checking for htlatex... yes checking for a LaTeX - RTF converter... +checking for latex2rtf... no +checking for latex2rt... no checking for a PS to PDF converter... +checking for ps2pdf13... yes checking for a PS to TXT converter... +checking for pstotext... no checking for a PS to TXT converter... +checking for ps2ascii... yes checking for a PS to EPS converter... +checking for ps2eps... yes checking for a PDF to PS converter... +checking for pdf2ps... yes checking for a PDF to EPS converter... +checking for pdftops... no checking for a DVI to TXT converter... +checking for catdvi... no checking for a DVI to PS converter... +checking for dvips... yes checking for a DVI to PDF converter... +checking for dvipdfmx... yes checking for dvipng... +checking for dvipng... yes checking for a fax program... +checking for kdeprintfax... no +checking for ksendfax... no checking for a FIG - EPS/PPM converter... +checking for fig2dev... no checking for a TIFF - PS converter... +checking for tiff2ps... no checking for a TGIF - EPS/PPM converter... +checking for tgif... no checking for a WMF - EPS converter... +checking for metafile2eps... no +checking for wmf2eps... no checking for an EMF - EPS converter... +checking for metafile2eps... no +checking for wmf2eps... no checking for an EPS - PDF converter... +checking for epstopdf... yes checking for a Grace - Image converter... +checking for gracebat... no checking for a Dot - PDF converter... +checking for dot... no checking for a LilyPond - EPS/PDF/PNG converter... +checking for lilypond... no checking for a Noteedit - LilyPond converter... +checking for noteedit... no checking for SGML-tools 1.x (LinuxDoc)... +checking for sgml2lyx... no checking for SGML-tools 2.x (DocBook) or db2x scripts... +checking for sgmltools... no +checking for db2dvi... no Checking whether TeX allows spaces in file names... yes checking for a *roff formatter... +checking for groff... yes checking for an
Re: install thesis class, Mac
Mike Martell wrote: Thanks. Here is what terminal said after I typed in your suggested line. Is this the output you wanted me to post? I have no idea what it means. LyX still fails to reconfigure. Once again, thank you so much for your help. Also, I am using LyX 1.5.6 . I looked throught the authesis.cls file and did not find a line that said /LoadClass line. Hmm. That looks like a successful reconfigure to me. Try this again now from inside your LyX user directory. To verify where that is, go to ToolsPreferences, User Interface, hit Browse and then User Files. This will dump you into a subdirectory of your user directory. Worth doing just to make sure. Anyway, once you are sure which directory that is, go there and run configure.py manually. Post the output again. rh dhcp-226-212:~ mikemartell$ python /Applications/LyX.app/Contents/Resources/configure.py checking for a Latex2e program... +checking for latex... yes checking for a DVI postprocessing program... +checking for pplatex... no checking for a Tgif viewer and editor... +checking for tgif... no checking for a FIG viewer and editor... +checking for xfig... no checking for a Grace viewer and editor... +checking for xmgrace... no checking for a FEN viewer and editor... +checking for xboard... no checking for a raster image viewer... +checking for xv... no +checking for kview... no +checking for gimp-remote... no +checking for gimp... no checking for a raster image editor... +checking for gimp-remote... no +checking for gimp... no checking for a text editor... +checking for sensible-editor... no +checking for xemacs... no +checking for gvim... no +checking for kedit... no +checking for kwrite... no +checking for kate... no +checking for nedit... no +checking for gedit... no +checking for notepad... no checking for a Postscript previewer... +checking for kghostview... no +checking for evince... no +checking for gv... no +checking for ghostview... no checking for a PDF previewer... +checking for kpdf... no +checking for evince... no +checking for kghostview... no +checking for xpdf... no +checking for acrobat... no +checking for acroread... no +checking for gv... no +checking for ghostview... no checking for a DVI previewer... +checking for xdvi... yes checking for an HTML previewer... +checking for firefox... no +checking for mozilla... no +checking for netscape... no checking for Noteedit... +checking for noteedit... no checking for an OpenDocument viewer... +checking for oowriter... no checking for the pdflatex program... +checking for pdflatex... yes checking for a LaTeX/Noweb - LyX converter... +checking for tex2lyx... no +checking for tex2lyx... no checking for a Noweb - LaTeX converter... +checking for noweave... no checking for an HTML - LaTeX converter... +checking for html2latex... no +checking for gnuhtml2latex... no +checking for htmltolatex... no +checking for java... yes checking for an MS Word - LaTeX converter... +checking for wvCleanLatex... no checking for a LaTeX - HTML converter... +checking for htlatex... yes checking for a LaTeX - MS Word converter... +checking for htlatex... yes checking for an OpenOffice.org - LaTeX converter... +checking for w2l... no checking for an OpenDocument - LaTeX converter... +checking for w2l... no checking for a LaTeX - Open Document converter... +checking for htlatex... yes checking for a LaTeX - RTF converter... +checking for latex2rtf... no +checking for latex2rt... no checking for a PS to PDF converter... +checking for ps2pdf13... yes checking for a PS to TXT converter... +checking for pstotext... no checking for a PS to TXT converter... +checking for ps2ascii... yes checking for a PS to EPS converter... +checking for ps2eps... yes checking for a PDF to PS converter... +checking for pdf2ps... yes checking for a PDF to EPS converter... +checking for pdftops... no checking for a DVI to TXT converter... +checking for catdvi... no checking for a DVI to PS converter... +checking for dvips... yes checking for a DVI to PDF converter... +checking for dvipdfmx... yes checking for dvipng... +checking for dvipng... yes checking for a fax program... +checking for kdeprintfax... no +checking for ksendfax... no checking for a FIG - EPS/PPM converter... +checking for fig2dev... no checking for a TIFF - PS converter... +checking for tiff2ps... no checking for a TGIF - EPS/PPM converter... +checking for tgif... no checking for a WMF - EPS converter... +checking for metafile2eps... no +checking for wmf2eps... no checking for an EMF - EPS converter... +checking for metafile2eps... no +checking for wmf2eps... no checking for an EPS - PDF converter... +checking for epstopdf... yes checking for a Grace - Image converter... +checking for gracebat... no checking for a Dot - PDF converter... +checking for dot... no checking for a LilyPond -
Re: install thesis class, Mac
Mike Martell wrote: I looked throught the authesis.cls file and did not find a line that said /LoadClass line. I just had a look, too. Looks like it was hacked from ucthesis, which was a modification of report. So I'd try: Input report.layout and modify anything that needs modifying. rh
Re: install thesis class, Mac
I changed the layout file. to read report instead of article, ran texhash, and still got the reconfigure error. You said: Hmm. That looks like a successful reconfigure to me. Try this again now from inside your LyX user directory. To verify where that is, go to ToolsPreferences, User Interface, hit Browse and then User Files. This will dump you into a subdirectory of your user directory. Worth doing just to make sure. I verified the directory and ran the python command. Here is my terminal line I typed and its response. dhcp-226-212:~ mikemartell$ python /Applications/LyX.app/contents/Resources/ui/configure.py /System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python: can't open file '/Applications/LyX.app/contents/Resources/ui/configure.py': [Errno 2] No such file or directory I really appreciate your being so helpful. Mike On Wed, Oct 22, 2008 at 10:43 AM, Richard Heck [EMAIL PROTECTED] wrote: Mike Martell wrote: I looked throught the authesis.cls file and did not find a line that said /LoadClass line. I just had a look, too. Looks like it was hacked from ucthesis, which was a modification of report. So I'd try: Input report.layout and modify anything that needs modifying. rh
make lyx ignore left margin to center wide images
I have a figure placing problem which i cannot find a solution to. I need to include a figure in my text that is very detailed.Therefore I need the picture to be scaled wider then the text (via scaling 120% of textwidth or 95% of page width) This works,... but the image shifts to to RIGHT as soon as the left side of IMAGE hits the lext margin of the Text/page. In other words it no longer centers because it hit the left margin, it continues scaling to the right but not the left.HOWEVER I WANT IT TO GO FURTHER LEFT THEN THE TEXT MARGIN (see image) I realise this is estheticly not ideal but I need to do it anyway :-) If somebody knows what to do.. many thanks! http://n2.nabble.com/file/n1364346/Untitled.jpg -- View this message in context: http://n2.nabble.com/make-lyx-ignore-left-margin-to-center-wide-images-tp1364346p1364346.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: install thesis class, Mac
Mike Martell wrote: I changed the layout file. to read report instead of article, ran texhash, and still got the reconfigure error. You said: Hmm. That looks like a successful reconfigure to me. Try this again now from inside your LyX user directory. To verify where that is, go to ToolsPreferences, User Interface, hit Browse and then User Files. This will dump you into a subdirectory of your user directory. Worth doing just to make sure. I verified the directory and ran the python command. Here is my terminal line I typed and its response. dhcp-226-212:~ mikemartell$ python /Applications/LyX.app/contents/Resources/ui/configure.py /System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python: can't open file '/Applications/LyX.app/contents/Resources/ui/configure.py': [Errno 2] No such file or directory You need to type exactly the same thing you did last time, whatever that was, but to do it from inside the LyX user directory. rh
Re: make lyx ignore left margin to center wide images
There are a few options to solve the issue. I personally prefer the most straight forward ones, which are: A) Rotate the Figure float: Right-click on the Float:Figure inset - Settings - check Rotate sideways Another option is to rotate the actual graphic inside the float: Right- click on the figure - Settings - Angle (degrees) = 90 B) If rotating is not an option, edit the figure so that text is readable in the scale you want (say 100% column width) and rearrange the graphic blocks to fit. You could change the margin settings for that particular page, but you don't want to go there. On 22/10/2008, at 11:10 AM, keeskooskaas wrote: I have a figure placing problem which i cannot find a solution to. I need to include a figure in my text that is very detailed.Therefore I need the picture to be scaled wider then the text (via scaling 120% of textwidth or 95% of page width) This works,... but the image shifts to to RIGHT as soon as the left side of IMAGE hits the lext margin of the Text/page. In other words it no longer centers because it hit the left margin, it continues scaling to the right but not the left.HOWEVER I WANT IT TO GO FURTHER LEFT THEN THE TEXT MARGIN (see image) I realise this is estheticly not ideal but I need to do it anyway :-) If somebody knows what to do.. many thanks! View message @ http://n2.nabble.com/make-lyx-ignore-left-margin-to-center-wide-images-tp1364346p1364346.html To start a new topic under LyX - Users, email [EMAIL PROTECTED] To unsubscribe from LyX - Users, click here. -- View this message in context: http://n2.nabble.com/make-lyx-ignore-left-margin-to-center-wide-images-tp1364346p1364504.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: install thesis class, Mac
On Wed, Oct 22, 2008 at 11:28 AM, Richard Heck [EMAIL PROTECTED] wrote: Mike Martell wrote: I changed the layout file. to read report instead of article, ran texhash, and still got the reconfigure error. You said: Hmm. That looks like a successful reconfigure to me. Try this again now from inside your LyX user directory. To verify where that is, go to ToolsPreferences, User Interface, hit Browse and then User Files. This will dump you into a subdirectory of your user directory. Worth doing just to make sure. I verified the directory and ran the python command. Here is my terminal line I typed and its response. dhcp-226-212:~ mikemartell$ python /Applications/LyX.app/contents/Resources/ui/configure.py /System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python: can't open file '/Applications/LyX.app/contents/Resources/ui/configure.py': [Errno 2] No such file or directory You need to type exactly the same thing you did last time, whatever that was, but to do it from inside the LyX user directory. That is, in Terminal, type: cd ~/Library/Application\ Support/LyX-1.5/ to get to the user directory. Then type: python /Applications/LyX.app/Contents/Resources/configure.py to reconfigure. (Note that in this line there is no /ui before configure.) Bennett
Re: install thesis class, Mac
I followed your directions. you said (thanks for being so explicit ): That is, in Terminal, type: cd ~/Library/Application\ Support/LyX-1.5/ to get to the user directory. Then type: python /Applications/LyX.app/Contents/Resources/configure.py to reconfigure. (Note that in this line there is no /ui before configure.) I still did not have luck. Is this perhaps because i have placed my files in the wrong spot? Should the authesis.layout file i made be with all the other layout files? in Applications/LyX.app/Contents/Resources/layouts/ instead of in username/Library/Application Support/Lyx-1.5/layouts ? And perhaps, these files (authesis.cls, aucas.clo, aut10.clo, auecon.clo) should not be in this location: users/username/library/texmf/tex/latex/authesis/ Once again, thank you very much. Mike On Wed, Oct 22, 2008 at 1:09 PM, Bennett Helm [EMAIL PROTECTED] wrote: On Wed, Oct 22, 2008 at 11:28 AM, Richard Heck [EMAIL PROTECTED] wrote: Mike Martell wrote: I changed the layout file. to read report instead of article, ran texhash, and still got the reconfigure error. You said: Hmm. That looks like a successful reconfigure to me. Try this again now from inside your LyX user directory. To verify where that is, go to ToolsPreferences, User Interface, hit Browse and then User Files. This will dump you into a subdirectory of your user directory. Worth doing just to make sure. I verified the directory and ran the python command. Here is my terminal line I typed and its response. dhcp-226-212:~ mikemartell$ python /Applications/LyX.app/contents/Resources/ui/configure.py /System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python: can't open file '/Applications/LyX.app/contents/Resources/ui/configure.py': [Errno 2] No such file or directory You need to type exactly the same thing you did last time, whatever that was, but to do it from inside the LyX user directory. That is, in Terminal, type: cd ~/Library/Application\ Support/LyX-1.5/ to get to the user directory. Then type: python /Applications/LyX.app/Contents/Resources/configure.py to reconfigure. (Note that in this line there is no /ui before configure.) Bennett
Re: install thesis class, Mac
Mike Martell wrote: I followed your directions. you said (thanks for being so explicit ): That is, in Terminal, type: cd ~/Library/Application\ Support/LyX-1.5/ to get to the user directory. Then type: python /Applications/LyX.app/Contents/Resources/configure.py to reconfigure. (Note that in this line there is no /ui before configure.) So what was the output in this case? Did configure complete, or did it die with an error? Is this perhaps because i have placed my files in the wrong spot? Should the authesis.layout file i made be with all the other layout files? in Applications/LyX.app/Contents/Resources/layouts/ instead of in username/Library/Application Support/Lyx-1.5/layouts ? The layout files should be in ~/Library/Application\ Support/LyX-1.5/layouts/. The username bit is meant to indicate your main user directory, whatever that is. That's what ~ gets you, and also should be the content of the $HOME environment variable. So if you do: echo $HOME you'll get your home directory back. And perhaps, these files (authesis.cls, aucas.clo, aut10.clo, auecon.clo) should not be in this location: users/username/library/texmf/tex/latex/authesis/ If kpsewhich is seeing them, then they are fine. So you might want to check that again: kpsewhich authesis.cls rh
Re: install thesis class, Mac
thanks. it looks like my layout file is in the correct place. And kpsewhich authesis.cls recognizes the file. here are the results of my running configure. I don't think it is working. dhcp-226-212:~ mikemartell$ cd ~/Library/Application\ Support/LyX-1.5/ dhcp-226-212:LyX-1.5 mikemartell$ python /Applications/LyX.app/Contents/Resources/configure.py checking for a Latex2e program... +checking for latex... yes checking for a DVI postprocessing program... +checking for pplatex... no checking for a Tgif viewer and editor... +checking for tgif... no checking for a FIG viewer and editor... +checking for xfig... no checking for a Grace viewer and editor... +checking for xmgrace... no checking for a FEN viewer and editor... +checking for xboard... no checking for a raster image viewer... +checking for xv... no +checking for kview... no +checking for gimp-remote... no +checking for gimp... no checking for a raster image editor... +checking for gimp-remote... no +checking for gimp... no checking for a text editor... +checking for sensible-editor... no +checking for xemacs... no +checking for gvim... no +checking for kedit... no +checking for kwrite... no +checking for kate... no +checking for nedit... no +checking for gedit... no +checking for notepad... no checking for a Postscript previewer... +checking for kghostview... no +checking for evince... no +checking for gv... no +checking for ghostview... no checking for a PDF previewer... +checking for kpdf... no +checking for evince... no +checking for kghostview... no +checking for xpdf... no +checking for acrobat... no +checking for acroread... no +checking for gv... no +checking for ghostview... no checking for a DVI previewer... +checking for xdvi... yes checking for an HTML previewer... +checking for firefox... no +checking for mozilla... no +checking for netscape... no checking for Noteedit... +checking for noteedit... no checking for an OpenDocument viewer... +checking for oowriter... no checking for the pdflatex program... +checking for pdflatex... yes checking for a LaTeX/Noweb - LyX converter... +checking for tex2lyx... no +checking for tex2lyx... no checking for a Noweb - LaTeX converter... +checking for noweave... no checking for an HTML - LaTeX converter... +checking for html2latex... no +checking for gnuhtml2latex... no +checking for htmltolatex... no +checking for java... yes checking for an MS Word - LaTeX converter... +checking for wvCleanLatex... no checking for a LaTeX - HTML converter... +checking for htlatex... yes checking for a LaTeX - MS Word converter... +checking for htlatex... yes checking for an OpenOffice.org - LaTeX converter... +checking for w2l... no checking for an OpenDocument - LaTeX converter... +checking for w2l... no checking for a LaTeX - Open Document converter... +checking for htlatex... yes checking for a LaTeX - RTF converter... +checking for latex2rtf... no +checking for latex2rt... no checking for a PS to PDF converter... +checking for ps2pdf13... yes checking for a PS to TXT converter... +checking for pstotext... no checking for a PS to TXT converter... +checking for ps2ascii... yes checking for a PS to EPS converter... +checking for ps2eps... yes checking for a PDF to PS converter... +checking for pdf2ps... yes checking for a PDF to EPS converter... +checking for pdftops... no checking for a DVI to TXT converter... +checking for catdvi... no checking for a DVI to PS converter... +checking for dvips... yes checking for a DVI to PDF converter... +checking for dvipdfmx... yes checking for dvipng... +checking for dvipng... yes checking for a fax program... +checking for kdeprintfax... no +checking for ksendfax... no checking for a FIG - EPS/PPM converter... +checking for fig2dev... no checking for a TIFF - PS converter... +checking for tiff2ps... no checking for a TGIF - EPS/PPM converter... +checking for tgif... no checking for a WMF - EPS converter... +checking for metafile2eps... no +checking for wmf2eps... no checking for an EMF - EPS converter... +checking for metafile2eps... no +checking for wmf2eps... no checking for an EPS - PDF converter... +checking for epstopdf... yes checking for a Grace - Image converter... +checking for gracebat... no checking for a Dot - PDF converter... +checking for dot... no checking for a LilyPond - EPS/PDF/PNG converter... +checking for lilypond... no checking for a Noteedit - LilyPond converter... +checking for noteedit... no checking for SGML-tools 1.x (LinuxDoc)... +checking for sgml2lyx... no checking for SGML-tools 2.x (DocBook) or db2x scripts... +checking for sgmltools... no +checking for db2dvi... no Checking whether TeX allows spaces in file names... yes checking for a *roff formatter... +checking for groff... yes checking for an index processor... +checking for texindy... yes checking for ChkTeX... +checking
Re: install thesis class, Mac
Mike Martell wrote: thanks. it looks like my layout file is in the correct place. And kpsewhich authesis.cls recognizes the file. here are the results of my running configure. I don't think it is working. [snip] checking LaTeX configuration... auto Wrong input layout file with line '\\DeclareLaTeXClass[authesis]\{authesis\}\ Can you tell me what the error means? I looked at my layout file and found this one online in the archive. I made mine look just like this replacing ucthesis with authesis and it still isn't working well. Do you know if this layout file looks more correct? (located at: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg59944.html) #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[ucthesis]{UC Thesis} # Read the definitions from report.layout Input report.layout You need a # before the \Declare So try this: #% Do not delete the line below; configure depends on this # #\DeclareLaTeXClass{AU Thesis} # Read the definitions from report.layout Input report.layout Put that in authesis.layout, and it should work now. We can hope!! rh
Re: install thesis class, Mac
Thanks. I changed the layout file as you suggested: #% Do not delete the line below; configure depends on this # #\DeclareLaTeXClass{authesis} # Read the definitions from report.layout Input report.layout and here is the output from terminal. It looks like it worked (?). I open LyX and my class is not available, and if I configure I still get the error. Can you help again?, thanks. here is the terminal output: dhcp-226-212:~ mikemartell$ cd ~/Library/Application\ Support/LyX-1.5/ dhcp-226-212:LyX-1.5 mikemartell$ python /Applications/LyX.app/Contents/Resources/configure.py checking for a Latex2e program... +checking for latex... yes checking for a DVI postprocessing program... +checking for pplatex... no checking for a Tgif viewer and editor... +checking for tgif... no checking for a FIG viewer and editor... +checking for xfig... no checking for a Grace viewer and editor... +checking for xmgrace... no checking for a FEN viewer and editor... +checking for xboard... no checking for a raster image viewer... +checking for xv... no +checking for kview... no +checking for gimp-remote... no +checking for gimp... no checking for a raster image editor... +checking for gimp-remote... no +checking for gimp... no checking for a text editor... +checking for sensible-editor... no +checking for xemacs... no +checking for gvim... no +checking for kedit... no +checking for kwrite... no +checking for kate... no +checking for nedit... no +checking for gedit... no +checking for notepad... no checking for a Postscript previewer... +checking for kghostview... no +checking for evince... no +checking for gv... no +checking for ghostview... no checking for a PDF previewer... +checking for kpdf... no +checking for evince... no +checking for kghostview... no +checking for xpdf... no +checking for acrobat... no +checking for acroread... no +checking for gv... no +checking for ghostview... no checking for a DVI previewer... +checking for xdvi... yes checking for an HTML previewer... +checking for firefox... no +checking for mozilla... no +checking for netscape... no checking for Noteedit... +checking for noteedit... no checking for an OpenDocument viewer... +checking for oowriter... no checking for the pdflatex program... +checking for pdflatex... yes checking for a LaTeX/Noweb - LyX converter... +checking for tex2lyx... no +checking for tex2lyx... no checking for a Noweb - LaTeX converter... +checking for noweave... no checking for an HTML - LaTeX converter... +checking for html2latex... no +checking for gnuhtml2latex... no +checking for htmltolatex... no +checking for java... yes checking for an MS Word - LaTeX converter... +checking for wvCleanLatex... no checking for a LaTeX - HTML converter... +checking for htlatex... yes checking for a LaTeX - MS Word converter... +checking for htlatex... yes checking for an OpenOffice.org - LaTeX converter... +checking for w2l... no checking for an OpenDocument - LaTeX converter... +checking for w2l... no checking for a LaTeX - Open Document converter... +checking for htlatex... yes checking for a LaTeX - RTF converter... +checking for latex2rtf... no +checking for latex2rt... no checking for a PS to PDF converter... +checking for ps2pdf13... yes checking for a PS to TXT converter... +checking for pstotext... no checking for a PS to TXT converter... +checking for ps2ascii... yes checking for a PS to EPS converter... +checking for ps2eps... yes checking for a PDF to PS converter... +checking for pdf2ps... yes checking for a PDF to EPS converter... +checking for pdftops... no checking for a DVI to TXT converter... +checking for catdvi... no checking for a DVI to PS converter... +checking for dvips... yes checking for a DVI to PDF converter... +checking for dvipdfmx... yes checking for dvipng... +checking for dvipng... yes checking for a fax program... +checking for kdeprintfax... no +checking for ksendfax... no checking for a FIG - EPS/PPM converter... +checking for fig2dev... no checking for a TIFF - PS converter... +checking for tiff2ps... no checking for a TGIF - EPS/PPM converter... +checking for tgif... no checking for a WMF - EPS converter... +checking for metafile2eps... no +checking for wmf2eps... no checking for an EMF - EPS converter... +checking for metafile2eps... no +checking for wmf2eps... no checking for an EPS - PDF converter... +checking for epstopdf... yes checking for a Grace - Image converter... +checking for gracebat... no checking for a Dot - PDF converter... +checking for dot... no checking for a LilyPond - EPS/PDF/PNG converter... +checking for lilypond... no checking for a Noteedit - LilyPond converter... +checking for noteedit... no checking for SGML-tools 1.x (LinuxDoc)... +checking for sgml2lyx... no checking for SGML-tools 2.x (DocBook) or db2x scripts... +checking for sgmltools... no +checking for
Re: Automagically reduce the spacing between ++ in the word C++
On Wed, Oct 22, 2008 at 01:51:34PM +0200, Daniel Lohmann wrote: Hi, I am currently in the process of polishing the typesetting of my thesis. One of the things I would like to achieve is to reduce the spacing between ++ in the words C++ and AspectC++, as this looks somewhat strange with the font I am using. This question is somewhat related to the thread http://www.mail-archive.com/lyx-users@lists.lyx.org/msg66864.html where the original poster asked for a way to reduce the space between the two slashes in hyperlinks. However, the original solution does not work in my case, as C++ and AspectC++ are not typeset by any kind of (La)TeX command, but are just ordinary words. Replacing all occurrences with some ERT box is not an option, as this would cause too much hassle and would not work in external material, such as bibliographic entries. I am looking for a more elegant solution. I think that I remember to have read about so-called catcodes (or whatever?) in TeX, which apparently make it possible to declare certain characters as active so that further processing is possible whenever the TeX scanner reads such character. I wonder if it is possible this way to declare in the preamble that C followed by +, followed by + is active and should be inherently substituted with something like \mbox{C+\hspace{-.5ex}+}} Any TeX gurus on this list who might help me? Quick shot: \makeatletter \def\plus{+} \def\smallplusplus{\raisebox{0.6ex}{\tiny+\hspace{-0.3ex}+}} \catcode`\+=13 \long\def+#1{\ifx#1+\smallplusplus\else\plus#1\fi} \makeatother \documentclass{article} \begin{document} Single C CPlus C+ CPlusPlus C++ D C++A CPlusStar C+* D C+*A \end{document} Andre'
Re: Automagically reduce the spacing between ++ in the word C++
On Wed, Oct 22, 2008 at 09:22:35PM +0200, Andre Poenitz wrote: I think that I remember to have read about so-called catcodes (or whatever?) in TeX, which apparently make it possible to declare certain characters as active so that further processing is possible whenever the TeX scanner reads such character. I wonder if it is possible this way to declare in the preamble that C followed by +, followed by + is active and should be inherently substituted with something like \mbox{C+\hspace{-.5ex}+}} Quick shot: [...] Somewhat improved version: \def\plus{+} \catcode`\+=\active \def\smallplusplus#1{\raisebox{0.6ex}{\tiny\plus\kern-.3ex\plus}} \def+{\futurelet\nextchar\pluss} \def\pluss{% \ifx\nextchar+% \let\next\smallplusplus% \else% \let\next\plus% \fi% \next} And no, I can't explain it. Andre'
Once forever on adding a document class in LyX
Dear all, The addition of document classes in LyX is for sure one of the most debated topic. I also have had the problem in the past, and with evolving LyX (on OSX) the way to solve has become more and more easy. Just as an example, I have installed svmono from springer in this easy way (MAC OSX 10.5.5): 1) download and unpack the svmono.zip from Springer 2) Perform TeX implementation update: a) copy files svmono.cls, svmult.cls e svind.ist into ~/Library/texmf/tex /latex (if a folder does not exist, then create it) b) copy file svind.ist into ~/Library/texmf/tex /makeindex (if a folder does not exist, then create it) 3) LyX implementation update: (here the problem comes) a) find a .layout file to modify: - ctrl-click on the LyX package and select show content from the menu - go inside the Resources folder and then into the layouts folder - copy the book.layout file on the Desktop and rename it svmono.layout - modify the second row from # \DeclareLaTeXClass{book} to # \DeclareLaTeXClass{svmono} b) copy svmono.layout into ~/Library/Application Support/Lyx-1.5/layouts c) start LyX and from the LyX menu select Reconfigure END of the story ___ Now, usually everybody has the .cls files, and nobody knows how to create the .layout file Here is my proposal: Even if not tested, and then not included into the LyX distributions, why don't we start to collect them and put somewhere on the web site, may be with a WARNING-UNRELIABLE MATERIAL label? I truly believe this would help a lot! Just in case, here is my svmono.layout file: ___ #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass{svmono} # Book textclass definition file. Taken from initial LyX source code # Author : Matthias Ettrich [EMAIL PROTECTED] # Transposed by Pascal AndrÈ [EMAIL PROTECTED] # Heavily modifed and enhanced by serveral developers. # Input general definitions Input stdclass.inc # Global parameters. Sides 2 PageStyle Headings # There is no abstract environment in book.cls NoStyle Abstract # a few changes to the bibliography Style Bibliography TopSep4 LabelString Bibliography # label font definition LabelFont Series Bold SizeHuge EndFont End __ ___ Prof. Giorgio Zavarise Chair of Structural Mechanics Department of Innovation Engineering University of Salento Via per Monteroni - Edificio La Stecca I-73100 LECCE - Italy tel. +39 0832 297 275 fax +39 0832 325 362 handy +39 338 269 0187 e-mail [EMAIL PROTECTED] skype giorgio.zavarise web http://staff.polito.it/giorgio.zavarise ___
Re: Bringing the footer higher...
On Wed, 22 Oct 2008, Helge Hafting engaged keyboard and shared this with us all: large snip --} The tawny frogmouth graphic sits a bit high as you can see in the attached --} pic. Not a problem, just something I haven't as yet worked out how to fix. I --} don't like bothering the list. --} --} It is okay to ask questions on the list! That is one of the lists --} purposes. People making demands or complaining loudly sometimes makes --} themselves unpopular, but how do I do that? is fine. --} --} --} When you use \includegraphic, the bottom edge of the picture --} aligns with the text baseline. (Most letters sits on top of the --} baseline, a few, like j and g extends under it.) --} --} There are quite a few ways to change that. A simple one is to --} put the image inside a \raisebox command. Raise by a negative length --} to get the image lower down. Some experimentation may be necessary to --} get it just right. --} --} In some cases, one wants to line the image up so it matches something --} else. Such as another image or a table. In such cases, put the --} image inside a box (\parbox or \minipage). Such boxes can be aligned --} in various ways: top alignment, bottom alignment, middle alignment. --} You can usually get what you want, but it is not always trivial. --} --} LyX now comes with a file named EmbeddedObjects.lyx, which --} you can find from the help menu. It demonstrates lots of box stuff, --} as well as the \raisebox trick. You can also find examples on the net. --} --} Helge Hafting Thanks Helge - I will try those things. Be well, Charlie -- Registered Linux User:- 329524 *** When it's over, I want to say: all my life I was a bride married to amazement. I was the bridegroom, taking the world into my arms . . . MARY OLIVER *** Debian, just the best way to create magic ___
figure caption gives errors when exporting as PDF
Hi I try to include a .eps in my lyx document. It shows fine, except that i can not get a caption :-( There appears to be 5 errors Undefined control sequence extra \else Undefined control sequence You cant you \relax after \advance extra \fi How do people get graphics with captions? and possibly figure numbers that can be cross-referenced to? JonB
Re: install thesis class, Mac
Mike Martell wrote: Thanks. I changed the layout file as you suggested: #% Do not delete the line below; configure depends on this # #\DeclareLaTeXClass{authesis} # Read the definitions from report.layout Input report.layout and here is the output from terminal. It looks like it worked (?). I open LyX and my class is not available, and if I configure I still get the error. Can you help again?, thanks. It seems to have died at authesis again: +checking for document class IEEEtran [IEEEtran]... yes +checking for document class aapaper [aa]... no +checking for document class aastex [aastex]... yes +checking for document class aa [aa]... no +checking for docbook class agu-dtd... no +checking for document class agums [aguplus,agums.sty]... no +checking for document class amsart-plain [amsart]... yes +checking for document class amsart-seq [amsart]... yes +checking for document class amsart [amsart]... yes +checking for document class amsbook [amsbook]... yes +checking for document class apa [apa,apacite.sty]... yes +checking for document class arab-article [arabart]... yes +checking for document class armenian-article [article]... yes +checking for document class article-beamer [article]... yes +checking for document class article [article]... yes +checking for package algorithm [algorithm]... yes There ought to be more document classes there. Anyway, I've just created the attached layout in my local directory and run configure, which worked fine. So you might try using it, just in case. Try deleting textclass.lst from your user directory, too. The previous failures may be causing problems. This WILL work. Richard #% Do not delete the line below; configure depends on this # #\DeclareLaTeXClass{authesis} # Read the definitions from report.layout Input report.layout
Re: Automagically reduce the spacing between ++ in the word C++
Andre Poenitz wrote: On Wed, Oct 22, 2008 at 09:22:35PM +0200, Andre Poenitz wrote: I think that I remember to have read about so-called catcodes (or whatever?) in TeX, which apparently make it possible to declare certain characters as active so that further processing is possible whenever the TeX scanner reads such character. I wonder if it is possible this way to declare in the preamble that C followed by +, followed by + is active and should be inherently substituted with something like \mbox{C+\hspace{-.5ex}+}} Quick shot: [...] Somewhat improved version: \def\plus{+} \catcode`\+=\active \def\smallplusplus#1{\raisebox{0.6ex}{\tiny\plus\kern-.3ex\plus}} \def+{\futurelet\nextchar\pluss} \def\pluss{% \ifx\nextchar+% \let\next\smallplusplus% \else% \let\next\plus% \fi% \next} And no, I can't explain it. If you could, I'd be really worried about you. ;-) rh
Re: figure caption gives errors when exporting as PDF
Jon Bendtsen schrieb: I try to include a .eps in my lyx document. It shows fine, except that i can not get a caption :-( The LyX UserGuide you find in the Help menu explains how this is done. Look there for the description of floats. regards Uwe
Re: Once forever on adding a document class in LyX
Giorgio Zavarise wrote: Here is my proposal: Even if not tested, and then not included into the LyX distributions, why don't we start to collect them and put somewhere on the web site, may be with a WARNING-UNRELIABLE MATERIAL label? http://wiki.lyx.org/Layouts/Layouts Add yours. I'll send you the upload password separately. rh
Re: Automagically reduce the spacing between ++ in the word C++
On Wed, Oct 22, 2008 at 05:44:58PM -0400, rgheck wrote: Andre Poenitz wrote: On Wed, Oct 22, 2008 at 09:22:35PM +0200, Andre Poenitz wrote: I think that I remember to have read about so-called catcodes (or whatever?) in TeX, which apparently make it possible to declare certain characters as active so that further processing is possible whenever the TeX scanner reads such character. I wonder if it is possible this way to declare in the preamble that C followed by +, followed by + is active and should be inherently substituted with something like \mbox{C+\hspace{-.5ex}+}} Quick shot: [...] Somewhat improved version: \def\plus{+} \catcode`\+=\active \def\smallplusplus#1{\raisebox{0.6ex}{\tiny\plus\kern-.3ex\plus}} \def+{\futurelet\nextchar\pluss} \def\pluss{% \ifx\nextchar+% \let\next\smallplusplus% \else% \let\next\plus% \fi% \next} And no, I can't explain it. If you could, I'd be really worried about you. ;-) Since I started to waste the evening with TeX, the final version: \def\plus{+} \def\gobble#1{} \catcode`\+=\active \def\checknextchar{% \ifx\nextchar+% \raisebox{0.6ex}{\tiny\plus\kern-.3ex\plus}% \let\next\gobble% \else% \plus% \let\next\relax% \fi% \next% } \def+{\futurelet\nextchar\checknextchar} It starts getting readable, so I better stop now. Incidentally, I stumbled across htlatex and start to wonder whether this would be a good start for tex2lyx. It is able to process the macros above... Andre'
Re: install thesis class, Mac
I deleted textclass.lst from username/ (was this the correct location?) I placed the layout file you mailed me in username/Library/Application Support/LyX-1.5/layouts/ When i open LyX, select new - go to documents, settings, class I can select authesis! It looks like I am set! (right?!) You have been unbelievabley patient and helpful. Thank you very, very much. I open terminal and type: dhcp-228-146:LyX-1.5 mikemartell$ cd ~/Library/Application\ Support/LyX-1.5/dhcp-228-146:LyX-1.5 mikemartell$ python /Applications/LyX.app/Contents/Resources/configure.py checking for a Latex2e program... +checking for latex... yes checking for a DVI postprocessing program... +checking for pplatex... no checking for a Tgif viewer and editor... +checking for tgif... no checking for a FIG viewer and editor... +checking for xfig... no checking for a Grace viewer and editor... +checking for xmgrace... no checking for a FEN viewer and editor... +checking for xboard... no checking for a raster image viewer... +checking for xv... no +checking for kview... no +checking for gimp-remote... no +checking for gimp... no checking for a raster image editor... +checking for gimp-remote... no +checking for gimp... no checking for a text editor... +checking for sensible-editor... no +checking for xemacs... no +checking for gvim... no +checking for kedit... no +checking for kwrite... no +checking for kate... no +checking for nedit... no +checking for gedit... no +checking for notepad... no checking for a Postscript previewer... +checking for kghostview... no +checking for evince... no +checking for gv... no +checking for ghostview... no checking for a PDF previewer... +checking for kpdf... no +checking for evince... no +checking for kghostview... no +checking for xpdf... no +checking for acrobat... no +checking for acroread... no +checking for gv... no +checking for ghostview... no checking for a DVI previewer... +checking for xdvi... yes checking for an HTML previewer... +checking for firefox... no +checking for mozilla... no +checking for netscape... no checking for Noteedit... +checking for noteedit... no checking for an OpenDocument viewer... +checking for oowriter... no checking for the pdflatex program... +checking for pdflatex... yes checking for a LaTeX/Noweb - LyX converter... +checking for tex2lyx... no +checking for tex2lyx... no checking for a Noweb - LaTeX converter... +checking for noweave... no checking for an HTML - LaTeX converter... +checking for html2latex... no +checking for gnuhtml2latex... no +checking for htmltolatex... no +checking for java... yes checking for an MS Word - LaTeX converter... +checking for wvCleanLatex... no checking for a LaTeX - HTML converter... +checking for htlatex... yes checking for a LaTeX - MS Word converter... +checking for htlatex... yes checking for an OpenOffice.org - LaTeX converter... +checking for w2l... no checking for an OpenDocument - LaTeX converter... +checking for w2l... no checking for a LaTeX - Open Document converter... +checking for htlatex... yes checking for a LaTeX - RTF converter... +checking for latex2rtf... no +checking for latex2rt... no checking for a PS to PDF converter... +checking for ps2pdf13... yes checking for a PS to TXT converter... +checking for pstotext... no checking for a PS to TXT converter... +checking for ps2ascii... yes checking for a PS to EPS converter... +checking for ps2eps... yes checking for a PDF to PS converter... +checking for pdf2ps... yes checking for a PDF to EPS converter... +checking for pdftops... no checking for a DVI to TXT converter... +checking for catdvi... no checking for a DVI to PS converter... +checking for dvips... yes checking for a DVI to PDF converter... +checking for dvipdfmx... yes checking for dvipng... +checking for dvipng... yes checking for a fax program... +checking for kdeprintfax... no +checking for ksendfax... no checking for a FIG - EPS/PPM converter... +checking for fig2dev... no checking for a TIFF - PS converter... +checking for tiff2ps... no checking for a TGIF - EPS/PPM converter... +checking for tgif... no checking for a WMF - EPS converter... +checking for metafile2eps... no +checking for wmf2eps... no checking for an EMF - EPS converter... +checking for metafile2eps... no +checking for wmf2eps... no checking for an EPS - PDF converter... +checking for epstopdf... yes checking for a Grace - Image converter... +checking for gracebat... no checking for a Dot - PDF converter... +checking for dot... no checking for a LilyPond - EPS/PDF/PNG converter... +checking for lilypond... no checking for a Noteedit - LilyPond converter... +checking for noteedit... no checking for SGML-tools 1.x (LinuxDoc)... +checking for sgml2lyx... no checking for SGML-tools 2.x (DocBook) or db2x scripts... +checking for sgmltools... no +checking for db2dvi... no Checking
Re: install thesis class, Mac
I'm sorry. I may have spoke too soon. Now, when I try to make a sample document, when i try to view pdflatex, I get five latex errors. all of them say undefined control sequence. do you know why i would get this? On Wed, Oct 22, 2008 at 6:04 PM, Mike Martell [EMAIL PROTECTED] wrote: I deleted textclass.lst from username/ (was this the correct location?) I placed the layout file you mailed me in username/Library/Application Support/LyX-1.5/layouts/ When i open LyX, select new - go to documents, settings, class I can select authesis! It looks like I am set! (right?!) You have been unbelievabley patient and helpful. Thank you very, very much. I open terminal and type: dhcp-228-146:LyX-1.5 mikemartell$ cd ~/Library/Application\ Support/LyX-1.5/dhcp-228-146:LyX-1.5 mikemartell$ python /Applications/LyX.app/Contents/Resources/configure.py checking for a Latex2e program... +checking for latex... yes checking for a DVI postprocessing program... +checking for pplatex... no checking for a Tgif viewer and editor... +checking for tgif... no checking for a FIG viewer and editor... +checking for xfig... no checking for a Grace viewer and editor... +checking for xmgrace... no checking for a FEN viewer and editor... +checking for xboard... no checking for a raster image viewer... +checking for xv... no +checking for kview... no +checking for gimp-remote... no +checking for gimp... no checking for a raster image editor... +checking for gimp-remote... no +checking for gimp... no checking for a text editor... +checking for sensible-editor... no +checking for xemacs... no +checking for gvim... no +checking for kedit... no +checking for kwrite... no +checking for kate... no +checking for nedit... no +checking for gedit... no +checking for notepad... no checking for a Postscript previewer... +checking for kghostview... no +checking for evince... no +checking for gv... no +checking for ghostview... no checking for a PDF previewer... +checking for kpdf... no +checking for evince... no +checking for kghostview... no +checking for xpdf... no +checking for acrobat... no +checking for acroread... no +checking for gv... no +checking for ghostview... no checking for a DVI previewer... +checking for xdvi... yes checking for an HTML previewer... +checking for firefox... no +checking for mozilla... no +checking for netscape... no checking for Noteedit... +checking for noteedit... no checking for an OpenDocument viewer... +checking for oowriter... no checking for the pdflatex program... +checking for pdflatex... yes checking for a LaTeX/Noweb - LyX converter... +checking for tex2lyx... no +checking for tex2lyx... no checking for a Noweb - LaTeX converter... +checking for noweave... no checking for an HTML - LaTeX converter... +checking for html2latex... no +checking for gnuhtml2latex... no +checking for htmltolatex... no +checking for java... yes checking for an MS Word - LaTeX converter... +checking for wvCleanLatex... no checking for a LaTeX - HTML converter... +checking for htlatex... yes checking for a LaTeX - MS Word converter... +checking for htlatex... yes checking for an OpenOffice.org - LaTeX converter... +checking for w2l... no checking for an OpenDocument - LaTeX converter... +checking for w2l... no checking for a LaTeX - Open Document converter... +checking for htlatex... yes checking for a LaTeX - RTF converter... +checking for latex2rtf... no +checking for latex2rt... no checking for a PS to PDF converter... +checking for ps2pdf13... yes checking for a PS to TXT converter... +checking for pstotext... no checking for a PS to TXT converter... +checking for ps2ascii... yes checking for a PS to EPS converter... +checking for ps2eps... yes checking for a PDF to PS converter... +checking for pdf2ps... yes checking for a PDF to EPS converter... +checking for pdftops... no checking for a DVI to TXT converter... +checking for catdvi... no checking for a DVI to PS converter... +checking for dvips... yes checking for a DVI to PDF converter... +checking for dvipdfmx... yes checking for dvipng... +checking for dvipng... yes checking for a fax program... +checking for kdeprintfax... no +checking for ksendfax... no checking for a FIG - EPS/PPM converter... +checking for fig2dev... no checking for a TIFF - PS converter... +checking for tiff2ps... no checking for a TGIF - EPS/PPM converter... +checking for tgif... no checking for a WMF - EPS converter... +checking for metafile2eps... no +checking for wmf2eps... no checking for an EMF - EPS converter... +checking for metafile2eps... no +checking for wmf2eps... no checking for an EPS - PDF converter... +checking for epstopdf... yes checking for a Grace - Image converter... +checking for gracebat... no
Re: Installing a new class on Lyx
Uwe Stöhr schrieb: When you give me some days, I can also create a layout file as achemso would be of interest for other LyX users too. Here it is: http://wiki.lyx.org/Layouts/Achemso Please test it out. When it works correctly for you. I'll polish it it up to be included to LyX 1.6.1. regards Uwe
LyX like LaTeXiT?
Is there any possibility to use LyX just as a tool to generate equations to be included in Keynote? I am using LaTeXiT for this scope, but there you have to type the LaTeX commands (and I am using LyX just to avoid it). Best regards Giorgio Zavarise
Re: install thesis class, Mac
Mike Martell wrote: I'm sorry. I may have spoke too soon. Now, when I try to make a sample document, when i try to view pdflatex, I get five latex errors. all of them say undefined control sequence. do you know why i would get this? Apparently, the \degreeyear and so forth have to come before the title, etc. If you take the sample thesis, import it into LyX, and then cut and paste all the stuff from \degreeyear up to \copyrightpage, and put that before the title, then it will work. A better solution would be to put those into the layout. If you use the attached layout, you can import the document much better. You'll still need to delete the ERT boxes with comments that come between Professor Mih Sing Cite and Introspective Empiricism, but once you do that, it will compile. Getting a really good layout would require a bit more work, but this gets things started. rh #% Do not delete the line below; configure depends on this # #\DeclareLaTeXClass{authesis} # Read the definitions from report.layout Input report.layout Style DegreeYear CopyStyle Author LatexName degreeyear Font SizeNormal EndFont Align Left LabelType Static LabelFont Series Bold EndFont LabelString Year of Degree: Margin Dynamic End Style Degree CopyStyle DegreeYear LabelString Degree: LatexName degree End Style Chair CopyStyle DegreeYear LabelString Chair: LatexName chair End Style SecondReader CopyStyle DegreeYear LabelString Second Reader: LatexName secondreader End Style ThirdReader CopyStyle DegreeYear LabelString Third Reader: LatexName thirdreader End Style DegreeField CopyStyle DegreeYear LabelString Field of Degree: LatexName degreefield End Style Abstract MarginStatic LatexType Command LatexName abstract NextNoIndent 1 LeftMarginMMM RightMargin MMM ParIndent MM ItemSep 0 TopSep0.7 BottomSep 0.7 ParSep0 Align Block AlignPossible Block LabelType Centered_Top_Environment LabelString Abstract LabelBottomSep0.5 Font SizeSmall EndFont LabelFont Series Bold SizeLarge EndFont End Style AbstractN CopyStyle Abstract LabelString Numbered Abstract LatexName abstractn End Style Acknowledgements CopyStyle Abstract LabelString Acknowledgements LatexName acknowledgements
Re: Automagically reduce the spacing between ++ in the word C++
Andre Poenitz wrote: Since I started to waste the evening with TeX, the final version: \def\plus{+} \def\gobble#1{} \catcode`\+=\active \def\checknextchar{% \ifx\nextchar+% \raisebox{0.6ex}{\tiny\plus\kern-.3ex\plus}% \let\next\gobble% \else% \plus% \let\next\relax% \fi% \next% } \def+{\futurelet\nextchar\checknextchar} It starts getting readable, so I better stop now. That's actually quite elegant, in fact. Well done! Incidentally, I stumbled across htlatex and start to wonder whether this would be a good start for tex2lyx. It is able to process the macros above... Yes, I'd considered that, too. It obviously has a decent TeX parser in there. That said, have you look at plastex? It's python, but it also seems to have a good parser, and it gives you a DOM-like structure that can be manipulated all kinds of ways. rh
Re: install thesis class, Mac
rgheck wrote: Mike Martell wrote: I'm sorry. I may have spoke too soon. Now, when I try to make a sample document, when i try to view pdflatex, I get five latex errors. all of them say undefined control sequence. do you know why i would get this? Apparently, the \degreeyear and so forth have to come before the title, etc. If you take the sample thesis, import it into LyX, and then cut and paste all the stuff from \degreeyear up to \copyrightpage, and put that before the title, then it will work. A better solution would be to put those into the layout. If you use the attached layout, you can import the document much better. You'll still need to delete the ERT boxes with comments that come between Professor Mih Sing Cite and Introspective Empiricism, but once you do that, it will compile. Getting a really good layout would require a bit more work, but this gets things started. FYI, I seem to have left an End off at the very end. You should add it. And FYI to all the layout skeptics, I whipped this up in about ten minutes. Yeah, I know my way around the layouts, but it ain't that hard. rh
Re: LyX like LaTeXiT?
On Oct 22, 2008, at 8:09 PM, Giorgio Zavarise wrote: Is there any possibility to use LyX just as a tool to generate equations to be included in Keynote? I am using LaTeXiT for this scope, but there you have to type the LaTeX commands (and I am using LyX just to avoid it). You can copy an equation from Lyx and paste it into Latexit and you will get the latex code. Then typeset and paste into keynote. It would be nice if you could do it in one step, but I think that would require an alteration to keynote.
Re: Installing a new class on Lyx
On Thu, 2008-10-23 at 02:02 +0200, Uwe Stöhr wrote: Uwe Stöhr schrieb: When you give me some days, I can also create a layout file as achemso would be of interest for other LyX users too. Here it is: http://wiki.lyx.org/Layouts/Achemso Please test it out. When it works correctly for you. I'll polish it it up to be included to LyX 1.6.1. regards Uwe Uwe, I copied the layout file under /usr/share/lyx/layouts and executed Reconfigure. I can't see the new class. Any hints? Regards, Nikos P.S. Working under Ubuntu 8.04 with LyX 1.6.0rc3
Re: Installing a new class on Lyx
Nikos Alexandris schrieb: I copied the layout file under /usr/share/lyx/layouts and executed Reconfigure. I can't see the new class. Any hints? It is the document class article (ACS). Just open the example file I linked on the Wiki-page. When you don't get errors, everything is fine. regards Uwe
Re: Installing a new class on Lyx
On Thu, 2008-10-23 at 02:47 +0200, Uwe Stöhr wrote: Nikos Alexandris schrieb: I copied the layout file under /usr/share/lyx/layouts and executed Reconfigure. I can't see the new class. Any hints? It is the document class article (ACS). Just open the example file I linked on the Wiki-page. When you don't get errors, everything is fine. regards Uwe Thank you for the prompt reply. I don't see any ACS class and I already tried to open the example-lyx file provided in the wiki. I get error's!! What's next?
Re: Installing a new class on Lyx
On Thu, 2008-10-23 at 02:50 +0200, Nikos Alexandris wrote: I don't see any ACS class Well, I see it but it's marked as Unavailable to be precise.
Re: Installing a new class on Lyx
Nikos Alexandris schrieb: I copied the layout file under /usr/share/lyx/layouts and executed Reconfigure. I can't see the new class. Any hints? You will see in the console when LyX is reconfigured, if LyX could find the LaTeX-class achemso. I guess that you haven't correctly installed the LaTeX-package achemso to your LaTeX distribution. (Daniel replied me that it works for him.) regards Uwe
Re: Installing a new class on Lyx
On Thu, 2008-10-23 at 03:09 +0200, Uwe Stöhr wrote: Nikos Alexandris schrieb: I copied the layout file under /usr/share/lyx/layouts and executed Reconfigure. I can't see the new class. Any hints? You will see in the console when LyX is reconfigured, if LyX could find the LaTeX-class achemso. I guess that you haven't correctly installed the LaTeX-package achemso to your LaTeX distribution. (Daniel replied me that it works for him.) regards Uwe Hmmm... I did sudo apt-cache search achemso and I get texlive-latex-extra - TeX Live: LaTeX supplementary packages. So I do sudo apt-get install texlive-latex-extra but it's already installed. Maybe remove and re-install(?). I'll give it a try... Thanks, Nikos
Re: Installing a new class on Lyx
On Thu, 2008-10-23 at 03:14 +0200, Nikos Alexandris wrote: On Thu, 2008-10-23 at 03:09 +0200, Uwe Stöhr wrote: Nikos Alexandris schrieb: I copied the layout file under /usr/share/lyx/layouts and executed Reconfigure. I can't see the new class. Any hints? You will see in the console when LyX is reconfigured, if LyX could find the LaTeX-class achemso. I guess that you haven't correctly installed the LaTeX-package achemso to your LaTeX distribution. (Daniel replied me that it works for him.) regards Uwe Hmmm... I did sudo apt-cache search achemso and I get texlive-latex-extra - TeX Live: LaTeX supplementary packages. So I do sudo apt-get install texlive-latex-extra but it's already installed. Maybe remove and re-install(?). I'll give it a try... Thanks, Nikos Maybe this https://bugs.launchpad.net/ubuntu/+source/texlive-extra/+bug/119959 is (still) related...
Re: Automagically reduce the spacing between ++ in the word C++
On 23.10.2008, at 00:00, Andre Poenitz wrote: Since I started to waste the evening with TeX, the final version: \def\plus{+} \def\gobble#1{} \catcode`\+=\active \def\checknextchar{% \ifx\nextchar+% \raisebox{0.6ex}{\tiny\plus\kern-.3ex\plus}% \let\next\gobble% \else% \plus% \let\next\relax% \fi% \next% } \def+{\futurelet\nextchar\checknextchar} It starts getting readable, so I better stop now. Andre', thanks a lot! *That* is quite impressive -- and actually readable. I think I even understand it! I applied it immediately to my thesis document -- and had to learn quickly that my clever-to-be idea wasn't actually that clever. Apparently, I use C++ in quite some label texts. Well, that would be easy to fix, wouldn't it? However, not so easy to fix would be the listings package. You cannot imagine how many times the string C++ is used internally when you apply lstlisting to typeset C++ listings... Turning characters into active characters is a really good way to shot oneself into the knee :-) I nevertheless kept this code as a comment in my preamble, just to keep the reference. It really is the most readable application of catcodes I have ever seen and I have learned a lot from it! Daniel
Re: install thesis class, Mac
Mike Martell wrote: #python/library/applications/lyx.app/content/resources/configure.py What did you get? Richard wants to know what is the output of this. Please copy/paste. /Konrad
Re: paragraph indents -- document class book (Polish version by M. W.), MWBK
You do not reply to the list. I am not able to help you, but there is much more people knowing koma-script and latex quite good. W dniu 21 października 2008 17:26 użytkownik Jonathan Kroner [EMAIL PROTECTED] napisał: I agree with you completely. The Koma does paragraph indents the way I would want, but I can't figure out how to make the other changes I want, in particular headers like the polish book class (attached). Here is what I'm would want to do with headers: move the current lehead (left even header) that has chapter # and chapter name to the rehead (right even) position and add the word Chapter preceeding the chapter number. Keep the same italicised font. move the current rohead (right odd) section name to the lohead (left odd). Keep the same italicised font. put page numbers in lehead and rohead , except for first page of chapter eliminate page numbers from footers After hours of going through the various manuals I think I need something like this, but I still cant figure out how to implement it. The documetation is beyond me. \lehead{\pagemark} \rehead{\ ??? } how to designate chapter and chapter # and title? \rohead{\pagemark} \lohead{\ ??? } how to designate section name? \ifoot{} \cfoot{} \ocfoot{} On Tue, Oct 21, 2008 at 2:51 AM, Manveru [EMAIL PROTECTED] wrote: The most tweakable (is this correct word in English?) style is Koma-Script, so you may probably prefer it instead of fighting with mwcls classes. Koma-Script is well documented, which not exactly means is easy for beginners. Marcin Woliński who is the author of mwcls used old documents about Polish typography, when he was creating these classes (mwcls set). And in real, output looks very similarly to that what I remember from old books from times of the primary school. M. 2008/10/21 Jonathan Kroner [EMAIL PROTECTED]: Hi Manveru, Thank you for getting back to me. I don't think I'll get very far in Polish but I still like that book class. It works great for me for a few reasons: it seems to be more laid out like a book than some of the more popular classes. In particular I like that the cover page is not numbered, the headers fit and it looks (to me) more professional. I'm not doing a lot of tweaks, mostly because after way way too many hours I still can't figure out how to use most advanced LyX features. regards, Jonathan On Mon, Oct 20, 2008 at 5:18 AM, Manveru [EMAIL PROTECTED] wrote: 2008/10/18 Jonathan Kroner [EMAIL PROTECTED]: re: paragraph indents -- document class book (Polish version by M. W.), MWBK 1. Is there a way to remove the indent from the initial paragraph under chapter, section, subsection titles in the document class book (Polish version by M. W.)? 2. Is there a link to document class options for MWBK, Polish version by M. W. other than those listed in Extended LyX Features, section 4.19 about the MWBK class? I don't remember all options for mwbk, but this is very specific for classic Polish book standards (let's say very old standards). In these standards all paragraphs has indentation. And I am not sure whether this could be removed. Additionally, LyX layout file was buggy for this style in 1.5.3 - it does not contains some include, what causes outline function to not work (I dont't remember whether it was corrected or not as I am using my own layout file). This style has more strange behaviours, so I suggest not using it, if you really do not know what are you doing. It is good practice to read the manual for this style, but it is in Polish only: http://www.ctan.org/tex-archive/macros/latex/contrib/mwcls/mwclsdoc.pdf -- Manveru jabber: [EMAIL PROTECTED] gg: 1624001 http://www.manveru.pl -- Jonathan Kroner http://jonathankroner.com/ http://floridafalseclaim.com/ 305.310.6046 -- Manveru jabber: [EMAIL PROTECTED] gg: 1624001 http://www.manveru.pl -- Jonathan Kroner http://jonathankroner.com/ http://floridafalseclaim.com/ 305.310.6046 -- Manveru jabber: [EMAIL PROTECTED] gg: 1624001 http://www.manveru.pl
Re: Mac Cursor and Math Mode problem
Hi Antonio, Antonio Rieser wrote: Two problems. I'm using LyX on the Mac (OS X.3/4.?) Which Mac OS X and which LyX version? for the first time, and after I choose 'Section' and then type, the text on the line I'm typing jumps to the right, but the cursor stays where it is. It drives me a little nuts. This behavior continues if I choose another mode, like 'Standard' or 'Theorem', if I have a 'Section' somewhere above where I'm trying to type. If I only type above all of the 'Section' areas, then the cursor acts normally. Hmm... sounds like a bug. Do you have Right-to-left language support enabled in Preferences-Language ? Also, the program does not keep the areas typed in math mode in a different color. If I scroll to a new page, the formulas start out blue, but then switch to black after a second. What you get after a second is a preview of what the formula will look like in the final output. I would prefer that they stayed blue. How is it supposed to work? You can turn off instant preview in the Preferences. Or, you can change the colour of the previewed snippet, also in Preferences. HTH. Konrad
Re: install thesis class, Mac
Mike Martell [EMAIL PROTECTED] writes: Hi: I've been having a lot of trouble installing a new class for LyX with my mac. I am hoping to use LyX to write my doctoral dissertation. I am trying to install the thesis class for my university, authesis.cls. I have followed the directions, I believe, but am not getting the class to work. I have placed these files (authesis.cls, aucas.clo, aut10.clo, auecon.clo) in this location: users/username/library/texmf/tex/latex/authesis/ i have placed a layout file (authesis.layout) at this location: username/libarary/Application Support/Lyx-1.5/layouts The layout file reads: #% Do not delete hte line below; configure depens on this # \DeclareLaTeXClass[authesis]{article (authesis)} # Input general definitions Input stdclass.inc [snip] Thanks, Mike Since it is a thesis class, are you sure that the article class should be used, and not the book class instead? Try the following layout file: #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[authesis]{book (authesis)} # Input general definitions Input book.layout Best regards, Andreas
Re: Frustrated user
On 22/10/2008 08:04, Jonathan Suit wrote: Hello, Hello Jonathan, I'm a new user of LyX. For the first couple of days, everything went well. But now I'm running into trouble. First thing first: this is the documentation development list. I put the correct list in copy. Second: which platform? I am guessing Windows here but the fact that you talk about ispell is an indication of Linux. Third: which version of LyX? First, no matter what I do I can't run spellcheck. It says something about it being unable to run ispell. That's interesting since I've set my preferences to run something other than ispell. I can't export documents to latex, even though I'm told I just need to click on the relevant export button to latex (i've have the latex stuff and i've been telling it to export to latexplain (or something like that). I don't know what else I could export to. If you run one of the 1.6 release candidates on WinXP, that's a known bug. Please use stable 1.5.6 instead. And the bibliography has been a complete mess. I have Bibtex up and running. But LyX never recognizes any new entries. If you are on Windows, the Bibtex 'push' feature does not work. You have to save your bibtex file and reload it in LyX for the new entries to be recognized. I'm going to have to use Microsoft Word to do my bibliography. To be honest, I'm quite fed up with this Latex/Lyx thing. I've spend many more hours just trying to format/figure out what the formatting means than writing my papers. The fact that the finished product looks nice does not justify anything. Fourth: LyX is a free software developed by people on their spare time, the user list is very helpful and this is *gratis*, provided that you ask gently and that you give more information. Abdel. Furthermore, I find it incomprehensible that there isn't a much more user friendly decent word processer/typesetting program. Seriously, what is wrong with having a program that the hardest thing is pointing and clicking. Why do I keep running into computer codes!? I just want to download a package that is good for X, and perhaps one that is good for Y. I can't believe that we can put out iPhones but we can't get a good word procesing program/typesetting program. Ridiculous. Jonathan Suit
Re: How to change pdf viewer?
Hi, I must confess that even in my case (LyX 1.5.4 on Mac Os X 10.3.9), if I want to change the default PDF viewer I have to put the whole path to the executable. For example, for using the pdf viewer Adobe Reader 7.1.0 for Mac it works only if I use: /Applications/Adobe\ Reader\ 7.1.0/Adobe\ Reader\ 7.1.0.app/Contents/MacOS/Adobe\ Reader instead if i follow the other suggestions and use: open -a Adobe Reader 7.1.0 it doesn't work. Nothing happens. Pierfranco 2008/10/21 Konrad Hofbauer [EMAIL PROTECTED] Joachim Kreimer-de Fries wrote: Am 21.10.2008 um 16:10 schrieb Uwe Stöhr: menu Tools-Settings-file formats Am 21.10.2008 um 16:17 schrieb Konrad Hofbauer: you can change in LyX - Preferences - File Formats - PDF (...) - Viewer. Thanks, it works finally. But for someone else who also might want to change the pdf viewer I add: it it not sufficient to give in the path to the application package but to the application EXECutable itself, at least on Mac-OSX, in my case: /Applications/Skim.app/Contents/MacOS/Skim What should also do the trick is open -a Skim, that lets OS X do the work of finding the app. What I actually use is the attached script that explicitly tells Skim to reload. I've disabled auto-reload in Skim, since this sometimes does not work in combination with LyX's multiple compilation of the file. So I have the attached script in ~/bin, set the script as executable (chmod u+x ...), in LyX ~/bin/SkimReload.sh, and then always use View PDF (not: Update PDF) in LyX HTH, Konrad
Re: Unicode - IPA-Phonetic characters - Which packages, preambel?
Joachim Kreimer-de Fries wrote: BTW (2), I find the document class tufte-layout worth to be transformed into a LyX document class, style or template - for the time being I did not find a way to import the sample-handout into Lyx. Look here: http://wiki.lyx.org/Layouts/Tufte-handout J??rgen
affidavit
Hi, I'm currently writing my thesis using lyx, and now I want to insert a affidavit into my document (which is komascript-report). Does anyone know a good solution for that? Of course, I could use a chapter for that, but it's kind of awkward. Greetings Matthias Coy
Re: How to change pdf viewer?
Hi, On Tue, Oct 21, 2008 at 4:17 PM, Konrad Hofbauer [EMAIL PROTECTED] wrote: Joachim Kreimer-de Fries wrote [on Mac]: How can one configure LyX to use another pdf viewer when clicking the view pdf (pdf-latex) button? By default, LyX uses the default viewer that is set in the operating system for PDFs. So you can change Mac OS X default PDF application setting, or you can change in LyX - Preferences - File Formats - PDF (...) - Viewer. Btw, how do I change the xommand used to produce the preview pdf? The default is set to pdflatex but I have some problem with it and I would like to use dvipdfm. Cheers, Emme HTH, Konrad P.S. Please do not hijack threads by replying to old messages with a new question. Start a new thread for new questions. PPS does my question still count as hijacking?
Re: Table of contents dialog problem
asm23 schrieb: My environment is Windows XP En. Lyx 1.6RC3. When I click the Table of contents in a lyx file. A Outline dialog will display in the left side. But nothing will show below. This bug has been fixed in the meantime. LyX 1.6.0RC4 i ncluding the fix comes out soon. When you still have problems, please report this at http://bugzilla.lyx.org regards Uwe
Re: Bringing the footer higher...
M-L wrote: [...] As an aside to do with the footer: Setting my bottom margin: Document--Settings=Page Margins--Bottom to 6 Here is my footer preamble [you'll need to insert your own graphic file, in my case it's a .jpg file of a tawny frogmouth] on my footer experimental document: \usepackage{graphics}\rfoot{\resizebox{60pt}{!} {\includegraphics{/home/charlie/Wildlife/tawny-egwsg.jpg}}} \lfoot{\bf \large \scshape this was\\fine as well} \cfoot{\bf \large \scshape did this\\and it was fine} The tawny frogmouth graphic sits a bit high as you can see in the attached pic. Not a problem, just something I haven't as yet worked out how to fix. I don't like bothering the list. It is okay to ask questions on the list! That is one of the lists purposes. People making demands or complaining loudly sometimes makes themselves unpopular, but how do I do that? is fine. When you use \includegraphic, the bottom edge of the picture aligns with the text baseline. (Most letters sits on top of the baseline, a few, like j and g extends under it.) There are quite a few ways to change that. A simple one is to put the image inside a \raisebox command. Raise by a negative length to get the image lower down. Some experimentation may be necessary to get it just right. In some cases, one wants to line the image up so it matches something else. Such as another image or a table. In such cases, put the image inside a box (\parbox or \minipage). Such boxes can be aligned in various ways: top alignment, bottom alignment, middle alignment. You can usually get what you want, but it is not always trivial. LyX now comes with a file named EmbeddedObjects.lyx, which you can find from the help menu. It demonstrates lots of box stuff, as well as the \raisebox trick. You can also find examples on the net. Helge Hafting
Automagically reduce the spacing between ++ in the word C++
Hi, I am currently in the process of polishing the typesetting of my thesis. One of the things I would like to achieve is to reduce the spacing between ++ in the words C++ and AspectC++, as this looks somewhat strange with the font I am using. This question is somewhat related to the thread http://www.mail-archive.com/lyx-users@lists.lyx.org/msg66864.html where the original poster asked for a way to reduce the space between the two slashes in hyperlinks. However, the original solution does not work in my case, as C++ and AspectC++ are not typeset by any kind of (La)TeX command, but are just ordinary words. Replacing all occurrences with some ERT box is not an option, as this would cause too much hassle and would not work in external material, such as bibliographic entries. I am looking for a more elegant solution. I think that I remember to have read about so-called catcodes (or whatever?) in TeX, which apparently make it possible to declare certain characters as active so that further processing is possible whenever the TeX scanner reads such character. I wonder if it is possible this way to declare in the preamble that C followed by +, followed by + is active and should be inherently substituted with something like \mbox{C+\hspace{-.5ex}+}} Any TeX gurus on this list who might help me? Thanks! Daniel
Re: install thesis class, Mac
Andreas K. wrote: Since it is a thesis class, are you sure that the article class should be used, and not the book class instead? Try the following layout file: #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[authesis]{book (authesis)} # Input general definitions Input book.layout And better yet, open up authesis.cls in a text editor and find out there what it's based on. Somewhere, there is like to be a \LoadClass line: That's the one we want. rh
Re: How to change pdf viewer?
muzzle wrote: Btw, how do I change the xommand used to produce the preview pdf? The default is set to pdflatex but I have some problem with it and I would like to use dvipdfm. In the View-menu, you should have different PDF() options, one of them being PDF (dvipdfm), same in File-Export. If not, something is wrong/missing in your setup. PPS does my question still count as hijacking? Let's not overdo this - it does not matter too much. :) (Anyhow: no, it doesn't.) /Konrad
Re: Automagically reduce the spacing between ++ in the word C++
Daniel Lohmann wrote: Any TeX gurus on this list who might help me? If you don't get any answer here, try in the comp.text.tex newsgroup. /Konrad
Re: install thesis class, Mac
Mike Martell wrote: Thanks again. I took your advice. I located configure.py I opened terminal, typed: # cd /tmp/ then, #python/library/applications/lyx.app/content/resources/configure.py As Konrad said, I want to know what this does. LyX should write a configure.log file for you. You can post that. Actually, I just tried this myself, and there may be a bug here. Which LyX version are you using again? rh
Re: How to change pdf viewer?
On Wed, Oct 22, 2008 at 1:41 PM, Konrad Hofbauer [EMAIL PROTECTED] wrote: muzzle wrote: Btw, how do I change the xommand used to produce the preview pdf? The default is set to pdflatex but I have some problem with it and I would like to use dvipdfm. In the View-menu, you should have different PDF() options, one of them being PDF (dvipdfm), same in File-Export. Well, I do have several options in the menu, but I would like to change the default for the toolbar button, is it possible? If not, something is wrong/missing in your setup. PPS does my question still count as hijacking? Let's not overdo this - it does not matter too much. :) (Anyhow: no, it doesn't.) ok :) Bye, Emme /Konrad
Re: Automagically reduce the spacing between ++ in the word C++
Daniel Lohmann wrote: Hi, I am currently in the process of polishing the typesetting of my thesis. One of the things I would like to achieve is to reduce the spacing between ++ in the words C++ and AspectC++, as this looks somewhat strange with the font I am using. This question is somewhat related to the thread http://www.mail-archive.com/lyx-users@lists.lyx.org/msg66864.html where the original poster asked for a way to reduce the space between the two slashes in hyperlinks. However, the original solution does not work in my case, as C++ and AspectC++ are not typeset by any kind of (La)TeX command, but are just ordinary words. Replacing all occurrences with some ERT box is not an option, as this would cause too much hassle and would not work in external material, such as bibliographic entries. I am looking for a more elegant solution. The easiest way would be to process your latex and bib files through a sed script to replace C++ to \C++ and define a \C++ macro with the correct space between C and + I think that I remember to have read about so-called catcodes (or whatever?) in TeX, which apparently make it possible to declare certain characters as active so that further processing is possible whenever the TeX scanner reads such character. I wonder if it is possible this way to declare in the preamble that C followed by +, followed by + is active and should be inherently substituted with something like \mbox{C+\hspace{-.5ex}+}} It is possible to redefine in TeX the letter C catcode and then test if it is followed by two +. But it is a lot of work (TeX macros are not very easy) and maybe it is like using a hammer to kill a fly. Cheers, C. -- http://www.kde-france.org
Re: How to change pdf viewer?
muzzle wrote: Well, I do have several options in the menu, but I would like to change the default for the toolbar button, is it possible? Not with the GUI, I believe. It should be possible by creating your own *.ui files. Look at what is in /Applications/LyX.app/Contents/Resources/ui/, create your own set of *.ui and *.inc files, put them in your user-directory and select them in the Preferences. /Konrad
Re: Automagically reduce the spacing between ++ in the word C++
On 22.10.2008, at 14:12, Charles de Miramon wrote: Daniel Lohmann wrote: [...] occurrences with some ERT box is not an option, as this would cause too much hassle and would not work in external material, such as bibliographic entries. I am looking for a more elegant solution. The easiest way would be to process your latex and bib files through a sed script to replace C++ to \C++ and define a \C++ macro with the correct space between C and + Thanks Charles! However, I am editing and working in LyX, not LaTeX. Replacing C++ in the lyx files by the correct ERT boxes is somewhat more complicated, as it requires inserting some extra begin_inset and end_inset lines. Moreover, this would not cover the occurrences of C++ in the bibliography. I think that I remember to have read about so-called catcodes (or whatever?) in TeX, which apparently make it possible to declare certain characters as active so that further processing is possible whenever the TeX scanner reads such character. I wonder if it is possible this way to declare in the preamble that C followed by +, followed by + is active and should be inherently substituted with something like \mbox{C+\hspace{-.5ex}+}} It is possible to redefine in TeX the letter C catcode and then test if it is followed by two +. But it is a lot of work (TeX macros are not very easy) and maybe it is like using a hammer to kill a fly. Well, I really do like hammers! :-) Daniel
Bibtex: limit the number of authors for \cite to three
Hi, I use the style geralpha to layout my bibliographic references. When I create a pdf-file with lyx everything is fine, except the citation style. Now it looks like that: ...some text [NCTLH07]. There are five authors for the cited entry (the first character of every surname is used, plus the year). I want to limit the characters used for a citation to three, so that it looks like that: some text [NCT07]. Hence only mention the first characters of the first three authors. Is that possible? Thanks for any help. Oli
Re: Automagically reduce the spacing between ++ in the word C++
On 22.10.2008, at 14:07, Konrad Hofbauer wrote: Daniel Lohmann wrote: Any TeX gurus on this list who might help me? If you don't get any answer here, try in the comp.text.tex newsgroup. Thanks Konrad! Daniel, who is hoping nevertheless to find an expert here :-)
lyx 1.5.x under debian
I try to get the latest 1.5 lyx under debian and entered in /etc/apt/sources.list # Testing deb http://download.tuxfamily.org/emiscabpo/lyx15-bpo/ but synaptic does not like this line. I also tried to update texlive et Co., but the latest version is 2005, which seems to me a bit antique. It also asks for libgnome2-perl, which I can't get if I search for it in synaptic (nor libgnome). Which package is responsible for it? http://www.samuel-greef.de/?p=210 tells me to get these packages and install them sequentially: 1. lyx-common_1.5.4-1~emiscabpo40+1_all.deb 2. libboost-filesystem1.34.1_1.34.1-2~emiscabpo40+1_i386.deb 3. libboost-regex1.34.1_1.34.1-2~emiscabpo40+1_i386.deb 4. libboost-signals1.34.1_1.34.1-2~emiscabpo40+1_i386.deb 5. lyx_1.5.4-1~emiscabpo40+1_i386.deb # Pakete in der angegebenen Reihenfolge mittels “dpkg -i PAKETNAME” installieren Is this correct, or does synaptic do the job for me? I would appreciate hints from one of you who uses Debian and has successfully installed Lyx 1.5.4 Thanks, Wolfgang
Re: install thesis class, Mac
On Wed, Oct 22, 2008 at 8:10 AM, rgheck [EMAIL PROTECTED] wrote: Mike Martell wrote: Thanks again. I took your advice. I located configure.py I opened terminal, typed: # cd /tmp/ then, #python/library/applications/lyx.app/content/resources/configure.py Just a few mostly Mac specific comments that might be helpful. The correct line should be: python /path/to/LyX.app/Contents/Resources/configure.py (of course replacing /path/to by the appropriate path. /library/applications is not the standard location for applications; it's typically just /Applications). Note 2 (or 3) other things: 1. There's a space after python. 2. It should be Contents (with an s), not content. 3. Depending on your file system, the capitalization of LyX Contents and Resources may matter. When in doubt, use proper capitalization. Bennett
Re: How to change pdf viewer?
On Wed, Oct 22, 2008 at 4:17 AM, Pierfranco Minsenti [EMAIL PROTECTED] wrote: Hi, I must confess that even in my case (LyX 1.5.4 on Mac Os X 10.3.9), if I want to change the default PDF viewer I have to put the whole path to the executable. For example, for using the pdf viewer Adobe Reader 7.1.0 for Mac it works only if I use: /Applications/Adobe\ Reader\ 7.1.0/Adobe\ Reader\ 7.1.0.app/Contents/MacOS/Adobe\ Reader instead if i follow the other suggestions and use: open -a Adobe Reader 7.1.0 it doesn't work. Nothing happens. My guess is that you need: open -a Adobe Reader 7.1.0 (with the quotation marks).
Re: install thesis class, Mac
Thanks. Here is what terminal said after I typed in your suggested line. Is this the output you wanted me to post? I have no idea what it means. LyX still fails to reconfigure. Once again, thank you so much for your help. Also, I am using LyX 1.5.6 . I looked throught the authesis.cls file and did not find a line that said /LoadClass line. dhcp-226-212:~ mikemartell$ python /Applications/LyX.app/Contents/Resources/configure.py checking for a Latex2e program... +checking for latex... yes checking for a DVI postprocessing program... +checking for pplatex... no checking for a Tgif viewer and editor... +checking for tgif... no checking for a FIG viewer and editor... +checking for xfig... no checking for a Grace viewer and editor... +checking for xmgrace... no checking for a FEN viewer and editor... +checking for xboard... no checking for a raster image viewer... +checking for xv... no +checking for kview... no +checking for gimp-remote... no +checking for gimp... no checking for a raster image editor... +checking for gimp-remote... no +checking for gimp... no checking for a text editor... +checking for sensible-editor... no +checking for xemacs... no +checking for gvim... no +checking for kedit... no +checking for kwrite... no +checking for kate... no +checking for nedit... no +checking for gedit... no +checking for notepad... no checking for a Postscript previewer... +checking for kghostview... no +checking for evince... no +checking for gv... no +checking for ghostview... no checking for a PDF previewer... +checking for kpdf... no +checking for evince... no +checking for kghostview... no +checking for xpdf... no +checking for acrobat... no +checking for acroread... no +checking for gv... no +checking for ghostview... no checking for a DVI previewer... +checking for xdvi... yes checking for an HTML previewer... +checking for firefox... no +checking for mozilla... no +checking for netscape... no checking for Noteedit... +checking for noteedit... no checking for an OpenDocument viewer... +checking for oowriter... no checking for the pdflatex program... +checking for pdflatex... yes checking for a LaTeX/Noweb - LyX converter... +checking for tex2lyx... no +checking for tex2lyx... no checking for a Noweb - LaTeX converter... +checking for noweave... no checking for an HTML - LaTeX converter... +checking for html2latex... no +checking for gnuhtml2latex... no +checking for htmltolatex... no +checking for java... yes checking for an MS Word - LaTeX converter... +checking for wvCleanLatex... no checking for a LaTeX - HTML converter... +checking for htlatex... yes checking for a LaTeX - MS Word converter... +checking for htlatex... yes checking for an OpenOffice.org - LaTeX converter... +checking for w2l... no checking for an OpenDocument - LaTeX converter... +checking for w2l... no checking for a LaTeX - Open Document converter... +checking for htlatex... yes checking for a LaTeX - RTF converter... +checking for latex2rtf... no +checking for latex2rt... no checking for a PS to PDF converter... +checking for ps2pdf13... yes checking for a PS to TXT converter... +checking for pstotext... no checking for a PS to TXT converter... +checking for ps2ascii... yes checking for a PS to EPS converter... +checking for ps2eps... yes checking for a PDF to PS converter... +checking for pdf2ps... yes checking for a PDF to EPS converter... +checking for pdftops... no checking for a DVI to TXT converter... +checking for catdvi... no checking for a DVI to PS converter... +checking for dvips... yes checking for a DVI to PDF converter... +checking for dvipdfmx... yes checking for dvipng... +checking for dvipng... yes checking for a fax program... +checking for kdeprintfax... no +checking for ksendfax... no checking for a FIG - EPS/PPM converter... +checking for fig2dev... no checking for a TIFF - PS converter... +checking for tiff2ps... no checking for a TGIF - EPS/PPM converter... +checking for tgif... no checking for a WMF - EPS converter... +checking for metafile2eps... no +checking for wmf2eps... no checking for an EMF - EPS converter... +checking for metafile2eps... no +checking for wmf2eps... no checking for an EPS - PDF converter... +checking for epstopdf... yes checking for a Grace - Image converter... +checking for gracebat... no checking for a Dot - PDF converter... +checking for dot... no checking for a LilyPond - EPS/PDF/PNG converter... +checking for lilypond... no checking for a Noteedit - LilyPond converter... +checking for noteedit... no checking for SGML-tools 1.x (LinuxDoc)... +checking for sgml2lyx... no checking for SGML-tools 2.x (DocBook) or db2x scripts... +checking for sgmltools... no +checking for db2dvi... no Checking whether TeX allows spaces in file names... yes checking for a *roff formatter... +checking for groff... yes checking for an
Re: install thesis class, Mac
Mike Martell wrote: Thanks. Here is what terminal said after I typed in your suggested line. Is this the output you wanted me to post? I have no idea what it means. LyX still fails to reconfigure. Once again, thank you so much for your help. Also, I am using LyX 1.5.6 . I looked throught the authesis.cls file and did not find a line that said /LoadClass line. Hmm. That looks like a successful reconfigure to me. Try this again now from inside your LyX user directory. To verify where that is, go to ToolsPreferences, User Interface, hit Browse and then User Files. This will dump you into a subdirectory of your user directory. Worth doing just to make sure. Anyway, once you are sure which directory that is, go there and run configure.py manually. Post the output again. rh dhcp-226-212:~ mikemartell$ python /Applications/LyX.app/Contents/Resources/configure.py checking for a Latex2e program... +checking for latex... yes checking for a DVI postprocessing program... +checking for pplatex... no checking for a Tgif viewer and editor... +checking for tgif... no checking for a FIG viewer and editor... +checking for xfig... no checking for a Grace viewer and editor... +checking for xmgrace... no checking for a FEN viewer and editor... +checking for xboard... no checking for a raster image viewer... +checking for xv... no +checking for kview... no +checking for gimp-remote... no +checking for gimp... no checking for a raster image editor... +checking for gimp-remote... no +checking for gimp... no checking for a text editor... +checking for sensible-editor... no +checking for xemacs... no +checking for gvim... no +checking for kedit... no +checking for kwrite... no +checking for kate... no +checking for nedit... no +checking for gedit... no +checking for notepad... no checking for a Postscript previewer... +checking for kghostview... no +checking for evince... no +checking for gv... no +checking for ghostview... no checking for a PDF previewer... +checking for kpdf... no +checking for evince... no +checking for kghostview... no +checking for xpdf... no +checking for acrobat... no +checking for acroread... no +checking for gv... no +checking for ghostview... no checking for a DVI previewer... +checking for xdvi... yes checking for an HTML previewer... +checking for firefox... no +checking for mozilla... no +checking for netscape... no checking for Noteedit... +checking for noteedit... no checking for an OpenDocument viewer... +checking for oowriter... no checking for the pdflatex program... +checking for pdflatex... yes checking for a LaTeX/Noweb - LyX converter... +checking for tex2lyx... no +checking for tex2lyx... no checking for a Noweb - LaTeX converter... +checking for noweave... no checking for an HTML - LaTeX converter... +checking for html2latex... no +checking for gnuhtml2latex... no +checking for htmltolatex... no +checking for java... yes checking for an MS Word - LaTeX converter... +checking for wvCleanLatex... no checking for a LaTeX - HTML converter... +checking for htlatex... yes checking for a LaTeX - MS Word converter... +checking for htlatex... yes checking for an OpenOffice.org - LaTeX converter... +checking for w2l... no checking for an OpenDocument - LaTeX converter... +checking for w2l... no checking for a LaTeX - Open Document converter... +checking for htlatex... yes checking for a LaTeX - RTF converter... +checking for latex2rtf... no +checking for latex2rt... no checking for a PS to PDF converter... +checking for ps2pdf13... yes checking for a PS to TXT converter... +checking for pstotext... no checking for a PS to TXT converter... +checking for ps2ascii... yes checking for a PS to EPS converter... +checking for ps2eps... yes checking for a PDF to PS converter... +checking for pdf2ps... yes checking for a PDF to EPS converter... +checking for pdftops... no checking for a DVI to TXT converter... +checking for catdvi... no checking for a DVI to PS converter... +checking for dvips... yes checking for a DVI to PDF converter... +checking for dvipdfmx... yes checking for dvipng... +checking for dvipng... yes checking for a fax program... +checking for kdeprintfax... no +checking for ksendfax... no checking for a FIG - EPS/PPM converter... +checking for fig2dev... no checking for a TIFF - PS converter... +checking for tiff2ps... no checking for a TGIF - EPS/PPM converter... +checking for tgif... no checking for a WMF - EPS converter... +checking for metafile2eps... no +checking for wmf2eps... no checking for an EMF - EPS converter... +checking for metafile2eps... no +checking for wmf2eps... no checking for an EPS - PDF converter... +checking for epstopdf... yes checking for a Grace - Image converter... +checking for gracebat... no checking for a Dot - PDF converter... +checking for dot... no checking for a LilyPond -
Re: install thesis class, Mac
Mike Martell wrote: I looked throught the authesis.cls file and did not find a line that said /LoadClass line. I just had a look, too. Looks like it was hacked from ucthesis, which was a modification of report. So I'd try: Input report.layout and modify anything that needs modifying. rh
Re: install thesis class, Mac
I changed the layout file. to read report instead of article, ran texhash, and still got the reconfigure error. You said: Hmm. That looks like a successful reconfigure to me. Try this again now from inside your LyX user directory. To verify where that is, go to ToolsPreferences, User Interface, hit Browse and then User Files. This will dump you into a subdirectory of your user directory. Worth doing just to make sure. I verified the directory and ran the python command. Here is my terminal line I typed and its response. dhcp-226-212:~ mikemartell$ python /Applications/LyX.app/contents/Resources/ui/configure.py /System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python: can't open file '/Applications/LyX.app/contents/Resources/ui/configure.py': [Errno 2] No such file or directory I really appreciate your being so helpful. Mike On Wed, Oct 22, 2008 at 10:43 AM, Richard Heck [EMAIL PROTECTED] wrote: Mike Martell wrote: I looked throught the authesis.cls file and did not find a line that said /LoadClass line. I just had a look, too. Looks like it was hacked from ucthesis, which was a modification of report. So I'd try: Input report.layout and modify anything that needs modifying. rh
make lyx ignore left margin to center wide images
I have a figure placing problem which i cannot find a solution to. I need to include a figure in my text that is very detailed.Therefore I need the picture to be scaled wider then the text (via scaling 120% of textwidth or 95% of page width) This works,... but the image shifts to to RIGHT as soon as the left side of IMAGE hits the lext margin of the Text/page. In other words it no longer centers because it hit the left margin, it continues scaling to the right but not the left.HOWEVER I WANT IT TO GO FURTHER LEFT THEN THE TEXT MARGIN (see image) I realise this is estheticly not ideal but I need to do it anyway :-) If somebody knows what to do.. many thanks! http://n2.nabble.com/file/n1364346/Untitled.jpg -- View this message in context: http://n2.nabble.com/make-lyx-ignore-left-margin-to-center-wide-images-tp1364346p1364346.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: install thesis class, Mac
Mike Martell wrote: I changed the layout file. to read report instead of article, ran texhash, and still got the reconfigure error. You said: Hmm. That looks like a successful reconfigure to me. Try this again now from inside your LyX user directory. To verify where that is, go to ToolsPreferences, User Interface, hit Browse and then User Files. This will dump you into a subdirectory of your user directory. Worth doing just to make sure. I verified the directory and ran the python command. Here is my terminal line I typed and its response. dhcp-226-212:~ mikemartell$ python /Applications/LyX.app/contents/Resources/ui/configure.py /System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python: can't open file '/Applications/LyX.app/contents/Resources/ui/configure.py': [Errno 2] No such file or directory You need to type exactly the same thing you did last time, whatever that was, but to do it from inside the LyX user directory. rh
Re: make lyx ignore left margin to center wide images
There are a few options to solve the issue. I personally prefer the most straight forward ones, which are: A) Rotate the Figure float: Right-click on the Float:Figure inset - Settings - check Rotate sideways Another option is to rotate the actual graphic inside the float: Right- click on the figure - Settings - Angle (degrees) = 90 B) If rotating is not an option, edit the figure so that text is readable in the scale you want (say 100% column width) and rearrange the graphic blocks to fit. You could change the margin settings for that particular page, but you don't want to go there. On 22/10/2008, at 11:10 AM, keeskooskaas wrote: I have a figure placing problem which i cannot find a solution to. I need to include a figure in my text that is very detailed.Therefore I need the picture to be scaled wider then the text (via scaling 120% of textwidth or 95% of page width) This works,... but the image shifts to to RIGHT as soon as the left side of IMAGE hits the lext margin of the Text/page. In other words it no longer centers because it hit the left margin, it continues scaling to the right but not the left.HOWEVER I WANT IT TO GO FURTHER LEFT THEN THE TEXT MARGIN (see image) I realise this is estheticly not ideal but I need to do it anyway :-) If somebody knows what to do.. many thanks! View message @ http://n2.nabble.com/make-lyx-ignore-left-margin-to-center-wide-images-tp1364346p1364346.html To start a new topic under LyX - Users, email [EMAIL PROTECTED] To unsubscribe from LyX - Users, click here. -- View this message in context: http://n2.nabble.com/make-lyx-ignore-left-margin-to-center-wide-images-tp1364346p1364504.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: install thesis class, Mac
On Wed, Oct 22, 2008 at 11:28 AM, Richard Heck [EMAIL PROTECTED] wrote: Mike Martell wrote: I changed the layout file. to read report instead of article, ran texhash, and still got the reconfigure error. You said: Hmm. That looks like a successful reconfigure to me. Try this again now from inside your LyX user directory. To verify where that is, go to ToolsPreferences, User Interface, hit Browse and then User Files. This will dump you into a subdirectory of your user directory. Worth doing just to make sure. I verified the directory and ran the python command. Here is my terminal line I typed and its response. dhcp-226-212:~ mikemartell$ python /Applications/LyX.app/contents/Resources/ui/configure.py /System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python: can't open file '/Applications/LyX.app/contents/Resources/ui/configure.py': [Errno 2] No such file or directory You need to type exactly the same thing you did last time, whatever that was, but to do it from inside the LyX user directory. That is, in Terminal, type: cd ~/Library/Application\ Support/LyX-1.5/ to get to the user directory. Then type: python /Applications/LyX.app/Contents/Resources/configure.py to reconfigure. (Note that in this line there is no /ui before configure.) Bennett
Re: install thesis class, Mac
I followed your directions. you said (thanks for being so explicit ): That is, in Terminal, type: cd ~/Library/Application\ Support/LyX-1.5/ to get to the user directory. Then type: python /Applications/LyX.app/Contents/Resources/configure.py to reconfigure. (Note that in this line there is no /ui before configure.) I still did not have luck. Is this perhaps because i have placed my files in the wrong spot? Should the authesis.layout file i made be with all the other layout files? in Applications/LyX.app/Contents/Resources/layouts/ instead of in username/Library/Application Support/Lyx-1.5/layouts ? And perhaps, these files (authesis.cls, aucas.clo, aut10.clo, auecon.clo) should not be in this location: users/username/library/texmf/tex/latex/authesis/ Once again, thank you very much. Mike On Wed, Oct 22, 2008 at 1:09 PM, Bennett Helm [EMAIL PROTECTED] wrote: On Wed, Oct 22, 2008 at 11:28 AM, Richard Heck [EMAIL PROTECTED] wrote: Mike Martell wrote: I changed the layout file. to read report instead of article, ran texhash, and still got the reconfigure error. You said: Hmm. That looks like a successful reconfigure to me. Try this again now from inside your LyX user directory. To verify where that is, go to ToolsPreferences, User Interface, hit Browse and then User Files. This will dump you into a subdirectory of your user directory. Worth doing just to make sure. I verified the directory and ran the python command. Here is my terminal line I typed and its response. dhcp-226-212:~ mikemartell$ python /Applications/LyX.app/contents/Resources/ui/configure.py /System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python: can't open file '/Applications/LyX.app/contents/Resources/ui/configure.py': [Errno 2] No such file or directory You need to type exactly the same thing you did last time, whatever that was, but to do it from inside the LyX user directory. That is, in Terminal, type: cd ~/Library/Application\ Support/LyX-1.5/ to get to the user directory. Then type: python /Applications/LyX.app/Contents/Resources/configure.py to reconfigure. (Note that in this line there is no /ui before configure.) Bennett
Re: install thesis class, Mac
Mike Martell wrote: I followed your directions. you said (thanks for being so explicit ): That is, in Terminal, type: cd ~/Library/Application\ Support/LyX-1.5/ to get to the user directory. Then type: python /Applications/LyX.app/Contents/Resources/configure.py to reconfigure. (Note that in this line there is no /ui before configure.) So what was the output in this case? Did configure complete, or did it die with an error? Is this perhaps because i have placed my files in the wrong spot? Should the authesis.layout file i made be with all the other layout files? in Applications/LyX.app/Contents/Resources/layouts/ instead of in username/Library/Application Support/Lyx-1.5/layouts ? The layout files should be in ~/Library/Application\ Support/LyX-1.5/layouts/. The username bit is meant to indicate your main user directory, whatever that is. That's what ~ gets you, and also should be the content of the $HOME environment variable. So if you do: echo $HOME you'll get your home directory back. And perhaps, these files (authesis.cls, aucas.clo, aut10.clo, auecon.clo) should not be in this location: users/username/library/texmf/tex/latex/authesis/ If kpsewhich is seeing them, then they are fine. So you might want to check that again: kpsewhich authesis.cls rh
Re: install thesis class, Mac
thanks. it looks like my layout file is in the correct place. And kpsewhich authesis.cls recognizes the file. here are the results of my running configure. I don't think it is working. dhcp-226-212:~ mikemartell$ cd ~/Library/Application\ Support/LyX-1.5/ dhcp-226-212:LyX-1.5 mikemartell$ python /Applications/LyX.app/Contents/Resources/configure.py checking for a Latex2e program... +checking for latex... yes checking for a DVI postprocessing program... +checking for pplatex... no checking for a Tgif viewer and editor... +checking for tgif... no checking for a FIG viewer and editor... +checking for xfig... no checking for a Grace viewer and editor... +checking for xmgrace... no checking for a FEN viewer and editor... +checking for xboard... no checking for a raster image viewer... +checking for xv... no +checking for kview... no +checking for gimp-remote... no +checking for gimp... no checking for a raster image editor... +checking for gimp-remote... no +checking for gimp... no checking for a text editor... +checking for sensible-editor... no +checking for xemacs... no +checking for gvim... no +checking for kedit... no +checking for kwrite... no +checking for kate... no +checking for nedit... no +checking for gedit... no +checking for notepad... no checking for a Postscript previewer... +checking for kghostview... no +checking for evince... no +checking for gv... no +checking for ghostview... no checking for a PDF previewer... +checking for kpdf... no +checking for evince... no +checking for kghostview... no +checking for xpdf... no +checking for acrobat... no +checking for acroread... no +checking for gv... no +checking for ghostview... no checking for a DVI previewer... +checking for xdvi... yes checking for an HTML previewer... +checking for firefox... no +checking for mozilla... no +checking for netscape... no checking for Noteedit... +checking for noteedit... no checking for an OpenDocument viewer... +checking for oowriter... no checking for the pdflatex program... +checking for pdflatex... yes checking for a LaTeX/Noweb - LyX converter... +checking for tex2lyx... no +checking for tex2lyx... no checking for a Noweb - LaTeX converter... +checking for noweave... no checking for an HTML - LaTeX converter... +checking for html2latex... no +checking for gnuhtml2latex... no +checking for htmltolatex... no +checking for java... yes checking for an MS Word - LaTeX converter... +checking for wvCleanLatex... no checking for a LaTeX - HTML converter... +checking for htlatex... yes checking for a LaTeX - MS Word converter... +checking for htlatex... yes checking for an OpenOffice.org - LaTeX converter... +checking for w2l... no checking for an OpenDocument - LaTeX converter... +checking for w2l... no checking for a LaTeX - Open Document converter... +checking for htlatex... yes checking for a LaTeX - RTF converter... +checking for latex2rtf... no +checking for latex2rt... no checking for a PS to PDF converter... +checking for ps2pdf13... yes checking for a PS to TXT converter... +checking for pstotext... no checking for a PS to TXT converter... +checking for ps2ascii... yes checking for a PS to EPS converter... +checking for ps2eps... yes checking for a PDF to PS converter... +checking for pdf2ps... yes checking for a PDF to EPS converter... +checking for pdftops... no checking for a DVI to TXT converter... +checking for catdvi... no checking for a DVI to PS converter... +checking for dvips... yes checking for a DVI to PDF converter... +checking for dvipdfmx... yes checking for dvipng... +checking for dvipng... yes checking for a fax program... +checking for kdeprintfax... no +checking for ksendfax... no checking for a FIG - EPS/PPM converter... +checking for fig2dev... no checking for a TIFF - PS converter... +checking for tiff2ps... no checking for a TGIF - EPS/PPM converter... +checking for tgif... no checking for a WMF - EPS converter... +checking for metafile2eps... no +checking for wmf2eps... no checking for an EMF - EPS converter... +checking for metafile2eps... no +checking for wmf2eps... no checking for an EPS - PDF converter... +checking for epstopdf... yes checking for a Grace - Image converter... +checking for gracebat... no checking for a Dot - PDF converter... +checking for dot... no checking for a LilyPond - EPS/PDF/PNG converter... +checking for lilypond... no checking for a Noteedit - LilyPond converter... +checking for noteedit... no checking for SGML-tools 1.x (LinuxDoc)... +checking for sgml2lyx... no checking for SGML-tools 2.x (DocBook) or db2x scripts... +checking for sgmltools... no +checking for db2dvi... no Checking whether TeX allows spaces in file names... yes checking for a *roff formatter... +checking for groff... yes checking for an index processor... +checking for texindy... yes checking for ChkTeX... +checking