Quark – The one-man publisher https://onemanpublisher.paulbrookes.net Desktop publishing and printing for editors Tue, 30 Jan 2018 17:05:56 +0000 en-US hourly 1 https://wordpress.org/?v=4.9.2 Bullet points in QuarkXPress https://onemanpublisher.paulbrookes.net/blog/2008/06/02/bullet-points-in-quarkxpress/ https://onemanpublisher.paulbrookes.net/blog/2008/06/02/bullet-points-in-quarkxpress/#comments Mon, 02 Jun 2008 09:31:58 +0000 https://onemanpublisher.paulbrookes.net/?p=131

For reasons that have long escaped me, QuarkXPress has no automatic method for making bullet points (or numbered lists for that matter). There’s no magic button, as in MS Word, that gives you an instantly formatted bullet point that’s easy to customise.

If you’re importing text from MS Word (Word 2003 at least) using File>Import Text, your bullet points will disappear. The way I get around this is to follow the steps outlined on this post and this one. This also assumes your MS Word document is built on styles and you have set one up for bulleted lists.

Once your text is in QuarkXPress, you can then change the bullet character using Find/Change and deselecting the Ignore Attributes box — this allows you to change the font, colour and character. Because I produce mostly text-based publications I’m quite conservative with bullets, using solid squares and circles, but it’s a matter of personal choice.

Formatting your bulleted lists

There are essentially two ways to format bulleted lists; with a hanging indent and without. Again, it’s a matter of personal taste — hanging indents (the first example) look more distinct in my opinion, but if you’re typesetting to very narrow columns, non-hanging indents might be more appropriate.

To make the hanging indent, as in the first bullet point, edit your style and go to the format box. In the Left Indent box, enter a positive measurement; in the First Line box, enter an identical negative measurement. In this example, I used values of 5mm and -5mm.

For the non-hanging indent, you simply have to enter a single figure in the Tabs box (again, 5mm).

To make a subordinate bullet

I still find this non-intuitive, but the method is simply to double the value of the Left Indent. If I needed a subordinate bullet for the hanging indent on this example, I would use a value of 10mm for the Left Indent and -5mm for the First Line.

More bullet point tips

Instant bullets

There is an alternative to the method described above, which might be useful if you’re doing your composition in QuarkXPress rather than MS Word:

  1. Type Alt-Shift-8 to bring up a circular bullet (Option-8 on a Mac)
  2. Press the tab key once and then enter Ctrl-Z (or Option-Z). This gives you a hanging indent.
  3. Adjust the size of the hanging indent using the Tabs box.

Images as bullets

It is possible to use an image as a bullet point. The basic principle is to draw a (small) picture box on the pasteboard with the object tool and then import an image into it. Press copy (or cut), switch to the content tool and then paste it into the text. You will have to experiment with the size of the picture box so as not to affect the line spacing.

Insert a single symbol from the keyboard

Although this doesn’t seem to work on all versions and platforms, for a single Zapf Dingbat character (if you have it installed), press Ctrl-Shift-Z (or Cmd-Shift-Z on a Mac) then type a character. For a Symbol character, press Ctrl-Shift-Q (Cmd-Shift-Q).

]]>
https://onemanpublisher.paulbrookes.net/blog/2008/06/02/bullet-points-in-quarkxpress/feed/ 3
Exporting HTML from QuarkXPress https://onemanpublisher.paulbrookes.net/blog/2008/05/13/exporting-html-from-quark-via-word/ https://onemanpublisher.paulbrookes.net/blog/2008/05/13/exporting-html-from-quark-via-word/#comments Tue, 13 May 2008 16:50:30 +0000 https://onemanpublisher.paulbrookes.net/?p=129 A recent post gave an overview of Quark’s ability as a web-authoring tool and my conclusion was essentially ‘nice looking pages, shame about the code’. Alternatively, using the same method of exporting Quark to Word, you can also export a string of text to HTML in a similar fashion, although the results are similarly unsatisfying.

Word 2003 produces some pretty horrible code too and less web functionality – I’m informed that Word 2007 has improved this somewhat, but still has some way to go. (If you have experience of Word 2007 and Quark, please leave a comment on this page.)

Here’s an illustration. Open up Notepad (or similar) and type the following:

<p>Hello</p>

Select ‘Save As’ then type ‘file.htm’ into the filename box, which will produce an HTML file with the icon of your default browser. Double-click the file to view the results. As a comparison, open up MS Word, type in ‘Hello’ and save as a webpage. Then open up the file in Notepad to see the code. You’ll agree that it’s awful and there’s a lot of it. (QuarkXPress is no better.)

The straightforward way to publish online is to make a web-optimised PDF, but there are also good reasons to do it in HTML. There are proprietary tools that will produce nice code for you, but buying such a product might not be an option.

What I’m going to describe is tricky and a bit of a work-in-progress. It’s not an elegant solution, but it works okay and will hopefully save you some time. It’s a better alternative than making a text-only file and then formatting paragraph by paragraph.

Why is ‘nice’ code important?

The main reason is Cascading Style Sheets (CSS). Like the style functions in Word and Quark, they remove the need for manual formatting and keep the content and formatting separate. Without formatting to worry about, all you mostly need to do is produce bog-standard HTML (with perhaps some additional styles created by whoever wrote the CSS). This is the whole principle on which WordPress and other blogging platforms are founded and the reason why we can change our page templates so easily.

Additional reasons to use standard code are accessibility and the desirability of keeping file sizes down.

The aim of this tutorial

This tutorial will essentially describe how to convert a long text-string from Quark into HTML. It is likely that you’ll still need to go into the code to fix some glitches and you’ll have to add any images, tables and suchlike manually. It’s a bit of a hack solution, but it has worked for me. As always, if you have any suggestions, please email me or leave a comment.

Structural considerations

The structure of HTML is essentially similar to any large document. In a book, you’ll have a visual hierarchy of styles where, for example, a chapter heading is superior to a main heading, which is in turn superior to a subheading. Likewise in HTML there are headings <h1> to <h6>. Likewise you’ll be using ordered (numbered) lists and unordered lists (bullet points), corresponding to <li> tags, which in turn are wrapped in the <ol> and <ul> tags respectively. Your body copy will correspond to the HTML paragraph style <p>. In a book or report, the chances are those tags and styles will correspond to the vast majority of your document. The trick is to produce plain text that is wrapped in these tags.

Step-by-step HTML from Quark

1. Get rid of all formatting, numbers and bullet points

To guard against any residual fonts creeping into the HTML, convert all the text to 12pt Times New Roman. You can do either do this in the style sheets or by deleting fonts in the Usage box and replacing them with Times New Roman. Use find and replace to get rid of all the bullet points in the document. You’ll also need to get rid of all the numbers in numbered lists. (Of course, this assumes your bulleted lists and numbered lists are built using styles.)

Bear in mind the aim is to produce HTML — the CSS and the browser will do the formatting for you.

2. Save the text as MS Word

Save to Word using File>Save Text (if you’re unsure how to do this, it’s on the same principle as the method discussed here). Your Quark styles will follow through into the Word version

3. Apply Word styles to the text

Open up your new word file. In Word, Format>Styles and Formatting will display the styles. Now, this is where it gets a bit tricky as Microsoft has generally overcomplicated this function and it’s a mess. You may have to go to the bottom of the Styles and Formatting pane and select Show: Custom, then display all styles.

The heading styles you’re looking for are Heading 1 to Heading 6, which correspond to <h1> to <h6> in HTML. By convention, Heading 1/<h1> is the title. Click on your main heading style, select ‘Select All’ on the drop-down menu, then apply Heading 2. Apply Heading 3 to the next style and so on.

For body text, you need to apply the style Normal (Web).

4. Bullets and numbers

Bullets and numbers are tricky – try as I might, I couldn’t find a solution that produced the right tags. The solution is a hack – select the styles that apply to bullet and numbers and apply one of the near-redundant html styles on the list (I use HTML typewriter). You may want to apply others if you have well-used styles, although keep a note of what they are.

5. Save as html and fix the code

Saving as ‘Web page, filtered’ seems to produce better results than save as ‘Web page’. You can then open up your file in Notepad to do some more fixing.

  • All the code before the first line of copy and after the final line can be deleted. If you use a content management system like WordPress, you don’t need them. If you’re passing on the html to a webdesigner, then he or she can sort it out. If you’re doing it yourself, you’ll know what code to use
  • The bullets and numbers, to which you’ve applied an redundant style, will have code like this:
<p class=MsoNormal><tt>Bullet point 1</tt></p>

You can fix this using find and replace. In this example, replace <p class=MsoNormal><tt> with <li> and change </tt></p> to </li>. These will all display as bullets in a browser. To make strict HTML, you’ll have to manually add <ul> and </ul> before and after these list tags to make proper bullets and <ol> and </ol> to make numbers.

  • You’ll have to do a similar hack for any other styles you’ve defined in this way with a different format. You may want to use <blockquote> for example.

6. Open up in a web browser and check your work

What you’ll see won’t look that special – the text will take on the default characteristics of your browser – but hopefully the structure will be okay. If anything looks awry, you’ll have to go into the code and fix it. The most usual problem is font tags creeping into the HTML, which you don’t want. Other tags in your original file, such as ones for superscript, italic and so on may also have gone missing.

]]>
https://onemanpublisher.paulbrookes.net/blog/2008/05/13/exporting-html-from-quark-via-word/feed/ 4
Making web pages with QuarkXPress https://onemanpublisher.paulbrookes.net/blog/2008/04/30/making-web-pages-with-quarkxpress/ https://onemanpublisher.paulbrookes.net/blog/2008/04/30/making-web-pages-with-quarkxpress/#comments Wed, 30 Apr 2008 16:53:08 +0000 https://onemanpublisher.paulbrookes.net/?p=126 Now, you may have found this article in the expectation of a comprehensive guide to using Quark as a web-authoring tool. While I have spent some time playing around with this feature, I’m no expert. Having said that, I’ve found virtually nothing on the internet on this subject so in the kingdom of the blind, I might well be your one-eyed king. With this in mind, comments and links are particularly welcome for this article.

The basics

When you go to File>New Project dialog box, there’s an unassuming orange Quark symbol at the bottom left. Clicking on this button brings up this dialog box.

(If you have an existing job open, you can also go to Layout>Layout Properties and change the Layout Type from Print to Web, although you might want to do this to a copy of your original.)

There aren’t too many options to worry about. Checking Single Layout Mode creates a project where the pages are all the same size. You can fix the width of the page in pixels or have a variable width that resizes with the browser window. There are some colour options and the ability to set a background image on the page.

General features

As you’d expect, working in the Quark web layout is fairly similar to working in the print layout. There’s an additional tools palette, which contains tools for making buttons, forms, tick boxes and the like. However, as someone whose only real experience is creating static webpages, there’s no way of making the buttons or tickboxes do anything.

HTML is obviously much more limited in its formatting options than QuarkXPress and several features unsupported by HTML don’t work in the web layout, for example kerning and fine control over leading. On more elaborate layouts, Quark will solve issues such as wrapping text around an object by converting it into a graphic.

Producing the HTML

Simply go to File>Export>HTML and press OK. Pages will export as HTML files and all images will be stored in a separate folder called ‘images’. There’s no built-in FTP client and, at least in Windows, saving to ‘My Network Places’ doesn’t seem to work. Therefore you’ll need to save to your hard drive and upload using an FTP client — I personally use the free FireFTP plug-in for the Firefox browser.

It’s not necessary to downsample your images, as the export feature will produce new web-optimised images for you.

Cascading style sheets

Cascading style sheets (CSS) are to the web what the Style Sheets function is to Quark. They separate the formatting from the content and are therefore very powerful. All websites worth their salt use CSS; however, unlike Quark Style Sheets, they’re responsible for a lot more than just text and essentially control the entire look of a website.

Quark does include a limited amount of CSS support, but this seems to be restricted only to text. Of course you can make global changes to your site by editing the Quark Style Sheets, but for many features you’ll have to edit pages manually, which is very time consuming.

A personal project

I created an online CV using QuarkXPress — I’ll keep some anonymity by not linking to it, but the layout and structure are similar to this online resumé.

I created the basic layout — the header, footer and left-hand navigation panel — on a Quark master page and used the two-button rollover feature to create the effect on the left-hand panel. Each document page in Quark corresponded to a single HTML file. Here’s my verdict:

The good

  • If you’ve a reasonable knowledge of Quark, it’s very easy to use. You’ve got most of the Quark functionality and you need very little knowledge of HTML — all you have to do is upload your outputted files onto your web server
  • The rendering is very good — the web page produced by Quark looked very much like what I’d laid out on the page. It displayed correctly on the latest versions of Internet Explorer, Safari and Firefox.

The bad

  • Very limited CSS support. If your website requires moderate-to-major changes, you may end up having to do much of it by hand. Also, this is likely to affect the accessibility of your website to people with disabilities
  • Big file sizes. I’ve been learning CSS recently and eventually felt confident enough to code my website by hand. My version, including images, came in at 80KB. The version produced by QuarkXPress was a whopping 600KB! (And this was in no way an elaborate website.)
  • Lack of basic functionality. For example, try as I might, I just couldn’t centre my webpage in Quark. I also couldn’t link to an image hosted on another server — Quark just made a copy of the image and used that
  • Fairly horrible HTML. I’m no expert, but there’s a lot of it and it’s a bit unfathomable
  • I built my site around a master page and you would imagine that Quark would output those files once and add the variable parts, right? Wrong! It made individual image files for every page
  • There’s no real way of editing the HTML to make small changes. You have to open up QuarkXPress, re-output the page and the corresponding images, then re-upload them to your webserver.

Conclusions

I’ve been a bit negative regarding this feature, but then I know some HTML and CSS and have some knowledge of the web in general.

However, if you’re called upon to make a straightforward, static website that doesn’t have that many pages — and you have QuarkXPress already — then this is a decent option, if you can cope with the large file sizes and lack of accessibility features.

The best resource for this is probably the QuarkXPress forums.

]]>
https://onemanpublisher.paulbrookes.net/blog/2008/04/30/making-web-pages-with-quarkxpress/feed/ 1
Some Quark keyboard shortcuts https://onemanpublisher.paulbrookes.net/blog/2008/04/08/some-quark-keyboard-shortcuts/ https://onemanpublisher.paulbrookes.net/blog/2008/04/08/some-quark-keyboard-shortcuts/#respond Tue, 08 Apr 2008 08:29:36 +0000 https://onemanpublisher.paulbrookes.net/?p=104 Now, there are an awful lot of these — some requiring considerable finger gymnastics — and really too many to remember. Here, I try to list the ones I personally use the most and also list some Quark-specific formatting that may make your life easier. The following are all based on QuarkXPress 7 for PC. (I’m a bit rusty on Macs, although many of these should still work if you substitute the Cmd button for the PC’s Ctrl button.) I haven’t included shortcuts that just exist to bring up dialog boxes (although they’re obviously useful to).

This website has a pretty comprehensive list of Quark shortcuts for PC and Mac. John Brandt has produced a PDF containing a very extensive list of shortcuts, which can be downloaded from Planet Quark‘s website [link].

Typographical shortcuts

Change font size

Increase font size through preset steps Ctrl-Shift-.
Increase font size through 1pt steps Ctrl-Alt-Shift-.
Decrease font size through preset steps Ctrl-Shift-,
Decrease font size through 1pt steps Ctrl-Alt-Shift-,

Change leading

Increase leading through 1pt steps Ctrl-Shift-‘
Increase leading through 0.1pt steps Ctrl-Alt-Shift-‘
Decrease leading through 1pt steps Ctrl-Shift-;
Decrease leading through 0.1pt steps Ctrl-Alt-Shift-;

Change kerning

Useful when you are one word over on a column and you need to lose a line. Don’t overdo it though.

Increase in 10/200-em steps Ctrl-Shift-]
Increase in 1/200-em steps Ctrl-Alt-Shift-]
Decrease in 10/200-em steps Ctrl-Shift-[
Decrease in 1/200-em steps Ctrl-Alt-Shift-[

Images

Centre image in a picture box Ctrl-Shift-m
Fit image to box (keeping aspect ratio) Ctrl-Alt-Shift-f

Magnifying the screen

Ctrl-0 (zero) is very useful, fitting the page to the size of the screen. If you have a wheel on your mouse, you can increase or decrease the size of the page by pressing Ctrl and turning the wheel forward and backward. Otherwise, press Ctrl-Space and draw a marquee to enlarge a specific area.

Miscellaneous

A non-breaking space can be very useful; for example, if your style sheet specifies measurements should have a space preceding them (such as 5 ml or 35 g) and you don’t want them to break at the end of a line. This is achieved by typing Ctrl-5. Similarly, a non-breaking hyphen can be inserted by using Ctrl-=.

Typographically, a slash (/) should be preceded and followed by a thin space, which you can get by pressing Ctrl-Shift-8. (It’s a bit anal, but it does look nicer.)

When you’re inserting automatic page numbers on a master page the shortcut, when you’re inside a text box, is Ctrl-3.

And you all know that you should press Shift-Enter to start a new line, as opposed to Enter, which starts a new paragraph!

]]>
https://onemanpublisher.paulbrookes.net/blog/2008/04/08/some-quark-keyboard-shortcuts/feed/ 0