Pdf utilities and fonts, an off topic jot
Hola LyXers, Background: Nigh onto 20 years ago I read the Pulitzer prize winning, "Godel, Escher and Bach", by Douglas Hofstadter. He followed this by "Metamagical Themas" and in chapter 13, took issue with Donald Knuth's expectation for the future of TeX and Metafont. [See Myhill's characterization of creativity.] "Knuth proposed that a single set of algorithms could describe the basic alphabetic letterforms. As Douglas Hofstadter later commented, Knuth held out a "tantalizing prospect [.]: that with the arrival of computers, we can now approach the vision of a unification of all typefaces." "Hofstadter argued that letters belong to what are called "productive sets" --sets which cannot ever be "complete" since they are by definition comprised of each and every instantiation. Not only do an infinite number of "a's" exist, but determining precisely what their common features are -- or the properties of "consistency" in mathematical terms -- is more complicated than it seems." Gary McGraw used fonts and this debate as the subject for his Phd. thesis, Letter Spirit. Now to the point of this post. When I downloaded the thesis or maybe one of his papers, it was in .ps format which was a bit to feint. So I converted it to pdf. The document came out with all the pages in reverse order. This has happened to me a few times. You have to scroll to the end of the document and then read backwards towards the beginning. You get to the bottom of the page and then you have to reverse tread over what you have read. This is not the only time this has happen. Solution: http://www.pdfill.com/pdf_tools_free.html Free PDFill PDF Tools [comes bundled with a trial dl.] Option #2: Split or Reorder PDF pages [I reversed all.] Next problem: With Acrobat Reader, it has started displaying with two pages per window, I think called "facing" while I like "continuous" so I don't have to left and right arrow, just down. Solution: Free Foxit Reader for Windows, about 1mb. You can remove that annoying Acrobat Reader advertisement. It uses the large "continuous" by default disply not the two-page AR 58% display. One can also change the color of the text. [Linux has xpdf.] Probably you thought that I was going to lead up to something profoundly philosphical ... like drawing a deep metaphor about the problem of generating aesthetically pleasing fonts mechanically, was like a life problem in balancing and distinguishing boundaries in personal relationships. But no, this is yet another practical post leaning towards academic readers suffering from the challenges of character recognition, with a bit of tribute to the roots of TeX/LyX. Is water under the bridge the same water, Stephen
Re: Pdf utilities and fonts, an off topic jot
On Sunday 13 November 2005 11:03, Stephen Harris wrote: > Probably you thought that I was going to lead up to something > profoundly philosphical ... ...when actually it seems all you want to do is spam us. Thanks a bunch.
Re: Pdf utilities and fonts, more on an off topic jot
- Original Message - From: "Matthew Gates" <[EMAIL PROTECTED]> To: Sent: Sunday, November 13, 2005 3:19 AM Subject: Re: Pdf utilities and fonts, an off topic jot On Sunday 13 November 2005 11:03, Stephen Harris wrote: Probably you thought that I was going to lead up to something profoundly philosphical ... Two free reader/writer tools I thought appropriate for writers who want to have other free tools in their toolbag besides LyX. ...when actually it seems all you want to do is spam us. Thanks a bunch. You don't seem your usual witty self. Still having pagination problems? Actually, I thought a majority of the readers would find the post interesing. Perhaps I'm wrong, if you are respresentative. Of course, I also think that the "Forget Windows" thread was considerably more off topic as well as inflammatory. Come to think of it, nearly eveyone of note thought they had something important to contribute to the justification of that FU thread, so perhaps an expert on documentation like youself, is right. I could have contributed to the Forget Windows thread. There are a hundred Windows users to every Linux user. At the moment there are a majority of Linux Lyx users. But I think the course will run like Emacs to Xemacs which was once a paradigm of *nix. There are now more Windows Xemacs users than Linux users. That will of course happen for LyX if it continues to improve. If the LyX powers that be did not want to support this trend it seems to me that they should not have announced an official endorsement of Windows and released easy to use installation software. Politically, I think that is a cross-platform decision which does not cater to the goals/whims of *nux egocentrists. Anyway, I thought the Foget Windows thread was spam, but I didn't have to read it, the Subject: was descriptive enough. I am going to express my opinion of your perception: Title: The Concept of a Meta-Font Vol: 16.1 Author(s): Knuth, Donald E. Abstract: A single drawing of a single letter reveals only a small part of what was in the designer's mind when that letter was drawn. But when precise instructions are given about how to make such a drawing, the intelligence of that letter can be captured in a way that permits us to obtain an infinite variety of related letters from the same specification. Instead of merely describing a single letter, such instructions explain how that letter would change its shape if other parameters of the design were changed. Thus an entire font of letters and other symbols can be specified so that each character adapts itself to varying conditions in an appropriate way. Initial experiments with a precise language for pen motions suggest strongly that the font designer of the future should not simply design isolated alphabets; the challenge will be to explain exactly how each design should adapt itself gracefully to a wide range of changes in the specification. This paper gives examples of a meta-font and explains the changeable parameters in its design. - Title: Meta-Font, Metamathematics, and Metaphysics: Comments on Donald Knuth's Article (16:1) Vol: 16.4 Author(s): Hofstadter, Douglas R. Abstract: It is argued that readers are likely to carry away from Donald Knuth's article "The Concept of a Meta-Font" a falsely optimistic view of the extent to which the design of typefaces and letterforms can be mechanized through an approach depending on describing letterforms by specifying the setting of a large number of parameters. Through a comparison to mathematical logic, is it argued that no such set of parameters can capture the essence of any semantic category. Some different way of thinking about the problem of the "spirit" residing behind any letterforms are suggested, connecting to current research issues in the field of artificial intelligence. - Douglas Hofstadter quoting philosopher and composer John Myhill: "Myhill is bold enough to speculate as follows: "The analogue of Godel's theorem for aesthetics would therefore be: There is no school of art which permits the production of all beauty and excludes the production of all ugliness." To each coin there are two sides; and the obverse side of beauty is ugliness. By a rather ironic coincidence, the complementary set to a productive (or prospective) set is called, in the jargon of mathematical logic, creative. It must be admitted that it would take a stupendously brilliant, if perverse, sort of creativity to produce all possible ugly objects." "The American logician John Myhill has proposed a metaphorical extension of the lessons that we have learned from the theorems of Godel, Church, and Turing about the scope and limitations of logical systems. The most accessible and quantifiable aspects of the world have the property of being computable: Th
Re: Figure number X
Thanx Uwe, but putting that at my preamble, Lyx gives me the following error: Undefined control sequence. \numberwithin {figure}{section} The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. --- Uwe Stöhr <[EMAIL PROTECTED]> escreveu: > [EMAIL PROTECTED] wrote: > > > I want my Lyx figures following the section > numbers before the figure numbers, like the example > above: > > > > > --- > > 1 The First Section > > > > > > > > Figure 1.1: The pic example > > > > > > > > Figure 1.2: Another pic example > > Add the following line to the preamble: > > \numberwithin{figure}{section} > > regards Uwe > Abraços! Douglas ___ Yahoo! Acesso Grátis: Internet rápida e grátis. Instale o discador agora! http://br.acesso.yahoo.com/
Re: Pdf utilities and fonts, an off topic jot
- Original Message - From: "Matthew Gates" <[EMAIL PROTECTED]> To: Sent: Sunday, November 13, 2005 3:19 AM Subject: Re: Pdf utilities and fonts, an off topic jot On Sunday 13 November 2005 11:03, Stephen Harris wrote: Probably you thought that I was going to lead up to something profoundly philosphical ... ...when actually it seems all you want to do is spam us. Thanks a bunch. I guess I should have read your comment and your website before putting any effort into a reply. http://porpoisehead.net/mysw/index.php Mathew Gates wrote: "What you won't find ... Big, complex applications. I'm pretty old fashioned, and I'm getting old and stupid, so I like to keep it small and simple so it will fit in my little brain." [I hear eggrolls don't grow back.] SH: I can certainly see why you didn't find any entertainment value in my post which was intended as weekend humor. Well, now there is a worthwhile post by mywebs2005 to read. I've guess you've heard of KISS, Stephen
Re: Figure number X
[EMAIL PROTECTED] wrote: > Thanx Uwe, but putting that at my preamble, Lyx > gives me the following error: > > Undefined control sequence. > \numberwithin > {figure}{section} \numberwithin is a command of AMS math. Alternatively, try \renewcommand\thefigure{\thesection.\arabic{figure}} Jürgen P.S.: Please don't top-quote.
windows: position of lyx window at launch
hello is this issue (i.e. that lyx remembres the window size and position it had at exit) being fixed in version 1.4? this would be great. thanks and best regards from a castle in switzerland, marco
Re: Pdf utilities and fonts, an off topic iota recanted
- Original Message - From: "Matthew Gates" <[EMAIL PROTECTED]> To: Sent: Sunday, November 13, 2005 3:19 AM Subject: Re: Pdf utilities and fonts, an off topic jot On Sunday 13 November 2005 11:03, Stephen Harris wrote: Probably you thought that I was going to lead up to something profoundly philosphical ... ...when actually it seems all you want to do is spam us. Thanks a bunch. Ok, you are not stupid. I've looked at your website and documentation. I see you are quite concerned with spam from your program tools. I intended my post to be educational. Knuth wrote TeX, is probably the number one computer scientist in the world. And his books on the Art of Programming are the bibles. His first or second book is about Algorithms, the heart of programming which is the basis of TeX, and LyX is the frontend for TeX. How much can a program do is a Hofstadter challenge. It is relevant to requests for grammar checkers. Obviously, this had no theoretical appeal to you. My first interest is writing and with free cross-platform tools for writing, second, fixing computer problems for customers (and I've been of some help in giving Windows advice on this forum) while my program authoring interest doesn't go much past novice regular expressions and simple scripts. I like astronomy and know about how close Mars is now and that what may be determined as the tenth planet has a moon. So I like the Stellarium concept and the remdup tool. Also gipfel, http://www.ecademix.com/JohannesHofmann/#gipfel So I appreciated you enough to retract my snide comments. I've downloaded Stellarium and your LyX documentation so you will be tested. Then also, I now need to write a grocery list before shopping. So, I am older, stupider, and unfortunately not much wiser tambien. A vote for Persephone, Stephen
Re: Multline subscript / AMS in LyX
On Saturday 12 November 2005 11:41, Georg Baum wrote: > > It is "semi-supported": It has no GUI entry, and you can't distinguish it > optically in LyX from a normal array, but you can create a 1x1 subarray if > you enter \subarray in math mode. You can then add columns and rows > or change alignment with the usual tabular commands. > Every AMS construct I know of is at least supported like subarray. > > > Georg Yep! It works! Thanks Georg. I entered the command \subarray, created the lines and then changed the alignment in Edit -> Tabular -> Align Left. Do you know if the package empheq: http://www.ctan.org/tex-archive/macros/latex/contrib/mh/doc/empheq.pdf is also implemented in LyX? Among other stuff it creates a box around a system of equations. -- Rudi Gaelzer Departament of Physics Institute of Physics & Mathematics Federal University of Pelotas Caixa Postal 354 - Campus UFPel 96010-900 Pelotas - RS BRAZIL Phone: +55-53-275-7468 FAX: +55-53-275-7343 Registered Linux user # 153741
Re: Multline subscript / AMS in LyX
Am Sonntag, 13. November 2005 17:14 schrieb Rudi Gaelzer: > Do you know if the package empheq: > http://www.ctan.org/tex-archive/macros/latex/contrib/mh/doc/empheq.pdf > is also implemented in LyX? Among other stuff it creates a box around a > system of equations. No, it is not, but it should be ;-) See http://bugzilla.lyx.org/show_bug.cgi?id=2128 Georg
Re: Installation Problem. All entries in Textclass.lst are "false " so no output. Any suggestions?
John Kane wrote: From a DOS prompt, try the following: 1. Type 'path' to get the system path. Make sure that >>(a) the MiKTeX bin directory is properly listed and (b) no directory ahead of it contains a file named latex.exe. Appears not to: Path is c:\program files\imagemagick-6.2.5-q16;C:\Perl\bin\;C:\texmf\miktex\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\MDL Shared\ISIS;C:\msys\1.0\bin and I don't see anything in texmf or miktex that looks suspicious The output you posted shows that you are executing the latex.exe provided by MiKTeX, which confirms the lack of suspects here. 2. I've attached the file used to test your LaTeX installation. and run 'latex chklatex.ltx'. It should cough up a log file, that should contain the string 'ThisIsLaTeX2e' (lack of spaces intentional). I ran the 'latex chklatex.ltx' file. No sign of 'ThisIsLaTeX2e' as far as I can see. The log is at http://ca.geocities.com/jrkrideau/LyX/LatexLog12nov05.pdf . Roger that. For comparison purposes, here is what I get on my system: --- log begins --- This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4) (preloaded format=latex 2005.11.4) 13 NOV 2005 15:56 entering extended mode **chklatex.ltx (chklatex.ltx LaTeX2e <2003/12/01> Babel and hyphenation patterns for english, dumylang, nohyphenation, ge rman, ngerman, french, loaded. ThisIsLaTeX2e ) Here is how much of TeX's memory you used: 6 strings out of 95901 56 string characters out of 1195189 44793 words of memory out of 1048577 3139 multiletter control sequences out of 6 3640 words of font info for 14 fonts, out of 100 for 2000 14 hyphenation exceptions out of 4999 5i,0n,1p,49b,8s stack positions out of 5000i,500n,1p,20b,32768s No pages of output. --- log ends --- So something seems amiss with MiKTeX, and if I had to guess I would say that there is a configuration file somewhere that has developed an unfortunate sense of humor. Unfortunately, my knowledge of LaTeX in general and MiKTeX in particular does not go very far beyond the funky capitalizations thereof. I note that my log mentions a preloaded format and yours does not. You might try running the MiKTeX Options program from the Start menu, clicking the Update Now button on the general tab. If you upgraded an old MiKTeX (as the paragraph below suggests) and did not rediddle the formats, things could get dicey. (I had font generation go on hiatus until I did a format refresh.) The annoying thing is that I spend an hour and a half downloading and installing a new copy of MiKTeX and I thought that I had manged to kill off everything from the old installation. Well another clean sweep tomorrow or Monday and I'll see what happens. Try the update thingy first, lest the re-re-install waste time. Someone once said the definition of insanity is doing the same thing repeatedly but expecting different results. They obviously were not installing software when they wrote that (or else equated installing software with insanity, which might not be entirely incorrect). Below is a quick summary of what I think I have at the moment. Thanks for all the help. I get the feeling that this may not be impossible after all. Installed files and paths Actual according to the LyX installer C:\msys\1.0\bin (sh.exe) C:\Python23 (Python.exe) C:\texmf\miktex\bin (latex.exe) C:\Perl\bin (Perl.exe) C:\Program Files\gs\gs8.51\bin (gswin32c.exe) C:\Program Files\ImageMagick-6.2.5-Q16 (convert.exe) C:\LyX Before installing LyX I checked and all of the above programs loaded including latex.exe. According to computer I also had gswview which also loaded. C:\GSTools\gsview (gsview32.exe) LyX path after installation C:\msys\1.0\bin;C:\Python23;C:\texmf\miktex\bin;C:\Perl\bin;C:\Program Files\gs\gs8.51\bin;C:\Program Files\ImageMagick-6.2.5-Q16 I added the gsview path and reconfigured. New LyX paths C:\msys\1.0\bin;C:\Python23;C:\texmf\miktex\bin;C:\Perl\bin;C:\Program Files\gs\gs8.51\bin;C:\Program Files\ImageMagick-6.2.5-Q16;C:\GSTools\gsview Systems Paths c:\program files\imagemagick-6.2.5-q16;C:\Perl\bin\;C:\texmf\miktex\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\MDL Shared\ISIS;C:\msys\1.0\bin This all looks copacetic. I should have mentioned earlier that (IIRC) you have to install Ghostscript before you install Ghostgum. If you did them in the opposite order, that might explain your registry adventure (although I think if you try to install Ghostgum first it just punts). Also, once upon a time LyX users on Windows experienced major problems if Ghostscript was installed in a path containing spaces (for instance, under Program Files). I ended up installing it under C:\gs (after trying it under Program
Re: Installation Problem. All entries in Textclass.lst are "false " so no output. Any suggestions?
- Original Message - From: "Paul A. Rubin" <[EMAIL PROTECTED]> To: Sent: Sunday, November 13, 2005 1:13 PM Subject: Re: Installation Problem. All entries in Textclass.lst are "false " so no output. Any suggestions? 2. I've attached the file used to test your LaTeX installation. and run 'latex chklatex.ltx'. It should cough up a log file, that should contain the string 'ThisIsLaTeX2e' (lack of spaces intentional). I ran the 'latex chklatex.ltx' file. No sign of 'ThisIsLaTeX2e' as far as I can see. The log is at http://ca.geocities.com/jrkrideau/LyX/LatexLog12nov05.pdf . Roger that. For comparison purposes, here is what I get on my system: --- log begins --- This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4) (preloaded format=latex 2005.11.4) 13 NOV 2005 15:56 entering extended mode **chklatex.ltx (chklatex.ltx LaTeX2e <2003/12/01> Babel and hyphenation patterns for english, dumylang, nohyphenation, ge rman, ngerman, french, loaded. ThisIsLaTeX2e ) Here is how much of TeX's memory you used: 6 strings out of 95901 56 string characters out of 1195189 44793 words of memory out of 1048577 3139 multiletter control sequences out of 6 3640 words of font info for 14 fonts, out of 100 for 2000 14 hyphenation exceptions out of 4999 5i,0n,1p,49b,8s stack positions out of 5000i,500n,1p,20b,32768s No pages of output. --- log ends --- This is what I get also though the direct output was slightly different. So something seems amiss with MiKTeX, and if I had to guess I would say that there is a configuration file somewhere that has developed an unfortunate sense of humor. Unfortunately, my knowledge of LaTeX in general and MiKTeX in particular does not go very far beyond the funky capitalizations thereof. I note that my log mentions a preloaded format and yours does not. You might try running the MiKTeX Options program from the Start menu, clicking the Update Now button on the general tab. If you upgraded an old MiKTeX (as the paragraph below suggests) and did not rediddle the formats, things could get dicey. (I had font generation go on hiatus until I did a format refresh.) Well, the installation not building a format file (latex.fmt) is looking more likely. John's log file ends with "initexmf: The file "latex.efmt" could not be found. cannot make latex.efmt I can't find the default format file!" I read of another problem with the format file caused in this case of fptex .4 for windows being overinstalled by fptex .4. Thank you Prof. Ripley. I'll bet it is the .fmt file(s). Isn't there a way to just rebuild the formats w/o a complete make/remake Yes, sure : c:\>fmtutil --all It depends on what you have installed, but clearly, you have a 0.4 format file found by your 0.5 installation. [for windows fptex] Fabrice SH: But John didn't mention he had a prior version of *tex installed. The annoying thing is that I spend an hour and a half downloading and installing a new copy of MiKTeX and I thought that I had manged to kill off everything from the old installation. Well another clean sweep tomorrow or Monday and I'll see what happens. Try the update thingy first, lest the re-re-install waste time. Well, it has the merit of being quick and painless. Miktex options, refresh database and fonts etc. Before installing LyX I checked and all of the above programs loaded including latex.exe. According to computer I also had gswview which also loaded. C:\GSTools\gsview (gsview32.exe) This all looks copacetic. > Paul It looks like the cure is to eliminate any conflict with creating a working format file, I think called latex.fmt. Sometimes installing over a prior version doesn't seem to hurt at all and other times its a recipe for disaster. There have been no other reports of problems with the Miktex "large" install. Not everybody used small or total. I'll read up on latex.fmt, Stephen
Re: Installation Problem. All entries in Textclass.lst are "false " so no output. Any suggestions?
- Original Message - From: "Stephen Harris" <[EMAIL PROTECTED]> To: Sent: Sunday, November 13, 2005 3:29 PM Subject: Re: Installation Problem. All entries in Textclass.lst are "false " so no output. Any suggestions? I'll read up on latex.fmt, Stephen I copied latex.ltx from the base directory into the parent texmf directory because I didn't want to take a chance on producing a copy of latex.fmt which overwrote the existing file. The command is "initex latex.ltx" which then produced a latex.fmt file. The output of the process looked very much like the output which John produced at http://ca.geocities.com/jrkrideau/LyX/LatexLog12nov05.pdf latex.fmt is an executable type file with those weird squiqqleys. I think John should try this and compare it to my result. It is a bit long so I will send an attachment to him apart from the list. I'm a bit worried that it won't work because of a malevolent presence sabotaging the best laid plans of mice and men. Scotts Steinbeck, Stephen
Re: Multline subscript / AMS in LyX
Rudi Gaelzer schrieb: Does anyone know if the subarray AMS environment is implemented in LyX (I mean, not in ERT mode) and how to use it? I want a multline subscript with the lines left-aligned. The command \substack is implemented, but the lines are centered. The subarray environment is the way to do this. Can you read german? If yes then have a look at chapter 10.2 of http://wiki.lyx.org/uploads/LyX/LyXMathebefehle/LyXMathebefehle.pdf or http://wiki.lyx.org/uploads/LyX/LyXMathebefehle/LyXMathebefehle.lyx (from http://wiki.lyx.org/LyX/LyXMathebefehle) Th last two formulas in this chapter are examples for multiline subscripts. Also, where can I find a description of AMS resources supported by LyX? The User Guide seems to be fairly incomplete on the subject. The LyXMathebefehle documentation cover nearly every math stuff and how it is implemented in LyX. Unfortunately only in german because I don't find the time to translate it. regards Uwe
Re: Figure number X
[EMAIL PROTECTED] wrote: Thanx Uwe, but putting that at my preamble, Lyx gives me the following error: Undefined control sequence. \numberwithin {figure}{section} Oh I forgot to say that you need to use AMS-math. Check the option "Use AMS math" in LyX's menu Layout -> Document -> Packages and it should work. regards Uwe
Re: Installation Problem. All entries in Textclass.lst are "false " so no output. Any suggestions?
- Original Message - From: "Paul A. Rubin" <[EMAIL PROTECTED]> To: Sent: Sunday, November 13, 2005 1:13 PM Subject: Re: Installation Problem. All entries in Textclass.lst are "false " so no output. Any suggestions? Paul I'm wondering if John might have done a net install in which he didn't download the files first with setup.exe and then run setup.exe again to build the installation. That is how I ran the Miktex install, how did you do it? If John bypassed storing the files and then installing, the net install might miss a file or run just a little askew. Seems like he should know if he had an old *tex version install. You got the same result as me so our approaches must be the same while John has strayed from the righteous path, and I'm looking for some small difference in our steps. Regards, Stephen
Re: Pdf utilities and fonts, an off topic iota recanted
> > On Sunday 13 November 2005 11:03, Stephen Harris wrote: > >> Probably you thought that I was going to lead up to something > >> profoundly philosphical ... > > > > ...when actually it seems all you want to do is spam us. Thanks a > > bunch. I think I got out of the wrong side of bed yesterday. Sorry about that.