Some print-specific CSS rules, after those I did on my resume:
- inline acronym definitions and remove the dotted underline - inline urls for a tags with printurl class (we don't want all of them printed) - noprint class for things we might not want to print at all git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30347 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a7ccfc910c
commit
dd2625bfb0
@ -250,3 +250,31 @@ pre.terminal { /* Terminal output*/
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
/* printer only pretty stuff */
|
||||
@media /*screen,*/print {
|
||||
/* suggest page orientation */
|
||||
@page { size: portrait; }
|
||||
.noprint {
|
||||
display: none;
|
||||
}
|
||||
/* some links we want to print the url along with (CSS2) */
|
||||
a.printurl:after {
|
||||
content: " <" attr(href) ">";
|
||||
font-weight: normal;
|
||||
font-size: small;
|
||||
}
|
||||
/* override for those we really don't want to print */
|
||||
a.noprinturl:after {
|
||||
content: "";
|
||||
}
|
||||
/* for acronyms we want their definitions inlined at print time */
|
||||
acronym[title]:after {
|
||||
font-size: small;
|
||||
content: " (" attr(title) ")";
|
||||
font-style: italic;
|
||||
}
|
||||
/* and not have mozilla dotted underline */
|
||||
acronym {
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
|
@ -40,10 +40,10 @@
|
||||
Scripts can range from simply executing a few commands in a specific order to sophisticated pieces of code that solve complex tasks.</p>
|
||||
|
||||
<h1><a id="bash" name="bash">The Bash</a></h1>
|
||||
<p>Since scripts rely naturally a lot on the shell they are interpreted by, you should first familiarize yourself with the BASH that's used by Haiku. There are many resources online as it's a widely used shell. One nice document is Johan Jansson's <a href="http://www.beforever.com/bashtut.htm">Introduction to bash - a tutorial for bash under BeOS</a>.</p>
|
||||
<p>Since scripts rely naturally a lot on the shell they are interpreted by, you should first familiarize yourself with the BASH that's used by Haiku. There are many resources online as it's a widely used shell. One nice document is Johan Jansson's <a href="http://www.beforever.com/bashtut.htm" class="printurl">Introduction to bash - a tutorial for bash under BeOS</a>.</p>
|
||||
|
||||
<h1><a id="scripting-bible" name="scripting-bible">The Scripting Bible</a></h1>
|
||||
<p>After you've learned a few basics about working in the shell, it's time to slowly ease yourself into the world of scripting. Again, you'll find loads of tutorials and reference material online as well as in bookstores. A very nice introduction that's practically tailor-made for Haiku is the online available <a href="http://www.birdhouse.org/beos/bible/bos/ch_scripting1.html">Scripting Chapter</a> (<a href="http://www.birdhouse.org/beos/bible/bos/BeOS.scripting.PDF">PDF, 900kb</a>) of Scot Hacker's BeOS Bible.</p>
|
||||
<p>After you've learned a few basics about working in the shell, it's time to slowly ease yourself into the world of scripting. Again, you'll find loads of tutorials and reference material online as well as in bookstores. A very nice introduction that's practically tailor-made for Haiku is the online available <a href="http://www.birdhouse.org/beos/bible/bos/ch_scripting1.html" class="printurl">Scripting Chapter</a> (<a href="http://www.birdhouse.org/beos/bible/bos/BeOS.scripting.PDF">PDF, 900kb</a>) of Scot Hacker's BeOS Bible.</p>
|
||||
|
||||
<h1><a id="user-scripts" name="user-scripts">Scripts in Haiku</a></h1>
|
||||
<p>In Haiku, the system makes of course also use of scripting. Booting and shutting down are typical scripting procedures. These defined sequences can be augmented by the user with certain user scripts.<br />
|
||||
|
@ -38,7 +38,7 @@
|
||||
|
||||
<p>One of the main reasons for releasing an alpha version is to attract more people to test the system and discover bugs or provide suggestions for future enhancements. Please file bugs and enhancements in our bug tracker after using its search function to avoid duplicates.</p>
|
||||
<ul>
|
||||
<li><a href="http://dev.haiku-os.org/wiki">Haiku Bug Tracker</a></li>
|
||||
<li><a href="http://dev.haiku-os.org/wiki" class="printurl">Haiku Bug Tracker</a></li>
|
||||
<li><a href="en/bugreports.html">Tips for a helpful bug report</a></li>
|
||||
</ul>
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
<p>The first release(s) of Haiku will be very much like the BeOS R5, the operating system it is reimplementing. If you never experienced it, have a look at these links:</p>
|
||||
<ul>
|
||||
<li><a href="../userguide/en/contents.html">Haiku User Guide</a></li>
|
||||
<li><a href="http://www.haiku-os.org/community/">List of BeOS/Haiku websites</a></li>
|
||||
<li><a href="http://www.haiku-os.org/community/" class="printurl">List of BeOS/Haiku websites</a></li>
|
||||
</ul>
|
||||
|
||||
<h1><a id="software" name="software">Installing more software</a></h1>
|
||||
@ -54,10 +54,10 @@
|
||||
|
||||
<p>Popular software repositories are:</p>
|
||||
<ul>
|
||||
<li><a href="http://www.haikuware.com">Haikuware</a></li>
|
||||
<li><a href="http://www.bebits.com">BeBits</a></li>
|
||||
<li><a href="http://ports.haiku-files.org/">HaikuPorts</a> maintains patches for ported software</li>
|
||||
<li><a href="http://www.osdrawer.net/">OsDrawer</a> hosts native BeOS and Haiku open source software projects</li>
|
||||
<li><a href="http://www.haikuware.com" class="printurl">Haikuware</a></li>
|
||||
<li><a href="http://www.bebits.com" class="printurl">BeBits</a></li>
|
||||
<li><a href="http://ports.haiku-files.org/" class="printurl">HaikuPorts</a> maintains patches for ported software</li>
|
||||
<li><a href="http://www.osdrawer.net/" class="printurl">OsDrawer</a> hosts native BeOS and Haiku open source software projects</li>
|
||||
</ul>
|
||||
|
||||
<h1><a id="api" name="api">Getting to know the API</a></h1>
|
||||
@ -65,19 +65,19 @@
|
||||
|
||||
<p>There are additional resources that should help you getting started:</p>
|
||||
<ul>
|
||||
<li><a href="http://www.haiku-os.org/development/faq">Development FAQ</a></li>
|
||||
<li><a href="http://dev.haiku-os.org/browser/">Source Browser</a></li>
|
||||
<li><a href="http://www.haiku-os.org/legacy-docs/bebook/">BeBook</a></li>
|
||||
<li><a href="http://www.haiku-os.org/legacy-docs/benewsletter/">BeNewsletter Archive</a></li>
|
||||
<li><a href="http://www.haiku-os.org/development/faq" class="printurl">Development FAQ</a></li>
|
||||
<li><a href="http://dev.haiku-os.org/browser/" class="printurl">Source Browser</a></li>
|
||||
<li><a href="http://www.haiku-os.org/legacy-docs/bebook/" class="printurl">BeBook</a></li>
|
||||
<li><a href="http://www.haiku-os.org/legacy-docs/benewsletter/" class="printurl">BeNewsletter Archive</a></li>
|
||||
</ul>
|
||||
|
||||
<h1><a id="contact" name="contact">Getting in contact</a></h1>
|
||||
<p>Get in contact with other developers and users and join the discussions in our forums or mailing lists.</p>
|
||||
<ul>
|
||||
<li><a href="http://www.haiku-os.org/forum">Haiku Forums</a></li>
|
||||
<li><a href="http://www.freelists.org/list/haiku">General mailing list</a></li>
|
||||
<li><a href="http://www.freelists.org/list/haiku-development">Development mailing list</a></li>
|
||||
<li><a href="http://www.haiku-os.org/community/ml">Overview</a> of more specific mailing lists</li>
|
||||
<li><a href="http://www.haiku-os.org/forum" class="printurl">Haiku Forums</a></li>
|
||||
<li><a href="http://www.freelists.org/list/haiku" class="printurl">General mailing list</a></li>
|
||||
<li><a href="http://www.freelists.org/list/haiku-development" class="printurl">Development mailing list</a></li>
|
||||
<li><a href="http://www.haiku-os.org/community/ml" class="printurl">Overview</a> of more specific mailing lists</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user