Re: Fonts for LyX
On Sun, Apr 02, 2023 at 10:37:33AM +0200, Eckhard Höffner wrote: > Fontforge, in some special cases also inkscape. Inkscape has some > advantaages. The first curves of the O, D, B, P, d, p or o have all been the > same, sometimes scaled or flipped. The ampersand (et) uses a flipped 3, the > ß is based on f+s. The f is close to the old long s (which was used for > example also in english printing at least until the 18th century). > > But I'm actually looking for hints like: the superscripts are to bold, the > accent grave is to far on the left side, I need bold italics small caps, the > spacing of italic capitals (used in the headers of the standard article > class) must be corrected and so on. > > > Am 01.04.23 um 20:46 schrieb Scott Kostyshak: > > What tools do you use to develop the font? Thanks for sharing those details! Scott signature.asc Description: PGP signature -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Fonts for LyX
Fontforge, in some special cases also inkscape. Inkscape has some advantaages. The first curves of the O, D, B, P, d, p or o have all been the same, sometimes scaled or flipped. The ampersand (et) uses a flipped 3, the ß is based on f+s. The f is close to the old long s (which was used for example also in english printing at least until the 18th century). But I'm actually looking for hints like: the superscripts are to bold, the accent grave is to far on the left side, I need bold italics small caps, the spacing of italic capitals (used in the headers of the standard article class) must be corrected and so on. Am 01.04.23 um 20:46 schrieb Scott Kostyshak: What tools do you use to develop the font? -- Eckhard Höffner Volkartstr. 64 80636 München 089 210 31 888 -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Fonts for LyX
Am 02.04.23 um 01:40 schrieb Steve Litt: [slitt@mydesk VES]$ ls -l total 484 -rw-r--r-- 1 slitt slitt 90264 Mar 28 23:17 CMRV11-Italic.otf -rw-r--r-- 1 slitt slitt 139244 Apr 1 13:36 CMRV11-Regular.otf -rw-r--r-- 1 slitt slitt 82044 Apr 1 13:35 CMRV11-Semibold-Italic.otf -rw-r--r-- 1 slitt slitt 174576 Apr 1 13:35 CMRV11-Semibold.otf [slitt@mydesk VES]$ Some questions: 1. Where do I put these four files so they're visible to my (CTAN installed) TeXLive system yet not intermingled with TeXLive provided fonts? Depends on how you are using the fonts: Only for TeX or systemwide? For TeX save it into ../texlive/texmf-local/fonts/opentype/ for systemwide (includes TeX) into eg /usr/local/share/fonts/ 2. How do I install them? I assume I run texhash, but what else? xetex needs texhash, but luatex will create its own font database. However, you can use the fonts only with xetex/xelatex and luatex/lualatex. For pdftex/pdflatex you have to create some more files with fontinst. Kind of complicated ... Herbert -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Fonts for LyX
Eckhard Höffner said on Sat, 1 Apr 2023 15:56:58 +0200 >At the following link you can find the font and a long PDF document >created with LyX, which practically only uses the package realscripts >for the preamble. > >https://www.fatto.de/wiki/doku.php/playground:font Thanks Eckhard, OK, so I downloaded the four fonts: [slitt@mydesk VES]$ ls -l total 484 -rw-r--r-- 1 slitt slitt 90264 Mar 28 23:17 CMRV11-Italic.otf -rw-r--r-- 1 slitt slitt 139244 Apr 1 13:36 CMRV11-Regular.otf -rw-r--r-- 1 slitt slitt 82044 Apr 1 13:35 CMRV11-Semibold-Italic.otf -rw-r--r-- 1 slitt slitt 174576 Apr 1 13:35 CMRV11-Semibold.otf [slitt@mydesk VES]$ Some questions: 1. Where do I put these four files so they're visible to my (CTAN installed) TeXLive system yet not intermingled with TeXLive provided fonts? 2. How do I install them? I assume I run texhash, but what else? Thanks, SteveT Steve Litt Autumn 2022 featured book: Thriving in Tough Times http://www.troubleshooters.com/bookstore/thrive.htm -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Fonts for LyX
Thanks. The old style numbers appear somewhat strange at first glance, i agree. I copied them from the original Didot fonts from about 1810. I also stumbled over the numbers at the beginning, but only at the beginning. The four is quite big, for example. There are also parallel (default) and mono spaced numbers. You can switch the style by inserting a tex-box: \addfontfeatures{Numbers={Lining, Monospaced}} \addfontfeatures{Numbers={OldStyle}} That's also the reason I use realscripts, because footnote numbers in "old style" look strange. But for usual text I'm quite happy with the old style numbers (e. g. page 16). They do not stand out at all, while normal numerals look like a block of capital letters. Anyway, the fonts are hardly made for long series of numbers. There are much better ones. My plan was to have a legible font (print and pdf), but not a variant of Bembo, Garamond or Times, for example, because TexLive has really good fonts of that kind. Am 01.04.23 um 20:46 schrieb Scott Kostyshak: Thanks for sharing, Eckhard! I looked at the pdf there. Cool font! What tools do you use to develop the font? I took a look at the PDF. One thing I noticed is that for the page numbers, in 41 and 42 they appear to be centered vertically but for 43 it seems more like top aligned. Not sure if that makes sense, but it seemed a little off to me. Good work! Scott -- Eckhard Höffner Volkarstr. 64 D-80636 München Tel.: 089 210 31 888 -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Fonts for LyX
On Sat, Apr 01, 2023 at 03:56:58PM +0200, Eckhard Höffner wrote: > Hello all, > this is not really a central Lyx topic, but I hope I'll be forgiven. > > I have started designing a font. As I have been working with Lyx for over 20 > years, and the font should primarily work well with LyX (XeTeX), be usable > without problems. Other uses don't interest me so much. > > At the following link you can find the font and a long PDF document created > with LyX, which practically only uses the package realscripts for the > preamble. > > https://www.fatto.de/wiki/doku.php/playground:font > > Therefore my question: Is anyone interested in supporting me, i.e. finding > errors, making suggestions for improvement, etc.? Thanks for sharing, Eckhard! I looked at the pdf there. Cool font! What tools do you use to develop the font? I took a look at the PDF. One thing I noticed is that for the page numbers, in 41 and 42 they appear to be centered vertically but for 43 it seems more like top aligned. Not sure if that makes sense, but it seemed a little off to me. Good work! Scott signature.asc Description: PGP signature -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Fonts for LyX
Hello all, this is not really a central Lyx topic, but I hope I'll be forgiven. I have started designing a font. As I have been working with Lyx for over 20 years, and the font should primarily work well with LyX (XeTeX), be usable without problems. Other uses don't interest me so much. At the following link you can find the font and a long PDF document created with LyX, which practically only uses the package realscripts for the preamble. https://www.fatto.de/wiki/doku.php/playground:font Therefore my question: Is anyone interested in supporting me, i.e. finding errors, making suggestions for improvement, etc.? -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Fonts in Lyx
On 1/16/21 11:57 AM, Néstor wrote: Hello, I would like to format a book, I like to use two fonts, one for normal chapters, another one for some special chapters. The special font should be looking like handwritten, script. I have tried to install Kurier font which is the closest choice, but no luck, it says "uninstalled", even if I have installed it by hand. When I choose to use any font, I select one, it complaints. Thank you. Did you reconfigure LyX after installing Kurier? I'm not sure what you mean by your last sentence. If LyX is issuing error messages when you choose a font, what specifically do the errors say? -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Fonts in Lyx
Hello, I would like to format a book, I like to use two fonts, one for normal chapters, another one for some special chapters. The special font should be looking like handwritten, script. I have tried to install Kurier font which is the closest choice, but no luck, it says "uninstalled", even if I have installed it by hand. When I choose to use any font, I select one, it complaints. Thank you. -- Néstor Amigo -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Gothic style fonts in LyX/MikTeX
On Sun, Aug 26, 2018 at 12:35 PM Ricardo Berlasso wrote: > If you are willing to use XeTeX instead of plain LaTeX, setting up a new > font-family that uses ... > Thanks for the pointer - that option finds my Windows fonts, one of which is Old English Text MT, and it shows nicely in the PDF. It's easy enough to make sure that's installed on the system. Cheers!
Re: Gothic style fonts in LyX/MikTeX
On Sunday, 26 Aug 2018 12:34 PM -0400, Ricardo Berlasso wrote: > --d9d04105745930f6 > Content-Type: text/plain; charset="UTF-8" > Content-Transfer-Encoding: quoted-printable > > El dom., 26 ago. 2018 a las 16:58, Cris Fuhrman () > escribi=C3=B3: > >> Hello, >> >> For a project, I wanted to use an old-English/Germanic style font. I foun= > d >> some in yfonts, but it's tricky to install/setup with MikTeX (not >> automatic) because it requires a local tex install. There are instruction= > s >> at https://wiki.lyx.org/Tips/InstallType1Fonts and also on StackOverflow >> for Type1 installs. Not impossible, but less easy to reproduce between my >> PC at home and work. >> >> Is there a gothic-like font that will work well with LyX/MikTeX >> automagically? >> > > Will that font be used for the whole document or just for particular > paragraphs? If you are willing to use XeTeX instead of plain LaTeX, setting > up a new font-family that uses an Unicode Blackletter typeface such as > UniFraktur(1) is really easy. > > (1) http://unifraktur.sourceforge.net/ I have nothing to address the original question, but I will point out that a Fraktur typeface is *not* a suitable substitute for an "Old English" typeface (e.g., the kind you see in old English Bibles). -- Will
Re: Gothic style fonts in LyX/MikTeX
El dom., 26 ago. 2018 a las 16:58, Cris Fuhrman () escribió: > Hello, > > For a project, I wanted to use an old-English/Germanic style font. I found > some in yfonts, but it's tricky to install/setup with MikTeX (not > automatic) because it requires a local tex install. There are instructions > at https://wiki.lyx.org/Tips/InstallType1Fonts and also on StackOverflow > for Type1 installs. Not impossible, but less easy to reproduce between my > PC at home and work. > > Is there a gothic-like font that will work well with LyX/MikTeX > automagically? > Will that font be used for the whole document or just for particular paragraphs? If you are willing to use XeTeX instead of plain LaTeX, setting up a new font-family that uses an Unicode Blackletter typeface such as UniFraktur(1) is really easy. (1) http://unifraktur.sourceforge.net/ Regards, Ricardo
Gothic style fonts in LyX/MikTeX
Hello, For a project, I wanted to use an old-English/Germanic style font. I found some in yfonts, but it's tricky to install/setup with MikTeX (not automatic) because it requires a local tex install. There are instructions at https://wiki.lyx.org/Tips/InstallType1Fonts and also on StackOverflow for Type1 installs. Not impossible, but less easy to reproduce between my PC at home and work. Is there a gothic-like font that will work well with LyX/MikTeX automagically?
display fonts in Lyx 2.0.2
I just installed Lyx on my new machine (Windows 7) and noticed that compared with Lyx 2.0.0 on my old machine (also Windows 7) the display fonts don't look as nice. Its hard to describe except to say that they look somewhat faded or the characters somehow look like they were printed with a printer that was low on ink! I checked and all the settings are the same on the two Lyx's. Any ideas? cheers
display fonts in Lyx 2.0.2
I just installed Lyx on my new machine (Windows 7) and noticed that compared with Lyx 2.0.0 on my old machine (also Windows 7) the display fonts don't look as nice. Its hard to describe except to say that they look somewhat faded or the characters somehow look like they were printed with a printer that was low on ink! I checked and all the settings are the same on the two Lyx's. Any ideas? cheers
display fonts in Lyx 2.0.2
I just installed Lyx on my new machine (Windows 7) and noticed that compared with Lyx 2.0.0 on my old machine (also Windows 7) the display fonts don't look as nice. Its hard to describe except to say that they look somewhat "faded" or the characters somehow look like they were printed with a printer that was low on ink! I checked and all the settings are the same on the two Lyx's. Any ideas? cheers
Re: How does one use the Liberation fonts in LyX?
On Wed, Aug 31, 2011 at 1:30 AM, Steve Litt sl...@troubleshooters.com wrote: UDMan Liviu! I'd already installed xetex, but hadn't thought to reconfigure LyX. After reconfiguring LyX, it worked. I saw all the liberation fonts. Thank you! Now when everyone says you must use XeTeX, does that mean that in my scripts that make books, I substitute the xetex command for the latex command? Should I expect any side effects or problems? I couldn't say. Best start a new thread on this. What I heard from the list is that XeTeX is bleeding edge development compared to the good old and stable TeX engine. The output may be quite different since XeTeX uses fancier typographic choices by default (somewhat similar to 'microtype'). It also eases up life if you need to combine various Unicode characters in your documents, although XeTeX can also be used with normal LaTeX fonts. I guess best would be to read up their documentation and search on the internet. How do I compile to PDF so that the fonts are embedded in the PDF? LyX already takes care of this. To test, compile a document, open it with Evince, and check File Properties Fonts. Regards Liviu Thanks SteveT Steve Litt Author: The Key to Everyday Excellence http://www.troubleshooters.com/bookstore/key_excellence.htm Twitter: http://www.twitter.com/stevelitt -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: How does one use the Liberation fonts in LyX?
On 2011-08-30, Steve Litt wrote: Now when everyone says you must use XeTeX, does that mean that in my scripts that make books, I substitute the xetex command for the latex command? For non-TeX fonts (i.e. Unicode-encoded system fonts) you must use either the XeTeX or LuaTeX engine instead of the pdfTeX/eTeX one. Both should be used with the LaTeX macro extensions. In most distributions, the commands are latex pdfTeX engine with LaTeX macros and DVI output pdflatex pdfTeX engine with LaTeX macros and PDF output xelatexXeTeX engine with LaTeX macros and PDF output lualatex LuaTeX engine with LaTeX macros and PDF output Of course, LyX knows this and calls them appropriately. However, hand-made scripts will need adaption. Should I expect any side effects or problems? This depends. As you want to change the font anyway, minor layout changes will not be visible (like with e.g. switching the engine but keeping Latin Modern as text font). Some packages are not supported (e.g. microtype is only partially supported). Some languages are only supported by babel (package for pdfTeX) while others are only supported by polyglossia (the language package for XeTeX) Preamble and ERT commands might need adaption. Günter
Re: How does one use the Liberation fonts in LyX?
On Wed, Aug 31, 2011 at 1:30 AM, Steve Litt sl...@troubleshooters.com wrote: UDMan Liviu! I'd already installed xetex, but hadn't thought to reconfigure LyX. After reconfiguring LyX, it worked. I saw all the liberation fonts. Thank you! Now when everyone says you must use XeTeX, does that mean that in my scripts that make books, I substitute the xetex command for the latex command? Should I expect any side effects or problems? I couldn't say. Best start a new thread on this. What I heard from the list is that XeTeX is bleeding edge development compared to the good old and stable TeX engine. The output may be quite different since XeTeX uses fancier typographic choices by default (somewhat similar to 'microtype'). It also eases up life if you need to combine various Unicode characters in your documents, although XeTeX can also be used with normal LaTeX fonts. I guess best would be to read up their documentation and search on the internet. How do I compile to PDF so that the fonts are embedded in the PDF? LyX already takes care of this. To test, compile a document, open it with Evince, and check File Properties Fonts. Regards Liviu Thanks SteveT Steve Litt Author: The Key to Everyday Excellence http://www.troubleshooters.com/bookstore/key_excellence.htm Twitter: http://www.twitter.com/stevelitt -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: How does one use the Liberation fonts in LyX?
On 2011-08-30, Steve Litt wrote: Now when everyone says you must use XeTeX, does that mean that in my scripts that make books, I substitute the xetex command for the latex command? For non-TeX fonts (i.e. Unicode-encoded system fonts) you must use either the XeTeX or LuaTeX engine instead of the pdfTeX/eTeX one. Both should be used with the LaTeX macro extensions. In most distributions, the commands are latex pdfTeX engine with LaTeX macros and DVI output pdflatex pdfTeX engine with LaTeX macros and PDF output xelatexXeTeX engine with LaTeX macros and PDF output lualatex LuaTeX engine with LaTeX macros and PDF output Of course, LyX knows this and calls them appropriately. However, hand-made scripts will need adaption. Should I expect any side effects or problems? This depends. As you want to change the font anyway, minor layout changes will not be visible (like with e.g. switching the engine but keeping Latin Modern as text font). Some packages are not supported (e.g. microtype is only partially supported). Some languages are only supported by babel (package for pdfTeX) while others are only supported by polyglossia (the language package for XeTeX) Preamble and ERT commands might need adaption. Günter
Re: How does one use the Liberation fonts in LyX?
On Wed, Aug 31, 2011 at 1:30 AM, Steve Littwrote: > UDMan Liviu! > > I'd already installed xetex, but hadn't thought to reconfigure LyX. > After reconfiguring LyX, it worked. I saw all the liberation fonts. > Thank you! > > Now when everyone says "you must use XeTeX", does that mean that in my > scripts that make books, I substitute the xetex command for the latex > command? Should I expect any side effects or problems? > I couldn't say. Best start a new thread on this. What I heard from the list is that XeTeX is bleeding edge development compared to the good old and stable TeX engine. The output may be quite different since XeTeX uses fancier typographic choices by default (somewhat similar to 'microtype'). It also eases up life if you need to combine various Unicode characters in your documents, although XeTeX can also be used with "normal" LaTeX fonts. I guess best would be to read up their documentation and search on the internet. > How do I compile to PDF so that the fonts are embedded in the PDF? > LyX already takes care of this. To test, compile a document, open it with Evince, and check File > Properties > Fonts. Regards Liviu > Thanks > > SteveT > > Steve Litt > Author: The Key to Everyday Excellence > http://www.troubleshooters.com/bookstore/key_excellence.htm > Twitter: http://www.twitter.com/stevelitt > > -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: How does one use the Liberation fonts in LyX?
On 2011-08-30, Steve Litt wrote: > Now when everyone says "you must use XeTeX", does that mean that in my > scripts that make books, I substitute the xetex command for the latex > command? For "non-TeX fonts" (i.e. Unicode-encoded system fonts) you must use either the XeTeX or LuaTeX "engine" instead of the pdfTeX/eTeX one. Both should be used with the LaTeX macro extensions. In most distributions, the commands are latex pdfTeX engine with LaTeX macros and DVI output pdflatex pdfTeX engine with LaTeX macros and PDF output xelatexXeTeX engine with LaTeX macros and PDF output lualatex LuaTeX engine with LaTeX macros and PDF output Of course, LyX knows this and calls them appropriately. However, hand-made scripts will need adaption. > Should I expect any side effects or problems? This depends. As you want to change the font anyway, minor layout changes will not be visible (like with e.g. switching the engine but keeping Latin Modern as text font). Some packages are not supported (e.g. microtype is only partially supported). Some languages are only supported by babel (package for pdfTeX) while others are only supported by "polyglossia" (the language package for XeTeX) Preamble and ERT commands might need adaption. Günter
Re: How does one use the Liberation fonts in LyX?
Hi Rob (or anyone else who knows the answer), Now that LyX 2.0 is out, is the answer any simpler to the question how do you use Liberation fonts in LyX?? Thanks SteveT On Monday, December 14, 2009 10:11:33 AM Rob Oakes wrote: Hi Steve, I think that you have one of two options. The first, of course is to install the fonts onto your system in the normal way and then use XeTeX to compile the document. If you choose this route, you can assign the font through the use of the \setfont macros: \setmainfont{font name}, \setsansfont{font name}, \setmonofont{font name} If using LyX 1.6.5, you will need to set up XeLaTeX to work with LyX. There is information on how to do this on the wiki. If using LyX SVN, it already has support built-in. Just go to Document Settings - Output and enable Use XeTeX. Additional information about XeLaTex and font support is available at: http://existentialtype.net/2008/07/12/fonts-in-latex-part-one-xelat ex/ The alternative is to see if someone has created a font definition file. You can also create your own. Additional information about the process is available from the excellent blog, Existential Type: http://existentialtype.net/2008/07/12/fonts-in-latex-part-two-pdfte x-and-opentype/ I personally prefer to go the XeLaTeX route. Since moving over to LyX SVN, I use it to compile more or less everything. While there are some packages it doesn't support (like microtype), I find that it does a good job with just about everything. I've even been able to use some of the more exotic modules (like Sweave) and classes (like Tufte) without problems. For an example output, see: http://www.oak-tree.us/stuff/LyX/Sweave-Opportunity.pdf (Aside: In the example above, using xetex allowed me to use the same typefaces that Tufte uses -- Bembo and Gil Sans -- without creating a font definition file for them -- which ranks right alongside major oral surgery on my priority list.) Cheers, Rob Oakes
Re: How does one use the Liberation fonts in LyX?
On Tue, Aug 30, 2011 at 10:21 PM, Steve Litt sl...@troubleshooters.com wrote: Now that LyX 2.0 is out, is the answer any simpler to the question how do you use Liberation fonts in LyX?? Should be. Select Fonts Use non-TeX fonts, then (assuming that the fonts are registered with the system) Liberation should be accessible in the font-selection combo. Now you will be compiling your documents with XeTeX. Liviu
Re: How does one use the Liberation fonts in LyX?
On Tuesday, August 30, 2011 05:02:38 PM Liviu Andronic wrote: On Tue, Aug 30, 2011 at 10:21 PM, Steve Litt sl...@troubleshooters.com wrote: Now that LyX 2.0 is out, is the answer any simpler to the question how do you use Liberation fonts in LyX?? Should be. Select Fonts Use non-TeX fonts, then (assuming that the fonts are registered with the system) Liberation should be accessible in the font-selection combo. Now you will be compiling your documents with XeTeX. Liviu Thanks Liviu, For some reason, the Use Non Tex Fonts checkbox on my Document Settings-fonts screen is grayed out and can't be checked. Thanks SteveT Steve Litt Author: The Key to Everyday Excellence http://www.troubleshooters.com/bookstore/key_excellence.htm Twitter: http://www.twitter.com/stevelitt
Re: How does one use the Liberation fonts in LyX?
On Tue, Aug 30, 2011 at 11:28 PM, Steve Litt sl...@troubleshooters.com wrote: For some reason, the Use Non Tex Fonts checkbox on my Document Settings-fonts screen is grayed out and can't be checked. Then I guess you don't have XeTeX installed. Install it, reconfigure LyX, and after LyX restart try again the Fonts dialogue. Liviu
Re: How does one use the Liberation fonts in LyX?
On Tuesday, August 30, 2011 05:31:54 PM Liviu Andronic wrote: On Tue, Aug 30, 2011 at 11:28 PM, Steve Litt sl...@troubleshooters.com wrote: For some reason, the Use Non Tex Fonts checkbox on my Document Settings-fonts screen is grayed out and can't be checked. Then I guess you don't have XeTeX installed. Install it, reconfigure LyX, and after LyX restart try again the Fonts dialogue. Liviu UDMan Liviu! I'd already installed xetex, but hadn't thought to reconfigure LyX. After reconfiguring LyX, it worked. I saw all the liberation fonts. Thank you! Now when everyone says you must use XeTeX, does that mean that in my scripts that make books, I substitute the xetex command for the latex command? Should I expect any side effects or problems? How do I compile to PDF so that the fonts are embedded in the PDF? Thanks SteveT Steve Litt Author: The Key to Everyday Excellence http://www.troubleshooters.com/bookstore/key_excellence.htm Twitter: http://www.twitter.com/stevelitt
Re: How does one use the Liberation fonts in LyX?
Hi Rob (or anyone else who knows the answer), Now that LyX 2.0 is out, is the answer any simpler to the question how do you use Liberation fonts in LyX?? Thanks SteveT On Monday, December 14, 2009 10:11:33 AM Rob Oakes wrote: Hi Steve, I think that you have one of two options. The first, of course is to install the fonts onto your system in the normal way and then use XeTeX to compile the document. If you choose this route, you can assign the font through the use of the \setfont macros: \setmainfont{font name}, \setsansfont{font name}, \setmonofont{font name} If using LyX 1.6.5, you will need to set up XeLaTeX to work with LyX. There is information on how to do this on the wiki. If using LyX SVN, it already has support built-in. Just go to Document Settings - Output and enable Use XeTeX. Additional information about XeLaTex and font support is available at: http://existentialtype.net/2008/07/12/fonts-in-latex-part-one-xelat ex/ The alternative is to see if someone has created a font definition file. You can also create your own. Additional information about the process is available from the excellent blog, Existential Type: http://existentialtype.net/2008/07/12/fonts-in-latex-part-two-pdfte x-and-opentype/ I personally prefer to go the XeLaTeX route. Since moving over to LyX SVN, I use it to compile more or less everything. While there are some packages it doesn't support (like microtype), I find that it does a good job with just about everything. I've even been able to use some of the more exotic modules (like Sweave) and classes (like Tufte) without problems. For an example output, see: http://www.oak-tree.us/stuff/LyX/Sweave-Opportunity.pdf (Aside: In the example above, using xetex allowed me to use the same typefaces that Tufte uses -- Bembo and Gil Sans -- without creating a font definition file for them -- which ranks right alongside major oral surgery on my priority list.) Cheers, Rob Oakes
Re: How does one use the Liberation fonts in LyX?
On Tue, Aug 30, 2011 at 10:21 PM, Steve Litt sl...@troubleshooters.com wrote: Now that LyX 2.0 is out, is the answer any simpler to the question how do you use Liberation fonts in LyX?? Should be. Select Fonts Use non-TeX fonts, then (assuming that the fonts are registered with the system) Liberation should be accessible in the font-selection combo. Now you will be compiling your documents with XeTeX. Liviu
Re: How does one use the Liberation fonts in LyX?
On Tuesday, August 30, 2011 05:02:38 PM Liviu Andronic wrote: On Tue, Aug 30, 2011 at 10:21 PM, Steve Litt sl...@troubleshooters.com wrote: Now that LyX 2.0 is out, is the answer any simpler to the question how do you use Liberation fonts in LyX?? Should be. Select Fonts Use non-TeX fonts, then (assuming that the fonts are registered with the system) Liberation should be accessible in the font-selection combo. Now you will be compiling your documents with XeTeX. Liviu Thanks Liviu, For some reason, the Use Non Tex Fonts checkbox on my Document Settings-fonts screen is grayed out and can't be checked. Thanks SteveT Steve Litt Author: The Key to Everyday Excellence http://www.troubleshooters.com/bookstore/key_excellence.htm Twitter: http://www.twitter.com/stevelitt
Re: How does one use the Liberation fonts in LyX?
On Tue, Aug 30, 2011 at 11:28 PM, Steve Litt sl...@troubleshooters.com wrote: For some reason, the Use Non Tex Fonts checkbox on my Document Settings-fonts screen is grayed out and can't be checked. Then I guess you don't have XeTeX installed. Install it, reconfigure LyX, and after LyX restart try again the Fonts dialogue. Liviu
Re: How does one use the Liberation fonts in LyX?
On Tuesday, August 30, 2011 05:31:54 PM Liviu Andronic wrote: On Tue, Aug 30, 2011 at 11:28 PM, Steve Litt sl...@troubleshooters.com wrote: For some reason, the Use Non Tex Fonts checkbox on my Document Settings-fonts screen is grayed out and can't be checked. Then I guess you don't have XeTeX installed. Install it, reconfigure LyX, and after LyX restart try again the Fonts dialogue. Liviu UDMan Liviu! I'd already installed xetex, but hadn't thought to reconfigure LyX. After reconfiguring LyX, it worked. I saw all the liberation fonts. Thank you! Now when everyone says you must use XeTeX, does that mean that in my scripts that make books, I substitute the xetex command for the latex command? Should I expect any side effects or problems? How do I compile to PDF so that the fonts are embedded in the PDF? Thanks SteveT Steve Litt Author: The Key to Everyday Excellence http://www.troubleshooters.com/bookstore/key_excellence.htm Twitter: http://www.twitter.com/stevelitt
Re: How does one use the Liberation fonts in LyX?
Hi Rob (or anyone else who knows the answer), Now that LyX 2.0 is out, is the answer any simpler to the question "how do you use Liberation fonts in LyX?"? Thanks SteveT On Monday, December 14, 2009 10:11:33 AM Rob Oakes wrote: > Hi Steve, > > I think that you have one of two options. The first, of course is > to install the fonts onto your system in the normal way and then > use XeTeX to compile the document. If you choose this route, you > can assign the font through the use of the \setfont macros: > \setmainfont{font name}, \setsansfont{font name}, > \setmonofont{font name} > > If using LyX 1.6.5, you will need to set up XeLaTeX to work with > LyX. There is information on how to do this on the wiki. If using > LyX SVN, it already has support built-in. Just go to Document > Settings -> Output and enable "Use XeTeX". > > Additional information about XeLaTex and font support is available > at: > > http://existentialtype.net/2008/07/12/fonts-in-latex-part-one-xelat > ex/ > > The alternative is to see if someone has created a font definition > file. You can also create your own. Additional information about > the process is available from the excellent blog, Existential > Type: > > http://existentialtype.net/2008/07/12/fonts-in-latex-part-two-pdfte > x-and-opentype/ > > I personally prefer to go the XeLaTeX route. Since moving over to > LyX SVN, I use it to compile more or less everything. While there > are some packages it doesn't support (like microtype), I find that > it does a good job with just about everything. I've even been > able to use some of the more exotic modules (like Sweave) and > classes (like Tufte) without problems. For an example output, > see: > > http://www.oak-tree.us/stuff/LyX/Sweave-Opportunity.pdf > > (Aside: In the example above, using xetex allowed me to use the > same typefaces that Tufte uses -- Bembo and Gil Sans -- without > creating a font definition file for them -- which ranks right > alongside major oral surgery on my priority list.) > > Cheers, > > Rob Oakes
Re: How does one use the Liberation fonts in LyX?
On Tue, Aug 30, 2011 at 10:21 PM, Steve Litt <sl...@troubleshooters.com> wrote: > Now that LyX 2.0 is out, is the answer any simpler to the question > "how do you use Liberation fonts in LyX?"? > Should be. Select Fonts > Use non-TeX fonts, then (assuming that the fonts are registered with the system) Liberation should be accessible in the font-selection combo. Now you will be compiling your documents with XeTeX. Liviu
Re: How does one use the Liberation fonts in LyX?
On Tuesday, August 30, 2011 05:02:38 PM Liviu Andronic wrote: > On Tue, Aug 30, 2011 at 10:21 PM, Steve Litt <sl...@troubleshooters.com> wrote: > > Now that LyX 2.0 is out, is the answer any simpler to the > > question "how do you use Liberation fonts in LyX?"? > > Should be. Select Fonts > Use non-TeX fonts, then (assuming that > the fonts are registered with the system) Liberation should be > accessible in the font-selection combo. Now you will be compiling > your documents with XeTeX. > Liviu Thanks Liviu, For some reason, the "Use Non Tex Fonts" checkbox on my Document Settings->fonts screen is grayed out and can't be checked. Thanks SteveT Steve Litt Author: The Key to Everyday Excellence http://www.troubleshooters.com/bookstore/key_excellence.htm Twitter: http://www.twitter.com/stevelitt
Re: How does one use the Liberation fonts in LyX?
On Tue, Aug 30, 2011 at 11:28 PM, Steve Littwrote: > For some reason, the "Use Non Tex Fonts" checkbox on my Document > Settings->fonts screen is grayed out and can't be checked. > Then I guess you don't have XeTeX installed. Install it, reconfigure LyX, and after LyX restart try again the Fonts dialogue. Liviu
Re: How does one use the Liberation fonts in LyX?
On Tuesday, August 30, 2011 05:31:54 PM Liviu Andronic wrote: > On Tue, Aug 30, 2011 at 11:28 PM, Steve Littwrote: > > For some reason, the "Use Non Tex Fonts" checkbox on my Document > > Settings->fonts screen is grayed out and can't be checked. > > Then I guess you don't have XeTeX installed. Install it, > reconfigure LyX, and after LyX restart try again the Fonts > dialogue. > Liviu UDMan Liviu! I'd already installed xetex, but hadn't thought to reconfigure LyX. After reconfiguring LyX, it worked. I saw all the liberation fonts. Thank you! Now when everyone says "you must use XeTeX", does that mean that in my scripts that make books, I substitute the xetex command for the latex command? Should I expect any side effects or problems? How do I compile to PDF so that the fonts are embedded in the PDF? Thanks SteveT Steve Litt Author: The Key to Everyday Excellence http://www.troubleshooters.com/bookstore/key_excellence.htm Twitter: http://www.twitter.com/stevelitt
Re: Fonts in LyX (and LaTeX and TeX)
On Fri, Nov 19, 2010 at 12:24 PM, stefano franchi stefano.fran...@gmail.com wrote: I added a very basic page and tweaked the xetex.lyx and xetex.pdf files to show luatex in use. But I cannot find out how yo upload the files. Advice appreciated Ok. Done S.
Re: Fonts in LyX (and LaTeX and TeX)
On Fri, Nov 19, 2010 at 12:24 PM, stefano franchi stefano.fran...@gmail.com wrote: I added a very basic page and tweaked the xetex.lyx and xetex.pdf files to show luatex in use. But I cannot find out how yo upload the files. Advice appreciated Ok. Done S.
Re: Fonts in LyX (and LaTeX and TeX)
On Fri, Nov 19, 2010 at 12:24 PM, stefano franchiwrote: > I added a very basic page and tweaked the xetex.lyx and xetex.pdf files to > show luatex in use. But I cannot find out how yo upload the files. > Advice appreciated > > Ok. Done S.
Re: Fonts in LyX (and LaTeX and TeX)
On Sun, Nov 14, 2010 at 12:10 AM, Gour g...@atmarama.net wrote: On Sat, 13 Nov 2010 15:52:59 -0600 stefano == stefano franchi wrote: Hiya Stefano, Would you mind to add/document your 'method' to the wiki in order not to get lost in the mailing list? So I tried to add a page to the LyX wiki, but apparently a developer's password is needed. Would any developer create a LuaTex page and I will happily fill itout with the (few) information I have? Cheeers, Stefano
Re: Fonts in LyX (and LaTeX and TeX)
stefano franchi wrote: On Sun, Nov 14, 2010 at 12:10 AM, Gour g...@atmarama.net wrote: On Sat, 13 Nov 2010 15:52:59 -0600 stefano == stefano franchi wrote: Hiya Stefano, Would you mind to add/document your 'method' to the wiki in order not to get lost in the mailing list? So I tried to add a page to the LyX wiki, but apparently a developer's password is needed. Would any developer create a LuaTex page and I will happily fill itout with the (few) information I have? http://wiki.lyx.org/LyX/LuaTeX but no pass war needed, really pavel
Re: Fonts in LyX (and LaTeX and TeX)
I added a very basic page and tweaked the xetex.lyx and xetex.pdf files to show luatex in use. But I cannot find out how yo upload the files. Advice appreciated Cheers, Stefano On Fri, Nov 19, 2010 at 10:04 AM, Pavel Sanda sa...@lyx.org wrote: stefano franchi wrote: On Sun, Nov 14, 2010 at 12:10 AM, Gour g...@atmarama.net wrote: On Sat, 13 Nov 2010 15:52:59 -0600 stefano == stefano franchi wrote: Hiya Stefano, Would you mind to add/document your 'method' to the wiki in order not to get lost in the mailing list? So I tried to add a page to the LyX wiki, but apparently a developer's password is needed. Would any developer create a LuaTex page and I will happily fill itout with the (few) information I have? http://wiki.lyx.org/LyX/LuaTeX but no pass war needed, really pavel
Re: Fonts in LyX (and LaTeX and TeX)
stefano franchi wrote: I added a very basic page and tweaked the xetex.lyx and xetex.pdf files to show luatex in use. But I cannot find out how yo upload the files. Advice appreciated right top corner, Upload link. pavel
Re: Fonts in LyX (and LaTeX and TeX)
On Sun, Nov 14, 2010 at 12:10 AM, Gour g...@atmarama.net wrote: On Sat, 13 Nov 2010 15:52:59 -0600 stefano == stefano franchi wrote: Hiya Stefano, Would you mind to add/document your 'method' to the wiki in order not to get lost in the mailing list? So I tried to add a page to the LyX wiki, but apparently a developer's password is needed. Would any developer create a LuaTex page and I will happily fill itout with the (few) information I have? Cheeers, Stefano
Re: Fonts in LyX (and LaTeX and TeX)
stefano franchi wrote: On Sun, Nov 14, 2010 at 12:10 AM, Gour g...@atmarama.net wrote: On Sat, 13 Nov 2010 15:52:59 -0600 stefano == stefano franchi wrote: Hiya Stefano, Would you mind to add/document your 'method' to the wiki in order not to get lost in the mailing list? So I tried to add a page to the LyX wiki, but apparently a developer's password is needed. Would any developer create a LuaTex page and I will happily fill itout with the (few) information I have? http://wiki.lyx.org/LyX/LuaTeX but no pass war needed, really pavel
Re: Fonts in LyX (and LaTeX and TeX)
I added a very basic page and tweaked the xetex.lyx and xetex.pdf files to show luatex in use. But I cannot find out how yo upload the files. Advice appreciated Cheers, Stefano On Fri, Nov 19, 2010 at 10:04 AM, Pavel Sanda sa...@lyx.org wrote: stefano franchi wrote: On Sun, Nov 14, 2010 at 12:10 AM, Gour g...@atmarama.net wrote: On Sat, 13 Nov 2010 15:52:59 -0600 stefano == stefano franchi wrote: Hiya Stefano, Would you mind to add/document your 'method' to the wiki in order not to get lost in the mailing list? So I tried to add a page to the LyX wiki, but apparently a developer's password is needed. Would any developer create a LuaTex page and I will happily fill itout with the (few) information I have? http://wiki.lyx.org/LyX/LuaTeX but no pass war needed, really pavel
Re: Fonts in LyX (and LaTeX and TeX)
stefano franchi wrote: I added a very basic page and tweaked the xetex.lyx and xetex.pdf files to show luatex in use. But I cannot find out how yo upload the files. Advice appreciated right top corner, Upload link. pavel
Re: Fonts in LyX (and LaTeX and TeX)
On Sun, Nov 14, 2010 at 12:10 AM, Gourwrote: > On Sat, 13 Nov 2010 15:52:59 -0600 > >> "stefano" == stefano franchi wrote: > > Hiya Stefano, > > Would you mind to add/document your 'method' to the wiki in order not to > get > lost in the mailing list? > > So I tried to add a page to the LyX wiki, but apparently a developer's password is needed. Would any developer create a LuaTex page and I will happily fill itout with the (few) information I have? Cheeers, Stefano
Re: Fonts in LyX (and LaTeX and TeX)
stefano franchi wrote: > On Sun, Nov 14, 2010 at 12:10 AM, Gourwrote: > > > On Sat, 13 Nov 2010 15:52:59 -0600 > > >> "stefano" == stefano franchi wrote: > > > > Hiya Stefano, > > > > Would you mind to add/document your 'method' to the wiki in order not to > > get > > lost in the mailing list? > > > > > So I tried to add a page to the LyX wiki, but apparently a developer's > password is needed. Would any developer create a LuaTex page and I will > happily fill itout with the (few) information I have? http://wiki.lyx.org/LyX/LuaTeX but no pass war needed, really pavel
Re: Fonts in LyX (and LaTeX and TeX)
I added a very basic page and tweaked the xetex.lyx and xetex.pdf files to show luatex in use. But I cannot find out how yo upload the files. Advice appreciated Cheers, Stefano On Fri, Nov 19, 2010 at 10:04 AM, Pavel Sandawrote: > stefano franchi wrote: > > On Sun, Nov 14, 2010 at 12:10 AM, Gour wrote: > > > > > On Sat, 13 Nov 2010 15:52:59 -0600 > > > >> "stefano" == stefano franchi wrote: > > > > > > Hiya Stefano, > > > > > > Would you mind to add/document your 'method' to the wiki in order not > to > > > get > > > lost in the mailing list? > > > > > > > > So I tried to add a page to the LyX wiki, but apparently a developer's > > password is needed. Would any developer create a LuaTex page and I will > > happily fill itout with the (few) information I have? > > http://wiki.lyx.org/LyX/LuaTeX > but no pass war needed, really > pavel >
Re: Fonts in LyX (and LaTeX and TeX)
stefano franchi wrote: > I added a very basic page and tweaked the xetex.lyx and xetex.pdf files to > show luatex in use. But I cannot find out how yo upload the files. > Advice appreciated right top corner, "Upload" link. pavel
Re: Fonts in LyX (and LaTeX and TeX)
On 2010-11-13, stefano franchi wrote: --90e6ba5bba6103dafb0494f63b0c Content-Type: text/plain; charset=ISO-8859-1 On Wed, Nov 10, 2010 at 4:22 PM, stefano franchi For Lyx, I used the method described in the wiki for XeTeX (define a new pdf format, etc), and switched the bibtex processor to biber in the preferences. Everyone seems to strongly recommend a switch away from babel to polyglossia (for XeTeX as well as for LuaTeX), but I didn't (nor would I know how to do so from within LyX). No problems so far. My latest knowledge (from comp.text.tex) is that polyglossia does not work with luatex (but may be updated to do so sometimes). Babel should work with luatex as long as there is no font-encoding switch, i.e. for languages using a Latin script. Babel will switch to pre-unicode LaTeX fonts if you try it for typesetting Cyrillic or Greek. Günter
Re: Fonts in LyX (and LaTeX and TeX)
On 2010-11-13, stefano franchi wrote: --90e6ba5bba6103dafb0494f63b0c Content-Type: text/plain; charset=ISO-8859-1 On Wed, Nov 10, 2010 at 4:22 PM, stefano franchi For Lyx, I used the method described in the wiki for XeTeX (define a new pdf format, etc), and switched the bibtex processor to biber in the preferences. Everyone seems to strongly recommend a switch away from babel to polyglossia (for XeTeX as well as for LuaTeX), but I didn't (nor would I know how to do so from within LyX). No problems so far. My latest knowledge (from comp.text.tex) is that polyglossia does not work with luatex (but may be updated to do so sometimes). Babel should work with luatex as long as there is no font-encoding switch, i.e. for languages using a Latin script. Babel will switch to pre-unicode LaTeX fonts if you try it for typesetting Cyrillic or Greek. Günter
Re: Fonts in LyX (and LaTeX and TeX)
On 2010-11-13, stefano franchi wrote: > --90e6ba5bba6103dafb0494f63b0c > Content-Type: text/plain; charset=ISO-8859-1 > On Wed, Nov 10, 2010 at 4:22 PM, stefano franchi > For Lyx, I used the method described in the wiki for XeTeX (define a > new pdf format, etc), and switched the bibtex processor to biber in the > preferences. > Everyone seems to strongly recommend a switch away from babel to > polyglossia (for XeTeX as well as for LuaTeX), but I didn't (nor would > I know how to do so from within LyX). No problems so far. My latest knowledge (from comp.text.tex) is that polyglossia does not work with luatex (but may be updated to do so sometimes). Babel should work with luatex as long as there is no font-encoding switch, i.e. for languages using a Latin script. Babel will switch to pre-unicode LaTeX fonts if you try it for typesetting Cyrillic or Greek. Günter
Re: Fonts in LyX (and LaTeX and TeX)
On Wed, Nov 10, 2010 at 4:22 PM, stefano franchi stefano.fran...@gmail.comwrote: On Wed, Nov 10, 2010 at 12:36 AM, Rob Oakes lyx-de...@oak-tree.us wrote: Hi Stefano, do you have any advice or pointers to sites explaining how to use margin kerning in XeTeX? The notes posted by J Kew on the mailing list and on the XeTeX wiki are way too cryptic for me. Short answer, yes. As far as I know, it hasn't yet been discussed much in the Interwebs, but there are several resources you can find on it. The place to probably start is the XeTeX Microtypography website: Hi Rob, thanks for the detailed instructions. I thought you had to set up the various microtype parameters for each font, but it turns out, as you said, that the default work reasonably well. At least with my set up (using Linux Libertine and TeX Gyre Termes). Time to start tweaking the parameters to hyphenation algorithm to make up for the lack of font expansion. Cheers, Stefano Update: I was really not that happy with the lack of font expansion in XeTeX, and decided to give LuaTeX a try. I am very happy with the results. I am using LyX 1.6.7 with TeX Live 2010 and the latest versions of LuaTex, luaotfload (the Open Type loading script for LuaTeX), microtype, biblatex 0.9 and biber 0.6beta Pagination has improved considerably out of the box, with no fiddling with its various parameters. For Lyx, I used the method described in the wiki for XeTeX (define a new pdf format, etc), and switched the bibtex processor to biber in the preferences. Everyone seems to strongly recommend a switch away from babel to polyglossia (for XeTeX as well as for LuaTeX), but I didn't (nor would I know how to do so from within LyX). No problems so far. For my current project, the main advantage of LuaTeX over XeTeX is that hyphenation is now much less common. I do not know if this is only due to font expansion or whether it is also due, perhaps, to different default parameters in the layout algorithm. Be it as it may, my book looks much better. Stefano, a very happy LuaLyXer
Re: Fonts in LyX (and LaTeX and TeX)
On Sat, 13 Nov 2010 15:52:59 -0600 stefano == stefano franchi wrote: Hiya Stefano, stefano For Lyx, I used the method described in the wiki for XeTeX stefano (define a new pdf format, etc), and switched the bibtex stefano processor to biber in the preferences. For a long time I was thinking to move to ConTeXt, but finally decided to stay with LyX/LaTeX...so seeing LyX + LuaTeX working is great news. Would you mind to add/document your 'method' to the wiki in order not to get lost in the mailing list? Sincerely, Gour -- Gour | Hlapicina, Croatia | GPG key: CDBF17CA signature.asc Description: PGP signature
Re: Fonts in LyX (and LaTeX and TeX)
On Wed, Nov 10, 2010 at 4:22 PM, stefano franchi stefano.fran...@gmail.comwrote: On Wed, Nov 10, 2010 at 12:36 AM, Rob Oakes lyx-de...@oak-tree.us wrote: Hi Stefano, do you have any advice or pointers to sites explaining how to use margin kerning in XeTeX? The notes posted by J Kew on the mailing list and on the XeTeX wiki are way too cryptic for me. Short answer, yes. As far as I know, it hasn't yet been discussed much in the Interwebs, but there are several resources you can find on it. The place to probably start is the XeTeX Microtypography website: Hi Rob, thanks for the detailed instructions. I thought you had to set up the various microtype parameters for each font, but it turns out, as you said, that the default work reasonably well. At least with my set up (using Linux Libertine and TeX Gyre Termes). Time to start tweaking the parameters to hyphenation algorithm to make up for the lack of font expansion. Cheers, Stefano Update: I was really not that happy with the lack of font expansion in XeTeX, and decided to give LuaTeX a try. I am very happy with the results. I am using LyX 1.6.7 with TeX Live 2010 and the latest versions of LuaTex, luaotfload (the Open Type loading script for LuaTeX), microtype, biblatex 0.9 and biber 0.6beta Pagination has improved considerably out of the box, with no fiddling with its various parameters. For Lyx, I used the method described in the wiki for XeTeX (define a new pdf format, etc), and switched the bibtex processor to biber in the preferences. Everyone seems to strongly recommend a switch away from babel to polyglossia (for XeTeX as well as for LuaTeX), but I didn't (nor would I know how to do so from within LyX). No problems so far. For my current project, the main advantage of LuaTeX over XeTeX is that hyphenation is now much less common. I do not know if this is only due to font expansion or whether it is also due, perhaps, to different default parameters in the layout algorithm. Be it as it may, my book looks much better. Stefano, a very happy LuaLyXer
Re: Fonts in LyX (and LaTeX and TeX)
On Sat, 13 Nov 2010 15:52:59 -0600 stefano == stefano franchi wrote: Hiya Stefano, stefano For Lyx, I used the method described in the wiki for XeTeX stefano (define a new pdf format, etc), and switched the bibtex stefano processor to biber in the preferences. For a long time I was thinking to move to ConTeXt, but finally decided to stay with LyX/LaTeX...so seeing LyX + LuaTeX working is great news. Would you mind to add/document your 'method' to the wiki in order not to get lost in the mailing list? Sincerely, Gour -- Gour | Hlapicina, Croatia | GPG key: CDBF17CA signature.asc Description: PGP signature
Re: Fonts in LyX (and LaTeX and TeX)
On Wed, Nov 10, 2010 at 4:22 PM, stefano franchiwrote: > > > On Wed, Nov 10, 2010 at 12:36 AM, Rob Oakes wrote: > >> Hi Stefano, >> >> > do you have any advice or pointers to sites explaining how to use margin >> kerning in XeTeX? The notes posted by J Kew on the mailing list and on the >> XeTeX wiki are way too cryptic for me. >> >> Short answer, yes. As far as I know, it hasn't yet been discussed much in >> the Interwebs, but there are several resources you can find on it. The >> place to probably start is the XeTeX Microtypography website: >> >> > Hi Rob, > > thanks for the detailed instructions. I thought you had to set up the > various microtype parameters for each font, but it turns out, as you said, > that the default work reasonably well. At least with my set up (using Linux > Libertine and TeX Gyre Termes). > Time to start tweaking the parameters to hyphenation algorithm to make up > for the lack of font expansion. > > Cheers, > > Stefano > > > Update: I was really not that happy with the lack of font expansion in XeTeX, and decided to give LuaTeX a try. I am very happy with the results. I am using LyX 1.6.7 with TeX Live 2010 and the latest versions of LuaTex, luaotfload (the Open Type loading script for LuaTeX), microtype, biblatex 0.9 and biber 0.6beta Pagination has improved considerably out of the box, with no fiddling with its various parameters. For Lyx, I used the method described in the wiki for XeTeX (define a new pdf format, etc), and switched the bibtex processor to biber in the preferences. Everyone seems to strongly recommend a switch away from babel to polyglossia (for XeTeX as well as for LuaTeX), but I didn't (nor would I know how to do so from within LyX). No problems so far. For my current project, the main advantage of LuaTeX over XeTeX is that hyphenation is now much less common. I do not know if this is only due to font expansion or whether it is also due, perhaps, to different default parameters in the layout algorithm. Be it as it may, my book looks much better. Stefano, a very happy LuaLyXer
Re: Fonts in LyX (and LaTeX and TeX)
On Sat, 13 Nov 2010 15:52:59 -0600 >> "stefano" == stefano franchi wrote: Hiya Stefano, stefano> For Lyx, I used the method described in the wiki for XeTeX stefano> (define a new pdf format, etc), and switched the bibtex stefano> processor to biber in the preferences. For a long time I was thinking to move to ConTeXt, but finally decided to stay with LyX/LaTeX...so seeing LyX + LuaTeX working is great news. Would you mind to add/document your 'method' to the wiki in order not to get lost in the mailing list? Sincerely, Gour -- Gour | Hlapicina, Croatia | GPG key: CDBF17CA signature.asc Description: PGP signature
Re: Fonts in LyX (and LaTeX and TeX)
On 2010-11-09, Rob Oakes wrote: On Nov 9, 2010, at 1:33 PM, Guenter Milde wrote: There is preliminary XeTeX support in the development version. Not ready for the masses. On this point, I have to disagree. Preliminary as it might be, I've found it very stable. I've been using LyX 2 for nearly a year, and have transitioned to using XeTeX for everything. And quite frankly, I have fewer problems with LyX 2 than I do with LyX 1.6. I am glad to hear this. It also explains your enthusiasm. Nevertheless: a development version is developing and hence can break your documents, stop working 3 hours before the deadline, ... Even if the second-latest snapshot worked fine. And there is a number of confirmed critical bugs that hold up the release of LyX 2. So, while I encourage people to try out LyX 2, I do not recommend it for critical work and would not call it ready for the masses. Günter
Re: Fonts in LyX (and LaTeX and TeX)
On 2010-11-09, Rob Oakes wrote: On Nov 9, 2010, at 1:33 PM, Guenter Milde wrote: There is preliminary XeTeX support in the development version. Not ready for the masses. On this point, I have to disagree. Preliminary as it might be, I've found it very stable. I've been using LyX 2 for nearly a year, and have transitioned to using XeTeX for everything. And quite frankly, I have fewer problems with LyX 2 than I do with LyX 1.6. I am glad to hear this. It also explains your enthusiasm. Nevertheless: a development version is developing and hence can break your documents, stop working 3 hours before the deadline, ... Even if the second-latest snapshot worked fine. And there is a number of confirmed critical bugs that hold up the release of LyX 2. So, while I encourage people to try out LyX 2, I do not recommend it for critical work and would not call it ready for the masses. Günter
Re: Fonts in LyX (and LaTeX and TeX)
On 2010-11-09, Rob Oakes wrote: > On Nov 9, 2010, at 1:33 PM, Guenter Milde wrote: >> There is preliminary XeTeX support in the development version. Not >> ready for the masses. > On this point, I have to disagree. > Preliminary as it might be, I've found it very stable. I've been using > LyX 2 for nearly a year, and have transitioned to using XeTeX for > everything. And quite frankly, I have fewer problems with LyX 2 than I > do with LyX 1.6. I am glad to hear this. It also explains your enthusiasm. Nevertheless: a development version is developing and hence can break your documents, stop working 3 hours before the deadline, ... Even if the second-latest snapshot worked fine. And there is a number of confirmed critical bugs that hold up the release of LyX 2. So, while I encourage people to try out LyX 2, I do not recommend it for "critical" work and would not call it "ready for the masses". Günter
Fonts in LyX (and LaTeX and TeX)
Hi all, I'm involved in an argument on another list with one of these guys who says TeX is ancient technology not fit for modern books. Obviously he's full of beans unless he's doing coffee table books, but one place where this guy's gonna thrash me is fonts. Unless I'm mistaken, fonts other than the ones packaged with your LaTeX are incredibly difficult to do in LyX/LaTeX/TeX. Is there documentation on how to take a random font and make it ready to use in LyX, LaTeX or TeX? Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: Fonts in LyX (and LaTeX and TeX)
On Tue, 9 Nov 2010 04:09:50 -0400 Steve == Steve Litt wrote: Steve Is there documentation on how to take a random font and make it Steve ready to use in LyX, LaTeX or TeX? Probably only by using XeTeX and/or LuaTeX. Otoh, once when you install fonts, that's it, while having bad typesetting engine is something which spoils the party constantly. ;) Sincerely, Gour -- Gour | Hlapicina, Croatia | GPG key: CDBF17CA signature.asc Description: PGP signature
Re: Fonts in LyX (and LaTeX and TeX)
On Tue, Nov 9, 2010 at 9:22 AM, Gour g...@atmarama.net wrote: Steve Is there documentation on how to take a random font and make it Steve ready to use in LyX, LaTeX or TeX? Probably only by using XeTeX and/or LuaTeX. So you either read the wiki regarding XeTeX in 1.6.x, or dive into the alphas or wait for 2.0. In my tests it was painless to change the documents to XeTeX and use random system fonts. Regards Liviu Otoh, once when you install fonts, that's it, while having bad typesetting engine is something which spoils the party constantly. ;) Sincerely, Gour -- Gour | Hlapicina, Croatia | GPG key: CDBF17CA -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: Fonts in LyX (and LaTeX and TeX)
On 09/11/2010 10:30 AM, Rob Oakes wrote: (Including a chapter that covers this topic in detail, amongst other things. But it isn't quite finished. And I am not sure that it will be in time for your debate. Otherwise, i would send that too. It's where the figures came from.) I find your book project very interesting as I am sure others on this list do. But I found two typos in the pdfs: In Figure 1 They also _have_ a heavier stroke and are designed to ... In Figure 2 laso - also Cheers, Julien
Re: Fonts in LyX (and LaTeX and TeX)
On 2010-11-09, Rob Oakes wrote: gonna thrash me is fonts. Unless I'm mistaken, fonts other than the = ones=20 packaged with your LaTeX are incredibly difficult to do in = LyX/LaTeX/TeX. Well, there are some more TeX-ready fonts then the ones that come packed with TeXLive or MikeTeX (also commercial ones). But for the arbitrary system font, the better option is LuaTeX or XeTeX. I would specifically focus on XeTeX. XeTeX in particular, as it uses = system fonts, supports OpenType, and is generally awesome. The newest = version (released in TeX Live 2010) even has support for microtypography = and margin kerning. TeXLive 10 now also has a workable version of LuaTeX with even better microtypography support. But in both cases this is still beta code. Especially, mikrotype does not work (yet) out-of-the-box with arbitrary fonts. Moreover, it's supported by LyX, which means advanced typography = for the masses. There is preliminary XeTeX support in the development version. Not ready for the masses. ... For long texts, with footnotes, numbered figures, tables, and other = miscellanea, the production tool to use is LaTeX. Agreed. Also, for most of these texts, there are more than enough quality free fonts available also for pure LaTeX. Günter
Re: Fonts in LyX (and LaTeX and TeX)
On Nov 9, 2010, at 1:33 PM, Guenter Milde wrote: There is preliminary XeTeX support in the development version. Not ready for the masses. On this point, I have to disagree. Preliminary as it might be, I've found it very stable. I've been using LyX 2 for nearly a year, and have transitioned to using XeTeX for everything. And quite frankly, I have fewer problems with LyX 2 than I do with LyX 1.6. The entire text for my book and innumerable articles and reports have come out of LyX 2, and while development versions some four or five months ago left much to be desired, the most recent codebase is very stable. I quite literally cannot tell you the last time it crashed on me. I so much prefer it that I will never go back to LyX 1.6. (And the copy I use has my outline bits in it, which presumably destabilize it even more.) I'm not trying to be disagreeable here, but I think you underestimate the quality of your own work. When LyX 2 is finally released, you deserve a party. LyX has gone from being a good program to being an exceptional one and I, for one, applaud you for that. Cheers, Rob
Re: Fonts in LyX (and LaTeX and TeX)
When is the Lyx 2 release party? On 11/9/2010 4:49 PM, Rob Oakes wrote: On Nov 9, 2010, at 1:33 PM, Guenter Milde wrote: There is preliminary XeTeX support in the development version. Not ready for the masses. On this point, I have to disagree. Preliminary as it might be, I've found it very stable. I've been using LyX 2 for nearly a year, and have transitioned to using XeTeX for everything. And quite frankly, I have fewer problems with LyX 2 than I do with LyX 1.6. The entire text for my book and innumerable articles and reports have come out of LyX 2, and while development versions some four or five months ago left much to be desired, the most recent codebase is very stable. I quite literally cannot tell you the last time it crashed on me. I so much prefer it that I will never go back to LyX 1.6. (And the copy I use has my outline bits in it, which presumably destabilize it even more.) I'm not trying to be disagreeable here, but I think you underestimate the quality of your own work. When LyX 2 is finally released, you deserve a party. LyX has gone from being a good program to being an exceptional one and I, for one, applaud you for that. Cheers, Rob -- Ehud Kaplan, Ph.D. Jules and Doris Stein /Research to Prevent Blindness /Professor *Director*, Center of Excellence for /Computational System neuroscience,/ The Friedman Brain Institute, MSSM *Director*, The laboratory of /Visual Computational Neuroscience/ Depts. of Neuroscience, Ophthalmology, Chemical Structural Biology The Mount Sinai School of Medicine One Gustave Levy Place New York, NY, 10029
Re: Fonts in LyX (and LaTeX and TeX)
On Tue, Nov 9, 2010 at 2:33 PM, Guenter Milde mi...@users.berlios.dewrote: On 2010-11-09, Rob Oakes wrote: I would specifically focus on XeTeX. XeTeX in particular, as it uses = system fonts, supports OpenType, and is generally awesome. The newest = version (released in TeX Live 2010) even has support for microtypography = and margin kerning. TeXLive 10 now also has a workable version of LuaTeX with even better microtypography support. But in both cases this is still beta code. Especially, mikrotype does not work (yet) out-of-the-box with arbitrary fonts. Rob, do you have any advice or pointers to sites explaining how to use margin kerning in XeTeX? The notes posted by J Kew on the mailing list and on the XeTeX wiki are way too cryptic for me. Also, am I correct in thinking that microtypography's font expansion (which greatly improves paragraph layout, in my opinion) is still not working in XeTeX? Cheers, Stefano
Re: Fonts in LyX (and LaTeX and TeX)
Hi Stefano, do you have any advice or pointers to sites explaining how to use margin kerning in XeTeX? The notes posted by J Kew on the mailing list and on the XeTeX wiki are way too cryptic for me. Short answer, yes. As far as I know, it hasn't yet been discussed much in the Interwebs, but there are several resources you can find on it. The place to probably start is the XeTeX Microtypography website: http://xetex.tk/mediawiki/index.php/Microtype_package_%28preliminary_version%29 There, you can download the latest version of the microtype package that enables margin kerning with XeTeX. To get things working correctly, you must use version 2.5 (or newer) of the package. If the manual isn't dated 11/5/2010, then you have the wrong one. The microtype distributed with TeXLive 2010 *will not work.* (And at the moment, xetex microtype is pretty limited. It's only margin kerning. Font expansion doesn't work. Yet.) After download, process the microtype.ins file with xelatex which will create the .sty files you need. xelatex microtype.ins Copy the entire directory to somewhere in your LaTeX path. Run texhash. Once you've installed the newest version of the package, you can enable microtype support by adding: \usepackage{microtype} to your preamble (see the attached sample doc). While it is possible to tweak things, it shouldn't be necessary. In fact, don't. microtype should detect which version of XeTeX you are using and enable the appropriate options. The only time I ran into problems is when I tried to tweak the settings. After that, put together a simple test document (or use mine). To see if things are working correctly, you might want to turn on the showframes option of geometry. (Test document also shows how to do this. PDF output also attached.) Please keep in mind, you must have XeTeX 0.9997.4 or higher installed for margin kerning to work. This version of XeTeX comes with TeX Live 2010. I've been playing with it on my Mac, and it's been pretty stable. As of yet, I have not looked at how hard it would be to get things up and running on Linux or Windows. On another note, in my exuberance yesterday, I might have overstated the stability of LyX, the new version of XeLaTeX and microtype. In my personal experience, it has been very, very stable. But I should probably include the requisite disclaimer: your mileage may vary. If you have any troubles or if something isn't clear, let me know. I'm off work this week to try and get the book done and will be watching the list. Cheers, Rob Attached: 1.) Sample LyX document, showing XeTeX microtype features. Requires TeX Live 2010, beta version of microtype package and beta1 of LyX to compile. 2.) Sample PDF output. TestDoc-XeTeX.pdf Description: Adobe PDF document TestDoc-XeTeX.lyx Description: Binary data
Fonts in LyX (and LaTeX and TeX)
Hi all, I'm involved in an argument on another list with one of these guys who says TeX is ancient technology not fit for modern books. Obviously he's full of beans unless he's doing coffee table books, but one place where this guy's gonna thrash me is fonts. Unless I'm mistaken, fonts other than the ones packaged with your LaTeX are incredibly difficult to do in LyX/LaTeX/TeX. Is there documentation on how to take a random font and make it ready to use in LyX, LaTeX or TeX? Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: Fonts in LyX (and LaTeX and TeX)
On Tue, 9 Nov 2010 04:09:50 -0400 Steve == Steve Litt wrote: Steve Is there documentation on how to take a random font and make it Steve ready to use in LyX, LaTeX or TeX? Probably only by using XeTeX and/or LuaTeX. Otoh, once when you install fonts, that's it, while having bad typesetting engine is something which spoils the party constantly. ;) Sincerely, Gour -- Gour | Hlapicina, Croatia | GPG key: CDBF17CA signature.asc Description: PGP signature
Re: Fonts in LyX (and LaTeX and TeX)
On Tue, Nov 9, 2010 at 9:22 AM, Gour g...@atmarama.net wrote: Steve Is there documentation on how to take a random font and make it Steve ready to use in LyX, LaTeX or TeX? Probably only by using XeTeX and/or LuaTeX. So you either read the wiki regarding XeTeX in 1.6.x, or dive into the alphas or wait for 2.0. In my tests it was painless to change the documents to XeTeX and use random system fonts. Regards Liviu Otoh, once when you install fonts, that's it, while having bad typesetting engine is something which spoils the party constantly. ;) Sincerely, Gour -- Gour | Hlapicina, Croatia | GPG key: CDBF17CA -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: Fonts in LyX (and LaTeX and TeX)
On 09/11/2010 10:30 AM, Rob Oakes wrote: (Including a chapter that covers this topic in detail, amongst other things. But it isn't quite finished. And I am not sure that it will be in time for your debate. Otherwise, i would send that too. It's where the figures came from.) I find your book project very interesting as I am sure others on this list do. But I found two typos in the pdfs: In Figure 1 They also _have_ a heavier stroke and are designed to ... In Figure 2 laso - also Cheers, Julien
Re: Fonts in LyX (and LaTeX and TeX)
On 2010-11-09, Rob Oakes wrote: gonna thrash me is fonts. Unless I'm mistaken, fonts other than the = ones=20 packaged with your LaTeX are incredibly difficult to do in = LyX/LaTeX/TeX. Well, there are some more TeX-ready fonts then the ones that come packed with TeXLive or MikeTeX (also commercial ones). But for the arbitrary system font, the better option is LuaTeX or XeTeX. I would specifically focus on XeTeX. XeTeX in particular, as it uses = system fonts, supports OpenType, and is generally awesome. The newest = version (released in TeX Live 2010) even has support for microtypography = and margin kerning. TeXLive 10 now also has a workable version of LuaTeX with even better microtypography support. But in both cases this is still beta code. Especially, mikrotype does not work (yet) out-of-the-box with arbitrary fonts. Moreover, it's supported by LyX, which means advanced typography = for the masses. There is preliminary XeTeX support in the development version. Not ready for the masses. ... For long texts, with footnotes, numbered figures, tables, and other = miscellanea, the production tool to use is LaTeX. Agreed. Also, for most of these texts, there are more than enough quality free fonts available also for pure LaTeX. Günter
Re: Fonts in LyX (and LaTeX and TeX)
On Nov 9, 2010, at 1:33 PM, Guenter Milde wrote: There is preliminary XeTeX support in the development version. Not ready for the masses. On this point, I have to disagree. Preliminary as it might be, I've found it very stable. I've been using LyX 2 for nearly a year, and have transitioned to using XeTeX for everything. And quite frankly, I have fewer problems with LyX 2 than I do with LyX 1.6. The entire text for my book and innumerable articles and reports have come out of LyX 2, and while development versions some four or five months ago left much to be desired, the most recent codebase is very stable. I quite literally cannot tell you the last time it crashed on me. I so much prefer it that I will never go back to LyX 1.6. (And the copy I use has my outline bits in it, which presumably destabilize it even more.) I'm not trying to be disagreeable here, but I think you underestimate the quality of your own work. When LyX 2 is finally released, you deserve a party. LyX has gone from being a good program to being an exceptional one and I, for one, applaud you for that. Cheers, Rob
Re: Fonts in LyX (and LaTeX and TeX)
When is the Lyx 2 release party? On 11/9/2010 4:49 PM, Rob Oakes wrote: On Nov 9, 2010, at 1:33 PM, Guenter Milde wrote: There is preliminary XeTeX support in the development version. Not ready for the masses. On this point, I have to disagree. Preliminary as it might be, I've found it very stable. I've been using LyX 2 for nearly a year, and have transitioned to using XeTeX for everything. And quite frankly, I have fewer problems with LyX 2 than I do with LyX 1.6. The entire text for my book and innumerable articles and reports have come out of LyX 2, and while development versions some four or five months ago left much to be desired, the most recent codebase is very stable. I quite literally cannot tell you the last time it crashed on me. I so much prefer it that I will never go back to LyX 1.6. (And the copy I use has my outline bits in it, which presumably destabilize it even more.) I'm not trying to be disagreeable here, but I think you underestimate the quality of your own work. When LyX 2 is finally released, you deserve a party. LyX has gone from being a good program to being an exceptional one and I, for one, applaud you for that. Cheers, Rob -- Ehud Kaplan, Ph.D. Jules and Doris Stein /Research to Prevent Blindness /Professor *Director*, Center of Excellence for /Computational System neuroscience,/ The Friedman Brain Institute, MSSM *Director*, The laboratory of /Visual Computational Neuroscience/ Depts. of Neuroscience, Ophthalmology, Chemical Structural Biology The Mount Sinai School of Medicine One Gustave Levy Place New York, NY, 10029
Re: Fonts in LyX (and LaTeX and TeX)
On Tue, Nov 9, 2010 at 2:33 PM, Guenter Milde mi...@users.berlios.dewrote: On 2010-11-09, Rob Oakes wrote: I would specifically focus on XeTeX. XeTeX in particular, as it uses = system fonts, supports OpenType, and is generally awesome. The newest = version (released in TeX Live 2010) even has support for microtypography = and margin kerning. TeXLive 10 now also has a workable version of LuaTeX with even better microtypography support. But in both cases this is still beta code. Especially, mikrotype does not work (yet) out-of-the-box with arbitrary fonts. Rob, do you have any advice or pointers to sites explaining how to use margin kerning in XeTeX? The notes posted by J Kew on the mailing list and on the XeTeX wiki are way too cryptic for me. Also, am I correct in thinking that microtypography's font expansion (which greatly improves paragraph layout, in my opinion) is still not working in XeTeX? Cheers, Stefano
Re: Fonts in LyX (and LaTeX and TeX)
Hi Stefano, do you have any advice or pointers to sites explaining how to use margin kerning in XeTeX? The notes posted by J Kew on the mailing list and on the XeTeX wiki are way too cryptic for me. Short answer, yes. As far as I know, it hasn't yet been discussed much in the Interwebs, but there are several resources you can find on it. The place to probably start is the XeTeX Microtypography website: http://xetex.tk/mediawiki/index.php/Microtype_package_%28preliminary_version%29 There, you can download the latest version of the microtype package that enables margin kerning with XeTeX. To get things working correctly, you must use version 2.5 (or newer) of the package. If the manual isn't dated 11/5/2010, then you have the wrong one. The microtype distributed with TeXLive 2010 *will not work.* (And at the moment, xetex microtype is pretty limited. It's only margin kerning. Font expansion doesn't work. Yet.) After download, process the microtype.ins file with xelatex which will create the .sty files you need. xelatex microtype.ins Copy the entire directory to somewhere in your LaTeX path. Run texhash. Once you've installed the newest version of the package, you can enable microtype support by adding: \usepackage{microtype} to your preamble (see the attached sample doc). While it is possible to tweak things, it shouldn't be necessary. In fact, don't. microtype should detect which version of XeTeX you are using and enable the appropriate options. The only time I ran into problems is when I tried to tweak the settings. After that, put together a simple test document (or use mine). To see if things are working correctly, you might want to turn on the showframes option of geometry. (Test document also shows how to do this. PDF output also attached.) Please keep in mind, you must have XeTeX 0.9997.4 or higher installed for margin kerning to work. This version of XeTeX comes with TeX Live 2010. I've been playing with it on my Mac, and it's been pretty stable. As of yet, I have not looked at how hard it would be to get things up and running on Linux or Windows. On another note, in my exuberance yesterday, I might have overstated the stability of LyX, the new version of XeLaTeX and microtype. In my personal experience, it has been very, very stable. But I should probably include the requisite disclaimer: your mileage may vary. If you have any troubles or if something isn't clear, let me know. I'm off work this week to try and get the book done and will be watching the list. Cheers, Rob Attached: 1.) Sample LyX document, showing XeTeX microtype features. Requires TeX Live 2010, beta version of microtype package and beta1 of LyX to compile. 2.) Sample PDF output. TestDoc-XeTeX.pdf Description: Adobe PDF document TestDoc-XeTeX.lyx Description: Binary data
Fonts in LyX (and LaTeX and TeX)
Hi all, I'm involved in an argument on another list with one of these guys who says TeX is ancient technology not fit for modern books. Obviously he's full of beans unless he's doing coffee table books, but one place where this guy's gonna thrash me is fonts. Unless I'm mistaken, fonts other than the ones packaged with your LaTeX are incredibly difficult to do in LyX/LaTeX/TeX. Is there documentation on how to take a random font and make it ready to use in LyX, LaTeX or TeX? Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: Fonts in LyX (and LaTeX and TeX)
On Tue, 9 Nov 2010 04:09:50 -0400 >> "Steve" == Steve Litt wrote: Steve> Is there documentation on how to take a random font and make it Steve> ready to use in LyX, LaTeX or TeX? Probably only by using XeTeX and/or LuaTeX. Otoh, once when you install fonts, that's it, while having bad typesetting engine is something which spoils the party constantly. ;) Sincerely, Gour -- Gour | Hlapicina, Croatia | GPG key: CDBF17CA signature.asc Description: PGP signature
Re: Fonts in LyX (and LaTeX and TeX)
On Tue, Nov 9, 2010 at 9:22 AM, Gourwrote: > Steve> Is there documentation on how to take a random font and make it > Steve> ready to use in LyX, LaTeX or TeX? > > Probably only by using XeTeX and/or LuaTeX. > So you either read the wiki regarding XeTeX in 1.6.x, or dive into the alphas or wait for 2.0. In my tests it was painless to change the documents to XeTeX and use random system fonts. Regards Liviu > Otoh, once when you install fonts, that's it, while having bad > typesetting engine is something which spoils the party constantly. ;) > > > Sincerely, > Gour > > -- > > Gour | Hlapicina, Croatia | GPG key: CDBF17CA > > -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: Fonts in LyX (and LaTeX and TeX)
On 09/11/2010 10:30 AM, Rob Oakes wrote: (Including a chapter that covers this topic in detail, amongst other things. But it isn't quite finished. And I am not sure that it will be in time for your debate. Otherwise, i would send that too. It's where the figures came from.) I find your book project very interesting as I am sure others on this list do. But I found two typos in the pdfs: In Figure 1 They also _have_ a heavier stroke and are designed to ... In Figure 2 laso -> also Cheers, Julien
Re: Fonts in LyX (and LaTeX and TeX)
On 2010-11-09, Rob Oakes wrote: >> gonna thrash me is fonts. Unless I'm mistaken, fonts other than the = > ones=20 >> packaged with your LaTeX are incredibly difficult to do in = > LyX/LaTeX/TeX. Well, there are some more TeX-ready fonts then the ones that come packed with TeXLive or MikeTeX (also commercial ones). But for the "arbitrary system font", the better option is LuaTeX or XeTeX. > I would specifically focus on XeTeX. XeTeX in particular, as it uses = > system fonts, supports OpenType, and is generally awesome. The newest = > version (released in TeX Live 2010) even has support for microtypography = > and margin kerning. TeXLive 10 now also has a workable version of LuaTeX with even better microtypography support. But in both cases this is still beta code. Especially, mikrotype does not work (yet) out-of-the-box with "arbitrary" fonts. > Moreover, it's supported by LyX, which means advanced typography > = for the masses. There is preliminary XeTeX support in the development version. Not ready for the masses. ... > For long texts, with footnotes, numbered figures, tables, and other = > miscellanea, the production tool to use is LaTeX. Agreed. Also, for most of these texts, there are more than enough quality free fonts available also for "pure" LaTeX. Günter
Re: Fonts in LyX (and LaTeX and TeX)
On Nov 9, 2010, at 1:33 PM, Guenter Milde wrote: > There is preliminary XeTeX support in the development version. Not > ready for the masses. On this point, I have to disagree. Preliminary as it might be, I've found it very stable. I've been using LyX 2 for nearly a year, and have transitioned to using XeTeX for everything. And quite frankly, I have fewer problems with LyX 2 than I do with LyX 1.6. The entire text for my book and innumerable articles and reports have come out of LyX 2, and while development versions some four or five months ago left much to be desired, the most recent codebase is very stable. I quite literally cannot tell you the last time it crashed on me. I so much prefer it that I will never go back to LyX 1.6. (And the copy I use has my outline bits in it, which presumably destabilize it even more.) I'm not trying to be disagreeable here, but I think you underestimate the quality of your own work. When LyX 2 is finally released, you deserve a party. LyX has gone from being a good program to being an exceptional one and I, for one, applaud you for that. Cheers, Rob
Re: Fonts in LyX (and LaTeX and TeX)
When is the Lyx 2 release party? On 11/9/2010 4:49 PM, Rob Oakes wrote: On Nov 9, 2010, at 1:33 PM, Guenter Milde wrote: There is preliminary XeTeX support in the development version. Not ready for the masses. On this point, I have to disagree. Preliminary as it might be, I've found it very stable. I've been using LyX 2 for nearly a year, and have transitioned to using XeTeX for everything. And quite frankly, I have fewer problems with LyX 2 than I do with LyX 1.6. The entire text for my book and innumerable articles and reports have come out of LyX 2, and while development versions some four or five months ago left much to be desired, the most recent codebase is very stable. I quite literally cannot tell you the last time it crashed on me. I so much prefer it that I will never go back to LyX 1.6. (And the copy I use has my outline bits in it, which presumably destabilize it even more.) I'm not trying to be disagreeable here, but I think you underestimate the quality of your own work. When LyX 2 is finally released, you deserve a party. LyX has gone from being a good program to being an exceptional one and I, for one, applaud you for that. Cheers, Rob -- Ehud Kaplan, Ph.D. Jules and Doris Stein /Research to Prevent Blindness /Professor *Director*, Center of Excellence for /Computational & System neuroscience,/ The Friedman Brain Institute, MSSM *Director*, The laboratory of /Visual & Computational Neuroscience/ Depts. of Neuroscience, Ophthalmology, Chemical & Structural Biology The Mount Sinai School of Medicine One Gustave Levy Place New York, NY, 10029
Re: Fonts in LyX (and LaTeX and TeX)
On Tue, Nov 9, 2010 at 2:33 PM, Guenter Mildewrote: > On 2010-11-09, Rob Oakes wrote: > > > I would specifically focus on XeTeX. XeTeX in particular, as it uses = > > system fonts, supports OpenType, and is generally awesome. The newest = > > version (released in TeX Live 2010) even has support for microtypography > = > > and margin kerning. > > TeXLive 10 now also has a workable version of LuaTeX with even better > microtypography support. But in both cases this is still beta code. > Especially, mikrotype does not work (yet) out-of-the-box with "arbitrary" > fonts. > > Rob, do you have any advice or pointers to sites explaining how to use margin kerning in XeTeX? The notes posted by J Kew on the mailing list and on the XeTeX wiki are way too cryptic for me. Also, am I correct in thinking that microtypography's font expansion (which greatly improves paragraph layout, in my opinion) is still not working in XeTeX? Cheers, Stefano >
Re: Fonts in LyX (and LaTeX and TeX)
Hi Stefano, > do you have any advice or pointers to sites explaining how to use margin > kerning in XeTeX? The notes posted by J Kew on the mailing list and on the > XeTeX wiki are way too cryptic for me. Short answer, yes. As far as I know, it hasn't yet been discussed much in the Interwebs, but there are several resources you can find on it. The place to probably start is the XeTeX Microtypography website: http://xetex.tk/mediawiki/index.php/Microtype_package_%28preliminary_version%29 There, you can download the latest version of the microtype package that enables margin kerning with XeTeX. To get things working correctly, you must use version 2.5 (or newer) of the package. If the manual isn't dated 11/5/2010, then you have the wrong one. The microtype distributed with TeXLive 2010 *will not work.* (And at the moment, xetex microtype is pretty limited. It's only margin kerning. Font expansion doesn't work. Yet.) After download, process the microtype.ins file with xelatex which will create the .sty files you need. xelatex microtype.ins Copy the entire directory to somewhere in your LaTeX path. Run texhash. Once you've installed the newest version of the package, you can enable microtype support by adding: \usepackage{microtype} to your preamble (see the attached sample doc). While it is possible to tweak things, it shouldn't be necessary. In fact, don't. microtype should detect which version of XeTeX you are using and enable the appropriate options. The only time I ran into problems is when I tried to tweak the settings. After that, put together a simple test document (or use mine). To see if things are working correctly, you might want to turn on the showframes option of geometry. (Test document also shows how to do this. PDF output also attached.) Please keep in mind, you must have XeTeX 0.9997.4 or higher installed for margin kerning to work. This version of XeTeX comes with TeX Live 2010. I've been playing with it on my Mac, and it's been pretty stable. As of yet, I have not looked at how hard it would be to get things up and running on Linux or Windows. On another note, in my exuberance yesterday, I might have overstated the stability of LyX, the new version of XeLaTeX and microtype. In my personal experience, it has been very, very stable. But I should probably include the requisite disclaimer: your mileage may vary. If you have any troubles or if something isn't clear, let me know. I'm off work this week to try and get the book done and will be watching the list. Cheers, Rob Attached: 1.) Sample LyX document, showing XeTeX microtype features. Requires TeX Live 2010, beta version of microtype package and beta1 of LyX to compile. 2.) Sample PDF output. TestDoc-XeTeX.pdf Description: Adobe PDF document TestDoc-XeTeX.lyx Description: Binary data
How does one use the Liberation fonts in LyX?
Hi all, How does one use the Liberation fonts in LyX? These are truetype fonts metrically identical to Microsoft's main fonts: Liberation Mono - Courier New Liberation Sans - Arial Liberation Serif - Times New Roman (http://en.wikipedia.org/wiki/Liberation_fonts) Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: How does one use the Liberation fonts in LyX?
Hi Steve, I think that you have one of two options. The first, of course is to install the fonts onto your system in the normal way and then use XeTeX to compile the document. If you choose this route, you can assign the font through the use of the \setfont macros: \setmainfont{font name}, \setsansfont{font name}, \setmonofont{font name} If using LyX 1.6.5, you will need to set up XeLaTeX to work with LyX. There is information on how to do this on the wiki. If using LyX SVN, it already has support built-in. Just go to Document Settings - Output and enable Use XeTeX. Additional information about XeLaTex and font support is available at: http://existentialtype.net/2008/07/12/fonts-in-latex-part-one-xelatex/ The alternative is to see if someone has created a font definition file. You can also create your own. Additional information about the process is available from the excellent blog, Existential Type: http://existentialtype.net/2008/07/12/fonts-in-latex-part-two-pdftex-and-opentype/ I personally prefer to go the XeLaTeX route. Since moving over to LyX SVN, I use it to compile more or less everything. While there are some packages it doesn't support (like microtype), I find that it does a good job with just about everything. I've even been able to use some of the more exotic modules (like Sweave) and classes (like Tufte) without problems. For an example output, see: http://www.oak-tree.us/stuff/LyX/Sweave-Opportunity.pdf (Aside: In the example above, using xetex allowed me to use the same typefaces that Tufte uses -- Bembo and Gil Sans -- without creating a font definition file for them -- which ranks right alongside major oral surgery on my priority list.) Cheers, Rob Oakes
How does one use the Liberation fonts in LyX?
Hi all, How does one use the Liberation fonts in LyX? These are truetype fonts metrically identical to Microsoft's main fonts: Liberation Mono - Courier New Liberation Sans - Arial Liberation Serif - Times New Roman (http://en.wikipedia.org/wiki/Liberation_fonts) Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: How does one use the Liberation fonts in LyX?
Hi Steve, I think that you have one of two options. The first, of course is to install the fonts onto your system in the normal way and then use XeTeX to compile the document. If you choose this route, you can assign the font through the use of the \setfont macros: \setmainfont{font name}, \setsansfont{font name}, \setmonofont{font name} If using LyX 1.6.5, you will need to set up XeLaTeX to work with LyX. There is information on how to do this on the wiki. If using LyX SVN, it already has support built-in. Just go to Document Settings - Output and enable Use XeTeX. Additional information about XeLaTex and font support is available at: http://existentialtype.net/2008/07/12/fonts-in-latex-part-one-xelatex/ The alternative is to see if someone has created a font definition file. You can also create your own. Additional information about the process is available from the excellent blog, Existential Type: http://existentialtype.net/2008/07/12/fonts-in-latex-part-two-pdftex-and-opentype/ I personally prefer to go the XeLaTeX route. Since moving over to LyX SVN, I use it to compile more or less everything. While there are some packages it doesn't support (like microtype), I find that it does a good job with just about everything. I've even been able to use some of the more exotic modules (like Sweave) and classes (like Tufte) without problems. For an example output, see: http://www.oak-tree.us/stuff/LyX/Sweave-Opportunity.pdf (Aside: In the example above, using xetex allowed me to use the same typefaces that Tufte uses -- Bembo and Gil Sans -- without creating a font definition file for them -- which ranks right alongside major oral surgery on my priority list.) Cheers, Rob Oakes
How does one use the Liberation fonts in LyX?
Hi all, How does one use the Liberation fonts in LyX? These are truetype fonts metrically identical to Microsoft's main fonts: Liberation Mono -> Courier New Liberation Sans -> Arial Liberation Serif -> Times New Roman (http://en.wikipedia.org/wiki/Liberation_fonts) Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: How does one use the Liberation fonts in LyX?
Hi Steve, I think that you have one of two options. The first, of course is to install the fonts onto your system in the normal way and then use XeTeX to compile the document. If you choose this route, you can assign the font through the use of the \setfont macros: \setmainfont{font name}, \setsansfont{font name}, \setmonofont{font name} If using LyX 1.6.5, you will need to set up XeLaTeX to work with LyX. There is information on how to do this on the wiki. If using LyX SVN, it already has support built-in. Just go to Document Settings -> Output and enable "Use XeTeX". Additional information about XeLaTex and font support is available at: http://existentialtype.net/2008/07/12/fonts-in-latex-part-one-xelatex/ The alternative is to see if someone has created a font definition file. You can also create your own. Additional information about the process is available from the excellent blog, Existential Type: http://existentialtype.net/2008/07/12/fonts-in-latex-part-two-pdftex-and-opentype/ I personally prefer to go the XeLaTeX route. Since moving over to LyX SVN, I use it to compile more or less everything. While there are some packages it doesn't support (like microtype), I find that it does a good job with just about everything. I've even been able to use some of the more exotic modules (like Sweave) and classes (like Tufte) without problems. For an example output, see: http://www.oak-tree.us/stuff/LyX/Sweave-Opportunity.pdf (Aside: In the example above, using xetex allowed me to use the same typefaces that Tufte uses -- Bembo and Gil Sans -- without creating a font definition file for them -- which ranks right alongside major oral surgery on my priority list.) Cheers, Rob Oakes
Re: Greek Fonts in LyX - Günter Milde
On 2009-12-01, Brian Bosse wrote: Here is one example. When I paste an copy the Greek Unicode text from = the =E2=80=9CAncient Greek=E2=80=9D entry on Wikipedia, the grave = accents and the circumflex simply show up as a box in LyX The accents or characters with accents? You need a screen-font that supports the Greek extended characters. Both, Plato and Homer work fine here with LyX 1.6.4 and the DejaVu fonts. and then when = I go to export it to PDF or use the DVI I get the following error = message=E2=80=A6 Could not find LaTeX command for character '=E1=BD=B0' (code point = 0x1f70) I had to realize that the Greek-extended patch is not yet in 1.6.4. So either you * wait for 1.6.5 * copy the file unicodesymbols from the system LYXDIR to your personal lyx-dir (~/.lyx in Unix) and apply the patch http://www.lyx.org/trac/attachment/ticket/4997/unicodesymbols-greek-extended-charxxx.patch * set the language to polytonic greek and the encoding to utf8x (see http://www.mail-archive.com/lyx-users@lists.lyx.org/msg72834.html) Some characters of your document are probably not representable in the = chosen encoding. Changing the document encoding to utf8 could help. This is a misleading hint. Changing to utf8 will almost never help in this case, as fontencs' utf8 supports only a small subset of UTF-8 characters (far less than LyX itself). Instead, utf8x should be used: DocumentSettings Language Encoding [x] Other: Unicode (ucs-enhanced) (utf8x) Günter
Re: Greek Fonts in LyX - Günter Milde
On 2009-12-01, Brian Bosse wrote: Here is one example. When I paste an copy the Greek Unicode text from = the =E2=80=9CAncient Greek=E2=80=9D entry on Wikipedia, the grave = accents and the circumflex simply show up as a box in LyX The accents or characters with accents? You need a screen-font that supports the Greek extended characters. Both, Plato and Homer work fine here with LyX 1.6.4 and the DejaVu fonts. and then when = I go to export it to PDF or use the DVI I get the following error = message=E2=80=A6 Could not find LaTeX command for character '=E1=BD=B0' (code point = 0x1f70) I had to realize that the Greek-extended patch is not yet in 1.6.4. So either you * wait for 1.6.5 * copy the file unicodesymbols from the system LYXDIR to your personal lyx-dir (~/.lyx in Unix) and apply the patch http://www.lyx.org/trac/attachment/ticket/4997/unicodesymbols-greek-extended-charxxx.patch * set the language to polytonic greek and the encoding to utf8x (see http://www.mail-archive.com/lyx-users@lists.lyx.org/msg72834.html) Some characters of your document are probably not representable in the = chosen encoding. Changing the document encoding to utf8 could help. This is a misleading hint. Changing to utf8 will almost never help in this case, as fontencs' utf8 supports only a small subset of UTF-8 characters (far less than LyX itself). Instead, utf8x should be used: DocumentSettings Language Encoding [x] Other: Unicode (ucs-enhanced) (utf8x) Günter
Re: Greek Fonts in LyX - Günter Milde
On 2009-12-01, Brian Bosse wrote: > Here is one example. When I paste an copy the Greek Unicode text from = > the =E2=80=9CAncient Greek=E2=80=9D entry on Wikipedia, the grave = > accents and the circumflex simply show up as a box in LyX The accents or characters with accents? You need a screen-font that supports the Greek extended characters. Both, Plato and Homer work fine here with LyX 1.6.4 and the DejaVu fonts. > and then when = I go to export it to PDF or use the DVI I get the > following error = message=E2=80=A6 > Could not find LaTeX command for character '=E1=BD=B0' (code point = > 0x1f70) I had to realize that the Greek-extended patch is not yet in 1.6.4. So either you * wait for 1.6.5 * copy the file unicodesymbols from the system LYXDIR to your personal lyx-dir (~/.lyx in Unix) and apply the patch http://www.lyx.org/trac/attachment/ticket/4997/unicodesymbols-greek-extended-charxxx.patch * set the language to polytonic greek and the encoding to utf8x (see http://www.mail-archive.com/lyx-users@lists.lyx.org/msg72834.html) > Some characters of your document are probably not representable in the = > chosen encoding. > Changing the document encoding to utf8 could help. This is a misleading hint. Changing to utf8 will almost never help in this case, as fontencs' utf8 supports only a small subset of UTF-8 characters (far less than LyX itself). Instead, utf8x should be used: Document>Settings Language Encoding [x] Other: Unicode (ucs-enhanced) (utf8x) Günter