Magazine articles should be delivered in a text file called page.src.txt. You can just store your article, together with your figures, in a .zip or .tar.gz article and send it directly to your editor.
Magazine aricles are a little different from online articles. Code listings longer than 6 lines should be put into external files and referred to as Listing N. For example, you could write something like:
Listing3.php for inclusion of your article archive.
Please include a short (50 word) bio in a file called bio.txt.
If your article's content has any special requirements of the reader, be sure to include a file called requirements.txt that outlines these. Example:
You should always use a UTF-8-compliant text editor to create your text files. This will ensure that all special characters are encoded properly for our system to read.
The Masthead
The masthead of your article must contain three elements:
=t= tag is used to indicate the beginning and end of the title, while =b= indicates the beginning and end of the byline, and =d= indicates the beginning and end of the deck.
Note that you cannot have any line breaks inside the title or byline. Line breaks are, however, allowed inside the deck.
First of all, for the most part you can type your text directly as if you were using a word processor; if you need to use characters outside the standard ASCII set, such as accented letters, em-dashes, and so forth, you can type them directly without having to worry about special encoding. On those operating systems that do not support extended character sets natively, most editors usually provide key combinations that make it possible to enter them anyway.
In any case, you need to ensure that, if you use non-ASCII character, your text editor is capable of saving files in UTF-8 format. This is very important, as our system may be unable to properly display your text otherwise.
Other than this particular precaution, there is very little that you need to worry about; paragraphs in your text are separated by two newline characters (in other words, press Enter twice and you've started a new paragraph), and there is no need to indent the first line of a new paragraph.
Formatting Text
Our system supports three types of inline text format:
Monospace text is enclosed by two single quote characters at each end. For example: ''monospace!'' becomes monospace
Headings
Headings (like the one above this line) are used to break up your article into smaller units that the reader can use as reference points to navigate the text. Ceres only recognizes one level of headings, identified by the =h= tag:
Lists
Ceres only supports unordered lists. A list block is identified by a line that starts with a dash, followed by a space. For example:
This is normal text.
Code Listings
Code listings are encapsulated by a <code> tag, which must be on a line of its own:
<code> tag. The list is too long to include here, but chances are that any language you may need to highlight is actually supported by Ceres—including SQL, XML and HTML.
IMPORTANT: code listings (inline and external) should be wrapped at 60 characters for magazine articles.
Figure2.png in your article archive.
Callouts
Magazine callouts are placed within the article on an as-needed basis, to help layout. They may be omitted, completely, so don't depend on their text. Callouts should generally be taken from the article's main text.
Here's an example:
Don't Panic!
If any of these guidelines seem too complex, don't panic! Your editor is here to help.
Don't get too hung up on formatting; these guidelines are intended to smooth the editorial process, but we're much more concerned about getting informative text from you, the expert, than on having it formatted perfectly.
Please do read this document, and help us when possible, but formatting the article properly is ultimately your editor's job.