Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 May 2013 14:37:10 GMT
From:      Omar Thameen <omar@biglist.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/179146: hr-pandoc port is missing LaTeX packages, preventing md2pdf conversion
Message-ID:  <201305311437.r4VEbAYc058628@oldred.FreeBSD.org>
Resent-Message-ID: <201305311440.r4VEe0Ys071290@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         179146
>Category:       ports
>Synopsis:       hr-pandoc port is missing LaTeX packages, preventing md2pdf conversion
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 31 14:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Omar Thameen
>Release:        9.1
>Organization:
BIGLIST Inc.
>Environment:
9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #3 r241576: Mon Oct 15 16:24:07 UTC 2012
>Description:
I've installed hs-pandoc-1.11.1_1 from ports.  It requires teTeX-base, which is also installed.  Converting a file from markdown to pdf requires teTeX.  When I try to convert .md to .pdf, I get the following:

------------------------- Begin included text --------------------------
$ pandoc -o foo.pdf foo.md 
pandoc: Error producing PDF from TeX source.
! LaTeX Error: File `ifluatex.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name: 
! Emergency stop.
<read *> 
         
l.6 \usepackage
------------------------- End included text --------------------------

Originally, I got the same type of error, only with ifxetex.sty not being found.  After installing the ifxetex port (which seems outdated, as the sha1 and filesize don't match the currently available package), the conversion process moved past the ifxetex error and on to the one above.


>How-To-Repeat:
$ pandoc -o foo.pdf foo.md 
>Fix:
Require teTeX package dependencies (creating when necessary) or include a stub to bypass the checks.

An ifluatex FreeBSD port does not exist, but a package is available at http://www.ctan.org/pkg/ifluatex



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305311437.r4VEbAYc058628>