Subversion Repositories Scribus

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
18516 gpittman 1
This README is strictly about changes to the online manual for Scribus Version
2
1.5.0svn.
3
 
4
The English manual now uses CSS
5
===============================
6
 
7
Perhaps related to some changes in the helpbrowser, the appearance of the
8
manual changed in 1.5.0, with a larger Serif font, and no ability to adjust
9
this from the browser. After some experimentation, it was decided to start
10
using CSS to have better control over the appearance, as well as allow the user
11
to edit this appearance if desired.
12
 
13
manual.css
14
==========
15
This is the name of the external CSS file, which you will find in doc/en in the
16
SVN download.
17
 
18
**********
19
h1 {font-family:fontin,sans-serif; font-size:1.3em;}
20
h2 {font-family:fontin,sans-serif; font-size:1.2em;}
21
h3 {font-family:fontin,sans-serif; font-size:1.1em;}
22
h4 {font-family:fontin,sans-serif; font-size:1em;}
23
 
24
p, blockquote {font-family:dejavu sans,sans-serif; font-size:0.8em;}
25
li {font-family:dejavu sans,sans-serif; font-size:0.8em;}
26
code {font-size:1.1em;}
27
dl {font-family:dejavu sans, sans-serif; font-size:1em;}
28
pre {font-size:0.9em;}
29
**********
30
 
31
Using Fontin for headers is just a suggestion. It is an attractive, freely
32
available and usable font, but does not allow free distribution, so you must
33
obtain it on your own.
34
 
35
How manual.css is used
36
======================
37
 
38
Inside the HTML files in doc/en, each HTML file has this after the <head> tags:
39
 
40
<style>
41
@import "manual.css";
42
</style>
43
 
44
This allows for simply editing the external stylesheet file to accomplish
45
widespread changes throughout the manual.
46
 
47
If you delete manual.css from your end destination, the manual will revert to
48
the default font.