Look for “PDF” or “ePub” as the format before buying. Some stores default to a proprietary format (ePub, Kindle) but still allow you to export a PDF after purchase.