XtGem Forum catalog
HomeBlogAbout Me

Apple Pages Document Converter



10 Feb 2017

I have a lot of documents authored with Apple’s Pages. I wanted to convert these to markdown texts with the images (mostly screen grabs). The Pages file format is a proprietary format, and so we are dependent on the limited export features that the program itself provides. So how can we do this? https://heretfiles868.weebly.com/macbook-skype-camera-not-working.html.

Apple pages

  • How to export Apple Pages files as Microsoft Word documents. If you’ve been working in Pages and will eventually return to Word, you can export your document as a Word file.
  • Click the Gear icon. Select Upload Document. Select a Pages file and then click Open. Right-click the Pages file. Select Download a Copy.
  • PAGES Converter PAGES.pages files are documents, created with Apple's word processor Pages, which is part of the iWork package. Pages is available for Mac OS X and iOS and is a competitor to Microsoft Word.pages files can contain complex documents with tables, charts and pictures.
  • Word documents created by Apple’s “Pages” program (under the Apple iWork Office Suit) have the file extension PAGES. Created in 2005, these documents can contain text and page layout tasks. The goal when developing this file format was to simplify the concepts in Microsoft Office.
Pages

I think pages is a very nice word processor and I have been using for some time to build documents for my students, to either print out or convert to PDF for delivery on our Moodle pages.

But I don’t want to print this type of material anymore. Beside, I need to update every year. Making version changes needs to happen more frequently, these documents really need to be delivered as web pages. Editing (and creating new pages) is better done with a markdown text editor.

The workflow

Pages is good at giving you options for export. You can export to PDF, Word, Plain text and ePub. But, you can’t export to HTML or markdown.

The challenge then was to take the Pages document and recreate as markdown for use here on this site, so the pages can be easily maintained.

How to Convert Pages to Word on Windows/Mac. Step 1: Open Pages file. Open Pages and find the Pages file you want to convert to word format. Later, click “File” option on the top toolbar. Choose “Export To” from its drop-down menu. Then you need to click “Word” from the submenu list besides.

Pandoc to the rescue

Pages

I just love this Pandoc. Thanks to John Macfarlane, a Professor of Philosophy at the University of California, we can convert just about any document format to any other with this universal document converter.

You can read the details here.

Pandoc is great but it does not offer Apple’s Pages as a source file format, so we need to use the Microsoft Word format as an interim. Here is what we do once we have Pandoc installed.

Export from pages to Word (make sure to use docx - the default)Locate the file just exported in the finder and change directory to there.

Here is an explanation of this terminal command:

  • first we change into the folder where our Word document has been saved
  • we now use pandoc with these parameters:
    • wrap=none tells pandoc to not wrap the text that it finds. In other words, allow the text to flow except where there are specific paragraph breaks
    • extract-media=images will pull the images out of the Word document and put them into a folder called images. This will be inside a media folder that pandoc creates automatically.
    • then we have the input file followed by the output needed. The .md extension tells pandoc to create a markdown file.

Then we have a markdown file and then all of the images from the Word document, will be put into the images folder (inside a media folder). The images will be renamed image1.png, image2.png etc (if they were originally png files) or image1.jpg Vi editor mac. if they were originally JPEG files.

The Markdown file

The markdown file will now need some editing. Here is what a portion looks like:

The reason that we are not seeing markdown headings with ## is because our pages document did not have named styles that could be converted. Not perfect, but we know that any span tag like this one is a heading, so we simply use a GREP search and replace like this:

Replaced with ##

We can remove the table of contents.

More GREP search and replace, will then help to build the image links with the correct structure and image location.

The image links have a width and height set, so we can easily replace this too.

Finally, we need to add our ALT tag text for each image.

Related Posts

Apple Pages Document Converter Pdf

0 && (!paying || presets)' v-cloak='>
0'>
PAGES Converter

PAGES

Apple Pages Document Converter Word

.pages files are documents, created with Apple's word processor Pages, which is part of the iWork package. Pages is available for Mac OS X and iOS and is a competitor to Microsoft Word. . Apple 3tb hard drive. pages files can contain complex documents with tables, charts and pictures.

PDF Converter

PDF

PDF is a document file format that contains text, images, data etc. This document type is Operating System independent. It is an open standard that compresses a document and vector graphics. It can be viewed in web browsers if the PDF plug-in is installed on the browser.

+200 Formats Supported

CloudConvert is your swiss army knife for file conversions. We do support nearly any audio, video, document, ebook, archive, image, spreadsheet or presentation format. No need to download and install any software.

Apple Pages Document Converter Download

Data Security

CloudConvert is trusted by our users and customers since 2012. No one will ever have access to your files. We earn money by selling access to our API, not by selling your data. Read more about that in our privacy policy.

High Quality Conversions

Besides using open source software under the hood, we have partnered with various software vendors to provide the best possible results. Most conversion types can be adjusted to your needs, such as setting the quality and many other options.

Powerful API

Our API allows custom integrations with your app. You only pay for what you actually use and there are huge discounts for high volume customers. We do provide a lot of handy features, such as a full Amazon S3 integration. Check out the API documentation.





Apple Pages Document Converter
Back to posts
This post has no comments - be the first one!

UNDER MAINTENANCE