# Adding PDF functionality to courses

**URL:** <https://discuss.openedx.org/t/adding-pdf-functionality-to-courses/12846>\
**Category:** Development\
**Tags:** how-to, tutor, tutor-plugin\
**Created:** [April 24, 2024, 10:43am UTC](https://discuss.openedx.org/t/adding-pdf-functionality-to-courses/12846 "2024-04-24T10:43:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![blazejwiecha](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/blazejwiecha/32/6085_2.png) [@blazejwiecha](https://discuss.openedx.org/u/blazejwiecha)\
**Post date:** [April 24, 2024, 10:43am UTC](https://discuss.openedx.org/t/adding-pdf-functionality-to-courses/12846/1 "2024-04-24T10:43:59Z")

</div>

Hey , I am trying to add and activate PDF in my tutor local  
using

[IONISx/xblock-pdf: Course component (Open edX XBlock) that provides an easy way to embed a PDF (github.com)](https://github.com/IONISx/xblock-pdf)

Already added to config.yml

- name: ‘git+https://github.com/IONISx/xblock-pdf.git@v1.0.0#egg=xblock-pdf’  
In Settings \> Advanced Settings \> advanced module is added “pdf”

What next because on my studio still is no PDF/Advanced button .  
Any clues ?

---

<div class="post-metadata">

**Author:** ![zameel7](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/zameel7/32/7981_2.png) [@zameel7](https://discuss.openedx.org/u/zameel7)\
**Post date:** [April 25, 2024, 8:09am UTC](https://discuss.openedx.org/t/adding-pdf-functionality-to-courses/12846/2 "2024-04-25T08:09:15Z")

</div>

Which version of tutor are you using? The xblock seems to be quite old and also there is some change in the way of adding additional pip requirements in the config.yml file.

```yaml
OPENEDX_EXTRA_PIP_REQUIREMENTS:
- git+https://github.com/IONISx/xblock-pdf.git@v1.0.0#egg=xblock-pdf

```

This is how we add it now in recent versions of tutor (we use tutor version Palm).

---

<div class="post-metadata">

**Author:** ![blazejwiecha](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/blazejwiecha/32/6085_2.png) [@blazejwiecha](https://discuss.openedx.org/u/blazejwiecha)\
**Post date:** [April 25, 2024, 11:31am UTC](https://discuss.openedx.org/t/adding-pdf-functionality-to-courses/12846/3 "2024-04-25T11:31:18Z")

</div>

I am using latest version 17.0.1  
Also trying with same method  
OPENEDX\_EXTRA\_PIP\_REQUIREMENTS:

- git+https://github.com/IONISx/xblock-pdf.git@v1.0.0#egg=xblock-pdf

maybe some newer plugin for newest tutor edx You know it will work ?

---

<div class="post-metadata">

**Author:** ![zameel7](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/zameel7/32/7981_2.png) [@zameel7](https://discuss.openedx.org/u/zameel7)\
**Post date:** [April 25, 2024, 6:15pm UTC](https://discuss.openedx.org/t/adding-pdf-functionality-to-courses/12846/4 "2024-04-25T18:15:10Z")

</div>

Yes, I am using newer xblocks with this method and is working fine. For example, you can try the h5pxblock.

---

<div class="post-metadata">

**Author:** ![blazejwiecha](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/blazejwiecha/32/6085_2.png) [@blazejwiecha](https://discuss.openedx.org/u/blazejwiecha)\
**Post date:** [May 8, 2024, 6:22am UTC](https://discuss.openedx.org/t/adding-pdf-functionality-to-courses/12846/5 "2024-05-08T06:22:29Z")

</div>

This one works …positive shocked . Now I need a working PDF method.

---

<div class="post-metadata">

**Author:** ![blazejwiecha](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/blazejwiecha/32/6085_2.png) [@blazejwiecha](https://discuss.openedx.org/u/blazejwiecha)\
**Post date:** [June 17, 2024, 8:28am UTC](https://discuss.openedx.org/t/adding-pdf-functionality-to-courses/12846/6 "2024-06-17T08:28:08Z")

</div>

OK after a long fight … just forked from ionis and reedited on my own to work with Tutor EDX 17 😃  
If someone needed an ENG version working with Tutor EDX 17

> **[GitHub - blazejwiecha/xblock-pdf: Language changed fork of Course component...](https://github.com/blazejwiecha/xblock-pdf/)**
>
> Language changed fork of Course component (Open edX XBlock) that provides an easy way to embed a PDF - blazejwiecha/xblock-pdf
