Skip to content

Commit 2cff340

Browse files
committed
docs/pyboard: For latex build, use smaller quickref jpg, and no gifs.
The latexpdf target needs images that fit on the page, and does not support gifs.
1 parent fcf621b commit 2cff340

2 files changed

Lines changed: 13 additions & 4 deletions

File tree

docs/pyboard/quickref.rst

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,16 @@ other versions of the pyboard:
99
or `PYBLITEv1.0-AC <http://micropython.org/resources/pyblitev10ac-pinout.jpg>`__
1010
or `PYBLITEv1.0 <http://micropython.org/resources/pyblitev10-pinout.jpg>`__.
1111

12-
.. image:: http://micropython.org/resources/pybv10-pinout.jpg
13-
:alt: PYBv1.0 pinout
14-
:width: 700px
12+
.. only:: not latex
13+
14+
.. image:: http://micropython.org/resources/pybv10-pinout.jpg
15+
:alt: PYBv1.0 pinout
16+
:width: 700px
17+
18+
.. only:: latex
19+
20+
.. image:: http://micropython.org/resources/pybv10-pinout-800px.jpg
21+
:alt: PYBv1.0 pinout
1522

1623
General board control
1724
---------------------

docs/pyboard/tutorial/fading_led.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ Fading LEDs
33

44
In addition to turning LEDs on and off, it is also possible to control the brightness of an LED using `Pulse-Width Modulation (PWM) <http://en.wikipedia.org/wiki/Pulse-width_modulation>`_, a common technique for obtaining variable output from a digital pin. This allows us to fade an LED:
55

6-
.. image:: http://upload.wikimedia.org/wikipedia/commons/a/a9/Fade.gif
6+
.. only:: not latex
7+
8+
.. image:: http://upload.wikimedia.org/wikipedia/commons/a/a9/Fade.gif
79

810
Components
911
----------

0 commit comments

Comments
 (0)