0
Welcome Guest! Login
0 items Join Now

Pasting from Word and footnote linking

  • Pasting from Word and footnote linking

    Posted 13 years 11 months ago
    • Here's the problem...

      When I paste documents that have been written in Word into a Joomla article, using the "Paste from Word" function in TinyMCE (set at "extented" functionality), the documents' footnotes are rendered as links, and their content is placed at the end of the article, but those links do not work between the numbers in the main document and the particular footnote text at the end...

      They only way I've made it work by trial and error, is to paste the text from OpenOffice...
      When I do that, the footnote numbers are rendered not as links but as anchored items, and when I click on the footnote number I am lead to the footnote...and the number at the start of the footnote text leads me back to the main document where the footnote reference was placed...

      I want to be able to do that with all documents automatically...
      I don't want to have to paste it to OpenOffice first because pasting from OpenOffice retains a lot of document markup

      So, is there a way I can get the footnote numbers to link to the footnotes and vice versa, to get the footnotes rendered as anchors automatically?

      The easy answer would be to manually insert anchors (although I have not managed to make that work, actually), but when I am pasting a 30 page Word document with tens of footnotes, taking the manual road to editing the links as anchors would be very time consuming...not an "easy" solution...

      Any ideas?

      Thanks
    • Last Edit: 13 years 11 months ago by Cretan Studies Association.
    • You can call me George
      J2.5.8, Panacea v1.6.6 - www.eks-ik.eu
      J2.5.8, Syndicate 1.6.5
    • JEM's Avatar
    • JEM
    • Preeminent Rocketeer
    • Posts: 17917
    • Thanks: 4

    Re: Pasting from Word and footnote linking

    Posted 13 years 11 months ago
    • I feel your pain...

      Hopefully someone will chime in with the perfect solution, but I have yet to find a WYSIWYG editor that has evolved enough to handle linking within an Article. (Tiny-MCE, JCE, FCK, etc.)

      I take 'the long road' when it comes to this, which actually becomes 'the short road' in the end.

      I copy my content from Word, paste it one time to Notepad, then copy it from Notepad and paste it in the WYSIWYG.

      After that, I format the Article and add the anchors manually.

      Although, as you, I would prefer this to all happen automatically, I just don't see it happening.

      I've recently done so for several Articles on a couple of sites (loooong legal documents and Articles that go on forever...), so if you need help with getting anchors set up, please reply.

      In the end, you can have an Article with anchors an no extra code...
    • Thanks,
      jim
  • Re: Pasting from Word and footnote linking

    Posted 13 years 11 months ago
    • Thanks for your reply JEM...

      When I fist started using Joomla and came across this problem, I thought it would have been such a commonly felt pain, that by necessity someone would have come up with a really good idea of how to fix this and I would simply have to stumble upon it...

      Wishful thinking, I know...

      I understand (well, not really, just by some practical experience) the step of pasting the text into Notepad first...it makes the document drop all format and then one can edit it to one's liking within the Joomla editor...
      ...one of my other sources of trouble and indignation with Joomla was/is line spacing configuration within the article...I find the paragraph space too big, so when I want to have two separate lines appear with "proper" (single) spacing, I paste or write the text to Notepad first and then I paste it to Joomla editor...
      But doing it on these large documents with some many, many bits of text in italics or bold, that would add to the headache of the footnotes...

      I believe it was you who mentioned this previously in my topic " Template font-size and article content editor: problems ", that MS code can "completely break a Joomla site"...How can it break it?
      I am to some extent familiar with the purpose of pasting to Notepad first (for me retaining line spacing in certain areas) but should I be doing it systematically?

      Since I have not had much luck implementing anchors in the document, I would appreciate some help.

      Thanks a lot.
    • You can call me George
      J2.5.8, Panacea v1.6.6 - www.eks-ik.eu
      J2.5.8, Syndicate 1.6.5
    • JEM's Avatar
    • JEM
    • Preeminent Rocketeer
    • Posts: 17917
    • Thanks: 4

    Re: Pasting from Word and footnote linking

    Posted 13 years 11 months ago
    • OK, in the simplest of terms (don’t be offended :D ) an anchor is a hyperlink in an Article, from point ‘A’ to point ‘B’ (usually top to bottom – bottom to top)… E.g., you have a long Article with footnotes, and you want to offer links from the ‘top’ of the Article, where the footnote links are, to the ‘bottom’ of the Article where the actual footnotes are. If you really want to be cool, you can create anchors (links) from the bottom of the page back to the top, so when someone clicks on footer link [1] and gets taken to the bottom of the Article, after they read the notes, they can click on (back) and it will take them back to the part of the page they were reading…

      So, when you make an anchor, you first have to create the anchor at the destination…

      I.e., if you want to have a footnote link at the top of the document e.g., [1] that shows text at the bottom, you place an anchor there, at the bottom first.

      Then you go to the top of the page and create a hyperlink for [1] linking it to the anchor you created.

      As I mentioned, you can also create back links that will bring the user to where they were originally…

      It’s not so difficult one you get used to ‘working backwards’, i.e., creating the anchor at the destination, then linking back to it from the source…

      As far as your second question, leave it to MS to totally mess up the internet...

      I can't tell you how many members have had problems over the past few years from pasting directly from Word, or using an editor that doesn't completely strip the underlying MSO format...

      (Do a simple search on the forum for 'MSO', you will see EVERY moderator advising against it and every problem solved by eliminating it.)

      As a general rule, I copy from Word, paste to Notepad, and check the general format there.

      If you use Notepad, line breaks will be converted to <br></br>

      If you add line breaks in your WYSIWYG they will be <p></p>, not <br></br>, which will cause inconsistency in line spacing.
    • Thanks,
      jim
  • Re: Pasting from Word and footnote linking

    Posted 13 years 11 months ago
    • OK, in the simplest of terms (don’t be offended :D ) an anchor is a hyperlink in an Article, from point ‘A’ to point ‘B’ (usually top to bottom – bottom to top)… E.g., you have a long Article with footnotes, and you want to offer links from the ‘top’ of the Article, where the footnote links are, to the ‘bottom’ of the Article where the actual footnotes are. If you really want to be cool, you can create anchors (links) from the bottom of the page back to the top, so when someone clicks on footer link [1] and gets taken to the bottom of the Article, after they read the notes, they can click on (back) and it will take them back to the part of the page they were reading…

      So, when you make an anchor, you first have to create the anchor at the destination…

      I.e., if you want to have a footnote link at the top of the document e.g., [1] that shows text at the bottom, you place an anchor there, at the bottom first.

      Then you go to the top of the page and create a hyperlink for [1] linking it to the anchor you created.
      No reason to get offended...one is much more likely to be embarrassed when pretending to know something one does not than admitting he knows nothing about it (and what little he may "know" is more likely to get him into more trouble).

      Simple explanations and clear how-to steps can also make the "pain" of repetitive tasks more bearable...
      Before I was trying to make sense out of creating links/anchors by checking at the codes that were inserted in the documents that were pasted from OpenOffice, which was quite ineffective (no reverse engineering for me, I guess)

      I made some tests and it and it works great...moreover, by using the "Title" field I can make the footnote text appear when the mouse pointer hovers above the footnote link (like in Word!)
      If you use Notepad, line breaks will be converted to <br></br>

      If you add line breaks in your WYSIWYG they will be <p></p>, not <br></br>, which will cause inconsistency in line spacing.
      This little piece of information, the distinction between <p> and <br>, also came very, very useful, since I by chance took one more look at the parameters of TinyMCE plugin, and found an option there for setting new lines as either P elements or Br elements...
      ...I set it to Br elements and now I can control line spacing the way I want!


      So two problems problems solved (well, one and half...we still miss the automatic anchor creation) ! Great service!!
      I'm gonna rub this all over the face of those "Joomla Gurus" in the joomla.org forum who could not provide this valuable bit of info...

      Now, If you also help me solve the issue in the " Template font-size and article content editor: problems " you'll be my Rockettheme hero...
    • You can call me George
      J2.5.8, Panacea v1.6.6 - www.eks-ik.eu
      J2.5.8, Syndicate 1.6.5
    • JEM's Avatar
    • JEM
    • Preeminent Rocketeer
    • Posts: 17917
    • Thanks: 4

    Re: Pasting from Word and footnote linking

    Posted 13 years 11 months ago
  • Re: Pasting from Word and footnote linking

    Posted 13 years 11 months ago
    • Thanks a lot for taking the time to help

      Cheers
    • You can call me George
      J2.5.8, Panacea v1.6.6 - www.eks-ik.eu
      J2.5.8, Syndicate 1.6.5
    • Robert D. Wagers's Avatar
    • Robert D. Wagers
    • Elite Rocketeer
    • Posts: 1545
    • Thanks: 0
    • Full-Time Cancer Fighter!

    Re: Pasting from Word and footnote linking

    Posted 13 years 11 months ago
    • I hate the MS Word formatting issue too! I got tired of messing with it and started using Flash-Paper to convert it to usable script.
      Here's a link:
      http://www.adobe.com/products/flashpaper/

      I hope this helps!
      Wage
    • "Everyone has to get knocked-down every once-in-a-while, otherwise you'll never learn how to get-back-up! "
      A quote attributed to my Grandpa Wagers
    • JEM's Avatar
    • JEM
    • Preeminent Rocketeer
    • Posts: 17917
    • Thanks: 4

    Re: Pasting from Word and footnote linking

    Posted 13 years 11 months ago
    • :arrowu: THX for the tip Wage.

      Nice to see you!!
    • Thanks,
      jim
    • Robert D. Wagers's Avatar
    • Robert D. Wagers
    • Elite Rocketeer
    • Posts: 1545
    • Thanks: 0
    • Full-Time Cancer Fighter!

    Re: Pasting from Word and footnote linking

    Posted 13 years 11 months ago
    • It's nice to be seen JEM hehe... been feeling really bad lately. I'm still waiting for the transplant and my doctor has kinda cut-me-off from blood transfusions because my iron-levels are extremely high! So, it's needless to say, I feel badly all the time!
      Wage
    • "Everyone has to get knocked-down every once-in-a-while, otherwise you'll never learn how to get-back-up! "
      A quote attributed to my Grandpa Wagers

Time to create page: 0.059 seconds