[NTG-context] Speed of texexec with Unicode TrueType Font
All- Apologies if the question should go to another list - let me know if so. I am using texexec with MSPMincho on a Japanese utf-8 document. I followed the instructions and it appears to work well. Texexec runs several passes, and on each pass spends a *long* time integrating each font page. I get many lines saying: {path to enc/MSPMinchoXX.enc}path to tt/MSPMincho.ttf The time taken in this process is many times that of the rest of the conversion. The resulting PDF font properties lists MS-PMincho (Embedded Subset), Type: TrueType, Encoding: Built-in 75 times. I imagine that I am glad that the whole font is not included (for file size). However, during development it is painful to wait. Is there a way to optimize the process? Thanks, -Bryant [Panasonic] Panasonic Electric Works Laboratory of America - SLC Lab 4525 So. Wasatch Blvd., Suite 100, 84124 Salt Lake City, UT 84124 T 801.993.7124 F 801.993.7260 beast...@pewla.us.pewg.pansonic.com Bryant Eastham Chief Architect [Panasonic] inline: image001.gifinline: image003.gifinline: image004.pnginline: image005.png___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Speed of texexec with Unicode TrueType Font
Wolfgang- I can provide an example, but based on Taco's response it is unlikely to be of benefit. I have in the past tried more recent releases. I was not able to navigate the documentation and bugs to get something working. As this is merely an optimization issue, I can deal with the performance for now and (once things are all working) evaluate MkIV again in the future. Thanks, -Bryant -Original Message- From: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Wolfgang Schuster Sent: Saturday, January 23, 2010 8:12 PM To: mailing list for ConTeXt users Subject: Re: [NTG-context] Speed of texexec with Unicode TrueType Font Am 23.01.10 11:48, schrieb Bryant Eastham: All- Apologies if the question should go to another list - let me know if so. I am using texexec with MSPMincho on a Japanese utf-8 document. I followed the instructions and it appears to work well. Texexec runs several passes, and on each pass spends a **long** time integrating each font page. I get many lines saying: {path to enc/MSPMinchoXX.enc}path to tt/MSPMincho.ttf The time taken in this process is many times that of the rest of the conversion. The resulting PDF font properties lists MS-PMincho (Embedded Subset), Type: TrueType, Encoding: Built-in 75 times. I imagine that I am glad that the whole font is not included (for file size). However, during development it is painful to wait. Can you provide a example. Have you considered to use MkIV? Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] possible to run minimal in cygwin?
Hans: I would be happy to add that and several of my other discoveries to the wiki. What is the process for establishing a login? -Bryant -Original Message- From: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Hans Hagen Sent: Tuesday, November 03, 2009 11:28 AM To: mailing list for ConTeXt users Subject: Re: [NTG-context] possible to run minimal in cygwin? Chen Shen wrote: Hi Bryant, Thanks a lot! I got it working with your suggestion. The exact sequence was: 1. install ConTeXt in DOS cmd 2. run setuptex.bat in DOS cmd 3. enter cygwin by running cygwin.bat 4. in cygwin prompt, run context.cmd test.tex Our docbook-pdf/html flow was developed in unix. But I need to port it to Windows now for my colleagues. so best add that info to the wiki Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] possible to run minimal in cygwin?
I am doing exactly the same thing as you want. I believe your problem is in keeping your worlds (Windows/Cygwin) straight. It appears that you have installed minimals “inside” cygwin (depending on whether your /usr directory is your cygwin /usr directory). I installed minimals “normally”, as it is a Windows application. I ran the context setups from Windows. Then I can build with no problems from within cygwin by running the minimals cmd files (although you must specify the extension from within cygwin). I did not have to modify any files at all. So far, no problems. Just remember to keep your path information in “Windows” format, not cygwin. -Bryant From: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Chen Shen Sent: Monday, November 02, 2009 7:03 AM To: mailing list for ConTeXt users Subject: [NTG-context] possible to run minimal in cygwin? Hi all, I wonder if it possible to run the MSWin version of context-minimal under Cygwin. I want to use Makefile and other unix tools to automate my build process. I tried modifying the context/tex/setuptex script, and manually set the platform variable to mswin, but when I ran context.cmd, I saw the following error message. The texmf-cache path actually exists. Any hint? Thanks a lot! ==begin cut=== [administra...@cygwin test]$ context.cmd test1 Should I create the cache path /cygdrive/c/usr/docs/context/tex/texmf-cache? [ye s|no] [no] Should I create the cache path /cygdrive/c/usr/docs/context/tex/texmf-cache? [ye s|no] [no] MTXrun | unknown script 'context.lua' or 'mtx-context.lua' ==end cut=== regards, shenchen ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Page Numbering Hell (SOLVED)
All- I have attached a heavily commented MKII example that implements the structure that I want. The notes identify several (IMHO) weak spots in documentation, especially some consistency issues. In order to implement this (some said simple) format, I used: * http://www.pragma-ade.com/general/manuals/cont-enp.pdf (the manual) * http://www.opensubscriber.com/message/ntg-context@ntg.nl/9815615.html * http://wiki.contextgarden.net/Biochemistry_textbook * http://texshow.contextgarden.net * http://wiki.contextgarden.net/Titles#Truly_empty_pagebreak_before_chapte rs I'm fine with that. For those (most, I imagine) who don't want to wade through the notes, here is a summary of the most (again, IMHO) issues: * startsectionblockenvironment does not appear documented, and appears to be critical for this style * setuppagenumbering documentation is hard to follow for options 'by\em{section}' and '\em{section}number' o The manual uses inconsistent italics o The texshow page doesn't use italics where it should * setupcombinedlist (through setuplist) has the same inconsistent use of italics. * setuphead is not documented completely (no reference to special 'page' formats) * definepagebreak not documented Also, the solution for 'truly empty pagebreak before chapters' does not appear to work for the last chapter in the document. I would be more than happy to contribute to the texshow documentation and wiki, assuming that I would be given an account... J The list appears to be dead again, so I hope this makes it through. Thanks, -Bryant From: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Bryant Eastham Sent: Wednesday, October 21, 2009 12:37 AM To: ntg-context@ntg.nl Subject: [NTG-context] Page Numbering Hell All- A few days ago when I first stumbled on ConTeXt I was very, very excited. I have some 500 pages of technical documentation that could benefit from this, particularly since I need Japanese font support. But it has to be real. I'm sorry if this sounds caustic, but after 12 hours of failed attempts to even get a minimal document formatted I have some serious questions for the list: 1. Is Mark IV real? I am only somewhat joking here - after spending hours searching for reasonable documentation on even the most trivial options, I am left wondering whether this is something I want to use... 2. ConTeXt looks great. But what is current? Seriously, I like the look and the support (particularly Unicode). But going over documentation I cannot make heads or tails of what to do. Mark II? Mark IV? TeTeX? LuaTeX? If I really want to use this, what should I use? 3. Having answered #2, where in the world is a reference manual!!! I mean one that actually *documents the options*. 4. Having answered #3, are there any current examples that actually work? The snippets from the mailing are great, but they are just snippets. That doesn't help me. Now, to resolve my immediate issue, and just because I will not be able to sleep well until I figure this out (yes, I am fixated on this). I want this document structure: Contents 1. Chapter 1-1 1.1 Section 1-2 2. Chapter 2 2-1 2.1 Section 2-2 Table of contents on page i. Even/odd, each chapter starts on right page. Page number (as in 2-2) in top margin. Mark IV, Lua document. I have tried hundreds of different combinations. If it cannot do this, the I will (with sadness) move on. I'm sure that it would take someone who understands this about 5 minutes to write (if that). -Bryant Panasonic Electric Works Laboratory of America - SLC Lab 4525 So. Wasatch Blvd., Suite 100, 84124 Salt Lake City, UT 84124 T 801.993.7124 F 801.993.7260 beast...@pewla.us.pewg.pansonic.com Bryant Eastham Chief Architect ***CONFIDENTIALITY NOTICE***: This e-mail and any attachments may contain information which is confidential, proprietary, trade secret, privileged or otherwise protected by law. The information is the property of Panasonic Electric Works Laboratory of America, Inc., and is solely intended for the named addressee (or a person responsible or delivering it to the addressee). If you are not the intended recipient of this message, you are not authorized to read, print, retain copy or disseminate this message or any part of it. If you have received this e-mail in error, please notify the sender and the Office of General Counsel at generalcoun...@us.pewg.panasonic.com mailto:generalcoun...@us.pewg.panasonic.com immediately by return e-mail and delete it from your computer. image001.gifimage002.pngimage004.pngimage005.gif evaluate.docb.tex Description: evaluate.docb.tex
Re: [NTG-context] Page Numbering Hell
Aditya, Luigi, others- Thank you for your responses. I appreciate the candid answers, and the time you took to provide examples. Regarding Aditya's example, I do not get any errors, running LuaTeX, MKIV, beta-0.43.0-2009091520. However, I also do not get romannumerals in the frontpart, and pagenumbers do not reset to 1 at the beginning of each section. The magic command appears to be definestructureconversionset, which is not documented that I can see on http://texshow.contextgarden.net/. A search of the wiki results in a single match, which is not a complete example. Google led me to many snippets and emails, mostly non-functional. This was leading me down the same rabbit hole that I was going into before. Given other's responses, I think to stick with MKII for now. I will do as some have suggested, and keep my eye on MKIV while it stops moving. In particular, thanks to Taco for his concise summary of the differences between texexec and context (and quick fix of my reported bug). Yes, it did answer my question. -Bryant -Original Message- From: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Aditya Mahajan Sent: Wednesday, October 21, 2009 9:49 AM To: mailing list for ConTeXt users Subject: Re: [NTG-context] Page Numbering Hell On Wed, 21 Oct 2009, Bryant Eastham wrote: 1. Is Mark IV real? I am only somewhat joking here - after spending hours searching for reasonable documentation on even the most trivial options, I am left wondering whether this is something I want to use... MKIV is still a moving target. For example, the change is the structure code (headings, pagenumbers, lists, etc) started only in April. There are still some things that are not done yet. Documentation will only make sense once the interface is stable. For structure code, the interface is not fixed yet, so the only documentation is the examples in the source file. Parts that are stable (fonts, typescripts) are documented in the new manual (see wiki). The interface for most other things has not changed, so the MKII interface works. 2. ConTeXt looks great. But what is current? Seriously, I like the look and the support (particularly Unicode). But going over documentation I cannot make heads or tails of what to do. Mark II? Mark IV? TeTeX? LuaTeX? If I really want to use this, what should I use? Use MKII. It is stable and well documented. Unless there is some feature of MKIV that you definitely need. MKII had some support for unicode and oriental languages. 3. Having answered #2, where in the world is a reference manual!!! I mean one that actually *documents the options*. See http://www.pragma-ade.com/overview.htm Most of MKII options are documented in ConTeXt the manual. Parts of MKIV are documented in mk.pdf 4. Having answered #3, are there any current examples that actually work? The snippets from the mailing are great, but they are just snippets. That doesn't help me. The wiki: http://www.contextgarden.net Now, to resolve my immediate issue, and just because I will not be able to sleep well until I figure this out (yes, I am fixated on this). A partial solution (I don't know how to set the separator between chapter number and page number) Following Alan's email: % missing setups to: % 1. frontmatter pagenumbering conversion=romannumerals \setupuserpagenumber[way=byblock] \definestructureconversionset[frontpart:pagenumber][][romannumerals] \definestructureconversionset[bodypart:pagenumber] [][numbers] \setupuserpagenumber[numberconversionset=pagenumber] % 2. bodymatter pagenumbering chapter-page % 3. reset pagenumber for each chapter % I don't know how to set the - between chapter and page number \setupuserpagenumber [way=bychapter, prefix=yes, prefixset=chapter, prefixsegments=2:2, ] % 4. add blank pages if necessary to start chapters on odd pages. % 5. Page number in top margin \setuppagenumbering[location={header,margin},alternative=doublesided] \starttext \startfrontmatter \completecontent[criterium=all] \stopfrontmatter \startbodymatter \dorecurse{4} {\chapter{Chapter} \dorecurse{8} {\section{Section} \input knuth \endgraf}} \stopbodymatter \stoptext Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http
[NTG-context] Page Numbering Hell
All- A few days ago when I first stumbled on ConTeXt I was very, very excited. I have some 500 pages of technical documentation that could benefit from this, particularly since I need Japanese font support. But it has to be real. I'm sorry if this sounds caustic, but after 12 hours of failed attempts to even get a minimal document formatted I have some serious questions for the list: 1. Is Mark IV real? I am only somewhat joking here - after spending hours searching for reasonable documentation on even the most trivial options, I am left wondering whether this is something I want to use... 2. ConTeXt looks great. But what is current? Seriously, I like the look and the support (particularly Unicode). But going over documentation I cannot make heads or tails of what to do. Mark II? Mark IV? TeTeX? LuaTeX? If I really want to use this, what should I use? 3. Having answered #2, where in the world is a reference manual!!! I mean one that actually *documents the options*. 4. Having answered #3, are there any current examples that actually work? The snippets from the mailing are great, but they are just snippets. That doesn't help me. Now, to resolve my immediate issue, and just because I will not be able to sleep well until I figure this out (yes, I am fixated on this). I want this document structure: Contents 1. Chapter 1-1 1.1 Section 1-2 2. Chapter 2 2-1 2.1 Section 2-2 Table of contents on page i. Even/odd, each chapter starts on right page. Page number (as in 2-2) in top margin. Mark IV, Lua document. I have tried hundreds of different combinations. If it cannot do this, the I will (with sadness) move on. I'm sure that it would take someone who understands this about 5 minutes to write (if that). -Bryant Panasonic Electric Works Laboratory of America - SLC Lab 4525 So. Wasatch Blvd., Suite 100, 84124 Salt Lake City, UT 84124 T 801.993.7124 F 801.993.7260 beast...@pewla.us.pewg.pansonic.com Bryant Eastham Chief Architect ***CONFIDENTIALITY NOTICE***: This e-mail and any attachments may contain information which is confidential, proprietary, trade secret, privileged or otherwise protected by law. The information is the property of Panasonic Electric Works Laboratory of America, Inc., and is solely intended for the named addressee (or a person responsible or delivering it to the addressee). If you are not the intended recipient of this message, you are not authorized to read, print, retain copy or disseminate this message or any part of it. If you have received this e-mail in error, please notify the sender and the Office of General Counsel at generalcoun...@us.pewg.panasonic.com mailto:generalcoun...@us.pewg.panasonic.com immediately by return e-mail and delete it from your computer. image001.gifimage003.gifimage004.pngimage005.png___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___