Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Updated PDF file #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
waldyrious merged 1 commit into tldr-pages:master from maxbeier:master
Mar 11, 2017
Merged

Updated PDF file #21

waldyrious merged 1 commit into tldr-pages:master from maxbeier:master
Mar 11, 2017

Conversation

@maxbeier
Copy link
Contributor

@maxbeier maxbeier commented Mar 4, 2017

A lot has changed in a year and there are now 71 new pages.

Copy link
Member

Thanks so much for doing this, and sorry for the delay. Since there's been no objections for a week, I'll merge right away.

@agnivade I wonder if we could run the pdf-generating script automatically, the same way the zip archive is automatically generated and pushed to this repo for every merged PR on the tldr-pages repo. Thoughts?

@waldyrious waldyrious merged commit a095787 into tldr-pages:master Mar 11, 2017
Copy link
Member

Agree. Should be doable. Will take a look.

waldyrious reacted with thumbs up emoji

Copy link
Member

Hey @maxbeier - How did you install the Consolas font ?

! fontspec error: "font-not-found"
! 
! The font "Consolas" cannot be found.

I am using Ubuntu, and do not see any automated way to achieve it.

Copy link
Member

@agnivade Consolas is a proprietary font. Inconsolata, on the other hand, is an openly-licensed font inspired by Consolas, so it would probably be the best choice in our case.

Copy link
Contributor Author

Oh, good point, sorry 😅. It should be Inconsolata then. I created a PR for that: tldr-pages/tldr#1303

waldyrious reacted with thumbs up emoji

agnivade pushed a commit to tldr-pages/tldr that referenced this pull request Mar 16, 2017
Very small change due to tldr-pages/tldr-pages.github.io#21 (comment)
> Consolas is a proprietary font. Inconsolata, on the other hand, is an openly-licensed font inspired by Consolas, so it would probably be the best choice in our case.
Copy link
Member

Ok, I am stuck in another issue now -

pandoc: Error producing PDF from TeX source.
! Font \XeTeXLink@font=pzdr at 0.00002pt not loadable: Metric (TFM) file or ins
talled font not found.
<to be read again> 
 \relax 
l.5125 \font\XeTeXLink@font=pzdr at 1sp\relax

@maxbeier - Any idea as to whats going on here ?

Copy link
Contributor Author

I don't really know, but looks like something named "pzdr" is missing. Found this on StackExchange which recommends to install "zapfding". Searching my command line history I found that I installed more packages and than it worked 😬

So maybe try this:

tlmgr install zapfding
tlmgr install collection-latexrecommended
tlmgr install cm-super
tlmgr install psyr
tlmgr install ec

Copy link
Member

Sorry, but I am a n00b in latex. I am stuck with yet another error about which I have no clue -

pandoc: Error producing PDF from TeX source.
! Illegal parameter number in definition of \lst@next.
<to be read again> 
 }
l.2633 \lstinline#c

There is only one block of lst. Even after commenting that out, it gives the same error.

Copy link
Contributor Author

Sorry, I don't know what that is. If I change generate-pdf.sh to output a .tex file there is no \lstinline in there. Can you attach your .tex file here?

Copy link
Member

Wait, I must be doing something wrong. I am just doing ./generate-pdf.sh. The tex file is the template.tex itself right ? Am I supposed to be doing something else ?

If its not a problem with you, lets hop on to gitter and continue this there ? To prevent this thread from overflowing.

Copy link
Contributor Author

Ohh, because of the l.2633 I thought is must be in the intermediate tex code that pandoc creates. But you're right – I wrote you on gitter, it might go faster there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /