Re: Changing Default Heading Typeface in KOMA-Script Documents
On Fri, 12 Feb 2010, Marcelo Acuña wrote: I did that with titlesec package. Marcelo, Good idea. Thanks, Rich
Re: Tufte book layout - title ?
Thankyou Uwe and Rob for your replies. I feel a bit more at ease to know it is a known problem. I did the MikTex update as Uwe suggested. Unfortunatly it didn't help. (I didn't see any Tufte in the download list) I then download the zip file from code.google tufte-latex-3.5.0.zip - the files in the zip were the same as the MikTek installation - still no good. I then got the latest from the SVN repro (revision 144) copied into the MikTex directory, and finally success - my windows could compile the example file to a .pdf Title and all. My last question, .. Is it OK to copy files into the MikTeK directory like that, and they wont interfere with subsequent updates I might run on MikTek in the future, what risks do I run by leaving it this way?. Thanks for the help - Steve Rob Oakes wrote: Hi Stephen, You may need to get the most recent version from the tufte-latex source code repository. I'm not sure that the MikTeX version has been updated (http://code.google.com/p/tufte-latex/). Also, the issue still persists when compiling documents with xelatex. For xelatex users, the problem can be circumvented by using the "nols" option. But this requires that you manually set up letterspacing and fonts using \fontspec. It also messes up the all-caps styling of headers and footers. The best bet might be to downgrade to the 3.0 version. It also has a couple of bugs (most obnoxious being screwed up figure numbering), but it is much less temperamental. Just my two cents, though. Rob -Original Message- From: Stephen George [mailto:steve_...@optusnet.com.au] Sent: Friday, February 12, 2010 2:37 AM To: lyx Subject: Tufte book layout - title ? Hi, I'm a newbie to Lyx, and was playing with the Tufte book class. I'm a little confused, I downloaded Lyx Example File from http://wiki.lyx.org/Layouts/Tufte-book#toc1 When I try to create a pdf of the example file, I got an error about the title (using windows and Lyx 1..6.5) (LaTeX Error: Can be used only in preamble.) \title{Tufte Examples} Your command was ignored. Type I to replace it with another command, or to continue without it. When I download and try to build the pdf using Debian, the build works fine, and has the title in the resultant pdf. I am guessing my miktex install is missing some package. So my question, is how do I work out what package is missing for a lyx file, so I can install it. note: my miktex _IS_ setup to install missing packages on the fly. Any idea why my lyx (on windows) doesn't accept the title as valid ? Thanks - Steve No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.435 / Virus Database: 271.1.1/2682 - Release Date: 02/11/10 16:09:00
Re: Changing Default Heading Typeface in KOMA-Script Documents
> I thought that I had saved > instructions for changing the typeface for > headings in KOMA-Script documents from san-serif to the > default serif font. > My search of my e-mail archive does not turn up this > command. I also haven't > seen an example in the KOMA-Script users guide. > > A clue on how to specify this in the document's > preamble will be > appreciated. I did that with titlesec package. Marcelo Yahoo! Cocina Encontra las mejores recetas con Yahoo! Cocina. http://ar.mujer.yahoo.com/cocina/
Re: Opinions needed regarding separation of content and layout in an essay
On Fri, 12 Feb 2010, lightbricko wrote: I'm writing an essay and want to try writing it in lyx. The level I am at now is that I've managed to write some simple mathematical equations, but not much more. I recommend that you work through the tutorial first. It appears that you know nothing about LaTeX, to which LyX is essentially a GUI front end. I'm interested in your opinions on whether the following is a good and feasible way to write my document. What I want to achieve is: 1. I want to separate content from layout "completely". That's exactly what LaTeX does. 2. I want to complete the entire content before I work on the design and even before I find out about the details of some latex functions. (When all content is completed, I will know exactly what layout the different sections should have). Try one of the existing layouts first. They're designed by experts and will do very well for most everyone's needs. I will show what I mean using one simple and one less simple example. Simple example: When writing an integral, I want to use a function/macro/similar that I define on my own, say \Cust_int, which doesn't deal with layout at all. Read the math sections of the manuals. Knuth wrote TeX primarily because nothing else formatted mathematical equations with sufficient elegance. Look on the math panel, too, for all symbols. Your opinions are appreciated. Thanks in advance! Run the tutorial and read the users guide and advanced manuals. Rich
Opinions needed regarding separation of content and layout in an essay
Hi all, I'm writing an essay and want to try writing it in lyx. The level I am at now is that I've managed to write some simple mathematical equations, but not much more. I'm interested in your opinions on whether the following is a good and feasible way to write my document. What I want to achieve is: 1. I want to separate content from layout "completely". 2. I want to complete the entire content before I work on the design and even before I find out about the details of some latex functions. (When all content is completed, I will know exactly what layout the different sections should have). I will show what I mean using one simple and one less simple example. Simple example: When writing an integral, I want to use a function/macro/similar that I define on my own, say \Cust_int, which doesn't deal with layout at all. Say I write the command \Cust_int{A}{B}{f(x)*x}{x}{Label_SimpleFunc}, meaning integral from "A" to "B" of "f(x)*x" with respect to "x", labeled with "Label_SimpleFunc". At first, \Cust_int should simply generate \intop_{A}^{B}f(x)*x\text{d}x\label{eq:Label_SimpleFunc}. Not until I'm done with all the content in the essay, I will work on the Cust_int function (and other user defined functions) to generate the layout I need. Less simple example: When writing equations, I want to comment the steps. Say I define Cust_equation and \Cust_CommentedEquality and run it like this: \begin{Cust_equation}f(x)\Cust_CommentedEquality{Usage of the definition of ...}g(x)*h(x)\Cust_CommentedEquality{Since ...}i(x)\end{Cust_equation}. At first, this could just generate the equation without the comments. When I'm done with all the content in the essay, I want to make the output look like in the attached image. (I do not know how that latex code would look like, but that is kind of the point, that I want to start with the content and find out about the latex commands when the content is done). In addition to the above specific examples, my idea is to do similarly with mathematical theorems, mathematical lists of assumptions, references to other articles etc. Your opinions are appreciated. Thanks in advance! /David <>
Changing Default Heading Typeface in KOMA-Script Documents
I thought that I had saved instructions for changing the typeface for headings in KOMA-Script documents from san-serif to the default serif font. My search of my e-mail archive does not turn up this command. I also haven't seen an example in the KOMA-Script users guide. A clue on how to specify this in the document's preamble will be appreciated. Thanks, Rich
RE: dvi preview problem
hi paul. i sort of work around the problem following your suggestion. the new doc only works when all the citations removed. i need to go further to see if my .bib also conflict with new doc later on. thanks for now. best, jackie > To: lyx-users@lists.lyx.org > From: ru...@msu.edu > Subject: Re: dvi preview problem > Date: Fri, 12 Feb 2010 10:54:29 -0500 > > j. w. wrote: > > hi paul, > > > > thanks for the tips. > > > > i tired following steps, but seems > > can't solve the issue. > > > > copy doc and took off the bibliography.copy doc and took off the > > bibliography, removed all the citations, > > note, footnote, margin note etc.tried bisection copy and paste to new file, > > and each section(with citation) > > can stand alone(be viewed) with no problem.tried to take away all the > > language potential conflict, just plain > > english. > > none of above attempt can bring it back to normal view. it would be easy > > if bibtex problem, when removed bibliography, no really any > > question marks came up. > > any other possible solution i can try? > > rds, jackie > > > > If you create a new doc and copy each section, one by one, to the new > doc (leaving all previously copied sections in place), does the new doc > always compile? If so, then perhaps the problem is in the preamble of > the old doc. Even if the preamble is not the culprit, if the new doc > compiles after copying ALL the content of the old doc, just delete the > old doc and work with the copy. It won't identify the problem, but it > will get you past it. > > /Paul > _ New Windows 7: Find the right PC for you. Learn more. http://windows.microsoft.com/shop
Re: Lyx problem with gentoo linux
On Fri, Feb 12, 2010 at 10:13 AM, Claudiu Bucur wrote: > *appletv appletv # emerge --info > Portage 2.1.7.16 (default/linux/x86/10.0/desktop, gcc-4.3.4, Hello, I work on Gentoo Linux without problems, could you send a minimal file with the the problems mentioned to test it in my machine? -- Andrés
Re: dvi preview problem
j. w. wrote: hi paul, thanks for the tips. i tired following steps, but seems can't solve the issue. copy doc and took off the bibliography.copy doc and took off the bibliography, removed all the citations, note, footnote, margin note etc.tried bisection copy and paste to new file, and each section(with citation) can stand alone(be viewed) with no problem.tried to take away all the language potential conflict, just plain english. none of above attempt can bring it back to normal view. it would be easy if bibtex problem, when removed bibliography, no really any question marks came up. any other possible solution i can try? rds, jackie If you create a new doc and copy each section, one by one, to the new doc (leaving all previously copied sections in place), does the new doc always compile? If so, then perhaps the problem is in the preamble of the old doc. Even if the preamble is not the culprit, if the new doc compiles after copying ALL the content of the old doc, just delete the old doc and work with the copy. It won't identify the problem, but it will get you past it. /Paul
RE: Tufte book layout - title ?
Hi Stephen, You may need to get the most recent version from the tufte-latex source code repository. I'm not sure that the MikTeX version has been updated (http://code.google.com/p/tufte-latex/). Also, the issue still persists when compiling documents with xelatex. For xelatex users, the problem can be circumvented by using the "nols" option. But this requires that you manually set up letterspacing and fonts using \fontspec. It also messes up the all-caps styling of headers and footers. The best bet might be to downgrade to the 3.0 version. It also has a couple of bugs (most obnoxious being screwed up figure numbering), but it is much less temperamental. Just my two cents, though. Rob -Original Message- From: Stephen George [mailto:steve_...@optusnet.com.au] Sent: Friday, February 12, 2010 2:37 AM To: lyx Subject: Tufte book layout - title ? Hi, I'm a newbie to Lyx, and was playing with the Tufte book class. I'm a little confused, I downloaded Lyx Example File from http://wiki.lyx.org/Layouts/Tufte-book#toc1 When I try to create a pdf of the example file, I got an error about the title (using windows and Lyx 1..6.5) (LaTeX Error: Can be used only in preamble.) \title{Tufte Examples} Your command was ignored. Type I to replace it with another command, or to continue without it. When I download and try to build the pdf using Debian, the build works fine, and has the title in the resultant pdf. I am guessing my miktex install is missing some package. So my question, is how do I work out what package is missing for a lyx file, so I can install it. note: my miktex _IS_ setup to install missing packages on the fly. Any idea why my lyx (on windows) doesn't accept the title as valid ? Thanks - Steve
Lyx problem with gentoo linux
*appletv appletv # emerge --info Portage 2.1.7.16 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r6v03 i686) = System uname: Linux-2.6.31-gentoo-r6v03-i686-Genuine_Intel-R-_processor_1.00GHz-with-gentoo-1.12.13 Timestamp of tree: Sun, 07 Feb 2010 15:30:02 + ccache version 2.4 [enabled] app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.4 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox:1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc: 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS=" http://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/"; LDFLAGS="-Wl,-O1" LINGUAS="en" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa apic berkdb bluetooth branding bts bzip2 cairo cdr clflush cli cmov consolekit cracklib crypt cups cx8 cxx dbus de dri dts dvd dvdr eds emboss encode est evo fam firefox flac fortran fpu fxsr gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 java jpeg kde ldap libnotify lirc lm_sensors mad mca mce mikmod mmx mng modules mp3 mp4 mpeg msr mtrr mudflap ncurses nls nptl nptlonly nvidia nx ogg opengl opengl-video opengl-xvmc openmp pae pam pbe pcre pdf perl pge png ppds pppd pse python qt3support qt4 quicktime readline reflection sdl sep session spell spl ss sse sse2 ssl startup-notification svg sysfs tcpd thunar tiff tm tm2 truetype tsc unicode usb vme vorbis wifi win32codecs x264 x86 xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" LIRC_DEVICES="macmini" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY* *appletv appletv # emerge -pv lyx These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] app-office/lyx-1.6.5 USE="X cups dia html latex nls rtf -debug -docbook -dot -monolithic-build -rcs -subversion" LINGUAS="en -ar -ca -cs -de -es -eu -fi -fr -gl -he -hu -id -it -ja -nb -nn -pl -pt -ro -ru -sk -tr -uk -zh_CN -zh_TW" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB * problem with TFM font not found Error: Font LGR/cmr/bx/n/10=grxn1000 at 10.0pt not loadable: Metric (TFM) file not f Description: \section {Experimental} I wasn't able to read the size data for this font, so I will ignore the font specification. [Wizards can fix TFM files using TFtoPL/PLtoTF.] You might try inserting a different font spec; e.g., type `I\font='. how do i fix this? EDIT: this problem only occurs when on files where content is pasted from somewhere else. if i type a similar file by hand directly in lyx with the same setting (title paragraph, subsections, etc) that error does n
Fwd: Chapter-specific referenclist
Forwarding to list as I realise replies to me were off list, hence my reply to all was not working stephen's mailinglist account schrieb: > > On 11 February 2010 07:57, "MMag. Hörtnagl Paul" > wrote: > >> >> Hi! >> >> Thanks for he answer. I'm using the package chapterbib already, but I d'ont >> know how to include it into my Lyx-File. >> Do you know more about the package? >> Thanks for the help! >> >> Paul >> >> stephen's mailinglist account schrieb: >> >>> >>> On 10 February 2010 12:56, "MMag. Hörtnagl Paul" >>> wrote: >>> >>> Hi! I'm currently writing my PhD and have a big problem creating a chapter-specific reference list. I have currently 5 chapters and want to have a reference list at the end of every chapter. I want to use a numbering style (currently natbib-num: elsearticle-harv). The problem is, that the frist reference of the 2nd chapter has not the number [1] as it should have, but continues in numbering. As an example: >>> >>> _ _ _ _ _ >>> Hörtnagl Paul, M.Sc. M.Sc. Ph.D. student >>> >>> I think you need to use an extra LaTeX package see this FAQ >>> (http://www.tex.ac.uk/cgi-bin/texfaq2html?label=chapbib) for >>> suggestions >>> > > chapterbib requires the chapters to be included in the main file. > LaTeX is run on the main file. Then bibtex is run on the separate > included files to generate the necessary (separate) index files, then > latex is run again on the main file twice. > I have it working in latex, but not yet in Lyx > the answer seems to be on this page http://wiki.lyx.org/BibTeX/Tips > I haven't yet tried it > > > > I have formated everything for latex now, as it looks to be very complicated in LXY. I have successfully created a sample file, but when I want to use bibunit for my manuscripts, I get several errors. + I can not include my PDF pictures any more (message: bounding box missing ...) + hyperlinks for the references (numbering style natbib and elseart-harv) ar not created + hyperlinks for pictures are not working in the endpdf Do you have any suggestions? Thanks soo much! -- _ _ _ _ _ Hörtnagl Paul, M.Sc. M.Sc. Ph.D. student Lab. of Plankton Ecology & Aquatic Photobiology Institute of Ecology University of Innsbruck Phone: +43-512-507-6126 Technikerstr. 25 Fax: +43-512-507-6190 A-6020 Innsbruck E-mail: paul.hoertn...@uibk.ac.at Austria Perosnal: http://www.paulhoertnagl.at/ Institute: http://orawww.uibk.ac.at/public_prod/owa/c770.oek_personal.persmaske_de?id_in=378 -- Stephen
Re: Reverse Indentation That I do Not Want
Chris Rackauckas writes: > > Hey, so the only major problem I've been having with Lyx > is that I have this weird reverse indentation. It appears > on all of my files and does not appear in the User Guide > files. I've tried matching my settings to the User Guide > but I cannot find out why every paragraph listed under > standard is tabbed moving to the left. The style is > book(KOMA-SCRIPT). > > Thank you. > > For me (koma book or report) it's always like this in footnotes. Is there a manner to override it and have some other style?
Re: Tufte book layout - title ?
Am 12.02.2010 10:36, schrieb Stephen George: I'm a newbie to Lyx, and was playing with the Tufte book class. I'm a little confused, I downloaded Lyx Example File from http://wiki.lyx.org/Layouts/Tufte-book#toc1 Better take the example files you find in LyX's "examples" folder. When I try to create a pdf of the example file, I got an error about the title (using windows and Lyx 1..6.5) (LaTeX Error: Can be used only in preamble.) \title{Tufte Examples} This was a bug in the Tufte document class. To fix this, you need to upgrade tufte via MiKTeX's update wizard. regards Uwe
Tufte book layout - title ?
Hi, I'm a newbie to Lyx, and was playing with the Tufte book class. I'm a little confused, I downloaded Lyx Example File from http://wiki.lyx.org/Layouts/Tufte-book#toc1 When I try to create a pdf of the example file, I got an error about the title (using windows and Lyx 1..6.5) (LaTeX Error: Can be used only in preamble.) \title{Tufte Examples} Your command was ignored. Type I to replace it with another command, or to continue without it. When I download and try to build the pdf using Debian, the build works fine, and has the title in the resultant pdf. I am guessing my miktex install is missing some package. So my question, is how do I work out what package is missing for a lyx file, so I can install it. note: my miktex _IS_ setup to install missing packages on the fly. Any idea why my lyx (on windows) doesn't accept the title as valid ? Thanks - Steve