Re: script or software for batch updating of files to version 10
There was an »ExtendScript of the Week« that might be a good starting point: http://blogs.adobe.com/techcomm/2011/10/extendscript-of-the-week-create-a-upgraded-copy-of-book.html - Michael Bjørn Smalbro wrote: I have a client who wishes to update some thousand framemaker files and framemaker book files from version 7 to 10. Would anybody know a method for batch conversion? I suppose it can be done using Extend Script, but is one also able to handle the error messages which are bound to come, like missing fonts or pictures? I am not too keen on Framescript even though I am certain it works allright. regards Bjørn -- ___ Michael Müller-Hillebrand: Dokumentation Technology Adobe Certified Expert, FrameMaker Consulting and Training, FrameScript, XML/XSL, Unicode Blog [de]: http://cap-studio.de/ ___ You are currently subscribed to framers as arch...@mail-archive.com. Send list messages to framers@lists.frameusers.com. To unsubscribe send a blank email to framers-unsubscr...@lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to listad...@frameusers.com. Visit http://www.frameusers.com/ for more resources and info.
RE: Deleting backup files
Before you read further, realize that the consequence of using a batch command to delete files can impact a lot of what you have on a computer. The samples that were previously provided, as well as the update I suggest, can dramatically change the landscape. Using this stuff incorrectly, or in the wrong place is a bit like using a backhoe to move a kids swing set. Sure, it works, and if you do it well, it works with no negative issues, but if you do it wrong the whole thing crashes down around you. SO, DON'T USE THIS CODE/BATCH FILE UNLESS YOU REALLY THINK THROUGH WHAT YOU ARE DOING. Now that the Danger Will Robinson moment has passed, let's move on. I'd suggest one more quick change to the code... The line in step 5 reads: del /s *backup* *.log *.tps *.tpdf I would suggest changing it to: del /s /q *.backup.fm *.log *.tps *.tpdf The update to *.backup.fm ensures you don't accidently delete a file named, for example, create_backups.fm which you don't want to remove, but create_backups.backup.fm WOULD be deleted. The addition of /q runs quiet and won't prompt you for anything, it will just wipe files. Also, I have a tiny file that I created that does basically the same thing. First, I create a text file, put in the code I need, then rename that file to .bat instead of .txt Then, and do this carefully, I place the .bat file into a folder (using Windows Explorer) that is the root for the backup files you need to wipe. Then, again in Explorer, dbl click the .bat. So I may create the batch, put it into E:\mydocs\FM\DITA_User_Guide\ and that has 5 subfolders, and 10,000 topics, including a lot of backup files, log files, temp files, temp PDF. Then, in that folder, I double click. About 30 seconds later all 10,000 files are reviewed and what I don't need is wiped. BE REALLY REALLY REALLY REALLY REALLY REALLY careful with this. If you accidently have *.fm in your .bat file, OR you put it into a map to a server, or some folder where you didn't mean to do this, you can wipe a LOT more than you planned. The *.log file (as an example) is used in a lot more places than just Frame and PDF generation. You would NOT want to do this on your C: drive either. Lastly, this method works way faster than the Windows Explorer 'find' feature as it will just wipe the files with any of the four extensions. To do it via Explorer may mean you take extra time to find each type, search, select, delete. The *.bat is super fast, but can have dangerous consequences. Hope that helps out. Bernard Bernard Aschwanden Publishing Smarter www.publishingsmarter.com Write Less. Write Better. -Original Message- From: framers-boun...@lists.frameusers.com [mailto:framers-boun...@lists.frameusers.com] On Behalf Of Syed Zaeem Hosain (syed.hos...@aeris.net) Sent: November-30-11 23:41 To: Theresa de Valence; framers@lists.frameusers.com Subject: RE: Deleting backup files 1. Open a DOS command prompt window. 2. Navigate to the directory of choice. If the directory name is long, or has spaces in it, enclose it in double quotes (like this cd \tree name\folder name\ for example). 4. Make a copy of everything before deleting the backups (in case something goes wrong!). I do it like this in the directory where I am: mkdir BACKFILES copy *.* BACKFILES\*.* /v 5. Then delete the FrameMaker backup and log files you want to (this is what I use for example): del *backup* *.log *.tps *.tpdf Be careful above! Do NOT have any spaces beween the '*' characters and the other characters. By the way, I keep the above del line in a text file called cleanframe.bat (in my DOS command path somewhere) so that I just type cleanframe rather than take a risk of accidentally putting in spaces in the wrong place and deleting the wrong files! 6. After you are comfortable that you still have what you need, you remove the other files *if you want*: rmdir /s /q BACKFILES Again, be careful of what you are removing! Ultimately, having a complete backup (in case of recovery needs) is a good a idea before you start any of this - just to be safe. Good luck, Z -Original Message- From: framers-boun...@lists.frameusers.com [mailto:framers-boun...@lists.frameusers.com] On Behalf Of Theresa de Valence Sent: Wednesday, November 30, 2011 3:11 PM To: framers@lists.frameusers.com Subject: Deleting backup files Could someone please give me a command for deleting backup files in Windows (Windows 7)? This is for the end of the project when I am no longer opening all the working files. I'd like the command to work in the current directory and all subdirectories. I vaguely remember how to do this in DOS, but I don't know how to navigate directories which are longer than 8 chars! Many thanks, Theresa ___ You are currently subscribed to framers as syed.hos...@aeris.net.
RE: Stop number break in table
Thanks Roger! It will be tomorrow before I get back in those documents, but you’ve armed me with a lot of “weapons” to try. I feel comfortable now that I can get the number not to break, but still maintain adequate cell margin. Tim From: Roger Shuttleworth [mailto:rshuttlewo...@avbasesystems.com] Sent: Thursday, December 01, 2011 7:44 AM To: Timothy DeWees Subject: Re: Stop number break in table Hello Tim A couple of things come to mind: 1. Check your para format settings, on the Table Cell tab in the paragraph designer. There may be padding added there that you can eliminate. 2. Check the table format settings for padding inside the cells. These are *added* to any padding referred to in #1. 3. Check other para format settings, e.g. right tabs, indents, etc. 4. Since you say this doc is converted from Word, check for hidden characters at the end of lines. Word usually add a narrow hidden character immediately before the paragraph mark (pilcrow). To test for this, check that Vew Text Symbols is on, then use your right-arrow key to move a step at a time to the end of the line. The easiest way to get rid of these hidden characters is to save as MIF and then reopen and save as FM. It's a good idea to do that anyway. Hope this helps! Roger Roger Shuttleworth Technical Documentation AV-BASE Systems Inc. 1000 Air Ontario Drive, Suite 200 London, Ontario N5V 3S4 Tel. 519 691-0919 ext. 330 _ From: Timothy DeWees [mailto:tdew...@charter.net] To: framers@lists.frameusers.com Sent: Tue, 29 Nov 2011 05:37:30 -0500 Subject: Stop number break in table I am in the process of converting a Word Document to FrameMaker. I’ve got everything working correctly except for one detail. The document has a number of tables with a narrow column on the right margin for revision numbers. For numbers 1-9, it looks fine. But when I get to a two digit number (the document is currently on revision 10), the “10” insists on breaking across two lines. I’ve tried changing fonts and reducing cell margins to where it looks like there is plenty of space in the column to display the “10” on one line. But it still insists on breaking it across two lines. Thanks in advance for any advice you can give me! Tim DeWees ___ You are currently subscribed to framers as arch...@mail-archive.com. Send list messages to framers@lists.frameusers.com. To unsubscribe send a blank email to framers-unsubscr...@lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to listad...@frameusers.com. Visit http://www.frameusers.com/ for more resources and info.
RE: Stop number break in table
More excellent suggestions, thanks! From: Sarah O'Keefe [mailto:oke...@scriptorium.com] Sent: Thursday, December 01, 2011 7:47 AM To: Timothy DeWees Subject: Re: Stop number break in table Create a unique paragraph and change the Table settings for that paragraph in the paragraph designer (last tab on the right)... Sarah On Dec 1, 2011, at 4:37 AM, Timothy DeWees wrote: Thanks, that does work. But one problem is that reduces the cell insets for all cells in the table and causes text in other cells to run too close together. That was an issue in the original Word document that I was tasked to fix in the frame document. The whole document now looks great in frame, I just can't get this one number to render correctly in the right column. Tim From: Matt Sullivan [mailto:sullivanma...@gmail.com] Sent: Wednesday, November 30, 2011 7:00 PM To: Timothy DeWees Cc: framers@lists.frameusers.com Subject: Re: Stop number break in table Check the cell insets in the Table Designer. Reduce them and you should be ok -Matt @mattrsullivan On Tue, Nov 29, 2011 at 2:37 AM, Timothy DeWees tdew...@charter.net wrote: I am in the process of converting a Word Document to FrameMaker. I've got everything working correctly except for one detail. The document has a number of tables with a narrow column on the right margin for revision numbers. For numbers 1-9, it looks fine. But when I get to a two digit number (the document is currently on revision 10), the 10 insists on breaking across two lines. I've tried changing fonts and reducing cell margins to where it looks like there is plenty of space in the column to display the 10 on one line. But it still insists on breaking it across two lines. Thanks in advance for any advice you can give me! Tim DeWees ___ You are currently subscribed to framers as m...@grafixtraining.com. Send list messages to framers@lists.frameusers.com. To unsubscribe send a blank email to framers-unsubscr...@lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/matt%40grafixtraining.co m Send administrative questions to listad...@frameusers.com. Visit http://www.frameusers.com/ for more resources and info. ___ You are currently subscribed to framers as oke...@scriptorium.com. Send list messages to framers@lists.frameusers.com. To unsubscribe send a blank email to framers-unsubscr...@lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/okeefe%40scriptorium.com Send administrative questions to listad...@frameusers.com. Visit http://www.frameusers.com/ for more resources and info. ___ You are currently subscribed to framers as arch...@mail-archive.com. Send list messages to framers@lists.frameusers.com. To unsubscribe send a blank email to framers-unsubscr...@lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to listad...@frameusers.com. Visit http://www.frameusers.com/ for more resources and info.
Re: Keystroke commands for selecting tags in Save As PDF?
On 11/30/2011 10:30 PM, Combs, Richard wrote: Double-clicking works in both FM7.2 and FM9 (just confirmed both). I find it hard to believe that it wouldn't work in FM8. Maybe you're double-clicking too slowly? (You can test/adjust double-click speed in Control Panel Mouse.) Richard, I've just tested it and it works (blush!). Do you know I thought I tried every combination of Control+ Alt+ -- none of which worked. The answer I liked best was Penelope's which was Shift-Click to move everything out of Selected so that one could bring back only what was relevant. Thanks for all the advice, Theresa ___ You are currently subscribed to framers as arch...@mail-archive.com. Send list messages to framers@lists.frameusers.com. To unsubscribe send a blank email to framers-unsubscr...@lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to listad...@frameusers.com. Visit http://www.frameusers.com/ for more resources and info.
RE: Stop number break in table
Works like a champ guys, thanks. At first it didn't appear to work, but I forgot that the default setting for table margin in the paragraph designer is Cell margin *plus* what you put in the box. I had to change that to custom. Since I normally establish cell margins for a table in the table designer rather than the paragraph designer, I wasn't as familiar with that option. But that's a great trick because I work with tables a lot and that will come in handy in the future. From: Matt Sullivan [mailto:sullivanma...@gmail.com] Sent: Thursday, December 01, 2011 10:57 AM To: Rick Quatro Cc: Timothy DeWees; framers@lists.frameusers.com Subject: Re: Stop number break in table Yep, Stuart and Rick are correct...just create a Paragraph Formant for those numbers that sets the Table Cell properties appropriately and independently of the Table Format -Matt @mattrsullivan On Thu, Dec 1, 2011 at 8:20 AM, Rick Quatro r...@rickquatro.com wrote: You can reduce the individual cell margins via the Table Cell tab of the Paragraph Designer. Rick Quatro Carmen Publishing Inc. 585-659-8267 r...@frameexpert.com http://www.frameexpert.com From: framers-boun...@lists.frameusers.com [mailto:framers-boun...@lists.frameusers.com] On Behalf Of Timothy DeWees Sent: Thursday, December 01, 2011 4:37 AM To: framers@lists.frameusers.com Subject: FW: Stop number break in table Thanks, that does work. But one problem is that reduces the cell insets for all cells in the table and causes text in other cells to run too close together. That was an issue in the original Word document that I was tasked to fix in the frame document. The whole document now looks great in frame, I just can't get this one number to render correctly in the right column. Tim From: Matt Sullivan [mailto:sullivanma...@gmail.com] Sent: Wednesday, November 30, 2011 7:00 PM To: Timothy DeWees Cc: framers@lists.frameusers.com Subject: Re: Stop number break in table Check the cell insets in the Table Designer. Reduce them and you should be ok -Matt @mattrsullivan On Tue, Nov 29, 2011 at 2:37 AM, Timothy DeWees tdew...@charter.net wrote: I am in the process of converting a Word Document to FrameMaker. I've got everything working correctly except for one detail. The document has a number of tables with a narrow column on the right margin for revision numbers. For numbers 1-9, it looks fine. But when I get to a two digit number (the document is currently on revision 10), the 10 insists on breaking across two lines. I've tried changing fonts and reducing cell margins to where it looks like there is plenty of space in the column to display the 10 on one line. But it still insists on breaking it across two lines. Thanks in advance for any advice you can give me! Tim DeWees ___ You are currently subscribed to framers as m...@grafixtraining.com. Send list messages to framers@lists.frameusers.com. To unsubscribe send a blank email to framers-unsubscr...@lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/matt%40grafixtraining.co m Send administrative questions to listad...@frameusers.com. Visit http://www.frameusers.com/ for more resources and info. ___ You are currently subscribed to framers as m...@grafixtraining.com. Send list messages to framers@lists.frameusers.com. To unsubscribe send a blank email to framers-unsubscr...@lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/matt%40grafixtraining.co m Send administrative questions to listad...@frameusers.com. Visit http://www.frameusers.com/ for more resources and info. ___ You are currently subscribed to framers as arch...@mail-archive.com. Send list messages to framers@lists.frameusers.com. To unsubscribe send a blank email to framers-unsubscr...@lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to listad...@frameusers.com. Visit http://www.frameusers.com/ for more resources and info.
RE: framers Digest, Vol 74, Issue 1
What Matt and some others have mentioned is correct: The Table Cell tab in Paragraph Designer allows for individual cell margins and it even accepts negative numbers, so you can adjust the margins for just that one cell instead of affecting the entire table, as you do in Table Designer. ~~Gay = From: Matt Sullivan [mailto:sullivanma...@gmail.com] Sent: Wednesday, November 30, 2011 7:00 PM To: Timothy DeWees Cc: framers@lists.frameusers.com Subject: Re: Stop number break in table Check the cell insets in the Table Designer. Reduce them and you should be ok -Matt @mattrsullivan On Tue, Nov 29, 2011 at 2:37 AM, Timothy DeWees tdew...@charter.net wrote: I am in the process of converting a Word Document to FrameMaker. I've got everything working correctly except for one detail. The document has a number of tables with a narrow column on the right margin for revision numbers. For numbers 1-9, it looks fine. But when I get to a two digit number (the document is currently on revision 10), the 10 insists on breaking across two lines. I've tried changing fonts and reducing cell margins to where it looks like there is plenty of space in the column to display the 10 on one line. But it still insists on breaking it across two lines. Thanks in advance for any advice you can give me! Tim DeWees ___ This e-mail is for the use of the intended recipient(s) only. If you have received this e-mail in error, please notify the sender immediately and then delete it. If you are not the intended recipient, you must not use, disclose or distribute this e-mail without the author's prior permission. We have taken precautions to minimize the risk of transmitting software viruses, but we advise you to carry out your own virus checks on any attachment to this message. We cannot accept liability for any loss or damage caused by software viruses. Le present courriel est envoye a l'intention exclusive de son ou de ses destinataires. Si vous avez recu ce courriel par erreur, veuillez en aviser immediatement l'expediteur et supprimer ce message. Si vous n'etes pas le destinataire vise, nous vous informons que toute utilisation, divulgation ou distribution de cette communication est strictement interdite sans la permission prealable de l'auteur. Des precautions ont ete prises afin de reduire au maximum le risque de transmission de virus informatique, mais nous tenons a vous conseiller de proceder a vos propres verifications antivirus de toute piece jointe a ce message. Aucune responsabilite ne sera assumee a la suite de toute perte ou de tout dommage causes par des virus. This message has been scanned for malware by Websense. www.websense.com ___ You are currently subscribed to framers as arch...@mail-archive.com. Send list messages to framers@lists.frameusers.com. To unsubscribe send a blank email to framers-unsubscr...@lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to listad...@frameusers.com. Visit http://www.frameusers.com/ for more resources and info.
Re: FM 10 books
AFAIK, there are *no* FM10-specific books out (yet). Grant == Corinne Kenney wrote: Are there any decent (or any at all) FM 10 books out there? We can't use online resources. If anyone knows of FM 10 books, please recommend them. I think I've seen the suggestion that FM 9 Classroom in a Book is a good way to go. Any suggestions are appreciated! Corinne Kenney ___ You are currently subscribed to framers as arch...@mail-archive.com. Send list messages to framers@lists.frameusers.com. To unsubscribe send a blank email to framers-unsubscr...@lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to listad...@frameusers.com. Visit http://www.frameusers.com/ for more resources and info.
re-using paragraphs in Unstructured FrameMaker
Are there any tricks to pull in a paragraph (e.g. a note) into several documents for re-use beside using Text Insets? I'd like to put all these re-usable paragraphs in one document and then pull specific paragraphs into other documents -- similar to what you can do with the conref mechanism in DITA XML. Any ideas welcome. Ray ___ You are currently subscribed to framers as arch...@mail-archive.com. Send list messages to framers@lists.frameusers.com. To unsubscribe send a blank email to framers-unsubscr...@lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to listad...@frameusers.com. Visit http://www.frameusers.com/ for more resources and info.
RE: re-using paragraphs in Unstructured FrameMaker
ray.ll...@agfa.com wrote: Are there any tricks to pull in a paragraph (e.g. a note) into several documents for re-use beside using Text Insets? I'd like to put all these re-usable paragraphs in one document and then pull specific paragraphs into other documents -- similar to what you can do with the conref mechanism in DITA XML. Any ideas welcome. Ray Text insets are the way to go. What may not be obvious is that you can put all the text insets into the same document. A text inset is a complete flow. But a single FM file can contain any number of flows, each with its own name. When you use File Import File to import (by reference), you specify the file from which to import, and if it contains multiple flows, you're prompted to choose the flow you want. Create a new doc to serve as the container for your text inset flows. To create new flows, add disconnected pages (Special Add Disconnected Pages) -- as many as you want at a time. Because it's disconnected, each new page is a new flow (notice the end-of-flow symbol on each page). But they all have the default flow tag, A. You have to give each a unique and meaningful Flow Tag name so you'll know which flow to pick when importing to your destination doc(s). To do this, select a text frame, right-click, and select Object Properties. In the Customize Text Frame dialog, set Flow Tag to the name you want. Put each paragraph (or set of paragraphs, or table, ...) that you want to re-use into its own flow / text frame and you're ready go. HTH! Richard G. Combs Senior Technical Writer Polycom, Inc. richardDOTcombs AT polycomDOTcom 303-223-5111 -- rgcombs AT gmailDOTcom 303-903-6372 -- ___ You are currently subscribed to framers as arch...@mail-archive.com. Send list messages to framers@lists.frameusers.com. To unsubscribe send a blank email to framers-unsubscr...@lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to listad...@frameusers.com. Visit http://www.frameusers.com/ for more resources and info.
Re: re-using paragraphs in Unstructured FrameMaker
Hello Ray Text insets are your only option. But since you ask about storing all the reusable pieces in one document, you can do that. Add each reusable piece to a separate flow in the one document (using a meaningful name for each flow). Then when you insert the text inset into your container doc, specify which flow you want to insert. Remember that you have to insert the whole flow, so you must store each piece in its own flow. I believe you can have up to about 255 flows in a single doc. Hope this helps. Roger Roger Shuttleworth Technical Documentation AV-BASE Systems Inc. 1000 Air Ontario Drive, Suite 200 London, Ontario N5V 3S4 Tel. 519 691-0919 ext. 330 _ From: ray.ll...@agfa.com To: framers@lists.frameusers.com Sent: Fri, 02 Dec 2011 03:52:29 -0500 Subject: re-using paragraphs in Unstructured FrameMaker Are there any tricks to pull in a paragraph (e.g. a note) into several documents for re-use beside using Text Insets? I'd like to put all these re-usable paragraphs in one document and then pull specific paragraphs into other documents -- similar to what you can do with the conref mechanism in DITA XML. Any ideas welcome. Ray ___ You are currently subscribed to framers as arch...@mail-archive.com. Send list messages to framers@lists.frameusers.com. To unsubscribe send a blank email to framers-unsubscr...@lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to listad...@frameusers.com. Visit http://www.frameusers.com/ for more resources and info.
RE: Stop number break in table
Yes the dimension you enter in the Cell Margin boxes in the Paragraph Designer gets added to the default marginn from the table format. But you can enter a *negative* value in the Cell Margin box to reduce the default margin even if the mathematical operation is an addition. It works just the way it should. -Fred Ridder From: tdew...@charter.net To: sullivanma...@gmail.com; r...@rickquatro.com Subject: RE: Stop number break in table Date: Thu, 1 Dec 2011 11:48:20 -0600 CC: framers@lists.frameusers.com Works like a champ guys, thanks. At first it didn’t appear to work, but I forgot that the default setting for table margin in the paragraph designer is “Cell margin *plus*” what you put in the box. I had to change that to custom. Since I normally establish cell margins for a table in the table designer rather than the paragraph designer, I wasn’t as familiar with that option. But that’s a great trick because I work with tables a lot and that will come in handy in the future. From: Matt Sullivan [mailto:sullivanma...@gmail.com] Sent: Thursday, December 01, 2011 10:57 AM To: Rick Quatro Cc: Timothy DeWees; framers@lists.frameusers.com Subject: Re: Stop number break in table Yep, Stuart and Rick are correct...just create a Paragraph Formant for those numbers that sets the Table Cell properties appropriately and independently of the Table Format -Matt @mattrsullivan On Thu, Dec 1, 2011 at 8:20 AM, Rick Quatro r...@rickquatro.com wrote: You can reduce the individual cell margins via the Table Cell tab of the Paragraph Designer. Rick Quatro Carmen Publishing Inc. 585-659-8267 r...@frameexpert.com http://www.frameexpert.com From: framers-boun...@lists.frameusers.com [mailto:framers-boun...@lists.frameusers.com] On Behalf Of Timothy DeWees Sent: Thursday, December 01, 2011 4:37 AM To: framers@lists.frameusers.com Subject: FW: Stop number break in table Thanks, that does work. But one problem is that reduces the cell insets for all cells in the table and causes text in other cells to run too close together. That was an issue in the original Word document that I was tasked to fix in the frame document. The whole document now looks great in frame, I just can’t get this one number to render correctly in the right column. Tim From: Matt Sullivan [mailto:sullivanma...@gmail.com] Sent: Wednesday, November 30, 2011 7:00 PM To: Timothy DeWees Cc: framers@lists.frameusers.com Subject: Re: Stop number break in table Check the cell insets in the Table Designer. Reduce them and you should be ok -Matt @mattrsullivan On Tue, Nov 29, 2011 at 2:37 AM, Timothy DeWees tdew...@charter.net wrote: I am in the process of converting a Word Document to FrameMaker. I’ve got everything working correctly except for one detail. The document has a number of tables with a narrow column on the right margin for revision numbers. For numbers 1-9, it looks fine. But when I get to a two digit number (the document is currently on revision 10), the “10” insists on breaking across two lines. I’ve tried changing fonts and reducing cell margins to where it looks like there is plenty of space in the column to display the “10” on one line. But it still insists on breaking it across two lines. Thanks in advance for any advice you can give me! Tim DeWees ___ You are currently subscribed to framers as arch...@mail-archive.com. Send list messages to framers@lists.frameusers.com. To unsubscribe send a blank email to framers-unsubscr...@lists.frameusers.com or visit http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com Send administrative questions to listad...@frameusers.com. Visit http://www.frameusers.com/ for more resources and info.
script or software for batch updating of files to version 10
There was an ?ExtendScript of the Week? that might be a good starting point: http://blogs.adobe.com/techcomm/2011/10/extendscript-of-the-week-create-a-upgraded-copy-of-book.html - Michael > Bj?rn Smalbro wrote: >> I have a client who wishes to update some thousand framemaker files and >> framemaker book files from version 7 to 10. Would anybody know a method for >> batch conversion? I suppose it can be done using Extend Script, but is one >> also able to handle the error messages which are bound to come, like missing >> fonts or pictures? I am not too keen on Framescript even though I am certain >> it works allright. >> >> regards >> Bj?rn > -- ___ Michael M?ller-Hillebrand: Dokumentation Technology Adobe Certified Expert, FrameMaker Consulting and Training, FrameScript, XML/XSL, Unicode Blog [de]: http://cap-studio.de/
Deleting backup files
Before you read further, realize that the consequence of using a batch command to delete files can impact a lot of what you have on a computer. The samples that were previously provided, as well as the update I suggest, can dramatically change the landscape. Using this stuff incorrectly, or in the wrong place is a bit like using a backhoe to move a kids swing set. Sure, it works, and if you do it well, it works with no negative issues, but if you do it wrong the whole thing crashes down around you. SO, DON'T USE THIS CODE/BATCH FILE UNLESS YOU REALLY THINK THROUGH WHAT YOU ARE DOING. Now that the "Danger Will Robinson" moment has passed, let's move on. I'd suggest one more quick change to the code... The line in step 5 reads: del /s *backup* *.log *.tps *.tpdf I would suggest changing it to: del /s /q *.backup.fm *.log *.tps *.tpdf The update to *.backup.fm ensures you don't accidently delete a file named, for example, "create_backups.fm" which you don't want to remove, but "create_backups.backup.fm" WOULD be deleted. The addition of /q runs "quiet" and won't prompt you for anything, it will just wipe files. Also, I have a tiny file that I created that does basically the same thing. First, I create a text file, put in the code I need, then rename that file to .bat instead of .txt Then, and do this carefully, I place the .bat file into a folder (using Windows Explorer) that is the root for the backup files you need to wipe. Then, again in Explorer, dbl click the .bat. So I may create the batch, put it into E:\mydocs\FM\DITA_User_Guide\ and that has 5 subfolders, and 10,000 topics, including a lot of backup files, log files, temp files, temp PDF. Then, in that folder, I double click. About 30 seconds later all 10,000 files are reviewed and what I don't need is wiped. BE REALLY REALLY REALLY REALLY REALLY REALLY careful with this. If you accidently have *.fm in your .bat file, OR you put it into a map to a server, or some folder where you didn't mean to do this, you can wipe a LOT more than you planned. The *.log file (as an example) is used in a lot more places than just Frame and PDF generation. You would NOT want to do this on your C: drive either. Lastly, this method works way faster than the Windows Explorer 'find' feature as it will just wipe the files with any of the four extensions. To do it via Explorer may mean you take extra time to find each type, search, select, delete. The *.bat is super fast, but can have dangerous consequences. Hope that helps out. Bernard Bernard Aschwanden Publishing Smarter www.publishingsmarter.com Write Less. Write Better. -Original Message- From: framers-bounces at lists.frameusers.com [mailto:framers-boun...@lists.frameusers.com] On Behalf Of Syed Zaeem Hosain (Syed.Hosain at aeris.net) Sent: November-30-11 23:41 To: Theresa de Valence; framers at lists.frameusers.com Subject: RE: Deleting backup files 1. Open a DOS command prompt window. 2. Navigate to the directory of choice. If the directory name is long, or has spaces in it, enclose it in double quotes (like this "cd \tree name\folder name\" for example). 4. Make a copy of everything before deleting the backups (in case something goes wrong!). I do it like this in the directory where I am: mkdir BACKFILES copy *.* BACKFILES\*.* /v 5. Then delete the FrameMaker backup and log files you want to (this is what I use for example): del *backup* *.log *.tps *.tpdf Be careful above! Do NOT have any spaces beween the '*' characters and the other characters. By the way, I keep the above del line in a text file called "cleanframe.bat" (in my DOS command path somewhere) so that I just type "cleanframe" rather than take a risk of accidentally putting in spaces in the wrong place and deleting the wrong files! 6. After you are comfortable that you still have what you need, you remove the other files *if you want*: rmdir /s /q BACKFILES Again, be careful of what you are removing! Ultimately, having a complete backup (in case of recovery needs) is a good a idea before you start any of this - just to be safe. Good luck, Z -Original Message- From: framers-bounces at lists.frameusers.com [mailto:framers-boun...@lists.frameusers.com] On Behalf Of Theresa de Valence Sent: Wednesday, November 30, 2011 3:11 PM To: framers at lists.frameusers.com Subject: Deleting backup files Could someone please give me a command for deleting backup files in Windows (Windows 7)? This is for the end of the project when I am no longer opening all the working files. I'd like the command to work in the current directory and all subdirectories. I vaguely remember how to do this in DOS, but I don't know how to navigate directories which are longer than 8 chars! Many thanks, Theresa ___ You are currently subscribed to framers
re-using paragraphs in Unstructured FrameMaker
Are there any tricks to pull in a paragraph (e.g. a note) into several documents for re-use beside using Text Insets? I'd like to put all these re-usable paragraphs in one document and then pull specific paragraphs into other documents -- similar to what you can do with the conref mechanism in DITA XML. Any ideas welcome. Ray -- next part -- An HTML attachment was scrubbed... URL: <http://lists.frameusers.com/pipermail/framers/attachments/20111202/15e1a425/attachment.html>
re-using paragraphs in Unstructured FrameMaker
ray.lloyd at agfa.com wrote: > Are there any tricks to pull in a paragraph (e.g. a note) into several > documents for re-use beside using Text Insets? I'd like to put all > these re-usable paragraphs in one document and then pull specific > paragraphs into other documents -- similar to what you can do with the > conref mechanism in DITA XML. > Any ideas welcome. > Ray Text insets are the way to go. What may not be obvious is that you can put all the text insets into the same document. A text inset is a complete flow. But a single FM file can contain any number of flows, each with its own name. When you use File > Import > File to import (by reference), you specify the file from which to import, and if it contains multiple flows, you're prompted to choose the flow you want. Create a new doc to serve as the container for your text inset flows. To create new flows, add disconnected pages (Special > Add Disconnected Pages) -- as many as you want at a time. Because it's disconnected, each new page is a new flow (notice the end-of-flow symbol on each page). But they all have the default flow tag, "A." You have to give each a unique and meaningful Flow Tag name so you'll know which flow to pick when importing to your destination doc(s). To do this, select a text frame, right-click, and select Object Properties. In the Customize Text Frame dialog, set Flow Tag to the name you want. Put each paragraph (or set of paragraphs, or table, ...) that you want to re-use into its own flow / text frame and you're ready go. HTH! Richard G. Combs Senior Technical Writer Polycom, Inc. richardDOTcombs AT polycomDOTcom 303-223-5111 -- rgcombs AT gmailDOTcom 303-903-6372 --
re-using paragraphs in Unstructured FrameMaker
Hello Ray Text insets are your only option. But since you ask about storing all the reusable pieces in one document, you can do that. Add each reusable piece to a separate flow in the one document (using a meaningful name for each flow). Then when you insert the text inset into your container doc, specify which flow you want to insert. Remember that you have to insert the whole flow, so you must store each piece in its own flow. I believe you can have up to about 255 flows in a single doc. Hope this helps. Roger Roger Shuttleworth Technical Documentation AV-BASE Systems Inc. 1000 Air Ontario Drive, Suite 200 London, Ontario N5V 3S4 Tel. 519 691-0919 ext. 330 _ From: ray.ll...@agfa.com To: framers at lists.frameusers.com Sent: Fri, 02 Dec 2011 03:52:29 -0500 Subject: re-using paragraphs in Unstructured FrameMaker Are there any tricks to pull in a paragraph (e.g. a note) into several documents for re-use beside using Text Insets? I'd like to put all these re-usable paragraphs in one document and then pull specific paragraphs into other documents -- similar to what you can do with the conref mechanism in DITA XML. Any ideas welcome. Ray -- next part -- An HTML attachment was scrubbed... URL: <http://lists.frameusers.com/pipermail/framers/attachments/20111202/417e6cf2/attachment.html>
Stop number break in table
Yes the dimension you enter in the Cell Margin boxes in the Paragraph Designer gets added to the default marginn from the table format. But you can enter a *negative* value in the Cell Margin box to reduce the default margin even if the mathematical operation is an addition. It works just the way it should. -Fred Ridder From: tdew...@charter.net To: sullivanmattr at gmail.com; rick at rickquatro.com Subject: RE: Stop number break in table Date: Thu, 1 Dec 2011 11:48:20 -0600 CC: framers at lists.frameusers.com Works like a champ guys, thanks. At first it didn?t appear to work, but I forgot that the default setting for table margin in the paragraph designer is ?Cell margin *plus*? what you put in the box. I had to change that to custom. Since I normally establish cell margins for a table in the table designer rather than the paragraph designer, I wasn?t as familiar with that option. But that?s a great trick because I work with tables a lot and that will come in handy in the future. From: Matt Sullivan [mailto:sullivanma...@gmail.com] Sent: Thursday, December 01, 2011 10:57 AM To: Rick Quatro Cc: Timothy DeWees; framers at lists.frameusers.com Subject: Re: Stop number break in table Yep, Stuart and Rick are correct...just create a Paragraph Formant for those numbers that sets the Table Cell properties appropriately and independently of the Table Format -Matt @mattrsullivan On Thu, Dec 1, 2011 at 8:20 AM, Rick Quatro wrote: You can reduce the individual cell margins via the Table Cell tab of the Paragraph Designer. Rick Quatro Carmen Publishing Inc. 585-659-8267 rick at frameexpert.com http://www.frameexpert.com From: framers-bounces at lists.frameusers.com [mailto:framers-boun...@lists.frameusers.com] On Behalf Of Timothy DeWees Sent: Thursday, December 01, 2011 4:37 AM To: framers at lists.frameusers.com Subject: FW: Stop number break in table Thanks, that does work. But one problem is that reduces the cell insets for all cells in the table and causes text in other cells to run too close together. That was an issue in the original Word document that I was tasked to fix in the frame document. The whole document now looks great in frame, I just can?t get this one number to render correctly in the right column. Tim From: Matt Sullivan [mailto:sullivanma...@gmail.com] Sent: Wednesday, November 30, 2011 7:00 PM To: Timothy DeWees Cc: framers at lists.frameusers.com Subject: Re: Stop number break in table Check the cell insets in the Table Designer. Reduce them and you should be ok -Matt @mattrsullivan On Tue, Nov 29, 2011 at 2:37 AM, Timothy DeWees wrote: I am in the process of converting a Word Document to FrameMaker. I?ve got everything working correctly except for one detail. The document has a number of tables with a narrow column on the right margin for revision numbers. For numbers 1-9, it looks fine. But when I get to a two digit number (the document is currently on revision 10), the ?10? insists on breaking across two lines. I?ve tried changing fonts and reducing cell margins to where it looks like there is plenty of space in the column to display the ?10? on one line. But it still insists on breaking it across two lines. Thanks in advance for any advice you can give me! Tim DeWees -- next part -- An HTML attachment was scrubbed... URL: <http://lists.frameusers.com/pipermail/framers/attachments/20111202/c200cf76/attachment.html>