1
1
mirror of https://github.com/Kozea/WeasyPrint.git synced 2024-10-05 16:37:47 +03:00
Commit Graph

51 Commits

Author SHA1 Message Date
Andres Riofrio
3f68057391 Add instructions to install dependencies in Fedora 2013-05-16 23:43:56 -07:00
Simon Sapin
a32f5b2f06 Docs: Recommend virtualenv --system-site-packages 2013-04-18 12:25:42 +02:00
Simon Sapin
c5a90f09ac Changelog and docs for v0.19 2013-04-18 11:59:44 +02:00
Simon Sapin
171438f48e 2013 2013-04-03 16:23:48 +02:00
Simon Sapin
34074a37e0 Docs: Typo fix. 2013-04-02 13:47:19 +02:00
Simon Sapin
2064fcde37 Docs: ::first-letter and ::first-line are not supported yet. 2013-04-02 13:41:12 +02:00
Simon Sapin
c53a01f18f Changelog for v0.18. 2013-03-30 23:44:12 +01:00
Simon Sapin
0f37260c24 Docs: mention converting pycairo contexts to cairocffi. 2013-03-28 16:41:51 +01:00
Simon Sapin
155eb4be79 Document how to build the documentation. 2013-03-15 17:42:18 +01:00
Simon Sapin
bd5bb671cf Document how to disable automatic hyphenation. Fix #48. 2013-03-15 17:30:01 +01:00
Smylers
839b1d5f6b Docs: Fix Pyphen dictionaries link 2013-03-14 16:23:34 +00:00
Simon Sapin
89bd068990 Allow absolute URLs without a base URL. Fix #42. 2013-03-13 12:12:12 +01:00
Simon Sapin
a80d65eef5 Docs: libffi is also needed in Debian and OS X. 2013-03-13 11:50:25 +01:00
Smylers
4714848cf9 Include libffi-dev dependency for Ubuntu
I've just installed WeasyPrint 0.17 on Ubuntu 12.10. It required first installing libffi-dev. (I haven't checked if this also applies to other Ubuntu and Debian versions.)

Without libffi-dev pip install WeasyPrint aborted with this message:

  Installing collected packages: cffi, cairocffi, Pyphen, pycparser
    Running setup.py install for cffi
      Package libffi was not found in the pkg-config search path.
      Perhaps you should add the directory containing `libffi.pc'
      to the PKG_CONFIG_PATH environment variable
      No package 'libffi' found
      Package libffi was not found in the pkg-config search path.
      Perhaps you should add the directory containing `libffi.pc'
      to the PKG_CONFIG_PATH environment variable
      No package 'libffi' found
      Package libffi was not found in the pkg-config search path.
      Perhaps you should add the directory containing `libffi.pc'
      to the PKG_CONFIG_PATH environment variable
      No package 'libffi' found
      Package libffi was not found in the pkg-config search path.
      Perhaps you should add the directory containing `libffi.pc'
      to the PKG_CONFIG_PATH environment variable
      No package 'libffi' found
      Package libffi was not found in the pkg-config search path.
      Perhaps you should add the directory containing `libffi.pc'
      to the PKG_CONFIG_PATH environment variable
      No package 'libffi' found
      building '_cffi_backend' extension
      gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python2.7 -c c/_cffi_backend.c -o build/temp.linux-x86_64-2.7/c/_cffi_backend.o
      c/_cffi_backend.c:14:17: fatal error: ffi.h: No such file or directory
      compilation terminated.
      error: command 'gcc' failed with exit status 1
      Complete output from command /usr/bin/python -c "import setuptools;__file__='/home/smylers/pending/WeasyPrint/build/cffi/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-R3Sp23-record/install-record.txt:
      Package libffi was not found in the pkg-config search path.

  Perhaps you should add the directory containing `libffi.pc'

  to the PKG_CONFIG_PATH environment variable

  No package 'libffi' found

  Package libffi was not found in the pkg-config search path.

  Perhaps you should add the directory containing `libffi.pc'

  to the PKG_CONFIG_PATH environment variable

  No package 'libffi' found

  Package libffi was not found in the pkg-config search path.

  Perhaps you should add the directory containing `libffi.pc'

  to the PKG_CONFIG_PATH environment variable

  No package 'libffi' found

  Package libffi was not found in the pkg-config search path.

  Perhaps you should add the directory containing `libffi.pc'

  to the PKG_CONFIG_PATH environment variable

  No package 'libffi' found

  Package libffi was not found in the pkg-config search path.

  Perhaps you should add the directory containing `libffi.pc'

  to the PKG_CONFIG_PATH environment variable

  No package 'libffi' found

  running install

  running build

  running build_py

  running build_ext

  building '_cffi_backend' extension

  gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python2.7 -c c/_cffi_backend.c -o build/temp.linux-x86_64-2.7/c/_cffi_backend.o

  c/_cffi_backend.c:14:17: fatal error: ffi.h: No such file or directory

  compilation terminated.

  error: command 'gcc' failed with exit status 1

  ----------------------------------------
  Command /usr/bin/python -c "import setuptools;__file__='/home/smylers/pending/WeasyPrint/build/cffi/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-R3Sp23-record/install-record.txt failed with error code 1 in /home/smylers/pending/WeasyPrint/build/cffi
2013-03-13 09:47:36 +00:00
Guillaume Ayoub
cfef3263b6 Fix the print stylesheet 2013-03-12 18:06:17 +01:00
Guillaume Ayoub
09d2cc4970 Fix the documentation for printing 2013-03-12 18:03:19 +01:00
Simon Sapin
9b90c9ee05 Docs: s/GTK/GTK+/ 2013-02-28 17:18:28 +01:00
Simon Sapin
d689b384ff Add python-dev to Debian install instructions.
This package contains the Python developement files needed for compiling CFFI.
2013-02-28 10:50:45 +01:00
Simon Sapin
3aa4284c9a Docs: Fix the css3-text link. 2013-02-27 16:35:58 +01:00
Simon Sapin
dd2f6ccb79 Document hyphenation. 2013-02-27 14:44:21 +01:00
Simon Sapin
326b7701b5 Remove introspection related cruft. 2013-02-26 15:05:11 +01:00
Simon Sapin
3a42860018 Move GDK-PixBuf code to cairocffi.pixbuf 2013-02-26 15:04:52 +01:00
Simon Sapin
1145958a39 Update install docs for CFFI. 2013-02-25 19:27:17 +01:00
Simon Sapin
9ccd37e088 Don’t bother making CairoSVG optional. 2013-02-25 16:26:39 +01:00
Simon Sapin
85bbfa9258 Rename PDF scale to zoom, have the default be 1 rather than 0.75
The 0.75 factor is an implementation detail that should not be exposed
in the API.
2012-11-22 22:31:26 +01:00
kaikuehne
a36da2bcae Update docs/tutorial.rst
Typo fixes in docs/tutorial.
2012-11-07 14:57:16 +01:00
Simon Sapin
ab42274998 Navigator docs: add a screenshot 2012-10-28 17:27:20 +01:00
Simon Sapin
77669434ab Docs: Slightly more idiomatic English. 2012-10-22 11:27:20 +02:00
Simon Sapin
5999c59c8b Document Python 3.3 support. 2012-10-19 12:42:40 +02:00
Simon Sapin
c86b9f8831 Docs/tutorial: fix an example and add another. 2012-10-10 14:34:09 +02:00
Simon Sapin
f2eb0ec879 Docs: fix a link. 2012-10-10 14:15:56 +02:00
Simon Sapin
3fb940ad49 Docs: Update the Hacking page. 2012-10-09 17:48:36 +02:00
Simon Sapin
3072fff2e5 Docs docs docs.
But no ducks.
2012-10-08 19:51:18 +02:00
Simon Sapin
43e51d4a51 Docs: split using.rst into tutorial and api. 2012-10-08 13:48:22 +02:00
Simon Sapin
584cdab8b6 Docs: Move the table of contents before authors. 2012-10-08 12:14:17 +02:00
Simon Sapin
7c2b12912d Docs. 2012-10-07 22:01:08 +02:00
Simon Sapin
a52539dc80 Copy images locally to make Sphinx happy. 2012-10-07 10:12:15 +02:00
Simon Sapin
6e63903a13 Add metadata in the low-level API. 2012-10-04 13:06:41 +02:00
Simon Sapin
e86822d94a Make some dependencies not required to build the docs. 2012-10-02 19:39:43 +02:00
Simon Sapin
09ff532828 The Document is back! (But different.) 2012-10-02 18:59:02 +02:00
Simon Sapin
b066fcf4e8 Doc details. 2012-09-24 12:46:07 +02:00
Simon Sapin
20fe60040d Document low-level output functions. 2012-09-20 17:57:15 +02:00
Simon Sapin
9c2574fbd1 0.15 requires tinycss 0.3 2012-09-20 17:25:58 +02:00
Simon Sapin
933554f7ed Moar docs for the low-level API. 2012-09-20 17:21:44 +02:00
Simon Sapin
19dd654678 Adapt docs for 0.15 2012-09-20 17:08:03 +02:00
Simon Sapin
dd7ab9e2a6 More polish on documentation. 2012-09-20 16:29:33 +02:00
Simon Sapin
87d5741376 Integrate the sphinx docs with docstrings. 2012-09-19 17:37:52 +02:00
Simon Sapin
70d8751868 Include the docs from the website. 2012-09-19 15:20:34 +02:00
Simon Sapin
29eff8fcee Merge branch 'website-doc' into sphinx-doc 2012-09-19 15:15:15 +02:00
Simon Sapin
7228a4bb3f Start some documentation with Sphinx 2012-09-19 15:11:02 +02:00