Publishing NYC Cookbooks
Using Microsoft Word
You must have Word 10 or higher installed on your PC to publish cookbooks in Word. If you don’t have Word 10 or higher, see the section below on use of other word-processor software.
You should first attempt to publish a small cookbook (<50 recipes) to get a sense for how long it takes. Be prepared to wait for several minutes or longer when publishing large cookbooks (>1000 recipes). Realize that if your “fast” PC publishes about 5 recipes per second, it will take 1000 seconds (~17 minutes) to publish 5000 recipes.
To publish a cookbook:
1. Select File… Publish Cookbook…
2. Select a cookbook to publish, and press OK (or simply dbl-click a cookbook).
In the Publish Cookbook window, select a Word template
4. To stop the publishing in mid-cookbook, use the Interrupt button on the status bar window. This will safely shut down Word automation. DO NOT break the program or shut it down in any other way during publishing, or you may leave instances of Word running in memory, eventually forcing a reboot to clear system resources.
5. Press the Publish button.
NYC will then open Word and publish your recipes by category. NYC published cookbooks start with a cookbook title page, followed by a Table of Contents that includes categories and recipes within categories. Categories will be published as chapters in alphabetical order, and recipes within each category will be published one per page in alphabetical order within the category. An alphabetized index containing both recipe and category names will be included at the end of the cookbook. NYC will then prompt you to see if you want to open the published cookbook in Word.
NYC captures font styles from your selected Word template. Styles are specified in the template for the cookbook name, category, recipe title, ingredients, and directions. NYC positions the cookbook name, Table of Contents, recipes, and index according to bookmarks in the template. Ingredients and recipe image are positioned using a 2-column table that displays in Word but not in the printed document.
NYC publishes the recipes one per page in the cookbook. Uncategorized recipes will be omitted from the published cookbook, as will empty categories (categories with no recipes assigned to them). Recipes assigned to more than one category will only appear in the first category (i.e., the one nearer the top of the alphabet). For example, if you have several recipes assigned to “desserts” and “fruits”, they will appear in the Desserts chapter in the published cookbook. This may leave no recipes assigned to “fruits”, in which case this category would be omitted from the published cookbook.
Modifying the Published Cookbook (*.doc)
When you open the published cookbook in Word,
you can use Word to touch up the cookbook, or refo
Once you have the Word document the way you want it, you can print it or save it as a PDF file for a commercial printer.
Modifying the Word Templates (*.dot)
If you are skilled with Word, you can change
the basic fo
Troubleshooting Published Cookbooks
The most common problem occurs if a user does not have Word 10 or higher installed, in which case NYC gives an error message when it tries to open Word.
If you get “Error 429 ActiveX component can't create object trying to open Word document”, this suggests a problem with MS Word automation on your PC. One user reported he fixed the problem by running Detect and Repair from the Help menu in Word, which reported that the “Office Source” engine was disabled. To fix this, he right-clicked on My Computer… Manage… Services and Applications… Services… Office Source Engine and turned the service back on. Then he ran Detect and Repair again, after which NYC could successfully activate Word for publishing.
Some users find that the File… Publish… launches and seems to work, but a Table of Contents is omitted and/or the “Table of Contents” header appears in the wrong place. The reason for this is currently unknown, but it seems to happen only to certain users with non-English settings in Windows and in Word. Check the NYC FAQ for latest details on Troubleshooting External Applications.
If errors occur during publishing that force
Using WordPerfect, OpenOffice, or Other Word-Processor
For those using word processing programs other than Word, the best option is to export recipes to a text file using with “no line breaks”.
Use File… Export Recipes… to a generic text file
and check the box “no line breaks”.
For a cookbook, you can also “print to file” a specific cookbook with NYC. Use File… Print… cookbook... select “print to file”. However, the result will be a text file with line breaks, which would need to be removed for word-wrap to work in your word processor.
NYC can also “print to file” any of NYC reports. For a TOC, you can use NYC’s output of recipe names by category (see File… Print… categories… (say yes to “include recipe names”).
Given the relative effort involved in these non-Word options, you may want to purchase and install Word 10 or higher so you can use File… Publish Cookbook…