Ticket #1263 (closed defect: fixed)

Opened 9 months ago

Last modified 3 months ago

Right click on formula -> Copy / Copy to LaTeX

Reported by: michael Owned by: johannes
Priority: very high Milestone: GeoGebra 4.2
Component: CAS Keywords: copy
Cc: thomas, markus, simon@… Estimate (h): 0
Progress (%): 100

Description (last modified by johannes) (diff)

Right-click on formula:

  • Copy
  • Copy to LaTeX

key added to plain.properties
CopyToLaTeX=Copy to LaTeX

Change History

comment:1 Changed 7 months ago by simon

  • Milestone changed from GeoGebra 4.0 to GeoGebra 4.2

comment:2 Changed 7 months ago by simon

  • Status changed from new to assigned
  • Owner changed from simon to johannes
  • Cc simon@… added

comment:3 Changed 7 months ago by johannes

I have added the menu. Copy to clipboard is working for me. CopyToLaTeX not implemented yet.

There are maybe 2 issues with it:

  1. If the CAS cell is in editor mode, the MouseEvent isn't thrown --> the popup menu isn't shown
  2. if i have focused the InputLine or another CAS cell --> right click on a CAS cell --> left click on one of the two items --> the text in the input line or the other CAS cell is selected (seems to be a problem on MAC only)
Last edited 7 months ago by johannes (previous) (diff)

comment:4 Changed 5 months ago by johannes

  • Keywords copy added
  • Progress (%) changed from 0 to 30
  • Status changed from assigned to accepted

comment:5 Changed 5 months ago by johannes

  • Progress (%) changed from 30 to 70

I have implemented CopyToLaTeX now: [14375].

The issues from above are still existing.

comment:6 Changed 4 months ago by johannes

  • Status changed from accepted to closed
  • Progress (%) changed from 70 to 100
  • Resolution set to fixed

about the issues above:

  1. I think it's not necessary to fix this because when the user is editing the input he can copy it by selecting the input and pressing ctrl+c/cmd+c. If the user wants the LaTeX format, he/she can right click on the output or stop editing and then right click on the input.
  2. Moved to #1763.

comment:7 Changed 3 months ago by michael

  • Status changed from closed to reopened
  • Progress (%) changed from 100 to 80
  • Resolution fixed deleted

comment:8 Changed 3 months ago by michael

Problem with Greek letters:
http://www.geogebra.org/forum/viewtopic.php?f=22&t=26103

the string needs to be passed through StringUtil.toLaTeXString() to fix this

comment:9 Changed 3 months ago by johannes

  • Status changed from reopened to closed
  • Progress (%) changed from 80 to 100
  • Resolution set to fixed
  • Description modified (diff)

should be fixed in [15817]

can someone please test it and if it's not correct tell me what's the correct LaTeX output for any term with Greek letters?

Note: See TracTickets for help on using tickets.