Re: Phantom spaces
On Nov 11, 2009, at 10:40 AM, Steve Litt wrote: What are some of the situations in which you might want to use phantoms. The whole concept sounds so Geeky I want to use them, but can't figure out a situation that calls for them. If memory serves, Peter Wilson's memoir manual has an example of using hphantom in a verse environment. William -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow.
Re: Tip: How to type degree symbol in Windows using the numeric key pad
On Jul 30, 2009, at 4:22 AM, Christian Ridderström wrote: Caveat: There might be drawbacks with this method that I haven't tested, and it would be much nicer if I had the equivalent of a Compose-key in Windows. Interestingly, one of the earliest utilities for Windows was DEC's COMPOSE.EXE which emulated the Compose key on their dedicated word processing equipment. Unfortunately, Microsoft broke it sometime during the Windows 95 beta. There is a free successor, ``AllChars'', now available at: http://allchars.zwolnet.com/ William -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow.
Re: RPG Manual with Lyx?
Luca De Marini wrote: An RPG manual is something way more elaborated. Well, that depends on the manual. FWIW, Columbia Games used to produce all of their books using TeX --- they had very high production values even using lovely textured stock and sepia coloured ink (until someone whined and they quit doing so). William -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow.
Re: Experience using XeTeX with XeTeX?
On Oct 9, 2008, at 5:37 AM, Charles de Miramon wrote: I would rather have one stable and solid LyX Way (unicode + xetex (and in the future luatex) + opentype) and a possibility to export pdflatex code for special reasons (like microtypography). Well, in the meanwhile one could use the hanging package to get hanging punctuation --- not quite as configurable as microtype, but it could be pretty easily built into LyX I'd think --- just enable a way to define styles to also be hanging environments. William -- William Adams senior graphic designer Fry Communications
Re: Generating PDF/A from LyX/LaTeX
On Sep 12, 2008, at 11:11 AM, Ernesto Posse wrote: The files do open in PDF/A mode, but when I run preflight on them I get this: Preflight errors from Untitled-ps.pdf Syntax problem: Stream dictionary improperly formatted Width information for glyphs is inconsistent (1 match on 1 page) Untitled-pdflatex.pdf Device process color used but no PDF/A OutputIntent (1 match on 1 page) XMP property not predefined and no extension schema present When I preflight the two documents using: Advanced | Preflight | PDF/A compliance | Verify compliance with PDF/ A-1b | Execute I get ``No problems found'' when using Adobe Acrobat Professional 8 --- I'm going to d/l the demo for v9, but I really think either Acrobat on your machine or Acrobat on Windows is broken. William -- William Adams senior graphic designer Fry Communications
Re: Full colour book
On Sep 12, 2008, at 7:23 AM, christiaan pauw wrote: I have written a large technical report with LyX and now the project sponsor wants to publish it as a book. The format they are thinking about should be very visual with a lot of photos as backdrop to the pages and things like that. Tough to do in LaTeX, but doable. I have approached a publisher that wants to do it in some DTP program. They see all my beautiful LateX as an obstacle. Well, you could just provided them w/ a tagged text dump --- pretty straightforward search-replace between the two. Ask them for a compleat example markup using Quark XPress Tags or Adobe Tagged Text and match that if you want to go that route. They are going to be very expensive (for example $3000 for indexing). Not a bad price for an index, and well-worth it for a professionally done index. See if you can find an indexer willing to do an embedded index in your LaTeX files though if you go that route. Does anyone have experience or examples of an more popular "eye candy" approach to publishing with LyX/LaTeX. Some examples of this sort of thing in the TeX Showcase. The big thing is that the image files have to be properly processed in advance, then make the pdf files w/ appropriate pre-press settings (embed all fonts). The difficult thing is getting a nice design done --- w/ a good book design it's just an implementation detail doing the paging in Quark, InDesign or LaTeX. William -- William Adams senior graphic designer Fry Communications
Re: Generating PDF/A from LyX/LaTeX
On Sep 11, 2008, at 9:55 AM, Ernesto Posse wrote: No, it still doesn't work (either through pdflatex or dvips + ps2pdf or dvips + distiller). Did you use the PDF/A-1b:2005 (CMYK) setting in Acrobat Distiller? I tried this w/ a .ps from dvips and it opened in PDF/A mode. If I follow your instructions literally, using pdflatex, opening in Acrobat and saving as PDF/A, Acrobat complains and tells me to use preflight first. It shouldn't. You should save as PDF/A-1b, quit, then re-open the document. This should open it in PDF/A mode. I do so, but this time (from the pdflatex generated file) I get a different error: "XMP property neither predefine nor defined in extension schema". Strange. Can't find that error anywhere (even after adding the ``d'' after predefine). Could it be a problem with this version of Acrobat, maybe? (I'm using Acrobat 9 Pro on Vista + MiKTeK 2.6) Well, your minimal example works w/ Adobe Acrobat 8 Professional on Mac OS X Leopard using MacTeX. I seem to recall your having mentioned files created by Adobe Acrobat not working either --- perhaps the problem is in your Acrobat installation? Have you tried d/l'ing a PDF/A document from somewhere and testing it? I directly sent you files which I made w/ dvips/Acrobat and pdflatex --- if they don't read as PDF/A on your Acrobat, it's broken. PS: I'm not sure how the hyperref package could help, as the document doesn't have any hyperrefs; even the minimal file I posted earlier fails... The hyperref package now has an option which will tag text so that one could use a PDF/A standard other than PDF/A-1b (which is for untagged text). William -- William Adams senior graphic designer Fry Communications
Re: Generating PDF/A from LyX/LaTeX
On Sep 10, 2008, at 7:23 AM, William Adams wrote: Or switch to using pdflatex. Also, Martin Heller mentioned on texhax that the hyperref package as a pdfa option which may help as well. William -- William Adams senior graphic designer Fry Communications
Re: Generating PDF/A from LyX/LaTeX
On Sep 10, 2008, at 2:48 AM, G. Milde wrote: Maybe it's a font issue (the validator not knowing the CM latex fonts)? Nope. I used Ernesto's example file w/ pdflatex and it worked as I described. The problem would seem to be w/ the .pdf generated by Ghostscript since he's using dvips. So prefix it w/ the following step: - take the source .ps file from dvips and distill it in Adobe Acrobat Distiller (instead of Ghostscript --- there should be an option to save a copy of the .ps) using the appropriate .joboptions file which matches your colour model (e.g., PDF/A-1b:2005 (CMYK) Or switch to using pdflatex. William -- William Adams senior graphic designer Fry Communications
Re: Generating PDF/A from LyX/LaTeX
On Sep 9, 2008, at 12:54 PM, Ernesto Posse wrote: Has anyone succeeded in producing a PDF/A file (PDF for archival) from LyX/LaTeX? I've tried tools that claim to generate PDF/A from PostScript files or PDF files (both for Windows and Linux) but I haven't been successful in generating a file which is considered PDF/A compliant by at least two different validators, even with the following minimal file (in LaTeX) via dvips: Since pdflatex can't insert .pdf tags (or is there a package for this?), you need to certify against pdf/A-1b: - Open the file in Adobe Acrobat - Save File As and choose as Format: PDF/A - choose pdf/a-1b in the pop-up - quit Acrobat - re-open the file - preflight (successfully) as PDF/A-1b William -- William Adams senior graphic designer Fry Communications
Re: Times Roman vs Latin Modern Roman Font
On Aug 29, 2008, at 6:30 AM, G. Milde wrote: There is no Palatino Sans Actually, the new Palatino Nova family introduces Palatino Sans and Palatino Sans Informal: http://www.linotype.com/2567/palatinonova.html William -- William Adams senior graphic designer Fry Communications
Fwd: Times Roman vs Latin Modern Roman Font
Eventually, I'll get in the habit of checking the distribution before clicking ``Send'' Begin forwarded message: On Aug 27, 2008, at 10:27 AM, Bruce Pourciau wrote: Palatino, for example, was designed by Herman Zapf, one of the great type designers, and it is available (in LyX document settings) with small caps, old style numerals, and mathematical symbols that blend. For Times there's also mathptmx which is quite usable, as well as the nascent Stix fonts http://www.stixfonts.org/ or MathTime Professional which is well worth the investment if one needs it but can't wait for Stix. -- William Adams senior graphic designer Fry Communications
Fwd: Times Roman vs Latin Modern Roman Font
I'd thought this had gone to the list Begin forwarded message: On Aug 27, 2008, at 9:44 AM, Les Denham wrote: However, most people are very much used to Times Roman (and its clones, such as Times New Roman) \begin{typographichistorynitpicking} Actually, Monotype's Times New Roman is the original, while Linotype's Times Roman is the clone --- see Walter Tracy's _Letters of Credit_ for the beginnings of the back story on this and an article in APHA's journal (sorry, can't recall the details) for the balance of what's been made known beyond the ``gentlemen's agreement'' to hide the back room dealings. \end{typographichistorynitpicking} -- William Adams senior graphic designer Fry Communications
Re: [texhax] Designing books with LaTeX
On Jun 4, 2008, at 3:46 PM, Stacy Claxton wrote: I am familiar with LaTeX and have used it in the past to enter data and equations into a mathematical textbook. I have now been asked to create a design for a book. I know this involves using classes and packages, but I am not familiar with these. I have searched online documentation and have found vague references to designing your own class, usually with only some caution that it "is not a straightforward task, and is often best left to the professionals" or "typically involves a lot of work that is essentially programming and thus does not live easily with the declarative kind of design specification for a document (or range of documents) that would be produced by a professional typographic designer" or "although some parameters can be adjusted within a predefined document layout, the design of a whole new layout is difficult and takes a lot of time" (there's a footnote here suggesting that this is being addressed in the LaTeX3 system?). This does not sound promising. I am a typesetter (I work in publishing and am very familiar with Quark and InDesign) but have no experience with design in LaTeX. Nor do I have extensive programming experience. How difficult would it be to learn how to use classes and packages to come up with a design? And how would I go about learning how to do this? Any feedback or suggested resources would be greatly appreciated. Agree w/ Andy and Lars recommendation of Memoir. The thing that I'd suggest in addition to this is that you work up your design as a package (so after reading an introduction to LaTeX (_The Not So Short Guide_ available at: http://www.ctan.org/tex-archive/info/gentle/gentle.pdf) and the Memoir manual you'll also want to read the class guide: http://www.latex-project.org/guides/clsguide.pdf and you should probably also get _The LaTeX Companion 2nd Ed._). Also create a pair of packages one of which will include macros for all typographic tweaks, the other of which includes definitions of them which do nothing --- send authors the latter when returning a manuscript. You'll also likely want to configure fonts, for which your best option is probably XeTeX (you'll be using it w/ LaTeX macros so it'll be xelatex) and Will Robertson's nifty FontSpec package http://www.tug.org/texlive/Contents/live/texmf-dist/doc/xelatex/fontspec/ though Philipp Lehman's Font Installation Guide is a wonderful document and essential if you'll need to use pdflatex and Type 1 fonts. Useful links to documentation: http://members.aol.com/willadams/books-e-tex.html (my own list of free references for LaTeX) http://www.latex-project.org/guides/ William -- William Adams senior graphic designer Fry Communications
Sumatra PDF 0.8.1 (for Windows) w/ reload and tex integration now available
at: http://blog.kowalczyk.info/software/sumatrapdf/ release notes here: http://blog.kowalczyk.info/forum_sumatra/topic.php?TopicId=886&Posts=8 My thanks to William Blum and Krzysztof Kowalczyk and everyone else who has worked on it. Not sure if the pdfsync functionality will work w/ LyX or no, but if it could be made to, that'd be fabulous. William -- William Adams senior graphic designer Fry Communications
Re: how can I adapt documents for LARGE PRINT versions?
On May 1, 2008, at 12:05 PM, Joe(theWordy)Philbrook wrote: But since the maximum base size is only 12 pts, I gotta ask if I'm missing some obvious technique to easily convert a document for a large print edition without micro managing or losing all the relative font sizes??? Peter Wilson's Memoir documentclass has support for up to 17 pt. type. It also has support for a number of different pagesizes (as well as the ability to define them pretty easily) --- using b5, making a .pdf and using Acrobat's ability to scale .pdfs for display on-screen or print will get one quite large type. William -- William Adams senior graphic designer Fry Communications
Re: Input Documents on the same page
On Mar 4, 2008, at 2:05 PM, NicoWinger wrote: short question: Is it possible to insert lyx-files ("include") without inserting a pagebreak automatically? Not really, because of the need to support ``includeonly'' And by the way: What is the diffence between "include" and "input"? The former is the LaTeX command, w/ explicit support for nifty features, the latter is the Plain TeX command which simply switches which file text is coming from. See this thread for more details: http://groups.google.com/group/comp.text.tex/browse_frm/thread/8ba81ea8ff536ae4/2d28ab8d1562e06d William -- William Adams senior graphic designer Fry Communications
Re: Alt-space on Windows?
On Jan 10, 2008, at 2:48 AM, [EMAIL PROTECTED] wrote: Btw, using keyboard shortcuts when demonstrating LyX turned out to be non-ideal because the person watching wasn't able to follow - it's too fast. A somewhat crazy idea for a demonstration mode LyX could be to have some kind of log window open that lists what you have been done. (Corresponding LFUN and keyboard shortcut?). When I used to teach people how to use FreeHand, I would go through steps at full speed, both as an example of how quickly things could be done, and 'cause I found it difficult to do repetitive tasks slowly, then, undo back to the beginning (FH allowed one to set undo levels up to 100) and step through so that I could explain things slowly. William -- William Adams senior graphic designer Fry Communications
The Stix Unicode math fonts are available in beta
http://www.stixfonts.org/ Has there been any thought to using these for display of math in LyX? William -- William Adams senior graphic designer Fry Communications
Re: Conditional resize of picture
On Oct 23, 2007, at 12:47 AM, Rudi van der Linde wrote: Is it possible to resize a picture only if it is larger than a predetermined size? I am automatically generating a LyX document from a database and it is therefore not possible for me to know the size of the pictures beforehand. I would like LyX to automatically reduce the size of the picture if it won't fit on the page. I was wondering if LyX is able to do the equivalent of the following ImageMagick command: "convert -resize "640x480>" picture.png" While LaTeX won't resample an image (which is a good thing) one can pull in a picture, measure it and then act contextually on said measurement --- a co-worker wrote up macros which did this in a book I did at a previous job. http://www.atlis.com/services/composition/samples/TeX%20Sample% 20Pages/sandefur-C01-lw-1--3.pdf Figures were placed across the marginal notes column if they were wider than the text column. The basic technique is: - insert the graphic into a box - measure the box - do an if then on the measurement of the box, re-using it if desired (which is slightly more efficient) William -- William Adams senior graphic designer Fry Communications
Re: Lines and decorative separations
On Oct 12, 2007, at 4:24 AM, Donn wrote: 1. Draw horizontal lines that are of varying lengths and thickness. Also, perhaps some decorative lines, like double lines with a thin part and a thick part under it. These are called ``rules'' in printer's parlance. Some dingbats / ornaments can be used as such as well, so check out ornament fonts. 2. Decorative separators between paragraphs, sections or on-demand. You know the kind of thing, three stars or a leaf to break/mark spaces between things? Memoir has explicit support for these, see ``plainfancybreak'' in the manual. William -- William Adams senior graphic designer Fry Communications
Re: [OT] Programmatically Creating a LaTeX Document
On Oct 10, 2007, at 12:15 PM, Todd Denniston wrote: I have done such a beast, therefore it can be done. :) Me too! My approach was a bit different though --- I templated a bunch of buttons using Runtime Revolution (a HyperCard clone) which were then output into a text file concatenated along w/ the content of various text fields. The commands either set the output, or re-defined other commands --- worked out quite nicely, allowing people to set telephone line ads w/ a fair bit of flexibility (the system was later up-dated to be server-driven w/ a .html JavaScript front-end). William -- William Adams senior graphic designer Fry Communications
Re: MS Word to LyX?
On Sep 4, 2007, at 2:07 PM, Steve Litt wrote: I have another idea. I could write a series of Word macros to find styles and write their names as tags within the text. Then export as text, write a Ruby parser, and convert to LyX. Only thing is, I don't know if I can write the word macros to do that. Any of you know of online documentation on writing fairly complex word macros? I've got MS Word 97 IIRC. Actually, it's fairly simple. Here's a bit of WordBASIC which I found very useful when doing something similar: http://groups.google.com/group/adobe.scripting.indesign/msg/ 4da089d8e1739be1' If you handle special characters and character styles by search- replacing them first, then apply the above code suitably adapted to your needs I believe you'll be all set. William -- William Adams senior graphic designer Fry Communications
Re: Tables without oldstylenums
On Aug 31, 2007, at 7:06 AM, Niklas Huldén wrote: I have a lengthy (300 p) humanistic manuscript and have enabled \usepackage[osf]mathpazo as to get oldstyle figures across the whole document. However, I also have 50+ tables and if I've understood correctly one should not use oldstylenums except in the main text body. Why? Is there any way to exclude these table floats from the generic option. I could of course mark every number in every table float as "math mode" but that would seem to be a lengthy operation, as would indeed be replacing all numbers in the text with ERT. Any suggestions? You should be able to set up a redefinition of the font / encoding so that lining figures are used, but again, why? So long as things line up decently (I forget if the oldstyle figures in mathpazo are proportional or lining) things should be fine. Charles Babbage (among others) advocated strongly for the additional differentiation which osf provide in tabular material. William -- William Adams senior graphic designer Fry Communications
Re: Self-publishing with LyX
Mostly this is commentary on the default LaTeX settings, but more feedback: - pg. xvi should be truly blank (no need for a folio) --- ditto for xviii &c. - Synch .pdf page numbers w/ those used in the text --- either re- set the page numbering so that roman numerals are used for the pdf page numbering, or since it's only going to be electronically set from an entire file, renumber using Arabic numerals from the beginning --- this latter would mean that Chapter 1 would start on pg. 21 - pg. 1 --- ``If you sent it to a professional publisher, and if it were accepted for publication, it would be edited by a professional editor, made into a book by a professional designer and set into type by a professional typesetter.'' I'd say ``...designed by a professional book designer...'' instead --- in general, they don't make books, only a layout sample and a set of specifications. - pg. 2 --- the quote block has an overfull first line --- set it w/ no indent? - pg. 3 --- _four_ hyphens in a row! Set the quoted material smaller or don't indent it so much - pg. 4 --- I know some professionals who do enjoy indexing - pg. 6 & 7 --- list separated from preceding text --- run chapter (or preceding spread) short or make other adjustment to get at least two lines from pg. 6 onto pg. 7 - pg. 15 --- two word stack on lines 7 and 8 - pgs. 18 & 19 --- don't allow a colon to fall at the bottom of a page, separated from the material it precedes - pg. 24 --- Figure captions are indistinguishable from text --- set them off somehow - pg. 25 --- I strongly disagree w/ the recommendation to resample screen graphics --- see previous discussion on this list - pg. 28 --- use typographer's, not shilling fraction - pg. 28 --- don't break between page number and identifier ``page~ \pageref{whatever} - pg. 29 --- please don't overbox tables --- see the booktabs documentation for a discussion of this and a good toolkit for setting nice tables. - pg. 30 --- please have at least 6 or 7 lines on the last page --- run the chapter short by a line, or the previous spread long to fix this - pg. 41 --- (and elsewhere) don't allow a figure to float on a page like that --- tighten up the preceding text or slightly adjust the figures to make them fit where they fall. Throughout: - use pdftex and the microtype package and hanging punctuation? - clean up the edges of your screen grabs --- the first one has a black line to the left, others don't - spreads don't cross-align --- why not? - don't allow the last line of a paragraph to be only one word, esp. a word shorter than the paragraph indent (e.g., ``it'' on pg. 19) --- don't hyphenate the penultimate line of a paragraph (pg. 21) Using memoir would fix some of the above, but a lot of it would have to be done by hand. William -- William Adams senior graphic designer Fry Communications
Re: question about XeTex, ConTeXt and others
On Aug 22, 2007, at 12:54 PM, Nick and Anne Hopton wrote: One other question about XeTeX, will it happily co-exist on the same XP machine as MikTeX? Yes. I use the w32tex install in addition to MikTeX and it works fine (MikTeX was installed first, so comes before w32tex in the path statements, so MikTeX gets used in preference to w32tex, but xetex gets used from w32tex 'cause it's not present in MikTeX). There're also instructions on ``How to use XeTeX for W32 on Web2C- based TeX distribution other than W32TeX'' --- I think those would work w/ MikTeX, but haven't investigated, since I already had w32tex set up. William -- William Adams senior graphic designer Fry Communications
Re: question about XeTex, ConTeXt and others
On Aug 21, 2007, at 5:46 PM, Marcelo Acuña wrote: I download from xetex site rpm with bin and with sources. None work. In that case, I'd suggest joining the xetex mailing list: http://tug.org/mailman/listinfo/xetex Or you could try TeXlive which now includes xetex. William -- William Adams senior graphic designer Fry Communications
Re: question about XeTex, ConTeXt and others
On Aug 15, 2007, at 5:02 PM, Marcelo Acuña wrote: How I can get xelatex? I can´t see any package with this name in CTAN. It's not a package, but a binary format of the latex macros processed by XeTeX which is loaded by xetex. http://scripts.sil.org/xetex This site give to me rpm´s for suse (I have opensuse 10.2) that no work at all. I'm afraid my usage of Linux is pretty limited. Have you tried using svn to d/l the source and compile that? or http://www.fsci.fuk.kindai.ac.jp/kakuto/win32-ptex/web2c75-e.html will allow you to download and install xetex which will include xelatex. Thanks. I will try with last site. I'm afraid that last is for Windows (didn't realise you were on Linux) William -- William Adams senior graphic designer Fry Communications
Re: question about XeTex, ConTeXt and others
On Aug 14, 2007, at 4:15 PM, Marcelo Acuña wrote: How I can get xelatex? I can´t see any package with this name in CTAN. It's not a package, but a binary format of the latex macros processed by XeTeX which is loaded by xetex. http://scripts.sil.org/xetex or http://www.fsci.fuk.kindai.ac.jp/kakuto/win32-ptex/web2c75-e.html will allow you to download and install xetex which will include xelatex. William -- William Adams senior graphic designer Fry Communications
Re: Improving images for printing?
On Aug 13, 2007, at 11:00 PM, Jeremy C. Reed wrote: I couldn't figure out how to get the resolution to change without also changing my width and height. Thanks for telling me "None" as that appears to work for me. Also I use the GIMP to save it in the exact size I want so I don't have to scale using \includegraphics[scale=a.bc]. I am saving as PNG images. My final book PDF is probably going to grow from less than 10MB to over 100MB due to the new PNGs, but I think my printer will accept that. Actually, you'll get better quality if you _don't_ resample the images, but instead, merely set them to the desired physical print size. Turning on the direct interpolation key when saving them as a .eps or .pdf will help w/ some RIPs as well, but I don't know if GIMP can do that. At any rate, you'll need to tell the printer that they should accept the probably low-resolution images That said, the best option is re-creating or re-drawing the screengrabs so that they're resolution independent or can be rendered / scanned at print resolution --- Michael Harvey did the latter for his book _Creative Lettering_. William -- William Adams senior graphic designer Fry Communications
Re: question about XeTex, ConTeXt and others
On Aug 12, 2007, at 11:12 AM, Marcelo Acuña wrote: I am interested in XeTeX because it promise easy "font handling which allows the usage of TrueType and OpenType fonts". It delivers too. Add new fonts for Latex and Lyx is very dificult for me. I don´t understand instrucction for it. For me instruction look like a hot hell. It's not that bad, once one wraps one's mind around what needs to be done and why. XeTeX is a much better option though as I alluded to in my TUG2003 paper: http://www.tug.org/TUGboat/Articles/tb24-2/tb77adams.pdf There've been some articles on using LyX w/ xetex in TUGboat if memory serves. XeTeX work with Lyx? W/ xelatex, yes. You do need to be careful of which packages are used (babel in particular is awkward), but for the most part, xetex is a drop-in replacement for tex, and xelatex is a straight-forward usage of LaTeX. Here's a page w/ specific instructions: http://wiki.lyx.org/Mac/XeTeX (which need to be up-dated re: LyX handling UTF8 if I understand the new features of LyX v1.5) William -- William Adams senior graphic designer Fry Communications
Re: LaTeX question
On Jul 17, 2007, at 5:03 PM, Hellmut Weber wrote: AS LONG AS you don't have "illegal" cahrs in your path (Like '_' which I use quite a lot. Does anybody know how to modify TeX strings as 'Test_01' to 'Test \_01', i.e. escape the illegal chars with a backslash. I'm sure it is possible but my TeX knowledge is not sufficient. Change the catcode so that underscore is treated as a letter instead: \catcode`\_=12\relax should do it. Since you're at the end of a document no need to restore it I think, but if you wish to, doing so is left as an exercise for the reader. William -- William Adams senior graphic designer Fry Communications
Re: Hyphenation across pages
On Jul 6, 2007, at 6:23 AM, Tom Schlangen wrote: in a large text using document class "book (koma-script"), I noticed automatic hyphenations being done across pages, which I doubt is correct behaviour according to typesetting rules. At least, it looks very ugly. In the Lyx manual it is mentioned that the auto-hyphenation actually is done by Latex (in my case: MikTex, Windows version, at current patchlevel) according to language rules (which I did set accordingly). Is there a chance to influence/forbid cross-page hyphenation by means of the LyX frontend, or is this just a MikTeX bug? Not a bug, an intractable problem. It can be addressed to some extent by setting \brokenpenalty=1 but that won't persuade LaTeX to re-flow the paragraph, but will carry the offending line to the next page, which depending on available glue and the flexibility of the page layout (esp. whether or \raggedbottom is in effect) and your expectations (do you want spreads to cross-align, how many lines short can one make pages run &c.) may not work out. Normally this sort of thing is addressed as one of the final typographic adjustments (prevent the hyphenation by \mbox'ing the text, re-run LaTeX, see if the paragraph gained or lost a line, adjust if need be (\looseness+/-1), see if some other bad hyphenation appeared, repeat until the page comes out as desired). Ages ago, when I was [EMAIL PROTECTED] I posted a lengthy description of my process for this sort of thing to the Typo-L mailing list --- mostly common-sense derived from experience you might find it useful to save you from some working at cross-purposes. William -- William Adams senior graphic designer Fry Communications
Re: book class
On Jun 26, 2007, at 8:58 PM, reed wrote: What would be a good latex class for writing books and how do I add it to lyx? Jeremy's suggestion of koma-script is good, esp. if you're in Europe or want to use European typographic standards. In the U.S., or if you want to use American style settings, or if your English is better than your German (or whatever other languages the koma-script docs have been translated to by native speakers) you may find Memoir a good choice. William -- William Adams senior graphic designer Fry Communications
Re: Problem with PDF output with different pdf reader.
On Jun 14, 2007, at 9:38 AM, Jeremy C. Reed wrote: On Thu, 14 Jun 2007, William Adams wrote: Most pdf viewers will maintain a file lock which will prevent the file from being over-written. What ones? But now I read that Adobe reader locks files. (I don't use Adobe.) So I guess the solution is not to use Adobe :) ``Most pdf viewers'' was probably a bit strong --- probably should've said something like, ``The most commonly used pdf viewer, Adobe Acrobat (and probably others, incl. apparently PDF-Viewer)'' As Alan noted, SumatraPDF is one Windows viewer which doesn't --- one can also work around this by viewing the local .pdf using the Acrobat pdf plug-in in a web-browser and re-loading it. Unfortunately SumatraPDF doesn't handle certain unusual .pdf sizes well and doesn't handle noticing the overwriting and reloading automatically as Helge notes is highly desirable. It also opens a new instance of itself when re-invoked --- I handle this by just always closing it when switching back to an editor. William -- William Adams senior graphic designer Fry Communications
Re: Problem with PDF output with different pdf reader.
On Jun 14, 2007, at 8:29 AM, Steve Litt wrote: I can't imagine how using a different reader would prevent LyX from creating a pdf. That would be like being blind preventing the sun from rising. I'd suggest you perform an ls command to find the PDF. If there's really no PDF, it's almost certainly not due to the PDF reader -- it's probably due to a problem in the document. Try the following: Most pdf viewers will maintain a file lock which will prevent the file from being over-written. William -- William Adams senior graphic designer Fry Communications
Re: Plug for "TeX For the Impatient"
On Jun 2, 2007, at 4:58 PM, Alan G Isaac wrote: And you can use $$ f(x) = x^{2} $$ in LaTeX if you want, even if \[ f(x) = x^{2} \] or \begin{equation*} f(x) = x^{2} \end{equation*} are more idiomatic. (The last assumes the amsmath package is loaded.) 'cept that the $$...$$ is deprecated and will _not_ respect things like equation alignment. \documentclass[fleqn]{article} \usepackage{amsmath} \begin{document} This is a the LaTeX way: \[a^2 + b^2 = c^2\] Plain TeX form doesn't work: $$a^2 + b^2 = c^2$$ \end{document} While I too, really like _TeX for the Impatient_, it, like all Plain TeX references has to be looked at as documentation for the programmatic underpinnings of LaTeX and used in concert w/ an understanding of the LaTeX2e source so as to avoid strange interactions and difficulties. William -- William Adams senior graphic designer Fry Communications
Re: Re[2]: Fully contained lyx + miktex distribution!
On May 24, 2007, at 12:07 AM, Alan G Isaac wrote: On Mon, 21 May 2007, William Adams apparently wrote: One free alternative is SumatraPDF: http://blog.kowalczyk.info/software/sumatrapdf/ which shows promise for being a tex-oriented pdf previewing app/util. Very impressive! It's nice to finally have an up-to-date light-weight .pdf viewer for Windows. What is the license? Some sort of opensource. Why Windows only? It was originally based on the Poppler .pdf-viewing library which made it a sort of port / equivalent to the xpdf viewer. Newer versions use mupdf (w/ an option to revert to Poppler). William -- William Adams senior graphic designer Fry Communications
Re: Small caps italic revisited
On May 22, 2007, at 10:24 AM, Charles de Miramon wrote: In traditional European typography (before the computer), there are no italic (or bold) small capitals. If you are a purist typographer, you should not used italic small caps. The fact is that with the wordprocessor, it became possible to slant any letter and slanted small caps and people are getting used of these slanted small caps but for typographers they are considered an heresy. Right. After all, no one would ever use ``A.D.'' or ``B.C.'' in a title (I must be imagining _The Moorlands of England and Wales: An Environmental History 8000 BC to AD 2000_) and no one would ever have a need to emphasize a time (I said {7:00\textsc{pm} and I meant \emph {7:00\textsc{pm}}). In the common teX fonts there are no italic small caps so the only solution is to use the trick I've mentionned on the list to create slanted (fake italic) small caps. Another solution would be to buy a font with a small cap italic variant but I don't think they are many of them. There're a few and there will be more of course. From a cursory search: Eldorado Text PMN Caecilia Minion (incl. Pro) Albertan Garamond Premier Pro Arno Pro William -- William Adams senior graphic designer Fry Communications
Re: Fully contained lyx + miktex distribution!
On May 21, 2007, at 11:59 AM, Uwe Stöhr wrote: William Adams schrieb: On May 21, 2007, at 5:38 AM, [EMAIL PROTECTED] wrote: (re: GSview and Adobe Reader) Are there any alternatives to these for Windows? One free alternative is SumatraPDF: http://blog.kowalczyk.info/software/sumatrapdf/ which shows promise for being a tex-oriented pdf previewing app/util. Sounds promising but I can't find if it supports bookmarks and thumbnails of the pages. Neither, I'm afraid. It's pretty bare bones (which should be okay for just previewing). William -- William Adams senior graphic designer Fry Communications
Re: Fully contained lyx + miktex distribution!
On May 21, 2007, at 5:38 AM, [EMAIL PROTECTED] wrote: (re: GSview and Adobe Reader) Are there any alternatives to these for Windows? One free alternative is SumatraPDF: http://blog.kowalczyk.info/software/sumatrapdf/ which shows promise for being a tex-oriented pdf previewing app/util. William -- William Adams senior graphic designer Fry Communications
Table layout (was Re: Why Lyx->Word?)
On May 15, 2007, at 7:54 AM, Daniel Lohmann wrote: While I know how to build some table in LyX/LaTeX, I get frequently frustrated when I have to tweak and optimize the layout (individual cell width, border styles, inner-cell margins, fonts, ...) Read Edward Tufte's _The Visual Display of Quantitative Information_ http://www.edwardtufte.com/tufte/books_vdqi use booktabs (support has been added in v1.5) and read its documentation as well: http://www.ctan.org/tex-archive/macros/latex/contrib/booktabs/ William -- William Adams senior graphic designer Fry Communications
Re: How to Spot a Word Processed Book
On May 10, 2007, at 7:31 AM, Daniel Lohmann wrote: Rich Shepard wrote: [...] When I wrote Tim O'Reilly to ask why they have that policy he never responded. I guess they do it for pragmatic reasons. It is just the "editor" that is most common among writers - and documents are most probably converted into an in-house format for the typesetting. (Maybe they even use TeX internally...) O'Reilly uses FrameMaker, and one of their principals is on record likening the possibility of doing another book on TeX (they did Norm Walsh's _Making TeX Work (available at http:// makingtexwork.sourceforge.net/mtw/ ) ) up with that of their doing a book on ``wombat sex'' or some such. Sams uses Quark XPress as does John Wiley & Sons for the most part (even doing a book on InDesign in Quark). Most people are moving to InDesign though, the Quark 5, 6 and 7 upgrades have not endeared Quark to their users, nor has their support or licensing policies. The best solution I believe would be for LyX to support some reasonable subset of Word ML at export time and / or for latex2rtf to be up-dated to support that. As regards why publishers choose the tools they do, well it's complicated. I wrote up my take on it on comp.text.tex a while back: http://groups.google.com/group/comp.text.tex/msg/36401bceced0ee9a LyX makes for a nice standard input format for working in LaTeX and the one book which I received from an author who used LyX at a previous job went off w/o a hitch. William -- William Adams senior graphic designer Fry Communications
Re: Black edge on images when using pdflatex
On May 3, 2007, at 11:51 AM, Sander Marechal wrote: I tried, but apparently the SVGs are too complicated for PDF. The polygons that make up the graph don't floodfill correctly. No, the SVGs are too complex for the svg to pdf conversion tool you're using. What is making the SVGs in the first place? Can it go directly to .pdf? Or some other format which can be easily made into a .pdf? (.eps would be ideal, converting from .eps to .pdf is well understood) William -- William Adams senior graphic designer Fry Communications
Re: Black edge on images when using pdflatex
On May 3, 2007, at 4:42 AM, Sander Marechal wrote: I have a problem generating PDFs from Lyx. I want to make reports using Lyx but I cannot get my images right. The graphs that go in the reports are PNGs (converted from SVGs). When I use the dvipdfm or ps2pdf method to generate the pdf reports, I get ugly compression artifacts on my graphs. I presume this is because those two methods convert my PNG to jpeg/eps before embedding it in the PDF. Don't make a nice vector into a bitmap unnecessarily. So, I want to use the pdflatex function which is able to use the PNG directly and embed it without compression artifacts. Problem: All PNGs embedde by pdflatex have an ugly black border on the right and bottom of the image. I have no idea what causes this or how to fix it. Any idea's? Convert from the svg to a .pdf and place that instead. William -- William Adams senior graphic designer Fry Communications
Re: Problem with pdflatex and including a pdf file
On Apr 10, 2007, at 10:33 AM, Pieter Bos wrote: > I think lyx might be for some reason calling a convertor. When i > run pdflatex manually on the exported tex file this small test file > works great. Correct. For some reason the nice vector / text .pdf you have (beatdetectoropdeling.pdf) is converted into an RGB bitmap. Are you sure you've got LyX set to call pdflatex to make a .pdf? I thought the default was latex->dvi->dvips->ghostscript which would yield the result you have belike. William -- William Adams senior graphic designer Fry Communications This email message and any files transmitted with it contain information which is confidential and intended only for the addressee(s). If you are not the intended recipient(s), any usage, dissemination, disclosure, or action taken in reliance on it is prohibited. The reliability of this method of communication cannot be guaranteed. Email can be intercepted, corrupted, delayed, incompletely transmitted, virus-laden, or otherwise affected during transmission. Reasonable steps have been taken to reduce the risk of viruses, but we cannot accept liability for damage sustained as a result of this message. If you have received this message in error, please immediately delete it and all copies of it and notify the sender.
Re: Problem with pdflatex and including a pdf file
On Apr 10, 2007, at 10:03 AM, Pieter Bos wrote: > Running distiller on the eps files produces great looking pdf > files. However, running pdflatex including those pdf files produces > horrible looking rasterized low-resolution images. ?!? The placed .pdf files should be wholly enclosed in the pdflatex generated .pdf at their original quality and w/ no changes --- what .pdf viewing program are you using? > Anyone else with a solution? That is the solution, and one which I've used often and w/ good results. William -- William Adams senior graphic designer Fry Communications This email message and any files transmitted with it contain information which is confidential and intended only for the addressee(s). If you are not the intended recipient(s), any usage, dissemination, disclosure, or action taken in reliance on it is prohibited. The reliability of this method of communication cannot be guaranteed. Email can be intercepted, corrupted, delayed, incompletely transmitted, virus-laden, or otherwise affected during transmission. Reasonable steps have been taken to reduce the risk of viruses, but we cannot accept liability for damage sustained as a result of this message. If you have received this message in error, please immediately delete it and all copies of it and notify the sender.
Re: Difference between \vskip and \vspace and implementation in LyX
On Apr 3, 2007, at 4:50 AM, Andreas Karlsson wrote: > What is the difference between the LaTeX commands \vskip and \vspace? > > I can access the \vspace command from the menu, but I haven't found > the \vskip commande there. Is it not implemented? \vskip is a Plain TeX command, while \vspace (and \addvspace) are the appropriate commands to use in LaTeX. I believe there's a discussion of the difficulties using vskip can result in in _The LaTeX Companion_ --- I'd thought there was a discussion of this in the FAQ, perhaps it's in lshort? William -- William Adams senior graphic designer Fry Communications This email message and any files transmitted with it contain information which is confidential and intended only for the addressee(s). If you are not the intended recipient(s), any usage, dissemination, disclosure, or action taken in reliance on it is prohibited. The reliability of this method of communication cannot be guaranteed. Email can be intercepted, corrupted, delayed, incompletely transmitted, virus-laden, or otherwise affected during transmission. Reasonable steps have been taken to reduce the risk of viruses, but we cannot accept liability for damage sustained as a result of this message. If you have received this message in error, please immediately delete it and all copies of it and notify the sender.
STIX fonts website up-dated 19 March
(also posted to comp.text.tex) Came across this in a search here at work. All glyphs have been created and they're now doing a design review ``...establishing consistent sizes for various glyphs based on square or circle designsConfidence remains high that we will release the fonts some time in April.'' Anyway, thought people might find it of interest. http://www.stixfonts.org/ for those not familiar w/ the project. William NB - I've cross-posted this to a number of mailing lists in this message, please check your reply to and trim if appropriate to your reply. -- William Adams senior graphic designer Fry Communications This email message and any files transmitted with it contain information which is confidential and intended only for the addressee(s). If you are not the intended recipient(s), any usage, dissemination, disclosure, or action taken in reliance on it is prohibited. The reliability of this method of communication cannot be guaranteed. Email can be intercepted, corrupted, delayed, incompletely transmitted, virus-laden, or otherwise affected during transmission. Reasonable steps have been taken to reduce the risk of viruses, but we cannot accept liability for damage sustained as a result of this message. If you have received this message in error, please immediately delete it and all copies of it and notify the sender.
Re: Handy word list program for indexing
On Mar 6, 2007, at 8:57 AM, Steve Litt wrote: > There's budget for a human indexer, as long as the indexer is me > (the author). Got it. > So as the human indexer, how do I make this thing an index instead > of a > concordance? A concordance is just a list of words in a document w/ reference to where they occur. An index is a structured, ordered list of the concepts and ideas and terminology in a document which allows one to determine if a desired bit of information is present in a document, and if so, where to find it. > My plan is to use the word list program to make sure I don't > leave out things that shouldn't be left out, not to give every term > page > numbers. Okay. > How do I make it a real index? The traditional thing to do is to read the text twice, once to familiarize yourself w/ it and to make notes on what people might need / want to look for, the second time, to flag all terms / concepts as desired (usually using post it notes, or index cards). You may want to look up tools like the showidx package which will help you to consider the index as you're working w/ the text. William -- William Adams senior graphic designer Fry Communications This email message and any files transmitted with it contain information which is confidential and intended only for the addressee(s). If you are not the intended recipient(s), any usage, dissemination, disclosure, or action taken in reliance on it is prohibited. The reliability of this method of communication cannot be guaranteed. Email can be intercepted, corrupted, delayed, incompletely transmitted, virus-laden, or otherwise affected during transmission. Reasonable steps have been taken to reduce the risk of viruses, but we cannot accept liability for damage sustained as a result of this message. If you have received this message in error, please immediately delete it and all copies of it and notify the sender.
Re: Handy word list program for indexing
While such utilities can be useful for the naïve user, they don't result in an index, so much as a concordance, and the difference between the two should be kept in mind. Rather than relying on such, if the project and budget warrant it, far better to employ a human indexer (who is _not_ also the author). William -- William Adams senior graphic designer Fry Communications This email message and any files transmitted with it contain information which is confidential and intended only for the addressee(s). If you are not the intended recipient(s), any usage, dissemination, disclosure, or action taken in reliance on it is prohibited. The reliability of this method of communication cannot be guaranteed. Email can be intercepted, corrupted, delayed, incompletely transmitted, virus-laden, or otherwise affected during transmission. Reasonable steps have been taken to reduce the risk of viruses, but we cannot accept liability for damage sustained as a result of this message. If you have received this message in error, please immediately delete it and all copies of it and notify the sender.
Re: Font problems of pdf-files generated on Mac
On Feb 1, 2007, at 2:21 AM, Anders Ekberg wrote: > Has anyone experienced anything similar. Or better still, does > anyone know about a cure?! > (The one I have is opening the file in GraphicConverter, saving as > Tif, re-opening and printing as pdf, but this is not really ideal...) What TeX version do you have installed? Probably the problem is with the recipient's printer though --- they can probably work around it at their end by checking the ``Print as image'' checkbox in their Acrobat print dialog. You might be able to help them out by opening up the .pdf in Preview.app and printing to a .pdf set to pdf/x compatibility standards, or printing to PostScript and re-distilling to a .pdf or up-dating to a more recent TeX install. William -- William Adams senior graphic designer Fry Communications This email message and any files transmitted with it contain information which is confidential and intended only for the addressee(s). If you are not the intended recipient(s), any usage, dissemination, disclosure, or action taken in reliance on it is prohibited. The reliability of this method of communication cannot be guaranteed. Email can be intercepted, corrupted, delayed, incompletely transmitted, virus-laden, or otherwise affected during transmission. Reasonable steps have been taken to reduce the risk of viruses, but we cannot accept liability for damage sustained as a result of this message. If you have received this message in error, please immediately delete it and all copies of it and notify the sender.
Re: OpenOffice vs. LyX
On Jan 29, 2007, at 6:47 PM, Stefano Franchi wrote: > However, my point was that Framemaker makes this, and other tasks, > easier. Read---less time consuming and error prone. There's another option there, as Richard noted: On Jan 29, 2007, at 11:09 PM, Richard Heck wrote: > This kind of thing can be made easier, if you use file includes. Put > what you need into a file preamble.sty---you don't need an entire > class, > just a package---and then include that from each of your subdocuments. > Make whatever changes you need to make in preamble.sty, which may just > mean commenting out some stuff and uncommenting other stuff. Or you > can > define a \newif and use a conditional to choose among different > possibilities and then just change \ifdraftrue to \ifdraftfalse at the > beginning of preamble.sty. When I do LaTeX composition (taking an author's TeX files and adapting them to a book designer's specifications so that it may be published --- examples of my work for my previous employer at http:// www.atlis.com/services/composition/samples/TeX%20Sample%20Pages/ --- look at Jain, Wickert, Lea and Sandefur --- the others are database jobs) I add just two lines to the preamble, each a \usepackage call. Then I make two files, one where commands are defined in a plain / ordinary fashion, then a second where each is replaced w/ a \renewcommand so as to match the design. When returning files to the author, they get an empty version of the second file. William -- William Adams senior graphic designer Fry Communications This email message and any files transmitted with it contain information which is confidential and intended only for the addressee(s). If you are not the intended recipient(s), any usage, dissemination, disclosure, or action taken in reliance on it is prohibited. The reliability of this method of communication cannot be guaranteed. Email can be intercepted, corrupted, delayed, incompletely transmitted, virus-laden, or otherwise affected during transmission. Reasonable steps have been taken to reduce the risk of viruses, but we cannot accept liability for damage sustained as a result of this message. If you have received this message in error, please immediately delete it and all copies of it and notify the sender.
Re: OpenOffice vs. LyX
On Jan 28, 2007, at 10:44 AM, Stefano Franchi wrote: > 1. Framemaker has the concept of a "book": a multifile work to > which you can add chapters (and indexes, etc). Once you have a book > set up, you can find and replace across chapters, change the > formatting across the whole book, etc. This makes it very easy, for > instance, to switch from draft-style to final style when printing > out a publication. LyX/LaTex still does not (and never will, I > think) understand a similar concept. \documentclass[draft]{memoir} \documentclass[final]{memoir} Although the other issues aren't addressed AFAIK in LyX (yet), they're as easily solved in LaTeX by using the right packages appropriately. William -- William Adams senior graphic designer Fry Communications This email message and any files transmitted with it contain information which is confidential and intended only for the addressee(s). If you are not the intended recipient(s), any usage, dissemination, disclosure, or action taken in reliance on it is prohibited. The reliability of this method of communication cannot be guaranteed. Email can be intercepted, corrupted, delayed, incompletely transmitted, virus-laden, or otherwise affected during transmission. Reasonable steps have been taken to reduce the risk of viruses, but we cannot accept liability for damage sustained as a result of this message. If you have received this message in error, please immediately delete it and all copies of it and notify the sender.
Re: OpenOffice vs. LyX
On Jan 23, 2007, at 2:54 PM, Richard Heck wrote: > I take it that what Jose has in mind is some sort of simple language > that would be used to describe a layout file from which one could then > be generated. Surely it wouldn't be that hard to write a script that > would ask all the right questions. This could even be a web-based > application that would spit out a layout file when it was done. Kaveh Bazargan did a presentation on this sort of idea a while back at a TUG conference. http://www.guit.sssup.it/guitmeeting/2005/articoli/bazargan.pdf and: http://www.tug.org/practicaltex2005/booklet/all.pdf William -- William Adams senior graphic designer Fry Communications This email message and any files transmitted with it contain information which is confidential and intended only for the addressee(s). If you are not the intended recipient(s), any usage, dissemination, disclosure, or action taken in reliance on it is prohibited. The reliability of this method of communication cannot be guaranteed. Email can be intercepted, corrupted, delayed, incompletely transmitted, virus-laden, or otherwise affected during transmission. Reasonable steps have been taken to reduce the risk of viruses, but we cannot accept liability for damage sustained as a result of this message. If you have received this message in error, please immediately delete it and all copies of it and notify the sender.
Re: Help with mis-converted accents
On Dec 19, 2006, at 12:45 PM, Stefano Franchi wrote: > Unless I could find a program/editor allowing me to do multiple > replace over multiple files at once. I am not aware or any such > programs for Mac/Linux, though? The free BBedit Lite could do this. I believe the free TextWrangler can as well. If you'd liefer stick w/ opensource, smultron can. William -- William Adams senior graphic designer Fry Communications This email message and any files transmitted with it contain information which is confidential and intended only for the addressee(s). If you are not the intended recipient(s), any usage, dissemination, disclosure, or action taken in reliance on it is prohibited. The reliability of this method of communication cannot be guaranteed. Email can be intercepted, corrupted, delayed, incompletely transmitted, virus-laden, or otherwise affected during transmission. Reasonable steps have been taken to reduce the risk of viruses, but we cannot accept liability for damage sustained as a result of this message. If you have received this message in error, please immediately delete it and all copies of it and notify the sender.
Re: Independent columns?
[This was sent to me but I think it was destined to the list - José Matos] From: William Adams <[EMAIL PROTECTED]> (ATLIS Graphics & Design) Parallel.sty achieves something of this. You'd be best served I suspect gathering together a group of people w/ similar needs and paying David Kastrup to finish up a LaTeX package/output routine which he's begin developing for this sort of thing---Bob Kerstetter is one person you could contact (check the TeX on Mac OS X mailing list archives), and there are a couple of people who posted to comp.text.tex a while back William
Re: font question
Jonas asked: I am looking for an alternative to Word and found LyX very interesting. I use several home-made fonts with special characters (like hookedo, v-with-accent, av-ligatures etc.) not available in standard fonts. In LyX I could use these fonts as screen fonts, but I could not figure out how to use them as print fonts. So how do I do? I have installed LyX 1.3.2 on Aqua (Mac OSX 10.2.6). You have to install the fonts for use by (La)TeX. Here's a set of instructions which I just posted to the Mac OS X TeX list: Read the Fontinst documentation (available from www.tug.org) But if you're using non-standard encodings, you might not need this. and Philipp Lehman's wonderful tutorial. The latter is linked to at http://members.aol.com/willadams/books-free-type.html Short version: - rename fonts according to the fontname scheme (www.tug.org/fontname I think it's at) (you'll use zsomething, say zjw) - run fontinst (this is on CTAN) on said .afm files w/ the three line driver file: \input fontinst \latinfamily{pad}{} (that'd by zjw) \bye (you can use padj and/or padx if you've got the expert set) Or, use afm2tfm and just get .pl files. You'll probably need to convert the fonts from Mac format to PC/Unix format. - run vptovf and pltotf (these are included w/ gwtex) on the .vpl and .pl files - then add the fonts to your .map file(s), store everything away appropriately and update the filename database if you store them somewhere other than your ~/Library/texmf subtree William -- William Adams, publishing specialist voice - 717-731-6707 | Fax - 717-731-6708 www.atlis.com
Re: Image quality in exported documents
Jean-Pierre said: (re: PhotoShop 6+ image interpolation) That's a workaround, but what happens if you resize the eps in the LyX doc ? If you need to interpolate again at further size changes, pdflatex is a better solution IMHO (and tex2pdf works out hyperref args for you). If you need to ask the first question, I don't see how you can judge that something else is a better solution. Here's that .pdf which I mentioned: http://members.aol.com/willadams/portfolio/interfaceconcepts/ screengrabcomp.pdf View in a semi-recent version (4 or 5) of Adobe Acrobat and zoom in / out to compare / contrast. (Irritatingly Adobe Reader 6 seems to apply the same scaling / interpolation technique to all the images w/ a default install / settings) William -- William Adams, publishing specialist voice - 717-731-6707 | Fax - 717-731-6708 www.atlis.com
Re: Image quality in exported documents
Jean-Pierre said: >I've read the thread on this mail, and I confirm that >bitmap eps gives poor results on diagrams and screen saves, >unless the original size is retained. A way to improve the appearance of bitmap .eps files is to load them into PhotoShop 6 or later and save them out with ``Image Interpolation'' turned on. I've a sample of this on my personal Web pages, e-mail me if you want the link. William
Re: Output using arial font
Assuming the audience is typographically naïve enough to not be able to distinguish Arial and Helvetica, \usepackage{helvet} and \renewcommand{\familydefault}{\sfdefault} should do it---actually if you're using pdflatex, I think it will, 'cause the font won't be embedded and they'll get Arial subbed in at their end. William -- William Adams, publishing specialist voice - 717-731-6707 | Fax - 717-731-6708 www.atlis.com
Re: Typeset Math Formula inside Graphic
Reuben asked: In relevant to this, is there any feature plans to put drawing capabilities in lyx? Nothing fancy, but just the basic things for doing diagram, like box, circle, lines, poligons. As noted, PS Tricks can be used for that, and it's outside of LyX's bailiwick. Another consideration is LaTeX's figure environment which affords some facilities along these lines. You may find Eukleides of interest as well. http://membres.lycos.fr/euklides/ William -- William Adams, publishing specialist voice - 717-731-6707 | Fax - 717-731-6708 www.atlis.com
``small systems'' (was Re: Poster layout ?)
I'd said: Interestingly, I first learned of LyX in the comp.sys.next.* groups, a person asking if it could be made to run there... and you replied: That was my point -- I was not sure, whether something so small as NeXT can be made to run full fledged X-application of these days. Actually, as I recall, the consensus was that one could probably make it work, if one could've located an updated X Window application / implementation (they were pretty much all commercial then, and getting the updated version was really pricey), but why bother since NeXT provided one of the premiere TeX environments (Display PostScript, TeXView.app) and that one of the coolest TeX interface programs (Dmitri Linde's InstantTeX) had just become freely available. I've got .pdfs of the manuals for both of these up on my web site, http://members.aol.com/willadams (still updating it though) Alan Hoenig's wonderful book _TeX Unbound_ is in many ways a paean to the virtues of running TeX in NeXTstep. So there :/ William (who thinks LyX is the coolest / most innovative / most useful opensource project going, with even GNUstep merely a close second ;) -- William Adams, publishing specialist voice - 717-731-6707 | Fax - 717-731-6708 www.atlis.com
Re: Poster layout ?
I'd said: Dunno how much this'll help, but when I did a poster, I did it using Altsys Virtuoso on my NeXT Cube and set the text using TeXview.app's ``tex eq -> eps'' Service. And Matej Cepl asked: Are you using LyX on that computer? More's the pity, not at this time. I'd dearly love an OpenStep / Yellow Box / Cocoa front-end for LyX though (but the QT version for OS X is way cool / very nice). If I get MkLinux installed on my wife's PowerMac again, I'll use the latter to run LyX, and display / control it from my Cube using Cube-X though. Interestingly, I first learned of LyX in the comp.sys.next.* groups, a person asking if it could be made to run there... William -- William Adams, publishing specialist voice - 717-731-6707 | Fax - 717-731-6708 www.atlis.com
Re: Poster layout ?
Dunno how much this'll help, but when I did a poster, I did it using Altsys Virtuoso on my NeXT Cube and set the text using TeXview.app's ``tex eq -> eps'' Service. You can see it at http://www.tug.org/tug2003/donate So I think using a visual tool is preferable, Sketch, Dia, Kontour, Scribus are all free tools. William -- William Adams, publishing specialist voice - 717-731-6707 | Fax - 717-731-6708 www.atlis.com
Re: spell checking
John asked: >Can latex accept utf8 (or whatever) encoded source files ? This was recently announced: http://groups.google.com/groups?selm=batokq%245cj%241%40online.de&output=gplain From: Frank Mittelbach <[EMAIL PROTECTED]> Newsgroups: comp.text.tex Subject: announce: inputenc support for utf8 Date: Mon, 26 May 2003 21:02:35 +0200 Organization: LaTeX3 project there has been some discussion a while ago concerning utf8 support for LaTeX and as a result there has been some code development to provide utf8 support via inputenc. I would add something like that to the next latex2e release. this is kind of beta, but perhaps one or the other might want to give it a try. it can be found at http://www.latex-project.org/code/experimental/utf8ienc.zip there is also some inputenc support to allow inputenc chars being used in math (should be used with elatex) http://www.latex-project.org/code/experimental/inpmath.zip best frank
Re: LyX on MacOSX (binary release)
Sorry, should've looked to see how to get at the log first. It begins: LyX Installation Log Target Selection activate: processing existing volumes _diskInsertEvent: Adding volume ATLIS _diskInsertEvent: Adding volume Macintosh HD deactivate: removing all cells from _volumeMatrix Selected volume "Macintosh HD" Mounted at: / OpenFirmware: ide1/@0:5 Partition type: Apple_HFS Partition map: /dev/disk0 Partition: 5 Protocol: ATA Media Type: Generic Volume Size: 39266 Installing with target / ERROR:Could not set file attributes. - pax: error 1:Could not set permissions on . - Operation not permitted and continues like that. Now that I think further, I'm guessing that this is 'cause I'm running Mac OS X 10.1.5 and not Jaguar or something later? William -- William Adams, publishing specialist voice - 717-731-6707 | Fax - 717-731-6708 www.atlis.com
Re: LyX on MacOSX (binary release)
Well drat. I tried installing it and got: ``There were errors installing the software Could not set file attributes. Please try installing again.'' I'm guessing this is 'cause I had the X Qt version installed previously? William -- William Adams, publishing specialist voice - 717-731-6707 | Fax - 717-731-6708 www.atlis.com
Re: teach me how to fish
Alexandre asked: >In other words, how do all you people come up with this stuff? Where does one >learn tex and latex and all this miscellaneous stuff? What books, docs, or >other reference materials would the gurus out there counsel, for somebody who >would like to get on his own two feet on this and save everybody a lot of >time? Is the one by Lamport actually useful for anything anymore, given how >old it is? I've a small list of free references on typography and TeX / Latex which I put together as the beginning of a re-design of my personal web pages: http://members.aol.com/willadams/books-free-type.html www.tug.org has some more references, esp. a link to the books list in the TeX FAQ (which has a run-down on relative merits of different texts if memory serves). William
Re: others like lyx?
Thomi said: ALl i mentioned is freedom to typeset your document however the hell you want it; even if this includes having mile long gaps around your titles. In the end it's your document, you'll have to pay the price if it looks like crap. First, I'm quite put off by the recent flow of vulgarities, and would appreciate it if people would use more civil language---anyone putting forth such should check their Terms of Service agreement or equivalent w/ their service provider, typically such is forbidden. Second, the matter of automagic document design has been discussed in the past on this list and is a very tough nut to crack. I was actually thinking about a project to address things like that, but am beginning to think I'd not like the potential customer base, so am disinclined to continue on it. William -- William Adams, publishing specialist voice - 717-731-6707 | Fax - 717-731-6708 www.atlis.com
Re: How to make the index appear with letters (A, B, C, ...)
Munzir Taha asked: When I make an index, the letters which categorize each group don't appear automatically, How can I make them show? I passed quicly over makeindex.dvi and ind.dvi but couldn't figure it out. Sorry! (already answered this off-list, but thought it'd be good to have here for posterity) http://www.educat.hu-berlin.de/~voss/lyx/index/indexstyle.phtml explains this, and is just three-four clicks from www.lyx.org William -- William Adams, publishing specialist voice - 717-731-6707 | Fax - 717-731-6708 www.atlis.com
Re: non standard page layout
Marcin asked: >Is it possible to put footnotes in footer? (Normaly footnotes are >appended to the body.) This will probably solve the problem. It is >possible to set footer dimentions, ruler, and space between bootom of >footer and bottom of 'body text'. But I don't know how to get this - >google has been my friend for two days :-; Yes, but I believe one has to re-write TeX's output routine to do this. See, _The Advanced TeXBook_ for examples of this, but read DEK's _The TeXbook_ first. William
Re: How can I an err.. border?
Those are called crop marks. get crop or poligraf from CTAN and use your choice. Memoir has this built in, probably komascript as well. William -- William Adams, publishing specialist voice - 717-731-6707 | Fax - 717-731-6708 www.atlis.com
Re: Writing a Novel with LyX?
Ronald said: I've written novels with LyX (see www.18james.com/writing.html). The book class does fine. The real problem is that unless you're self-publishing -- with which I have no experience -- you have to face the fact that trade publishers are not interested in any output from LyX. They want the manuscript in ms-word, not in LaTeX, LyX, PDF, or Postscript. They'll accept ascii text, but if you have foreign language or special characters in your text, they're lost in an ascii version. We're glad to get manuscript from LyX ;) (but we're a composition house specializing in math, physics, &c. textbooks) You should be able to submit a .pdf for direct printing though, unless the publisher has specific style recommendations you're unable to accomplish in LaTeX? Let me second the suggestion of Peter Wilson's Memoir class. William -- William Adams, publishing specialist voice - 717-731-6707 | Fax - 717-731-6708 www.atlis.com
Re: latex pdf and TTfonts
Paolo Ariano asked: >i'm writing an article in latex using lyx on a GNU/Linux debian, i save >my pdf, then i've to make a poster to present my data: >if i open my pdf in Macromedia Freehand there are a lot of fonts errors >and it is unusable .pdf isn't really intended as an editable graphics interchange format, and Macromedia FreeHand unfortunately doesn't have an option to place them. You also may or may not have the fonts installed for the document so that FH can set the document. If you generate a .eps instead, or use Adobe Acrobat or a similar tool to directly convert the .pdf to a .eps, you could place the .eps in Freehand w/o problems (I do this on my NeXT Cube w/ Altsys Virtuoso 2 ~= Macromedia FreeHand v4) and annotate / mark up / add elements. Going the other way (making a .eps or .pdf w/ FreeHand and placing that in a (La)TeX document) works fine of course. >now i would to solve the problem on my lyx/latex using something like >true type fonts but i really don't know a start point I recently posted a message of pointers on how to install fonts for (La)TeX William -- William Adams, publishing specialist voice - 717-731-6707 | Fax - 717-731-6708 www.atlis.com
Re: Placement of TYPE1 fonts?
Janine asked: >I just bought a few Type1 fonts (mainly .afm, .pfb and .pfm) and was >wondering which directory, or subdirectory inside the texmf hierarchy >to place these fonts in for LyX to be able to include them in PDF:s? >I've tried most of the directories containing the fonts LyX use such >as Palatino etc., but that haven't added my fonts to the chart. I'm afraid it's a bit more complex than that, depending on the fonts, you must: - rename the files (preferrably using Karl Berry's FontName scheme) see CTAN - generate or acquire .tfms see man afm2tfm or the docs for FontInst - generate a .fd file to map the fonts into LaTeX's styles - place them in the appropriate spots in the TeX Directory Structure - refresh the filename database That second part can be accomplished in a number of ways: - FontInst (use the pre-release version from CTAN) - afm2tfm (a bit limited in capabilities, but may serve) - download them from various sites which collect / provide such. Here's a very good tutorial for FontInst if you need to go that route: http://lehman.virtualave.net/files/ltxfonts.pdf Which fonts specifically? William -- William Adams, publishing specialist voice - 717-731-6707 | Fax - 717-731-6708 www.atlis.com
Re: mirror images of characters/letters
Frederic asked: >anyone knows of a way to produce the mirror >image of a character, say B (alike a rotation >of 180 degrees but such that the resulting letter >is still aligned correctly with respect to the rest >of the line). I don't think this could be done directly in LyX or TeX/LaTeX. AFAIK, you've got two options: - do it in a virtual font, mirroring the desired character(s) using PostScript specials and inserting the call to use the font as Evil Red Text---you'd then need to make sure you used dvips when generating your output. - find a font of such backwards characters and install it. William -- William Adams, publishing specialist voice - 717-731-6707 | Fax - 717-731-6708 www.atlis.com
Re: "Book size S5"
Henrik Edlund said: >This is a jungle and nobody seems to know anything about it. Not >even the people responsible. Sigh. >I am going to talk to the university printers tomorrow and see if >they can shed some light on this. That's the proper place for an authoritative answer. Belike the inconsistencies observed are caused by differences in stock material/size, folding, binding and imposition. William
Re: Lyx and style
Matej Cepl responded: (to my criticizing the lout-created docs for nonpareil) >Automatic care for widows and orphans is discouraged in the >serious typography, because impossible. It usually involves some >stretching of in-between-lines space. Take a look at how LaTeX 3 handles it. Alternately, I really would like to see a batch pagination tool which would make fixing them easier (or even allow one to plan for them in advance for straight text composition). >Other means of the >resolving issues (aka Knuth's algorithm) are not 100% successfull >(compare with TeX which doesn't always break lines correctly), so >some w/o remains. >So, the author included the feature, but he preferred not to use >it for this document. What's wrong with that? It seems to me that a person who is advocating a typographic tool should strive to demonstrate skill at typography and an awareness of it, even if that means some hand-work. William -- William Adams, publishing specialist voice - 717-731-6707 | Fax - 717-731-6708 www.atlis.com
Re: Custom layout & style
Janine said: >What *is* necessary to me is >visible in http://www.terrabionic.com/books. Sure, they look OK. I want >them to look GOOD ::} >With your help, that is possible. Please consider it? >I dunno. While the subject matter appeals, your texts seem burdened w/ elementary errors of text and formatting hagakure.pdf pg. 44, last paragraph, third line "No matter whether one be of high or low rank, a family line is something that will decline when its trine has come... ``trine''? Surely you mean time? I guess you're typesetting a Project Gutenberg e-text? IME, they always need to be proofed carefully. Take a look at, Okakura Kakuzo's _The Book of Tea_ in my portfolio at http://members.aol.com/willadams for my experience w/ that. I did, finally get them to accept (some of) my corrections though. Your documents also have some orphans and widows, and I've never liked space between paragraphs in lieu of indentation, and some pages seem to run short (always do that on a spread---hard for me to check if you've done that though, since your pagination in the .pdf matches up the wrong verso / recto, i.e., 43 and 44 face each other in facing pages view in Acrobat Reader). You also have some too-long lines (hagakure.pdf pg. 44 has an example of this). I'd urge you to read a few basic texts on typography so as to at least cover the basics before asking for further help. I've a listing of them in my bibliography on my web site (ob. discl. I'm an Amazon Associate and may profit). I'd especially recommend Adrian Wilson's _The Design of Books_ and Bringhurst's _Elements of Typographic Style_ William -- William Adams, publishing specialist voice - 717-731-6707 | Fax - 717-731-6708 www.atlis.com
Re: Lyx and style
Matej said: >1) Lout can deal with widows and orphans (at least it could last > time I tried which is some two years ago)---contrary to TeX it > uses Knuth's line breaking algorithm even for page breaking. I'll take your word for it, but as I noted, it's hard to take seriuosly when the person who wrote the program won't make use of all of its features. >2) LaTeX does not work with them in any better way than Lout > (you have to increase penalties for that, but results are not > always the best). LaTeX3 is supposed to improve upon this sort of thing---I've always just fixed this sort of thing by hand though. William -- William Adams, publishing specialist voice - 717-731-6707 | Fax - 717-731-6708 www.atlis.com
Re: Lyx and style
Matej said: >You are trying to beat dead horse to run. Not that LaTeX would be >dead, but it is absolutely not suited for being the backend for >typesetting general layouts. But there's no better tool for high-quality automated typesetting. >That's not what it was prepared for. >You should instead use some more general tools as a typographical >backend. First one coming to my mind is lout (check out >a friendly Google near you for ``Lout postscript site:ru'' to >find the website) and then already mentioned Nonpareil (from the >same author) who tries to do exactly what you want but in much >more sensible manner. and whose documents leaves a lot to be desired typographically, w/ widows and orphans and extra space between indented paragraphs---'cause of that I find it hard to take seriously. >The second option maybe using either plain >TeX or modified basic TeX (how to say ``plainer than plain TeX''? Or eplain, or context---is there a reason LyX couldn't be made to map to one of those? >:-), but lout is IMHO better for this. Apparently only for those willing to tolerate widows and orphans w/ impunity. One of the nice things about TeX / LaTeX is that association w/ it pre-supposes a certain high-level of quality. William
Re: Lyx and style
Well, there's option 4: - create an über class / layout which encompasses all possible layout variations allowing the user to pick / choose from the myriad options which could then be wired up in a LyX dialogue box. William
Re: Lyx and style
Interesting post / problem, and reminiscent of Pages Corp. Pages program for NeXTstep. It's my understanding that some such concepts are being considered (were considered?) in LaTeX 3. Peter Wilson's Memoir Class shows that one can have a wonderfully flexible documentclass w/ a lot of options w/ just LaTeX2e though, so it should be possible to my mind to just write a documentclass w/ all (or most) of the desired options, and just access them through a dialogue box as is done now. This would be a lot easier than: >What I would loved was that some people with LaTeX knowledge, programming >skills and stamina got together and wrote a LyX style utility. I envisage >this "LyX-styler" as a separate program, and that LyX still comes with a >handful of nice usable layouts that would suit most people writing letters, >and other none complicated texts. The LyX-styler would be run when people >needed a special typesetting. It should write LyX preambles, .layout .bst and >.sty-files. It must have a GUI. Which would be specific / limited to LyX. Also a huge programming task 'cause TeX is a bit more flexible, hence intractable than say PostScript. William