How do I copy WhatsApp chats and retain linebreaks
I am looking to copy many whatsapp chats into a document and retain the linebreaks. If I just copy them in, then there are no linebreaks. How do I do this? Thanks
Verbatim (alone) doesn't work because it means text flows off the page
Just using obeylines worked perfectly
line-breaking copy-paste
add a comment |
I am looking to copy many whatsapp chats into a document and retain the linebreaks. If I just copy them in, then there are no linebreaks. How do I do this? Thanks
Verbatim (alone) doesn't work because it means text flows off the page
Just using obeylines worked perfectly
line-breaking copy-paste
Welcome to TeX.SX! I think this isn't a LaTeX related question or could you explain the problem with latex?
– Bobyandbob
Nov 17 '17 at 14:51
1
@Bobyandbob I suspect the user wants just to keep line breaks asobeylines
or similar would do, but this question is rather unclear.
– TeXnician
Nov 17 '17 at 15:10
1
related: tex.stackexchange.com/questions/266713/…
– clemens
Nov 17 '17 at 15:23
Can you add some examples of what your input text looks like? I mean the text you copied into your .tex document and are trying to typeset.
– ShreevatsaR
Nov 17 '17 at 17:42
add a comment |
I am looking to copy many whatsapp chats into a document and retain the linebreaks. If I just copy them in, then there are no linebreaks. How do I do this? Thanks
Verbatim (alone) doesn't work because it means text flows off the page
Just using obeylines worked perfectly
line-breaking copy-paste
I am looking to copy many whatsapp chats into a document and retain the linebreaks. If I just copy them in, then there are no linebreaks. How do I do this? Thanks
Verbatim (alone) doesn't work because it means text flows off the page
Just using obeylines worked perfectly
line-breaking copy-paste
line-breaking copy-paste
edited Nov 18 '17 at 18:38
Greg
asked Nov 17 '17 at 14:43
GregGreg
113
113
Welcome to TeX.SX! I think this isn't a LaTeX related question or could you explain the problem with latex?
– Bobyandbob
Nov 17 '17 at 14:51
1
@Bobyandbob I suspect the user wants just to keep line breaks asobeylines
or similar would do, but this question is rather unclear.
– TeXnician
Nov 17 '17 at 15:10
1
related: tex.stackexchange.com/questions/266713/…
– clemens
Nov 17 '17 at 15:23
Can you add some examples of what your input text looks like? I mean the text you copied into your .tex document and are trying to typeset.
– ShreevatsaR
Nov 17 '17 at 17:42
add a comment |
Welcome to TeX.SX! I think this isn't a LaTeX related question or could you explain the problem with latex?
– Bobyandbob
Nov 17 '17 at 14:51
1
@Bobyandbob I suspect the user wants just to keep line breaks asobeylines
or similar would do, but this question is rather unclear.
– TeXnician
Nov 17 '17 at 15:10
1
related: tex.stackexchange.com/questions/266713/…
– clemens
Nov 17 '17 at 15:23
Can you add some examples of what your input text looks like? I mean the text you copied into your .tex document and are trying to typeset.
– ShreevatsaR
Nov 17 '17 at 17:42
Welcome to TeX.SX! I think this isn't a LaTeX related question or could you explain the problem with latex?
– Bobyandbob
Nov 17 '17 at 14:51
Welcome to TeX.SX! I think this isn't a LaTeX related question or could you explain the problem with latex?
– Bobyandbob
Nov 17 '17 at 14:51
1
1
@Bobyandbob I suspect the user wants just to keep line breaks as
obeylines
or similar would do, but this question is rather unclear.– TeXnician
Nov 17 '17 at 15:10
@Bobyandbob I suspect the user wants just to keep line breaks as
obeylines
or similar would do, but this question is rather unclear.– TeXnician
Nov 17 '17 at 15:10
1
1
related: tex.stackexchange.com/questions/266713/…
– clemens
Nov 17 '17 at 15:23
related: tex.stackexchange.com/questions/266713/…
– clemens
Nov 17 '17 at 15:23
Can you add some examples of what your input text looks like? I mean the text you copied into your .tex document and are trying to typeset.
– ShreevatsaR
Nov 17 '17 at 17:42
Can you add some examples of what your input text looks like? I mean the text you copied into your .tex document and are trying to typeset.
– ShreevatsaR
Nov 17 '17 at 17:42
add a comment |
2 Answers
2
active
oldest
votes
Put it into a verbatim environment. begin{verbatim} whatsapptext end{verbatim}
.
EDIT:
So you don't want linebreak, except in all cases where lines that are longer than let's say 72 letters? Please provide an example as »MWE«. Probably the easiest way might be to use your editor's search and replace function:
Swap each end-of-line sign with a double backslass \
. Then try instead of the verbatim environment the verse environment. However, it would be much easier if we had an MWE.
1
@Greg Then please accept my answer, because then the question no longer remains in the list of unanswered questions.
– Keks Dose
Nov 17 '17 at 14:56
1
@KeksDose a question is only on the unanswered list if it has no upvoted answer
– clemens
Nov 17 '17 at 15:22
I'm recieving this error seemingly with longer conversations. Do you know how to fix this? Package inputenc Error: Unicode char (U+200D) (inputenc) not set up for use with LaTeX. See the inputenc package documentation for explanation. Type H <return> for immediate help. ... l.204 end{verbatim}
– Greg
Nov 17 '17 at 15:22
Wait, this actually doesn't work, because it means that the text flows off the page for some reason?
– Greg
Nov 17 '17 at 15:31
add a comment |
You can just pick it up for a time and it automatically connected
New contributor
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f401788%2fhow-do-i-copy-whatsapp-chats-and-retain-linebreaks%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Put it into a verbatim environment. begin{verbatim} whatsapptext end{verbatim}
.
EDIT:
So you don't want linebreak, except in all cases where lines that are longer than let's say 72 letters? Please provide an example as »MWE«. Probably the easiest way might be to use your editor's search and replace function:
Swap each end-of-line sign with a double backslass \
. Then try instead of the verbatim environment the verse environment. However, it would be much easier if we had an MWE.
1
@Greg Then please accept my answer, because then the question no longer remains in the list of unanswered questions.
– Keks Dose
Nov 17 '17 at 14:56
1
@KeksDose a question is only on the unanswered list if it has no upvoted answer
– clemens
Nov 17 '17 at 15:22
I'm recieving this error seemingly with longer conversations. Do you know how to fix this? Package inputenc Error: Unicode char (U+200D) (inputenc) not set up for use with LaTeX. See the inputenc package documentation for explanation. Type H <return> for immediate help. ... l.204 end{verbatim}
– Greg
Nov 17 '17 at 15:22
Wait, this actually doesn't work, because it means that the text flows off the page for some reason?
– Greg
Nov 17 '17 at 15:31
add a comment |
Put it into a verbatim environment. begin{verbatim} whatsapptext end{verbatim}
.
EDIT:
So you don't want linebreak, except in all cases where lines that are longer than let's say 72 letters? Please provide an example as »MWE«. Probably the easiest way might be to use your editor's search and replace function:
Swap each end-of-line sign with a double backslass \
. Then try instead of the verbatim environment the verse environment. However, it would be much easier if we had an MWE.
1
@Greg Then please accept my answer, because then the question no longer remains in the list of unanswered questions.
– Keks Dose
Nov 17 '17 at 14:56
1
@KeksDose a question is only on the unanswered list if it has no upvoted answer
– clemens
Nov 17 '17 at 15:22
I'm recieving this error seemingly with longer conversations. Do you know how to fix this? Package inputenc Error: Unicode char (U+200D) (inputenc) not set up for use with LaTeX. See the inputenc package documentation for explanation. Type H <return> for immediate help. ... l.204 end{verbatim}
– Greg
Nov 17 '17 at 15:22
Wait, this actually doesn't work, because it means that the text flows off the page for some reason?
– Greg
Nov 17 '17 at 15:31
add a comment |
Put it into a verbatim environment. begin{verbatim} whatsapptext end{verbatim}
.
EDIT:
So you don't want linebreak, except in all cases where lines that are longer than let's say 72 letters? Please provide an example as »MWE«. Probably the easiest way might be to use your editor's search and replace function:
Swap each end-of-line sign with a double backslass \
. Then try instead of the verbatim environment the verse environment. However, it would be much easier if we had an MWE.
Put it into a verbatim environment. begin{verbatim} whatsapptext end{verbatim}
.
EDIT:
So you don't want linebreak, except in all cases where lines that are longer than let's say 72 letters? Please provide an example as »MWE«. Probably the easiest way might be to use your editor's search and replace function:
Swap each end-of-line sign with a double backslass \
. Then try instead of the verbatim environment the verse environment. However, it would be much easier if we had an MWE.
edited Nov 17 '17 at 17:09
answered Nov 17 '17 at 14:46
Keks DoseKeks Dose
20.9k35194
20.9k35194
1
@Greg Then please accept my answer, because then the question no longer remains in the list of unanswered questions.
– Keks Dose
Nov 17 '17 at 14:56
1
@KeksDose a question is only on the unanswered list if it has no upvoted answer
– clemens
Nov 17 '17 at 15:22
I'm recieving this error seemingly with longer conversations. Do you know how to fix this? Package inputenc Error: Unicode char (U+200D) (inputenc) not set up for use with LaTeX. See the inputenc package documentation for explanation. Type H <return> for immediate help. ... l.204 end{verbatim}
– Greg
Nov 17 '17 at 15:22
Wait, this actually doesn't work, because it means that the text flows off the page for some reason?
– Greg
Nov 17 '17 at 15:31
add a comment |
1
@Greg Then please accept my answer, because then the question no longer remains in the list of unanswered questions.
– Keks Dose
Nov 17 '17 at 14:56
1
@KeksDose a question is only on the unanswered list if it has no upvoted answer
– clemens
Nov 17 '17 at 15:22
I'm recieving this error seemingly with longer conversations. Do you know how to fix this? Package inputenc Error: Unicode char (U+200D) (inputenc) not set up for use with LaTeX. See the inputenc package documentation for explanation. Type H <return> for immediate help. ... l.204 end{verbatim}
– Greg
Nov 17 '17 at 15:22
Wait, this actually doesn't work, because it means that the text flows off the page for some reason?
– Greg
Nov 17 '17 at 15:31
1
1
@Greg Then please accept my answer, because then the question no longer remains in the list of unanswered questions.
– Keks Dose
Nov 17 '17 at 14:56
@Greg Then please accept my answer, because then the question no longer remains in the list of unanswered questions.
– Keks Dose
Nov 17 '17 at 14:56
1
1
@KeksDose a question is only on the unanswered list if it has no upvoted answer
– clemens
Nov 17 '17 at 15:22
@KeksDose a question is only on the unanswered list if it has no upvoted answer
– clemens
Nov 17 '17 at 15:22
I'm recieving this error seemingly with longer conversations. Do you know how to fix this? Package inputenc Error: Unicode char (U+200D) (inputenc) not set up for use with LaTeX. See the inputenc package documentation for explanation. Type H <return> for immediate help. ... l.204 end{verbatim}
– Greg
Nov 17 '17 at 15:22
I'm recieving this error seemingly with longer conversations. Do you know how to fix this? Package inputenc Error: Unicode char (U+200D) (inputenc) not set up for use with LaTeX. See the inputenc package documentation for explanation. Type H <return> for immediate help. ... l.204 end{verbatim}
– Greg
Nov 17 '17 at 15:22
Wait, this actually doesn't work, because it means that the text flows off the page for some reason?
– Greg
Nov 17 '17 at 15:31
Wait, this actually doesn't work, because it means that the text flows off the page for some reason?
– Greg
Nov 17 '17 at 15:31
add a comment |
You can just pick it up for a time and it automatically connected
New contributor
add a comment |
You can just pick it up for a time and it automatically connected
New contributor
add a comment |
You can just pick it up for a time and it automatically connected
New contributor
You can just pick it up for a time and it automatically connected
New contributor
New contributor
answered 15 mins ago
Himanshu SharmaHimanshu Sharma
1
1
New contributor
New contributor
add a comment |
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f401788%2fhow-do-i-copy-whatsapp-chats-and-retain-linebreaks%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Welcome to TeX.SX! I think this isn't a LaTeX related question or could you explain the problem with latex?
– Bobyandbob
Nov 17 '17 at 14:51
1
@Bobyandbob I suspect the user wants just to keep line breaks as
obeylines
or similar would do, but this question is rather unclear.– TeXnician
Nov 17 '17 at 15:10
1
related: tex.stackexchange.com/questions/266713/…
– clemens
Nov 17 '17 at 15:23
Can you add some examples of what your input text looks like? I mean the text you copied into your .tex document and are trying to typeset.
– ShreevatsaR
Nov 17 '17 at 17:42