Skip to content
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

Indentation is lost when copy/pasting from PDF #81

Open
DamienCassou opened this issue Mar 22, 2016 · 3 comments
Open

Indentation is lost when copy/pasting from PDF #81

DamienCassou opened this issue Mar 22, 2016 · 3 comments
Milestone

Comments

@DamienCassou
Copy link
Contributor

In a generated PDF file, if I copy a script's content and paste it in a text editor, spaces at the beginning of lines are lost.

/cc @cdlm

@DamienCassou DamienCassou added this to the v2.0 milestone Mar 22, 2016
@cdlm
Copy link
Member

cdlm commented Apr 23, 2016

I believe this was fixed by the keepspaces option in cdlm/sbabook@b0995ee?
Might not be perfect, but indentation is copy-pasted.

@DamienCassou
Copy link
Contributor Author

I don't have this impression. When I take the latest PDF generated by Jenkins and I copy/paste an example, e.g., book page 15, I don't see indentation.

@cdlm
Copy link
Member

cdlm commented Apr 24, 2016

For me it works, both in Emacs and in the OS X Text Edit. Only strange
thing is I get 8 spaces as the first indentation, and then it matches the
source (e.g. the ifFalse: in the #handleRequest: listing on page 15…

On 24 April 2016 at 11:05, Damien Cassou [email protected] wrote:

I don't have this impression. When I take the latest PDF generated by
Jenkins and I copy/paste an example, e.g., book page 15, I don't see
indentation.


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#81 (comment)

Damien Pollet
type less, do more [ | ] http://people.untyped.org/damien.pollet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants