Sneak peek: Executing commands in the command line

Below, a little look at a sidebar running in issue 1.2, next to Pierre Marchand’s piece about his first time setting a book in Scribus.

Executing commands in the command line

No matter what operating system you’re using, you’ve got a command-line interface at your disposal. If you’re of a certain age, you may remember fiddling around a little with MS-DOS. Even if you never did, don’t worry about it. The command line is friendlier than you may think.

Now, because we’re all designers here, chances are good you’re using a Mac. Or, if you’re like us, Linux. The tips and commands listed below work just fine for both. If you try them in MS-DOS (under Windows), your computer may explode. We’re not quite sure, really.

Open a terminal:
On a Mac: Crack open your Applications folder and go to Utilities. There’s a program there called Terminal. Open it.
On Linux: Normally under your Accessories or System menu, you’ll find something called Terminal. Open it.

Get to the right place:
If you’ve downloaded a book from Project Gutenberg, hopefully as a plain text file (something ending with .txt), great. If not, go back and do that. But make sure to take note of where you’ve saved it.

When you opened Terminal, it should have started you up in your home directory. To make it easier to find where you’re going, open up your file browser (Finder on a Mac, or on most kind of Linux, just double click on the icon for your home directory). Navigate to where you put your file. Now, take a look at the path leading up to that. For example, if you left it in your Downloads directory, chances are good that it’ll only be one directory past home.

Once you have an idea of where you’ve put your file, go back to the Terminal. To change directories (because that’s what you’re about to do, unless you’ve left the file in your home directory), you’re going to use the cd command. It allows you to (yes!) change directories. Let’s say you’ve left your file in the Downloads directory. In your terminal, you’d type “cd Downloads” (without the quotation marks). That would take you to your Downloads directory. If, in the Downloads directory, you happened to have another directory, this one called books, for example, you’d then go “cd books” (note that it’s case sensitive).

Looking around:
Now, we’re in our fictional home/Downloads/books directory. Let’s take a look at what’s there. To get a list of the contents of a directory, just type “ls” while you’re in the directory you want to look at. It’ll turn up a list of all the files and directories contained within that directory. If you’ve gotten to the right place, ls should show you the book you’ve downloaded.

Running the script:
Now you can run the script mentioned in the article. Just copy it and paste it into your terminal. Or, if you’re reading this in print, type it. Heck, type it in regardless, just for practice!

perl -n -e ‘s/(\S)\r\n/\1 /ms; print $_;’  original.txt > withoutlinebreak.txt

Of course, you’ll want to change “original.txt” to reflect the actual file name of the book you downloaded. Then, hit Enter. If all goes well, the next time you do an ls, you’ll find a new file, called “withoutlinebreak.txt” which will be the book you downloaded, without linebreaks and ready to be conveniently typeset in Scribus.

While this may seem like a lot of complicated steps, once you get used to it, you’ll find that it’s easy, convenient and fast. And it’s just the beginning of what you can do with the command line.

Posted in Backstage | Tagged , , | 1 Comment

Best of SVG

You may have guessed already that we at Libre Graphics magazine are crazy in love with the Scalable Vector Graphics format (read more about it from Wikipedia and the W3C). Well, to that end, we’re adding in a new section, as of issue 1.2: Best of SVG.

In Best of SVG, we’re going to showcase some of the excellent work done in SVG and made freely available online under permissive licenses. This time around, we’re doing signage, according to the Wikimedia Commons community.

Below, a lovely example of “push door to open” sign (ironically displayed here as a PNG, but also available in the original SVG).

Posted in Backstage, News | Tagged , | Leave a comment

Sponsored donations

We’ve come up with a new and exciting way to get copies of Libre Graphics magazine to students on the cheap. Basically, we’re letting you, the paying public, decide which schools should be getting freeebies. We’re doing that by offering you the option of buying a box of magazines and picking a school you want them donated to. Whether you’d like them to go to design students, communication students, computer science students or students in any other (at least semi-related) field, we’re empowering you to pick a group of recipients and make sure they get their hands on Libre Graphics magazine.

For a very nominal fee (the majority of the price actually covers shipping, with the magazines coming at a cost of about $1 each), we’ll send a box of 50 copies of the current issue to the school/department of your choice. Of course, there’s slightly more to it than that (things like making contact with the school and making sure the magazines find a good home with their students, but we’ll do that), but it mainly comes down to selecting your region (only North America and Europe are eligible right now) and mentioning where you’d like them to go.

If you’re inclined to send some magazines off to students who could use a F/LOSS education, the button is conveniently displayed below.

Where to?

Posted in News | Tagged , , , | 1 Comment

Like cheap magazines? Of course you do.

I’ve got some good news, and some bad news that’ll hopefully turn into good news. The bad news is that in the next week, we need to sell upwards of 400 copies of Libre Graphics magazine 1.1 and also get 100 pre-orders for 1.2 (more on that later). The good news, for you, is that in order to sell those 400 copies, we’re having a sale.

If you’re in North America and want a copy of 1.1, today’s your lucky day. Using the handy button below, if you’re in Canada, you can get a copy for $4. If you’re in the U.S., it’s a very convenient $8, with all shipping charges built in.

Buy a cheap copy now (or a few, if you want) so that we can continue to put out our fine magazine every three months for, hopefully, a long time to come.

UPDATE: This promotion is now over. Thanks to everyone who took advantage of it.

Posted in News | Tagged , , , | 2 Comments

FOSDEM talk video? Yes.

Thanks to the marvels of modern videography, there’s a quite nice video up of the Libre Graphics magazine talk I gave at FOSDEM. You can download it here, and see some exciting sneak peeks at issue 1.2.

Posted in News | Tagged , | Leave a comment

Pro bono ad time!

It’s that time again. It’s that time when, if you’re a F/LOSS graphics project with no money and a pressing desire to get some attention, you should talk to us about getting a pro bono ad. Yes, you should. This time around, the first six ads we get in hand from projects go in for free, full page.

So get a move on. Email us at enquiries@libregraphicsmag.com to get your pro bono ad in issue 1.2.

Posted in News | Tagged , , , | Leave a comment

Like press releases? Of course you do!

I figured it was high time for a more fun and detailed press release about Libre Graphics magazine. So I wrote one. Read it below and feel free to pass it on to all your favourite people, news outlets, pirate radio stations, secret-coded shortwave radio channels… Whatever. Feel free to pass along and distribute.

Plucky young designers do what designers do best: design things.

An international group of self-styled plucky young designers has done (and more importantly, intends to continue doing) something designers are often famed for. Namely, they’ve taken a big, audacious idea and turned it into a beautiful reality.

The group, comprised of graphic designers and media artists from Portugal and Canada has begun publication of what they refer to as “an honest to goodness paper magazine” for designers and artists who use and contribute to Free/Libre Open Source software, standards and methods.

The publication, Libre Graphics magazine (ISSN: 1925-1416; http://libregraphicsmag.com) has a stated purpose of providing a community space and showcase for existing high level users of Libre Graphics software (a term specific to F/LOSS graphics tools). It further targets students of graphic design and visual art, who the creators of the magazine consider to be the F/LOSS users of tomorrow.

The magazine has the distinction of being the first publicly distributed ISSN-holding publication to be created entirely with F/LOSS tools (or so we hear). Its production process makes heavy use of Scribus, Inkscape and git.

Libre Graphics magazine has already been featured on LWN.net, the Linux Outlaws podcast, FreeSoftNews, Free Software Daily, Linux Today and any number of other F/LOSS-centric news outlets.

Its editors are more than happy to talk to any interested or inquisitive parties, because they are incredibly chatty (and plucky!) people. Presentations about Libre Graphics magazine can also be found in the video archives of the 2010 edition of Make Art and the 2011 edition of FOSDEM. Enquiries to enquiries@libregraphicsmag.com

Posted in News | Tagged , | Leave a comment

I love you about $35 000 dollars worth

That’s my best guess at just how much free labour has gone into Libre Graphics magazine since the end of August. Why the math? Because right now, I’m working on our application for the Canada Council for the Arts Literary and Art Magazine Grant (New Magazines component). And guess what? In our financial accounting, we have to count voluntary labour towards our donation-classified revenue. (See?!)

So I’ve gotten to counting. Now, let’s look at the math together. First, the big chunk: editorial, pre-press and marketing labour. I’ve been pretty conservative in calculating this, but it still comes out to a lot. Let’s say, for the sake of argument, that the time period we’re looking at starts the first week of September and goes up to this week, right now. That’s 25 weeks. In fact, very nearly half a year (back pats for that!). Now let’s say that for those 25 weeks, we’ve had an average of ten hours free work out of the three members of the editorial team (although trust me, it’s been more). Right there, we’re looking at 30 hours of work a week, over a 25 week period. Math time! That’s 750 hours of unpaid labour from the editorial team. Now, let’s set a rate for that labour. We’ll say, for the sake of argument, that our time is worth $40 an hour, each. Although in reality, as freelancers, we’re worth a little more than that, expensive people that we are. But for now, we’ll say $40/hour, times those 750 hours I just mentioned. So guess what?! That labour, in coordinating, writing calls, chasing libraries, selecting things, responding to emails, editing copy, designing typefaces, laying out, treating images, mailing stuff around the world, hassling our friends, and all those other things we do, that’s $30 000 right there over the last 25 weeks. Golly.

While our labour (and it is a labour of love) makes up the majority of the imaginary expense, there’s more. There were 10 000 words of article in issue 1.1. If we calculate that at the (pretty standard) rate of $0.10 per word, that’s $1000 of articles.

Next, copy editing, which we farmed out, since it takes multiple eyes to really properly edit an article (or, as the saying goes, “many eyes tame complexity”). We do three edits on each article, first, second a couple days later, and copy, which has to be done by someone other than the person who did the first two. So we farmed out our copy editing. To, I’ll admit it, my mother. Because she is an incredibly talented lady and a far more experienced copy editor than I’ll ever be. She’s got about thirty years of copy editing under her belt, and I’ll gladly have that kind of  experience watching my editorial back any day. So we’ll hypothetically put her in at $50/hour, for 10 hours on issue 1.1. That’s another $500.

Finally, to round out the $35 000 dollars we didn’t spend, let’s put in the art, mystery labour and promotion that other people have done for us. We’ll call it $3500. That rounds us up to an even $35 000 over the last 25 weeks.

So I love you about $35 000 dollars worth. I’ll admit that I teared up a little bit when I started calculating the volunteer labour we’ve gotten. Add to that all the un-calculable work that others have put in and it goes so much further. It’s incredibly heartening to see all the work that’s gone in, all the people who have contributed and all the enthusiasm.

Now we just have to hope that the people evaluating our grant application aren’t bothered by the fact that we’ve spent $35 000 less than we should have.

Posted in Backstage | Tagged , , | Leave a comment

The heritage of our pixels

Eric Schrijver has come up with what is quite possibly my favourite headline yet: “The heritage of our pixels.” Look out for his latest column, by that name, in issue 1.2 of Libre Graphics magazine. In the mean time, here’s a teaser:

Posted in News | Tagged , , | 2 Comments

Libre Graphics magazine on Linux Outlaws

Guess what? At FOSDEM, I sat down (or, more accurately, leaned against a wall) for an interview with Fab and Dan, the Linux Outlaws. Now, the FOSDEM edition of the Linux Outlaws podcast is out! It’s got a couple pretty great other interviews, too. You should listen to it. http://linuxoutlaws.com/podcast/191

Posted in News | Tagged | 4 Comments