Skip to content

Check .. download directive for PDF pipeline #260

@mmcky

Description

@mmcky

From QuantEcon.lectures

The PDF file ignores the :download: directive. For now a temporary solution is to specify a latex only alternative that links to our hosted pdf file that lives in _static/_downloads and is generated by the html compilation step.

.. only:: html

    We begin by discussing an example of a Bewley model due to :download:`Rao Aiyagari <{{ pdfs_dir }}/aiyagari_obit.pdf>`

.. only:: latex

    We begin by discussing an example of a Bewley model due to `Rao Aiyagari <{{ download_web_dir }}/aiyagari_obit.pdf>`__    

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions