diff --git a/export/index.html b/export/index.html index 5b957a0..fa2689a 100644 --- a/export/index.html +++ b/export/index.html @@ -3,7 +3,7 @@ A PRACTICAL GUIDE TO FEMINIZING HRT - + @@ -58,7 +58,7 @@
  • 3 TYPES AND DOSAGES
      -
    1. Key Vocabulary
    2. +
    3. —Key Vocabulary
    4. 3.1 What are the different types of injectable estrogen?
    5. 3.2 What are the differences between each type of injectable estrogen?
    6. 3.3 Does one type of injectable estrogen feminize better than another?
    7. @@ -69,7 +69,7 @@
    8. 3.8 What are some example dosage calculations?
    9. 3.9 How do I convert dosages between esters?
    10. 3.10 How can I compare different curves and dosages between esters?
    11. -
    12. Meet Your Esters
    13. +
    14. —Meet Your Esters
    15. 3.11 How do I dose estradiol valerate?
    16. 3.12 How is the hormone curve for estradiol valerate characterized?
    17. 3.13 How do I dose estradiol cypionate?
    18. @@ -83,7 +83,7 @@
    19. 4 BLOOD TESTS AND LEVELS
        -
      1. Acquiring Results
      2. +
      3. —Acquiring Results
      4. 4.1 How often should I test my levels?
      5. 4.2 Do I have to test my levels before starting HRT?
      6. 4.3 Do I have to test my levels if I haven’t changed my dosage in a long time?
      7. @@ -92,7 +92,7 @@
      8. 4.6 What should I test for?
      9. 4.7 When should I take a blood test during my hormone cycle?
      10. 4.8 My doctor said to take mid-point / peak level blood tests, should I?
      11. -
      12. Interpreting Results
      13. +
      14. —Interpreting Results
      15. 4.9 What estrogen levels do I want?
      16. 4.10 Do higher estrogen levels feminize better or faster?
      17. 4.11 Okay, but what number do I want to see from my estrogen lab result?
      18. @@ -106,7 +106,7 @@
      19. 5 TECHNIQUE AND SUPPLIES
          -
        1. Sites & Safety
        2. +
        3. —Sites & Safety
        4. 5.1 How do I safely perform an injection?
        5. 5.2 Do I have to inject exactly like this?
        6. 5.3 How do I get past injection anxiety?
        7. @@ -118,7 +118,7 @@
        8. 5.9 Does my injection angle and/or preferred injection method matter?
        9. 5.10 Do I have to aspirate?
        10. 5.11 How do I minimize pain during injection?
        11. -
        12. Knowing Your Needles
        13. +
        14. —Knowing Your Needles
        15. 5.12 What is “needle gauge”?
        16. 5.13 What are “Luer lock” and “insulin” syringe/needles?
        17. 5.14 What needle gauge should I draw with?
        18. @@ -129,7 +129,7 @@
        19. 5.19 Where do I buy syringes and needles?
        20. 5.20 Is it okay if I reuse needles or syringes?
        21. 5.21 What if I want to do injections but have difficulty performing it on myself?
        22. -
        23. Basics of a Vial
        24. +
        25. —Basics of a Vial
        26. 5.22 What should I look for when inspecting vials?
        27. 5.23 What is “coring”?
        28. 5.24 How long until a vial expires?
        29. @@ -143,10 +143,10 @@
          1. 6.1 Where do I get estrogen vials to inject?
          2. 6.2 Should I use pharmaceutical sources or DIY sources?
          3. -
          4. Pharmaceutical Sourcing
          5. +
          6. —Pharmaceutical Sourcing
          7. 6.3 What are the pros of pharmaceutical sources?
          8. 6.4 What are the cons of pharmaceutical sources?
          9. -
          10. DIY Sourcing
          11. +
          12. —DIY Sourcing
          13. 6.5 What are the pros of DIY sources?
          14. 6.6 What are the cons of DIY sources?
          15. 6.7 What types of injectable estrogen are DIY only?
          16. @@ -157,7 +157,7 @@
          17. 6.12 Is DIY safe?
          18. 6.13 What things should I look for to know if a DIY source is trustworthy?
          19. 6.14 Should I hold different DIY sources to different standards?
          20. -
          21. Anatomy of a Vial
          22. +
          23. —Anatomy of a Vial
          24. 6.15 What should I look for in a vial?
          25. 6.16 What carrier oil should I look for in a vial?
          26. 6.17 What preservatives should I look for in a vial?
          27. @@ -167,11 +167,11 @@
          28. 7 TROUBLESHOOTING
              -
            1. Dosage Uncertainty
            2. +
            3. —Dosage Uncertainty
            4. 7.1 My levels aren’t what I expected them to be. Why not?
            5. 7.2 Can I compare levels across different tests if I didn’t test at trough?
            6. 7.3 I feel really bad on my trough days. What should I do?
            7. -
            8. Injection Woes
            9. +
            10. —Injection Woes
            11. 7.4 The injection is harder to do when it’s cold. What should I do?
            12. 7.5 The injection hurts more when it’s cold. What should I do?
            13. 7.6 I bled after my injection. Will I die?
            14. @@ -237,7 +237,7 @@
            15. 11 MYTHS AND MISCS
                -
              1. Common Questions
              2. +
              3. —Common Questions
              4. 11.1 Should I be worried about blood clots?
              5. 11.2 Is it okay to use nicotine while on HRT?
              6. 11.3 Is there benefit to starting at a low dosage vs a high dosage?
              7. @@ -257,19 +257,19 @@
              8. 11.17 Can estrogen really cause height shrinkage?
              9. 11.18 Can estrogen really cause foot shrinkage?
              10. 11.19 Can estrogen really cause any other kinds of shrinkage?
              11. -
              12. Sexual Health
              13. +
              14. —Sexual Health
              15. 11.20 How do I improve erectile function on HRT?
              16. 11.21 How do I increase cum/pre-cum volume on HRT?
              17. 11.22 Can I lactate on HRT?
              18. 11.23 Can HRT change your senses and your perceptions, i.e. smell?
              19. 11.24 Can HRT change your sexuality?
              20. 11.25 Should I be on PrEP?
              21. -
              22. Medical Malpractice
              23. +
              24. —Medical Malpractice
              25. 11.26 I heard that injections are actually less stable because you do them less frequently. Is that true?
              26. 11.27 But my doctor said-?
              27. 11.28 My doctor won’t prescribe me injections. What do I do?
              28. 11.29 How does HRT for menopausal cis women relate to HRT for trans women?
              29. -
              30. Intersexuality and Comorbidities
              31. +
              32. —Intersexuality and Comorbidities
              33. 11.30 What’s up with Ehlers-Danlos Syndrome?
              34. 11.31 What kind of intersex things should I keep in mind?
              35. 11.32 What’s up with Klinefelter Syndrome?
              36. @@ -277,7 +277,7 @@
              37. 11.34 What’s up with ovotesticular syndrome?
              38. 11.35 What’s the difference between intestinal cramps and uterine cramps?
              39. 11.36 What about other intersex conditions?
              40. -
              41. Oddball Questions
              42. +
              43. —Oddball Questions
              44. 11.37 Many DIY sources only take crypto. Is that required? How does that work?
              45. 11.38 What about Selective Estrogen Receptor Modulator (SERM) drugs for nonbinary regimens?
              46. 11.39 Are things like “herbal HRT” or “phytoestrogens” legitimate?
              47. @@ -2770,13 +2770,13 @@

                2025-10-10: Added Gretchen’s Version (.txt) and fixed formatting. 19.5k words.

                -

                2025-10-11: Added

                +

                2025-10-11: Added permalinks to everything, yay! And finally made a git repo. Look at me being a big girl, wow. 19.5k words.

                diff --git a/export/pghrtjs.js b/export/pghrtjs.js index 9cd37f4..fcaf212 100644 --- a/export/pghrtjs.js +++ b/export/pghrtjs.js @@ -18,6 +18,7 @@ for (i = 0; i < coll.length; i++) { } } +/* copy on click for section permalinks */ function copyURI(evt) { evt.preventDefault(); /* ensures url is without hash, then add on correct hash */ @@ -26,7 +27,7 @@ function copyURI(evt) { }, () => { /* clipboard write failed */ }); - /* silly little toast */ + /* toast that i ripped from w3schools. does not nicely handle being spam clicked. w/e*/ var x = document.getElementById("snackbar"); x.className = "show"; setTimeout(function(){ x.className = x.className.replace("show", ""); }, 2000); diff --git a/soup.py b/soup.py index 9ec4a87..1ce7866 100644 --- a/soup.py +++ b/soup.py @@ -18,6 +18,11 @@ header.append(menu) # Extract nav toc = soup.body.find('div', class_='ltx_page_main').nav.extract() +# correcting a bug in latexml that drops em dash prefixes on toc in html output +toc_emdashes = toc.select('a[href*="SSx"] > span') +for line in toc_emdashes: + line.string.insert_before('—') + # adding a toast toast = soup.new_tag ( "div", @@ -29,6 +34,7 @@ toast = soup.new_tag ( soup.body.insert(0, toast, header, toc) # Add header info tags +# i don't know if there's a better way to do all of these in a batch but like eh w/e head_meta = soup.new_tag( 'meta', @@ -97,7 +103,7 @@ head_meta = soup.new_tag( soup.head.append(head_meta) soup.head.append("\n") -# find all the section and question headers then add a click to copy +# find all the section and question headers then add a click to copy icon for element in soup.find_all(["h2", "h3"]): #find the id of its section hash = element.parent['id'] @@ -113,7 +119,7 @@ for element in soup.find_all(["h2", "h3"]): element.append(new_chain) - +# i'm at soup print("soup") # Write the updated soup back out to the file